summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/1password/1password.SlackBuild107
-rw-r--r--office/1password/1password.info10
-rw-r--r--office/1password/README18
-rw-r--r--office/1password/doinst.sh13
-rw-r--r--office/1password/other/1password.pngbin0 -> 59816 bytes
-rw-r--r--office/1password/other/custom_allowed_browsers15
-rw-r--r--office/1password/other/product_logo_32.xpm1682
-rw-r--r--office/1password/slack-desc19
-rw-r--r--office/BibTool/BibTool.SlackBuild117
-rw-r--r--office/BibTool/BibTool.info12
-rw-r--r--office/BibTool/README1
-rw-r--r--office/BibTool/slack-desc (renamed from office/myrulib/slack-desc)22
-rw-r--r--office/CherryTree/CherryTree.SlackBuild22
-rw-r--r--office/CherryTree/CherryTree.info6
-rw-r--r--office/FreeOffice/FreeOffice.SlackBuild109
-rw-r--r--office/FreeOffice/FreeOffice.info10
-rw-r--r--office/FreeOffice/README8
-rw-r--r--office/FreeOffice/doinst.sh (renamed from office/calibre/doinst.sh)0
-rw-r--r--office/FreeOffice/planmaker-free18.desktop21
-rw-r--r--office/FreeOffice/presentations-free18.desktop21
-rw-r--r--office/FreeOffice/slack-desc19
-rw-r--r--office/FreeOffice/textmaker-free18.desktop21
-rw-r--r--office/JabRef/JabRef.SlackBuild112
-rw-r--r--office/JabRef/JabRef.info18
-rw-r--r--office/JabRef/README16
-rw-r--r--office/JabRef/slack-desc8
-rw-r--r--office/LaTeXML/LaTeXML.SlackBuild116
-rw-r--r--office/LaTeXML/LaTeXML.info10
-rw-r--r--office/LaTeXML/README13
-rw-r--r--office/LaTeXML/slack-desc (renamed from office/hyphen-id/slack-desc)24
-rw-r--r--office/LanguageTool/LanguageTool.SlackBuild19
-rw-r--r--office/LanguageTool/LanguageTool.info12
-rw-r--r--office/LanguageTool/README4
-rw-r--r--office/LibreOffice/LibreOffice.SlackBuild148
-rw-r--r--office/LibreOffice/LibreOffice.info12
-rw-r--r--office/LibreOffice/README162
-rw-r--r--office/LibreOffice/no-check-if-root.diff29
-rw-r--r--office/Logseq/Logseq.SlackBuild99
-rw-r--r--office/Logseq/Logseq.desktop11
-rw-r--r--office/Logseq/Logseq.info10
-rw-r--r--office/Logseq/README4
-rw-r--r--office/Logseq/doinst.sh (renamed from office/rednotebook/doinst.sh)1
-rw-r--r--office/Logseq/logseq.pngbin0 -> 13478 bytes
-rw-r--r--office/Logseq/slack-desc (renamed from office/teapot/slack-desc)22
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild43
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.info12
-rw-r--r--office/MasterPDFEditor4/MasterPDFEditor4.SlackBuild95
-rw-r--r--office/MasterPDFEditor4/MasterPDFEditor4.desktop8
-rw-r--r--office/MasterPDFEditor4/MasterPDFEditor4.info10
-rw-r--r--office/MasterPDFEditor4/README12
-rw-r--r--office/MasterPDFEditor4/doinst.sh (renamed from office/TaskCoach/doinst.sh)0
-rw-r--r--office/MasterPDFEditor4/slack-desc19
-rw-r--r--office/NME/NME.SlackBuild45
-rw-r--r--office/NME/NME.info6
-rw-r--r--office/ProjectLibre/ProjectLibre.SlackBuild20
-rw-r--r--office/ProjectLibre/ProjectLibre.info8
-rw-r--r--office/ReText/README8
-rw-r--r--office/ReText/ReText.SlackBuild16
-rw-r--r--office/ReText/ReText.info2
-rw-r--r--office/SOGo/README5
-rw-r--r--office/SOGo/SOGo.SlackBuild44
-rw-r--r--office/SOGo/SOGo.info12
-rw-r--r--office/SOGo/docs.md5sums3
-rw-r--r--office/SOGo/getdocs.sh13
-rw-r--r--office/TaskCoach/README4
-rw-r--r--office/TaskCoach/TaskCoach.desktop8
-rw-r--r--office/TaskCoach/TaskCoach.info10
-rw-r--r--office/Ted/README10
-rw-r--r--office/Ted/Ted.SlackBuild16
-rw-r--r--office/abiword/README19
-rw-r--r--office/abiword/abiword.SlackBuild58
-rw-r--r--office/abiword/abiword.info6
-rw-r--r--office/abiword/bug13815.patch49
-rw-r--r--office/abiword/enchant-2.1.patch29
-rw-r--r--office/abook/abook.SlackBuild18
-rw-r--r--office/abook/abook.info4
-rw-r--r--office/adobe-reader-fontpacks/README40
-rw-r--r--office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild39
-rw-r--r--office/adobe-reader/README11
-rw-r--r--office/adobe-reader/adobe-reader.SlackBuild54
-rw-r--r--office/adobe-reader/adobe-reader.info2
-rw-r--r--office/aigaion/README4
-rw-r--r--office/aigaion/aigaion.SlackBuild29
-rw-r--r--office/aiksaurus/README22
-rw-r--r--office/aiksaurus/aiksaurus.SlackBuild26
-rw-r--r--office/aiksaurus/aiksaurus.info6
-rw-r--r--office/anorack/README8
-rw-r--r--office/anorack/anorack.SlackBuild93
-rw-r--r--office/anorack/anorack.info14
-rw-r--r--office/anorack/slack-desc8
-rw-r--r--office/antiword/10_fix_buffer_overflow_wordole_c.patch21
-rw-r--r--office/antiword/30_kantiword.patch205
-rw-r--r--office/antiword/40_desktop_files.patch50
-rw-r--r--office/antiword/50_antiword-manpage-hyphen-to-minus.patch15
-rw-r--r--office/antiword/antiword.SlackBuild29
-rw-r--r--office/antiword/antiword.info2
-rw-r--r--office/antiword/docx.patch182
-rw-r--r--office/antiword/remove-cjb.net-references.patch40
-rw-r--r--office/antiword/use-snprintf.patch36
-rw-r--r--office/apvlv/README17
-rw-r--r--office/apvlv/apvlv.SlackBuild61
-rw-r--r--office/apvlv/apvlv.info14
-rw-r--r--office/apvlv/doinst.sh4
-rw-r--r--office/apvlv/slack-desc2
-rw-r--r--office/apvlv/use_dist_manpdf.patch18
-rw-r--r--office/aspell6-es/README14
-rw-r--r--office/aspell6-es/aspell6-es.info10
-rw-r--r--office/aspell6-es/slack-desc19
-rw-r--r--office/asymptote/README6
-rw-r--r--office/asymptote/asymptote.SlackBuild55
-rw-r--r--office/asymptote/asymptote.info12
-rw-r--r--office/asymptote/doinst.sh3
-rw-r--r--office/asymptote/douninst.sh6
-rw-r--r--office/asymptote/slack-desc2
-rw-r--r--office/atril/README8
-rw-r--r--office/atril/atril.SlackBuild131
-rw-r--r--office/atril/atril.info10
-rw-r--r--office/atril/doinst.sh (renamed from office/gnucash-legacy/doinst.sh)16
-rw-r--r--office/atril/slack-desc19
-rw-r--r--office/basket/README5
-rw-r--r--office/basket/basket.SlackBuild60
-rw-r--r--office/basket/basket.info8
-rw-r--r--office/basket/no-write-outside-destdir.patch19
-rw-r--r--office/beaver/beaver.SlackBuild40
-rw-r--r--office/bibclean/README5
-rw-r--r--office/bibclean/bibclean.SlackBuild119
-rw-r--r--office/bibclean/bibclean.info10
-rw-r--r--office/bibclean/slack-desc (renamed from office/kmymoney/slack-desc)22
-rw-r--r--office/bibtex2html/bibtex2html.SlackBuild18
-rw-r--r--office/bibutils/bibutils.SlackBuild35
-rw-r--r--office/bookbinder/bookbinder.SlackBuild16
-rw-r--r--office/bookbinder/bookbinder.info2
-rw-r--r--office/briss/README11
-rw-r--r--office/briss/briss.SlackBuild16
-rw-r--r--office/briss/briss.info2
-rw-r--r--office/broffice.org/README3
-rw-r--r--office/broffice.org/broffice.org.SlackBuild46
-rw-r--r--office/broffice.org/broffice.org.info2
-rw-r--r--office/calcurse/0001-Don-t-fclose-fp-if-it-failed-to-fopen.patch50
-rw-r--r--office/calcurse/README15
-rw-r--r--office/calcurse/calcurse.SlackBuild32
-rw-r--r--office/calcurse/calcurse.info12
-rw-r--r--office/calibre-bin/README7
-rw-r--r--office/calibre-bin/calibre-bin.SlackBuild97
-rw-r--r--office/calibre-bin/calibre-bin.info10
-rw-r--r--office/calibre-bin/doinst.sh (renamed from office/qpdfview-qt5/doinst.sh)0
-rw-r--r--office/calibre-bin/slack-desc19
-rw-r--r--office/calibre/README10
-rw-r--r--office/calibre/calibre.SlackBuild166
-rw-r--r--office/calibre/calibre.info10
-rw-r--r--office/calibre/patches/calibre-module-fix.patch14
-rw-r--r--office/calibre/patches/calibre-no-update.patch24
-rw-r--r--office/calibre/patches/remove-desktop-integration.patch13
-rw-r--r--office/calibre/slack-desc19
-rw-r--r--office/catdoc/catdoc.SlackBuild33
-rw-r--r--office/catdoc/catdoc.info6
-rw-r--r--office/catdvi/README43
-rw-r--r--office/catdvi/catdvi.SlackBuild123
-rw-r--r--office/catdvi/catdvi.info10
-rw-r--r--office/catdvi/slack-desc19
-rw-r--r--office/ccal/ccal.SlackBuild22
-rw-r--r--office/color-theme/README13
-rw-r--r--office/color-theme/color-theme.info10
-rw-r--r--office/color-theme/fix_makefile.diff53
-rw-r--r--office/convertlit/convertlit.12
-rw-r--r--office/convertlit/convertlit.SlackBuild32
-rw-r--r--office/convertlit/convertlit.info2
-rw-r--r--office/convertlit/lit2epub.165
-rw-r--r--office/convertlit/lit2epub.rst52
-rw-r--r--office/coolreader/README12
-rw-r--r--office/coolreader/coolreader.SlackBuild186
-rw-r--r--office/coolreader/coolreader.info14
-rw-r--r--office/coolreader/cr3.185
-rw-r--r--office/coolreader/cr3.rst74
-rw-r--r--office/coolreader/slack-desc8
-rw-r--r--office/cpdf/README20
-rw-r--r--office/cpdf/cpdf.SlackBuild90
-rw-r--r--office/cpdf/cpdf.info10
-rw-r--r--office/cpdf/slack-desc19
-rw-r--r--office/crow-translate/README3
-rw-r--r--office/crow-translate/crow-translate.SlackBuild (renamed from office/juffed/juffed.SlackBuild)42
-rw-r--r--office/crow-translate/crow-translate.info10
-rw-r--r--office/crow-translate/doinst.sh9
-rw-r--r--office/crow-translate/slack-desc19
-rw-r--r--office/cups-pdf/README5
-rw-r--r--office/cups-pdf/cups-pdf.SlackBuild18
-rw-r--r--office/cups-pdf/remove-deprecated-ghostscript-setpdfwrite-operator.diff25
-rw-r--r--office/devtodo/README11
-rw-r--r--office/devtodo/devtodo.SlackBuild16
-rw-r--r--office/dictd/dictd.SlackBuild22
-rw-r--r--office/diction/README11
-rw-r--r--office/diction/diction.SlackBuild92
-rw-r--r--office/diction/diction.info10
-rw-r--r--office/diction/slack-desc19
-rw-r--r--office/diffpdf/README8
-rw-r--r--office/diffpdf/diffpdf-2.1.3-qt5.patch173
-rw-r--r--office/diffpdf/diffpdf.SlackBuild48
-rw-r--r--office/diffpdf/diffpdf.desktop2
-rw-r--r--office/ding/README6
-rw-r--r--office/ding/ding.SlackBuild16
-rw-r--r--office/djvusmooth/djvusmooth.SlackBuild30
-rw-r--r--office/djvusmooth/djvusmooth.info12
-rw-r--r--office/docx2txt/README4
-rw-r--r--office/docx2txt/docx2txt.SlackBuild16
-rw-r--r--office/dspdfviewer/README5
-rw-r--r--office/dspdfviewer/doinst.sh (renamed from office/juffed/doinst.sh)0
-rw-r--r--office/dspdfviewer/dspdfviewer.SlackBuild127
-rw-r--r--office/dspdfviewer/dspdfviewer.info10
-rw-r--r--office/dspdfviewer/slack-desc19
-rw-r--r--office/elyxer/README14
-rw-r--r--office/elyxer/elyxer.SlackBuild16
-rw-r--r--office/enpass/enpass.SlackBuild19
-rw-r--r--office/enpass/enpass.info8
-rw-r--r--office/epdfview/README4
-rw-r--r--office/epdfview/epdfview.SlackBuild16
-rw-r--r--office/epy/README8
-rw-r--r--office/epy/epy.182
-rw-r--r--office/epy/epy.SlackBuild66
-rw-r--r--office/epy/epy.info10
-rw-r--r--office/epy/epy.rst71
-rw-r--r--office/epy/slack-desc (renamed from office/eqonomize/slack-desc)24
-rw-r--r--office/eqonomize/README1
-rw-r--r--office/eqonomize/eqonomize.info10
-rw-r--r--office/etmtk/README12
-rw-r--r--office/etmtk/etmtk.SlackBuild22
-rw-r--r--office/etmtk/etmtk.info10
-rw-r--r--office/evince-gtk2/README16
-rw-r--r--office/evince-gtk2/doinst.sh15
-rw-r--r--office/evince-gtk2/evince-gtk2.SlackBuild (renamed from office/gnucash-legacy/gnucash-legacy.SlackBuild)134
-rw-r--r--office/evince-gtk2/evince-gtk2.info10
-rw-r--r--office/evince-gtk2/slack-desc19
-rw-r--r--office/evince/README17
-rw-r--r--office/evince/evince.SlackBuild109
-rw-r--r--office/evince/evince.info12
-rw-r--r--office/evince/slack-desc6
-rw-r--r--office/evolution-ews/README13
-rw-r--r--office/evolution-ews/evolution-ews.SlackBuild (renamed from office/kate-latex-plugin/kate-latex-plugin.SlackBuild)71
-rw-r--r--office/evolution-ews/evolution-ews.info10
-rw-r--r--office/evolution-ews/slack-desc19
-rw-r--r--office/evolution/README36
-rw-r--r--office/evolution/doinst.sh16
-rw-r--r--office/evolution/evolution.SlackBuild177
-rw-r--r--office/evolution/evolution.info10
-rw-r--r--office/evolution/slack-desc19
-rw-r--r--office/extractpdfmark/extractpdfmark.SlackBuild16
-rw-r--r--office/fbpdf/README15
-rw-r--r--office/fbpdf/fbpdf.1236
-rw-r--r--office/fbpdf/fbpdf.SlackBuild94
-rw-r--r--office/fbpdf/fbpdf.info8
-rw-r--r--office/fbpdf/fbpdf.pod225
-rw-r--r--office/fbpdf/git2tarxz.sh44
-rw-r--r--office/fbpdf/navigation.diff73
-rw-r--r--office/fbpdf/slack-desc8
-rw-r--r--office/fbreader/fbreader-qt5.patch510
-rw-r--r--office/fbreader/fbreader.SlackBuild34
-rw-r--r--office/fbreader/fbreader.info6
-rw-r--r--office/featherpad/README41
-rw-r--r--office/featherpad/doinst.sh (renamed from office/eqonomize/doinst.sh)1
-rw-r--r--office/featherpad/featherpad.SlackBuild120
-rw-r--r--office/featherpad/featherpad.info10
-rw-r--r--office/featherpad/slack-desc19
-rw-r--r--office/flowkeeper/README11
-rw-r--r--office/flowkeeper/flowkeeper.SlackBuild16
-rw-r--r--office/flowkeeper/flowkeeper.info2
-rw-r--r--office/focuswriter-qt6/README11
-rw-r--r--office/focuswriter-qt6/doinst.sh (renamed from office/myrulib/doinst.sh)0
-rw-r--r--office/focuswriter-qt6/focuswriter-qt6.SlackBuild116
-rw-r--r--office/focuswriter-qt6/focuswriter-qt6.info10
-rw-r--r--office/focuswriter-qt6/slack-desc19
-rw-r--r--office/focuswriter/README8
-rw-r--r--office/focuswriter/focuswriter.SlackBuild35
-rw-r--r--office/focuswriter/focuswriter.info10
-rw-r--r--office/focuswriter/slack-desc4
-rw-r--r--office/fop/README33
-rw-r--r--office/fop/fop.SlackBuild107
-rw-r--r--office/fop/fop.info16
-rw-r--r--office/fop/slack-desc10
-rw-r--r--office/freemind/freemind.SlackBuild16
-rw-r--r--office/freemind/freemind.info2
-rw-r--r--office/full-pack/README10
-rw-r--r--office/full-pack/full-pack.SlackBuild30
-rw-r--r--office/ganttproject/ganttproject.SlackBuild20
-rw-r--r--office/ganttproject/ganttproject.info8
-rw-r--r--office/gbgoffice/gbgoffice.SlackBuild29
-rw-r--r--office/gbgoffice/patches/12_gcc6.patch21
-rw-r--r--office/gcal/gcal-glibc-no-libio.patch134
-rw-r--r--office/gcal/gcal.SlackBuild24
-rw-r--r--office/gcal/gcal.info4
-rw-r--r--office/gcalctool-gtk2/README5
-rw-r--r--office/gcalctool-gtk2/doinst.sh15
-rw-r--r--office/gcalctool-gtk2/gcalctool-gtk2.SlackBuild (renamed from office/sc-im/sc-im.SlackBuild)58
-rw-r--r--office/gcalctool-gtk2/gcalctool-gtk2.info10
-rw-r--r--office/gcalctool-gtk2/slack-desc19
-rw-r--r--office/ghostwriter/README7
-rw-r--r--office/ghostwriter/doinst.sh13
-rw-r--r--office/ghostwriter/ghostwriter.SlackBuild107
-rw-r--r--office/ghostwriter/ghostwriter.info10
-rw-r--r--office/ghostwriter/slack-desc (renamed from office/color-theme/slack-desc)22
-rw-r--r--office/glow/README3
-rw-r--r--office/glow/changelog6
-rw-r--r--office/glow/glow.SlackBuild114
-rw-r--r--office/glow/glow.info10
-rw-r--r--office/glow/slack-desc19
-rw-r--r--office/gmdb2/README8
-rw-r--r--office/gmdb2/doinst.sh10
-rw-r--r--office/gmdb2/gmdb2.SlackBuild (renamed from office/wyrd/wyrd.SlackBuild)40
-rw-r--r--office/gmdb2/gmdb2.info10
-rw-r--r--office/gmdb2/slack-desc19
-rw-r--r--office/gnokii/gnokii-0.6.31-gcc7.patch17
-rw-r--r--office/gnokii/gnokii.SlackBuild29
-rw-r--r--office/gnucash-docs/README21
-rw-r--r--office/gnucash-docs/gnucash-docs.SlackBuild118
-rw-r--r--office/gnucash-docs/gnucash-docs.info8
-rw-r--r--office/gnucash-docs/slack-desc2
-rw-r--r--office/gnucash-legacy-docs/README23
-rw-r--r--office/gnucash-legacy-docs/gnucash-legacy-docs.SlackBuild128
-rw-r--r--office/gnucash-legacy-docs/gnucash-legacy-docs.info10
-rw-r--r--office/gnucash-legacy-docs/slack-desc19
-rw-r--r--office/gnucash-legacy/README22
-rw-r--r--office/gnucash-legacy/gnucash-legacy.info10
-rw-r--r--office/gnucash-legacy/slack-desc19
-rw-r--r--office/gnucash/README15
-rw-r--r--office/gnucash/gnucash.SlackBuild62
-rw-r--r--office/gnucash/gnucash.info10
-rw-r--r--office/gnumeric-gtk2/README9
-rw-r--r--office/gnumeric-gtk2/doinst.sh27
-rw-r--r--office/gnumeric-gtk2/gnumeric-gtk2.SlackBuild119
-rw-r--r--office/gnumeric-gtk2/gnumeric-gtk2.info10
-rw-r--r--office/gnumeric-gtk2/slack-desc19
-rw-r--r--office/gnumeric/README8
-rw-r--r--office/gnumeric/doinst.sh18
-rw-r--r--office/gnumeric/gnumeric.SlackBuild32
-rw-r--r--office/gnumeric/gnumeric.info12
-rw-r--r--office/gnumeric/slack-desc8
-rw-r--r--office/gocr/gocr.SlackBuild48
-rw-r--r--office/gocr/gocr.info12
-rw-r--r--office/gocr/slack-desc2
-rw-r--r--office/goldendict/goldendict.SlackBuild36
-rw-r--r--office/goldendict/goldendict.info8
-rw-r--r--office/grisbi/README2
-rw-r--r--office/grisbi/doinst.sh6
-rw-r--r--office/grisbi/grisbi.SlackBuild43
-rw-r--r--office/grisbi/grisbi.info10
-rw-r--r--office/gummi/README3
-rw-r--r--office/gummi/gummi.SlackBuild25
-rw-r--r--office/gummi/gummi.info12
-rw-r--r--office/gummi/slack-desc4
-rw-r--r--office/hamster/doinst.sh10
-rw-r--r--office/hamster/hamster.SlackBuild40
-rw-r--r--office/hamster/hamster.info12
-rw-r--r--office/hebcal/README16
-rw-r--r--office/hebcal/hebcal.SlackBuild42
-rw-r--r--office/hebcal/hebcal.info8
-rw-r--r--office/hebcal/slack-desc4
-rw-r--r--office/heimer/README7
-rw-r--r--office/heimer/doinst.sh9
-rw-r--r--office/heimer/heimer.SlackBuild115
-rw-r--r--office/heimer/heimer.info10
-rw-r--r--office/heimer/slack-desc (renamed from office/juffed/slack-desc)22
-rw-r--r--office/hevea/hevea.SlackBuild18
-rw-r--r--office/hevea/hevea.info6
-rw-r--r--office/homebank/README27
-rw-r--r--office/homebank/doinst.sh1
-rw-r--r--office/homebank/homebank.SlackBuild70
-rw-r--r--office/homebank/homebank.info14
-rw-r--r--office/homebank/slack-desc14
-rw-r--r--office/htmldoc/README15
-rw-r--r--office/htmldoc/htmldoc.SlackBuild87
-rw-r--r--office/htmldoc/htmldoc.info10
-rw-r--r--office/hunspell-de/hunspell-de.SlackBuild35
-rw-r--r--office/hunspell-de/hunspell-de.info2
-rw-r--r--office/hunspell-en/README3
-rw-r--r--office/hunspell-en/hunspell-en.SlackBuild21
-rw-r--r--office/hunspell-en/hunspell-en.info26
-rw-r--r--office/hunspell-es/hunspell-es.SlackBuild16
-rw-r--r--office/hunspell-gr/README1
-rw-r--r--office/hunspell-gr/hunspell-gr.SlackBuild76
-rw-r--r--office/hunspell-gr/hunspell-gr.info10
-rw-r--r--office/hunspell-gr/slack-desc19
-rw-r--r--office/hunspell-id/README2
-rw-r--r--office/hunspell-id/hunspell-id.SlackBuild26
-rw-r--r--office/hunspell-id/hunspell-id.info2
-rw-r--r--office/hunspell-id/slack-desc2
-rw-r--r--office/hunspell-pl/hunspell-pl.SlackBuild16
-rw-r--r--office/hunspell-sv/README1
-rw-r--r--office/hunspell-sv/hunspell-sv.SlackBuild81
-rw-r--r--office/hunspell-sv/hunspell-sv.info10
-rw-r--r--office/hunspell-sv/slack-desc (renamed from office/rednotebook/slack-desc)22
-rw-r--r--office/hyphen-id/README1
-rw-r--r--office/hyphen-id/hyphen-id.info10
-rw-r--r--office/impressive/README11
-rw-r--r--office/impressive/impressive.SlackBuild45
-rw-r--r--office/impressive/impressive.info8
-rw-r--r--office/impressive/slack-desc2
-rw-r--r--office/jfbview/README13
-rw-r--r--office/jfbview/jfbview.SlackBuild117
-rw-r--r--office/jfbview/jfbview.info10
-rw-r--r--office/jfbview/jpdfcat.168
-rw-r--r--office/jfbview/jpdfcat.rst57
-rw-r--r--office/jfbview/jpdfgrep.176
-rw-r--r--office/jfbview/jpdfgrep.rst65
-rw-r--r--office/jfbview/slack-desc19
-rw-r--r--office/jpdfbookmarks/jpdfbookmarks.SlackBuild16
-rw-r--r--office/jpdfbookmarks/jpdfbookmarks.info2
-rw-r--r--office/jstock/README6
-rw-r--r--office/jstock/jstock.SlackBuild29
-rw-r--r--office/jstock/jstock.info8
-rw-r--r--office/juffed/README6
-rw-r--r--office/juffed/juffed.info10
-rw-r--r--office/kate-latex-plugin/README8
-rw-r--r--office/kate-latex-plugin/kate-latex-plugin.info10
-rw-r--r--office/kate-latex-plugin/slack-desc19
-rw-r--r--office/kbbi-qt/kbbi-qt.SlackBuild16
-rw-r--r--office/kbbi-qt/kbbi-qt.info2
-rw-r--r--office/kbgoffice/gcc6.patch17
-rw-r--r--office/kbgoffice/kbgoffice.SlackBuild21
-rw-r--r--office/kbgoffice/kbgoffice.info2
-rw-r--r--office/kbibtex/README13
-rw-r--r--office/kbibtex/desktop_perms.patch13
-rw-r--r--office/kbibtex/kbibtex.SlackBuild39
-rw-r--r--office/kbibtex/kbibtex.info6
-rw-r--r--office/kbibtex/slack-desc14
-rw-r--r--office/kchmviewer-qt/kchmviewer-qt.SlackBuild52
-rw-r--r--office/kchmviewer-qt/kchmviewer-qt.info6
-rw-r--r--office/kchmviewer/README16
-rw-r--r--office/kchmviewer/kchmviewer.SlackBuild96
-rw-r--r--office/kchmviewer/kchmviewer.info10
-rw-r--r--office/kchmviewer/slack-desc19
-rw-r--r--office/keepassx/keepassx.SlackBuild19
-rw-r--r--office/keepassx/keepassx.info6
-rw-r--r--office/keepassxc/README48
-rw-r--r--office/keepassxc/keepassxc.SlackBuild54
-rw-r--r--office/keepassxc/keepassxc.info12
-rw-r--r--office/keepnote/README8
-rw-r--r--office/keepnote/keepnote.SlackBuild18
-rw-r--r--office/khal/README10
-rw-r--r--office/khal/khal-complete.bash29
-rw-r--r--office/khal/khal-complete.fish18
-rw-r--r--office/khal/khal-complete.zsh41
-rw-r--r--office/khal/khal.SlackBuild96
-rw-r--r--office/khal/khal.info10
-rw-r--r--office/khal/slack-desc19
-rw-r--r--office/khard/README13
-rw-r--r--office/khard/khard.SlackBuild (renamed from office/TaskCoach/TaskCoach.SlackBuild)38
-rw-r--r--office/khard/khard.info10
-rw-r--r--office/khard/slack-desc19
-rw-r--r--office/kmymoney/README4
-rw-r--r--office/kmymoney/kmymoney.SlackBuild101
-rw-r--r--office/kmymoney/kmymoney.info10
-rw-r--r--office/kraft/README19
-rw-r--r--office/kraft/doinst.sh14
-rw-r--r--office/kraft/kraft.SlackBuild (renamed from office/eqonomize/eqonomize.SlackBuild)64
-rw-r--r--office/kraft/kraft.info10
-rw-r--r--office/kraft/slack-desc (renamed from office/sc-im/slack-desc)22
-rw-r--r--office/krop/README15
-rw-r--r--office/krop/krop.SlackBuild49
-rw-r--r--office/krop/krop.info8
-rw-r--r--office/krop/slack-desc8
-rw-r--r--office/kuro-legacy/README9
-rw-r--r--office/kuro-legacy/doinst.sh9
-rw-r--r--office/kuro-legacy/kuro-legacy.SlackBuild (renamed from office/marave/marave.SlackBuild)51
-rw-r--r--office/kuro-legacy/kuro-legacy.info10
-rw-r--r--office/kuro-legacy/slack-desc19
-rw-r--r--office/kuro/README21
-rw-r--r--office/kuro/doinst.sh9
-rw-r--r--office/kuro/kuro.SlackBuild106
-rw-r--r--office/kuro/kuro.info10
-rw-r--r--office/kuro/slack-desc19
-rw-r--r--office/latex2rtf/README19
-rw-r--r--office/latex2rtf/latex2rtf.SlackBuild16
-rw-r--r--office/latex2rtf/latex2rtf.info2
-rw-r--r--office/latexdiff/latexdiff.SlackBuild20
-rw-r--r--office/latexdiff/latexdiff.info6
-rw-r--r--office/lcal/README6
-rw-r--r--office/lcal/lcal.SlackBuild16
-rw-r--r--office/leafpad/README4
-rw-r--r--office/leafpad/doinst.sh1
-rw-r--r--office/leafpad/leafpad.SlackBuild66
-rw-r--r--office/leafpad/leafpad.info10
-rw-r--r--office/leafpad/slack-desc2
-rw-r--r--office/ledger-live/20-hw1.rules14
-rw-r--r--office/ledger-live/README14
-rw-r--r--office/ledger-live/doinst.sh8
-rw-r--r--office/ledger-live/ledger-live.SlackBuild92
-rw-r--r--office/ledger-live/ledger-live.info10
-rw-r--r--office/ledger-live/slack-desc19
-rw-r--r--office/libreoffice-helppack/libreoffice-helppack.SlackBuild28
-rw-r--r--office/libreoffice-helppack/libreoffice-helppack.info10
-rw-r--r--office/libreoffice-langpack/README5
-rw-r--r--office/libreoffice-langpack/libreoffice-langpack.SlackBuild28
-rw-r--r--office/libreoffice-langpack/libreoffice-langpack.info10
-rw-r--r--office/libreoffice/README4
-rw-r--r--office/libreoffice/libreoffice.SlackBuild19
-rw-r--r--office/libreoffice/libreoffice.info12
-rw-r--r--office/lotus123/README22
-rw-r--r--office/lotus123/doinst.sh9
-rw-r--r--office/lotus123/icons/128.pngbin0 -> 13514 bytes
-rw-r--r--office/lotus123/icons/16.pngbin0 -> 2607 bytes
-rw-r--r--office/lotus123/icons/22.pngbin0 -> 3022 bytes
-rw-r--r--office/lotus123/icons/256.pngbin0 -> 26239 bytes
-rw-r--r--office/lotus123/icons/32.pngbin0 -> 3924 bytes
-rw-r--r--office/lotus123/icons/48.pngbin0 -> 5444 bytes
-rw-r--r--office/lotus123/icons/64.pngbin0 -> 7035 bytes
-rw-r--r--office/lotus123/lotus123.SlackBuild160
-rw-r--r--office/lotus123/lotus123.desktop8
-rw-r--r--office/lotus123/lotus123.info22
-rw-r--r--office/lotus123/slack-desc19
-rw-r--r--office/lout/doinst.sh3
-rw-r--r--office/lout/install-fix.patch15
-rw-r--r--office/lout/lout.SlackBuild61
-rw-r--r--office/lout/lout.info10
-rw-r--r--office/lowdown/README15
-rw-r--r--office/lowdown/lowdown.SlackBuild116
-rw-r--r--office/lowdown/lowdown.info10
-rw-r--r--office/lowdown/slack-desc19
-rw-r--r--office/lumina-calculator/README1
-rw-r--r--office/lumina-calculator/doinst.sh (renamed from office/kchmviewer/doinst.sh)0
-rw-r--r--office/lumina-calculator/lumina-calculator.SlackBuild111
-rw-r--r--office/lumina-calculator/lumina-calculator.info10
-rw-r--r--office/lumina-calculator/slack-desc19
-rw-r--r--office/lumina-pdf/README1
-rw-r--r--office/lumina-pdf/doinst.sh (renamed from office/sofastats/doinst.sh)1
-rw-r--r--office/lumina-pdf/lumina-pdf.SlackBuild111
-rw-r--r--office/lumina-pdf/lumina-pdf.info10
-rw-r--r--office/lumina-pdf/lumina-pdf.patch12
-rw-r--r--office/lumina-pdf/slack-desc19
-rw-r--r--office/lyx/README10
-rw-r--r--office/lyx/lyx.SlackBuild25
-rw-r--r--office/lyx/lyx.info6
-rw-r--r--office/mairix/mairix.SlackBuild20
-rw-r--r--office/mairix/mairix.info2
-rw-r--r--office/marave/README3
-rw-r--r--office/marave/doinst.sh3
-rw-r--r--office/marave/marave.desktop9
-rw-r--r--office/marave/marave.info10
-rw-r--r--office/mate-calc/README4
-rw-r--r--office/mate-calc/doinst.sh19
-rw-r--r--office/mate-calc/mate-calc.SlackBuild113
-rw-r--r--office/mate-calc/mate-calc.info10
-rw-r--r--office/mate-calc/slack-desc19
-rw-r--r--office/mathtex/mathtex.SlackBuild22
-rw-r--r--office/mathtex/mathtex.info2
-rw-r--r--office/mdbtools/README17
-rw-r--r--office/mdbtools/mdbtools.SlackBuild68
-rw-r--r--office/mdbtools/mdbtools.info12
-rw-r--r--office/mdbtools/slack-desc10
-rw-r--r--office/mdp/mdp.SlackBuild20
-rw-r--r--office/mined/mined.SlackBuild22
-rw-r--r--office/minidjvu/README16
-rw-r--r--office/minidjvu/minidjvu.SlackBuild35
-rw-r--r--office/minidjvu/minidjvu.info6
-rw-r--r--office/minidjvu/minidjvu.patch66
-rw-r--r--office/mobiperl/README4
-rw-r--r--office/mobiperl/mobiperl.SlackBuild22
-rw-r--r--office/mobiperl/mobiperl.info2
-rw-r--r--office/moneydance/README37
-rw-r--r--office/moneydance/moneydance.SlackBuild40
-rw-r--r--office/moneydance/moneydance.info10
-rw-r--r--office/msee/README8
-rw-r--r--office/msee/msee.SlackBuild80
-rw-r--r--office/msee/msee.info10
-rw-r--r--office/msee/slack-desc19
-rw-r--r--office/mtp2-fonts/README18
-rw-r--r--office/mtp2-fonts/README.SBo16
-rw-r--r--office/mtp2-fonts/doinst.sh18
-rw-r--r--office/mtp2-fonts/mtp2-fonts.SlackBuild27
-rw-r--r--office/mtp2-fonts/mtp2-fonts.info6
-rw-r--r--office/mtp2-fonts/slack-desc2
-rw-r--r--office/mu/README4
-rw-r--r--office/mu/doinst.sh4
-rw-r--r--office/mu/mu.SlackBuild56
-rw-r--r--office/mu/mu.info8
-rw-r--r--office/multivalent-tool-pdf/README3
-rw-r--r--office/multivalent-tool-pdf/doinst.sh1
-rw-r--r--office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild20
-rw-r--r--office/multivalent-tool-pdf/multivalent-tool-pdf.info2
-rw-r--r--office/mupdf/README32
-rw-r--r--office/mupdf/README_shared.txt56
-rw-r--r--office/mupdf/doinst.sh13
-rw-r--r--office/mupdf/mupdf.SlackBuild268
-rw-r--r--office/mupdf/mupdf.info10
-rw-r--r--office/mupdf/mupdf.pc1
-rw-r--r--office/mupdf/mupdf.pngbin3285 -> 0 bytes
-rw-r--r--office/mupdf/shared_libs.diff76
-rw-r--r--office/mupdf/slack-desc6
-rw-r--r--office/muttprint/muttprint.SlackBuild18
-rw-r--r--office/myrulib/README6
-rw-r--r--office/myrulib/myrulib.SlackBuild95
-rw-r--r--office/myrulib/myrulib.info10
-rw-r--r--office/mytetra/mytetra.SlackBuild29
-rw-r--r--office/mytetra/mytetra.info4
-rw-r--r--office/mythes-id/mythes-id.SlackBuild16
-rw-r--r--office/mythes/mythes.SlackBuild20
-rw-r--r--office/navi/README17
-rw-r--r--office/navi/navi.SlackBuild183
-rw-r--r--office/navi/navi.info308
-rw-r--r--office/navi/slack-desc19
-rw-r--r--office/neoleo/README2
-rw-r--r--office/neoleo/neoleo.SlackBuild21
-rw-r--r--office/neoleo/neoleo.info10
-rw-r--r--office/neoleo/slack-desc4
-rw-r--r--office/notes/GNUmakefile.patch8
-rw-r--r--office/notes/README5
-rw-r--r--office/notes/notes.SlackBuild103
-rw-r--r--office/notes/notes.info10
-rw-r--r--office/notes/slack-desc19
-rw-r--r--office/notmuch/notmuch.SlackBuild24
-rw-r--r--office/notmuch/notmuch.info8
-rw-r--r--office/nts/nts.SlackBuild24
-rw-r--r--office/nts/nts.info4
-rw-r--r--office/odt2txt/README11
-rw-r--r--office/odt2txt/odt2txt.SlackBuild38
-rw-r--r--office/odt2txt/odt2txt.info2
-rw-r--r--office/omegat/README16
-rw-r--r--office/omegat/doinst.sh9
-rw-r--r--office/omegat/omegat.SlackBuild127
-rw-r--r--office/omegat/omegat.info10
-rw-r--r--office/omegat/slack-desc (renamed from office/marave/slack-desc)22
-rw-r--r--office/onlyoffice-desktopeditors/README2
-rw-r--r--office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild30
-rw-r--r--office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info10
-rw-r--r--office/openoffice-langpack/openoffice-langpack.SlackBuild24
-rw-r--r--office/openoffice.org/README12
-rw-r--r--office/openoffice.org/openoffice.org.SlackBuild75
-rw-r--r--office/openoffice.org/openoffice.org.info14
-rw-r--r--office/openoffice.org/patches/01-gtk2_theme.patch5
-rw-r--r--office/openoffice.org/submenus/openoffice.directory4
-rw-r--r--office/openoffice.org/submenus/openoffice.menu23
-rw-r--r--office/org-mode/Makefile.patch29
-rw-r--r--office/org-mode/README18
-rw-r--r--office/org-mode/org-mode.SlackBuild65
-rw-r--r--office/org-mode/org-mode.info10
-rw-r--r--office/osmo-gtk2/README11
-rw-r--r--office/osmo-gtk2/doinst.sh9
-rw-r--r--office/osmo-gtk2/osmo-gtk2.SlackBuild (renamed from office/teapot/teapot.SlackBuild)57
-rw-r--r--office/osmo-gtk2/osmo-gtk2.info10
-rw-r--r--office/osmo-gtk2/slack-desc (renamed from office/TaskCoach/slack-desc)22
-rw-r--r--office/osmo/osmo.SlackBuild16
-rw-r--r--office/pandoc-bin/README48
-rw-r--r--office/pandoc-bin/pandoc-bin.SlackBuild61
-rw-r--r--office/pandoc-bin/pandoc-bin.info10
-rw-r--r--office/pandoc-bin/slack-desc2
-rw-r--r--office/pandoc/README10
-rw-r--r--office/pandoc/pandoc.SlackBuild32
-rw-r--r--office/pandoc/pandoc.info8
-rw-r--r--office/paps/README4
-rw-r--r--office/paps/paps.SlackBuild50
-rw-r--r--office/paps/paps.info10
-rw-r--r--office/paps/src-to-paps.diff31
-rw-r--r--office/pcal/pcal.SlackBuild16
-rw-r--r--office/pdf2djvu/README3
-rw-r--r--office/pdf2djvu/pdf2djvu.SlackBuild29
-rw-r--r--office/pdf2djvu/pdf2djvu.info14
-rw-r--r--office/pdf2djvu/slack-desc2
-rw-r--r--office/pdfarranger/README7
-rw-r--r--office/pdfarranger/doinst.sh9
-rw-r--r--office/pdfarranger/pdfarranger.SlackBuild114
-rw-r--r--office/pdfarranger/pdfarranger.info10
-rw-r--r--office/pdfarranger/simplify_icon_name.patch24
-rw-r--r--office/pdfarranger/slack-desc19
-rw-r--r--office/pdfchain/pdfchain.SlackBuild28
-rw-r--r--office/pdfjam/README4
-rw-r--r--office/pdfjam/pdfjam.SlackBuild56
-rw-r--r--office/pdfjam/pdfjam.info10
-rw-r--r--office/pdfjam/slack-desc19
-rw-r--r--office/pdfpc/README19
-rw-r--r--office/pdfpc/pdfpc.SlackBuild26
-rw-r--r--office/pdfpc/pdfpc.info8
-rw-r--r--office/pdfshuffler/pdfshuffler.SlackBuild18
-rw-r--r--office/pdfstudio/README6
-rw-r--r--office/pdfstudio/pdfstudio.SlackBuild21
-rw-r--r--office/pdfstudio/pdfstudio.info16
-rw-r--r--office/pdfstudioviewer/README3
-rw-r--r--office/pdfstudioviewer/pdfstudioviewer.SlackBuild21
-rw-r--r--office/pdfstudioviewer/pdfstudioviewer.info16
-rw-r--r--office/pdfstudioviewer/slack-desc2
-rw-r--r--office/pdftk/README17
-rw-r--r--office/pdftk/pdftk-1.44-add_custom_optflags.patch26
-rw-r--r--office/pdftk/pdftk.SlackBuild77
-rw-r--r--office/pdftk/pdftk.info16
-rw-r--r--office/pdftk/pdftk.sh4
-rw-r--r--office/plover/README10
-rw-r--r--office/plover/doinst.sh13
-rw-r--r--office/plover/plover.SlackBuild (renamed from office/hyphen-id/hyphen-id.SlackBuild)58
-rw-r--r--office/plover/plover.desktop10
-rw-r--r--office/plover/plover.info10
-rw-r--r--office/plover/plover.pngbin0 -> 10767 bytes
-rw-r--r--office/plover/slack-desc19
-rw-r--r--office/ps2eps/README31
-rw-r--r--office/ps2eps/ps2eps.SlackBuild22
-rw-r--r--office/ps2eps/ps2eps.info2
-rw-r--r--office/pstoedit/README16
-rw-r--r--office/pstoedit/pstoedit.SlackBuild21
-rw-r--r--office/pstoedit/pstoedit.info6
-rw-r--r--office/pstoedit/slack-desc6
-rw-r--r--office/pstotext/README10
-rw-r--r--office/pstotext/pstotext.SlackBuild16
-rw-r--r--office/pyspread/README16
-rw-r--r--office/pyspread/pyspread.SlackBuild27
-rw-r--r--office/pyspread/pyspread.info12
-rw-r--r--office/pyspread/slack-desc2
-rw-r--r--office/python-gcalcli/README33
-rw-r--r--office/python-gcalcli/python-gcalcli.SlackBuild36
-rw-r--r--office/python-gcalcli/python-gcalcli.info12
-rw-r--r--office/python3-proselint/README25
-rw-r--r--office/python3-proselint/python3-proselint.SlackBuild (renamed from office/aspell6-es/aspell6-es.SlackBuild)45
-rw-r--r--office/python3-proselint/python3-proselint.info10
-rw-r--r--office/python3-proselint/slack-desc19
-rw-r--r--office/python3-xlsx2csv/README6
-rw-r--r--office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild92
-rw-r--r--office/python3-xlsx2csv/python3-xlsx2csv.info10
-rw-r--r--office/python3-xlsx2csv/slack-desc19
-rw-r--r--office/qpdfview-qt5/README2
-rw-r--r--office/qpdfview-qt5/qpdfview-qt5.info10
-rw-r--r--office/qpdfview-qt5/slack-desc19
-rw-r--r--office/qpdfview/README11
-rw-r--r--office/qpdfview/qpdfview.SlackBuild81
-rw-r--r--office/qpdfview/qpdfview.info10
-rw-r--r--office/qpdfview/slack-desc4
-rw-r--r--office/qute/qute.SlackBuild48
-rw-r--r--office/qute/qute.info8
-rw-r--r--office/re-typeset/README4
-rw-r--r--office/re-typeset/re-typeset.SlackBuild15
-rw-r--r--office/re-typeset/re-typeset.info4
-rw-r--r--office/re-typeset/slack-desc2
-rw-r--r--office/rednotebook/README8
-rw-r--r--office/rednotebook/rednotebook.SlackBuild85
-rw-r--r--office/rednotebook/rednotebook.info10
-rw-r--r--office/referencer/referencer-lib_path.patch11
-rw-r--r--office/referencer/referencer.SlackBuild27
-rw-r--r--office/remind/README1
-rw-r--r--office/remind/remind.SlackBuild30
-rw-r--r--office/remind/remind.info8
-rw-r--r--office/sc-im/README2
-rw-r--r--office/sc-im/sc-im.info10
-rw-r--r--office/scribus/README10
-rw-r--r--office/scribus/harfbuzz-3.0.0.patch68
-rw-r--r--office/scribus/scribus.SlackBuild52
-rw-r--r--office/scribus/scribus.info8
-rw-r--r--office/semantik/README10
-rw-r--r--office/semantik/changelog10
-rw-r--r--office/semantik/doinst.sh (renamed from office/kmymoney/doinst.sh)10
-rw-r--r--office/semantik/semantik.SlackBuild107
-rw-r--r--office/semantik/semantik.info10
-rw-r--r--office/semantik/slack-desc (renamed from office/org-mode/slack-desc)22
-rw-r--r--office/sent/README11
-rw-r--r--office/sent/sent.SlackBuild103
-rw-r--r--office/sent/sent.info10
-rw-r--r--office/sent/slack-desc19
-rw-r--r--office/siag/siag.SlackBuild25
-rw-r--r--office/sigil/sigil.SlackBuild16
-rw-r--r--office/sigil/sigil.info2
-rw-r--r--office/smoffice2016/smoffice2016.SlackBuild16
-rw-r--r--office/smoffice2016/smoffice2016.info4
-rw-r--r--office/smoffice2018/smoffice2018.SlackBuild26
-rw-r--r--office/smoffice2018/smoffice2018.info14
-rw-r--r--office/smoffice2021/README11
-rw-r--r--office/smoffice2021/doinst.sh13
-rw-r--r--office/smoffice2021/planmaker-2021.desktop83
-rw-r--r--office/smoffice2021/planmaker213
-rw-r--r--office/smoffice2021/presentations-2021.desktop82
-rw-r--r--office/smoffice2021/presentations2110
-rw-r--r--office/smoffice2021/slack-desc19
-rw-r--r--office/smoffice2021/smoffice2021.SlackBuild118
-rw-r--r--office/smoffice2021/smoffice2021.info10
-rw-r--r--office/smoffice2021/textmaker-2021.desktop83
-rw-r--r--office/smoffice2021/textmaker213
-rw-r--r--office/smoffice2024/README11
-rw-r--r--office/smoffice2024/doinst.sh13
-rw-r--r--office/smoffice2024/planmaker-2024.desktop82
-rw-r--r--office/smoffice2024/planmaker243
-rw-r--r--office/smoffice2024/presentations-2024.desktop81
-rw-r--r--office/smoffice2024/presentations2410
-rw-r--r--office/smoffice2024/slack-desc19
-rw-r--r--office/smoffice2024/smoffice2024.SlackBuild116
-rw-r--r--office/smoffice2024/smoffice2024.info10
-rw-r--r--office/smoffice2024/textmaker-2024.desktop82
-rw-r--r--office/smoffice2024/textmaker243
-rw-r--r--office/sofastats/README9
-rw-r--r--office/sofastats/sofastats.SlackBuild71
-rw-r--r--office/sofastats/sofastats.desktop8
-rw-r--r--office/sofastats/sofastats.info10
-rw-r--r--office/t-prot/README7
-rw-r--r--office/t-prot/slack-desc2
-rw-r--r--office/t-prot/t-prot.SlackBuild19
-rw-r--r--office/t-prot/t-prot.info4
-rw-r--r--office/tapecalc/README13
-rw-r--r--office/tapecalc/slack-desc19
-rw-r--r--office/tapecalc/tapecalc.SlackBuild97
-rw-r--r--office/tapecalc/tapecalc.info10
-rw-r--r--office/task/README10
-rw-r--r--office/task/task.SlackBuild42
-rw-r--r--office/task/task.info8
-rw-r--r--office/taskd/taskd.SlackBuild16
-rw-r--r--office/taskjuggler/README6
-rw-r--r--office/taskjuggler/taskjuggler.SlackBuild20
-rw-r--r--office/taskjuggler/taskjuggler.info8
-rw-r--r--office/taskopen/README8
-rw-r--r--office/taskopen/taskopen.SlackBuild20
-rw-r--r--office/taskopen/taskopen.info8
-rw-r--r--office/tasksh/tasksh.SlackBuild22
-rw-r--r--office/teapot/README11
-rw-r--r--office/teapot/teapot.info10
-rw-r--r--office/tellico/README29
-rw-r--r--office/tellico/tellico.SlackBuild22
-rw-r--r--office/tellico/tellico.info8
-rw-r--r--office/texlive-docs/README4
-rw-r--r--office/texlive-docs/doinst.sh4
-rw-r--r--office/texlive-docs/slack-desc4
-rw-r--r--office/texlive-docs/texlive-docs.SlackBuild32
-rw-r--r--office/texlive-docs/texlive-docs.info12
-rw-r--r--office/texlive-extra/README20
-rw-r--r--office/texlive-extra/doinst.sh3
-rw-r--r--office/texlive-extra/slack-desc4
-rw-r--r--office/texlive-extra/texlive-extra.SlackBuild43
-rw-r--r--office/texlive-extra/texlive-extra.info12
-rw-r--r--office/texlive/README14
-rw-r--r--office/texlive/README.tlpkg17
-rw-r--r--office/texlive/doinst.sh5
-rw-r--r--office/texlive/patches/20180625.diff688
-rw-r--r--office/texlive/patches/synctex-missing-header.patch18
-rw-r--r--office/texlive/prep/texmf_get.sh1076
-rw-r--r--office/texlive/slack-desc19
-rw-r--r--office/texlive/texlive.SlackBuild254
-rw-r--r--office/texlive/texlive.info12
-rw-r--r--office/texmacs/texmacs.SlackBuild28
-rw-r--r--office/texmacs/texmacs.info6
-rw-r--r--office/texmaker/texmaker.SlackBuild23
-rw-r--r--office/texmaker/texmaker.info14
-rw-r--r--office/texstudio/README5
-rw-r--r--office/texstudio/texstudio.SlackBuild46
-rw-r--r--office/texstudio/texstudio.info10
-rw-r--r--office/text2pdf/README11
-rw-r--r--office/text2pdf/text2pdf.SlackBuild18
-rw-r--r--office/texworks/doinst.sh5
-rw-r--r--office/texworks/slack-desc4
-rw-r--r--office/texworks/texworks.SlackBuild59
-rw-r--r--office/texworks/texworks.info12
-rw-r--r--office/timetrap/remove_hardcoded_versions.diff43
-rw-r--r--office/timetrap/timetrap.SlackBuild73
-rw-r--r--office/timetrap/timetrap.info10
-rw-r--r--office/timew/README3
-rw-r--r--office/timew/slack-desc19
-rw-r--r--office/timew/timew.SlackBuild (renamed from office/qpdfview-qt5/qpdfview-qt5.SlackBuild)64
-rw-r--r--office/timew/timew.info10
-rw-r--r--office/tnote/tnote.SlackBuild24
-rw-r--r--office/tnote/tnote.info2
-rw-r--r--office/todo.txt-cli/README13
-rw-r--r--office/todo.txt-cli/slack-desc19
-rw-r--r--office/todo.txt-cli/todo.txt-cli.SlackBuild76
-rw-r--r--office/todo.txt-cli/todo.txt-cli.info10
-rw-r--r--office/tpp/README9
-rw-r--r--office/tpp/tpp.SlackBuild18
-rw-r--r--office/tpp/tpp.info2
-rw-r--r--office/traduisons/README17
-rw-r--r--office/traduisons/traduisons.SlackBuild16
-rw-r--r--office/treesheets/treesheets.SlackBuild18
-rw-r--r--office/treesheets/treesheets.info8
-rw-r--r--office/trelby/trelby.SlackBuild16
-rw-r--r--office/trelby/trelby.info2
-rw-r--r--office/trello-cli/README5
-rw-r--r--office/trello-cli/slack-desc19
-rw-r--r--office/trello-cli/trello-cli.SlackBuild (renamed from office/color-theme/color-theme.SlackBuild)50
-rw-r--r--office/trello-cli/trello-cli.info10
-rw-r--r--office/tudu/README7
-rw-r--r--office/tudu/tudu.SlackBuild34
-rw-r--r--office/tudu/tudu.info8
-rw-r--r--office/turtl/turtl.SlackBuild31
-rw-r--r--office/turtl/turtl.info10
-rw-r--r--office/unaesgcm/README18
-rw-r--r--office/unaesgcm/doinst.sh6
-rw-r--r--office/unaesgcm/slack-desc19
-rw-r--r--office/unaesgcm/unaesgcm.SlackBuild118
-rw-r--r--office/unaesgcm/unaesgcm.info10
-rw-r--r--office/uncsv/README11
-rw-r--r--office/uncsv/slack-desc19
-rw-r--r--office/uncsv/uncsv.SlackBuild80
-rw-r--r--office/uncsv/uncsv.info10
-rw-r--r--office/unoconv/unoconv.SlackBuild20
-rw-r--r--office/verbiste/README12
-rw-r--r--office/verbiste/verbiste.SlackBuild20
-rw-r--r--office/visidata/README10
-rw-r--r--office/visidata/slack-desc19
-rw-r--r--office/visidata/visidata.SlackBuild119
-rw-r--r--office/visidata/visidata.info10
-rw-r--r--office/vlna/vlna.SlackBuild16
-rw-r--r--office/vlna/vlna.info2
-rw-r--r--office/vmd/README13
-rw-r--r--office/vmd/slack-desc19
-rw-r--r--office/vmd/vmd.SlackBuild87
-rw-r--r--office/vmd/vmd.img.patch13
-rw-r--r--office/vmd/vmd.info10
-rw-r--r--office/vym/vym.SlackBuild53
-rw-r--r--office/vym/vym.info8
-rw-r--r--office/wammu/README4
-rw-r--r--office/wammu/slack-desc2
-rw-r--r--office/wammu/wammu.SlackBuild42
-rw-r--r--office/wammu/wammu.info10
-rw-r--r--office/watson/README24
-rw-r--r--office/watson/watson.SlackBuild22
-rw-r--r--office/watson/watson.info10
-rw-r--r--office/when/README13
-rw-r--r--office/when/slack-desc19
-rw-r--r--office/when/when.SlackBuild81
-rw-r--r--office/when/when.info10
-rw-r--r--office/wink/wink.SlackBuild16
-rw-r--r--office/wink/wink.info2
-rw-r--r--office/wordgrinder/README13
-rw-r--r--office/wordgrinder/wordgrinder.SlackBuild45
-rw-r--r--office/wordgrinder/wordgrinder.desktop8
-rw-r--r--office/wordgrinder/wordgrinder.info8
-rw-r--r--office/wordtsar/README13
-rw-r--r--office/wordtsar/doinst.sh9
-rw-r--r--office/wordtsar/slack-desc19
-rw-r--r--office/wordtsar/wordtsar.SlackBuild82
-rw-r--r--office/wordtsar/wordtsar.info10
-rw-r--r--office/wps-office-dicts/DICTIONARIES90
-rw-r--r--office/wps-office-dicts/README107
-rw-r--r--office/wps-office-dicts/slack-desc19
-rw-r--r--office/wps-office-dicts/wps-office-dicts.SlackBuild102
-rw-r--r--office/wps-office-dicts/wps-office-dicts.info10
-rw-r--r--office/wps-office/README41
-rw-r--r--office/wps-office/desktop/et.desktop8
-rw-r--r--office/wps-office/desktop/wpdf.desktop8
-rw-r--r--office/wps-office/desktop/wpp.desktop8
-rw-r--r--office/wps-office/desktop/wps.desktop8
-rw-r--r--office/wps-office/slack-desc2
-rw-r--r--office/wps-office/wps-office.SlackBuild90
-rw-r--r--office/wps-office/wps-office.info18
-rw-r--r--office/wyrd/README6
-rw-r--r--office/wyrd/doinst.sh15
-rw-r--r--office/wyrd/slack-desc19
-rw-r--r--office/wyrd/wyrd.info10
-rw-r--r--office/x_x/README12
-rw-r--r--office/x_x/git2tarxz.sh44
-rw-r--r--office/x_x/slack-desc19
-rw-r--r--office/x_x/x_x.1184
-rw-r--r--office/x_x/x_x.SlackBuild66
-rw-r--r--office/x_x/x_x.info10
-rw-r--r--office/x_x/x_x.rst143
-rw-r--r--office/xmind/README7
-rw-r--r--office/xmind/xmind.SlackBuild16
-rw-r--r--office/xmind/xmind.info2
-rw-r--r--office/xournal/xournal.SlackBuild19
-rw-r--r--office/xournal/xournal.info12
-rw-r--r--office/xournalpp/README5
-rw-r--r--office/xournalpp/doinst.sh9
-rw-r--r--office/xournalpp/slack-desc (renamed from office/sofastats/slack-desc)22
-rw-r--r--office/xournalpp/xournalpp.SlackBuild117
-rw-r--r--office/xournalpp/xournalpp.info10
-rw-r--r--office/xpad/xpad.SlackBuild16
-rw-r--r--office/xpad/xpad.info2
-rw-r--r--office/xreader/xreader.SlackBuild20
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild28
-rw-r--r--office/xtrkcad/xtrkcad.info8
-rw-r--r--office/zathura-cb/README6
-rw-r--r--office/zathura-cb/doinst.sh3
-rw-r--r--office/zathura-cb/slack-desc4
-rw-r--r--office/zathura-cb/zathura-cb.SlackBuild50
-rw-r--r--office/zathura-cb/zathura-cb.info8
-rw-r--r--office/zathura-djvu/README3
-rw-r--r--office/zathura-djvu/zathura-djvu.SlackBuild45
-rw-r--r--office/zathura-djvu/zathura-djvu.info8
-rw-r--r--office/zathura-pdf-mupdf/README13
-rw-r--r--office/zathura-pdf-mupdf/mupdf19.diff131
-rw-r--r--office/zathura-pdf-mupdf/upstream.README23
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild71
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.info10
-rw-r--r--office/zathura-ps/README3
-rw-r--r--office/zathura-ps/slack-desc2
-rw-r--r--office/zathura-ps/zathura-ps.SlackBuild45
-rw-r--r--office/zathura-ps/zathura-ps.info8
-rw-r--r--office/zathura/ChangeLog.old55
-rw-r--r--office/zathura/README30
-rw-r--r--office/zathura/dlopen_hack.diff19
-rw-r--r--office/zathura/doinst.sh6
-rw-r--r--office/zathura/fix_completion.diff33
-rw-r--r--office/zathura/man/zathura.183
-rw-r--r--office/zathura/man/zathurarc.5816
-rw-r--r--office/zathura/slack-desc2
-rw-r--r--office/zathura/synctex_fix.diff59
-rw-r--r--office/zathura/zathura.SlackBuild292
-rw-r--r--office/zathura/zathura.info12
-rw-r--r--office/zim/README35
-rw-r--r--office/zim/README.Plugins10
-rw-r--r--office/zim/doinst.sh6
-rw-r--r--office/zim/slack-desc12
-rw-r--r--office/zim/zim.SlackBuild69
-rw-r--r--office/zim/zim.info14
989 files changed, 21817 insertions, 9505 deletions
diff --git a/office/1password/1password.SlackBuild b/office/1password/1password.SlackBuild
new file mode 100644
index 0000000000..892ffd7fd6
--- /dev/null
+++ b/office/1password/1password.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for 1password
+
+# Copyright 2019-2022 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2018-2019 Donald Cooley South Haven, Indiana 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=1password
+VERSION=${VERSION:-8.9.12}
+TAG=${TAG:-_SBo}
+BUILD=${BUILD:-1}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# Abort build if architecture is not 64-bit.
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+rpm2cpio < $CWD/${PRGNAM}-latest.rpm | cpio -imdv
+chown -R root:root .
+find -L . \
+\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+-o -perm 511 \) -exec chmod 755 {} \; -o \
+\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# 1password has its own symlinks from opt to bin
+cp -ap {opt,usr} $PKG/
+
+# Slackware doesn't ship GNOME desktop
+rm -rf $PKG/usr/share/gnome-control-center
+
+# Move icon into place
+mkdir -p $PKG/usr/share/pixmaps
+cp -a $CWD/other/product_logo_32.xpm \
+ $PKG/usr/share/pixmaps/1password.xpm
+
+# Use proper icon size for 256x256 icon
+cp -a $CWD/other/1password.png \
+ $PKG/usr/share/icons/hicolor/256x256/apps/1password.png
+
+cp -a $CWD/other/custom_allowed_browsers\
+ $PKG/opt/1Password/resources/
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $PKG/opt/1Password/LICENSE.electron.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/1password/1password.info b/office/1password/1password.info
new file mode 100644
index 0000000000..ffe5ec8164
--- /dev/null
+++ b/office/1password/1password.info
@@ -0,0 +1,10 @@
+PRGNAM="1password"
+VERSION="8.9.12"
+HOMEPAGE="https://1password.com"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://downloads.1password.com/linux/rpm/beta/x86_64/1password-latest.rpm"
+MD5SUM_x86_64="c7cb43ff2b8b46b899b00942cd122126"
+REQUIRES=""
+MAINTAINER="Akileo"
+EMAIL="theakileo@hotmail.com"
diff --git a/office/1password/README b/office/1password/README
new file mode 100644
index 0000000000..5e72983729
--- /dev/null
+++ b/office/1password/README
@@ -0,0 +1,18 @@
+1password is used to keep important information safe
+
+Note:
+This SlackBuild does not build 1password from source,
+it repackages the binary. 1password is constantly
+updated without changing the download name. This
+will lead to md5sum failures.
+
+1password can be used offline, as mentioned in this
+page from the 1password support community:
+https://1password.community/discussion/106746/can-i-
+use-1password-offline
+
+It uses Mozilla Firefox as the default browser. Modify
+other/custom_allowed_browsers if you want to use a
+different browser based on the following:
+https://1password.community/discussion/120954/how-the-
+browser-integration-works
diff --git a/office/1password/doinst.sh b/office/1password/doinst.sh
new file mode 100644
index 0000000000..fd11e9d3dd
--- /dev/null
+++ b/office/1password/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/1password/other/1password.png b/office/1password/other/1password.png
new file mode 100644
index 0000000000..0dcdb20f3f
--- /dev/null
+++ b/office/1password/other/1password.png
Binary files differ
diff --git a/office/1password/other/custom_allowed_browsers b/office/1password/other/custom_allowed_browsers
new file mode 100644
index 0000000000..f790602b3a
--- /dev/null
+++ b/office/1password/other/custom_allowed_browsers
@@ -0,0 +1,15 @@
+# This file, when placed into /etc/1password/custom_allowed_browsers will allow for
+# custom browsers to be defined that can work with 1Password for Linux's browser extension
+# integration.
+#
+# 1Password for Linux custom browser allowlist
+#
+# To add a browser here, add the filename of the browser. Multiple can be seperated by a `\n`.
+# Any lines starting with `#` will be ignored.
+#
+# Example:
+#
+# vivaldi-bin
+# opera
+#
+firefox \ No newline at end of file
diff --git a/office/1password/other/product_logo_32.xpm b/office/1password/other/product_logo_32.xpm
new file mode 100644
index 0000000000..a517f72029
--- /dev/null
+++ b/office/1password/other/product_logo_32.xpm
@@ -0,0 +1,1682 @@
+/* XPM */
+static char * 1password_xpm[] = {
+"64 64 1615 2",
+" c None",
+". c #808080",
+"+ c #B2B2B2",
+"@ c #D4D4D4",
+"# c #EDEDED",
+"$ c #F2F2F2",
+"% c #FEFEFE",
+"& c #F1F1F1",
+"* c #E5E5E5",
+"= c #DDDDDD",
+"- c #959595",
+"; c #E3E3E3",
+"> c #F9F9F9",
+", c #FEFFFF",
+"' c #FEFEFF",
+") c #FDFEFF",
+"! c #FDFDFF",
+"~ c #DCDCDC",
+"{ c #A5A5A5",
+"] c #BEBEBE",
+"^ c #FCFDFF",
+"/ c #FCFDFE",
+"( c #FBFDFF",
+"_ c #FAFCFE",
+": c #F9FCFF",
+"< c #F8FBFE",
+"[ c #F6FAFE",
+"} c #F6F9FD",
+"| c #F6FAFD",
+"1 c #F9FBFE",
+"2 c #FBFCFE",
+"3 c #D3D3D3",
+"4 c #F8F8F8",
+"5 c #FBFCFF",
+"6 c #F8FAFE",
+"7 c #F2F7FD",
+"8 c #E9F1FB",
+"9 c #DDEAFA",
+"0 c #D4E5F8",
+"a c #CEE1F7",
+"b c #C8DDF6",
+"c c #C6DCF5",
+"d c #C9DEF6",
+"e c #CDE2F8",
+"f c #DEEAFA",
+"g c #E8F1FB",
+"h c #FDFEFE",
+"i c #FDFDFD",
+"j c #939393",
+"k c #F3F3F3",
+"l c #FDFDFE",
+"m c #FBFDFE",
+"n c #F9FCFE",
+"o c #F2F8FD",
+"p c #E0EDF9",
+"q c #CFE2F7",
+"r c #C2D9F5",
+"s c #BBD4F0",
+"t c #B8D1ED",
+"u c #B7CFEC",
+"v c #B6CEE9",
+"w c #B5CDE7",
+"x c #B6CDE6",
+"y c #B5CCE6",
+"z c #B5CDE6",
+"A c #B7CFEB",
+"B c #BBD4F1",
+"C c #C2DAF4",
+"D c #E2EEFB",
+"E c #A4A4A4",
+"F c #C9C9C9",
+"G c #F0F6FD",
+"H c #DBEAF9",
+"I c #C3DCF5",
+"J c #BAD3EE",
+"K c #B6CFEA",
+"L c #AAC2DD",
+"M c #7291B3",
+"N c #4F749C",
+"O c #396391",
+"P c #17497F",
+"Q c #0C427C",
+"R c #013875",
+"S c #003875",
+"T c #013772",
+"U c #18487E",
+"V c #2D5886",
+"W c #7C9ABD",
+"X c #9FB9D5",
+"Y c #B7CFEA",
+"Z c #BAD5F0",
+"` c #C5DCF4",
+" . c #D7E7F8",
+".. c #EFF6FD",
+"+. c #EAEAEA",
+"@. c #F3F8FD",
+"#. c #DCEAF9",
+"$. c #C3DCF6",
+"%. c #B9D3EF",
+"&. c #AAC3DF",
+"*. c #6688AB",
+"=. c #2D5987",
+"-. c #013C7B",
+";. c #014996",
+">. c #0154AC",
+",. c #0059B7",
+"'. c #015EC1",
+"). c #0060C4",
+"!. c #0062C8",
+"~. c #0162C8",
+"{. c #0060C5",
+"]. c #015DBF",
+"^. c #0159B8",
+"/. c #0054AC",
+"(. c #004996",
+"_. c #003A79",
+":. c #2E5A89",
+"<. c #7292B4",
+"[. c #B6CEE7",
+"}. c #B8D2ED",
+"|. c #C0D9F4",
+"1. c #DBE9F9",
+"2. c #F5F9FE",
+"3. c #FBFCFD",
+"4. c #F9FBFD",
+"5. c #E9F2FB",
+"6. c #C9DFF7",
+"7. c #BAD4EF",
+"8. c #ACC5DF",
+"9. c #5B7FA5",
+"0. c #0C4279",
+"a. c #014A95",
+"b. c #015CB9",
+"c. c #0062C7",
+"d. c #0066CD",
+"e. c #0167D2",
+"f. c #0169D3",
+"g. c #0169D5",
+"h. c #0169D6",
+"i. c #0169D7",
+"j. c #016AD7",
+"k. c #0068D3",
+"l. c #0166CE",
+"m. c #0064CA",
+"n. c #015AB7",
+"o. c #004B97",
+"p. c #174D85",
+"q. c #5A82AB",
+"r. c #B6CEE6",
+"s. c #B9D4EF",
+"t. c #C9E0F7",
+"u. c #EAF3FD",
+"v. c #F0F0F1",
+"w. c #F8FBFF",
+"x. c #DFECFA",
+"y. c #C0DAF4",
+"z. c #B7D0EA",
+"A. c #87A6C4",
+"B. c #174C81",
+"C. c #014E9C",
+"D. c #0061C3",
+"E. c #0167CE",
+"F. c #0169D4",
+"G. c #016BD7",
+"H. c #006DDA",
+"I. c #016EDD",
+"J. c #016FDE",
+"K. c #0070E0",
+"L. c #0070E1",
+"M. c #0170E1",
+"N. c #0170E2",
+"O. c #016FE0",
+"P. c #006FDF",
+"Q. c #006EDD",
+"R. c #016DDB",
+"S. c #016AD4",
+"T. c #0067CF",
+"U. c #0061C2",
+"V. c #0150A1",
+"W. c #174E86",
+"X. c #7293B5",
+"Y. c #B7CFE9",
+"Z. c #C0DAF5",
+"`. c #DEECFA",
+" + c #FAFCFD",
+".+ c #F7FBFF",
+"++ c #D7E8F9",
+"@+ c #BCD6F1",
+"#+ c #ABC5DF",
+"$+ c #5077A0",
+"%+ c #00468C",
+"&+ c #005FBD",
+"*+ c #0169CF",
+"=+ c #006CD6",
+"-+ c #026EDA",
+";+ c #0170DE",
+">+ c #0072E1",
+",+ c #0073E4",
+"'+ c #0175E7",
+")+ c #0175E8",
+"!+ c #0176EA",
+"~+ c #0076EB",
+"{+ c #0176EB",
+"]+ c #0275EA",
+"^+ c #0075E9",
+"/+ c #0174E7",
+"(+ c #0073E5",
+"_+ c #0072E2",
+":+ c #016EDB",
+"<+ c #016CD6",
+"[+ c #0069D0",
+"}+ c #015FBC",
+"|+ c #01468B",
+"1+ c #5079A2",
+"2+ c #ACC6E0",
+"3+ c #BBD7F2",
+"4+ c #D9E9F9",
+"5+ c #F7FAFE",
+"6+ c #FAFBFD",
+"7+ c #EFF0F0",
+"8+ c #F9FAFD",
+"9+ c #F7FBFE",
+"0+ c #D5E7F8",
+"a+ c #9FBBD6",
+"b+ c #235689",
+"c+ c #0154A5",
+"d+ c #0167CB",
+"e+ c #016DD5",
+"f+ c #016FDB",
+"g+ c #0172E0",
+"h+ c #0174E4",
+"i+ c #0176E7",
+"j+ c #0177EA",
+"k+ c #0175E5",
+"l+ c #0173E2",
+"m+ c #0170DD",
+"n+ c #0070DC",
+"o+ c #0270DB",
+"p+ c #0170DB",
+"q+ c #0271DC",
+"r+ c #0171DE",
+"s+ c #0074E4",
+"t+ c #0177EB",
+"u+ c #0176E8",
+"v+ c #0072E0",
+"w+ c #0054A6",
+"x+ c #174C7F",
+"y+ c #9FBCD6",
+"z+ c #B9D5EF",
+"A+ c #D5E7F9",
+"B+ c #F7FAFF",
+"C+ c #C7C7C8",
+"D+ c #F8FAFC",
+"E+ c #F9FBFF",
+"F+ c #D9E9FA",
+"G+ c #BAD5EF",
+"H+ c #175088",
+"I+ c #015BB1",
+"J+ c #016BD1",
+"K+ c #0170D9",
+"L+ c #0173DF",
+"M+ c #0075E4",
+"N+ c #0178E9",
+"O+ c #0179EC",
+"P+ c #0177E7",
+"Q+ c #0073E0",
+"R+ c #0F78DC",
+"S+ c #65A6E4",
+"T+ c #8EBBE6",
+"U+ c #B5CEE7",
+"V+ c #D0DCE8",
+"W+ c #DEE3E9",
+"X+ c #DEE4E9",
+"Y+ c #B6CFE7",
+"Z+ c #9AC2E6",
+"`+ c #569EE2",
+" @ c #1E80DE",
+".@ c #0079ED",
+"+@ c #0177E9",
+"@@ c #0075E5",
+"#@ c #0172DF",
+"$@ c #0070D9",
+"%@ c #016CD1",
+"&@ c #015CB1",
+"*@ c #175289",
+"=@ c #BAD6F0",
+"-@ c #D8E9FA",
+";@ c #C5C5C7",
+">@ c #9F9FA1",
+",@ c #F9FAFC",
+"'@ c #F7F9FC",
+")@ c #DFEDFB",
+"!@ c #BCD8F1",
+"~@ c #17548C",
+"{@ c #015DB2",
+"]@ c #016DD4",
+"^@ c #0072DB",
+"/@ c #0175E2",
+"(@ c #0179E7",
+"_@ c #017BEC",
+":@ c #0179EA",
+"<@ c #0074DE",
+"[@ c #3A91E1",
+"}@ c #A9C9E7",
+"|@ c #DBE2E9",
+"1@ c #D7DEE5",
+"2@ c #D5DCE3",
+"3@ c #D4DCE2",
+"4@ c #D6DDE3",
+"5@ c #D4DCE3",
+"6@ c #D3DBE2",
+"7@ c #D7DEE6",
+"8@ c #DCE3E8",
+"9@ c #9AC2E7",
+"0@ c #3990E1",
+"a@ c #0174DF",
+"b@ c #0178E7",
+"c@ c #007BED",
+"d@ c #0179E8",
+"e@ c #0276E2",
+"f@ c #0172DB",
+"g@ c #006ED3",
+"h@ c #A0BCD7",
+"i@ c #BBD8F2",
+"j@ c #DFEEFB",
+"k@ c #FAFCFF",
+"l@ c #F6F9FC",
+"m@ c #929292",
+"n@ c #EDEFF0",
+"o@ c #F6F9FB",
+"p@ c #ECF5FE",
+"q@ c #C1DCF5",
+"r@ c #ABC7DF",
+"s@ c #175187",
+"t@ c #005DB3",
+"u@ c #016FD5",
+"v@ c #0174DD",
+"w@ c #0177E4",
+"x@ c #017BEA",
+"y@ c #007CEE",
+"z@ c #0077E5",
+"A@ c #1E83DF",
+"B@ c #A9CAE9",
+"C@ c #DAE1E7",
+"D@ c #D5DDE4",
+"E@ c #D8DEE4",
+"F@ c #DBE0E5",
+"G@ c #DBE0E6",
+"H@ c #DCE1E5",
+"I@ c #DCE0E6",
+"J@ c #DCE0E5",
+"K@ c #DAE0E5",
+"L@ c #D8DEE5",
+"M@ c #9BC2E7",
+"N@ c #0179E5",
+"O@ c #007CED",
+"P@ c #017BEB",
+"Q@ c #0078E4",
+"R@ c #0175DD",
+"S@ c #0170D5",
+"T@ c #015EB2",
+"U@ c #225C90",
+"V@ c #ABC7E0",
+"W@ c #C0DCF6",
+"X@ c #F6F8FC",
+"Y@ c #B9B9B9",
+"Z@ c #F6FBFF",
+"`@ c #CBE2F8",
+" # c #B7D2E9",
+".# c #507DA5",
+"+# c #015CAD",
+"@# c #0171D5",
+"## c #017AE5",
+"$# c #017DEB",
+"%# c #027EED",
+"&# c #0177E1",
+"*# c #65A9E5",
+"=# c #CFDDE9",
+"-# c #D6DDE5",
+";# c #D8DFE5",
+"># c #DAE0E6",
+",# c #DCE1E6",
+"'# c #DFE2E6",
+")# c #E0E3E7",
+"!# c #E1E4E8",
+"~# c #E2E5E7",
+"{# c #E2E5E8",
+"]# c #E2E4E7",
+"^# c #E1E5E8",
+"/# c #E0E3E6",
+"(# c #DEE3E6",
+"_# c #D6DEE5",
+":# c #CEDCE9",
+"<# c #66A9E5",
+"[# c #0177E0",
+"}# c #017FEE",
+"|# c #007DEB",
+"1# c #0079E5",
+"2# c #0076DD",
+"3# c #0171D4",
+"4# c #005CAD",
+"5# c #507EA7",
+"6# c #B8D3EB",
+"7# c #CAE3F8",
+"8# c #F7FAFC",
+"9# c #B9BABA",
+"0# c #F7F9FB",
+"a# c #F5F8FB",
+"b# c #DDEDFB",
+"c# c #BAD7F0",
+"d# c #7297B7",
+"e# c #01529A",
+"f# c #0170D1",
+"g# c #0176DD",
+"h# c #007BE5",
+"i# c #007FEC",
+"j# c #0180EE",
+"k# c #0078E0",
+"l# c #72B0E6",
+"m# c #DAE1E9",
+"n# c #D7DFE5",
+"o# c #DDE2E7",
+"p# c #E0E4E8",
+"q# c #E4E6E8",
+"r# c #E5E7E9",
+"s# c #E6E8E9",
+"t# c #E7E8E9",
+"u# c #E7E9EA",
+"v# c #E3E6E8",
+"w# c #E0E4E7",
+"x# c #DDE2E6",
+"y# c #D7DFE6",
+"z# c #DCE3E9",
+"A# c #0180EF",
+"B# c #007EEC",
+"C# c #0177DD",
+"D# c #0070D0",
+"E# c #01539A",
+"F# c #88ABC9",
+"G# c #DEEDFB",
+"H# c #F5F8FA",
+"I# c #F0F2F4",
+"J# c #CCCCCE",
+"K# c #F4F7FA",
+"L# c #F2F8FE",
+"M# c #C3DEF5",
+"N# c #B7D2E8",
+"O# c #185991",
+"P# c #006DC8",
+"Q# c #0077DC",
+"R# c #017BE4",
+"S# c #0080EC",
+"T# c #0182F0",
+"U# c #017AE0",
+"V# c #73B1E6",
+"W# c #DAE2E9",
+"X# c #D8E0E6",
+"Y# c #DBE1E7",
+"Z# c #DFE3E8",
+"`# c #E2E6E9",
+" $ c #E5E8EA",
+".$ c #E9E9EA",
+"+$ c #777778",
+"@$ c #262626",
+"#$ c #272727",
+"$$ c #787878",
+"%$ c #E2E5E9",
+"&$ c #DFE4E8",
+"*$ c #DCE2E7",
+"=$ c #D9E0E6",
+"-$ c #D9E1E8",
+";$ c #71B0E5",
+">$ c #027AE1",
+",$ c #017FEB",
+"'$ c #017CE4",
+")$ c #0177DC",
+"!$ c #016BC5",
+"~$ c #175A93",
+"{$ c #ACC8E0",
+"]$ c #C4E0F8",
+"^$ c #F8FAFD",
+"/$ c #B8BABB",
+"($ c #E8E9EC",
+"_$ c #F3F7FA",
+":$ c #DAEBFA",
+"<$ c #B9D6EE",
+"[$ c #5C89AE",
+"}$ c #0260AF",
+"|$ c #0177D9",
+"1$ c #017CE2",
+"2$ c #0280EA",
+"3$ c #0184F0",
+"4$ c #017FE8",
+"5$ c #64ABE5",
+"6$ c #DBE3EA",
+"7$ c #D9E1E7",
+"8$ c #DDE3E8",
+"9$ c #E1E5E9",
+"0$ c #E4E7E9",
+"a$ c #E7E9EB",
+"b$ c #E9EBEB",
+"c$ c #EAEBEB",
+"d$ c #2A2A2A",
+"e$ c #313131",
+"f$ c #323232",
+"g$ c #282828",
+"h$ c #EAEAEB",
+"i$ c #E9EAEB",
+"j$ c #E8E9EA",
+"k$ c #E3E7EA",
+"l$ c #DDE2E8",
+"m$ c #D9E0E7",
+"n$ c #DAE3EA",
+"o$ c #66ABE6",
+"p$ c #017FE7",
+"q$ c #0183F1",
+"r$ c #0180EA",
+"s$ c #007CE2",
+"t$ c #0077D9",
+"u$ c #015FAE",
+"v$ c #5B88AE",
+"w$ c #DCEDFB",
+"x$ c #F3F6FA",
+"y$ c #EEF0F2",
+"z$ c #9B9C9E",
+"A$ c #C6E1F7",
+"B$ c #175F9A",
+"C$ c #0072CF",
+"D$ c #017BDF",
+"E$ c #0081E8",
+"F$ c #0184EF",
+"G$ c #0182EC",
+"H$ c #1E89E1",
+"I$ c #CFDEEA",
+"J$ c #E6E8EB",
+"K$ c #E8EAEB",
+"L$ c #EBEBEB",
+"M$ c #EBEBEC",
+"N$ c #2D2D2D",
+"O$ c #343434",
+"P$ c #363636",
+"Q$ c #353535",
+"R$ c #DDE4E9",
+"S$ c #1D89E0",
+"T$ c #0183EF",
+"U$ c #0185F0",
+"V$ c #0180E8",
+"W$ c #017CDF",
+"X$ c #0171CD",
+"Y$ c #0C5796",
+"Z$ c #ACC9E1",
+"`$ c #C6E2F8",
+" % c #F5FAFE",
+".% c #F2F6FA",
+"+% c #8A8C8C",
+"@% c #D0D3D6",
+"#% c #F2F5F9",
+"$% c #E5F2FD",
+"%% c #BCDAF2",
+"&% c #739DBF",
+"*% c #0161AE",
+"=% c #017BDC",
+"-% c #0180E5",
+";% c #0184ED",
+">% c #0187F3",
+",% c #017EE1",
+"'% c #9AC5E8",
+")% c #D9E2E9",
+"!% c #E1E6EA",
+"~% c #E5E8EB",
+"{% c #E9EBEC",
+"]% c #ECECEC",
+"^% c #EBECED",
+"/% c #393939",
+"(% c #3A3A3A",
+"_% c #383838",
+":% c #2E2E2E",
+"<% c #ECECED",
+"[% c #E5E9EB",
+"}% c #E2E6EA",
+"|% c #DDE3E9",
+"1% c #A8CCEA",
+"2% c #027FE2",
+"3% c #017BDB",
+"4% c #0160AC",
+"5% c #6792B4",
+"6% c #BBD9F1",
+"7% c #E4F1FB",
+"8% c #D8DADB",
+"9% c #EAEEF0",
+"0% c #F4F6F9",
+"a% c #D1E8FA",
+"b% c #B8D6EC",
+"c% c #2F72A5",
+"d% c #0171C7",
+"e% c #017FE1",
+"f% c #0084EA",
+"g% c #0187F1",
+"h% c #0185ED",
+"i% c #3A98E2",
+"j% c #DBE4EB",
+"k% c #DCE4EA",
+"l% c #E5E9EC",
+"m% c #E9EBED",
+"n% c #EDEDEE",
+"o% c #E6E7E7",
+"p% c #333333",
+"q% c #3C3C3C",
+"r% c #3D3D3D",
+"s% c #3E3E3E",
+"t% c #303030",
+"u% c #E8E8E9",
+"v% c #ECEDED",
+"w% c #EAEBEC",
+"x% c #E6E9EC",
+"y% c #DDE5EC",
+"z% c #0285ED",
+"A% c #0184EA",
+"B% c #0171CA",
+"C% c #2E6FA2",
+"D% c #D2E9FB",
+"E% c #F4F7F9",
+"F% c #777979",
+"G% c #EFF3F7",
+"H% c #F7F8FA",
+"I% c #C4E0F7",
+"J% c #A1C2DA",
+"K% c #01589D",
+"L% c #017DDB",
+"M% c #0182E5",
+"N% c #0187EE",
+"O% c #018BF4",
+"P% c #0181E3",
+"Q% c #99C6E8",
+"R% c #E0E6EB",
+"S% c #E4E9EC",
+"T% c #E8EBEE",
+"U% c #EEEEEE",
+"V% c #EDEEEE",
+"W% c #E1E1E1",
+"X% c #D8D9D9",
+"Y% c #404040",
+"Z% c #424242",
+"`% c #434343",
+" & c #414141",
+".& c #D9D9D9",
+"+& c #EDEEEF",
+"@& c #E9ECEE",
+"#& c #E4E8EB",
+"$& c #DBE4EA",
+"%& c #AACEEA",
+"&& c #0182E4",
+"*& c #0087ED",
+"=& c #0082E5",
+"-& c #007BD8",
+";& c #00589C",
+">& c #C5E2F8",
+",& c #F5FBFE",
+"'& c #777779",
+")& c #A4A7A8",
+"!& c #F0F4F8",
+"~& c #FAFBFC",
+"{& c #EBF5FD",
+"]& c #BEDDF4",
+"^& c #80ABCB",
+"/& c #0267B4",
+"(& c #0180E0",
+"_& c #0186E9",
+":& c #018AF1",
+"<& c #018BF3",
+"[& c #1F8EE1",
+"}& c #DEE7EE",
+"|& c #DEE5EB",
+"1& c #E3E8EC",
+"2& c #E7EAED",
+"3& c #EBEDEF",
+"4& c #EEEFEF",
+"5& c #E2E2E3",
+"6& c #DCDCDD",
+"7& c #444444",
+"8& c #454545",
+"9& c #464646",
+"0& c #DBDCDC",
+"a& c #E2E2E2",
+"b& c #ECEDEE",
+"c& c #E7EBEE",
+"d& c #E2E8ED",
+"e& c #DEE7ED",
+"f& c #0F87DF",
+"g& c #008BF3",
+"h& c #0280DF",
+"i& c #0167B3",
+"j& c #729FC2",
+"k& c #BEDCF4",
+"l& c #F9FBFC",
+"m& c #A2A5A8",
+"n& c #CBCFD2",
+"o& c #F1F4F7",
+"p& c #FCFCFE",
+"q& c #E1F1FC",
+"r& c #BAD8EF",
+"s& c #528DB8",
+"t& c #0171C4",
+"u& c #0084E4",
+"v& c #0189EC",
+"w& c #008CF3",
+"x& c #54A7E3",
+"y& c #DCE6EC",
+"z& c #E0E7EC",
+"A& c #E5EAED",
+"B& c #E9ECEF",
+"C& c #EFEFEF",
+"D& c #EEEFF0",
+"E& c #E2E3E3",
+"F& c #E6E6E7",
+"G& c #8A8A8A",
+"H& c #4A4A4A",
+"I& c #4B4B4B",
+"J& c #494949",
+"K& c #474747",
+"L& c #E9E9E9",
+"M& c #EFEFF0",
+"N& c #EAEDEF",
+"O& c #E5EAEE",
+"P& c #E0E7ED",
+"Q& c #DCE5EC",
+"R& c #65AFE6",
+"S& c #018AEC",
+"T& c #018CF3",
+"U& c #0189EB",
+"V& c #0184E4",
+"W& c #0171C3",
+"X& c #528CB7",
+"Y& c #BBDAF0",
+"Z& c #C2C5C9",
+"`& c #D1D4D8",
+" * c #F2F5F8",
+".* c #D7ECFB",
+"+* c #BAD9EF",
+"@* c #2F79AE",
+"#* c #017AD0",
+"$* c #0186E6",
+"%* c #008BEE",
+"&* c #018FF5",
+"** c #0187E6",
+"=* c #9BC9EA",
+"-* c #DDE6ED",
+";* c #E7ECEF",
+">* c #ECEEF0",
+",* c #F0F0F0",
+"'* c #E0E0E0",
+")* c #E7E7E8",
+"!* c #7C7C7D",
+"~* c #4D4D4D",
+"{* c #4E4E4E",
+"]* c #4C4C4C",
+"^* c #3B3B3B",
+"/* c #E8E8E8",
+"(* c #E3E4E4",
+"_* c #E1E1E2",
+":* c #E2E9ED",
+"<* c #8CC2E8",
+"[* c #0188E9",
+"}* c #018BEE",
+"|* c #0078CD",
+"1* c #3A81B3",
+"2* c #B9D8ED",
+"3* c #D8ECFA",
+"4* c #D9DDE1",
+"5* c #DEE2E6",
+"6* c #F3F6F8",
+"7* c #D1EAFA",
+"8* c #BAD8ED",
+"9* c #186BA6",
+"0* c #007ED6",
+"a* c #0089E9",
+"b* c #018DF0",
+"c* c #0091F6",
+"d* c #0187E3",
+"e* c #B5D5EB",
+"f* c #DFE8EE",
+"g* c #E4EAEE",
+"h* c #E9EDF0",
+"i* c #EEF0F0",
+"j* c #F0F1F2",
+"k* c #E0E1E2",
+"l* c #E7E8E8",
+"m* c #EBECEC",
+"n* c #D5D6D6",
+"o* c #535353",
+"p* c #505050",
+"q* c #515151",
+"r* c #4F4F4F",
+"s* c #E0E0E1",
+"t* c #F0F1F1",
+"u* c #EAEDF0",
+"v* c #B7D6EC",
+"w* c #0286E2",
+"x* c #0191F6",
+"y* c #008EF0",
+"z* c #018AE8",
+"A* c #007FD9",
+"B* c #176DA7",
+"C* c #B9D6EB",
+"D* c #D1E9FA",
+"E* c #DEE2E7",
+"F* c #EAEEF2",
+"G* c #F5F7F8",
+"H* c #FAFDFF",
+"I* c #CDE7F9",
+"J* c #BAD8EC",
+"K* c #015E9E",
+"L* c #0084DE",
+"M* c #018CEB",
+"N* c #0290F1",
+"O* c #0193F7",
+"P* c #0185DF",
+"Q* c #D1E2EE",
+"R* c #E0E8EE",
+"S* c #E6EBEF",
+"T* c #EFF0F1",
+"U* c #F1F2F2",
+"V* c #525252",
+"W* c #545454",
+"X* c #3F3F3F",
+"Y* c #E5E6E6",
+"Z* c #F1F1F2",
+"`* c #EAEEF1",
+" = c #E5EBF0",
+".= c #D2E3EE",
+"+= c #0285E0",
+"@= c #0190F1",
+"#= c #018BEA",
+"$= c #0184DE",
+"%= c #0C67A5",
+"&= c #B9D7EB",
+"*= c #CBE7FA",
+"== c #F5F6F9",
+"-= c #EAEDF2",
+";= c #F5F7F9",
+">= c #CAE6F8",
+",= c #BBD8EC",
+"'= c #0063A5",
+")= c #0088E3",
+"!= c #018DEB",
+"~= c #0192F2",
+"{= c #0195F7",
+"]= c #0185DD",
+"^= c #DFE8EF",
+"/= c #E2E9EF",
+"(= c #E6ECF0",
+"_= c #EBEFF1",
+":= c #F2F2F3",
+"<= c #E9EAEA",
+"[= c #555555",
+"}= c #565656",
+"|= c #EBEEF1",
+"1= c #E7ECF0",
+"2= c #E1E9EF",
+"3= c #E0EAF0",
+"4= c #0191F2",
+"5= c #0188E2",
+"6= c #0162A4",
+"7= c #B9D6EA",
+"8= c #CAE6F9",
+"9= c #EAEDF1",
+"0= c #E9EDF1",
+"a= c #C9E6F9",
+"b= c #0165A6",
+"c= c #008AE4",
+"d= c #018FEC",
+"e= c #0194F3",
+"f= c #0196F8",
+"g= c #0186DC",
+"h= c #E1EBF0",
+"i= c #E7EDF2",
+"j= c #ECF0F2",
+"k= c #F3F3F4",
+"l= c #575757",
+"m= c #585858",
+"n= c #F1F2F3",
+"o= c #EDF0F2",
+"p= c #E2EAF0",
+"q= c #E1EBF1",
+"r= c #0086DC",
+"s= c #0297F8",
+"t= c #0093F3",
+"u= c #008FEC",
+"v= c #0189E3",
+"w= c #0065A7",
+"x= c #CAE7FA",
+"y= c #E8ECF0",
+"z= c #CCE7F9",
+"A= c #BBDAEE",
+"B= c #0C6EAD",
+"C= c #008AE1",
+"D= c #0190ED",
+"E= c #0095F2",
+"F= c #0098F8",
+"G= c #0188DE",
+"H= c #D2E3EF",
+"I= c #E3EBF0",
+"J= c #E8EEF2",
+"K= c #F1F2F4",
+"L= c #F3F4F4",
+"M= c #EEEEEF",
+"N= c #484848",
+"O= c #595959",
+"P= c #5A5A5A",
+"Q= c #F4F4F4",
+"R= c #F2F3F4",
+"S= c #D3E5F1",
+"T= c #0088DE",
+"U= c #0198F8",
+"V= c #0195F3",
+"W= c #0091EC",
+"X= c #018AE0",
+"Y= c #0165A7",
+"Z= c #CDE9FA",
+"`= c #E9ECF0",
+" - c #DCDEE3",
+".- c #F4F6F6",
+"+- c #D1EBFB",
+"@- c #BBDBEE",
+"#- c #1876B0",
+"$- c #018ADE",
+"%- c #0192ED",
+"&- c #0196F3",
+"*- c #019AF8",
+"=- c #028BE1",
+"-- c #B6D7EC",
+";- c #E2EBF1",
+">- c #E7EEF3",
+",- c #ECF0F3",
+"'- c #F1F3F4",
+")- c #5C5C5C",
+"!- c #D7D8D9",
+"~- c #F4F4F5",
+"{- c #F4F5F5",
+"]- c #EDF1F3",
+"^- c #B7D8EC",
+"/- c #018BE1",
+"(- c #0199F8",
+"_- c #0197F3",
+":- c #0192EC",
+"<- c #0187DB",
+"[- c #1775B0",
+"}- c #BADAED",
+"|- c #FCFEFF",
+"1- c #F4F5F7",
+"2- c #DBDEE3",
+"3- c #D3D6DB",
+"4- c #F2F4F5",
+"5- c #D8EEFB",
+"6- c #BCDDF1",
+"7- c #3B8DBD",
+"8- c #0184D5",
+"9- c #0193EC",
+"0- c #0098F3",
+"a- c #009BF8",
+"b- c #0090E7",
+"c- c #8DC6E8",
+"d- c #E8EFF3",
+"e- c #ECF1F4",
+"f- c #F1F3F5",
+"g- c #F5F5F5",
+"h- c #5D5D5D",
+"i- c #5B5B5B",
+"j- c #848484",
+"k- c #F5F5F6",
+"l- c #E6EEF3",
+"m- c #E2EBF2",
+"n- c #9BCCEB",
+"o- c #018FE6",
+"p- c #019BF8",
+"q- c #0093EC",
+"r- c #0087D8",
+"s- c #2F84B8",
+"t- c #BADBEF",
+"u- c #D9EFFC",
+"v- c #FCFDFD",
+"w- c #F2F4F6",
+"x- c #CACDD1",
+"y- c #BABDC1",
+"z- c #E1F2FD",
+"A- c #BDDEF3",
+"B- c #529BC6",
+"C- c #0182CF",
+"D- c #0194EC",
+"E- c #0098F2",
+"F- c #019BF7",
+"G- c #0195ED",
+"H- c #64B5E4",
+"I- c #E1ECF2",
+"J- c #E6EFF4",
+"K- c #F4F5F6",
+"L- c #F6F6F6",
+"M- c #F5F6F6",
+"N- c #F3F4F5",
+"O- c #5E5E5E",
+"P- c #949494",
+"Q- c #F0F3F6",
+"R- c #EBF1F5",
+"S- c #55AEE3",
+"T- c #0198F2",
+"U- c #0194EB",
+"V- c #0081CE",
+"W- c #539BC6",
+"X- c #BCDEF1",
+"Y- c #E2F2FD",
+"Z- c #FCFCFD",
+"`- c #C5C8CC",
+" ; c #989B9C",
+".; c #FBFBFB",
+"+; c #EBF6FD",
+"@; c #C0E2F6",
+"#; c #76B1D3",
+"$; c #007AC1",
+"%; c #0199F1",
+"&; c #009DF7",
+"*; c #019CF6",
+"=; c #0F90DA",
+"-; c #E1ECF3",
+";; c #EBF1F4",
+">; c #EFF3F5",
+",; c #F6F6F7",
+"'; c #F6F7F7",
+"); c #F3F5F7",
+"!; c #EFF3F6",
+"~; c #E6EEF4",
+"{; c #1E97DD",
+"]; c #009BF5",
+"^; c #019CF7",
+"/; c #0099F2",
+"(; c #0194EA",
+"_; c #017AC1",
+":; c #81B7D7",
+"<; c #BFE2F4",
+"[; c #FBFBFC",
+"}; c #EEF0F1",
+"|; c #989B9E",
+"1; c #6C6E6E",
+"2; c #EAECEF",
+"3; c #C5E6F9",
+"4; c #B1D5EA",
+"5; c #0072B2",
+"6; c #0094E7",
+"7; c #019AF1",
+"8; c #019DF6",
+"9; c #01A0FA",
+"0; c #0291E3",
+"a; c #AAD4EC",
+"b; c #E5EEF4",
+"c; c #E9F1F6",
+"d; c #EDF3F6",
+"e; c #F2F5F7",
+"f; c #F7F7F7",
+"g; c #F7F7F8",
+"h; c #F7F8F8",
+"i; c #F6F7F8",
+"j; c #EEF3F6",
+"k; c #9BCEEA",
+"l; c #0190E0",
+"m; c #009EF9",
+"n; c #0095E9",
+"o; c #0171B1",
+"p; c #A4CDE4",
+"q; c #C5E6F7",
+"r; c #F8F8F9",
+"s; c #6A6E70",
+"t; c #E0E2E5",
+"u; c #D4EDFB",
+"v; c #BDDFF1",
+"w; c #2F8ABD",
+"x; c #008EDC",
+"y; c #009AEF",
+"z; c #009EF5",
+"A; c #01A0F9",
+"B; c #0099EE",
+"C; c #3AA3DE",
+"D; c #E3EEF5",
+"E; c #E7F0F6",
+"F; c #EBF2F6",
+"G; c #F0F5F8",
+"H; c #F4F7F8",
+"I; c #F7F8F9",
+"J; c #F4F6F8",
+"K; c #F0F4F7",
+"L; c #ECF2F6",
+"M; c #E7F0F5",
+"N; c #E3EDF4",
+"O; c #39A3DE",
+"P; c #019AEF",
+"Q; c #019EF4",
+"R; c #008CD9",
+"S; c #308ABC",
+"T; c #BBDDEF",
+"U; c #D3EDFB",
+"V; c #DEE1E4",
+"W; c #FBFCFC",
+"X; c #E4F3FC",
+"Y; c #BFE2F5",
+"Z; c #6BACD1",
+"`; c #017EC3",
+" > c #009AED",
+".> c #019EF3",
+"+> c #01A1F8",
+"@> c #01A2F9",
+"#> c #AAD5EC",
+"$> c #E5F0F6",
+"%> c #E9F2F6",
+"&> c #EEF4F7",
+"*> c #F2F6F8",
+"=> c #F6F8F8",
+"-> c #F9F9FA",
+";> c #F8F9F9",
+">> c #F6F8F9",
+",> c #EAF2F6",
+"'> c #E5F0F5",
+")> c #9CCFEA",
+"!> c #0190DE",
+"~> c #02A2FA",
+"{> c #01A0F7",
+"]> c #019AEE",
+"^> c #017FC3",
+"/> c #76B3D5",
+"(> c #BEE2F5",
+"_> c #E5F4FC",
+":> c #FCFCFC",
+"<> c #C2C4C7",
+"[> c #7A7C80",
+"}> c #EAECEE",
+"|> c #C8E8FA",
+"1> c #B1D8EB",
+"2> c #0C7AB5",
+"3> c #0194E2",
+"4> c #019EF1",
+"5> c #01A2F7",
+"6> c #01A3FA",
+"7> c #029EF0",
+"8> c #1E99D9",
+"9> c #D6E9F4",
+"0> c #E7F1F7",
+"a> c #EBF3F7",
+"b> c #EFF5F8",
+"c> c #F9FAFA",
+"d> c #FAFAFA",
+"e> c #F3F7F9",
+"f> c #F0F5F7",
+"g> c #E8F1F7",
+"h> c #D5E9F5",
+"i> c #1E98DA",
+"j> c #019CEE",
+"k> c #02A3F9",
+"l> c #02A1F6",
+"m> c #019EF2",
+"n> c #0095E4",
+"o> c #1880B8",
+"p> c #BCDDEE",
+"q> c #C9E8F9",
+"r> c #F5FBFD",
+"s> c #8D8F91",
+"t> c #DEE0E2",
+"u> c #F2F3F3",
+"v> c #DEF3FD",
+"w> c #5FA8CE",
+"x> c #0083C8",
+"y> c #009EEF",
+"z> c #01A1F4",
+"A> c #01A4F8",
+"B> c #01A4F9",
+"C> c #0097E5",
+"D> c #64B8E3",
+"E> c #E5F0F7",
+"F> c #E8F3F9",
+"G> c #ECF4F9",
+"H> c #F0F6F9",
+"I> c #F6F8FA",
+"J> c #FAFBFB",
+"K> c #FAFAFB",
+"L> c #F0F6FA",
+"M> c #E9F2F7",
+"N> c #65B8E4",
+"O> c #0198E6",
+"P> c #01A5F9",
+"Q> c #00A4F8",
+"R> c #01A1F5",
+"S> c #0185CA",
+"T> c #6BAED1",
+"U> c #BDE0F2",
+"V> c #DBF0FB",
+"W> c #D5D8DA",
+"X> c #9EA0A2",
+"Y> c #EDEDEF",
+"Z> c #F3FAFE",
+"`> c #C7E9FB",
+" , c #B2D9EC",
+"., c #1883B9",
+"+, c #0195E0",
+"@, c #01A1F2",
+"#, c #00A4F6",
+"$, c #00A6F9",
+"%, c #01A4F7",
+"&, c #0294DD",
+"*, c #72BEE4",
+"=, c #E6F1F8",
+"-, c #E9F2F8",
+";, c #EDF5F9",
+">, c #F3F8FA",
+",, c #F5F9FB",
+"', c #F9FAFB",
+"), c #8A8B8B",
+"!, c #F6F9FA",
+"~, c #EAF3F8",
+"{, c #E6F1F7",
+"], c #73BEE4",
+"^, c #0192DB",
+"/, c #01A4F6",
+"(, c #01A6F9",
+"_, c #00A1F2",
+":, c #0095E0",
+"<, c #1983B9",
+"[, c #BDDEEF",
+"}, c #F2FAFD",
+"|, c #ECECEE",
+"1, c #BABCBE",
+"2, c #DFE1E3",
+"3, c #DEF2FC",
+"4, c #C0E4F6",
+"5, c #8EC4DF",
+"6, c #007FBE",
+"7, c #019EEC",
+"8, c #00A4F4",
+"9, c #00A7F8",
+"0, c #02A7FA",
+"a, c #01A4F4",
+"b, c #0293DB",
+"c, c #73C0E5",
+"d, c #E6F2F8",
+"e, c #E9F4F9",
+"f, c #EFF6FA",
+"g, c #F2F8FB",
+"h, c #F8FAFB",
+"i, c #FAFCFC",
+"j, c #F6FAFB",
+"k, c #F4F9FB",
+"l, c #F2F8FA",
+"m, c #E9F3F8",
+"n, c #E6F2F9",
+"o, c #73BFE5",
+"p, c #0192D9",
+"q, c #01A4F3",
+"r, c #02A8FA",
+"s, c #00A6F7",
+"t, c #007FBD",
+"u, c #77B7D6",
+"v, c #BEE2F4",
+"w, c #DEF2FB",
+"x, c #9C9FA1",
+"y, c #F6FBFE",
+"z, c #CEECFB",
+"A, c #BFE2F3",
+"B, c #53A5CD",
+"C, c #028DD0",
+"D, c #01A3F1",
+"E, c #00A7F5",
+"F, c #00A7F7",
+"G, c #01A9F9",
+"H, c #02A5F4",
+"I, c #0294DA",
+"J, c #66BAE3",
+"K, c #D8EBF6",
+"L, c #EBF5F9",
+"M, c #EEF6FA",
+"N, c #F0F7FB",
+"O, c #F4F8FB",
+"P, c #F5F9FC",
+"Q, c #F5FAFC",
+"R, c #F4F9FC",
+"S, c #F3F8FB",
+"T, c #F0F7FA",
+"U, c #ECF5F9",
+"V, c #D8EBF7",
+"W, c #0194DB",
+"X, c #01A5F3",
+"Y, c #01A8F9",
+"Z, c #00A8F8",
+"`, c #01A6F6",
+" ' c #018DD0",
+".' c #BDE0F0",
+"+' c #CDECFA",
+"@' c #F7FCFE",
+"#' c #A0A1A4",
+"$' c #D7D8DB",
+"%' c #EBF7FC",
+"&' c #C5E9FB",
+"*' c #B2DAED",
+"=' c #238EC0",
+"-' c #0091D5",
+";' c #00A5F2",
+">' c #01A8F6",
+",' c #00AAF8",
+"'' c #00A9F9",
+")' c #019BE2",
+"!' c #1E9BD7",
+"~' c #9ED3EC",
+"{' c #E9F4FA",
+"]' c #ECF5FA",
+"^' c #EDF6FA",
+"/' c #EFF7FB",
+"(' c #F1F8FC",
+"_' c #F1F8FB",
+":' c #ECF6FA",
+"<' c #E9F5FA",
+"[' c #ACD9EF",
+"}' c #1D9BD6",
+"|' c #00A7F4",
+"1' c #01AAF9",
+"2' c #00A6F3",
+"3' c #0191D4",
+"4' c #1887BB",
+"5' c #C5E9FA",
+"6' c #EDF8FD",
+"7' c #D5D6D9",
+"8' c #78787B",
+"9' c #E8E9EB",
+"0' c #E1F3FC",
+"a' c #C1E7F8",
+"b' c #A6D3E7",
+"c' c #198ABE",
+"d' c #0193D7",
+"e' c #01A8F3",
+"f' c #01A9F6",
+"g' c #01ABF8",
+"h' c #02ACF9",
+"i' c #01A1E9",
+"j' c #0194D7",
+"k' c #3AA8DA",
+"l' c #9FD4EC",
+"m' c #E7F4FA",
+"n' c #EAF5FB",
+"o' c #EBF6FB",
+"p' c #ECF5FB",
+"q' c #ECF6FB",
+"r' c #EAF5FA",
+"s' c #ADDAEF",
+"t' c #3AA7D9",
+"u' c #0194D6",
+"v' c #01A3EC",
+"w' c #02AAF7",
+"x' c #01ABF9",
+"y' c #01AAF7",
+"z' c #00A9F7",
+"A' c #00A7F3",
+"B' c #0193D6",
+"C' c #1989BD",
+"D' c #A6D3E8",
+"E' c #C1E6F8",
+"F' c #E0F3FB",
+"G' c #8A8A8B",
+"H' c #A7A9AA",
+"I' c #F9FDFE",
+"J' c #DAF1FB",
+"K' c #C0E5F7",
+"L' c #A6D3E9",
+"M' c #188CBF",
+"N' c #0195D7",
+"O' c #00A9F3",
+"P' c #01ABF6",
+"Q' c #00ACF7",
+"R' c #02ADF9",
+"S' c #01ADF9",
+"T' c #02ABF6",
+"U' c #01A0E7",
+"V' c #0196D7",
+"W' c #1E9DD6",
+"X' c #57B5DF",
+"Y' c #BCE1F2",
+"Z' c #DAEEF8",
+"`' c #E8F4FA",
+" ) c #E8F5FA",
+".) c #BDE1F2",
+"+) c #92CFEA",
+"@) c #65BBE2",
+"#) c #0F97D3",
+"$) c #0197D9",
+"%) c #00A1E7",
+"&) c #01AAF5",
+"*) c #02ADF8",
+"=) c #01ACF8",
+"-) c #00ABF6",
+";) c #00A8F3",
+">) c #0094D6",
+",) c #188BBF",
+"') c #C0E5F6",
+")) c #A4A6A7",
+"!) c #CDCFD1",
+"~) c #D8F1FB",
+"{) c #C0E6F6",
+"]) c #A6D4E9",
+"^) c #198CBE",
+"/) c #0193D3",
+"() c #00A8EF",
+"_) c #01ABF5",
+":) c #01AEF8",
+"<) c #01AEF9",
+"[) c #00ADF7",
+"}) c #02ADF6",
+"|) c #01A8F0",
+"1) c #02A0E5",
+"2) c #0099DB",
+"3) c #0297D8",
+"4) c #0193D2",
+"5) c #0293D1",
+"6) c #0192D1",
+"7) c #0195D6",
+"8) c #019BDD",
+"9) c #009FE4",
+"0) c #00A7EF",
+"a) c #01ACF6",
+"b) c #00ADF8",
+"c) c #01AFF9",
+"d) c #00A8F0",
+"e) c #0194D3",
+"f) c #2592C2",
+"g) c #A6D4E8",
+"h) c #C1E6F6",
+"i) c #D8F0FB",
+"j) c #F8FBFD",
+"k) c #D9DADC",
+"l) c #D6D7D8",
+"m) c #F8FCFD",
+"n) c #DBF1FB",
+"o) c #C1E8F9",
+"p) c #B3DCED",
+"q) c #53ABD0",
+"r) c #008AC3",
+"s) c #00A4E9",
+"t) c #01ACF4",
+"u) c #00AEF6",
+"v) c #00AEF7",
+"w) c #00B0F9",
+"x) c #01B0F9",
+"y) c #01AFF8",
+"z) c #02AFF7",
+"A) c #01ADF6",
+"B) c #02AEF5",
+"C) c #00ADF5",
+"D) c #02AEF7",
+"E) c #01B0FA",
+"F) c #00AFF9",
+"G) c #00AEF8",
+"H) c #01ADF7",
+"I) c #01ACF5",
+"J) c #01A2E6",
+"K) c #008AC2",
+"L) c #54ACD1",
+"M) c #C1E7F7",
+"N) c #D7D7D8",
+"O) c #C6ECFB",
+"P) c #BEE3F2",
+"Q) c #78BEDA",
+"R) c #1990C1",
+"S) c #0194D0",
+"T) c #01A8EC",
+"U) c #00AEF5",
+"V) c #01B0F7",
+"W) c #01B0F8",
+"X) c #01B1F9",
+"Y) c #00B1FA",
+"Z) c #00B1F9",
+"`) c #01B1FA",
+" ! c #01B2FA",
+".! c #01B1F8",
+"+! c #01AFF6",
+"@! c #01AEF5",
+"#! c #01A5EA",
+"$! c #0090CB",
+"%! c #1890C1",
+"&! c #8FCAE2",
+"*! c #BFE4F3",
+"=! c #C5EBFA",
+"-! c #E1F4FB",
+";! c #D5D7D8",
+">! c #CDEEFB",
+",! c #C1E8F8",
+"'! c #BFE2F0",
+")! c #60B2D4",
+"!! c #1991C2",
+"~! c #0193CE",
+"{! c #01A3E3",
+"]! c #01AEF3",
+"^! c #00AFF5",
+"/! c #01B0F6",
+"(! c #00B0F7",
+"_! c #00B1F8",
+":! c #01B1F7",
+"<! c #00AFF6",
+"[! c #01AFF5",
+"}! c #01ADF1",
+"|! c #01A4E6",
+"1! c #0191CB",
+"2! c #0C8BBF",
+"3! c #5FB3D4",
+"4! c #B3DDEE",
+"5! c #C1E8F7",
+"6! c #CEEEFB",
+"7! c #D5D6D7",
+"8! c #F6FBFD",
+"9! c #DFF3FB",
+"0! c #C7EBF9",
+"a! c #C1E7F5",
+"b! c #77BFDB",
+"c! c #309DC8",
+"d! c #008AC0",
+"e! c #0095CE",
+"f! c #019FDC",
+"g! c #01A6E7",
+"h! c #00A9EA",
+"i! c #01AEF1",
+"j! c #01B0F3",
+"k! c #00B0F4",
+"l! c #00ABED",
+"m! c #01A4E3",
+"n! c #009FDC",
+"o! c #018ABF",
+"p! c #309DC7",
+"q! c #6BB9D8",
+"r! c #B3DEEE",
+"s! c #C0E8F7",
+"t! c #C9EEFB",
+"u! c #DEF3FB",
+"v! c #F5FAFD",
+"w! c #CDCECF",
+"x! c #A5A5A6",
+"y! c #E6E7E8",
+"z! c #F1F9FC",
+"A! c #DBF1FA",
+"B! c #CAEDFA",
+"C! c #C1E9F9",
+"D! c #A7D7E9",
+"E! c #83C6DF",
+"F! c #53AFD2",
+"G! c #319FC8",
+"H! c #1894C2",
+"I! c #0189BC",
+"J! c #018ABD",
+"K! c #008ABD",
+"L! c #0C8FC0",
+"M! c #1994C3",
+"N! c #3CA5CC",
+"O! c #54B0D1",
+"P! c #77C0DB",
+"Q! c #B3DDEC",
+"R! c #C0E6F4",
+"S! c #C2E8F7",
+"T! c #DDF3FC",
+"U! c #F3FAFD",
+"V! c #A6A7A7",
+"W! c #858686",
+"X! c #D6D7D7",
+"Y! c #F4FAFC",
+"Z! c #E5F6FC",
+"`! c #D3F0FB",
+" ~ c #C8ECFA",
+".~ c #C2EAF9",
+"+~ c #C1E8F6",
+"@~ c #BFE6F4",
+"#~ c #BFE5F2",
+"$~ c #BFE4F1",
+"%~ c #BFE7F5",
+"&~ c #C0E7F6",
+"*~ c #C3EBF9",
+"=~ c #C9EDFB",
+"-~ c #D4F1FB",
+";~ c #E4F5FB",
+">~ c #F4FAFD",
+",~ c #D6D6D6",
+"'~ c #767676",
+")~ c #98989A",
+"!~ c #F8FAFA",
+"~~ c #F3F9FC",
+"{~ c #EAF7FB",
+"]~ c #E1F5FC",
+"^~ c #D8F2FC",
+"/~ c #D2F1FB",
+"(~ c #CFF0FB",
+"_~ c #CCEEFB",
+":~ c #CBEEFB",
+"<~ c #CDEFFB",
+"[~ c #D2F0FB",
+"}~ c #D8F3FC",
+"|~ c #E0F4FC",
+"1~ c #EBF7FB",
+"2~ c #F7F9FA",
+"3~ c #DFE0E0",
+"4~ c #9C9D9D",
+"5~ c #B4B4B5",
+"6~ c #F8F9FA",
+"7~ c #F7FAFB",
+"8~ c #DFDFE0",
+"9~ c #848486",
+"0~ c #BBBCBD",
+"a~ c #DDDEDE",
+"b~ c #E7E7E7",
+"c~ c #C3C3C5",
+"d~ c #737375",
+"e~ c #646464",
+"f~ c #8E8E8E",
+"g~ c #B9BBBB",
+"h~ c #C3C3C3",
+"i~ c #CDCDCD",
+"j~ c #B1B1B1",
+"k~ c #909191",
+"l~ c #636363",
+" ",
+" ",
+" ",
+" ",
+" . + @ # $ % % % % & * = + ",
+" - ; > % , ' ' ) ! ! ! ! ! ' ' ' % > ~ { ",
+" ] > % ' ^ / ( _ : < [ } | [ < 1 ( 2 / ^ ' ' $ 3 ",
+" ] 4 ) / 2 5 6 7 8 9 0 a b c c d e 0 f g 7 < 2 2 / h i ] ",
+" j k l m _ n o p q r s t u v w x y z v A t B C q D o _ _ m h & E ",
+" F l / n 1 G H I J K L M N O P Q R S T U V N W X Y Z ` ...1 _ / l F ",
+" +.l _ 1 @.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2._ _ l & ",
+" & 3.4.1 5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j.h.g.k.e.l.m.n.o.p.q.r.s.t.u.n 1 2 & ",
+" v._ 4.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.L.O.P.Q.R.G.S.T.U.V.W.X.Y.Z.`.6 4. +& ",
+" v._ 4..+++@+#+$+%+&+*+=+-+;+>+,+'+)+!+!+~+{+!+]+^+/+(+_+;+:+<+[+}+|+1+2+3+4+5+4.6+& ",
+" 7+ +8+9+0+7.a+b+c+d+e+f+g+h+i+j+j+k+l+m+n+o+p+q+r+g+s+j+t+u+s+v+f+e+d+w+x+y+z+A+B+4.6++. ",
+" C+4.D+E+F+G+a+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+V+W+X+V+Y+Z+`+ @L+P+.@+@@@#@$@%@&@*@y+=@-@w.D+4.;@ ",
+" >@,@'@_ )@!@a+~@{@]@^@/@(@_@:@<@[@}@|@1@2@3@2@4@4@5@6@2@7@8@9@0@a@b@c@d@e@f@g@{@~@h@i@j@k@l@D+m@ ",
+" n@o@_ p@q@r@s@t@u@v@w@x@y@z@A@B@C@D@D@E@F@G@G@H@I@J@F@K@L@4@2@C@M@A@N@O@P@Q@R@S@T@U@V@W@u._ X@n@ ",
+" Y@'@D+Z@`@ #.#+#@#R@##$#%#&#*#=#-#;#>#,#'#)#!#~#{#~#]#^#/#(#,#K@L@_#:#<#[#}#|#1#2#3#4#5#6#7#[ 8#o@9# ",
+" 0#a#2 b#c#d#e#f#g#h#i#j#k#l#m#n#G@o#p#{#q#r#s#t#u#t#u#s#r#v#{#w#x#G@y#z#l#k#A#B#h#C#D#E#F#c#G#( H#I# ",
+" J#K#D+L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z#`# $u#.$+$@$#$#$#$#$@$$$.$u# $%$&$*$=$-$;$>$T#,$'$)$!$~${$]$L#^$K#/$ ",
+" ($_$2 :$<$[$}$|$1$2$3$4$5$6$7$8$9$0$a$b$c$c$d$e$f$f$f$f$f$g$+.h$i$j$k$9$l$m$n$o$p$q$r$s$t$u$v$c#w$( x$y$ ",
+" z$x$'@[ A$N#B$C$D$E$F$G$H$I$-$8$9$J$K$L$M$L$M$N$O$P$P$P$P$Q$d$M$L$M$L$i$ $`#R$-$I$S$T$U$V$W$X$Y$Z$`$ %0#.%+% ",
+" @%#%2 $%%%&%*%=%-%;%>%,%'%)%X+!%~%{%]%]%]%]%^%e$/%/%(%(%(%_%:%]%]%<%]%]%{%[%}%|%W#1%2%>%;%-%3%4%5%6%7%_ #%8% ",
+" 9%0%( a%b%c%d%e%f%g%h%i%j%k%!%l%m%# # n%# # o%p%q%r%s%s%r%q%t%u%n%# # # v%w%x%!%k%y%i%z%g%A%,%B%C%b%D%( E%9% ",
+" F%G%H%[ I%J%K%L%M%N%O%P%Q%6$R%S%T%v%# U%V%# W%X%P$Y%Z%`%Z%Z% &f$.&W%+&V%V%# n%@&#&R%$&%&&&O%*&=&-&;&Z$>&,&H%G%'& ",
+" )&!&~&{&]&^&/&(&_&:&<&[&}&|&1&2&3&4&U%4&U%5&6&W%_%7&8&9&9&9&7&P$W%0&a&4&U%4&U%b&c&d&|&e&f&g&:&_&h&i&j&k&{&l&!&m& ",
+" n&o&p&q&r&s&t&u&v&w&v&x&y&z&A&B&4&C&C&D&M$~ E&F&G&`%H&H&I&J&K&_%o%; = L&C&M&7+D&N&O&P&Q&R&S&T&U&V&W&X&Y&q&3.o&Z& ",
+" `& */ .*+*@*#*$*%*&***=*-*d&;*>*,*,*,*,*'*a&)*L$# !*~*{*~*]*I&^*c$/*(*_*,*v.7+,*>*;*:*e&<*[*&*}***|*1*2*3*/ *4* ",
+" 5*6*^ 7*8*9*0*a*b*c*d*e*f*g*h*i*,*j*,*U%k*l*m*U%n*o*p*p*q*r*~*r%U%m*t#s*4&v.v.t*i*u*g*f*v*w*x*y*z*A*B*C*D*( 6*E* ",
+" F*G*H*I*J*K*L*M*N*O*P*Q*R*S*9%T*U*& & h$* M$U%C&V*p*V*W*o*V*p*X*C&4&m*Y*+.Z*& & T*`* =R*.=+=O*@=#=$=%=&=*=H*==-= ",
+" F*;=H*>=,='=)=!=~={=]=^=/=(=_=Z*:=$ :=<=+.U%7+,*8&V*[=}=}=[=V* &7+7+U%<=<=:=:=$ j*|=1=2=3=]={=4=!=5=6=7=8=H*;=9= ",
+" 0=;=H*a=J*b=c=d=e=f=g=3=h=i=j=:=k=k=k L$L$C&,*,*9&[=l=m=m=l=[=`%,*7+4&M$L$k k k n=o=1=p=q=r=s=t=u=v=w=&=x=H*;=9= ",
+" y=G*( z=A=B=C=D=E=F=G=H=I=J=o=K=L=L=L=M=<%,*t*t*N=}=O=P=O=O=}=[=t*,*,*# U%Q=k=L=R=o=J=p=S=T=U=V=W=X=Y=&=Z=H*G*`= ",
+" -.-^ +-@-#-$-%-&-*-=---;->-,-'-Q=Q=Q=k ]%v.& & J&l=P=)-)-P=P=!-t*& v.v%k Q=~-{-'-]->-I=^-/-(-_-:-<-[-}-+-|-1-2- ",
+" 3-4-/ 5-6-7-8-9-0-a-b-c-;-d-e-f-g-g-g-g-C&t*& & I&O=)-h-h-i-j-& t*& t*M=k-k-g-k-f-e-l-m-n-o-p-_-q-r-s-t-u-v-w-x- ",
+" y-K=3.z-A-B-C-D-E-F-G-H-I-J-e-f-K-L-M-L-N-M&$ :=H&O=h-O-O-)-W*P-:=$ 7+g-L-L-L-K-Q-R-l-m-S-G-F-T-U-V-W-X-Y-Z-K=`- ",
+" ;y$.;+;@;#;$;U-%;&;*;=;-;l-;;>;K-,;L-,;';k=:=:=I&P=)-O-h-)-O=9&$ Z*k=';';,;';);!;R-~;-;{;];^;/;(;_;:;<;+;[;};|; ",
+" 1;2;> ,&3;4;5;6;7;8;9;0;a;b;c;d;e;';f;f;g;h;Q=$ H&O=)-h-h-i-m=8&$ ~-f;h;h;f;i;e;j;c;b;k;l;m;8;7;n;o;p;q;,&r;N&s; ",
+" t;{-m u;v;w;x;y;z;A;B;C;D;E;F;G;H;r;4 4 4 4 f;J&m=P=i-)-P=m=7&f;I;4 r;r;I;J;K;L;M;N;O;P;A;Q;P;R;S;T;U;/ {-V; ",
+" x-j*W;X;Y;Z;`; >.>+>@>x;#>$>%>&>*>=>> > ->;>;>N=}=O=P=P=m=}=`%;>> > > ;>>>*>&>,>'>)>!>~>{>.>]>^>/>(>_>:>j*<> ",
+" [>}>;>,&|>1>2>3>4>5>6>7>8>9>0>a>b>E%>>> c>> ->9&[=l=m=m=l=[=Z%d>c>> ->I;e>f>a>g>h>i>j>k>l>m>n>o>p>q>r>4 }>s> ",
+" t>u>v-v>(>w>x>y>z>A>B>C>D>E>F>G>H>e>I>c>d>d>`%o*[=}=}=[=V* &J>K>c>H%E%L>G>M>E>N>O>P>Q>R>y>S>T>U>V>v-:=W> ",
+" X>Y>> Z>`> ,.,+,@,#,$,%,&,*,=,-,;,H>>,,,',~&), &Z%7&7&`% &G&K>',!,_$H>;,~,{,],^,/,(,#,_,:,<,[,q;},4 |,1, ",
+" 2,:=v-3,4,5,6,7,8,9,0,a,b,c,d,e,;,f,g,,,0#h,',i,~&.;J>l&h,j,k,l,H>;,m,n,o,p,q,r,s,8,7,t,u,v,w,Z-$ J$ ",
+" x,v%h;y,z,A,B,C,D,E,F,G,H,I,J,K,e,L,M,N,g,O,,,P,j,l@Q,R,S,g,T,M,U,e,V,J,W,X,Y,Z,`,D, 'B,.'+'@'f;^%#' ",
+" $'7+J>%'&'*'='-';'>','''E,)'!'~'F>{']'^'/'N,('g,_'_'N,/'M,:'<'F>['}')'|'1'G,>'2'3'4' ,5'6'd>,*7' ",
+" 8'9'$ :>0'a'b'c'd'e'f'g'h'g'i'j'k'l'm'<'n'o'p'^'q'q'o'r'{'m's't'u'v'w'x'y'z'A'B'C'D'E'F'3.u>j$G' ",
+" H'M$~-I'J'K'L'M'N'O'P'Q'R'S'T'U'V'W'X'l'Y'Z'`' )Z'.)+)@)#)$)%)&)*)S'=)-);)>),)D'')J' +g-L$)) ",
+" !)# L-n ~){)])^)/)()_)Q':)<)[)})|)1)2)3)4)5)6)/)7)8)9)0)a)b)c)b)b)-)d)e)f)g)h)i)j)L-v%k) ",
+" l)# f;m)n)o)p)q)r)s)t)u)v)w)x)w)y)z)A)B)t)t)C)D)z)y)E)F)y)G)H)I)J)K)L)p)M)J'j)L-n%l) ",
+" N)# g-m)F'O)P)Q)R)S)T)U)u)V)W)X)X)Y)Z)X)`) !X)X).!V)W)+!@!#!$!%!&!*!=!-!4.g-v%;! ",
+" l)L$u>~&6'>!,!'!)!!!~!{!]!^!/!(!.!.!_!.!.!.!:!<![!}!|!1!2!3!4!5!6!%'~&k L$7! ",
+" l)+.,*4 8!9!0!a!'!b!c!d!e!f!g!h!i!j!k!i!l!m!n!e!o!p!q!r!s!t!u!v!4 ,*.$w! ",
+" x!y!# k c>z!A!B!C!*!D!E!F!G!H!I!J!K!L!M!N!O!P!Q!R!S!t!T!U!c>k <%)*V! ",
+" W!X!.$U%k ->Y!Z!`! ~.~+~@~#~$~$~$~#~#~%~&~*~=~-~;~>~> Q=V%/*,~'~ ",
+" )~o%.$]%$ L-!~~~{~]~^~/~(~_~:~<~[~}~|~1~Y!2~,;$ ]%L&3~4~ ",
+" 5~X!)*L&# & L=f;I;6~7~7~7~7~2~4 L-Q=& # +.l*8~4~ ",
+" 9~0~a~b~L&+.m*]%# # # ]%]%L$L&/*l*8~c~d~ ",
+" e~f~g~h~n*F&F&F&Y*n*i~j~k~l~ ",
+" ",
+" ",
+" ",
+" "};
diff --git a/office/1password/slack-desc b/office/1password/slack-desc
new file mode 100644
index 0000000000..08afec1bb0
--- /dev/null
+++ b/office/1password/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+1password: 1password (Online and offline password tool)
+1password:
+1password: Millions of customers and more than 100,000 businesses trust
+1password: 1Password to keep their most important information safe.
+1password:
+1password: At 1Password we believe everyone deserves to be safe online. That's
+1password: why we're building modern, accessible apps with privacy and security
+1password: at their core.
+1password:
+1password: Homepage: https://1password.com
+1password:
diff --git a/office/BibTool/BibTool.SlackBuild b/office/BibTool/BibTool.SlackBuild
new file mode 100644
index 0000000000..bfac5d5a38
--- /dev/null
+++ b/office/BibTool/BibTool.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for BibTool
+
+# Copyright 2023, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=BibTool
+VERSION=${VERSION:-2.68}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/c61cf667bdf846a2ad5079a8eae7fc863389f71b.patch
+
+sed -i -e "s|/usr/local/lib/BibTool|/usr/lib${LIBDIRSUFFIX}/BibTool|" \
+ doc/bibtool.1
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+
+make all doc
+make install INSTALLPREFIX=$PKG
+make install.man INSTALLPREFIX=$PKG INSTALL="install -p -m 644"
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes.tex README.md THANKS ToDo doc/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/BibTool/BibTool.info b/office/BibTool/BibTool.info
new file mode 100644
index 0000000000..71baf428e1
--- /dev/null
+++ b/office/BibTool/BibTool.info
@@ -0,0 +1,12 @@
+PRGNAM="BibTool"
+VERSION="2.68"
+HOMEPAGE="https://www.gerd-neugebauer.de/software/TeX/BibTool/en/"
+DOWNLOAD="https://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-2.68.tar.gz \
+ https://github.com/ge-ne/bibtool/commit/c61cf667bdf846a2ad5079a8eae7fc863389f71b.patch"
+MD5SUM="1fcf32fb26d8f7e79a56b531190c614c \
+ ac3c5c10038bfe3fd18f498526d7cd0d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/office/BibTool/README b/office/BibTool/README
new file mode 100644
index 0000000000..e52582307f
--- /dev/null
+++ b/office/BibTool/README
@@ -0,0 +1 @@
+Powerful and well documented tool to manipulate BibTeX databases.
diff --git a/office/myrulib/slack-desc b/office/BibTool/slack-desc
index 81637d5c53..7d7c1bf03e 100644
--- a/office/myrulib/slack-desc
+++ b/office/BibTool/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-myrulib: myrulib (e-book library manager)
-myrulib:
-myrulib: MyRuLib is an e-book library manager and (optionally) reader.
-myrulib: It allows you to work with huge archives containing thousands
-myrulib: of books in an easy, fast and convenient way.
-myrulib:
-myrulib: Homepage: http://myrulib.lintest.ru
-myrulib:
-myrulib:
-myrulib:
-myrulib:
+BibTool: BibTool (tool to manipulate BibTeX files)
+BibTool:
+BibTool: Powerful and well documented tool to manipulate BibTeX databases.
+BibTool:
+BibTool:
+BibTool:
+BibTool:
+BibTool: Homepage: https://www.gerd-neugebauer.de/software/TeX/BibTool/en/
+BibTool: Development: https://github.com/ge-ne/bibtool
+BibTool:
+BibTool:
diff --git a/office/CherryTree/CherryTree.SlackBuild b/office/CherryTree/CherryTree.SlackBuild
index d1e7e81491..5047476ebe 100644
--- a/office/CherryTree/CherryTree.SlackBuild
+++ b/office/CherryTree/CherryTree.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CherryTree
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=CherryTree
SRCNAM=${PRGNAM,,}
-VERSION=${VERSION:-0.38.8}
+VERSION=${VERSION:-0.39.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}
@@ -61,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -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/office/CherryTree/CherryTree.info b/office/CherryTree/CherryTree.info
index 3b67b69a37..7d8f5e0c14 100644
--- a/office/CherryTree/CherryTree.info
+++ b/office/CherryTree/CherryTree.info
@@ -1,8 +1,8 @@
PRGNAM="CherryTree"
-VERSION="0.38.8"
+VERSION="0.39.2"
HOMEPAGE="http://www.giuspen.com/cherrytree"
-DOWNLOAD="http://www.giuspen.com/software/cherrytree-0.38.8.tar.xz"
-MD5SUM="17337124e37780d2a749c504fe2793c3"
+DOWNLOAD="https://github.com/giuspen/cherrytree/archive/0.39.2/cherrytree-0.39.2.tar.gz"
+MD5SUM="4cac6149f06ea402f08d1f4a4d939624"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pygtksourceview"
diff --git a/office/FreeOffice/FreeOffice.SlackBuild b/office/FreeOffice/FreeOffice.SlackBuild
new file mode 100644
index 0000000000..0addb10044
--- /dev/null
+++ b/office/FreeOffice/FreeOffice.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for FreeOffice
+
+# Copyright 2020 Andre Fernando, Indonesia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=FreeOffice
+SRCNAM=softmaker-${PRGNAM,,}
+VERSION=${VERSION:-2018_978}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86)
+ DEBARCH=i386
+ ARCH=i586
+ ;;
+ x86_64)
+ DEBARCH=amd64
+ ARCH=x86_64
+ ;;
+ # unsupported
+ *)
+ echo "ARCH $( uname -m ) is unsupported"
+ exit 1
+ ;;
+ esac
+else
+ case "$ARCH" in
+ i?86)
+ DEBARCH=i386
+ ;;
+ x86_64)
+ DEBARCH=amd64
+ ;;
+ # unsupported
+ *)
+ echo "$ARCH is unsupported"
+ exit 1
+ ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+mkdir -p $PRGNAM
+cd $PRGNAM
+ar -x $CWD/$SRCNAM-$VERSION-01_$DEBARCH.deb
+tar xvf data.tar.xz -C $PKG
+cd $PKG
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+cp $CWD/*.desktop $PKG/usr/share/applications/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/FreeOffice/FreeOffice.info b/office/FreeOffice/FreeOffice.info
new file mode 100644
index 0000000000..291305998a
--- /dev/null
+++ b/office/FreeOffice/FreeOffice.info
@@ -0,0 +1,10 @@
+PRGNAM="FreeOffice"
+VERSION="2018_978"
+HOMEPAGE="https://www.freeoffice.com/"
+DOWNLOAD="https://www.softmaker.net/down/softmaker-freeoffice-2018_978-01_i386.deb"
+MD5SUM="32d74c5c109a53df7ad8312d43dfc866"
+DOWNLOAD_x86_64="https://www.softmaker.net/down/softmaker-freeoffice-2018_978-01_amd64.deb"
+MD5SUM_x86_64="2f42846d70bd4ebfaa6f1d0a73cd8689"
+REQUIRES=""
+MAINTAINER="Andre Fernando"
+EMAIL="ando344@gmail.com"
diff --git a/office/FreeOffice/README b/office/FreeOffice/README
new file mode 100644
index 0000000000..a0dee50d4a
--- /dev/null
+++ b/office/FreeOffice/README
@@ -0,0 +1,8 @@
+FreeOffice ( The best free alternative to Microsoft Office )
+
+FreeOffice is a complete Office suite with a word processor,
+a spreadsheet application and a presentation program – all compatible
+with their counterparts in Microsoft Office.
+
+for add additional languages visit official sites:
+https://www.freeoffice.com/en/download/dictionaries
diff --git a/office/calibre/doinst.sh b/office/FreeOffice/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/office/calibre/doinst.sh
+++ b/office/FreeOffice/doinst.sh
diff --git a/office/FreeOffice/planmaker-free18.desktop b/office/FreeOffice/planmaker-free18.desktop
new file mode 100644
index 0000000000..1a2cb71191
--- /dev/null
+++ b/office/FreeOffice/planmaker-free18.desktop
@@ -0,0 +1,21 @@
+[Desktop Entry]
+Categories=Application;Office;Spreadsheet;
+Comment=PlanMaker lets you create all kinds of spreadsheets -- from simple ones to the most complex ones. Includes a high-caliber charting module.
+Encoding=UTF-8
+Exec=/usr/bin/planmaker18free %F
+GenericName=Spreadsheet
+Icon=/usr/share/pixmaps/pml18free.png
+InitialPreference=10
+MimeType=application/x-pmd;application/x-pmdx;application/x-pmv;application/excel;application/x-excel;application/x-ms-excel;application/x-msexcel;application/x-sylk;application/x-xls;application/xls;application/vnd.ms-excel;application/vnd.stardivision.calc;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroEnabled.12;application/x-dif;text/spreadsheet;text/csv;application/x-prn;application/vnd.ms-excel.sheet.binary.macroenabled.12;
+Name=FreeOffice 2018 PlanMaker
+NoDisplay=false
+Path[$e]=/usr/share/freeoffice2018
+StartupNotify=true
+StartupWMClass=pm
+Terminal=0
+TerminalOptions=
+TryExec=/usr/bin/planmaker18free
+Type=Application
+Version=1.0
+X-KDE-SubstituteUID=false
+X-KDE-Username=
diff --git a/office/FreeOffice/presentations-free18.desktop b/office/FreeOffice/presentations-free18.desktop
new file mode 100644
index 0000000000..a9d8a7a5ac
--- /dev/null
+++ b/office/FreeOffice/presentations-free18.desktop
@@ -0,0 +1,21 @@
+[Desktop Entry]
+Categories=Application;Office;Presentation;
+Comment=The Presentations software lets you design any kind of presentation - even including special effects, animations, and transitions.
+Encoding=UTF-8
+Exec=/usr/bin/presentations18free %F
+GenericName=Presentation
+Icon=/usr/share/pixmaps/prl18free.png
+InitialPreference=10
+MimeType=application/x-prdx;application/x-prvx;application/x-prsx;application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;
+Name=FreeOffice 2018 Presentations
+NoDisplay=false
+Path[$e]=/usr/share/freeoffice2018
+StartupNotify=true
+StartupWMClass=pr
+Terminal=0
+TerminalOptions=
+TryExec=/usr/bin/presentations18free
+Type=Application
+Version=1.0
+X-KDE-SubstituteUID=false
+X-KDE-Username=
diff --git a/office/FreeOffice/slack-desc b/office/FreeOffice/slack-desc
new file mode 100644
index 0000000000..af4681fecd
--- /dev/null
+++ b/office/FreeOffice/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+FreeOffice: FreeOffice (The best free alternative to Microsoft Office)
+FreeOffice:
+FreeOffice: FreeOffice is a complete Office suite with a word processor,
+FreeOffice: a spreadsheet application and a presentation program - all compatible
+FreeOffice: with their counterparts in Microsoft Office.
+FreeOffice:
+FreeOffice:
+FreeOffice: Homepage: https://www.freeoffice.com/
+FreeOffice:
+FreeOffice:
+FreeOffice:
diff --git a/office/FreeOffice/textmaker-free18.desktop b/office/FreeOffice/textmaker-free18.desktop
new file mode 100644
index 0000000000..e24915cf3e
--- /dev/null
+++ b/office/FreeOffice/textmaker-free18.desktop
@@ -0,0 +1,21 @@
+[Desktop Entry]
+Categories=Application;Office;WordProcessor;
+Comment=The TextMaker word processor lets you work on any type of document.
+Encoding=UTF-8
+Exec=/usr/bin/textmaker18free %F
+GenericName=Word Processor
+Icon=/usr/share/pixmaps/tml18free.png
+InitialPreference=10
+MimeType=application/x-tmdx;application/x-tmvx;application/x-tmd;application/x-tmv;application/msword;application/vnd.ms-word;application/x-doc;text/rtf;application/rtf;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/x-pocket-word;application/x-dbf;application/msword-template;
+Name=FreeOffice 2018 TextMaker
+NoDisplay=false
+Path[$e]=/usr/share/freeoffice2018
+StartupNotify=true
+StartupWMClass=tm
+Terminal=0
+TerminalOptions=
+TryExec=/usr/bin/textmaker18free
+Type=Application
+Version=1.0
+X-KDE-SubstituteUID=false
+X-KDE-Username=
diff --git a/office/JabRef/JabRef.SlackBuild b/office/JabRef/JabRef.SlackBuild
index a71b3adf8a..fd792a0de9 100644
--- a/office/JabRef/JabRef.SlackBuild
+++ b/office/JabRef/JabRef.SlackBuild
@@ -1,68 +1,98 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for JabRef
-# Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Copyright 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Update by: Andre Barboza <bmg.andre@gmail.com>
+# Copyright 2020, David O'Shaughnessy
# All rights reserved.
#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 1.- Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Update by: Andre Barboza <bmg.andre@gmail.com>
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=JabRef
-VERSION=${VERSION:-2.9.2}
+VERSION=${VERSION:-5.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH=${ARCH:-noarch}
-CWD=$(pwd)
+PKGTYPE=${PKGTYPE:-tgz}
+DEBBUILD=${DEBBUILD:-1}
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
-rm -rf $PKG
-mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
-install -D -m 0644 $CWD/$PRGNAM-$VERSION.jar $PKG/opt/$PRGNAM/$PRGNAM-$VERSION.jar
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-mkdir -p $PKG/usr/bin
-cat << EOF > $PKG/usr/bin/$PRGNAM
-#!/bin/bash
-cd \$HOME
-java -jar /opt/$PRGNAM/$PRGNAM-$VERSION.jar \$@
-EOF
-chmod 0755 $PKG/usr/bin/$PRGNAM
+# Upstream has binary support for x86_64
+if [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
+else
+ echo "Sorry, binary is available for x86_64 only."
+ exit 1
+fi
+
+set -e
+
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
+cd "$PKG"
+ar p "$CWD"/${PRGNAM,,}_"$VERSION"_"$DEBARCH".deb data.tar.xz | tar xJv
+#ar p "$CWD"/${PRGNAM,,}_"$VERSION"_"$DEBARCH".deb data.tar.zst | tar xv --zstd
-cd $PKG/opt/$PRGNAM
+# permissions
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-install -D -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -D -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+find "$PKG" -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# create a symlink for program
+mkdir -p "$PKG"/usr/bin
+ln -s ../../opt/${PRGNAM,,}/bin/$PRGNAM "$PKG"/usr/bin/$PRGNAM
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# desktop and icon
+install -D -m 0644 opt/${PRGNAM,,}/lib/${PRGNAM,,}-$PRGNAM.desktop -t "$PKG"/usr/share/applications
+install -D -m 0644 opt/${PRGNAM,,}/lib/$PRGNAM.png -t "$PKG"/usr/share/pixmaps
+# docs
+install -D -m 0644 opt/${PRGNAM,,}/share/doc/* "$CWD"/$PRGNAM.SlackBuild -t "$PKG"/usr/doc/$PRGNAM-"$VERSION"
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/JabRef/JabRef.info b/office/JabRef/JabRef.info
index 230c0d955e..f0c4aae6c2 100644
--- a/office/JabRef/JabRef.info
+++ b/office/JabRef/JabRef.info
@@ -1,10 +1,10 @@
PRGNAM="JabRef"
-VERSION="2.9.2"
-HOMEPAGE="http://jabref.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/JabRef-2.9.2.jar"
-MD5SUM="62575e9f6921c904fe8c2e4be2a34081"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Mário Antunes"
-EMAIL="mariolpantunes@gmail.com"
+VERSION="5.13"
+HOMEPAGE="https://www.jabref.org"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/JabRef/jabref/releases/download/v5.13/jabref_5.13_amd64.deb"
+MD5SUM_x86_64="e395f38de3bf78612f78b4dbd5acb9a9"
+REQUIRES=""
+MAINTAINER="David O'Shaughnessy"
+EMAIL="dev@osh.id.au"
diff --git a/office/JabRef/README b/office/JabRef/README
index 8e01ca899d..52057ff55b 100644
--- a/office/JabRef/README
+++ b/office/JabRef/README
@@ -1,12 +1,6 @@
-JabRef is an open source bibliography reference manager.
-The native file format used by JabRef is BibTeX, the
-standard LaTeX bibliography format.b JabRef runs on the
-Java VM (version 1.6 or newer), and should work equally
-well on Windows, Linux and Mac OS X.
+JabRef is an open source bibliography reference manager, with native
+BibTeX and BibLaTeX support. JabRef helps you collect, edit, organize,
+and cite your work. As of version 5, JabRef is bundled with its own
+Java runtime.
-BibTeX is an application and a bibliography file format
-written by Oren Patashnik and Leslie Lamport for the LaTeX
-document preparation system. Bibliographies generated by
-LaTeX and BibTeX from a BibTeX file can be formatted to suit
-any reference list specifications through the use of different
-BibTeX style files.
+This is a repackaging of the .deb release.
diff --git a/office/JabRef/slack-desc b/office/JabRef/slack-desc
index 9a3c4ac06d..08f6f0c520 100644
--- a/office/JabRef/slack-desc
+++ b/office/JabRef/slack-desc
@@ -8,10 +8,10 @@
|-----handy-ruler------------------------------------------------------|
JabRef: JabRef (Reference Manager)
JabRef:
-JabRef: JabRef is an open source bibliography reference manager. The native
-JabRef: file format used by JabRef is BibTeX, the standard LaTeX bibliography
-JabRef: format.b JabRef runs on the Java VM (version 1.6 or newer), and
-JabRef: should work equally well on Windows, Linux and Mac OS X.
+JabRef: JabRef is an open source bibliography reference manager, with native
+JabRef: BibTeX and BibLaTeX support. JabRef helps you collect, edit, organize,
+JabRef: and cite your work.
+JabRef:
JabRef:
JabRef:
JabRef:
diff --git a/office/LaTeXML/LaTeXML.SlackBuild b/office/LaTeXML/LaTeXML.SlackBuild
new file mode 100644
index 0000000000..839063a54d
--- /dev/null
+++ b/office/LaTeXML/LaTeXML.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for LaTeXML
+
+# Copyright 2023 Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=LaTeXML
+VERSION=${VERSION:-0.8.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
+
+ARCH=noarch
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+rm -rf t/91_latexmlc_api.t t/92_profiles.t t/93_formats.t t/95_complex_config.t t/96_fatal.t
+make test
+make install DESTDIR=$PKG
+mv $PKG/usr/share/man/* $PKG/usr/man/
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+Changes README.pod manual.pdf LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/LaTeXML/LaTeXML.info b/office/LaTeXML/LaTeXML.info
new file mode 100644
index 0000000000..ef49b5d250
--- /dev/null
+++ b/office/LaTeXML/LaTeXML.info
@@ -0,0 +1,10 @@
+PRGNAM="LaTeXML"
+VERSION="0.8.7"
+HOMEPAGE="https://math.nist.gov/~BMiller/LaTeXML/"
+DOWNLOAD="https://math.nist.gov/~BMiller/LaTeXML/releases/LaTeXML-0.8.7.tar.gz"
+MD5SUM="0ff1f442ace291cd4590cbf3aa2fe751"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="perl-LWP-Protocol-https perl-Text-Unidecode perl-Archive-Zip perl-IO-String perl-Image-Size perl-JSON-XS perl-File-Which perl-Parse-RecDescent perl-Pod-Parser perl-Scalar-List-Utils perl-Socket6 perl-XML-LibXSLT"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo_latexml_2023-04-15@lockywolf.net"
diff --git a/office/LaTeXML/README b/office/LaTeXML/README
new file mode 100644
index 0000000000..24711e5860
--- /dev/null
+++ b/office/LaTeXML/README
@@ -0,0 +1,13 @@
+The approach is to emulate TeX as far as possible (in Perl),
+converting the TEX or (LATEX) document into LATExml’s XML format. That
+format is modelled on the typical document structure found in LATEX,
+and inspired by HTML, MathML, OpenMath and others. That abstract
+document is then further transformed into HTML of various flavors,
+with MathML and SVG, or into JATS or ePub or …. Of course, emulating
+TEX is kinda hard, there are many clever LATEX package developers, and
+the Web moves quickly, so there are gaps in fidelity and coverage.
+
+But for simple cases it might work just like this:
+
+latexml --dest=mydoc.xml mydoc
+latexmlpost --dest=somewhere/mydoc.html mydoc.xml
diff --git a/office/hyphen-id/slack-desc b/office/LaTeXML/slack-desc
index e01076497a..621e781e60 100644
--- a/office/hyphen-id/slack-desc
+++ b/office/LaTeXML/slack-desc
@@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-hyphen-id: hyphen-id (Indonesian hyphenation library function)
-hyphen-id:
-hyphen-id: Indonesian hyphenation library function.
-hyphen-id:
-hyphen-id:
-hyphen-id:
-hyphen-id:
-hyphen-id:
-hyphen-id:
-hyphen-id:
-hyphen-id:
+ |-----handy-ruler------------------------------------------------------|
+LaTeXML: LaTeXML (LaTeX to XML/HTML)
+LaTeXML:
+LaTeXML: Convert your latex to xml or html.
+LaTeXML:
+LaTeXML:
+LaTeXML:
+LaTeXML:
+LaTeXML:
+LaTeXML:
+LaTeXML:
+LaTeXML:
diff --git a/office/LanguageTool/LanguageTool.SlackBuild b/office/LanguageTool/LanguageTool.SlackBuild
index c9dc5c73e8..dec631b41a 100644
--- a/office/LanguageTool/LanguageTool.SlackBuild
+++ b/office/LanguageTool/LanguageTool.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LanguageTool
# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2023 Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=LanguageTool
-VERSION=${VERSION:-3.5}
+VERSION=${VERSION:-6.1}
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}
@@ -79,4 +90,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/office/LanguageTool/LanguageTool.info b/office/LanguageTool/LanguageTool.info
index 1bb3381b56..3ddf3516de 100644
--- a/office/LanguageTool/LanguageTool.info
+++ b/office/LanguageTool/LanguageTool.info
@@ -1,10 +1,10 @@
PRGNAM="LanguageTool"
-VERSION="3.5"
+VERSION="6.1"
HOMEPAGE="https://www.languagetool.org/"
-DOWNLOAD="https://www.languagetool.org/download/LanguageTool-3.5.zip"
-MD5SUM="b750011ec97d2fd94e41fc37899844d3"
+DOWNLOAD="https://www.languagetool.org/download/LanguageTool-6.1.zip"
+MD5SUM="fc4875d72950bb1302379559fc1168c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="zulu-openjdk11"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.LanguageTool_2023-06-16@lockywolf.net"
diff --git a/office/LanguageTool/README b/office/LanguageTool/README
index 90b49153d7..6a517f8478 100644
--- a/office/LanguageTool/README
+++ b/office/LanguageTool/README
@@ -1,2 +1,2 @@
-LanguageTool is an Open Source proof reading program for English, French,
-German, Polish, and more than 20 other languages.
+LanguageTool is an Open Source proofreading program for English,
+French, German, Polish, and more than 20 other languages.
diff --git a/office/LibreOffice/LibreOffice.SlackBuild b/office/LibreOffice/LibreOffice.SlackBuild
index 071eadea37..b3b349606f 100644
--- a/office/LibreOffice/LibreOffice.SlackBuild
+++ b/office/LibreOffice/LibreOffice.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
#
# ex:set ai shiftwidth=4 inputtab=spaces smarttab noautotab:
# Slackware build script for LibreOffice
-# Copyright 2015-2019 Christoph Willing Brisbane, Australia
+# Copyright 2015-2024 Christoph Willing Sydney, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,15 +24,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=LibreOffice
SRCNAM=libreoffice
-VERSION=${VERSION:-6.2.4.2}
+VERSION=${VERSION:-24.2.2.2}
SHORT_VERSION=${VERSION%.*.*}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-PACKAGER=${PACKAGER:-"AnonymousCoward"}
+PKGTYPE=${PKGTYPE:-tgz}
HAVE_SRCS_TARBALL=${HAVE_SRCS_TARBALL:-1}
+unset UNO_PATH
+unset URE_BOOTSTRAP
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,6 +69,18 @@ else
LIBDIRSUFFIX=""
fi
+if [ -x /usr/bin/gcc-11.* ];
+then
+ echo Slackware-15.0
+ export CC=/usr/bin/clang
+ export CXX=/usr/bin/clang++
+ CXXCLANGFLAGS="-Wno-c++11-narrowing"
+else
+ echo Slackware-15.0++
+ export CC=/usr/bin/gcc
+ export CXX=/usr/bin/g++
+fi
+
set -e
rm -rf $PKG
@@ -70,8 +90,15 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
-if [ "$HAVE_SRCS_TARBALL" = "1" ]; then
+if [ -r $CWD/$SRCNAM-${VERSION}-srcs.tar.xz ]; then
tar xvf $CWD/$SRCNAM-${VERSION}-srcs.tar.xz
+ # For 7.2.0.4 these aren't found as previously so unpack them manually
+ cd $TMP
+ tar xf libreoffice-${VERSION}/external/tarballs/libreoffice-translations-${VERSION}.tar.xz
+ tar xf libreoffice-${VERSION}/external/tarballs/libreoffice-help-${VERSION}.tar.xz
+ cd $SRCNAM-$VERSION
+else
+ HAVE_SRCS_TARBALL=0
fi
chown -R root:root .
@@ -91,18 +118,30 @@ jval="$(echo $MAKEFLAGS |grep -o "\-j *[0-9]*" | grep -o "[0-9]*")" || true
# If PARALLEL environment variable is set, use that to override everything.
[ "${PARALLEL:-0}" != "0" ] && parallel="--with-parallelism=$PARALLEL"
-JAVA=${JAVA:-openjdk7}
-if [ "$JAVA" = "openjdk7" ]; then
- . /etc/profile.d/openjdk7.sh
- use_java="--with-java=java"
-elif [ "$JAVA" = "openjdk8" ]; then
- . /etc/profile.d/openjdk8.sh
- use_java="--with-java=java"
-elif [ "$JAVA" = "jdk" ]; then
- . /etc/profile.d/jdk.sh
- use_java="--with-java=java"
-elif [ "$JAVA" = "no" ]; then
+JAVA=${JAVA:-}
+if [ "$JAVA" = "no" ]; then
use_java="--with-java=no"
+else
+ if [ -z "$JAVA_HOME" ]; then
+ # if JAVA_HOME isn't set, try to set it by sourcing the profile script
+ for i in /etc/profile.d/*jdk*.sh; do
+ if [ -x $i ]; then
+ source $i
+ break
+ fi
+ done
+ fi
+
+ if [ -z "$JAVA_HOME" ]; then
+ cat <<EOF
+!!! Java support requested, but JAVA_HOME is unset and I can't find
+!!! a /etc/profile.d script that sets it. Are you sure you have a JDK
+!!! package installed?
+EOF
+ exit 1
+ fi
+
+ use_java="--with-jdk-home=$JAVA_HOME"
fi
# General optional use of packages available from SBo. If not found, LibreOffice internal versions are used
@@ -136,7 +175,15 @@ if pkg-config --exists mdds-1.4 ; then mdds="--with-system-mdds" ; else mdds=""
if pkg-config --exists mythes ; then mythes="--with-system-mythes" ; else mythes="" ; fi
if test -x /usr/bin/odbc_config ; then odbc="--with-system-odbc" ; else odbc="" ; fi
#if test -d /usr/lib${LIBDIRSUFFIX}/python3*/site-packages/lxml ; then lxml="--with-system-lxml" ; else lxml="" ; fi
-if pkg-config --exists xmlsec1 ; then xmlsec="--with-system-xmlsec" ; else xmlsec="" ; fi
+
+if pkg-config --exists xmlsec1 ; then
+ xmlsec="--with-system-xmlsec"
+else
+ xmlsec=""
+ # Also ensure correct nspr implementation is used if building libreoffice supplied xmlsec
+ sed -i -e 's:openssl:openssl --with-mozilla-ver=/usr:' external/xmlsec/ExternalProject_xmlsec.mk
+fi
+
#if test -e /usr/share/ant/lib/rhino.jar ; then rhino="--with-system-rhino --with-rhino-jar=/usr/share/ant/lib/rhino.jar" ; else rhino="" ; fi
if pkg-config --exists libvlc ; then vlc="--enable-vlc" ; else vlc="" ; fi
# Building with vlc backend is marked as experimental so demand explicit indication via environment variable VLC to do it.
@@ -144,11 +191,8 @@ if pkg-config --exists libvlc ; then vlc="--enable-vlc" ; else vlc="" ; fi
# Other options
if pkg-config --exists avahi-core ; then avahi="--enable-avahi" ; else avahi="" ; fi
-if pkg-config --exists python3 ; then Python3="--enable-python=system" ; else Python3="" ; fi
-if pkg-config --exists Qt5 ; then qt5="--enable-qt5" ; else qt5="" ; fi
if pkg-config --exists valgrind ; then valgrind="--with-valgrind" ; else valgrind="" ; fi
-kde4="--enable-kde4" ; [ "${KDE4:-yes}" != "yes" ] && kde4="--disable-kde4"
use_ccache="--disable-ccache" ; [ "${USE_CCACHE:-no}" != "no" ] && use_ccache=""
# Extensions
@@ -159,9 +203,20 @@ extwikipub="--enable-ext-wiki-publisher"; [ "${EXTWIKIPUB:-no}" != "yes" ] &
extnlpsolver="--enable-ext-nlpsolver"; [ "${EXTNLPSOLVER:-yes}" != "yes" ] && extnlpsolver=""
-./autogen.sh \
+# Temporary fix for problems with boost > 1.80
+# Results in additional download of compatible boost to use internally
+BOOST_MINOR_VERSION=$(basename $(ls -d /usr/lib${LIBDIRSUFFIX}/cmake/Boost-1.*) | cut -d'.' -f2)
+if [ "$BOOST_MINOR_VERSION" -gt "80" ]; then
+ boost="--without-system-boost"
+else
+ boost="--with-system-boost"
+fi
+
+
+./configure \
CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS $CXXCLANGFLAGS" \
+ LDFLAGS="-lz" \
NSS_CFLAGS="$(pkg-config --cflags-only-I mozilla-nss)"\
--prefix=/usr \
--mandir=/usr/man \
@@ -169,10 +224,11 @@ extnlpsolver="--enable-ext-nlpsolver"; [ "${EXTNLPSOLVER:-yes}" != "yes" ] &
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--build=$ARCH-slackware-linux \
- --with-build-version="SlackBuild for $PRGNAM-$VERSION by $PACKAGER" \
--with-vendor="Just Another Slacker" \
--with-lang="$LOLANGS" \
--enable-release-build=yes \
+ --enable-qt5 \
+ --enable-python=system \
--enable-gio \
$extct2n \
$extnumbertext \
@@ -180,9 +236,7 @@ extnlpsolver="--enable-ext-nlpsolver"; [ "${EXTNLPSOLVER:-yes}" != "yes" ] &
$extlanguagetool \
$extwikipub \
$avahi \
- $Python3 \
$vlc \
- $kde4 \
$use_ccache \
$use_java \
$parallel \
@@ -191,10 +245,9 @@ extnlpsolver="--enable-ext-nlpsolver"; [ "${EXTNLPSOLVER:-yes}" != "yes" ] &
--without-krb5 \
--without-gssapi \
--without-junit \
+ --without-system-libxml \
--with-help \
- --with-system-apr \
--with-system-bluez \
- --with-system-boost \
--with-system-bzip2 \
--with-system-cairo \
--with-system-clucene \
@@ -203,30 +256,30 @@ extnlpsolver="--enable-ext-nlpsolver"; [ "${EXTNLPSOLVER:-yes}" != "yes" ] &
--with-system-epoxy \
--with-system-expat \
--with-system-hunspell \
- --with-system-icu \
--with-system-jpeg \
--with-system-lcms2 \
--with-system-libodfgen \
--with-system-libpng \
--with-system-librevenge \
+ --with-system-libtiff \
--with-system-libvisio \
+ --with-system-libwebp \
--with-system-libwpd \
--with-system-libwpg \
- --with-system-libxml \
--with-system-mariadb \
- --with-system-neon \
--with-system-nss \
--with-system-openldap \
--with-system-openssl \
--with-system-poppler \
- --with-system-redland \
--with-system-sane \
--with-system-zlib \
+ $boost \
$coinmp \
$cppunit \
$glm \
$libabw \
$libcdr \
+ $liblangtag \
$libcmis \
$libebook \
$libeot \
@@ -248,7 +301,6 @@ extnlpsolver="--enable-ext-nlpsolver"; [ "${EXTNLPSOLVER:-yes}" != "yes" ] &
$lpsolve \
$mythes \
$postgresql \
- $qt5 \
$valgrind \
$ucpp \
$odbc \
@@ -267,18 +319,17 @@ fi
patch -p0 < $CWD/no-check-if-root.diff
-export LDFLAGS="-lboost_system"
-make build-nocheck
+# GCC10 requirements (Tx alienBOB)
+sed -i external/libebook/ExternalProject_libebook.mk \
+ -e '/configure /i \\t\t&& sed -i "s/TRUE/true/g" src/lib/EBOOKCharsetConverter.cpp \\'
+
+
+make build
make distro-pack-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
-# Prefer GTK2 toolkit
-cd $PKG/usr/lib$LIBDIRSUFFIX/$SRCNAM/program
-sed -i -e '/^#\ restore/i# Prefer GTK2\nexport SAL_USE_VCLPLUGIN=${SAL_USE_VCLPLUGIN:-gtk}\n' soffice
-cd -
-
cd $PKG/usr/lib$LIBDIRSUFFIX
mv $SRCNAM $SRCNAM-$VERSION
ln -s $SRCNAM-$VERSION $SRCNAM
@@ -288,14 +339,17 @@ for df in $PKG/usr/lib$LIBDIRSUFFIX/$SRCNAM-$VERSION/share/xdg/*.desktop ; do
sed -i -e "s/libreofficedev$SHORT_VERSION/libreoffice/g" $df
done
-# Use the system python if we have it, else use the python just built with LibreOffice
-PYTHONEXE=$(which python3) || PYTHONEXE=$PKG/usr/lib$LIBDIRSUFFIX/$SRCNAM/program/python
-PYSITEDIR=$($PYTHONEXE -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
-mkdir -p $PKG/$PYSITEDIR
-cat <<EOF >$PKG/$PYSITEDIR/pyuno.pth
+# Only enable pyuno if requested
+if [ "${PYUNO:-no}" == "yes" ]; then
+ # Use the system python if we have it, else use the python just built with LibreOffice
+ PYTHONEXE=$(which python3) || PYTHONEXE=$PKG/usr/lib$LIBDIRSUFFIX/$SRCNAM/program/python
+ PYSITEDIR=$($PYTHONEXE -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
+ mkdir -p $PKG/$PYSITEDIR
+ cat <<EOF >$PKG/$PYSITEDIR/pyuno.pth
import sys; sys.path.insert(0,'/usr/lib$LIBDIRSUFFIX/libreoffice/program')
EOF
-chmod 0644 $PKG/$PYSITEDIR/pyuno.pth
+ chmod 0644 $PKG/$PYSITEDIR/pyuno.pth
+fi
mkdir -p $PKG/etc/profile.d
sd_prog=/usr/lib$LIBDIRSUFFIX/libreoffice/program
@@ -320,4 +374,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/office/LibreOffice/LibreOffice.info b/office/LibreOffice/LibreOffice.info
index a0af41df41..eb06942f03 100644
--- a/office/LibreOffice/LibreOffice.info
+++ b/office/LibreOffice/LibreOffice.info
@@ -1,12 +1,12 @@
PRGNAM="LibreOffice"
-VERSION="6.2.4.2"
+VERSION="24.2.2.2"
HOMEPAGE="https://www.libreoffice.org"
-DOWNLOAD="https://download.documentfoundation.org/libreoffice/src/6.2.4/libreoffice-6.2.4.2.tar.xz \
- http://sourceforge.net/projects/slackbuildsdirectlinks/files/LibreOffice/libreoffice-6.2.4.2-srcs.tar.xz"
-MD5SUM="9dd7f643f5d9ee9752c8bf5e241a9f46 \
- 21d371e654006433a5bc57f827804c61"
+DOWNLOAD="https://download.documentfoundation.org/libreoffice/src/24.2.2/libreoffice-24.2.2.2.tar.xz \
+ https://sourceforge.net/projects/slackbuildsdirectlinks/files/LibreOffice/libreoffice-24.2.2.2-srcs.tar.xz"
+MD5SUM="72d05d00734c6921a47c369b8d7ef8cf \
+ 87a2d12d9b00c2662c1fee4303d54c48"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 openjdk7 apache-ant perl-Archive-Zip"
+REQUIRES="zulu-openjdk17 apache-ant perl-Archive-Zip libcdr libfreehand liblangtag libmspub libzmf"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/office/LibreOffice/README b/office/LibreOffice/README
index 69c212624c..3adeba09ef 100644
--- a/office/LibreOffice/README
+++ b/office/LibreOffice/README
@@ -1,94 +1,104 @@
-LibreOffice is a powerful office suite; its clean interface and powerful tools
-let you unleash your creativity and grow your productivity. LibreOffice embeds
-several applications that make it the most powerful Free & Open Source Office
-suite on the market: Writer, the word processor, Calc, the spreadsheet
-application, Impress, the presentation engine, Draw, our drawing and
-flowcharting application, Base, our database and database frontend,
-and Math for editing mathematics.
+LibreOffice is a powerful office suite; its clean interface
+and powerful tools let you unleash your creativity and grow your
+productivity. LibreOffice embeds several applications that make it the
+most powerful Free & Open Source Office suite on the market: Writer,
+the word processor, Calc, the spreadsheet application, Impress, the
+presentation engine, Draw, our drawing and flowcharting application,
+Base, our database and database frontend, and Math for editing
+mathematics.
-This SlackBuild builds the entire project from its source code. In seeking a
-fully functional LibreOffice, most optional features are included by default,
-using internal versions of any external software components that may be needed.
-This results in a very small number of directly required additional software
-packages.
+This SlackBuild builds the entire project from its source code. In
+seeking a fully functional LibreOffice, most optional features are
+included by default, using internal versions of any external software
+components that may be needed. This results in a very small number of
+directly required additional software packages.
-However most of this additional software is also available as SBo SlackBuilds.
-During configuration, the LibreOffice SlackBuild will detect any such packages
-that are already installed and use them in preference to building its own
-internal versions. Packages from SBo that will be use in this way are:
- CoinMP cppunit glm libabw libcdr libcmis libe-book libeot libepubgen
- libexttextcat libfreehand libmspub libmwaw libnumbertext liborcus
- libpagemaker libqxp libnumbertext libstaroffice libtommath libwps libzmf
- lpsolve mythes postgresql qt5 valgrind ucpp unixODBC avahi
- libetonyek xmlsec vlc
+However most of this additional software is also available as SBo
+SlackBuilds. During configuration, the LibreOffice SlackBuild will
+detect any such packages that are already installed and use them in
+preference to building its own internal versions. Packages from SBo
+that will be use in this way are:
+ CoinMP cppunit glm libabw libcdr libcmis libe-book libeot
+ libepubgen libexttextcat libfreehand libmspub libmwaw
+ libnumbertext liborcus libpagemaker libqxp libnumbertext
+ libstaroffice libtommath libwps libzmf lpsolve mythes postgresql
+ qt5 valgrind ucpp unixODBC avahi libetonyek xmlsec
-Remember, these packages are not essential but entirely optional. If not found,
-LibreOffice will simply build its own internal versions.
+Remember, these packages are not essential but entirely optional. If
+not found, LibreOffice will simply build its own internal versions.
-Also keep in mind that any package from the above list which is detected and
-used when building LibreOffice will most likely become a runtime dependency too
-e.g. if avahi is detected and used at build time, it will also need to be
-installed at run time.
+Also keep in mind that any package from the above list which is
+detected and used when building LibreOffice will most likely become
+a runtime dependency too e.g. if avahi is detected and used at build
+time, it will also need to be installed at run time.
-Build time environment variables that may be set to vary features are as follows:
-1. enable the experimental VLC avmedia backend (disabled by default) with:
- VLC="yes"
- This requires the vlc package (available from SBo) to be installed.
+Build time environment variables that may be set to vary features are
+as follows:
+1. support additional languages by overriding the LOLANGS variable,
+ whose default setting is LOLANGS="de es fr id it ja nl vi zh-CN".
+ Note that en-US is always added to whatever LOLANGS is set. Thus
+ building with, for example,
+ LOLANGS="de" sh LibreOffice.SlackBuild
+ would build LibreOffice with support for german and US english
+ languages. Additionally, setting LOLANGS="ALL" will build in
+ support for all available languages.
-3. disable kde4 support (enabled by default) with:
- KDE4="no"
+2. A number of Java Development Kits are suitable for building
+ LibreOffice. Since Slackware-15.0 and LiberOffice-7.3.1.3, the
+ default JDK is zulu-openjdk11. Other JDKs will probably work if
+ the JAVA_HOME environment variable is set appropriately in a file
+ in /etc/profile.d/, where this SlackBuild will search.
-4. support additional languages by overriding the LOLANGS variable, whose
- default setting is LOLANGS="de es fr id it ja nl vi zh-CN". Note that en-US
- is always added to whatever LOLANGS is set. Thus building with, for example,
- LOLANGS="de" sh LibreOffice
- would build LibreOffice with support for german and US english languages.
- Additionally, setting LOLANGS="ALL" will build in support for all available
- languages.
+ It is also possible to build LibreOffice without any Java support
+ (with somewhat reduced capability in LO Base) by running:
+ JAVA=no sh LibreOffice.SlackBuild
-5. A number of Java Development Kits are suitable for building LibreOffice.
- The default JDK for this SlackBuild is openjdk7. Others may be chosen by
- setting the JAVA environment variable when running the SlackBuild. Recognised
- values are openjdk7 (the default, not explicitly required), openjdk8 and jdk
- e.g. JAVA=jdk (to use SBo jdk package with Oracle binary version). Using an
- alternate JDK will require presence of the appropriate package when building
- LibreOffice. Since the apache-ant package is already required by openjdk7,
- hence openjdk8, its listing in the REQUIRES field is redundant in these cases.
- However it remains listed to accomodate the case of JAVA=jdk, in which the
- apache-ant package is needed to build LibreOffice.
- Finally, setting JAVA=no will build LibreOffice without any Java support.
-
-6. The number of parallel make jobs used by the LibreOffice build system defaults
- to the number of available cpu cores. If the MAKEFLAGS environment variable
- contains the -j option e.g.
+3. The number of parallel make jobs used by the LibreOffice build
+ system defaults to the number of available cpu cores. If the
+ MAKEFLAGS environment variable contains the -j option e.g.
MAKEFLAGS=-j6
then the SlackBuild will pass this to the LibreOffice build system
- (via its --with-parallelism configure option). The number of parallel make jobs
- is further controlled with the PARALLEL environment varaiable e.g.
+ (via its --with-parallelism configure option). The number of parallel
+ jobs is further controlled by the PARALLEL environment variable e.g:
PARALLEL=1 sh LibreOffice.SlackBuild
- which would limit building to a single make process, overriding any value set
- with the -j option in MAKEFLAGS.
+ which would limit building to a single make process, overriding any
+ value set with the -j option in MAKEFLAGS.
-7. Use of ccache during building is turned off by default to save disk space (and
- possible build failure due to lack of disk space). It may be reinstated by
- setting the USE_CCACHE environment to "yes" e.g.
+4. Use of ccache during building is turned off by default to save disk
+ space (and possible build failure due to lack of disk space). It may
+ be reinstated by setting the USE_CCACHE environment to "yes" e.g.
USE_CCACHE=yes sh LibreOffice.SlackBuild
-For performance reasons, this Slackbuild sets GTK2 to be used at runtime.
-Alternatives (gen, gtk3, kde4) may still be used by setting SAL_USE_VCLPLUGIN
-in the user's runtime environment.
+5. PyUNO is a Python interface to the LibreOffice API. It is disabled by
+ default due to interference with Openshot (therefore possibly other
+ packages). It may be enabled by setting the PYUNO environment
+ variable e.g.
+ PYUNO=yes sh LibreOffice.SlackBuild
+
+ Even without PyUNO enabled in this way, PyUNO scripts may still be
+ executed by suitably extending the PYTHONPATH in the environment at
+ runtime e.g.
+ PYTHONPATH=/usr/lib64/libreoffice/program my_python_uno_script.py
-Spell checking of documents at runtime requires installation of a suitable
-wordlist for the language concerned. This can be achieved in either of two
-ways:
+
+Spell checking of documents at runtime requires installation of a
+suitable wordlist for the language concerned. This can be achieved in
+either of two ways:
1. Build & install hunspell-en (or hunspell-es, hunspell-pl) from SBo
2. Search for the desired language dictionary at:
- http://extensions.libreoffice.org/extension-center?getCategories=Dictionary
-and download the relevant file e.g. dict-en.oxt. Now open LO's extension
-manager and press the "Add..." button which will open a file browser with which
-to locate and open the downloaded .oxt file. The new dictionary will now appear
-in the Extension Manager.
+http://extensions.libreoffice.org/extension-center?getCategories=Dictionary
+and download the relevant file e.g. dict-en.oxt. Now open LO's
+extension manager and press the "Add..." button which will open a file
+browser with which to locate and open the downloaded .oxt file. The
+new dictionary will now appear in the Extension Manager.
+
+Some people have experienced difficulties building LibreOffice while a
+previous version is still installed. It is therefore recommended that
+any previous version should be removed before building LibreOffice. As
+well as removing any LibreOffice installation, it is important to also
+clear environment variables that were set by the installation i.e.
+ /sbin/removepkg LibreOffice
+ unset UNO_PATH
+ unset URE_BOOTSTRAP
-Some people have experienced difficulties building LibreOffice while a previoius
-version is still installed. It is therefore recommended that any previous version
-is removed while building LibreOffice.
+Good luck!
diff --git a/office/LibreOffice/no-check-if-root.diff b/office/LibreOffice/no-check-if-root.diff
index ff63ada2f7..8dfe755d13 100644
--- a/office/LibreOffice/no-check-if-root.diff
+++ b/office/LibreOffice/no-check-if-root.diff
@@ -1,20 +1,11 @@
---- Makefile.orig 2018-02-07 22:18:13.161535968 +1000
-+++ Makefile 2018-02-07 22:17:41.560533422 +1000
-@@ -9,7 +9,7 @@
+--- Makefile.orig 2021-08-21 10:12:14.335000000 +1000
++++ Makefile 2021-08-21 10:13:38.458000000 +1000
+@@ -65,7 +65,7 @@
+ echo; \
+ echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
+ echo; \
+- exit 1; \
++# exit 1; \
+ fi \
+ fi
- gb_Top_MODULE_CHECK_TARGETS := slowcheck unitcheck subsequentcheck perfcheck uicheck screenshot
-
--.PHONY : all check-if-root bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install docs download etags fetch get-submodules id install install-gdb-printers install-strip tags debugrun help showmodules translations packageinfo internal.clean $(gb_Top_MODULE_CHECK_TARGETS)
-+.PHONY : all bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install docs download etags fetch get-submodules id install install-gdb-printers install-strip tags debugrun help showmodules translations packageinfo internal.clean $(gb_Top_MODULE_CHECK_TARGETS)
-
- MAKECMDGOALS?=all
- build_goal:=$(if $(filter build check,$(MAKECMDGOALS)),all)\
-@@ -254,7 +254,7 @@
- #
- # Bootstrap
- #
--bootstrap: check-if-root compilerplugins
-+bootstrap: compilerplugins
-
- #
- # Build
diff --git a/office/Logseq/Logseq.SlackBuild b/office/Logseq/Logseq.SlackBuild
new file mode 100644
index 0000000000..d065662535
--- /dev/null
+++ b/office/Logseq/Logseq.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for Logseq
+
+# Copyright 2023 Frederic Galusik Bordeaux, France
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=Logseq
+VERSION=${VERSION:-0.9.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ x86_64) ARCH=x86_64 ;;
+ *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-linux-x64
+unzip $CWD/$PRGNAM-linux-x64-$VERSION.zip
+cd $PRGNAM-linux-x64
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# install
+mkdir -p $PKG/opt/$PRGNAM $PKG/usr/bin
+mv * $PKG/opt/$PRGNAM
+
+# desktop shortcut
+install -Dm 644 -o root -g root $CWD/$PRGNAM.desktop \
+ $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/share/icons/hicolor/512x512/apps
+cp $PKG/opt/$PRGNAM/resources/app/icons/logseq.png \
+ $PKG/usr/share/icons/hicolor/512x512/apps/
+
+# symlink
+cd $PKG/usr/bin
+ln -s ../../opt/$PRGNAM/Logseq logseq
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Copy program documentation & SlackBuild script in the documentation directory
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ $PKG/opt/$PRGNAM/LICENSE* $PKG/opt/$PRGNAM/resources/app/docs/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/Logseq/Logseq.desktop b/office/Logseq/Logseq.desktop
new file mode 100644
index 0000000000..2816157c66
--- /dev/null
+++ b/office/Logseq/Logseq.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Logseq
+Comment=Open Source platform for knowledge sharing and management
+Comment[fr]=Plateforme Open Source pour le partage et la gestion des connaissances
+Exec=logseq %u
+Terminal=false
+Type=Application
+Icon=logseq
+StartupWMClass=logseq
+Categories=Office
+MimeType=x-scheme-handler/logseq
diff --git a/office/Logseq/Logseq.info b/office/Logseq/Logseq.info
new file mode 100644
index 0000000000..b729316205
--- /dev/null
+++ b/office/Logseq/Logseq.info
@@ -0,0 +1,10 @@
+PRGNAM="Logseq"
+VERSION="0.9.2"
+HOMEPAGE="https://logseq.com/"
+DOWNLOAD="https://github.com/logseq/logseq/releases/download/0.9.2/Logseq-linux-x64-0.9.2.zip"
+MD5SUM="016192132f7d05c33866b226cdbc4ac8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Frederic Galusik"
+EMAIL="f@galusik.fr"
diff --git a/office/Logseq/README b/office/Logseq/README
new file mode 100644
index 0000000000..7050e88987
--- /dev/null
+++ b/office/Logseq/README
@@ -0,0 +1,4 @@
+Logseq is a privacy-first, open-source platform for knowledge
+management and collaboration.
+
+Pre-built binary release.
diff --git a/office/rednotebook/doinst.sh b/office/Logseq/doinst.sh
index 4a25de5e6f..65c7e2eeb9 100644
--- a/office/rednotebook/doinst.sh
+++ b/office/Logseq/doinst.sh
@@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
diff --git a/office/Logseq/logseq.png b/office/Logseq/logseq.png
new file mode 100644
index 0000000000..7d9f1c803a
--- /dev/null
+++ b/office/Logseq/logseq.png
Binary files differ
diff --git a/office/teapot/slack-desc b/office/Logseq/slack-desc
index 5dd34fd672..b9c28a128d 100644
--- a/office/teapot/slack-desc
+++ b/office/Logseq/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-teapot: teapot (ncurses based spreadsheet)
-teapot:
-teapot: Teapot is a compact spreadsheet software originally
-teapot: written by Michael Haardt. It features a (n)curses-based text
-teapot: terminal interface, and recently also a FLTK-based GUI.
-teapot:
-teapot:
-teapot:
-teapot:
-teapot:
-teapot:
+Logseq: Logseq (Logseq desktop application)
+Logseq:
+Logseq: A privacy-first, open-source platform for knowledge management
+Logseq: and collaboration.
+Logseq:
+Logseq: (Prebuilt binary release)
+Logseq:
+Logseq:
+Logseq:
+Logseq:
+Logseq:
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index b647bb79f0..a9b164a219 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MasterPDFEditor
-# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MasterPDFEditor
SRCNAM=master-pdf-editor
-VERSION=${VERSION:-5.4.20}
+VERSION=${VERSION:-5.9.82}
MAJVER=${MAJVER:-5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,26 +40,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- SOURCEARCH=".i386"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- SOURCEARCH="i386"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- SOURCEARCH="-qt4.amd64"
+if [ "$ARCH" = "x86_64" ]; then
+ SOURCEARCH="-qt5.x86_64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "Architecture is not supported."
+ exit 1
fi
set -e
@@ -66,13 +63,15 @@ mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
rm -rf $SRCNAM-$MAJVER
tar xvf $CWD/${SRCNAM}-${VERSION}${SOURCEARCH}.tar.gz
-chown -R root:root $SRCNAM-$MAJVER
-find -L $SRCNAM-$MAJVER \
+cd $SRCNAM-$MAJVER
+chown -R root:root .
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -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 ..
mv $SRCNAM-$MAJVER $PKG/opt
cd $PKG/opt/$SRCNAM-$MAJVER
@@ -80,7 +79,7 @@ mkdir -p $PKG/usr/bin
( ln -s /opt/$SRCNAM-$MAJVER/masterpdfeditor${MAJVER} $PKG/usr/bin/ )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv license.txt $PKG/usr/doc/$PRGNAM-$VERSION
+mv license_en.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/applications/
@@ -91,4 +90,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/office/MasterPDFEditor/MasterPDFEditor.info b/office/MasterPDFEditor/MasterPDFEditor.info
index b7f5eca9d4..45e416b99e 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.info
+++ b/office/MasterPDFEditor/MasterPDFEditor.info
@@ -1,10 +1,10 @@
PRGNAM="MasterPDFEditor"
-VERSION="5.4.20"
+VERSION="5.9.82"
HOMEPAGE="https://code-industry.net/"
-DOWNLOAD="https://code-industry.net/public/master-pdf-editor-5.4.20.i386.tar.gz"
-MD5SUM="996e7bf410435c695f2cfd509395f09b"
-DOWNLOAD_x86_64="https://code-industry.net/public/master-pdf-editor-5.4.20-qt4.amd64.tar.gz"
-MD5SUM_x86_64="44742808195f203ac7aa22b52f3c51f5"
-REQUIRES=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://code-industry.net/public/master-pdf-editor-5.9.82-qt5.x86_64.tar.gz"
+MD5SUM_x86_64="7697e22a481f4f02d2cb9e98d899c000"
+REQUIRES="pkcs11-helper"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/office/MasterPDFEditor4/MasterPDFEditor4.SlackBuild b/office/MasterPDFEditor4/MasterPDFEditor4.SlackBuild
new file mode 100644
index 0000000000..ccf179c382
--- /dev/null
+++ b/office/MasterPDFEditor4/MasterPDFEditor4.SlackBuild
@@ -0,0 +1,95 @@
+#!/bin/bash
+
+# Slackware build script for <MasterPDFEditor4>
+
+# Copyright 2023 Petar Petrov slackalaxy at gmail dot com
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=MasterPDFEditor4
+SRCNAM=master-pdf-editor
+VERSION=${VERSION:-4.3.89}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" != "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 $TMP
+rm -rf $SRCNAM-${VERSION%.*.*}
+tar xvf $CWD/$SRCNAM-${VERSION}_qt5.amd64.tar.gz
+cd $SRCNAM-${VERSION%.*.*}
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/opt/$PRGNAM
+cp -a --no-preserve=ownership * $PKG/opt/$PRGNAM
+
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+cp masterpdfeditor${VERSION%.*.*}.png $PKG/usr/share/pixmaps/$PRGNAM.png
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/bin
+cd $PKG/usr/bin
+ln -s ../../opt/$PRGNAM/masterpdfeditor4 $PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/MasterPDFEditor4/MasterPDFEditor4.desktop b/office/MasterPDFEditor4/MasterPDFEditor4.desktop
new file mode 100644
index 0000000000..832f9db24f
--- /dev/null
+++ b/office/MasterPDFEditor4/MasterPDFEditor4.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=MasterPDFEditor4
+Comment=Edit PDF files
+Exec=MasterPDFEditor4
+Icon=MasterPDFEditor4
+StartupNotify=false
+Type=Application
+Categories=Office
diff --git a/office/MasterPDFEditor4/MasterPDFEditor4.info b/office/MasterPDFEditor4/MasterPDFEditor4.info
new file mode 100644
index 0000000000..40855c2a87
--- /dev/null
+++ b/office/MasterPDFEditor4/MasterPDFEditor4.info
@@ -0,0 +1,10 @@
+PRGNAM="MasterPDFEditor4"
+VERSION="4.3.89"
+HOMEPAGE="https://code-industry.net/free-pdf-editor/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="http://code-industry.net/public/master-pdf-editor-4.3.89_qt5.amd64.tar.gz"
+MD5SUM_x86_64="51a6f2963b79ebf0125faa9285f5456c"
+REQUIRES=""
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/office/MasterPDFEditor4/README b/office/MasterPDFEditor4/README
new file mode 100644
index 0000000000..a3b06a0de2
--- /dev/null
+++ b/office/MasterPDFEditor4/README
@@ -0,0 +1,12 @@
+Master PDF Editor allows you to create, edit, preview, encrypt, sign
+and print XPS and interactive PDF documents.
+It's powerful editing features allow you to convert between PDF and
+XPS formats, add interactive controls such as buttons, text fields,
+check boxes, and event handlers to your documents, split and merge
+PDF files.
+
+The Linux-based version is free for non-commercial use.
+
+This is version 4, which still saving without a watermark from the trial
+version. If you are looking for the latest version of the program, look
+for "MaterPDFEditor", instead.
diff --git a/office/TaskCoach/doinst.sh b/office/MasterPDFEditor4/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/office/TaskCoach/doinst.sh
+++ b/office/MasterPDFEditor4/doinst.sh
diff --git a/office/MasterPDFEditor4/slack-desc b/office/MasterPDFEditor4/slack-desc
new file mode 100644
index 0000000000..cb21ac2afa
--- /dev/null
+++ b/office/MasterPDFEditor4/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+MasterPDFEditor4: MasterPDFEditor4 (PDF Editor)
+MasterPDFEditor4:
+MasterPDFEditor4: Master PDF Editor allows you to create, edit, preview, encrypt, sign
+MasterPDFEditor4: and print XPS and interactive PDF documents.
+MasterPDFEditor4: It's powerful editing features allow you to convert between PDF and
+MasterPDFEditor4: XPS formats, add interactive controls such as buttons, text fields,
+MasterPDFEditor4: check boxes, and event handlers to your documents, split and merge
+MasterPDFEditor4: PDF files.
+MasterPDFEditor4:
+MasterPDFEditor4: Project URL: https://code-industry.net/
+MasterPDFEditor4:
diff --git a/office/NME/NME.SlackBuild b/office/NME/NME.SlackBuild
index 8db3c7d765..1f10f170ab 100644
--- a/office/NME/NME.SlackBuild
+++ b/office/NME/NME.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NME
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220217 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix download URL and homepage.
+# - include nmeepub and nmegtk in the package.
+# - actually use SLKCFLAGS.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NME
VERSION=${VERSION:-130323}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,20 +76,17 @@ unzip -o $CWD/$PRGNAM-$VERSION.zip
mv $PRGNAM-distrib $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 20220217 bkw: permissions are rotten, do not revert to template.
+find . -type f -exec chmod 644 {} \+
+find . -type d -exec chmod 755 {} \+
+
+sed -i -e "/FLAGS/s,-g\\>,$SLKCFLAGS," Makefile
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+TARGETS="nme nmeepub nmegtk"
-install -m 0755 nme $PKG/usr/bin/nme
+make $TARGETS ZLIB=/usr/include/minizip zipObjects=-lminizip
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+install -D -s -m0755 $TARGETS $PKG/usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.html *.txt $PKG/usr/doc/$PRGNAM-$VERSION
@@ -87,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/office/NME/NME.info b/office/NME/NME.info
index 790825c544..76a3b2ff14 100644
--- a/office/NME/NME.info
+++ b/office/NME/NME.info
@@ -1,10 +1,10 @@
PRGNAM="NME"
VERSION="130323"
-HOMEPAGE="http://www.nyctergatis.com/creole"
-DOWNLOAD="http://nyctergatis.com/creole/NME-130323.zip"
+HOMEPAGE="https://nyctergatis.com/nme/"
+DOWNLOAD="https://launchpad.net/nme/1.2.2/1.2.2/+download/NME-130323.zip"
MD5SUM="d924f0d994b71bc79e5015bd365142e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libminizip"
MAINTAINER="Antonio Hernández Blas"
EMAIL="hba.nihilismus@gmail.com"
diff --git a/office/ProjectLibre/ProjectLibre.SlackBuild b/office/ProjectLibre/ProjectLibre.SlackBuild
index 8f185b679e..048f393e8e 100644
--- a/office/ProjectLibre/ProjectLibre.SlackBuild
+++ b/office/ProjectLibre/ProjectLibre.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild Script for ProjectLibre
-# Copyright 2012-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2012-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,15 +21,25 @@
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ProjectLibre
-VERSION=${VERSION:-1.9.1}
+VERSION=${VERSION:-1.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
SRCNAM=projectlibre
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -75,4 +85,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
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/office/ProjectLibre/ProjectLibre.info b/office/ProjectLibre/ProjectLibre.info
index 4959778b6a..8bbdcc989c 100644
--- a/office/ProjectLibre/ProjectLibre.info
+++ b/office/ProjectLibre/ProjectLibre.info
@@ -1,10 +1,10 @@
PRGNAM="ProjectLibre"
-VERSION="1.9.1"
+VERSION="1.9.3"
HOMEPAGE="https://sourceforge.net/projects/projectlibre/"
-DOWNLOAD="https://downloads.sourceforge.net/projectlibre/projectlibre-1.9.1.tar.gz"
-MD5SUM="93083e41a364a6b3d140b03c68ce2eee"
+DOWNLOAD="https://downloads.sourceforge.net/projectlibre/projectlibre-1.9.3.tar.gz"
+MD5SUM="00ba2b6f674fbdf781b04830c8d8a973"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/office/ReText/README b/office/ReText/README
index 1874528975..5b2a0a78dc 100644
--- a/office/ReText/README
+++ b/office/ReText/README
@@ -1,8 +1,6 @@
ReText is a simple but powerful editor for Markdown and
-reStructuredText markup languages. ReText is written in
-Python language and works on Linux and other POSIX-
-compatible platforms.
+reStructuredText markup languages. ReText is written in Python
+language and works on Linux and other POSIX-compatible platforms.
-It has some optional dependencies, e.g. Pygments, MarkupSafe,
-docutils, Markdown, etc.
+It has some optional dependencies, e.g. MarkupSafe, Markdown, etc.
This depends on the functions you enabled in ReText.
diff --git a/office/ReText/ReText.SlackBuild b/office/ReText/ReText.SlackBuild
index 59684d3525..45111523aa 100644
--- a/office/ReText/ReText.SlackBuild
+++ b/office/ReText/ReText.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ReText
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ReText
VERSION=${VERSION:-7.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/ReText/ReText.info b/office/ReText/ReText.info
index 3dd43ad5fb..1f0ed3b32e 100644
--- a/office/ReText/ReText.info
+++ b/office/ReText/ReText.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/31/91/6eff0afd947ca945dd63bb4f
MD5SUM="06a9ff30858db23ea170a2c028392adb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 Markups python3-PyQt5 Markdown python-markdown-math"
+REQUIRES="Markups python-markdown-math"
MAINTAINER="MDrights"
EMAIL="psychi2009@gmail.com"
diff --git a/office/SOGo/README b/office/SOGo/README
index 448d935874..53fcf69222 100644
--- a/office/SOGo/README
+++ b/office/SOGo/README
@@ -11,8 +11,9 @@ middle of your servers to offer your users a uniform and complete
interface to access their information. It has been deployed in
production environments where thousands of users are involved.
-Additional documentation can be installed by setting
-INSTALL_DOCS=yes when executing this script.
+The optional extra documentation (PDF files) will be installed if
+they are present in the script's directory. You can download these by
+running "sh getdocs.sh".
Groupname and Username
diff --git a/office/SOGo/SOGo.SlackBuild b/office/SOGo/SOGo.SlackBuild
index f0c500eeac..4866cfa171 100644
--- a/office/SOGo/SOGo.SlackBuild
+++ b/office/SOGo/SOGo.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SOGo
-# Copyright 2018-2019 Chris Walker Kempner, TX
+# Copyright 2018-2020 Chris Walker Kempner, TX
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220218 bkw: Modified by SlackBuilds.org:
+# - get the docs out of DOWNLOAD in the info file. they were getting
+# downloaded (or failing to, due to user-agent checking on the
+# server), but only installed if the user set an environment
+# variable.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SOGo
-VERSION=${VERSION:-4.0.7}
+VERSION=${VERSION:-5.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,9 +94,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -131,17 +144,18 @@ sed -e "s,/lib/GNUstep,/lib${LIBDIRSUFFIX}/GNUstep,g" \
# Install documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING.GPL COPYING.LGPL ChangeLog ChangeLog.old NEWS README.md \
+ COPYING.GPL COPYING.LGPL ChangeLog ChangeLog.old README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-if [ "${INSTALL_DOCS:-no}" != "no" ]; then
- cp -a \
- $CWD/SOGoInstallationGuide.pdf \
- $CWD/SOGoMozillaThunderbirdConfigurationGuide.pdf \
- $CWD/SOGoOutlookConnectorConfigurationGuide.pdf \
- $PKG/usr/doc/$PRGNAM-$VERSION
-fi
+# 20220218 bkw: install PDF docs, if available.
+for i in \
+ SOGoInstallationGuide \
+ SOGoMozillaThunderbirdConfigurationGuide \
+ SOGoOutlookConnectorConfigurationGuide
+do
+ [ -e $CWD/$i.pdf ] && cat $CWD/$i.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/$i.pdf
+done
# Install backup script
cat Scripts/sogo-backup.sh > $PKG/usr/doc/$PRGNAM-$VERSION/sogo-backup.sh
@@ -165,4 +179,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/SOGo/SOGo.info b/office/SOGo/SOGo.info
index e1f11e1ab8..9cb4882bb9 100644
--- a/office/SOGo/SOGo.info
+++ b/office/SOGo/SOGo.info
@@ -1,14 +1,8 @@
PRGNAM="SOGo"
-VERSION="4.0.7"
+VERSION="5.0.1"
HOMEPAGE="https://sogo.nu/"
-DOWNLOAD="https://sogo.nu/files/downloads/SOGo/Sources/SOGo-4.0.7.tar.gz \
- https://sogo.nu/files/docs/SOGoInstallationGuide.pdf \
- https://sogo.nu/files/docs/SOGoMozillaThunderbirdConfigurationGuide.pdf \
- https://sogo.nu/files/docs/SOGoOutlookConnectorConfigurationGuide.pdf"
-MD5SUM="9528263eb8f13cee637ff869ca21d81c \
- edfe02db87a7a00f277e7a0b35caca6d \
- 4280e6a9b1ca2e01e3027089ad98bde8 \
- 4e1cd8c6c9e47c01c03a95a5f9ed8c9f"
+DOWNLOAD="https://packages.sogo.nu/sources/SOGo-5.0.1.tar.gz"
+MD5SUM="f7112b11568d68d58b32fb4ba64a8bbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SOPE libmemcached"
diff --git a/office/SOGo/docs.md5sums b/office/SOGo/docs.md5sums
new file mode 100644
index 0000000000..8d5c113023
--- /dev/null
+++ b/office/SOGo/docs.md5sums
@@ -0,0 +1,3 @@
+cf8bd301773b32d63b6efb9363d543f9 SOGoInstallationGuide.pdf
+b15b25c66158d68adc5acdb08355566d SOGoMozillaThunderbirdConfigurationGuide.pdf
+812601272142416df7e939ccccbf330c SOGoOutlookConnectorConfigurationGuide.pdf
diff --git a/office/SOGo/getdocs.sh b/office/SOGo/getdocs.sh
new file mode 100644
index 0000000000..cdbbc6513c
--- /dev/null
+++ b/office/SOGo/getdocs.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# 20220218 bkw: download the PDF docs for SOGo. upstream site does
+# user-agent checking, so we pretend to be an ancient version of
+# firefox.
+
+wget --user-agent 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)' \
+ https://sogo.nu/files/docs/SOGoInstallationGuide.pdf \
+ https://sogo.nu/files/docs/SOGoMozillaThunderbirdConfigurationGuide.pdf \
+ https://sogo.nu/files/docs/SOGoOutlookConnectorConfigurationGuide.pdf
+
+md5sum -c docs.md5sums
+exit $?
diff --git a/office/TaskCoach/README b/office/TaskCoach/README
deleted file mode 100644
index ca1e26e38b..0000000000
--- a/office/TaskCoach/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Task Coach is a simple open source todo manager to keep track
-of personal tasks and todo lists. It is designed for composite
-tasks, and also offers effort tracking, categories, notes and
-more.
diff --git a/office/TaskCoach/TaskCoach.desktop b/office/TaskCoach/TaskCoach.desktop
deleted file mode 100644
index e8502c238c..0000000000
--- a/office/TaskCoach/TaskCoach.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Task Coach
-Comment= Your friendly task manager
-Exec=taskcoach.py
-Icon=taskcoach
-Terminal=false
-Type=Application
-Categories=Office;
diff --git a/office/TaskCoach/TaskCoach.info b/office/TaskCoach/TaskCoach.info
deleted file mode 100644
index b442f39224..0000000000
--- a/office/TaskCoach/TaskCoach.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="TaskCoach"
-VERSION="1.4.3"
-HOMEPAGE="http://taskcoach.org/"
-DOWNLOAD="http://downloads.sourceforge.net/taskcoach/TaskCoach-1.4.3.tar.gz"
-MD5SUM="10c145061ea72b9ecbb9e276cc3ef10c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wxPython python-twisted"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/office/Ted/README b/office/Ted/README
index da0d6ebebf..297220cc1d 100644
--- a/office/Ted/README
+++ b/office/Ted/README
@@ -1,9 +1,9 @@
-Ted is a lightweight Word-processor that uses the RTF-format. It supports
-multiple fonts and can print to PostScript printers. Ted is simple to use,
-is easily compiled.
+Ted is a lightweight Word-processor that uses the RTF-format. It
+supports multiple fonts and can print to PostScript printers. Ted is
+simple to use, is easily compiled.
-Additional packages with spellcheckers for different languages exist and
-can be downloaded from the Ted homepage.
+Additional packages with spellcheckers for different languages exist
+and can be downloaded from the Ted homepage.
While Ted builds with the GTK+ widgets by default, you can build Ted
with Motif widgets by passing WIDGET=motif variable to the script. This
diff --git a/office/Ted/Ted.SlackBuild b/office/Ted/Ted.SlackBuild
index b603e4ca54..9c26c8cfbd 100644
--- a/office/Ted/Ted.SlackBuild
+++ b/office/Ted/Ted.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Ted
# Copyright 2019 GOSIKI Agiri <agiri@cocaine.ninja>.
@@ -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=Ted
VERSION=${VERSION:-2.23}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/office/abiword/README b/office/abiword/README
index b24aab03ef..1bd40e84b2 100644
--- a/office/abiword/README
+++ b/office/abiword/README
@@ -1,9 +1,14 @@
-The AbiWord word processor is a lightweight and featureful productivity
-tool that is suitable for a wide variety of word processing tasks.
+The AbiWord word processor is a lightweight and featureful
+productivity tool that is suitable for a wide variety of word
+processing tasks.
-goffice and gnome-vfs are optional dependencies, but gnome-vfs doesn't add
-anything useful.
+goffice and gnome-vfs are optional dependencies, but gnome-vfs doesn't
+add anything useful.
-evince is an optional runtime dependency since it's the default application
-to show print previews, but you can avoid it by adding something like this
-to your ~/.gtkrc-2.0 file: gtk-print-preview-command="xpdf -q %f"
+evince is an optional runtime dependency since it's the
+default application to show print previews, but you can avoid
+it by adding something like this to your ~/.gtkrc-2.0 file:
+gtk-print-preview-command="xpdf -q %f"
+
+asio is an optional dependency. It enables the TCP collaboration
+plugin. If you don't know what this is, you probably don't need it.
diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild
index 77fdffe278..11707f4c3a 100644
--- a/office/abiword/abiword.SlackBuild
+++ b/office/abiword/abiword.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for abiword
@@ -26,12 +26,23 @@
# work correctly on Slackware
# Now maintained by Robby Workman <rworkman@slackbuilds.org>
+# 20200622 bkw: updated for v3.0.4, which fixes the flickering issue.
+# abiword-docs hasn't seen a new release, we're still on 3.0.2 there.
+
+# 20220218 bkw: updated for v3.0.5, which keeps the build from breaking
+# if asio is installed. added a note to README about asio. also, remove
+# the .la file from the package. still no new abiword-docs release.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=abiword
-VERSION=${VERSION:-3.0.2}
-DOCSVER=$VERSION # version of abiword-docs
-DOCTAR=3.0.1 # sigh, the tarball contains abiword-docs-3.0.1 still
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.5}
+DOCSVER=3.0.2 # version of abiword-docs
+DOCTAR=3.0.1 # sigh, the tarball contains abiword-docs-3.0.1 still
+ # (DOCTAR WHO?)
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +52,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,12 +88,17 @@ tar xvf $CWD/abiword-docs-$DOCSVER.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
+
+patch -p1 < $CWD/enchant-2.1.patch
-# https://bugs.archlinux.org/task/46659
-patch -p1 < $CWD/bug13815.patch
+# 20200622 bkw: don't let abiword create /root/.config/abiword/profile
+# during the build process. Don't break ccache in the process.
+mkdir -p tmphome
+export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
+export HOME=$( pwd )/tmphome
CPPFLAGS="-I$TMP/$PRGNAM-$VERSION" \
CFLAGS="$SLKCFLAGS" \
@@ -98,7 +118,7 @@ CXXFLAGS="$SLKCFLAGS -std=c++11" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
# Now install the separate abiword-docs
cd abiword-docs-$DOCTAR
@@ -118,21 +138,19 @@ cd abiword-docs-$DOCTAR
make install DESTDIR=$PKG
cd ..
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
+# 20200622 bkw: Skip useless docs. ChangeLog is a 0-byte placeholder,
+# INSTALL is generic GNU confgure instructions.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- *.txt *.TXT AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt *.TXT AUTHORS COPYING README NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/abiword/abiword.info b/office/abiword/abiword.info
index 45f7615d73..c7893de20a 100644
--- a/office/abiword/abiword.info
+++ b/office/abiword/abiword.info
@@ -1,9 +1,9 @@
PRGNAM="abiword"
-VERSION="3.0.2"
+VERSION="3.0.5"
HOMEPAGE="http://www.abisource.com"
-DOWNLOAD="http://abisource.com/downloads/abiword/3.0.2/source/abiword-3.0.2.tar.gz \
+DOWNLOAD="http://abisource.com/downloads/abiword/3.0.5/source/abiword-3.0.5.tar.gz \
http://abisource.com/downloads/abiword/3.0.2/source/abiword-docs-3.0.2.tar.gz"
-MD5SUM="cda6dd58c747c133b421cc7eb18f5796 \
+MD5SUM="a8f218b711450e4ccae43a0522e0e806 \
c92c0e1e2081db20757231a53d80c338"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/abiword/bug13815.patch b/office/abiword/bug13815.patch
deleted file mode 100644
index 88a5ca4c38..0000000000
--- a/office/abiword/bug13815.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-commit 2ee38d1881aeea27bb49acc450631d813d1f28ba
-Author: Hubert Figuière <hub@figuiere.net>
-Date: Wed Dec 7 09:44:01 2016 -0500
-
- Bug 13815 - draw event should return TRUE
-
- This fix the black drawing regression witj Gtk3.22
-
-diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.cpp b/src/af/xap/gtk/xap_UnixFrameImpl.cpp
-index 780000e..10f8e00 100644
---- a/src/af/xap/gtk/xap_UnixFrameImpl.cpp
-+++ b/src/af/xap/gtk/xap_UnixFrameImpl.cpp
-@@ -1208,9 +1208,9 @@ gint XAP_UnixFrameImpl::_fe::delete_event(GtkWidget * w, GdkEvent * /*event*/, g
- }
-
- #if GTK_CHECK_VERSION(3,0,0)
--gint XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
-+gboolean XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr)
- #else
--gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
-+gboolean XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
- #endif
- {
- XAP_UnixFrameImpl * pUnixFrameImpl = static_cast<XAP_UnixFrameImpl *>(g_object_get_data(G_OBJECT(w), "user_data"));
-@@ -1243,7 +1243,7 @@ gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent)
- pView->draw(&rClip);
- #endif
- }
-- return FALSE;
-+ return TRUE;
- }
-
- static bool bScrollWait = false;
-diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.h b/src/af/xap/gtk/xap_UnixFrameImpl.h
-index 30ee5d8..a0ff57f 100644
---- a/src/af/xap/gtk/xap_UnixFrameImpl.h
-+++ b/src/af/xap/gtk/xap_UnixFrameImpl.h
-@@ -152,9 +152,9 @@ protected:
- static gint key_release_event(GtkWidget* w, GdkEventKey* e);
- static gint delete_event(GtkWidget * w, GdkEvent * /*event*/, gpointer /*data*/);
- #if GTK_CHECK_VERSION(3,0,0)
-- static gint draw(GtkWidget * w, cairo_t * cr);
-+ static gboolean draw(GtkWidget * w, cairo_t * cr);
- #else
-- static gint expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
-+ static gboolean expose(GtkWidget * w, GdkEventExpose* pExposeEvent);
- #endif
- static gint do_ZoomUpdate( gpointer /* xap_UnixFrame * */ p);
- static void vScrollChanged(GtkAdjustment * w, gpointer /*data*/);
diff --git a/office/abiword/enchant-2.1.patch b/office/abiword/enchant-2.1.patch
new file mode 100644
index 0000000000..010aac1009
--- /dev/null
+++ b/office/abiword/enchant-2.1.patch
@@ -0,0 +1,29 @@
+--- abiword-3.0.2/src/af/xap/xp/enchant_checker.cpp.orig 2013-04-07 13:53:03.000000000 +0000
++++ abiword-3.0.2/src/af/xap/xp/enchant_checker.cpp 2017-11-19 22:54:41.236180298 +0000
+@@ -127,7 +127,7 @@
+ pvSugg->addItem (ucszSugg);
+ }
+
+- enchant_dict_free_suggestions (m_dict, suggestions);
++ enchant_dict_free_string_list (m_dict, suggestions);
+ }
+
+ return pvSugg;
+@@ -139,7 +139,7 @@
+
+ if (word && len) {
+ UT_UTF8String utf8 (word, len);
+- enchant_dict_add_to_personal (m_dict, utf8.utf8_str(), utf8.byteLength());
++ enchant_dict_add (m_dict, utf8.utf8_str(), utf8.byteLength());
+ return true;
+ }
+ return false;
+@@ -150,7 +150,7 @@
+ UT_return_val_if_fail (m_dict, false);
+
+ UT_UTF8String ignore (toCorrect, toCorrectLen);
+- return enchant_dict_is_in_session (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
++ return enchant_dict_is_added (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
+ }
+
+ void EnchantChecker::ignoreWord (const UT_UCSChar *toCorrect, size_t toCorrectLen)
diff --git a/office/abook/abook.SlackBuild b/office/abook/abook.SlackBuild
index 45031e240b..e723fc2b1b 100644
--- a/office/abook/abook.SlackBuild
+++ b/office/abook/abook.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for abook
@@ -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=abook
VERSION=${VERSION:-0.6.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}
@@ -75,7 +85,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
aclocal && automake --add-missing && autoconf
-sed 's/0.18/0.19/g' -i po/Makefile.in.in
+sed 's/0.18/0.20/g' -i po/Makefile.in.in
# thanks to the archers for this patch ;)
patch -p1 -i $CWD/gcc5.patch
@@ -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/office/abook/abook.info b/office/abook/abook.info
index b269398448..c99bc99e4d 100644
--- a/office/abook/abook.info
+++ b/office/abook/abook.info
@@ -6,5 +6,5 @@ MD5SUM="4bffd4c47ac41b688abd58f65bfe0bfb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Frédéric Galusik"
-EMAIL="slack+SBo@galusik.xyz"
+MAINTAINER="Frederic Galusik"
+EMAIL="f@galusik.fr"
diff --git a/office/adobe-reader-fontpacks/README b/office/adobe-reader-fontpacks/README
index 1b48b5a61f..b1175b52ff 100644
--- a/office/adobe-reader-fontpacks/README
+++ b/office/adobe-reader-fontpacks/README
@@ -1,25 +1,27 @@
Asian and Extended Language Font Packs for Adobe Reader
-There are several additional Font Packs available for Adobe Reader so you can
-display and interact with documents authored in languages other than those
-supported in your native Adobe Reader. They fall in to 2 different categories.
+There are several additional Font Packs available for Adobe Reader
+so you can display and interact with documents authored in languages
+other than those supported in your native Adobe Reader. They fall in
+to 2 different categories.
-Chinese Simplified, Chinese Traditional, Japanese and Korean Font Packs:
-They are needed to correctly display a document when an author does not embed
-the appropriate font in to the document. They are also needed when the author
-does embed the font, but the reader of the document wishes to interact in some
-way with its content ? e.g. collaborating, commenting or filling out forms.
+Chinese Simplified, Chinese Traditional, Japanese and Korean Font
+Packs: They are needed to correctly display a document when an author
+does not embed the appropriate font in to the document. They are
+also needed when the author does embed the font, but the reader
+of the document wishes to interact in some way with its content
+? e.g. collaborating, commenting or filling out forms.
-Extended Language Font Pack:
-This Font Pack covers Hebrew, Arabic, Thai, Vietnamese as well as the Eastern
-and Central European languages (including Cyrillic and Greek scripts).
-Documents in these languages always have their fonts embedded. Therefore,
-similar to the previous case, this Font Pack is needed only if the reader of
-the document wishes to interact in some way with its content - e.g.
-collaborating, commenting or filling out forms.
+Extended Language Font Pack: This Font Pack covers Hebrew, Arabic,
+Thai, Vietnamese as well as the Eastern and Central European languages
+(including Cyrillic and Greek scripts). Documents in these languages
+always have their fonts embedded. Therefore, similar to the previous
+case, this Font Pack is needed only if the reader of the document
+wishes to interact in some way with its content - e.g. collaborating,
+commenting or filling out forms.
-The Slackbuild can be built with only one of the fontpacks but will include
-all of them if they are available in the directory.
+The Slackbuild can be built with only one of the fontpacks but will
+include all of them if they are available in the directory.
-adobe-reader is not "required" to build this package but the package will be
-completely useless without it.:-)
+adobe-reader is not "required" to build this package but the package
+will be completely useless without it. :-)
diff --git a/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild b/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild
index 828cb15b2d..93e50f27b2 100644
--- a/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild
+++ b/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for adobe_reader-fontpacks
@@ -22,25 +22,44 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adobe-reader-fontpacks
VERSION=${VERSION:-9.1}
-ARCH=i486
+# SRCARCH/ARCH should avoid linter warnings
+# DW 2023-05-15
+SRCARCH=i486
+ARCH=i586
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}
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ???KIT xtdfont
+# Use this as our tmp directory. Safer than rm'ing globbed dirs in $TMP
+# DW 2023-05-15
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
-LIST=$(ls $CWD/FontPack910_???_i486-linux.tar.bz2 2>/dev/null || (echo "ERROR: no FontPack tarball available, you need at least one of the files listed in the info file to build the package." > /dev/stderr ; exit 1))
+# builtin echo rather than ls
+# DW 2023-05-15
+LIST=$(echo $CWD/FontPack910_???_${SRCARCH}-linux.tar.bz2 2>/dev/null || (echo "ERROR: no FontPack tarball available, you need at least one of the files listed in the info file to build the package." > /dev/stderr ; exit 1))
mkdir $PKG/opt
@@ -58,10 +77,12 @@ do
cd -
done
-rm $PKG/opt/INSTALL
+rm -f $PKG/opt/INSTALL
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/opt/LICREAD.TXT \
+# Not all packs have LICREAD.TXT
+# DW 2023-05-15
+[ -e $PKG/opt/LICREAD.TXT ] && cp -a $PKG/opt/LICREAD.TXT \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -69,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/adobe-reader/README b/office/adobe-reader/README
index 95d9d1bb3f..96d4a98e5d 100644
--- a/office/adobe-reader/README
+++ b/office/adobe-reader/README
@@ -1,6 +1,13 @@
Adobe's Acrobat Reader application (official binary) repackaged
in "Slackware style" for easier system maintenance.
-xulrunner is an optional dependency (for the browser plugin).
+This only works on the x86 architecture (no x86_64, arm, ...), although
+it may work on x86_64 systems with alienBOB's multilib installed.
-This only works on the x86 architecture (no x86_64, arm, ...).
+Note: The package will have the 3-letter language code in
+the version number. The default language is "enu" (for US
+English). E.g. for VERSION=9.5.5, the package will be called
+adobe-reader-9.5.5_enu-i486-1_SBo.tgz by default. To use a different
+language, first download the .tgz file for that language from Adobe's
+site, then set ADOBE_LANG="xxx" in the environment, where "xxx" is the
+3-letter language code and run the SlackBuild.
diff --git a/office/adobe-reader/adobe-reader.SlackBuild b/office/adobe-reader/adobe-reader.SlackBuild
index 669876f7df..e36b6315b5 100644
--- a/office/adobe-reader/adobe-reader.SlackBuild
+++ b/office/adobe-reader/adobe-reader.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for acroread - binary repackaging
@@ -26,27 +26,42 @@
# Thanks to Andrew Brouwers for the original SlackBuild script and for
# permission to modify it as needed.
+# 20220401 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - make desktop file validate.
+# - use relative symlinks, not absolute.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adobe-reader
VERSION=${VERSION:-9.5.5}
-ARCH=i486 # Leave this alone for acroread
-BUILD=${BUILD:-1}
+# SRCARCH/ARCH should stop lint scripts warnings - DW 2023-05-15 18:33:15 +0100
+SRCARCH=i486 # Leave this alone for acroread
+ARCH=i586
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# Use ADOBE_LANG for installing a different language version of acroread
+# Moved here so that PRINT_PACKAGE_NAME outputs the correct name
+# DW 2023-05-15 18:32:26 +0100
+ADOBE_LANG=${ADOBE_LANG:-enu}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-${VERSION}_$ADOBE_LANG-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Use ADOBE_LANG for installing a different language version of acroread
-ADOBE_LANG=${ADOBE_LANG:-enu}
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf AdobeReader
-tar xvf $CWD/AdbeRdr${VERSION}-1_${ARCH}linux_${ADOBE_LANG}.tar.bz2
+tar xvf $CWD/AdbeRdr${VERSION}-1_${SRCARCH}linux_${ADOBE_LANG}.tar.bz2
VERSION=${VERSION}_$ADOBE_LANG
@@ -58,12 +73,18 @@ tar xf $TMP/AdobeReader/ILINXR.TAR
cd $PKG/opt/Adobe
+# 20220401 bkw: desktop-file-validate
+sed -i -e '/^Caption/d' \
+ -e '/^Categories/s,Application;,,' \
+ -e 's, *$,,' \
+ Reader9/Resource/Support/AdobeReader.desktop
+
# Remove stuff we don't need
rm -rf Reader9/Reader/HowTo
rm -r Reader9/Browser/{HowTo,install_browser_plugin}
# Add symlink for binary to /usr/bin
-( cd $PKG/usr/bin ; ln -sf /opt/Adobe/Reader9/bin/acroread . )
+( cd $PKG/usr/bin ; ln -sf ../../opt/Adobe/Reader9/bin/acroread . )
# Add symlink for browser plugins
mkdir -p $PKG/usr/lib/mozilla/plugins
@@ -99,11 +120,10 @@ cd -
# http://forums.adobe.com/thread/745833
sed -i 's/_filedir/_acroread_filedir/g' $PKG/opt/Adobe/Reader9/Resource/Shell/acroread_tab
-# Link bash_completion script to /etc/bash_completion.d
-mkdir -p $PKG/etc/bash_completion.d
-cd $PKG/etc/bash_completion.d
- ln -sf ../../opt/Adobe/Reader9/Resource/Shell/acroread_tab acroread
-cd -
+# Link completion script to /usr/share/bash-completion/completions
+mkdir -p $PKG/usr/share/bash-completion/completions
+ln -sf ../../../../opt/Adobe/Reader9/Resource/Shell/acroread_tab \
+ $PKG/usr/share/bash-completion/completions/acroread
# Move docs to their correct locations
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -120,10 +140,10 @@ find . -type d -exec chmod 755 {} \;
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# No stripping of binaries and such, as Firefox doesn't like naked acroread :D
# Just build the package... ;P
-/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/office/adobe-reader/adobe-reader.info b/office/adobe-reader/adobe-reader.info
index 480b3a0225..7eefadee4a 100644
--- a/office/adobe-reader/adobe-reader.info
+++ b/office/adobe-reader/adobe-reader.info
@@ -1,7 +1,7 @@
PRGNAM="adobe-reader"
VERSION="9.5.5"
HOMEPAGE="https://www.adobe.com/"
-DOWNLOAD="http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.tar.bz2"
+DOWNLOAD="https://slackware.uk/~urchlay/src/AdbeRdr9.5.5-1_i486linux_enu.tar.bz2"
MD5SUM="664d546fbf0ad91f20dcf3753b0a2684"
DOWNLOAD_x86_64="UNSUPPORTED"
MD5SUM_x86_64=""
diff --git a/office/aigaion/README b/office/aigaion/README
index 73748ff1cc..7eca9a2994 100644
--- a/office/aigaion/README
+++ b/office/aigaion/README
@@ -7,8 +7,8 @@ complete research department.
To complete installation:
- 1) Create a new MySQL database '<db_aigaion2>', with an appropriate user.
- The database is empty.
+ 1) Create a new MySQL database '<db_aigaion2>', with an appropriate
+ user. The database is empty.
2) Point your browser to:
http://<server>/<aigaion2_rootdir>/install/install.php
diff --git a/office/aigaion/aigaion.SlackBuild b/office/aigaion/aigaion.SlackBuild
index c048654cb3..4795aa9b7e 100644
--- a/office/aigaion/aigaion.SlackBuild
+++ b/office/aigaion/aigaion.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Aigaion
@@ -7,11 +7,17 @@
# Revision date: 2011/04/01
+# 20220403 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix ownership of documentation (root:root, not root:apache).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aigaion
VERSION=${VERSION:-2.2.b}
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
MAJORVERSION=2
DOCROOT=${DOCROOT:-/var/www/htdocs}
@@ -19,13 +25,17 @@ DOCROOT=${DOCROOT:-/var/www/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -46,9 +56,9 @@ cd $PRGNAM${MAJORVERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
cp -a $TMP/$PRGNAM$MAJORVERSION $PKG/$DOCROOT
@@ -63,8 +73,7 @@ chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM$MAJORVERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/$DOCROOT/$PRGNAM$MAJORVERSION
-cp -a \
- _INSTALL.txt _UPDATE.txt \
+install -m0644 -oroot -groot _INSTALL.txt _UPDATE.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -72,5 +81,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/office/aiksaurus/README b/office/aiksaurus/README
index 736094f721..a37ed59ece 100644
--- a/office/aiksaurus/README
+++ b/office/aiksaurus/README
@@ -1,12 +1,14 @@
-Aiksaurus is a set of libraries and applications which provide a thesaurus
-(currently English only, based on Guttenburg's Moby thesaurus) using native
-GUI on several platforms: UNIX (GTK+ & Qt), Win32 & MacOSX (Cocoa). The
-core library itself is platform-independent. The principal language is C++,
-with some use of Cocoa/ObjC++; wrappers are provided for C and Cocoa/ObjC.
+Aiksaurus is a set of libraries and applications which provide a
+thesaurus (currently English only, based on Guttenburg's Moby thesaurus)
+using native GUI on several platforms: UNIX (GTK+ & Qt), Win32 & MacOSX
+(Cocoa). The core library itself is platform-independent. The principal
+language is C++, with some use of Cocoa/ObjC++; wrappers are provided
+for C and Cocoa/ObjC.
-Aiksausus plugins exist for AbiWord on UNIX and Win32; the library is also
-used by Lyx; and the new Cocoa port provides a MacOSX NSService hook so
-that Safari and other such applications can use this thesaurus without
-Aiksaurus-specific development.
+Aiksausus plugins exist for AbiWord on UNIX and Win32; the library is
+also used by Lyx; and the new Cocoa port provides a MacOSX NSService
+hook so that Safari and other such applications can use this thesaurus
+without Aiksaurus-specific development.
-Use the command aiksaurus for cli component and gaiksaurus for gtk frontend.
+Use the command aiksaurus for cli component and gaiksaurus for gtk
+frontend.
diff --git a/office/aiksaurus/aiksaurus.SlackBuild b/office/aiksaurus/aiksaurus.SlackBuild
index 1b6be843a0..a007af40ad 100644
--- a/office/aiksaurus/aiksaurus.SlackBuild
+++ b/office/aiksaurus/aiksaurus.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aiksaurus
-# Copyright 2009 David Woodfall <dave@unrealize.co.uk>
+# Copyright 2009 David Woodfall <dave@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aiksaurus
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,7 +62,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG/usr/share/icons/gaiksaurus $OUTPUT $PKG/usr/share/applications
@@ -70,7 +80,7 @@ find -L . \
patch -p1 < $CWD/include-fixes.patch
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -89,6 +99,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS COPYING ChangeLog README README.W32 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
@@ -97,4 +109,4 @@ cp $CWD/gaiksaurus.png $PKG/usr/share/icons/gaiksaurus
cp $CWD/gaiksaurus.desktop $PKG/usr/share/applications
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/aiksaurus/aiksaurus.info b/office/aiksaurus/aiksaurus.info
index dd82a4a279..769b56baf7 100644
--- a/office/aiksaurus/aiksaurus.info
+++ b/office/aiksaurus/aiksaurus.info
@@ -1,10 +1,10 @@
PRGNAM="aiksaurus"
VERSION="1.2.1"
HOMEPAGE="http://aiksaurus.sourceforge.net"
-DOWNLOAD="http://unrealize.co.uk/source/aiksaurus-1.2.1.tar.gz"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/aiksaurus-1.2.1.tar.gz"
MD5SUM="3eae03b7c49843ccc9262e52846ea6b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@dawoodfall.net"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/office/anorack/README b/office/anorack/README
index 0f2124c1a3..bc7d7087f2 100644
--- a/office/anorack/README
+++ b/office/anorack/README
@@ -1,9 +1,11 @@
+anorack ("a" vs "an" checker)
+
The English language has two indefinite articles:
a: used before words that begin with a consonant sound (e.g., a
- program, a host, a user);
- an: used before words that begin with a vowel sound (e.g., an
- example, an hour, an undefined variable).
+ program, a host, a user);
+ an: used before words that begin with a vowel sound (e.g., an example,
+ an hour, an undefined variable).
anorack is a specialized spell-checker that finds incorrect indefinite
articles.
diff --git a/office/anorack/anorack.SlackBuild b/office/anorack/anorack.SlackBuild
index 86e4e1888e..21c554b7c6 100644
--- a/office/anorack/anorack.SlackBuild
+++ b/office/anorack/anorack.SlackBuild
@@ -1,59 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for anorack
-# Copyright 2018 Donald Cooley South Haven, Indiana 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.
+# Original author: Donald Cooley, South Haven, Indiana, USA.
+# Formerly maintained by: Brandon Pribula, BC Canada.
+# Now maintained by B. Watson (urchlay@slackware.uk).
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230914 bkw:
+# - take over maintenance.
+# - update for v0.2.8.
+# - relicense as WTFPL.
+# - tweak README and slack-desc slightly.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=anorack
-VERSION=${VERSION:-0.2.4}
+VERSION=${VERSION:-0.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -63,33 +41,20 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Install to /usr instead of /usr/local
-sed -i 's_/usr/local_/usr_' Makefile
-
-# Install man pages into /usr/man instead of /usr/share/man
-sed -i 's_/share/man_/man_' Makefile
-
-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 -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+[ "${MAKETEST:-no}" = "yes" ] && make test
+make install PREFIX=/usr mandir=/usr/man DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-
-cp -a doc/LICENSE doc/README doc/changelog $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a doc/LICENSE doc/README doc/changelog $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/anorack/anorack.info b/office/anorack/anorack.info
index 7738daefbc..f8d755c0b5 100644
--- a/office/anorack/anorack.info
+++ b/office/anorack/anorack.info
@@ -1,10 +1,10 @@
PRGNAM="anorack"
-VERSION="0.2.4"
-HOMEPAGE="http://jwilk.net/software/anorack"
-DOWNLOAD="https://github.com/jwilk/anorack/releases/download/0.2.4/anorack-0.2.4.tar.gz"
-MD5SUM="c06e97e952f8837a61a4f3bce0c1f0cf"
+VERSION="0.2.8"
+HOMEPAGE="https://jwilk.net/software/anorack"
+DOWNLOAD="https://github.com/jwilk/anorack/releases/download/0.2.8/anorack-0.2.8.tar.gz"
+MD5SUM="f53279504519b475d6a1d0c0b4f601c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 espeak"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/anorack/slack-desc b/office/anorack/slack-desc
index dfaf23df7b..2fa8b8f830 100644
--- a/office/anorack/slack-desc
+++ b/office/anorack/slack-desc
@@ -9,10 +9,10 @@
anorack: anorack ("a" vs "an" checker)
anorack:
anorack: The English language has two indefinite articles:
-anorack: a: used before words that begin with a consonant sound (e.g., a
-anorack: program, a host, a user);
-anorack: an: used before words that begin with a vowel sound (e.g., an example,
-anorack: an hour, an undefined variable).
+anorack: a: used before words that begin with a consonant sound (e.g., a
+anorack: program, a host, a user);
+anorack: an: used before words that begin with a vowel sound (e.g., an
+anorack: example, an hour, an undefined variable).
anorack:
anorack: anorack is a specialized spell-checker that finds incorrect indefinite
anorack: articles.
diff --git a/office/antiword/10_fix_buffer_overflow_wordole_c.patch b/office/antiword/10_fix_buffer_overflow_wordole_c.patch
new file mode 100644
index 0000000000..c2a8c692ab
--- /dev/null
+++ b/office/antiword/10_fix_buffer_overflow_wordole_c.patch
@@ -0,0 +1,21 @@
+Description: Add check for buffer overflow with malformed input files
+ This was later re-found and became CVE-2014-8123.
+Author: <eriks@debian.org>
+Bug-Debian: https://bugs.debian.org/407015
+Bug-Debian: https://bugs.debian.org/771768
+Forwarded: https://seclists.org/oss-sec/2014/q4/870
+Last-Update: 2018-11-30
+
+--- antiword-0.37~/wordole.c 2005-08-26 21:49:57.000000000 +0200
++++ antiword-0.37/wordole.c 2009-06-03 22:31:15.948014682 +0200
+@@ -259,6 +259,10 @@
+ }
+ tNameSize = (size_t)usGetWord(0x40, aucBytes);
+ tNameSize = (tNameSize + 1) / 2;
++ if ( tNameSize > sizeof(atPPSlist[iIndex].szName)) {
++ werr(0, "Name Size of PPS %d is too large", iIndex);
++ tNameSize = sizeof(atPPSlist[iIndex].szName);
++ }
+ vName2String(atPPSlist[iIndex].szName, aucBytes, tNameSize);
+ atPPSlist[iIndex].ucType = ucGetByte(0x42, aucBytes);
+ if (atPPSlist[iIndex].ucType == 5) {
diff --git a/office/antiword/30_kantiword.patch b/office/antiword/30_kantiword.patch
new file mode 100644
index 0000000000..b415251909
--- /dev/null
+++ b/office/antiword/30_kantiword.patch
@@ -0,0 +1,205 @@
+Description: Improve kantiword scripts and use secure temp files
+ Closes: #259999, #363428, [CVE-2005-3126]
+Author: <eriks@debian.org>
+Bug-Debian: http://bugs.debian.org/259999
+Bug-Debian: http://bugs.debian.org/363428
+Last-Update: 2009-06-07
+
+--- antiword-0.37~/Unix-only/KDE3-only/kantiword.sh 2009-06-07 00:47:17.000000000 +0200
++++ antiword-0.37/Unix-only/KDE3-only/kantiword.sh 2009-06-07 00:57:27.564012775 +0200
+@@ -3,69 +3,145 @@
+ # Script to make drag and drop in KDE possible
+ #set -x
+ #
++CONFS=$(kde-config --path config | tr ':' ' ')
++CONF_FILE=kantiwordrc
++mapping=
+
+-if [ $# -lt 2 ]
+-then
+- exit 0
++# default output format is PDF
++format="-a"
++ext=pdf
++
++for i in $CONFS; do
++ if [ -r "$i/$CONF_FILE" ]; then
++ ENCODING=$(grep ^encoding "$i/$CONF_FILE" | tr -d '[:blank:]' | cut -d '=' -f 2)
++ if [ -f "/usr/share/antiword/$ENCODING.txt" ]; then
++ mapping="-m $ENCODING.txt"
++ fi
++ FORMAT=$(grep ^output_format "$i/$CONF_FILE" | tr -d '[:blank:]' | cut -d '=' -f 2)
++ if [ "$FORMAT" = "PS" ]; then
++ # switch to output format PS, Cyrillic is better supported
++ format="-p"
++ ext=ps
++ fi
++ break
++ fi
++done
++
++DESKTOP=$(kde-config --userpath desktop)
++
++if [ $# -lt 2 ]; then
++ echo "Would you like to install an icon on your Desktop, where you"
++ echo "will be able to drop an *.doc file on to? It will be displayed"
++ echo "as a PDF document or as plain text (if no PDF viewer available)."
++ echo -n "[Y/n]: > "
++ read n
++ if [ "x$n" = "xy" ] || [ "x$n" = "xY" ] || [ "x$n" = "x" ]; then
++ if [ -r /etc/papersize ]; then
++ n=$(cat /etc/papersize)
++ fi
++ if [ "x$n" != "xa4" ] && [ "x$n" != "xletter" ]; then
++ echo
++ echo "Type"
++ echo "'a' for output papersize A4,"
++ echo "'l' for letter or"
++ echo "'n' for cancel."
++ echo -n "[a/l/N]: > "
++ read n
++ fi
++ if [ "x$n" = "xa" ] || [ "x$n" = "xa4" ]; then
++ cp -f /usr/share/antiword/kantiword.eu.desktop "$DESKTOP/kantiword.desktop"
++ elif [ "x$n" = "xl" ] || [ "x$n" = "xletter" ]; then
++ cp -f /usr/share/antiword/kantiword.us.desktop "$DESKTOP/kantiword.desktop"
++ fi
++ fi
++ exit 0
+ fi
+
+ # Determine the temp directory
+-if [ -d "$TMPDIR" ] && [ -w "$TMPDIR" ]
+-then
+- tmp_dir=$TMPDIR
+-elif [ -d "$TEMP" ] && [ -w "$TEMP" ]
+-then
+- tmp_dir=$TEMP
++if [ -d "$TMPDIR" ] && [ -w "$TMPDIR" ]; then
++ tmp_dir="$TMPDIR"
++elif [ -d "$TEMP" ] && [ -w "$TEMP" ]; then
++ tmp_dir="$TEMP"
+ else
+- tmp_dir="/tmp"
+-fi
++ tmp_dir="/tmp"
++fi
+
+ # Try to create the temp files in a secure way
+-if [ -x /bin/tempfile ]
+-then
+- out_file=`/bin/tempfile -d "$tmp_dir" -p antiword -s ".ps"` || exit 1
+- err_file=`/bin/tempfile -d "$tmp_dir" -p antiword -s ".err"`
+- if [ $? -ne 0 ]
+- then
+- rm -f "$out_file"
+- exit 1
+- fi
+-elif [ -x /bin/mktemp ]
+-then
+- out_file=`/bin/mktemp -q -p "$tmp_dir" antiword.ps.XXXXXXXXX` || exit 1
+- err_file=`/bin/mktemp -q -p "$tmp_dir" antiword.err.XXXXXXXXX`
+- if [ $? -ne 0 ]
+- then
+- rm -f "$out_file"
+- exit 1
+- fi
++if [ -x /bin/tempfile ]; then
++ out_file=$(/bin/tempfile -d "$tmp_dir" -p antiword -s ".$ext") || exit 1
++ err_file=$(/bin/tempfile -d "$tmp_dir" -p antiword -s ".err")
++ txt_file=$(/bin/tempfile -d "$tmp_dir" -p antiword -s ".txt")
++ if [ $? -ne 0 ]; then
++ rm -f "$out_file"
++ exit 1
++ fi
++elif [ -x /bin/mktemp ]; then
++ out_file=$(/bin/mktemp -q -p "$tmp_dir" antiword.$ext.XXXXXXXXX) || exit 1
++ err_file=$(/bin/mktemp -q -p "$tmp_dir" antiword.err.XXXXXXXXX)
++ txt_file=$(/bin/mktemp -q -p "$tmp_dir" antiword.txt.XXXXXXXXX)
++ if [ $? -ne 0 ]; then
++ rm -f "$out_file"
++ exit 1
++ fi
+ else
+- # Creating the temp files in an un-secure way
+- out_file=$tmp_dir"/antiword.$$.ps"
+- err_file=$tmp_dir"/antiword.$$.err"
++ # Creating the temp files in an un-secure way
++ out_file="$tmp_dir/antiword.$$.$ext"
++ err_file="$tmp_dir/antiword.$$.err"
++ txt_file="$tmp_dir/antiword.$$.txt"
+ fi
+
+-# Determine the paper size
+-paper_size=$1
+-shift
++error=0
++# filename is empty, user had clicked on icon, so print a help message
++# in err_file
++if [ -z $2 ]; then
++ cat >"$err_file" <<EOF
++ You should drag any *.doc file and drop it on this icon for
++ displaying. Kantiword can not do anything with an empty filename.
+
+-# Make the PostScript file
+-antiword -p $paper_size -i 0 "$@" 2>"$err_file" >"$out_file"
+-if [ $? -ne 0 ]
+-then
+- # Something went wrong
+- if [ -r "$err_file" ] && [ -s "$err_file" ]
+- then
+- konsole --caption "Error from Antword" -e less "$err_file"
+- fi
+- # Clean up
+- rm -f "$out_file" "$err_file"
+- exit 1
++EOF
++error=1
++else
++ # Determine the paper size
++ paper_size=$1
++ shift
++
++ # Make the output file (default PDF)
++ antiword $mapping $format $paper_size -i 0 "$@" 2>"$err_file" >"$out_file"
++ if [ $? -ne 0 ]; then
++ error=1
++ fi
++fi
++if [ $error -ne 0 ]; then
++ # Something went wrong
++ if [ -r "$err_file" ] && [ -s "$err_file" ]; then
++ if [ -x /usr/bin/konsole ]; then
++ /usr/bin/konsole --hold --caption "Error from Antiword" -e more "$err_file"
++ else
++ /usr/bin/X11/xterm -T "Error from Antiword" -e less "$err_file"
++ fi
++ fi
++ # Clean up
++ rm -f "$out_file" "$err_file" "$txt_file"
++ exit 1
+ fi
+
+-# Show the PostScript file
+-gv "$out_file" -nocentre -media $paper_size
++# Show the PDF file
++if [ "$ext" = "pdf" -a -x /usr/bin/kpdf ]; then
++ /usr/bin/kpdf "$out_file"
++elif [ "$ext" = "pdf" -a -x /usr/bin/xpdf ]; then
++ /usr/bin/xpdf "$out_file" -paper=$paper_size
++elif [ -x /usr/bin/gv ]; then
++ /usr/bin/gv "$out_file" --nocenter --media=$paper_size
++else
++ # no viewer available, so display as plain text
++ antiword $mapping "$@" 2>"$err_file" >"$txt_file"
++ if [ -x /usr/bin/konsole ]; then
++ /usr/bin/konsole --hold --caption "Text output from Antiword" -e more "$txt_file"
++ else
++ /usr/bin/X11/xterm -T "Text output from Antiword" -e less "$txt_file"
++ fi
++fi
+
+ # Clean up
+-rm -f "$out_file" "$err_file"
++rm -f "$out_file" "$err_file" "$txt_file"
+ exit 0
diff --git a/office/antiword/40_desktop_files.patch b/office/antiword/40_desktop_files.patch
new file mode 100644
index 0000000000..c78bcc64cc
--- /dev/null
+++ b/office/antiword/40_desktop_files.patch
@@ -0,0 +1,50 @@
+Description: Extend desktop files
+Author: <eriks@debian.org>
+Last-Update: 2009-06-04
+
+diff -urNad antiword-0.37~/Unix-only/KDE3-only/Antiword.desktop.eu antiword-0.37/Unix-only/KDE3-only/Antiword.desktop.eu
+--- antiword-0.37~/Unix-only/KDE3-only/Antiword.desktop.eu 2001-07-08 20:45:44.000000000 +0200
++++ antiword-0.37/Unix-only/KDE3-only/Antiword.desktop.eu 2009-06-04 10:03:59.508015784 +0200
+@@ -1,8 +1,16 @@
+ [Desktop Entry]
++Encoding=UTF-8
+ BinaryPattern=kantiword;Kantiword
+-MimeType=application/msword
+-Name=Antiword
++Comment=*.doc Dateien per Drag&Drop auf das Icon anzeigen
++Comment[de]=*.doc Dateien per Drag&Drop auf das Icon anzeigen
++Comment[en]=displays *.doc files via drag'n'drop on this icon
+ Exec=kantiword a4 "%f"
++GenericName=Anzeige für MS-Word-Dokument
++GenericName[de]=Anzeige für MS-Word-Dokument
++GenericName[en]=MS-Word document viewer
+ Icon=antiword
++MimeType=application/msword
++Name=Kantiword
++StartupNotify=false
++Terminal=false
+ Type=Application
+-Terminal=0
+diff -urNad antiword-0.37~/Unix-only/KDE3-only/Antiword.desktop.us antiword-0.37/Unix-only/KDE3-only/Antiword.desktop.us
+--- antiword-0.37~/Unix-only/KDE3-only/Antiword.desktop.us 2001-07-08 20:45:54.000000000 +0200
++++ antiword-0.37/Unix-only/KDE3-only/Antiword.desktop.us 2009-06-04 10:03:59.508015784 +0200
+@@ -1,8 +1,16 @@
+ [Desktop Entry]
++Encoding=UTF-8
+ BinaryPattern=kantiword;Kantiword
+-MimeType=application/msword
+-Name=Antiword
++Comment=*.doc Dateien per Drag&Drop auf das Icon anzeigen
++Comment[de]=*.doc Dateien per Drag&Drop auf das Icon anzeigen
++Comment[en]=displays *.doc files via drag'n'drop on this icon
+ Exec=kantiword letter "%f"
++GenericName=Anzeige für MS-Word-Dokument
++GenericName[de]=Anzeige für MS-Word-Dokument
++GenericName[en]=MS-Word document viewer
+ Icon=antiword
++MimeType=application/msword
++Name=Kantiword
++StartupNotify=false
++Terminal=false
+ Type=Application
+-Terminal=0
diff --git a/office/antiword/50_antiword-manpage-hyphen-to-minus.patch b/office/antiword/50_antiword-manpage-hyphen-to-minus.patch
new file mode 100644
index 0000000000..cc4fd9de4b
--- /dev/null
+++ b/office/antiword/50_antiword-manpage-hyphen-to-minus.patch
@@ -0,0 +1,15 @@
+Description: Fix hyphen in antiword.1 to be a minus
+Author: Olly Betts <olly@survex.com>
+Last-Update: 2011-11-26
+
+--- antiword-0.37.orig/Docs/antiword.1
++++ antiword-0.37/Docs/antiword.1
+@@ -108,7 +108,7 @@ file that cannot be opened for reading.
+ Antiword uses the environment variable ``ANTIWORDHOME'' as the first directory
+ to look for its files. Antiword uses the environment variable ``HOME'' to find
+ the user's home directory. When in text mode it uses the variable ``COLUMNS''
+-to set the width of the output (unless overridden by the -w option).
++to set the width of the output (unless overridden by the \-w option).
+
+ Antiword uses the environment variables ``LC_ALL'', ``LC_CTYPE'' and ``LANG''
+ (in that order) to get the current locale and uses this information to
diff --git a/office/antiword/antiword.SlackBuild b/office/antiword/antiword.SlackBuild
index a9eda07538..79253ffcf7 100644
--- a/office/antiword/antiword.SlackBuild
+++ b/office/antiword/antiword.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for antiword
@@ -23,10 +23,13 @@
# Modified by the SlackBuilds.org Project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=antiword
VERSION=${VERSION:-0.37}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,6 +73,17 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+# apply some patches from debian
+# see https://framagit.org/medoc92/recoll-antiword
+patch -p1 < $CWD/10_fix_buffer_overflow_wordole_c.patch
+patch -p1 < $CWD/30_kantiword.patch
+patch -p1 < $CWD/40_desktop_files.patch
+patch -p1 < $CWD/50_antiword-manpage-hyphen-to-minus.patch
+patch -p1 < $CWD/docx.patch
+patch -p1 < $CWD/remove-cjb.net-references.patch
+patch -p1 < $CWD/use-snprintf.patch
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -94,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/office/antiword/antiword.info b/office/antiword/antiword.info
index ba8b734ca3..3b672eca75 100644
--- a/office/antiword/antiword.info
+++ b/office/antiword/antiword.info
@@ -1,7 +1,7 @@
PRGNAM="antiword"
VERSION="0.37"
HOMEPAGE="http://www.winfield.demon.nl/"
-DOWNLOAD="http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz"
+DOWNLOAD="https://src.fedoraproject.org/lookaside/pkgs/antiword/antiword-0.37.tar.gz/f868e2a269edcbc06bf77e89a55898d1/antiword-0.37.tar.gz"
MD5SUM="f868e2a269edcbc06bf77e89a55898d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/antiword/docx.patch b/office/antiword/docx.patch
new file mode 100644
index 0000000000..5521070d1f
--- /dev/null
+++ b/office/antiword/docx.patch
@@ -0,0 +1,182 @@
+Description: Try to reduce confusion around docx files
+ Now also checks for XML files and HTML files
+Author: Olly Betts <olly@survex.com>
+Bug-Debian: https://bugs.debian.org/758959
+Bug-Debian: https://bugs.debian.org/791532
+Forwarded: no
+Last-Update: 2015-01-11
+
+--- a/Docs/antiword.1
++++ b/Docs/antiword.1
+@@ -14,7 +14,11 @@
+ .br
+ A wordfile named - stands for a Word document read from the standard input.
+ .br
+-Only documents made by MS Word version 2 and version 6 or later are supported.
++Only the binary format documents made by MS Word version 2, 6, 7, 97, 2000 and
++2003 are supported. Newer Word versions default to using a completely
++different format consisting of XML files in a ZIP container (usually with a
++".docx" file extension) which antiword doesn't support. It also doesn't
++support the "flat" XML format which MS Word 2003 supported.
+ .SH OPTIONS
+ .TP
+ .BI "\-a " papersize
+--- a/antiword.h
++++ b/antiword.h
+@@ -695,6 +695,9 @@
+ extern BOOL bIsWordForDosFile(FILE *, long);
+ extern BOOL bIsRtfFile(FILE *);
+ extern BOOL bIsWordPerfectFile(FILE *);
++extern BOOL bIsZipFile(FILE *);
++extern BOOL bIsXMLFile(FILE *);
++extern BOOL bIsHTMLFile(FILE *);
+ extern BOOL bIsWinWord12File(FILE *, long);
+ extern BOOL bIsMacWord45File(FILE *);
+ extern int iGuessVersionNumber(FILE *, long);
+--- a/main_u.c
++++ b/main_u.c
+@@ -187,10 +187,29 @@
+ werr(0, "%s is not a Word Document."
+ " It is probably a Rich Text Format file",
+ szFilename);
+- } if (bIsWordPerfectFile(pFile)) {
++ } else if (bIsWordPerfectFile(pFile)) {
+ werr(0, "%s is not a Word Document."
+ " It is probably a Word Perfect file",
+ szFilename);
++ } else if (bIsZipFile(pFile)) {
++ werr(0, "%s is not a Word Document."
++ " It seems to be a ZIP file, so is probably"
++ " an OpenDocument file, or a \"docx\" file"
++ " from MS Word 2007 or newer"
++ " (antiword only handles binary format"
++ " documents from MS Word 2003 and earlier)",
++ szFilename);
++ } else if (bIsXMLFile(pFile)) {
++ werr(0, "%s is not a Word Document."
++ " It seems to be an XML file, perhaps"
++ " the XML format from MS Word 2003"
++ " (antiword only handles binary format"
++ " documents from MS Word 2003 and earlier)",
++ szFilename);
++ } else if (bIsHTMLFile(pFile)) {
++ werr(0, "%s is not a Word Document."
++ " It is probably an HTML file",
++ szFilename);
+ } else {
+ #if defined(__dos)
+ werr(0, "%s is not a Word Document or the filename"
+--- a/wordlib.c
++++ b/wordlib.c
+@@ -41,7 +41,7 @@
+ BOOL
+ bIsWordForDosFile(FILE *pFile, long lFilesize)
+ {
+- static UCHAR aucBytes[] =
++ static const UCHAR aucBytes[] =
+ { 0x31, 0xbe, 0x00, 0x00, 0x00, 0xab }; /* Word for DOS */
+
+ DBG_MSG("bIsWordForDosFile");
+@@ -64,7 +64,7 @@
+ static BOOL
+ bIsWordFileWithOLE(FILE *pFile, long lFilesize)
+ {
+- static UCHAR aucBytes[] =
++ static const UCHAR aucBytes[] =
+ { 0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1 };
+ int iTailLen;
+
+@@ -108,7 +108,7 @@
+ BOOL
+ bIsRtfFile(FILE *pFile)
+ {
+- static UCHAR aucBytes[] =
++ static const UCHAR aucBytes[] =
+ { '{', '\\', 'r', 't', 'f', '1' };
+
+ DBG_MSG("bIsRtfFile");
+@@ -122,7 +122,7 @@
+ BOOL
+ bIsWordPerfectFile(FILE *pFile)
+ {
+- static UCHAR aucBytes[] =
++ static const UCHAR aucBytes[] =
+ { 0xff, 'W', 'P', 'C' };
+
+ DBG_MSG("bIsWordPerfectFile");
+@@ -131,13 +131,65 @@
+ } /* end of bIsWordPerfectFile */
+
+ /*
++ * This function checks whether the given file is or is not a ZIP file
++ */
++BOOL
++bIsZipFile(FILE *pFile)
++{
++ static const UCHAR aucBytes[] =
++ { 'P', 'K', 0x03, 0x04 };
++
++ DBG_MSG("bIsZipFile");
++
++ return bCheckBytes(pFile, aucBytes, elementsof(aucBytes));
++} /* end of bIsZipFile */
++
++/*
++ * This function checks whether the given file is or is not a XML file
++ */
++BOOL
++bIsXMLFile(FILE *pFile)
++{
++ static const UCHAR aucBytes[] =
++ { '<', '?', 'x', 'm', 'l' };
++
++ DBG_MSG("bIsXMLFile");
++
++ return bCheckBytes(pFile, aucBytes, elementsof(aucBytes));
++} /* end of bIsXMLFile */
++
++/*
++ * This function checks whether the given file is or is not a HTML file
++ */
++BOOL
++bIsHTMLFile(FILE *pFile)
++{
++ static const UCHAR aucBytes[2][5] = {
++ { '<', 'h', 't', 'm', 'l' },
++ { '<', 'H', 'T', 'M', 'L' },
++ };
++ int iIndex;
++
++ DBG_MSG("bIsHTMLFile");
++
++ for (iIndex = 0; iIndex < (int)elementsof(aucBytes); iIndex++) {
++ if (bCheckBytes(pFile,
++ aucBytes[iIndex],
++ elementsof(aucBytes[iIndex]))) {
++ return TRUE;
++ }
++ }
++ return FALSE;
++} /* end of bIsHTMLFile */
++
++/*
+ * This function checks whether the given file is or is not a "Win Word 1 or 2"
+ * document
+ */
+ BOOL
+ bIsWinWord12File(FILE *pFile, long lFilesize)
+ {
+- static UCHAR aucBytes[2][4] = {
++ static const UCHAR aucBytes[2][4] = {
+ { 0x9b, 0xa5, 0x21, 0x00 }, /* Win Word 1.x */
+ { 0xdb, 0xa5, 0x2d, 0x00 }, /* Win Word 2.0 */
+ };
+@@ -171,7 +223,7 @@
+ BOOL
+ bIsMacWord45File(FILE *pFile)
+ {
+- static UCHAR aucBytes[2][6] = {
++ static const UCHAR aucBytes[2][6] = {
+ { 0xfe, 0x37, 0x00, 0x1c, 0x00, 0x00 }, /* Mac Word 4 */
+ { 0xfe, 0x37, 0x00, 0x23, 0x00, 0x00 }, /* Mac Word 5 */
+ };
diff --git a/office/antiword/remove-cjb.net-references.patch b/office/antiword/remove-cjb.net-references.patch
new file mode 100644
index 0000000000..5c6b4e74c4
--- /dev/null
+++ b/office/antiword/remove-cjb.net-references.patch
@@ -0,0 +1,40 @@
+Description: Remove cjb.net references
+ The domain has been let lapse and is now a holding page.
+Author: Olly Betts <olly@survex.com>
+Forwarded: no
+Last-Update: 2016-01-11
+
+--- antiword-0.37.orig/Docs/ReadMe
++++ antiword-0.37/Docs/ReadMe
+@@ -101,7 +101,6 @@ Most recent version
+
+ Most recent version of Antiword can be found on the author's website:
+ ==>> http://www.winfield.demon.nl/index.html <<==
+-==>> http://antiword.cjb.net/ <<==
+
+
+ Author
+@@ -109,6 +108,5 @@ Author
+
+ The author can be reached by e-mail:
+ antiword@winfield.demon.nl
+-comments@antiword.cjb.net
+
+ But PLEASE read the FAQ before you write!!
+--- antiword-0.37.orig/Docs/antiword.1
++++ antiword-0.37/Docs/antiword.1
+@@ -125,14 +125,8 @@ PostScript output is only available in I
+ The most recent released version of Antiword is always available from:
+ .br
+ http://www.winfield.demon.nl/index.html
+-.br
+-or try
+-.br
+-http://antiword.cjb.net/
+ .SH AUTHOR
+ Adri van Os <antiword@winfield.demon.nl>
+-.br
+-or try <comments@antiword.cjb.net>
+ .sp
+ R.F. Smith <rsmith@xs4all.nl> and
+ .br
diff --git a/office/antiword/use-snprintf.patch b/office/antiword/use-snprintf.patch
new file mode 100644
index 0000000000..b0787fb27a
--- /dev/null
+++ b/office/antiword/use-snprintf.patch
@@ -0,0 +1,36 @@
+Description: Use snprintf
+ Use snprintf() when converting dates to strings to make completely sure we
+ can't overrun the buffer.
+Author: Olly Betts <olly@survex.com>
+Forwarded: no
+Last-Update: 2018-11-29
+
+--- antiword-0.37.orig/summary.c
++++ antiword-0.37/summary.c
+@@ -729,7 +729,7 @@ szGetLastSaveDtm(void)
+ if (pTime == NULL) {
+ return NULL;
+ }
+- sprintf(szTime, "%04d-%02d-%02d",
++ snprintf(szTime, sizeof(szTime), "%04d-%02d-%02d",
+ pTime->tm_year + 1900, pTime->tm_mon + 1, pTime->tm_mday);
+ return szTime;
+ } /* end of szGetLastSaveDtm */
+@@ -750,7 +750,7 @@ szGetModDate(void)
+ if (pTime == NULL) {
+ return NULL;
+ }
+- sprintf(szTime, "D:%04d%02d%02d%02d%02d",
++ snprintf(szTime, sizeof(szTime), "D:%04d%02d%02d%02d%02d",
+ pTime->tm_year + 1900, pTime->tm_mon + 1, pTime->tm_mday,
+ pTime->tm_hour, pTime->tm_min);
+ return szTime;
+@@ -772,7 +772,7 @@ szGetCreationDate(void)
+ if (pTime == NULL) {
+ return NULL;
+ }
+- sprintf(szTime, "D:%04d%02d%02d%02d%02d",
++ snprintf(szTime, sizeof(szTime), "D:%04d%02d%02d%02d%02d",
+ pTime->tm_year + 1900, pTime->tm_mon + 1, pTime->tm_mday,
+ pTime->tm_hour, pTime->tm_min);
+ return szTime;
diff --git a/office/apvlv/README b/office/apvlv/README
index 68e6bb5e78..51945a400a 100644
--- a/office/apvlv/README
+++ b/office/apvlv/README
@@ -1,9 +1,10 @@
-Apvlv is a PDF Viewer based on GTK and poppler which uses Vi-like keybindings.
-For example, <Ctrl-f> to forward page, <Ctrl-b> to previous page, 'k','j','h',
-and 'l' to scroll a page up, down, left or right. Typing '50' and <Ctrl-f>
-will go forward 50 pages; typing '30' and <Ctrl-b> will go previous 30 pages.
-Apvlv can support viewing a directory as contents of a pdf document.
-Press 'k' or 'j' to move selected up or down, 'h' or 'l' to collapse or
-expand a dir, and pressing 't' will open the selected document in a new tab.
+Apvlv is a PDF Viewer based on GTK and poppler which uses Vi-like
+keybindings. For example, <Ctrl-f> to forward page, <Ctrl-b>
+to previous page, 'k','j','h', and 'l' to scroll a page up, down,
+left or right. Typing '50' and <Ctrl-f> will go forward 50 pages;
+typing '30' and <Ctrl-b> will go previous 30 pages. Apvlv can support
+viewing a directory as contents of a pdf document. Press 'k' or 'j'
+to move selected up or down, 'h' or 'l' to collapse or expand a dir,
+and pressing 't' will open the selected document in a new tab.
-This SlackBuild disables UMD file support.
+This SlackBuild additionally enables DjVu and text file support.
diff --git a/office/apvlv/apvlv.SlackBuild b/office/apvlv/apvlv.SlackBuild
index 5246eb400f..8cea9e3484 100644
--- a/office/apvlv/apvlv.SlackBuild
+++ b/office/apvlv/apvlv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apvlv
@@ -6,6 +6,7 @@
# Took some ideas/parts from an older apvlv SlackBuild form Eugene Wissner:
# Copyright 2010 Eugene Wissner <belka.ew@gmail.com>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -23,27 +24,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220402 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add update-desktop-database to doinst.sh.
+# 20220217 bkw: Modified by SlackBuilds.org: fix build on Slack 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=apvlv
-VERSION=${VERSION:-0.1.4}
+VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=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,15 +72,21 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-Source
-tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
-cd $PRGNAM-$VERSION-Source
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# Fix man directory
+sed -i "s,apvlv\.1 TYPE MAN,apvlv\.1 DESTINATION \${CMAKE_INSTALL_PREFIX}/man/man1," CMakeLists.txt
+
+# Use the tarball's Startup.pdf
+patch -p1 < $CWD/use_dist_manpdf.patch
mkdir -p build
cd build
@@ -77,25 +94,21 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DAPVLV_WITH_UMD=false \
- -DMANDIR=/usr/man \
+ -DAPVLV_WITH_DJVU=yes \
+ -DAPVLV_WITH_TXT=yes \
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION
make VERBOSE=1
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-mv $PKG/etc/apvlvrc $PKG/etc/apvlvrc.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+gzip -9 $PKG/usr/man/man1/apvlv.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
+mv $PKG/etc/apvlvrc $PKG/etc/apvlvrc.new
# Leave the icons in docdir - that path is hardcoded in apvlv binary
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING NEWS README THANKS TODO apvlvrc.example \
+ AUTHORS COPYING NEWS README.md THANKS TODO Startup.pdf apvlvrc.example \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -104,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/office/apvlv/apvlv.info b/office/apvlv/apvlv.info
index da882def19..fb02f27885 100644
--- a/office/apvlv/apvlv.info
+++ b/office/apvlv/apvlv.info
@@ -1,10 +1,10 @@
PRGNAM="apvlv"
-VERSION="0.1.4"
-HOMEPAGE="http://naihe2010.github.com/apvlv/"
-DOWNLOAD="https://github.com/downloads/naihe2010/apvlv/apvlv-0.1.4-Source.tar.gz"
-MD5SUM="bcd3e96350a2378662e2f2d0fa02d342"
+VERSION="0.5.0"
+HOMEPAGE="https://github.com/naihe2010/apvlv/"
+DOWNLOAD="https://github.com/naihe2010/apvlv/archive/v0.5.0/apvlv-0.5.0.tar.gz"
+MD5SUM="f89a73deb563d100104ad2f8dc786a91"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Arne Welzel"
-EMAIL="arne.welzel@googlemail.com"
+REQUIRES="webkit2gtk"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/office/apvlv/doinst.sh b/office/apvlv/doinst.sh
index 4a9c9936ef..a8e7b9949d 100644
--- a/office/apvlv/doinst.sh
+++ b/office/apvlv/doinst.sh
@@ -11,3 +11,7 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/apvlvrc.new
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/office/apvlv/slack-desc b/office/apvlv/slack-desc
index d648d387e1..56fbc0b579 100644
--- a/office/apvlv/slack-desc
+++ b/office/apvlv/slack-desc
@@ -11,7 +11,7 @@ apvlv:
apvlv: Apvlv is a PDF viewer based on GTK+2 and poppler which uses
apvlv: Vim like keybindings.
apvlv:
-apvlv: Homepage: http://naihe2010.github.com/apvlv/
+apvlv: Homepage: https://github.com/naihe2010/apvlv/
apvlv:
apvlv:
apvlv:
diff --git a/office/apvlv/use_dist_manpdf.patch b/office/apvlv/use_dist_manpdf.patch
new file mode 100644
index 0000000000..45e047df30
--- /dev/null
+++ b/office/apvlv/use_dist_manpdf.patch
@@ -0,0 +1,18 @@
+An up-to-date Startup.pdf is shipped with the dist, so just use that.
+Patch taken from Void Linux:
+https://github.com/void-linux/void-packages/blob/master/srcpkgs/apvlv/patches/use_dist_manpdf.patch
+
+diff -rup CMakeLists.txt.orig CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -76,10 +76,6 @@ IF (WIN32)
+ INSTALL(DIRECTORY icons DESTINATION ".")
+ INSTALL(DIRECTORY ${CMAKE_HOME_DIRECTORY}/win32/poppler-data DESTINATION ".")
+ ELSE (WIN32)
+- ADD_CUSTOM_TARGET(Startup.pdf
+- ALL
+- COMMAND "man" "-t" "${CMAKE_SOURCE_DIR}/apvlv.1" "|" "ps2pdf" "-" "${CMAKE_SOURCE_DIR}/Startup.pdf"
+- DEPENDS apvlv.1)
+ INSTALL(FILES apvlvrc.example DESTINATION ${SYSCONFDIR}
+ RENAME apvlvrc)
+ INSTALL(FILES apvlvrc.example Startup.pdf main_menubar.glade DESTINATION ${DOCDIR})
diff --git a/office/aspell6-es/README b/office/aspell6-es/README
deleted file mode 100644
index 5ab9815f7c..0000000000
--- a/office/aspell6-es/README
+++ /dev/null
@@ -1,14 +0,0 @@
-aspell6-es (Spanish language files for aspell)
-
-Spanish language files for aspell version >=0.60.6.
-
-The COES Spanish Language Tools are a research field of the
-Departamento de Arquitectura y Tecnología de Sistemas Informáticos
-(DATSI) of the Universidad Politécnica de Madrid (UPM) and the
-Departamento de Informática of the Universidad CarlosIII de Madrid.
-
-The main task of this research is to to develop an extensive set of
-Spanish grammatical rules and to apply them to test correctness on
-documents written in Spanish. To enhance distribution, COES is
-integrated with the ispell tool. COES is being distributed for free
-since the end of 1994.
diff --git a/office/aspell6-es/aspell6-es.info b/office/aspell6-es/aspell6-es.info
deleted file mode 100644
index 382e930ad2..0000000000
--- a/office/aspell6-es/aspell6-es.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="aspell6-es"
-VERSION="1.11_2"
-HOMEPAGE="http://www.datsi.fi.upm.es/~coes/coes.html"
-DOWNLOAD="http://www.datsi.fi.upm.es/~coes/aspell6-es-1.11-2.tar.bz2"
-MD5SUM="8406336a89c64e47e96f4153d0af70c4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David O'Shaughnessy"
-EMAIL="dev@osh.id.au"
diff --git a/office/aspell6-es/slack-desc b/office/aspell6-es/slack-desc
deleted file mode 100644
index e4f5788792..0000000000
--- a/office/aspell6-es/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------------------------------------------------------|
-aspell6-es: aspell6-es (Spanish language files for aspell)
-aspell6-es:
-aspell6-es: Spanish language files for aspell version >=0.60.6.
-aspell6-es:
-aspell6-es: The COES Spanish Language Tools are a research field of the
-aspell6-es: Departamento de Arquitectura y Tecnología de Sistemas Informáticos
-aspell6-es: (DATSI) of the Universidad Politécnica de Madrid (UPM) and the
-aspell6-es: Departamento de Informática of the Universidad CarlosIII de Madrid.
-aspell6-es:
-aspell6-es: (http://www.datsi.fi.upm.es/~coes/coes.html)
-aspell6-es:
diff --git a/office/asymptote/README b/office/asymptote/README
index 5c81751106..56fc91cad6 100644
--- a/office/asymptote/README
+++ b/office/asymptote/README
@@ -4,3 +4,9 @@ Labels and equations are typeset with LaTeX, for high-quality PostScript
output.
A major advantage of Asymptote over other graphics packages is that it
is a programming language as opposed to just a graphics program.
+
+To build the complete documentation, install texlive-extra and set
+DOC=yes
+
+Optional dependencies for xasy(GUI):
+python3-numpy python3-cson
diff --git a/office/asymptote/asymptote.SlackBuild b/office/asymptote/asymptote.SlackBuild
index c591eca5ff..3c9d7da655 100644
--- a/office/asymptote/asymptote.SlackBuild
+++ b/office/asymptote/asymptote.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for asymptote
-# Copyright 2016 - 2018 Johannes Schoepfer, Germany
+# Copyright 2016-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asymptote
-VERSION=${VERSION:-2.44}
+VERSION=${VERSION:-2.88}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +72,12 @@ cd asymptote-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+# To build the complete docs, some packages from texlive-extra are required.
+DOC=${DOC:-no}
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,16 +90,28 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--enable-gc=system \
--enable-offscreen \
+ --disable-lsp \
+ --disable-gc-debug \
+ --disable-gc-full-debug \
--with-latex=/usr/share/texmf-dist/tex/latex \
--with-context=/usr/share/texmf-dist/tex/context \
--datarootdir=/usr/share/texmf-dist \
--build=$ARCH-slackware-linux
-make -j1 all
-make -j1 check-all
-make -j1 install-all DESTDIR=$PKG
+if [ $DOC = no ]; then
+sed -i doc/Makefile \
+ -e "s/ latexusage.pdf//g" \
+ -e "s/pdflatex latexusage//g" \
+ -e "s/ asymptote.pdf//g" \
+ -e "/pdflatex CAD/d" \
+ -e "s/CAD.pdf//" \
+ -e "s/TeXShopAndAsymptote.pdf//"
+fi
+
+make
+make check
+make install DESTDIR=$PKG
-rm -rf $PKG/usr/info/asymptote
mkdir -p $PKG/usr/share/vim/vimfiles/syntax
mv $PKG/usr/share/texmf-dist/asymptote/*.vim $PKG/usr/share/vim/vimfiles/syntax
(
@@ -109,15 +131,18 @@ find $PKG/usr/man -type f -exec gzip -9 {} +
for links in $(find $PKG/usr/man -type l ) ; do ln -sf $( readlink $links ).gz $links.gz;rm $links;done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv BUGS ChangeLog INSTALL LICENSE LICENSE.LESSER README TODO \
+mv BUGS ChangeLog LICENSE LICENSE.LESSER README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cd $PKG/usr/info
-find . -type f -exec gzip -9 {} +
-for links in $(find . -type l ) ; do ln -sf $( readlink $links ).gz $links.gz;rm $links;done
+mv $PKG/usr/info/asymptote/asymptote.info $PKG/usr/info/
+rmdir $PKG/usr/info/asymptote
+find $PKG/usr/info -name '*.info*' -type f -exec gzip -9 {} +
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
+
cd $PKG
-/sbin/makepkg -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/office/asymptote/asymptote.info b/office/asymptote/asymptote.info
index 2d7de25278..4aba737b80 100644
--- a/office/asymptote/asymptote.info
+++ b/office/asymptote/asymptote.info
@@ -1,10 +1,10 @@
PRGNAM="asymptote"
-VERSION="2.44"
-HOMEPAGE="http://asymptote.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/sourceforge/asymptote/asymptote-2.44.src.tgz"
-MD5SUM="98cd8858841e6e833039b85e0b814257"
+VERSION="2.88"
+HOMEPAGE="https://asymptote.sourceforge.io/"
+DOWNLOAD="https://downloads.sourceforge.net/asymptote/asymptote-2.88.src.tgz"
+MD5SUM="57c7effe845eb624f48a6cc750aaa302"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="texlive"
+REQUIRES="glm"
MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds[at]schoepfer[dot]info"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/asymptote/doinst.sh b/office/asymptote/doinst.sh
new file mode 100644
index 0000000000..86b8ef5149
--- /dev/null
+++ b/office/asymptote/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/install-info ]; then
+ /usr/bin/install-info --info-dir=usr/info usr/info/PRGNAM.info.gz 2> /dev/null
+fi
diff --git a/office/asymptote/douninst.sh b/office/asymptote/douninst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/office/asymptote/douninst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/office/asymptote/slack-desc b/office/asymptote/slack-desc
index e38703b6ac..fcd3ba050b 100644
--- a/office/asymptote/slack-desc
+++ b/office/asymptote/slack-desc
@@ -15,5 +15,5 @@ asymptote: PostScript output.
asymptote: A major advantage of Asymptote over other graphics packages is that
asymptote: it is a programming language as opposed to just a graphics program.
asymptote:
-asymptote: http://asymptote.sourceforge.net/
+asymptote: https://asymptote.sourceforge.io/
asymptote:
diff --git a/office/atril/README b/office/atril/README
new file mode 100644
index 0000000000..5b2b7b378a
--- /dev/null
+++ b/office/atril/README
@@ -0,0 +1,8 @@
+atril is a document viewer capable of displaying multiple and single
+page document formats like PDF, XPS, ePUB, DVI, and Postscript.
+Atril is a fork of Evince.
+
+Optional dependencies, autodetected at buildtime:
+webkit2gtk or webkit2gtk4.1 for epub
+libgxps for xps
+caja for caja-extension
diff --git a/office/atril/atril.SlackBuild b/office/atril/atril.SlackBuild
new file mode 100644
index 0000000000..76b413210b
--- /dev/null
+++ b/office/atril/atril.SlackBuild
@@ -0,0 +1,131 @@
+#!/bin/bash
+
+# Slackware build script for atril
+
+# Copyright 2013 Chess Griffin, Raleigh, NC
+# Copyright 2013-2021 Willy Sudiarto Raharjo
+# Copyright 2022-2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=atril
+VERSION=${VERSION:-1.28.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+# Autodetect caja extension
+pkg-config libcaja-extension && CAJA="enable" || CAJA="disable"
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-shared \
+ --${CAJA}-caja \
+ --enable-introspection \
+ --disable-schemas-compile \
+ --enable-t1lib \
+ --enable-pixbuf \
+ --enable-comics \
+ --enable-epub \
+ --enable-xps \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} +
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/atril/atril.info b/office/atril/atril.info
new file mode 100644
index 0000000000..4d284d72ae
--- /dev/null
+++ b/office/atril/atril.info
@@ -0,0 +1,10 @@
+PRGNAM="atril"
+VERSION="1.28.0"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/applications/atril/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/atril-1.28.0.tar.xz"
+MD5SUM="e95c8aa600ec17548d473d2aa4e0635d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="mate-desktop"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/gnucash-legacy/doinst.sh b/office/atril/doinst.sh
index 600fcfec87..f25bed6fb6 100644
--- a/office/gnucash-legacy/doinst.sh
+++ b/office/atril/doinst.sh
@@ -1,19 +1,3 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/gnucash/environment.new
-config etc/gnucash/config.new
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
diff --git a/office/atril/slack-desc b/office/atril/slack-desc
new file mode 100644
index 0000000000..7c2842885a
--- /dev/null
+++ b/office/atril/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+atril: atril (a document viewer)
+atril:
+atril: atril is a document viewer capable of displaying multiple and single
+atril: page document formats like PDF, XPS, ePUB, DVI, and Postscript.
+atril:
+atril: Atril is a fork of Evince.
+atril:
+atril:
+atril:
+atril: https://wiki.mate-desktop.org/mate-desktop/applications/atril/
+atril:
diff --git a/office/basket/README b/office/basket/README
index bab4507c1e..2c4c7dae7e 100644
--- a/office/basket/README
+++ b/office/basket/README
@@ -1,2 +1,3 @@
-BasKet Note Pads is a note-taking application for KDE that makes it easy to
-write down ideas as you think, and quickly find them back later.
+BasKet Note Pads is a note-taking application for KDE that makes it
+easy to write down ideas as you think, and quickly find them back
+later.
diff --git a/office/basket/basket.SlackBuild b/office/basket/basket.SlackBuild
index 6043e4c9c3..59b6593316 100644
--- a/office/basket/basket.SlackBuild
+++ b/office/basket/basket.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for basket
-# Copyright 2017 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220407 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix icon (wrong pixel size).
+
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - no +x permission on .desktop file.
+# - no useless INSTALL in doc dir.
+# - install KDE HTML docs to /usr/doc/HTML (not /usr/share/doc/HTML).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=basket
-VERSION=${VERSION:-2.11b}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.49b}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,34 +80,51 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+patch -p1 < $CWD/no-write-outside-destdir.patch
mkdir build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+#find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ #| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/share/applications
+cp src/basket.desktop $PKG/usr/share/applications
+
+mkdir -p $PKG/usr/share/mime/packages/
+cp file-integration/basket.xml $PKG/usr/share/mime/packages/
+
+# 20220407 bkw: 128x128 icon is actually 126x126, fix.
+I=$PKG/usr/share/icons/hicolor/128x128/apps/basket.png
+convert -extent 128x128 -gravity center -background none $I new.png
+mv new.png $I
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING INSTALL README.md \
+ AUTHORS COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20220404 bkw: /usr/share/doc is verboten (it's a symlink to /usr/doc anyway).
+mv $PKG/usr/share/doc/HTML $PKG/usr/doc/HTML
+rm -rf $PKG/usr/share/doc
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/basket/basket.info b/office/basket/basket.info
index bfd87f1dc0..5014e52372 100644
--- a/office/basket/basket.info
+++ b/office/basket/basket.info
@@ -1,8 +1,8 @@
PRGNAM="basket"
-VERSION="2.11b"
-HOMEPAGE="https://basket-notepads.github.io/"
-DOWNLOAD="https://github.com/basket-notepads/basket/archive/v2.11b/basket-2.11b.tar.gz"
-MD5SUM="005c6fc8c818fc6c77a2c6acffc943dd"
+VERSION="2.49b"
+HOMEPAGE="https://github.com/basket-notepads/basket"
+DOWNLOAD="https://github.com/basket-notepads/basket/archive/v2.49b/basket-2.49b.tar.gz"
+MD5SUM="eabd8bf25b102d35f242d3494bea7b3d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/basket/no-write-outside-destdir.patch b/office/basket/no-write-outside-destdir.patch
new file mode 100644
index 0000000000..31795b1a7f
--- /dev/null
+++ b/office/basket/no-write-outside-destdir.patch
@@ -0,0 +1,19 @@
+diff -Nur basket-2.49b.orig/file-integration/CMakeLists.txt basket-2.49b/file-integration/CMakeLists.txt
+--- basket-2.49b.orig/file-integration/CMakeLists.txt 2019-02-27 14:33:04.000000000 -0600
++++ basket-2.49b/file-integration/CMakeLists.txt 2022-02-21 02:59:10.390850529 -0600
+@@ -11,15 +11,4 @@
+
+ ########### install files ###############
+
+-find_program(XDG-MIME_EXECUTABLE xdg-mime)
+-find_program(XDG-DESKTOP-MENU_EXECUTABLE xdg-desktop-menu)
+-
+ install(FILES basketthumbcreator.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+-install(CODE "
+-execute_process(COMMAND ${XDG-MIME_EXECUTABLE} install --novendor
+- ${CMAKE_CURRENT_SOURCE_DIR}/basket.xml)
+-execute_process(COMMAND ${XDG-DESKTOP-MENU_EXECUTABLE} install
+- --novendor ${CMAKE_SOURCE_DIR}/src/basket.desktop)
+-execute_process(COMMAND ${XDG-MIME_EXECUTABLE} default
+- ${CMAKE_SOURCE_DIR}/src/basket.desktop application/x-basket-item)
+-")
diff --git a/office/beaver/beaver.SlackBuild b/office/beaver/beaver.SlackBuild
index 166f96c9ba..9b546dcbb6 100644
--- a/office/beaver/beaver.SlackBuild
+++ b/office/beaver/beaver.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Beaver
@@ -22,26 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220217 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix 15.0 build.
+# - do not install useless INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=beaver
VERSION=${VERSION:-0.4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,11 +76,13 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
+
+sed -i '/void *refresh_markers/s,inline,,' src/editor.c
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -83,15 +96,12 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make V=1
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
+cp -a AUTHORS COPYING ChangeLog NEWS README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/office/bibclean/README b/office/bibclean/README
new file mode 100644
index 0000000000..141d0c97ad
--- /dev/null
+++ b/office/bibclean/README
@@ -0,0 +1,5 @@
+Bibclean is a portable program (written in C) that will pretty-print,
+syntax check, and generally sort out a BibTeX database file. The
+standardised format of bibclean's output improves the chances of
+simple filters such as bibextract, bibindex, biblook, bibsort (and so
+on) operating correctly.
diff --git a/office/bibclean/bibclean.SlackBuild b/office/bibclean/bibclean.SlackBuild
new file mode 100644
index 0000000000..09876fc3dc
--- /dev/null
+++ b/office/bibclean/bibclean.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for bibclean
+
+# Copyright 2023 Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=bibclean
+VERSION=${VERSION:-3.06}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/usr/man/man1/bibclean-3.06.1
+chmod 0644 $PKG/usr/man/man1/*
+rm -f $PKG/usr/bin/bibclean-3.06
+rm -f $PKG/usr/bin/bibisbn-3.06
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README ChangeLog COPYING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/bibclean/bibclean.info b/office/bibclean/bibclean.info
new file mode 100644
index 0000000000..1a551f3a29
--- /dev/null
+++ b/office/bibclean/bibclean.info
@@ -0,0 +1,10 @@
+PRGNAM="bibclean"
+VERSION="3.06"
+HOMEPAGE="http://ftp.math.utah.edu/pub/bibclean/"
+DOWNLOAD="http://ftp.math.utah.edu/pub/bibclean/bibclean-3.06.tar.xz"
+MD5SUM="dab8fecde80a391fd0effd1f4d81dcec"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywoof"
+EMAIL="for_sbo.bibclean_2023-15-18@lockywolf.net"
diff --git a/office/kmymoney/slack-desc b/office/bibclean/slack-desc
index 28064f3829..418a22f11f 100644
--- a/office/kmymoney/slack-desc
+++ b/office/bibclean/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-kmymoney: kmymoney (simple financial accounting manager)
-kmymoney:
-kmymoney: KmyMoney is a simple financial accounting manager for KDE for
-kmymoney: personal or small-business use. It is a complete and full
-kmymoney: double-entry accounting software package.
-kmymoney:
-kmymoney:
-kmymoney: Homepage: http://kmymoney.org
-kmymoney:
-kmymoney:
-kmymoney:
+bibclean: bibclean (cleaner and pretty-printer for bibtex)
+bibclean:
+bibclean: bibclean pretty-prints and reformats bibtex files. This is a
+bibclean: dependency of an Emacs' melpa package.
+bibclean:
+bibclean:
+bibclean:
+bibclean: http://ftp.math.utah.edu/pub/bibclean/
+bibclean:
+bibclean:
+bibclean:
diff --git a/office/bibtex2html/bibtex2html.SlackBuild b/office/bibtex2html/bibtex2html.SlackBuild
index 86b38c06fc..2b6dd19485 100644
--- a/office/bibtex2html/bibtex2html.SlackBuild
+++ b/office/bibtex2html/bibtex2html.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bibtex2html
@@ -23,10 +23,13 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bibtex2html
VERSION=${VERSION:-1.99}
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}
@@ -82,10 +92,12 @@ CXXFLAGS="$SLKCFLAGS" \
# so we need to patch this to be based in ${prefix}, as for `BINDIR`.
sed -i 's/MANDIR = \/usr\/man/MANDIR = ${prefix}\/man/' Makefile
+###sbolint off
# Compile the application and install it into the $PKG directory. As
# the Makefile does not support `DESTDIR`, in this case we need to use
# `prefix`. Only `/usr/bin` and `/usr/man` are installed, so it is
# enough to specify `$PKG/usr`.
+###sbolint on
make
make install prefix=$PKG/usr
@@ -106,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/bibutils/bibutils.SlackBuild b/office/bibutils/bibutils.SlackBuild
index 5eb28726fe..82de4eddb4 100644
--- a/office/bibutils/bibutils.SlackBuild
+++ b/office/bibutils/bibutils.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bibutils
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - i486 => i586.
+# - actually use SLKCFLAGS.
+# - strip binaries and library.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bibutils
VERSION=${VERSION:-5.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,19 +77,20 @@ cd ${PRGNAM}_${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--install-dir $PKG/usr/bin \
--install-lib $PKG/usr/lib${LIBDIRSUFFIX} \
--dynamic
+sed -i "s|-Wall|$SLKCFLAGS|" Makefile
make
+
make install
+strip $PKG/usr/bin/* $PKG/usr/lib*/lib*.so.?.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -89,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/office/bookbinder/bookbinder.SlackBuild b/office/bookbinder/bookbinder.SlackBuild
index 22c5a646f0..205013240f 100644
--- a/office/bookbinder/bookbinder.SlackBuild
+++ b/office/bookbinder/bookbinder.SlackBuild
@@ -1,17 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bookbinder
# Petr Kletecka petr@kle.cz <2013>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bookbinder
VERSION=${VERSION:-3.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}
@@ -49,4 +59,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/office/bookbinder/bookbinder.info b/office/bookbinder/bookbinder.info
index 89d1e018f7..85371fd969 100644
--- a/office/bookbinder/bookbinder.info
+++ b/office/bookbinder/bookbinder.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.quantumelephant.co.uk/bookbinder/bookbinder-3.0.zip"
MD5SUM="4205fe88d4931a0e7e898c30a8069679"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Petr Kletecka"
EMAIL="petr@kle.cz"
diff --git a/office/briss/README b/office/briss/README
index a08cd64fd0..819276b03b 100644
--- a/office/briss/README
+++ b/office/briss/README
@@ -1,6 +1,7 @@
BRISS aims to offer a simple cross-platform (Linux, Windows, Mac OSX)
-application for cropping PDF files. A simple user interface lets you define
-exactly the crop-region by fitting a rectangle on the visually overlaid pages.
-It's licensed under GPL.
-To build the package and run this program a Java runtime environment (JRE) is
-enough.
+application for cropping PDF files. A simple user interface lets you
+define exactly the crop-region by fitting a rectangle on the visually
+overlaid pages. It's licensed under GPL.
+
+To build the package and run this program a Java runtime environment
+(JRE) is enough.
diff --git a/office/briss/briss.SlackBuild b/office/briss/briss.SlackBuild
index cd6a550b28..2a5df218eb 100644
--- a/office/briss/briss.SlackBuild
+++ b/office/briss/briss.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for briss
@@ -28,15 +28,25 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=briss
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
DOCS="*.txt"
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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/office/briss/briss.info b/office/briss/briss.info
index 9fbf17a39d..4e0af3dd43 100644
--- a/office/briss/briss.info
+++ b/office/briss/briss.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/briss/files/release%200.9/briss-0.9.ta
MD5SUM="030380e0ca3ff05f2dff9590a2fa4ab7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"
diff --git a/office/broffice.org/README b/office/broffice.org/README
index 57c46052f0..45da685b00 100644
--- a/office/broffice.org/README
+++ b/office/broffice.org/README
@@ -1,3 +1,4 @@
BrOffice.org is the official Brazilian version of OpenOffice.org.
-Be sure to look at the script for some optional things you can do when building.
+Be sure to look at the script for some optional things you can do when
+building.
diff --git a/office/broffice.org/broffice.org.SlackBuild b/office/broffice.org/broffice.org.SlackBuild
index ccadd12492..4552de5aab 100644
--- a/office/broffice.org/broffice.org.SlackBuild
+++ b/office/broffice.org/broffice.org.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenOffice.org
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=broffice.org
VERSION=${VERSION:-3.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,24 +38,9 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
# Work just for pt-BR. Other languages must use the OpenOffice.org slackbuild.
OOLANG="pt-BR" # Leave this alone
PKG_LANG=$(echo $OOLANG | sed s/-/_/) # Leave this alone
-# Some localized versions only ship with a bundled JRE, and we'd like this
-# script to work on those as well... More importantly, the non-jre tarballs
-# don't seem to hang around on the mirrors for the last two releases, so I'm
-# just going to use the jre-bundled tarballs.
-WJRE=${WJRE:-yes}
-
-# If you want to disable java support by removing executable permissions
-# form OOo's java loader (this will not affect other apps), set this
-# variable to "YES" Default is "NO"
-DISABLE_JAVA=${DISABLE_JAVA:-NO}
# Change source package name
if [ "$ARCH" = "x86_64" ]; then
@@ -66,6 +54,29 @@ else
PKGARCH="i586"
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# Some localized versions only ship with a bundled JRE, and we'd like this
+# script to work on those as well... More importantly, the non-jre tarballs
+# don't seem to hang around on the mirrors for the last two releases, so I'm
+# just going to use the jre-bundled tarballs.
+WJRE=${WJRE:-yes}
+
+# If you want to disable java support by removing executable permissions
+# form OOo's java loader (this will not affect other apps), set this
+# variable to "YES" Default is "NO"
+DISABLE_JAVA=${DISABLE_JAVA:-NO}
+
# Ignore this - it's just to get the toplevel directory name of the
# extracted tarball archive
if [ $WJRE != no ]; then
@@ -166,4 +177,5 @@ find -L . \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+
+/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/broffice.org/broffice.org.info b/office/broffice.org/broffice.org.info
index 4c1e74c249..73eebbed8e 100644
--- a/office/broffice.org/broffice.org.info
+++ b/office/broffice.org/broffice.org.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/BrOOo_3.2.1_Linux_x86_install-r
MD5SUM="28f13819217e712432f7cdc30ae9701b"
DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/BrOOo_3.2.1_Linux_x86-64_install-rpm-wJRE_pt-BR.tar.gz"
MD5SUM_x86_64="d84e8e8827ad28672a006414e40382cb"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Oda"
EMAIL="edu.oda@gmail.com"
diff --git a/office/calcurse/0001-Don-t-fclose-fp-if-it-failed-to-fopen.patch b/office/calcurse/0001-Don-t-fclose-fp-if-it-failed-to-fopen.patch
new file mode 100644
index 0000000000..533dfaf24e
--- /dev/null
+++ b/office/calcurse/0001-Don-t-fclose-fp-if-it-failed-to-fopen.patch
@@ -0,0 +1,50 @@
+From dc63cf73781f9303ed1f12dc7e4ecfb6f3938f3c Mon Sep 17 00:00:00 2001
+From: dave <dave@slackbuilds.org>
+Date: Sat, 28 Jan 2023 01:51:55 +0000
+Subject: [PATCH] Don't fclose(fp) if it failed to fopen()
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="------------true"
+
+This is a multi-part message in MIME format.
+--------------true
+Content-Type: text/plain; charset=UTF-8; format=fixed
+Content-Transfer-Encoding: 8bit
+
+
+This fixes a segfault in fclose@@GLIBC_2.2.5
+'calcurse -c /path/to/apts -G' segfaults at first note seen.
+Split the tests @ ical.c:216 into two:
+return if fopen(fp) failed.
+fclose(fp) and return @ EOF.
+
+Signed-off-by: dave <dave@slackbuilds.org>
+---
+ src/ical.c | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+
+--------------true
+Content-Type: text/x-patch; name="0001-Don-t-fclose-fp-if-it-failed-to-fopen.patch"
+Content-Transfer-Encoding: 8bit
+Content-Disposition: attachment; filename="0001-Don-t-fclose-fp-if-it-failed-to-fopen.patch"
+
+diff --git a/src/ical.c b/src/ical.c
+index 535bca8..4b55343 100644
+--- a/src/ical.c
++++ b/src/ical.c
+@@ -213,7 +213,10 @@ static void ical_export_note(FILE *stream, char *name)
+ int has_desc, has_prop, i;
+
+ asprintf(&note_file, "%s/%s", path_notes, name);
+- if (!(fp = fopen(note_file, "r")) || ungetc(getc(fp), fp) == EOF) {
++ if (!(fp = fopen(note_file, "r"))) {
++ return;
++ }
++ if (ungetc(getc(fp), fp) == EOF) {
+ fclose(fp);
+ return;
+ }
+
+--------------true--
+
+
diff --git a/office/calcurse/README b/office/calcurse/README
index 0332ff35b4..147a8bb101 100644
--- a/office/calcurse/README
+++ b/office/calcurse/README
@@ -1,6 +1,9 @@
-calcurse is a calendar and scheduling application for the command line. It
-helps keep track of events, appointments and everyday tasks. A configurable
-notification system reminds user of upcoming deadlines, the curses based
-interface can be customized to suit user needs and a very powerful set of
-command line options can be used to filter and format appointments, making
-it suitable for use in scripts.
+Calcurse is a calendar and scheduling application for the command line.
+It helps keep track of events, appointments and everyday tasks. A
+configurable notification system reminds user of upcoming deadlines, the
+curses based interface can be customized to suit user needs and a very
+powerful set of command line options can be used to filter and format
+appointments, making it suitable for use in scripts.
+
+There is an optional dependency on python3-httplib2 if you want to use
+the calcurse-caldav utility.
diff --git a/office/calcurse/calcurse.SlackBuild b/office/calcurse/calcurse.SlackBuild
index 84a4bb13ec..2dbd716088 100644
--- a/office/calcurse/calcurse.SlackBuild
+++ b/office/calcurse/calcurse.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for calcurse
-# Copyright 2018 Dave Woodfall <dave@dawoodfall.net>
+# Copyright 2018 Dave Woodfall <dave@slackbuilds.org>
# Copyright 2017 Frédéric Galusik, Lyon, France
# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
@@ -26,10 +26,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=calcurse
-VERSION=${VERSION:-4.3.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.8.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,6 +83,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 <$CWD/0001-Don-t-fclose-fp-if-it-failed-to-fopen.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,17 +106,15 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING INSTALL doc/manual* doc/$PRGNAM.1.txt \
+cp -a ABOUT-NLS AUTHORS COPYING doc/manual* doc/$PRGNAM.1.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# move doc to the right place
-cp -a $PKG/usr/share/doc/calcurse/* $PKG/usr/doc/$PRGNAM-$VERSION/
-rm -Rf $PKG/usr/share/doc
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+#rm -rf $PKG/usr/share/doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/calcurse/calcurse.info b/office/calcurse/calcurse.info
index 89e4f975ac..e1c300125d 100644
--- a/office/calcurse/calcurse.info
+++ b/office/calcurse/calcurse.info
@@ -1,10 +1,10 @@
PRGNAM="calcurse"
-VERSION="4.3.0"
-HOMEPAGE="http://calcurse.org/"
-DOWNLOAD="https://calcurse.org/files/calcurse-4.3.0.tar.gz"
-MD5SUM="1a16b7bdf948529856df14a240c79f71"
+VERSION="4.8.0"
+HOMEPAGE="https://calcurse.org/"
+DOWNLOAD="https://calcurse.org/files/calcurse-4.8.0.tar.gz"
+MD5SUM="59eaebddb5539c5aa6a9e6e5d63e0dbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@dawoodfall.net"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/office/calibre-bin/README b/office/calibre-bin/README
new file mode 100644
index 0000000000..6266cbab06
--- /dev/null
+++ b/office/calibre-bin/README
@@ -0,0 +1,7 @@
+Calibre is a powerful and easy to use e-book manager. It allows to do
+nearly everything and it takes things a step beyond normal e-book
+software. It's also completely free and open source and great for both
+casual users and computer experts.
+
+This script repackage the official binary tarball that includes all its
+dependencies.
diff --git a/office/calibre-bin/calibre-bin.SlackBuild b/office/calibre-bin/calibre-bin.SlackBuild
new file mode 100644
index 0000000000..0adcf0b982
--- /dev/null
+++ b/office/calibre-bin/calibre-bin.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for calibre-bin
+
+# Copyright 2019-2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=calibre-bin
+VERSION=${VERSION:-7.9.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH="$( uname -m )"
+fi
+
+case "$ARCH" in
+ i?86) echo "Support for 32bit CPUs has been dropped because Qt 6 does not support them"
+ exit 1 ;;
+ arm*) ARCH=arm ;;
+esac
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+mkdir -p opt/calibre usr/bin \
+ usr/share/{desktop-directories,applications,metainfo,mime/packages,icons/hicolor,zsh/site-functions}
+tar xvf $CWD/${PRGNAM%-bin}-$VERSION-$ARCH.txz -C opt/calibre
+XDG_DATA_DIRS=$PKG/usr/share XDG_CONFIG_HOME=$PKG/root/.config opt/calibre/calibre_postinstall --root=$PKG/usr
+rmdir -p root/.config
+shopt -s extglob
+rm -r usr/share/{desktop-directories,mime/!(packages)}
+shopt -u extglob
+rm -f usr/share/applications/mimeinfo.cache
+
+sed -i "s|$PKG||g" usr/share/bash-completion/completions/ebook-convert
+
+cd usr/bin
+for f in $(find . -maxdepth 1 -type l); do
+ ln -sf "/opt/calibre/${f:2}" .
+done
+rm calibre-uninstall
+cd ../..
+
+find -L opt/calibre/plugins -type f -name "*.so" -exec chmod 755 {} \;
+find -L opt/calibre/lib/calibre-extensions \
+ -type f -name "*.so" -exec chmod 755 {} \;
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p install
+cat $CWD/slack-desc > install/slack-desc
+cat $CWD/doinst.sh > install/doinst.sh
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/calibre-bin/calibre-bin.info b/office/calibre-bin/calibre-bin.info
new file mode 100644
index 0000000000..0d2217abd9
--- /dev/null
+++ b/office/calibre-bin/calibre-bin.info
@@ -0,0 +1,10 @@
+PRGNAM="calibre-bin"
+VERSION="7.9.0"
+HOMEPAGE="https://calibre-ebook.com"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.calibre-ebook.com/7.9.0/calibre-7.9.0-x86_64.txz"
+MD5SUM_x86_64="fcff97c68fadeb4c9f6e731fae94af35"
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/office/qpdfview-qt5/doinst.sh b/office/calibre-bin/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/office/qpdfview-qt5/doinst.sh
+++ b/office/calibre-bin/doinst.sh
diff --git a/office/calibre-bin/slack-desc b/office/calibre-bin/slack-desc
new file mode 100644
index 0000000000..5cb50ffed1
--- /dev/null
+++ b/office/calibre-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+calibre-bin: calibre-bin (Ebook manager)
+calibre-bin:
+calibre-bin: Calibre is a powerful and easy to use e-book manager. It allows to do
+calibre-bin: nearly everything and it takes things a step beyond normal e-book
+calibre-bin: software. It's also completely free and open source and great for both
+calibre-bin: casual users and computer experts.
+calibre-bin:
+calibre-bin: This is a repackaging of the official binary tarball that includes all
+calibre-bin: its dependencies.
+calibre-bin:
+calibre-bin: Homepage: https://calibre-ebook.com
diff --git a/office/calibre/README b/office/calibre/README
deleted file mode 100644
index 1e4ebaba02..0000000000
--- a/office/calibre/README
+++ /dev/null
@@ -1,10 +0,0 @@
-Calibre is meant to be a complete e-library solution. It includes library
-management, format conversion, news feeds to ebook conversion as well
-as e-book reader sync features.
-
-Calibre is primarily an ebook cataloging program. It manages your ebook
-collection for you. It is designed around the concept of the logical book,
-i.e. a single entry in the database that may correspond to ebooks in
-several formats. It also supports conversion from a dozen different ebook
-formats to LRF and EPUB. A graphical interface to the conversion software
-can be accessed easily by just clicking the "Convert E-books" button.
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
deleted file mode 100644
index 048798bcf9..0000000000
--- a/office/calibre/calibre.SlackBuild
+++ /dev/null
@@ -1,166 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for calibre
-
-# Copyright 2009-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=calibre
-VERSION=${VERSION:-3.34.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Remove desktop integration. We'll do that later.
-patch -p1 < $CWD/patches/remove-desktop-integration.patch
-# Fix calibre module location.
-patch -p1 < $CWD/patches/calibre-module-fix.patch
-# Remove calibre update check
-patch -p1 < $CWD/patches/calibre-no-update.patch
-# Remove calibre portable scripts.
-rm -f resources/calibre-portable.*
-
-PYTHONVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
-export SIP_BIN=/usr/bin/python2-sip
-export SIP_INC_DIR="/usr/include/python$PYTHONVER/python2-sip"
-
-OVERRIDE_CFLAGS="$SLKCFLAGS" \
-OVERRIDE_LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
-python setup.py build
-
-# We have to fake out CALIBRE_CONFIG_DIRECTORY if there is a current
-# calibre installation while the build process takes place. :/
-mkdir -p "$PWD/tmp/config"
-
-# Hack for installing zsh completion.
-mkdir -p $PKG/usr/share/zsh/site-functions
-
-CALIBRE_CONFIG_DIRECTORY="$PWD/tmp/config" \
-python setup.py install \
- --root=$PKG \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sharedir=/usr/share \
- --bindir=/usr/bin \
- --staging-libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
- --staging-bindir=$PKG/usr/bin \
- --staging-sharedir=$PKG/usr/share
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Fix permissions.
-find $PKG/usr/lib${LIBDIRSUFFIX} -iname "*\.py" -exec chmod 0644 '{}' \;
-
-# Install the necessary desktop items.
-mkdir -p $PKG/usr/share/{applications,mime/packages}
-cat src/calibre/linux.py | sed -n "/^VIEWER/,/^'''/p" | \
- sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-lrfviewer.desktop
-cat src/calibre/linux.py | sed -n "/^EVIEWER/,/^'''/p" | \
- sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-ebook-viewer.desktop
-cat src/calibre/linux.py | sed -n "/^ETWEAK/,/^'''/p" | \
- sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-ebook-edit.desktop
-cat src/calibre/linux.py | sed -n "/^GUI/,/^'''/p" | \
- sed -e "/'''/d" -e '/^Name/s|calibre|Calibre|' \
- > $PKG/usr/share/applications/$PRGNAM-gui.desktop
-install -D -m 0644 resources/$PRGNAM-mimetypes.xml $PKG/usr/share/mime/packages
-rm -f $PKG/usr/share/$PRGNAM/$PRGNAM-mimetypes.xml
-
-for i in 16 24 32 64 96 128; do
- convert resources/images/lt.png -resize ${i}x${i}! $PRGNAM-gui-${i}.png
- convert -background none imgsrc/viewer.svg \
- -resize ${i}x${i}! $PRGNAM-viewer-${i}.png
- convert imgsrc/mimetypes/lrf.svg \
- -resize ${i}x${i}! application-x-sony-bbeb-${i}.png
- convert resources/images/tweak.png -resize ${i}x${i}! $PRGNAM-ebook-edit-${i}.png
- install -D -m 0644 $PRGNAM-gui-${i}.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-gui.png
- install -D -m 0644 $PRGNAM-viewer-${i}.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-viewer.png
- install -D -m 0644 application-x-sony-bbeb-${i}.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/mimetypes/application-x-sony-bbeb.png
- install -D -m 0644 $PRGNAM-ebook-edit-${i}.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-ebook-edit.png
-done
-
-# Don't ship fonts that are already in Slackware.
-for FONT in $PKG/usr/share/$PRGNAM/fonts/liberation/*; do
- # Make sure that the fonts exist first before deleting them.
- if find /usr/share/fonts/ -name "$(basename $FONT)" 2>/dev/null 1>/dev/null
- then
- rm -f $FONT
- ln -s $(find /usr/share/fonts/ -name "$(basename $FONT)") $FONT
- fi
-done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE* Changelog.yaml COPYRIGHT README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-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/office/calibre/calibre.info b/office/calibre/calibre.info
deleted file mode 100644
index ef7454be15..0000000000
--- a/office/calibre/calibre.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="calibre"
-VERSION="3.34.0"
-HOMEPAGE="https://calibre-ebook.com"
-DOWNLOAD="https://download.calibre-ebook.com/3.34.0/calibre-3.34.0.tar.xz"
-MD5SUM="8d462959dba64b829529b63fd3f78b8c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="cssutils dnspython mechanize podofo python-dateutil netifaces psutil cssselect apsw optipng PyQt5 Pygments msgpack-python regex html5-parser dukpy unrardll"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/office/calibre/patches/calibre-module-fix.patch b/office/calibre/patches/calibre-module-fix.patch
deleted file mode 100644
index 6c0ee5178b..0000000000
--- a/office/calibre/patches/calibre-module-fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur calibre.orig/setup/install.py calibre/setup/install.py
---- calibre.orig/setup/install.py 2010-03-05 21:13:33.000000000 +0000
-+++ calibre/setup/install.py 2010-03-07 00:07:41.000000000 +0000
-@@ -142,7 +142,9 @@
-
- def install_env_module(self):
- import distutils.sysconfig as s
-- libdir = s.get_python_lib(prefix=self.opts.staging_root)
-+ libdir = s.get_python_lib(prefix=(self.opts.staging_root + sys.prefix))
-+ if not os.path.exists(libdir):
-+ os.makedirs(libdir)
- try:
- if not os.path.exists(libdir):
- os.makedirs(libdir)
diff --git a/office/calibre/patches/calibre-no-update.patch b/office/calibre/patches/calibre-no-update.patch
deleted file mode 100644
index 99b9f7c099..0000000000
--- a/office/calibre/patches/calibre-no-update.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Nur calibre-2.9.0.orig/src/calibre/gui2/update.py calibre-2.9.0/src/calibre/gui2/update.py
---- calibre-2.9.0.orig/src/calibre/gui2/update.py 2014-11-08 21:43:22.888681538 -0700
-+++ calibre-2.9.0/src/calibre/gui2/update.py 2014-11-08 21:45:27.363383815 -0700
-@@ -63,20 +63,6 @@
- while not self.shutdown_event.is_set():
- calibre_update_version = NO_CALIBRE_UPDATE
- plugins_update_found = 0
-- try:
-- version = get_newest_version()
-- if version[:2] > numeric_version[:2]:
-- calibre_update_version = version
-- except Exception as e:
-- prints('Failed to check for calibre update:', as_unicode(e))
-- try:
-- update_plugins = get_plugin_updates_available(raise_error=True)
-- if update_plugins is not None:
-- plugins_update_found = len(update_plugins)
-- except Exception as e:
-- prints('Failed to check for plugin update:', as_unicode(e))
-- if calibre_update_version != NO_CALIBRE_UPDATE or plugins_update_found > 0:
-- self.signal.update_found.emit(calibre_update_version, plugins_update_found)
- self.shutdown_event.wait(self.INTERVAL)
-
- def shutdown(self):
diff --git a/office/calibre/patches/remove-desktop-integration.patch b/office/calibre/patches/remove-desktop-integration.patch
deleted file mode 100644
index dbf54d6cb0..0000000000
--- a/office/calibre/patches/remove-desktop-integration.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur calibre.orig/src/calibre/linux.py calibre/src/calibre/linux.py
---- calibre.orig/src/calibre/linux.py 2012-06-29 04:53:39.000000000 +0000
-+++ calibre/src/calibre/linux.py 2012-07-03 02:57:13.834849391 +0000
-@@ -177,9 +177,6 @@
- self.mime_resources = []
- if islinux or isbsd:
- self.setup_completion()
-- if islinux or isbsd:
-- self.setup_desktop_integration()
-- self.create_uninstaller()
-
- from calibre.utils.config import config_dir
- if os.path.exists(config_dir):
diff --git a/office/calibre/slack-desc b/office/calibre/slack-desc
deleted file mode 100644
index 1d1db27c84..0000000000
--- a/office/calibre/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------------------------------------------------------|
-calibre: calibre (Ebook library manager)
-calibre:
-calibre: Calibre is a one stop solution to all your e-book needs. It is free,
-calibre: open source and cross-platform in design and works well on Linux,
-calibre: OS X and Windows. calibre is meant to be a complete e-library
-calibre: solution and thus includes library management, format conversion,
-calibre: news feeds to ebook conversion, as well as e-book reader sync
-calibre: features and an integrated e-book viewer.
-calibre:
-calibre: Homepage: https://calibre-ebook.com
-calibre:
diff --git a/office/catdoc/catdoc.SlackBuild b/office/catdoc/catdoc.SlackBuild
index 13a6c32790..26ea8fa777 100644
--- a/office/catdoc/catdoc.SlackBuild
+++ b/office/catdoc/catdoc.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for catdoc
# Written by Cezary M. Kruk (c.kruk@bigfoot.com)
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=catdoc
-VERSION=${VERSION:-0.94.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.95}
+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,14 +96,11 @@ 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
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CODING.STD COPYING CREDITS INSTALL INSTALL.dos NEWS README TODO \
+ CODING.STD COPYING NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -101,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/office/catdoc/catdoc.info b/office/catdoc/catdoc.info
index 0f61762e32..b45f152e84 100644
--- a/office/catdoc/catdoc.info
+++ b/office/catdoc/catdoc.info
@@ -1,8 +1,8 @@
PRGNAM="catdoc"
-VERSION="0.94.2"
+VERSION="0.95"
HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/"
-DOWNLOAD="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.94.2.tar.gz"
-MD5SUM="243e1680bb3e703616f5adecfee24491"
+DOWNLOAD="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.95.tar.gz"
+MD5SUM="4ece2f43b140fab6a2c3a9d6436d7779"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/catdvi/README b/office/catdvi/README
new file mode 100644
index 0000000000..bc8b5f09ad
--- /dev/null
+++ b/office/catdvi/README
@@ -0,0 +1,43 @@
+catdvi can be used to transform TeX DVI files into text, losing
+formatting its main aim on SBo is to be used by recoll, when it cannot
+extract text from pdf files by other means.
+
+
+catdvi is a program that translates TeX Device Independent (DVI) files
+into readable plain text. The program is under development. It
+produces satisfactory results in many cases, but still has some issues
+with complicated input.
+
+Goals Actually, "translate to plain text" can mean several different
+things, depending on the intended use:
+
+Output formatted text that resembles the layout of the DVI file as
+closely as possible, suitable for e.g. preview on a character cell
+terminal or printing on a teletype style printer. Output unformatted
+text in "read order". (Rather than "print order", which makes quite a
+difference with e.g. multi-column page layouts). Useful for searching,
+indexing and other kinds of postprocessing, and maybe also for export
+to different text processors. Output (not completely plain) text in
+read order with the formatting distilled into some kind of markup so
+that paragraph breaks, subscripts, superscripts, etc. can still be
+recognized. This functionality is essentially a (La-)TeX decompiler,
+useful for recovery of lost or otherwise unavailable .tex files.
+catdvi's principal target is to create human-readable text files from
+DVI input, and hence the first kind of translation.
+
+The second kind is supported as well because one of the developers
+needed it and it could be obtained as an easy by-product (based on the
+mostly true assumption that read order = order in the source file =
+order in the DVI file).
+
+The third kind of translation is the most difficult one to achieve
+since a DVI file does not contain logical markup information. The
+structure of the text has to be guessed from heuristic principles and
+an analysis of certain characteristics of TeX's output. No attempt in
+this direction has been made so far. But knowledge of some aspects of
+text structure would also help to improve the quality of layout in
+case 1. If it turns out these can reliably be guessed, an option to
+show them as markup will probably follow. This feature has low
+priority at the moment, especially since nobody has expressed a need
+for it.
+
diff --git a/office/catdvi/catdvi.SlackBuild b/office/catdvi/catdvi.SlackBuild
new file mode 100644
index 0000000000..432fd9078e
--- /dev/null
+++ b/office/catdvi/catdvi.SlackBuild
@@ -0,0 +1,123 @@
+#!/bin/bash
+
+# Slackware build script for catdvi
+
+# Copyright 2023 Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=catdvi
+VERSION=${VERSION:-0.14}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i 39d kpathsea.c
+CFLAGS="$SLKCFLAGS -std=c89 " \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+
+mkdir -p "$PKG/usr/bin"
+cp catdvi "$PKG/usr/bin/"
+mkdir -p "$PKG/usr/man/man1"
+cp catdvi.1 "$PKG/usr/man/man1"
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+AUTHORS \
+COPYING \
+ChangeLog \
+NEWS \
+README \
+TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/catdvi/catdvi.info b/office/catdvi/catdvi.info
new file mode 100644
index 0000000000..3596129caa
--- /dev/null
+++ b/office/catdvi/catdvi.info
@@ -0,0 +1,10 @@
+PRGNAM="catdvi"
+VERSION="0.14"
+HOMEPAGE="https://catdvi.sf.net"
+DOWNLOAD="https://excellmedia.dl.sourceforge.net/project/catdvi/catdvi/0.14/catdvi-0.14.tar.gz"
+MD5SUM="41b04de48c1ca9abf8d3f9ecedc2b376"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.catdvi_2023-05-17@lockywolf.net"
diff --git a/office/catdvi/slack-desc b/office/catdvi/slack-desc
new file mode 100644
index 0000000000..23362ead0c
--- /dev/null
+++ b/office/catdvi/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+catdvi: catdvi (dvi fallback for recoll)
+catdvi:
+catdvi: catdvi can be used to transform DVI files into text, losing
+catdvi: formatting its main aim on SBo is to be used by recoll, when it
+catdvi: cannot extract text from DVI files by other means.
+catdvi:
+catdvi:
+catdvi:
+catdvi:
+catdvi:
+catdvi:
diff --git a/office/ccal/ccal.SlackBuild b/office/ccal/ccal.SlackBuild
index 8830b9f0c2..81d731e2d5 100644
--- a/office/ccal/ccal.SlackBuild
+++ b/office/ccal/ccal.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ccal
@@ -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=ccal
VERSION=${VERSION:-2.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -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/office/color-theme/README b/office/color-theme/README
deleted file mode 100644
index 83ade8ad5e..0000000000
--- a/office/color-theme/README
+++ /dev/null
@@ -1,13 +0,0 @@
-color-theme is an emacs-lisp mode for skinning your emacs.
-
-Features are:
-
- Huge and extensible theme library
- Easy to use
- Works on pretty all emacs flavours
- Mature source code
-
-Put the following line in your configuration file (~/.emacs for a single user):
-
-(require 'color-theme)
-
diff --git a/office/color-theme/color-theme.info b/office/color-theme/color-theme.info
deleted file mode 100644
index ffef6d116e..0000000000
--- a/office/color-theme/color-theme.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="color-theme"
-VERSION="6.6.0"
-HOMEPAGE="http://www.nongnu.org/color-theme"
-DOWNLOAD="http://download.savannah.gnu.org/releases/color-theme/color-theme-6.6.0.tar.gz"
-MD5SUM="a4de73c236a6af11ab378bfe18dabcca"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Asaf Ohaion"
-EMAIL="asaf@hadasa-oss.net"
diff --git a/office/color-theme/fix_makefile.diff b/office/color-theme/fix_makefile.diff
deleted file mode 100644
index 1ff4756437..0000000000
--- a/office/color-theme/fix_makefile.diff
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -uNr color-theme-6.6.0/Makefile color-theme-6.6.0_/Makefile
---- color-theme-6.6.0/Makefile 2006-05-28 16:23:31.000000000 +0300
-+++ color-theme-6.6.0_/Makefile 2012-03-20 17:44:11.072562905 +0200
-@@ -50,6 +50,11 @@
- --eval '(setq load-path (cons "." load-path))' \
- -f batch-byte-compile $<
-
-+themes/%.elc: themes/%.el
-+ @$(EMACS) $(OPTIONCOMPILE) \
-+ --eval '(setq load-path (cons ".." load-path))' \
-+ -f batch-byte-compile $<
-+
- %.info: %.texi
- @echo "No doc yet !"
- # makeinfo $<
-@@ -69,17 +74,17 @@
- -rm -f $(MANUAL).info $(MANUAL).html $(TARGET) $(SPECIAL)
-
- install-info: $(MANUAL).info
-- [ -d $(INFODIR) ] || install -d $(INFODIR)
-- install -m 0644 $(MANUAL).info $(INFODIR)/$(MANUAL)
-- $(INSTALLINFO) $(INFODIR)/$(MANUAL)
-+ [ -d $(DESTDIR)/$(INFODIR) ] || install -d $(DESTDIR)/$(INFODIR)
-+ install -m 0644 $(MANUAL).info $(DESTDIR)/$(INFODIR)/$(MANUAL)
-+ $(INSTALLINFO) $(DESTDIR)/$(INFODIR)/$(MANUAL)
-
- install-bin: lisp
-- install -d $(ELISPDIR)
-- install -d $(ELISPDIR)/themes
-- install -m 0644 $(ALLSOURCE) $(TARGET) $(ELISPDIR)
-- install -m 0644 $(THEMES_FILES) $(TARGET) $(ELISPDIR)/themes
-+ install -d $(DESTDIR)/$(ELISPDIR)
-+ install -d $(DESTDIR)/$(ELISPDIR)/themes
-+ install -m 0644 $(ALLSOURCE) $(TARGET) $(DESTDIR)/$(ELISPDIR)
-+ install -m 0644 $(THEMES_FILES) $(TARGET) $(DESTDIR)/$(ELISPDIR)/themes
-
--install: install-bin install-info
-+install: install-bin
-
- ## DO NOT TOUCH THIS !
- ## HELPERS FOR MAINTAINER(S)
-diff -uNr color-theme-6.6.0/Makefile.defs color-theme-6.6.0_/Makefile.defs
---- color-theme-6.6.0/Makefile.defs 2012-03-20 17:49:36.144588064 +0200
-+++ color-theme-6.6.0_/Makefile.defs 2012-03-20 17:48:56.222585031 +0200
-@@ -10,7 +10,7 @@
- # Installation options
- # PREFIX is only used here.
- PREFIX = /usr/local
--ELISPDIR = $(PREFIX)/share/emacs/site-lisp/color-theme-el
-+ELISPDIR = $(PREFIX)/share/emacs/site-lisp/
- INFODIR = $(PREFIX)/info
-
- # Command to use to install the Info dir entry
diff --git a/office/convertlit/convertlit.1 b/office/convertlit/convertlit.1
index c748228719..1ed9daa926 100644
--- a/office/convertlit/convertlit.1
+++ b/office/convertlit/convertlit.1
@@ -50,5 +50,5 @@ where to find the key file.
.PP
This manual page was written by Joe Nahmias <jello@debian.org>,
for the Debian project (but may be used by others). It was modified
-slightly by B. Watson <yalhcru@gmail.com> for use with the SlackBuild.org
+slightly by B. Watson <urchlay@slackware.uk> for use with the SlackBuild.org
project.
diff --git a/office/convertlit/convertlit.SlackBuild b/office/convertlit/convertlit.SlackBuild
index 50b4b958de..05630b47b5 100644
--- a/office/convertlit/convertlit.SlackBuild
+++ b/office/convertlit/convertlit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for convertlit
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -11,12 +11,18 @@
# the package name, but not the actual executable. I've renamed the binary
# to convertlit to keep things SFW.
+# 20210926 bkw: BUILD=4
+# - actually use SLKCFLAGS.
+# - add man page for lit2epub.
# 20170131 bkw: BUILD=3, REQUIRES was ltm, now libtommath
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=convertlit
VERSION=${VERSION:-1.8}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -26,7 +32,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,11 +68,8 @@ mkdir -p $SRCNAME
cd $SRCNAME
unzip $CWD/$SRCNAME.zip
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# use system-installed ltm
sed -i \
@@ -73,6 +80,9 @@ sed -i \
# update the help message to reflect the name change
sed -i '/^"/s,cl.t,'$PRGNAM,g cl?t$SRCVER/cl?t.c
+# 20210926 bkw: SLKCFLAGS weren't being used. Derp.
+sed -i "s,-O[23],$SLKCFLAGS," */Makefile
+
make -C lib
make -C cl?t$SRCVER
@@ -82,9 +92,11 @@ install -s -m0755 cl?t$SRCVER/cl?t $PKG/usr/bin/$PRGNAM
# handy wrapper script
install -m0755 $CWD/lit2epub $PKG/usr/bin
-# man page borrowed from Debian
+# convertlit man page borrowed from Debian, lit2epub written by
+# SlackBuild author.
mkdir -p $PKG/usr/man/man1
gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+gzip -9c < $CWD/lit2epub.1 > $PKG/usr/man/man1/lit2epub.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
sed 's,\r,,' cl?t$SRCVER/COPYING > $PKG/usr/doc/$PRGNAM-$VERSION/COPYING
@@ -95,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/convertlit/convertlit.info b/office/convertlit/convertlit.info
index caae3f35e1..b4975225fa 100644
--- a/office/convertlit/convertlit.info
+++ b/office/convertlit/convertlit.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtommath"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/convertlit/lit2epub.1 b/office/convertlit/lit2epub.1
new file mode 100644
index 0000000000..24d150c57a
--- /dev/null
+++ b/office/convertlit/lit2epub.1
@@ -0,0 +1,65 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "LIT2EPUB" 1 "2021-09-26" "20160803" "SlackBuilds.org"
+.SH NAME
+lit2epub \- convert a DRM1 .lit file to .epub
+.\" RST source for lit2epub(1) man page. Convert with:
+.
+.\" rst2man.py lit2epub.rst > lit2epub.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+lit2epub \fBinput.lit\fP \fI[ output.epub ]\fP
+.SH DESCRIPTION
+.sp
+\fBlit2epub\fP is a wrapper script that uses \fBconvertlit\fP(1) and \fBzip\fP(1) to
+convert a DRM1 .lit ebook file to an .epub.
+.sp
+Default output file is written to the current directory, named after the
+input filename with the .lit or .LIT extension changed to .epub, or the
+input filename with .epub appended, if there is no .lit extension.
+.sp
+Use \- for the output file, to output to stdout.
+.sp
+Exit status is 0 on success, non\-zero on failure.
+.sp
+If you need to convert a non\-DRM1 .lit file, use convertlit to downconvert
+to DRM1 first.
+.SH AUTHOR
+.sp
+\fBlit2epub\fP and this man page were written for the SlackBuilds.org
+project by B. Watson, and are licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBconvertlit\fP(1), \fBzip\fP(1)
+.\" Generated by docutils manpage writer.
+.
diff --git a/office/convertlit/lit2epub.rst b/office/convertlit/lit2epub.rst
new file mode 100644
index 0000000000..64923fbd51
--- /dev/null
+++ b/office/convertlit/lit2epub.rst
@@ -0,0 +1,52 @@
+.. RST source for lit2epub(1) man page. Convert with:
+.. rst2man.py lit2epub.rst > lit2epub.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 20160803
+.. |date| date::
+
+========
+lit2epub
+========
+
+---------------------------------
+convert a DRM1 .lit file to .epub
+---------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+lit2epub **input.lit** *[ output.epub ]*
+
+DESCRIPTION
+===========
+
+**lit2epub** is a wrapper script that uses **convertlit**\(1) and **zip**\(1) to
+convert a DRM1 .lit ebook file to an .epub.
+
+Default output file is written to the current directory, named after the
+input filename with the .lit or .LIT extension changed to .epub, or the
+input filename with .epub appended, if there is no .lit extension.
+
+Use - for the output file, to output to stdout.
+
+Exit status is 0 on success, non-zero on failure.
+
+If you need to convert a non-DRM1 .lit file, use convertlit to downconvert
+to DRM1 first.
+
+AUTHOR
+======
+
+**lit2epub** and this man page were written for the SlackBuilds.org
+project by B. Watson, and are licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**convertlit**\(1), **zip**\(1)
diff --git a/office/coolreader/README b/office/coolreader/README
index 1eb527ec91..1e618f1f88 100644
--- a/office/coolreader/README
+++ b/office/coolreader/README
@@ -1 +1,11 @@
-CoolReader is an e-book reader for various platforms.
+coolreader (e-book reader)
+
+CoolReader is an e-book reader for various platforms, with a Qt5 user
+interface.
+
+Supported file formats include plain text, HTML, RTF, Microsoft Word
+(.doc), Palm Pilot (.prc, .pdb, .pml, .mobi), FB2, and EPUB.
+
+Note: coolreader is "chatty": it logs a lot of meaningless warnings
+and errors to stderr. Unless there's an actual problem with the
+application, you can ignore this stuff.
diff --git a/office/coolreader/coolreader.SlackBuild b/office/coolreader/coolreader.SlackBuild
index d4cd5b4820..af5cfcb8c1 100644
--- a/office/coolreader/coolreader.SlackBuild
+++ b/office/coolreader/coolreader.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CoolReader
-# Copyright 2011-2012 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2011-2012 Fridrich von Stauffenberg <email removed>
+# Copyright 2020 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,31 +23,73 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230111 bkw: BUILD=2, just to force a rebuild after libunibreak
+# update to 5.1.
+
+# 20220218 bkw: update for v3.2.59. To get it to build, had to disable
+# unrar support... which didn't exist in v3.2.57, so nobody will miss
+# it, I hope. Also, wxWidgets support fails to build, so that's now
+# disabled (and removed from the README).
+
+# 20210930 bkw: update for v3.2.57. This is not the latest release, but
+# 3.2.58 fails to build. Will revisit when the next release happens. If
+# you can't wait that long, send me a patch (does anyone even use this?)
+# - remove fribidi from DOWNLOAD, -current's is new enough now.
+# - remove libunibreak from DOWNLOAD, add to REQUIRES (SBo's libunibreak
+# is now new enough to use for coolreader).
+# - drop QT (qt4) GUI option since qt4's not on SBo (yet?).
+# - wxGTK3 build no longer works, for GUI=wx require wxPython 2.8.
+
+# 20210222 bkw: update for v3.2.54. Upstream no longer ships libunibreak
+# and fribidi source, so add them to DOWNLOAD. Replace qt4_settings_ui.diff
+# with a more robust sed command. Add -fpermissive. Sigh.
+
+# 20201102 bkw:
+# - update for v3.2.50.
+# - embiggen the default window size.
+# - make standard (since the 1980s!) keyboard accelerators work
+# (alt-f for file menu, alt-v for view, etc), in the qt4/5 UIs.
+
+# 20201019 bkw:
+# - update for v3.2.49, new homepage.
+# - allow for building qt4, qt5, wx UIs.
+# - replace useless/inaccurate man page with our own.
+
+# 20200126 bkw, BUILD=2:
+# - take over maintenance
+# - i486 => i586
+# - make .desktop file validate
+# - fix documetn => document typo
+# - add supported filetypes to README and slack-desc
+# - save/load settings (.ini file) to ~/.cr3, not /usr/share/cr3.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=coolreader
-VERSION=${VERSION:-3.0.56}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.59}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-
-ORIG_PRGNAM=cr3
-ORIG_VERSION=$VERSION-7
-ORIG_DIRNAME=cr$ORIG_VERSION
-ORIG_FILENAME=${ORIG_PRGNAM}_$VERSION.orig.tar.gz
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,42 +107,109 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $ORIG_DIRNAME
-tar xvf $CWD/$ORIG_FILENAME
-cd $ORIG_DIRNAME
-chown -R root:root .
+rm -rf $PRGNAM-cr$VERSION
+tar xvf $CWD/$PRGNAM-cr$VERSION.tar.gz
+cd $PRGNAM-cr$VERSION
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# FFS, it's 2020, we don't need GUI apps hardcoded to start at
+# 640x400 window size. Honestly we don't need them hardcoded at
+# all, but since that's what coolreader does, pick a size that's
+# bigger than a 3x5" index card on a modern screen...
+sed -i 's,\(<height>\)400,\11024,' cr3qt/src/mainwindow.ui
+sed -i 's,\(<width>\)600,\11280,' cr3qt/src/mainwindow.ui
+
+# Install the docs in the right place for Slackware.
+sed -i "s,share/doc/cr3,doc/$PRGNAM-$VERSION," cr3qt/CMakeLists.txt
+
+# The settings sed for qt4 was made by loading cr3qt/src/settings.ui
+# into Qt Designer and saving it again. Needed because upstream's
+# using a different (older?) version of qt4.
+
+if true; then
+ # 20220218 bkw: only the qt5 UI works in 3.2.59, sorry.
+ GUI=QT5
+ UI=Qt5
+else
+ # 20220218 bkw: wxWidgets is broken (for either 2.8 or 3.0),
+ # this section of code can't run, it's left for reference.
+ GUI=${GUI:-QT5}
+ GUI="$( echo $GUI | tr a-z A-Z )"
+ case "$GUI" in
+ # 20210930 bkw: Qt4 disabled for now, unless/until SBo gets a qt4 build.
+ #QT) UI=Qt4
+ #sed -i '/<property name="currentText"/s,>, stdset="0">,' cr3qt/src/settings.ui
+ #;;
+ QT5) UI=Qt5 ;;
+ WX) # Only 2.8.x works, be specific in the slack-desc.
+ UI="wxWidgets 2.8"
+ SLKCFLAGS+=" $( wx-config --version=2.8 --cflags )"
+ SLKLDFLAGS="$( wx-config --version=2.8 --libs )" ;;
+ *) echo "*** Unsupported GUI '$GUI', use one of: QT5 WX"
+ exit 1 ;;
+ esac
+fi
+
+# 20201103 bkw: Alt+F for the File menu, Alt+V for View, etc. This
+# has been a UI standard since before Windows 1.0 (MS-DOS apps had it),
+# and I'm not sure why upstream didn't include it. Only affects the
+# Qt4/5 UIs. Incomplete: you can't press Alt+F followed by O for
+# File -> Open... but you can use the arrow keys to navigate the
+# menus once one of them has been opened.
+sed -i 's,>\(File\|View\|Navigation\|Help\)<,>\&amp;\1<,' \
+ cr3qt/src/mainwindow.ui
+
+# This is undocumented and exists purely for my own use. It gets rid
+# of the "Escape = minimize" keystroke, because I keep expecting Escape
+# to exit (like 3 or 4 other document readers I use regularly).
+# Only affects the Qt4/5 UIs.
+if [ "${NO_ESCAPE:-no}" = "yes" ]; then
+ echo "=== Activating super-secret Urchlay mode"
+ echo -e 'g/>Esc<\n-1,+1d\nw\nq' | ed cr3qt/src/mainwindow.ui
+fi
+
+echo "=== Building $UI GUI"
mkdir -p build
cd build
-cmake \
- -D CMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -D CMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -D CMAKE_INSTALL_PREFIX=/usr \
- -D LIB_SUFFIX=${LIBDIRSUFFIX} \
- -D CMAKE_BUILD_TYPE=Release \
- -D MAX_IMAGE_SCALE_MUL=2 \
- -D DOC_DATA_COMPRESSION_LEVEL=3 \
- -D DOC_BUFFER_SIZE=0x1400000 \
- -D GUI=QT ..
-make VERBOSE=1
-make install DESTDIR=$PKG
+ cmake \
+ -D CMAKE_EXE_LINKER_FLAGS="$SLKLDFLAGS" \
+ -D USE_UNRAR=1 \
+ -D CMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -D CMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D LIB_SUFFIX=${LIBDIRSUFFIX} \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D MAX_IMAGE_SCALE_MUL=2 \
+ -D DOC_DATA_COMPRESSION_LEVEL=3 \
+ -D DOC_BUFFER_SIZE=0x1400000 \
+ -U USE_UNRAR \
+ -D GUI=$GUI ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/man
-mv $PKG/usr/share/man/* $PKG/usr/man
+# Upstream's man page doesn't document all the options, and incorrectly
+# refers to the (nonexistent) info page. It's also hardcoded to install
+# to /usr/share/man.
rm -rf $PKG/usr/share/man
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/cr3.1 > $PKG/usr/man/man1/cr3.1.gz
+
+# Tired of having to remember the binary's called something other than
+# the package and source name.
+ln -s cr3 $PKG/usr/bin/$PRGNAM
+ln -s cr3.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz
+# This dir already exists with GUI=QT or QT5, but not WX.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$ORIG_PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc
+cp -a README.md cr3gui/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
+sed "s,@UI@,$UI," $CWD/slack-desc > $PKG/install/slack-desc
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/office/coolreader/coolreader.info b/office/coolreader/coolreader.info
index c5b6d8c40f..db11bf8f72 100644
--- a/office/coolreader/coolreader.info
+++ b/office/coolreader/coolreader.info
@@ -1,10 +1,10 @@
PRGNAM="coolreader"
-VERSION="3.0.56"
-HOMEPAGE="https://sourceforge.net/projects/crengine/"
-DOWNLOAD="https://downloads.sourceforge.net/crengine/CoolReader3/cr3_3.0.56.orig.tar.gz"
-MD5SUM="cc221a608a1b5fea2db5a519c14eeb39"
+VERSION="3.2.59"
+HOMEPAGE="https://github.com/buggins/coolreader"
+DOWNLOAD="https://github.com/buggins/coolreader/archive/cr3.2.59/coolreader-cr3.2.59.tar.gz"
+MD5SUM="57a8372117209c8a4b5c37e7dee37885"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
+REQUIRES="libunibreak"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/coolreader/cr3.1 b/office/coolreader/cr3.1
new file mode 100644
index 0000000000..fda4cb2375
--- /dev/null
+++ b/office/coolreader/cr3.1
@@ -0,0 +1,85 @@
+.\" Man page generated from reStructuredText.
+.
+.TH CR3 1 "2020-10-19" "3.2.49" "SlackBuilds.org"
+.SH NAME
+cr3 \- coolreader (e-book reader)
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.\" RST source for cr3(1) man page. Convert with:
+.
+.\" rst2man.py cr3.rst > cr3.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+cr3 [\fI\-options\fP] [filename]
+.SH DESCRIPTION
+.sp
+CoolReader is an e\-book reader for various platforms.
+.sp
+Supported file formats include plain text, HTML, RTF, Microsoft Word
+(.doc), Palm Pilot (.prc, .pdb, .pml, .mobi), FB2, and EPUB.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-\-version
+Output version number.
+.UNINDENT
+.INDENT 0.0
+.TP
+.B \-?, \-h, \-\-help
+Output usage string.
+.TP
+.B \-\-loglevel=ERROR|WARN|INFO|DEBUG|TRACE
+Set logging level.
+.TP
+.B \-\-logfile=<filename>|stdout|stderr
+Set log file. Default is stderr.
+.UNINDENT
+.SH FILES
+.INDENT 0.0
+.TP
+.B ~/.cr3/
+Per\-user configuration, cache, and bookmarks. It\(aqs not recommended to
+edit \fBcr3.ini\fP by hand.
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/coolreader\-3.2.49/COPYING for license information.
+.SH AUTHORS
+.sp
+cr3 was written by Vadim Lopatin, aka buggins.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The cr3 homepage: \fI\%https://github.com/buggins/coolreader\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/office/coolreader/cr3.rst b/office/coolreader/cr3.rst
new file mode 100644
index 0000000000..04b3abe02e
--- /dev/null
+++ b/office/coolreader/cr3.rst
@@ -0,0 +1,74 @@
+.. RST source for cr3(1) man page. Convert with:
+.. rst2man.py cr3.rst > cr3.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. Note to SBo admins: Please don't include this file in the doc dir
+.. in the package. It's here because it's the source for the man page.
+
+.. |version| replace:: 3.2.49
+.. |date| date::
+
+===
+cr3
+===
+
+--------------------------
+coolreader (e-book reader)
+--------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+cr3 [*-options*] [filename]
+
+DESCRIPTION
+===========
+
+CoolReader is an e-book reader for various platforms.
+
+Supported file formats include plain text, HTML, RTF, Microsoft Word
+(.doc), Palm Pilot (.prc, .pdb, .pml, .mobi), FB2, and EPUB.
+
+OPTIONS
+=======
+
+--version Output version number.
+
+-?, -h, --help
+ Output usage string.
+
+--loglevel=ERROR|WARN|INFO|DEBUG|TRACE
+ Set logging level.
+
+--logfile=<filename>|stdout|stderr
+ Set log file. Default is stderr.
+
+FILES
+=====
+
+~/.cr3/
+ Per-user configuration, cache, and bookmarks. It's not recommended to
+ edit **cr3.ini** by hand.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/coolreader-|version|/COPYING for license information.
+
+AUTHORS
+=======
+
+cr3 was written by Vadim Lopatin, aka buggins.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The cr3 homepage: https://github.com/buggins/coolreader
diff --git a/office/coolreader/slack-desc b/office/coolreader/slack-desc
index 0983516646..655f530274 100644
--- a/office/coolreader/slack-desc
+++ b/office/coolreader/slack-desc
@@ -10,10 +10,10 @@ coolreader: coolreader (e-book reader)
coolreader:
coolreader: CoolReader is an e-book reader for various platforms.
coolreader:
-coolreader: Homepage: https://sourceforge.net/projects/crengine/
-coolreader:
-coolreader:
-coolreader:
+coolreader: Supported file formats include plain text, HTML, RTF, Microsoft Word
+coolreader: (.doc), Palm Pilot (.prc, .pdb, .pml, .mobi), FB2, and EPUB.
coolreader:
+coolreader: This package built with the @UI@ user interface.
coolreader:
+coolreader: Homepage: https://sourceforge.net/projects/crengine/
coolreader:
diff --git a/office/cpdf/README b/office/cpdf/README
new file mode 100644
index 0000000000..ec5a097695
--- /dev/null
+++ b/office/cpdf/README
@@ -0,0 +1,20 @@
+The cpdf command line tool allows you to manipulate existing PDF files
+in a variety of ways. For example:
+
+* Merge PDF files together, or split them apart
+* Encrypt and decrypt
+* Scale, crop and rotate pages
+* Read and set document info and metadata
+* Copy, add or remove bookmarks
+* Put multiple pages on one (imposition)
+* Stamp logos, text, dates, page numbers
+* Add or remove attachments
+* Losslessly compress PDF files
+* Convert PDF files to and from JSON
+
+This tool has been available commercially from Coherent Graphics Ltd
+since 2007, in 2013 it was released for free under a
+not-for-commercial-use license.
+
+This script builds the cpdf command line tool and cpdf as an OCaml
+library.
diff --git a/office/cpdf/cpdf.SlackBuild b/office/cpdf/cpdf.SlackBuild
new file mode 100644
index 0000000000..6d7afa27d4
--- /dev/null
+++ b/office/cpdf/cpdf.SlackBuild
@@ -0,0 +1,90 @@
+#!/bin/bash
+
+# Slackware build script for cpdfappname>
+
+# Copyright 2022-2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cpdf
+VERSION=${VERSION:-2.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-source-$VERSION
+tar xvf $CWD/$PRGNAM-source-$VERSION.tar.gz
+cd $PRGNAM-source-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make -j1
+OCAMLFIND_DESTDIR="$PKG/$(ocamlfind printconf destdir)"
+mkdir -p $OCAMLFIND_DESTDIR
+make install OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+install -sDm 0755 cpdf -t $PKG/usr/bin/
+
+sed -i -e "s|cpdfmanual.pdf|/usr/doc/$PRGNAM-$VERSION/&|" cpdf.1
+mkdir -p $PKG/usr/man/man1
+gzip -9 -c cpdf.1 > $PKG/usr/man/man1/cpdf.1.gz
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes LICENSE README.md cpdfmanual.pdf cpdfmanual.tex \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/cpdf/cpdf.info b/office/cpdf/cpdf.info
new file mode 100644
index 0000000000..afc513bca3
--- /dev/null
+++ b/office/cpdf/cpdf.info
@@ -0,0 +1,10 @@
+PRGNAM="cpdf"
+VERSION="2.7"
+HOMEPAGE="https://community.coherentpdf.com"
+DOWNLOAD="https://github.com/johnwhitington/cpdf-source/archive/v2.7/cpdf-source-2.7.tar.gz"
+MD5SUM="acb32db92e3901bf3a146b232ac582d9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="camlpdf"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/office/cpdf/slack-desc b/office/cpdf/slack-desc
new file mode 100644
index 0000000000..5c8591bd39
--- /dev/null
+++ b/office/cpdf/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+cpdf: cpdf (CLI tool to manipulate PDF files)
+cpdf:
+cpdf:
+cpdf: The cpdf command line tool allows you to manipulate existing PDF
+cpdf: files in a variety of ways.
+cpdf:
+cpdf: Homepage: https://community.coherentpdf.com
+cpdf: Source code: https://github.com/johnwhitington/cpdf-source
+cpdf:
+cpdf:
+cpdf:
diff --git a/office/crow-translate/README b/office/crow-translate/README
new file mode 100644
index 0000000000..8fb367f1a5
--- /dev/null
+++ b/office/crow-translate/README
@@ -0,0 +1,3 @@
+Crow Translate is a simple and lightweight translator written in C++ /
+Qt that allows you to translate and speak text using Google, Yandex,
+Bing, LibreTranslate and Lingva translate API.
diff --git a/office/juffed/juffed.SlackBuild b/office/crow-translate/crow-translate.SlackBuild
index f37a401a21..fba84865d2 100644
--- a/office/juffed/juffed.SlackBuild
+++ b/office/crow-translate/crow-translate.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for juffed
+# Slackware build script for crow-translate
-# Copyright 2011-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2022 Peter Edström <peter@peteredstrom.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=juffed
-VERSION=${VERSION:-20180114_9b7af21}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=crow-translate
+VERSION=${VERSION:-2.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,40 +64,42 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="COPYING ChangeLog README"
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION-source.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
+
+# Remove broken symlinks
+find . -xtype l -delete
+
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+rm -f $PKG/usr/info/dir
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -95,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/office/crow-translate/crow-translate.info b/office/crow-translate/crow-translate.info
new file mode 100644
index 0000000000..97e466b5d6
--- /dev/null
+++ b/office/crow-translate/crow-translate.info
@@ -0,0 +1,10 @@
+PRGNAM="crow-translate"
+VERSION="2.10.1"
+HOMEPAGE="https://github.com/crow-translate/crow-translate"
+DOWNLOAD="https://github.com/crow-translate/crow-translate/releases/download/2.10.1/crow-translate-2.10.1-source.tar.gz"
+MD5SUM="0e4fefa058d34d8444ad7ae7d597ec8f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tesseract"
+MAINTAINER="Peter Edström"
+EMAIL="peter@peteredstrom.se"
diff --git a/office/crow-translate/doinst.sh b/office/crow-translate/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/crow-translate/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/crow-translate/slack-desc b/office/crow-translate/slack-desc
new file mode 100644
index 0000000000..438edf2164
--- /dev/null
+++ b/office/crow-translate/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+crow-translate: crow-translate (A simple and lightweight translator)
+crow-translate:
+crow-translate: Crow Translate is a simple and lightweight translator written in
+crow-translate: C++ / Qt that allows you to translate and speak text using Google,
+crow-translate: Yandex, Bing, LibreTranslate and Lingva translate API.
+crow-translate:
+crow-translate:
+crow-translate:
+crow-translate:
+crow-translate:
+crow-translate: Home: https://github.com/crow-translate/crow-translate
diff --git a/office/cups-pdf/README b/office/cups-pdf/README
index f841a2519e..6647325196 100644
--- a/office/cups-pdf/README
+++ b/office/cups-pdf/README
@@ -2,5 +2,6 @@ cups-pdf is designed to produce PDF files by providing a PDF printer.
Note:
----
-By default, cups-pdf output files are stored in /var/spool/cups-pdf/$USER
-directory. This can be (re)configured in /etc/cups-pdf.conf (Key: Out).
+By default, cups-pdf output files are stored in the
+/var/spool/cups-pdf/$USER directory. This can be (re)configured in
+/etc/cups-pdf.conf (Key: Out).
diff --git a/office/cups-pdf/cups-pdf.SlackBuild b/office/cups-pdf/cups-pdf.SlackBuild
index 1a75532910..d24be3d0e4 100644
--- a/office/cups-pdf/cups-pdf.SlackBuild
+++ b/office/cups-pdf/cups-pdf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cups-pdf
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cups-pdf
VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/remove-deprecated-ghostscript-setpdfwrite-operator.diff
+
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend
gcc $SLCKFLAGS -s -lcups -o $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/cups-pdf src/cups-pdf.c
@@ -90,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/office/cups-pdf/remove-deprecated-ghostscript-setpdfwrite-operator.diff b/office/cups-pdf/remove-deprecated-ghostscript-setpdfwrite-operator.diff
new file mode 100644
index 0000000000..1909e770f9
--- /dev/null
+++ b/office/cups-pdf/remove-deprecated-ghostscript-setpdfwrite-operator.diff
@@ -0,0 +1,25 @@
+--- cups-pdf-3.0.1/src/cups-pdf.h 2017-02-24 16:31:00.901661190 +0100
++++ cups-pdf-3.0.1/src/cups-pdf.h.new 2021-04-06 17:05:57.553854742 +0200
+@@ -58,7 +58,7 @@
+ { "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } },
+ { "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } },
+ { "GhostScript", SEC_CONF|SEC_PPD, { "/usr/bin/gs" } },
+- { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" } },
++ { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s" } },
+ { "Grp", SEC_CONF|SEC_PPD, { "lp" } },
+ { "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } },
+ { "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } },
+--- cups-pdf-3.0.1/extra/cups-pdf.conf 2017-02-24 16:30:18.476524443 +0100
++++ cups-pdf-3.0.1/extra/cups-pdf.conf.new 2021-04-06 17:06:26.364602843 +0200
+@@ -250,9 +250,9 @@
+ ### Key: GSCall (config)
+ ## command line for calling GhostScript (!!! DO NOT USE NEWLINES !!!)
+ ## MacOSX: for using pstopdf set this to %s %s -o %s %s
+-### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
++### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s
+
+-#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
++#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s
+
+ ### Key: PDFVer (config, ppd, lptopions)
+ ## PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2"
diff --git a/office/devtodo/README b/office/devtodo/README
index da6fee38b6..c02ad96bc2 100644
--- a/office/devtodo/README
+++ b/office/devtodo/README
@@ -8,9 +8,10 @@ Data is stored in a file named .todo in the current directory.
Depending on the setting of backup in your configuration file, there
may also be files named .todo.1, .todo.2, etc.
-Devtodo can display todo items as soon as you change a directory and on
-login using these scripts: /usr/doc/devtodo-0.1.20/profile.d/devtodo.{sh,csh}
+Devtodo can display todo items as soon as you
+change a directory and on login using these scripts:
+/usr/doc/devtodo-0.1.20/profile.d/devtodo.{sh,csh}
-If you want to enable this feature, the above scripts should be added to
-either the system wide shell initialization files (/etc/profile.d/*) or to
-a user specific initialization file.
+If you want to enable this feature, the above scripts should
+be added to either the system wide shell initialization files
+(/etc/profile.d/*) or to a user specific initialization file.
diff --git a/office/devtodo/devtodo.SlackBuild b/office/devtodo/devtodo.SlackBuild
index 63b6db0dad..4afb3d1ef1 100644
--- a/office/devtodo/devtodo.SlackBuild
+++ b/office/devtodo/devtodo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for: devtodo
# Copyright (c) 2007, Written by: Michiel van Wessem <michiel@slackbuilds.org>
@@ -25,10 +25,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=devtodo
VERSION=${VERSION:-0.1.20}
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}
@@ -110,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/office/dictd/dictd.SlackBuild b/office/dictd/dictd.SlackBuild
index df6afb3e96..cd1c1e6b1f 100644
--- a/office/dictd/dictd.SlackBuild
+++ b/office/dictd/dictd.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dictd
# Written by sercari <sercari@esdebian.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dictd
VERSION=${VERSION:-1.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,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/office/diction/README b/office/diction/README
new file mode 100644
index 0000000000..18d9a3c566
--- /dev/null
+++ b/office/diction/README
@@ -0,0 +1,11 @@
+diction (grammar checker)
+
+GNU diction and style are free implementations of old standard
+UNIX commands, that are not available on many modern systems,
+because they have been unbundled. Diction prints wordy and commonly
+misused phrases. Style analyses surface characteristics of a document,
+e.g. sentence length and various readability measures, but unlike the
+original code, it lacks sentence type, word usage and most sentence
+beginning processing.
+
+Both commands support Dutch, English and German documents.
diff --git a/office/diction/diction.SlackBuild b/office/diction/diction.SlackBuild
new file mode 100644
index 0000000000..c3e70fa1cf
--- /dev/null
+++ b/office/diction/diction.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# Slackware build script for diction
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20210926 bkw: ${prefix} => /usr in man page.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=diction
+VERSION=${VERSION:-1.14}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+strip $PRGNAM style
+sed -i 's,\${prefix},/usr,g' $PRGNAM.1
+make install DESTDIR=$PKG
+gzip $PKG/usr/man/man?/*.?
+
+# These 2 files are identical, make one a symlink
+rm -f $PKG/usr/share/$PRGNAM/C
+ln -s en $PKG/usr/share/$PRGNAM/C
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/diction/diction.info b/office/diction/diction.info
new file mode 100644
index 0000000000..c68959524e
--- /dev/null
+++ b/office/diction/diction.info
@@ -0,0 +1,10 @@
+PRGNAM="diction"
+VERSION="1.14"
+HOMEPAGE="https://www.gnu.org/software/diction/diction.html"
+DOWNLOAD="http://www.moria.de/~michael/comp/diction/diction-1.14.tar.gz"
+MD5SUM="2a162c2ae7cb4a28e9471dd756b38019"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/diction/slack-desc b/office/diction/slack-desc
new file mode 100644
index 0000000000..63394cc89b
--- /dev/null
+++ b/office/diction/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+diction: diction (grammar checker)
+diction:
+diction: GNU diction and style are free implementations of old standard
+diction: UNIX commands, that are not available on many modern systems,
+diction: because they have been unbundled. Diction prints wordy and commonly
+diction: misused phrases. Style analyses surface characteristics of a document,
+diction: e.g. sentence length and various readability measures, but unlike the
+diction: original code, it lacks sentence type, word usage and most sentence
+diction: beginning processing.
+diction:
+diction:
diff --git a/office/diffpdf/README b/office/diffpdf/README
index de00a8e90b..586322033f 100644
--- a/office/diffpdf/README
+++ b/office/diffpdf/README
@@ -1,5 +1,5 @@
-DiffPDF can compare two PDF files. It offers three comparison modes: Words,
-Characters, and Appearance.
+DiffPDF can compare two PDF files. It offers three comparison modes:
+Words, Characters, and Appearance.
-Please note that this is the opensource edition that is not developed anymore
-since 2013 in favour of the commercial DiffPDF solution.
+Please note that this is the opensource edition that is not developed
+anymore since 2013 in favour of the commercial DiffPDF solution.
diff --git a/office/diffpdf/diffpdf-2.1.3-qt5.patch b/office/diffpdf/diffpdf-2.1.3-qt5.patch
new file mode 100644
index 0000000000..a7821388aa
--- /dev/null
+++ b/office/diffpdf/diffpdf-2.1.3-qt5.patch
@@ -0,0 +1,173 @@
+Description: Build with Qt5
+ Enough changes to make things build with Qt5
+Author: Sune Vuorela <sune@debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2017-11-25
+
+--- diffpdf-2.1.3.orig/aboutform.cpp
++++ diffpdf-2.1.3/aboutform.cpp
+@@ -11,7 +11,6 @@
+ */
+
+ #include "aboutform.hpp"
+-#include <poppler-version.h>
+ #include <QApplication>
+ #include <QHBoxLayout>
+ #include <QSettings>
+@@ -52,7 +51,7 @@ AboutForm::AboutForm(QWidget *parent) :
+ "</ul>"
+ "I also provide training and consultancy in C++, Go, Python&nbsp;2, "
+ "Python&nbsp;3, C++/Qt, and PyQt4.").arg(qApp->applicationName())
+- .arg(Version).arg(qVersion()).arg(POPPLER_VERSION));
++ .arg(Version).arg(qVersion()).arg("Qt 5"));
+ QTextBrowser *contributorsBrowser = new QTextBrowser;
+ contributorsBrowser->setReadOnly(true);
+ contributorsBrowser->setHtml(tr("<table>"
+--- diffpdf-2.1.3.orig/diffpdf.pro
++++ diffpdf-2.1.3/diffpdf.pro
+@@ -31,35 +31,39 @@ TRANSLATIONS += diffpdf_fr.ts
+ TRANSLATIONS += diffpdf_de.ts
+ TRANSLATIONS += diffpdf_es.ts
+ CODECFORTR = UTF-8
+-LIBS += -lpoppler-qt4
++LIBS += -lpoppler-qt5
++ QMAKE_CFLAGS += $$(CPPFLAGS) $$(CFLAGS)
++ QMAKE_CXXFLAGS += $$(CPPFLAGS) $$(CXXFLAGS)
++ QMAKE_LFLAGS += $$(LDFLAGS)
++QT += widgets printsupport
+ win32 {
+ CONFIG += release
+ }
+ exists($(HOME)/opt/poppler024/) {
+ message(Using locally built Poppler library)
+ INCLUDEPATH += $(HOME)/opt/poppler024/include/poppler/cpp
+- INCLUDEPATH += $(HOME)/opt/poppler024/include/poppler/qt4
++ INCLUDEPATH += $(HOME)/opt/poppler024/include/poppler/qt5
+ LIBS += -Wl,-rpath -Wl,$(HOME)/opt/poppler024/lib -L$(HOME)/opt/poppler024/lib
+ } else {
+ exists(/poppler_lib) {
+ message(Using locally built Poppler library on Windows)
+ INCLUDEPATH += /c/poppler_lib/include/poppler/cpp
+- INCLUDEPATH += /c/poppler_lib/include/poppler/qt4
++ INCLUDEPATH += /c/poppler_lib/include/poppler/qt5
+ LIBS += -Wl,-rpath -Wl,/c/poppler_lib/bin -Wl,-L/c/poppler_lib/bin
+ } else {
+- exists(/usr/include/poppler/qt4) {
++ exists(/usr/include/poppler/qt5) {
+ INCLUDEPATH += /usr/include/poppler/cpp
+- INCLUDEPATH += /usr/include/poppler/qt4
++ INCLUDEPATH += /usr/include/poppler/qt5
+ } else {
+ INCLUDEPATH += /usr/local/include/poppler/cpp
+- INCLUDEPATH += /usr/local/include/poppler/qt4
++ INCLUDEPATH += /usr/local/include/poppler/qt5
+ }
+ }
+ }
+ #exists($(HOME)/opt/podofo09/) {
+ # message(Using locally built PoDoFo library)
+ # INCLUDEPATH += $(HOME)/opt/podofo09/include/poppler/cpp
+-# INCLUDEPATH += $(HOME)/opt/podofo09/include/poppler/qt4
++# INCLUDEPATH += $(HOME)/opt/podofo09/include/poppler/qt5
+ # LIBS += -Wl,-rpath -Wl,$(HOME)/opt/podofo09/lib64 -Wl,-L$(HOME)/opt/podofo09/lib64
+ #} else {
+ # exists(/usr/include/podofo) {
+--- diffpdf-2.1.3.orig/generic.hpp
++++ diffpdf-2.1.3/generic.hpp
+@@ -12,7 +12,7 @@
+ for more details.
+ */
+
+-#include <poppler-qt4.h>
++#include <poppler-qt5.h>
+ #include <QMetaType>
+ #include <QPair>
+ #include <QPixmap>
+--- diffpdf-2.1.3.orig/helpform.cpp
++++ diffpdf-2.1.3/helpform.cpp
+@@ -11,7 +11,6 @@
+ */
+
+ #include "helpform.hpp"
+-#include <poppler-version.h>
+ #include <QApplication>
+ #include <QFile>
+ #include <QKeySequence>
+--- diffpdf-2.1.3.orig/label.cpp
++++ diffpdf-2.1.3/label.cpp
+@@ -15,6 +15,7 @@
+ #include <QDragEnterEvent>
+ #include <QDragEnterEvent>
+ #include <QMouseEvent>
++#include <QMimeData>
+
+ Label::Label(QWidget *parent) : QLabel(parent)
+ {
+--- diffpdf-2.1.3.orig/lineedit.cpp
++++ diffpdf-2.1.3/lineedit.cpp
+@@ -14,6 +14,7 @@
+ #include "lineedit.hpp"
+ #include <QDragEnterEvent>
+ #include <QDragEnterEvent>
++#include <QMimeData>
+
+
+ LineEdit::LineEdit(QWidget *parent) : QLineEdit(parent)
+--- diffpdf-2.1.3.orig/main.cpp
++++ diffpdf-2.1.3/main.cpp
+@@ -31,7 +31,6 @@ int main(int argc, char *argv[])
+ app.setOrganizationDomain("qtrac.eu");
+ app.setApplicationName("DiffPDF");
+ app.setWindowIcon(QIcon(":/icon.png"));
+- QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
+
+ QTextStream out(stdout);
+ QStringList args = app.arguments().mid(1);
+--- diffpdf-2.1.3.orig/mainwindow.hpp
++++ diffpdf-2.1.3/mainwindow.hpp
+@@ -19,7 +19,7 @@
+ #else
+ #include <tr1/memory>
+ #endif
+-#include <poppler-qt4.h>
++#include <poppler-qt5.h>
+ #include <QBrush>
+ #include <QList>
+ #include <QMainWindow>
+--- diffpdf-2.1.3.orig/optionsform.cpp
++++ diffpdf-2.1.3/optionsform.cpp
+@@ -76,9 +76,9 @@ void OptionsForm::createWidgets()
+ << qMakePair(tr("Diagonal \\"), Qt::FDiagPattern)
+ << qMakePair(tr("Diagonal Cross"), Qt::DiagCrossPattern))
+ brushStyleComboBox->addItem(brushSwatch(pair.second, color),
+- pair.first, pair.second);
++ pair.first, QVariant::fromValue(pair.second));
+ brushStyleComboBox->setCurrentIndex(brushStyleComboBox->findData(
+- brush.style()));
++ QVariant::fromValue(brush.style())));
+
+ penStyleComboBox = new QComboBox;
+ typedef QPair<QString, Qt::PenStyle> PenPair;
+@@ -90,9 +90,9 @@ void OptionsForm::createWidgets()
+ << qMakePair(tr("Dash-Dotted"), Qt::DashDotLine)
+ << qMakePair(tr("Dash-Dot-Dotted"), Qt::DashDotDotLine))
+ penStyleComboBox->addItem(penStyleSwatch(pair.second, color),
+- pair.first, pair.second);
++ pair.first, QVariant::fromValue(pair.second));
+ penStyleComboBox->setCurrentIndex(penStyleComboBox->findData(
+- pen.style()));
++ QVariant::fromValue(pen.style())));
+
+ alphaSpinBox = new QSpinBox;
+ alphaSpinBox->setRange(1, 100);
diff --git a/office/diffpdf/diffpdf.SlackBuild b/office/diffpdf/diffpdf.SlackBuild
index 1e783dae0e..7b7e3ffdab 100644
--- a/office/diffpdf/diffpdf.SlackBuild
+++ b/office/diffpdf/diffpdf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for diffpdf
@@ -28,10 +28,18 @@
#
# 1 - Initial release.
+# 20220217 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix build on 15.0 (by way of patching for qt5).
+# - install icon with correct name (not "icon.png").
+# - fix .desktop file (absolute path to icon).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=diffpdf
VERSION=${VERSION:-2.1.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCS="README CHANGES"
if [ -z "$ARCH" ]; then
@@ -42,7 +50,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,31 +84,29 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-lrelease diffpdf.pro
-qmake
+# 20220217 bkw: this is a qt4 app, but we can't build it against our qt4,
+# because it also needs poppler to be built with qt4 support (ours has
+# qt5). so patch it for qt5, with a patch from gentoo:
+# https://github.com/calculatelinux/gentoo/raw/master/app-text/diffpdf/files/diffpdf-2.1.3-qt5.patch
+patch -p1 < $CWD/diffpdf-2.1.3-qt5.patch
+
+lrelease-qt5 diffpdf.pro
+qmake-qt5
make
make install PREFIX=/usr DESTDIR=$PKG
# Manual installation hereon
mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/share/applications $PKG/usr/share/pixmaps
-install -m0755 diffpdf $PKG/usr/bin
-install -m0644 diffpdf.1 $PKG/usr/man/man1
-install -m0644 images/icon.png $PKG/usr/share/pixmaps
+install -m0755 -s $PRGNAM $PKG/usr/bin
+gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+install -m0644 images/icon.png $PKG/usr/share/pixmaps/$PRGNAM.png
install -m0644 $CWD/diffpdf.desktop $PKG/usr/share/applications
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/office/diffpdf/diffpdf.desktop b/office/diffpdf/diffpdf.desktop
index 03af7179bd..5fe9e389ec 100644
--- a/office/diffpdf/diffpdf.desktop
+++ b/office/diffpdf/diffpdf.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=diffpdf
Comment=diffpdf - compare PDF files
-Icon=diffpdf
+Icon=/usr/share/pixmaps/diffpdf.png
Exec=diffpdf
Type=Application
Terminal=false
diff --git a/office/ding/README b/office/ding/README
index b801486ae3..62d3f804ed 100644
--- a/office/ding/README
+++ b/office/ding/README
@@ -1,6 +1,6 @@
-Ding is a Dictionary lookup program for the X window system
-(Linux, Unix - not for Mac or MS Windows). It comes with a German-English
-Dictionary with approximately 270,000 entries.
+Ding is a Dictionary lookup program for the X window system (Linux,
+Unix - not for Mac or MS Windows). It comes with a German-English
+Dictionary with approximately 270,000 entries.
It is based on Tk version >= 8.3 and uses the agrep or egrep tools
for searching. It has many configuration options, such as search
diff --git a/office/ding/ding.SlackBuild b/office/ding/ding.SlackBuild
index 5a6f8e48c3..f9ace46992 100644
--- a/office/ding/ding.SlackBuild
+++ b/office/ding/ding.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
## Written by Martin Ivanov (tramni@abv.bg)
## Package Homepage: http://www-user.tu-chemnitz.de/~fri/ding/
@@ -9,13 +9,23 @@
# Heavily Modified by Michiel van Wessem <michiel@slackbuilds.org> 20081020
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ding
VERSION=${VERSION:-1.7}
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}
@@ -59,5 +69,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 -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/office/djvusmooth/djvusmooth.SlackBuild b/office/djvusmooth/djvusmooth.SlackBuild
index cef458bec7..667f1a272b 100644
--- a/office/djvusmooth/djvusmooth.SlackBuild
+++ b/office/djvusmooth/djvusmooth.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for djvusmooth
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191130 bkw: update for v0.3, add required dep subprocess32
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=djvusmooth
-VERSION=${VERSION:-0.2.19}
+VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# once again, pure python, should be noarch except for lib vs. lib64.
if [ -z "$ARCH" ]; then
@@ -20,7 +25,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -34,14 +43,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
sed -i 's,share/man,man,' setup.py
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
# Icon came from https://packages.debian.org/sid/djvusmooth
@@ -51,7 +57,7 @@ cat $CWD/$PRGNAM.xpm > $PKG/usr/share/pixmaps/$PRGNAM.xpm
echo "Icon=$PRGNAM" >> $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/COPYING doc/changelog doc/credits.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/COPYING doc/changelog doc/credits* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -59,4 +65,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/office/djvusmooth/djvusmooth.info b/office/djvusmooth/djvusmooth.info
index 72ccfe3fce..d00f530827 100644
--- a/office/djvusmooth/djvusmooth.info
+++ b/office/djvusmooth/djvusmooth.info
@@ -1,10 +1,10 @@
PRGNAM="djvusmooth"
-VERSION="0.2.19"
-HOMEPAGE="http://jwilk.net/software/djvusmooth"
-DOWNLOAD="https://github.com/jwilk/djvusmooth/releases/download/0.2.19/djvusmooth-0.2.19.tar.gz"
-MD5SUM="d592bce9fdcdd8344ed0def9c8e6ee82"
+VERSION="0.3"
+HOMEPAGE="https://github.com/jwilk/djvusmooth/"
+DOWNLOAD="https://github.com/jwilk/djvusmooth/releases/download/0.3/djvusmooth-0.3.tar.gz"
+MD5SUM="efb65f32eabd9c69c5a0a469d0547d04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython python-djvulibre"
+REQUIRES="wxPython python-djvulibre subprocess32"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/docx2txt/README b/office/docx2txt/README
index 60b830d96d..f602890bb7 100644
--- a/office/docx2txt/README
+++ b/office/docx2txt/README
@@ -1,4 +1,4 @@
docx2txt - docx to text converter
-docx2txt is a perl based command line utility to convert Microsoft Office OOXML
-(docx) documents to equivalent ASCII text documents.
+docx2txt is a perl based command line utility to convert Microsoft
+Office OOXML (docx) documents to equivalent ASCII text documents.
diff --git a/office/docx2txt/docx2txt.SlackBuild b/office/docx2txt/docx2txt.SlackBuild
index dece5bd0fc..fff9e7d708 100644
--- a/office/docx2txt/docx2txt.SlackBuild
+++ b/office/docx2txt/docx2txt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for docx2txt
@@ -22,13 +22,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=docx2txt
VERSION=${VERSION:-1.4}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,4 +70,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/office/dspdfviewer/README b/office/dspdfviewer/README
new file mode 100644
index 0000000000..13bcb019de
--- /dev/null
+++ b/office/dspdfviewer/README
@@ -0,0 +1,5 @@
+dspdfviewer is a two-sided pdf viewer for latex-beamer presentations.
+
+In Beamer you can generated a presentation with two screens per slide.
+dspdfviewer lets you display one page on your projector, for the
+audience, and one on your laptop, for yourself, with hints.
diff --git a/office/juffed/doinst.sh b/office/dspdfviewer/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/office/juffed/doinst.sh
+++ b/office/dspdfviewer/doinst.sh
diff --git a/office/dspdfviewer/dspdfviewer.SlackBuild b/office/dspdfviewer/dspdfviewer.SlackBuild
new file mode 100644
index 0000000000..c2b26778dc
--- /dev/null
+++ b/office/dspdfviewer/dspdfviewer.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Copyright 2023 Lockywolf
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dspdfviewer
+VERSION=${VERSION:-0.15.1.20230427_d432d8d6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+
+COMMIT=d432d8d60de3d41a7b9ca1bc031b2344e8009d26
+
+
+ARCH=${ARCH:-}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+PRINT_PACKAGE_NAME=${PRINT_PACKAGE_NAME:-}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC -fpermissive -Wno-error -Wno-error=deprecated-declarations"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.?z* || exit 1
+cd $PRGNAM-$COMMIT || exit 1
+
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+sed -i 's|share/man/man1|man/man1|g' CMakeLists.txt
+
+mkdir build
+cd build
+CFLAGS="$SLKCFLAGS" \
+cmake \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE="Release" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBuildTests=OFF \
+ -DRunDualScreenTests=OFF \
+ -DUseQtFive=yes \
+ .. .
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+
+ 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 \
+ "$CWD/slack-desc" "$CWD/README" "$CWD/$PRGNAM.info" \
+ $PKG/usr/doc/${PRGNAM}-$VERSION
+chown root:root $PKG/usr/doc/${PRGNAM}-$VERSION/*
+
+mkdir -p $PKG/install
+
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+cd $PKG
+
+/sbin/makepkg --xattrs -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/office/dspdfviewer/dspdfviewer.info b/office/dspdfviewer/dspdfviewer.info
new file mode 100644
index 0000000000..95d961624b
--- /dev/null
+++ b/office/dspdfviewer/dspdfviewer.info
@@ -0,0 +1,10 @@
+PRGNAM="dspdfviewer"
+VERSION="0.15.1.20230427_d432d8d6"
+HOMEPAGE="http://dspdfviewer.danny-edel.de/"
+DOWNLOAD="https://github.com/dannyedel/dspdfviewer/archive/d432d8d60de3d41a7b9ca1bc031b2344e8009d26/dspdfviewer-d432d8d60de3d41a7b9ca1bc031b2344e8009d26.tar.gz"
+MD5SUM="1c9ac6b554efe33e698e1a1ed3114cf8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.dspdfviewer_2023-05-15@lockywolf.net"
diff --git a/office/dspdfviewer/slack-desc b/office/dspdfviewer/slack-desc
new file mode 100644
index 0000000000..480bdc00c0
--- /dev/null
+++ b/office/dspdfviewer/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+dspdfviewer: dspdfviewer (A two-monitor viewer for two-sided PDF files.)
+dspdfviewer:
+dspdfviewer: dspdfviewer lets you deliver ultrawide latex-beamer presentations
+dspdfviewer: on two monitors.
+dspdfviewer:
+dspdfviewer:
+dspdfviewer:
+dspdfviewer:
+dspdfviewer:
+dspdfviewer:
+dspdfviewer:
diff --git a/office/elyxer/README b/office/elyxer/README
index 376cb59c77..70ea8baa67 100644
--- a/office/elyxer/README
+++ b/office/elyxer/README
@@ -1,7 +1,9 @@
-eLyXer (pronounced elixir) is a LyX to HTML converter. Using eLyXer, you
-can build a web representation of your documentation written with LyX.
+eLyXer (pronounced elixir) is a LyX to HTML converter. Using eLyXer,
+you can build a web representation of your documentation written with
+LyX.
-As of version 1.2.0, eLyXer is installed as a script instead of a Python
-module. After installation, in Lyx, select Tools->Reconfigure to configure
-the HTML export to use the new script. The eLyXer script may also be used
-from the command line. See `elyxer --help` for more information.
+As of version 1.2.0, eLyXer is installed as a script instead of a
+Python module. After installation, in Lyx, select Tools->Reconfigure
+to configure the HTML export to use the new script. The eLyXer script
+may also be used from the command line. See `elyxer --help` for more
+information.
diff --git a/office/elyxer/elyxer.SlackBuild b/office/elyxer/elyxer.SlackBuild
index 78873dff1d..f203b09adc 100644
--- a/office/elyxer/elyxer.SlackBuild
+++ b/office/elyxer/elyxer.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eLyXer
# Written by Bending Unit 647 <bender647[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=elyxer
VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/office/enpass/enpass.SlackBuild b/office/enpass/enpass.SlackBuild
index faada43691..f1451b3de1 100644
--- a/office/enpass/enpass.SlackBuild
+++ b/office/enpass/enpass.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Enpass
#
@@ -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=enpass
-VERSION=${VERSION:-6.1.0.407}
+VERSION=${VERSION:-6.2.0.537}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=${ARCH:-$(uname -m)}
@@ -37,7 +40,14 @@ case "$ARCH" in
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
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}
@@ -63,6 +73,7 @@ ln -s $PKG/opt/enpass/Enpass $PKG/usr/bin/enpass
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/office/enpass/enpass.info b/office/enpass/enpass.info
index f593300436..676cc2c566 100644
--- a/office/enpass/enpass.info
+++ b/office/enpass/enpass.info
@@ -1,10 +1,10 @@
PRGNAM="enpass"
-VERSION="6.1.0.407"
+VERSION="6.2.0.537"
HOMEPAGE="https://www.enpass.io/"
DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://apt.enpass.io/pool/main/e/enpass/enpass_6.1.0.407_amd64.deb"
-MD5SUM_x86_64="c9d3763d14e19bdd110ce74a9a75bd62"
+MD5SUM=""
+DOWNLOAD_x86_64="https://apt.enpass.io/pool/main/e/enpass/enpass_6.2.0.537_amd64.deb"
+MD5SUM_x86_64="a66c2d0af78e36b042ec5bab7de67b93"
REQUIRES=""
MAINTAINER="Justin Teague"
EMAIL="baumerang@posteo.net"
diff --git a/office/epdfview/README b/office/epdfview/README
index 8501ea1c98..d496284bac 100644
--- a/office/epdfview/README
+++ b/office/epdfview/README
@@ -1,2 +1,2 @@
-The aim of ePDFView is to make a simple PDF document viewer, in the lines of
-Evince but without using the Gnome libraries.
+The aim of ePDFView is to make a simple PDF document viewer, in the
+lines of Evince but without using the Gnome libraries.
diff --git a/office/epdfview/epdfview.SlackBuild b/office/epdfview/epdfview.SlackBuild
index 0082dc260c..335cc8c570 100644
--- a/office/epdfview/epdfview.SlackBuild
+++ b/office/epdfview/epdfview.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for epdfview
@@ -24,10 +24,13 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=epdfview
VERSION=${VERSION:-0.1.8}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/office/epy/README b/office/epy/README
new file mode 100644
index 0000000000..f2b977799c
--- /dev/null
+++ b/office/epy/README
@@ -0,0 +1,8 @@
+epy (terminal ebook reader)
+
+epy is an ebook viewer that runs in a terminal and displays most
+ebook formats, including epub, fb2, mobi, azw, and azw3. Since it's a
+textmode application, it doesn't display images.
+
+After installation, run "epy --help" for usage information. Also,
+press the ? key while epy is running, to see the built-in help.
diff --git a/office/epy/epy.1 b/office/epy/epy.1
new file mode 100644
index 0000000000..0ea5c17d92
--- /dev/null
+++ b/office/epy/epy.1
@@ -0,0 +1,82 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "EPY" 1 "2022-05-23" "2022.4.18" "SlackBuilds.org"
+.SH NAME
+epy \- terminal ebook reader
+.\" RST source for epy(1) man page. Convert with:
+.
+.\" rst2man.py epy.rst > epy.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+epy [\-h] [\-r] [\-d] [\-v] [PATH | # | PATTERN | URL]
+.SH DESCRIPTION
+.sp
+\fBepy\fP is an ebook reader that runs in a terminal. It supports
+\fBepub\fP, \fBfb2\fP, \fBmobi\fP, \fBazw\fP, and \fBazw3\fP formatted books,
+plus it\(aqs able to view HTML, given a URL. \fBepy\fP only displays text,
+not images.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-r\fP,\fB \-\-history
+Print reading history.
+.TP
+.B \-d\fP,\fB \-\-dump
+Dump the content of an ebook on standard output.
+.TP
+.B \-v\fP,\fB \-\-version
+Output version number.
+.TP
+.B \-h\fP,\fB \-\-help
+Output usage string.
+.UNINDENT
+.SH FILES
+.sp
+/usr/doc/epy\-2022.4.18/README.md is the complete documentation for \fBepy\fP\&.
+.sp
+~/.config/epy/ contains the config file, \fBconfiguration.json\fP, and the
+reading history database, \fBstates.db\fP\&.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/epy\-2022.4.18/LICENSE for license information.
+.SH AUTHORS
+.sp
+epy was written by Benawi Adha.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The epy homepage: \fI\%http://www.epy.org/\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/office/epy/epy.SlackBuild b/office/epy/epy.SlackBuild
new file mode 100644
index 0000000000..7f85d350c9
--- /dev/null
+++ b/office/epy/epy.SlackBuild
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+# Slackware build script for epy
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230712 bkw: updated for v2023.6.11.
+# 20230530 bkw: updated for v2023.2.8.
+# 20230104 bkw: updated for v2022.12.11.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=epy
+VERSION=${VERSION:-2023.6.11}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
+
+# man page by SlackBuild author.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE README.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/epy/epy.info b/office/epy/epy.info
new file mode 100644
index 0000000000..ca4c01b8ce
--- /dev/null
+++ b/office/epy/epy.info
@@ -0,0 +1,10 @@
+PRGNAM="epy"
+VERSION="2023.6.11"
+HOMEPAGE="https://github.com/wustho/epy"
+DOWNLOAD="https://github.com/wustho/epy/archive/v2023.6.11/epy-2023.6.11.tar.gz"
+MD5SUM="ca8f734192c12a56e637219c84877f70"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-poetry-core"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/epy/epy.rst b/office/epy/epy.rst
new file mode 100644
index 0000000000..35013c8428
--- /dev/null
+++ b/office/epy/epy.rst
@@ -0,0 +1,71 @@
+.. RST source for epy(1) man page. Convert with:
+.. rst2man.py epy.rst > epy.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 2022.4.18
+.. |date| date::
+
+===
+epy
+===
+
+---------------------
+terminal ebook reader
+---------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+epy [-h] [-r] [-d] [-v] [PATH | # | PATTERN | URL]
+
+DESCRIPTION
+===========
+
+**epy** is an ebook reader that runs in a terminal. It supports
+**epub**, **fb2**, **mobi**, **azw**, and **azw3** formatted books,
+plus it's able to view HTML, given a URL. **epy** only displays text,
+not images.
+
+OPTIONS
+=======
+
+-r, --history
+ Print reading history.
+
+-d, --dump Dump the content of an ebook on standard output.
+
+-v, --version Output version number.
+
+-h, --help
+ Output usage string.
+
+FILES
+=====
+
+/usr/doc/epy-|version|/README.md is the complete documentation for **epy**.
+
+~/.config/epy/ contains the config file, **configuration.json**, and the
+reading history database, **states.db**.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/epy-|version|/LICENSE for license information.
+
+AUTHORS
+=======
+
+epy was written by Benawi Adha.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The epy homepage: http://www.epy.org/
diff --git a/office/eqonomize/slack-desc b/office/epy/slack-desc
index b93fc2afe5..47d41b30ed 100644
--- a/office/eqonomize/slack-desc
+++ b/office/epy/slack-desc
@@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-eqonomize: eqonomize (a simple finance management tool)
-eqonomize:
-eqonomize: Eqonomize is a simple KDE application for managing your finances.
-eqonomize:
-eqonomize: Homepage: http://eqonomize.sourceforge.net
-eqonomize:
-eqonomize:
-eqonomize:
-eqonomize:
-eqonomize:
-eqonomize:
+ |-----handy-ruler------------------------------------------------------|
+epy: epy (terminal ebook reader)
+epy:
+epy: epy is an ebook viewer that runs in a terminal and displays most
+epy: ebook formats, including epub, fb2, mobi, azw, and azw3.
+epy:
+epy:
+epy:
+epy:
+epy:
+epy:
+epy:
diff --git a/office/eqonomize/README b/office/eqonomize/README
deleted file mode 100644
index 405bc81919..0000000000
--- a/office/eqonomize/README
+++ /dev/null
@@ -1 +0,0 @@
-Eqonomize is a simple KDE application for managing your finances.
diff --git a/office/eqonomize/eqonomize.info b/office/eqonomize/eqonomize.info
deleted file mode 100644
index b5925cfc43..0000000000
--- a/office/eqonomize/eqonomize.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="eqonomize"
-VERSION="0.6"
-HOMEPAGE="http://eqonomize.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/eqonomize/eqonomize-0.6.tar.gz"
-MD5SUM="02d7c98c4ca822873c355fd9095a3268"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/office/etmtk/README b/office/etmtk/README
index 0085003667..d3bbb19445 100644
--- a/office/etmtk/README
+++ b/office/etmtk/README
@@ -1,9 +1,9 @@
etmtk is an acronym for event and task manager.
-In contrast to most calendar/todo applications, creating items (events, tasks,
-and so forth) in etm does not require filling out fields in a form. Instead,
-items are created as free-form text entries using a simple, intuitive format
-and stored in plain text files.
+In contrast to most calendar/todo applications, creating items (events,
+tasks, and so forth) in etm does not require filling out fields in
+a form. Instead, items are created as free-form text entries using a
+simple, intuitive format and stored in plain text files.
-Before running etm for the first time run this command as user:
-mkdir ~/.etm
+Before running etm for the first time run this command as user: mkdir
+~/.etm
diff --git a/office/etmtk/etmtk.SlackBuild b/office/etmtk/etmtk.SlackBuild
index 8e5a11a743..12e552fdfb 100644
--- a/office/etmtk/etmtk.SlackBuild
+++ b/office/etmtk/etmtk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for etmtk
-# Copyright 2016-2017 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2016-2022 Jostein Berntsen <jvbernts@online.no>
# 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=etmtk
-VERSION=${VERSION:-3.2.31}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.39}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,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/office/etmtk/etmtk.info b/office/etmtk/etmtk.info
index a168f00447..71d9fea3ea 100644
--- a/office/etmtk/etmtk.info
+++ b/office/etmtk/etmtk.info
@@ -1,10 +1,10 @@
PRGNAM="etmtk"
-VERSION="3.2.31"
+VERSION="3.2.39"
HOMEPAGE="http://people.duke.edu/~dgraham/etmtk/"
-DOWNLOAD="http://people.duke.edu/~dgraham/etmtk/etmtk-3.2.31.tar.gz"
-MD5SUM="ec05c44702c6ea1db05e0daf110ff91d"
+DOWNLOAD="https://files.pythonhosted.org/packages/7d/99/927f845552c313b89d04a2a7a5aa6cfe922ec7c68f172d5261631a50069f/etmtk-3.2.39.tar.gz"
+MD5SUM="b52b9a851a7d8caa2f2511cb820c9f94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-dateutil PyYAML"
+REQUIRES="python2-dateutil python2-PyYAML python2-ruamel.yaml"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/evince-gtk2/README b/office/evince-gtk2/README
new file mode 100644
index 0000000000..668273f0f3
--- /dev/null
+++ b/office/evince-gtk2/README
@@ -0,0 +1,16 @@
+This is the last GTK2 version of evince. It will conflict with the
+latest one, so don't install both.
+
+Evince is a document viewer for multiple document formats. It currently
+supports pdf, postscript, djvu, tiff and dvi. The goal of evince is to
+replace the multiple document viewers that exist on the GNOME Desktop
+with a single simple application.
+
+Evince is specifically designed to support the following file formats:
+* PDF
+* Postscript
+* DjVu
+* TIFF
+* CBR/CBZ (comic books)
+* DVI (requires optional dependency texlive)
+* XPS (requires optional dependency libgxps)
diff --git a/office/evince-gtk2/doinst.sh b/office/evince-gtk2/doinst.sh
new file mode 100644
index 0000000000..0254ea06d8
--- /dev/null
+++ b/office/evince-gtk2/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/office/gnucash-legacy/gnucash-legacy.SlackBuild b/office/evince-gtk2/evince-gtk2.SlackBuild
index c7e7923415..b28bfd0f1c 100644
--- a/office/gnucash-legacy/gnucash-legacy.SlackBuild
+++ b/office/evince-gtk2/evince-gtk2.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for gnucash-legacy
+# Slackware build script for evince-gtk2
-# Copyright 2015 Trayan Denev, tdenev@gmail.com
-# This version Copyright 2018 Lenard Spencer <lspencer31@cfl.rr.com>
+# Copyright 2023 Petar Petrov slackalaxy@gmail.com
+# Copyright 2009 Andrew Brouwers <abrouwers@gmail.com>
+# Copyright 2009, Michiel van Wessem, Manchester, United Kingdom.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=gnucash-legacy
-SRCNAM=gnucash
-VERSION=${VERSION:-2.6.21}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=evince-gtk2
+SRCNAM=evince
+VERSION=${VERSION:-2.32.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+NLS=${NLS:-YES}
+
+if [ ! -z "${PRINT_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,56 +61,11 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="-O2 -march=armv4t"
- LIBDIRSUFFIX=""
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-# First, make sure a previous Gnucash installation is removed:
-if [ -e /usr/bin/gnucash ]; then
- echo "A previous Gnucash installation has been found."
- echo "Please remove it before running this script."
- exit 1
-fi
-
-if [ "$DBI" = "yes" ]; then
- DBIARGS="--enable-dbi --with-dbi-dbd-dir=/usr/lib${LIBDIRSUFFIX}/dbd/ "
- echo " building with dbi enabled"
- sleep 1
-else
- DBIARGS="--disable-dbi "
-fi
-
-if [ "$OFX" = "yes" ]; then
- OFXBANKING="--enable-ofx"
- echo " building with OFX enabled"
- sleep 1
-else
- OFXBANKING="--disable-ofx"
-fi
-
-if [ "$AQ" = "yes" ]; then
- AQBANKING="--enable-aqbanking"
- echo " building with aqbanking enabled"
- sleep 1
-else
- AQBANKING="--disable-aqbanking"
-fi
-
-if [ "$WITHPYTHON" = "yes" ]; then
- W_PYTHON="--enable-python"
- echo " building with Python bindings enabled"
- sleep 1
-else
- W_PYTHON="--disable-python"
-fi
-
set -e
rm -rf $PKG
@@ -109,7 +74,6 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
cd $SRCNAM-$VERSION
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -117,47 +81,69 @@ 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 [ "$NLS" != "YES" ]; then
+ # disable NLS - we're going for a small package here.
+ rm po/*.po
+ sed -i -e 's/USE_NLS=yes/USE_NLS=no/g' \
+ -e 's/ENABLE_NLS 1/ENABLE_NLS 0/g' configure
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
- --infodir=/usr/info \
--mandir=/usr/man \
- --docdir=/usr/doc/$SRCNAM-$VERSION \
- $W_PYTHON \
- $OFXBANKING \
- $AQBANKING \
- --disable-schemas-compile \
- $DBIARGS \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --without-keyring \
+ --without-gconf \
+ --disable-dbus \
+ --enable-pdf \
+ --enable-tiff \
+ --enable-djvu \
+ --enable-t1lib \
+ --enable-pixbuf \
+ --enable-comics \
+ --enable-impress \
+ --disable-dvi \
+ --disable-static \
+ --disable-schemas-install \
+ --disable-scrollkeeper \
+ --disable-nautilus \
+ --disable-introspection \
+ --disable-maintainer-mode \
--build=$ARCH-slackware-linux
-# --enable-register2 \ still not ready for prime time
+make LDFLAGS=-lICE
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Fix desktop entry
+sed -i "/NoDisplay=true/d" $PKG/usr/share/applications/evince.desktop
-make
-make -j1 install DESTDIR=$PKG docdir=/usr/doc/$SRCNAM-$VERSION
+# Remove these
+rm -rf $PKG/*.schemas
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Don't clobber these
-mv $PKG/etc/gnucash/environment $PKG/etc/gnucash/environment.new
-mv $PKG/etc/gnucash/config $PKG/etc/gnucash/config.new
-
-mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog DOCUMENTERS HACKING LICENSE NEWS README* TODO \
- $PKG/usr/doc/$SRCNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/{usr/share/gtk-doc,etc}
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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 -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/evince-gtk2/evince-gtk2.info b/office/evince-gtk2/evince-gtk2.info
new file mode 100644
index 0000000000..6e7a3bba65
--- /dev/null
+++ b/office/evince-gtk2/evince-gtk2.info
@@ -0,0 +1,10 @@
+PRGNAM="evince-gtk2"
+VERSION="2.32.0"
+HOMEPAGE="http://projects.gnome.org/evince/"
+DOWNLOAD="https://download.gnome.org/sources/evince/2.32/evince-2.32.0.tar.bz2"
+MD5SUM="ebc3ce6df8dcbf29cb9492f8dd031319"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gnome-icon-theme"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/office/evince-gtk2/slack-desc b/office/evince-gtk2/slack-desc
new file mode 100644
index 0000000000..58ba77a3bc
--- /dev/null
+++ b/office/evince-gtk2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+evince-gtk2: evince-gtk2 (a simple gnome-based document viewer)
+evince-gtk2:
+evince-gtk2: Evince is a document viewer for multiple document formats.
+evince-gtk2: It currently supports pdf, postscript, djvu, tiff, and dvi.
+evince-gtk2:
+evince-gtk2: The goal of evince is to replace the multiple document viewers
+evince-gtk2: that exist on the GNOME Desktop with a single simple application.
+evince-gtk2:
+evince-gtk2: homepage: http://projects.gnome.org/evince/
+evince-gtk2:
+evince-gtk2:
diff --git a/office/evince/README b/office/evince/README
index 0bf4384784..cf4549390b 100644
--- a/office/evince/README
+++ b/office/evince/README
@@ -1,3 +1,5 @@
+evince (a simple gtk-based document viewer)
+
Evince is a document viewer for multiple document formats. It currently
supports pdf, postscript, djvu, tiff and dvi. The goal of evince is to
replace the multiple document viewers that exist on the GNOME Desktop
@@ -6,10 +8,13 @@ with a single simple application.
Evince is specifically designed to support the following file formats:
* PDF
* Postscript
-* djvu
-* tiff
-* dvi
-Texlive is an optional dependency (for dvi support).
+* DjVu
+* TIFF
+* CBR/CBZ (comic books)
+* DVI
+* XPS (requires optional dependency libgxps)
-This uses dconf (runtime-only) to save various settings (and even
-then, not ALL settings are saved).
+Note: evince-41.5 is the newest version of evince that is possible
+to build on Slackware 15.0. Starting with 42.0, evince requires a
+newer poppler than 15.0 has. So please don't ask for this build to
+be updated; it'll have to wait for Slackware 15.1.
diff --git a/office/evince/evince.SlackBuild b/office/evince/evince.SlackBuild
index ea4071c6eb..730b0a038a 100644
--- a/office/evince/evince.SlackBuild
+++ b/office/evince/evince.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for evince
-# Copyright 2009 Andrew Brouwers <abrouwers@gmail.com>
+# Copyright 2009 Andrew Brouwers <email removed>
# Copyright 2009-2014, Michiel van Wessem, Manchester, United Kingdom.
+# Copyright 2019, B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by B. Watson <urchlay@slackware.uk>
+
+# 20230104 bkw: update for v41.5 (see README for why it's not 42.x or 43.x)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=evince
-VERSION=${VERSION:-3.20.2}
+VERSION=${VERSION:-41.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,9 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-NLS=${NLS:-YES}
+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,60 +76,43 @@ 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 we have any patches apply them here:
-# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/evince/files/
-
-if [ "$NLS" != "YES" ]; then
- # disable NLS - we're going for a small package here.
- rm po/*.po
- sed -i -e 's/USE_NLS=yes/USE_NLS=no/g' \
- -e 's/ENABLE_NLS 1/ENABLE_NLS 0/g' configure
-fi
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Ddbus=${DBUS:-true} \
+ -Dcomics=enabled \
+ -Ddjvu=enabled \
+ -Ddvi=enabled \
+ -Dt1lib=enabled \
+ -Dpdf=enabled \
+ -Dps=enabled \
+ -Dtiff=enabled \
+ -Dnautilus=false \
+ -Dgspell=disabled \
+ -Dsystemduserunitdir=no
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+gzip -9 $PKG/usr/man/man1/*.1
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-dbus \
- --enable-pdf \
- --enable-tiff \
- --enable-djvu \
- --enable-t1lib \
- --enable-comics \
- --enable-dvi \
- --enable-introspection \
- --disable-static \
- --disable-nautilus \
- --disable-maintainer-mode \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Fix desktop entry
-sed -i "/NoDisplay=true/d" $PKG/usr/share/applications/evince.desktop
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-rm -rf $PKG/{usr/share/gtk-doc,etc}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS *.md MAINTAINERS NEWS NOTES TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -127,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/office/evince/evince.info b/office/evince/evince.info
index d82e5a87c7..1c15d2ac0e 100644
--- a/office/evince/evince.info
+++ b/office/evince/evince.info
@@ -1,10 +1,10 @@
PRGNAM="evince"
-VERSION="3.20.2"
+VERSION="41.5"
HOMEPAGE="http://projects.gnome.org/evince/"
-DOWNLOAD="https://download.gnome.org/sources/evince/3.20/evince-3.20.2.tar.xz"
-MD5SUM="3da5f98a360829ac49f754873494ce1a"
+DOWNLOAD="https://download.gnome.org/sources/evince/41/evince-41.5.tar.xz"
+MD5SUM="08bebf04d93b8f7f03d5a865ab447f50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Michiel van Wessem"
-EMAIL="michiel@slackbuilds.org"
+REQUIRES="libhandy"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/evince/slack-desc b/office/evince/slack-desc
index 3936ba82a4..7701e9823d 100644
--- a/office/evince/slack-desc
+++ b/office/evince/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-evince: evince (a simple gnome-based document viewer)
+evince: evince (a simple gtk-based document viewer)
evince:
evince: Evince is a document viewer for multiple document formats.
-evince: It currently supports pdf, postscript, djvu, tiff, and dvi.
+evince: It currently supports pdf, postscript, djvu, tiff, dvi, cbr/cbz,
+evince: and xps.
evince:
evince: The goal of evince is to replace the multiple document viewers
evince: that exist on the GNOME Desktop with a single simple application.
evince:
evince: Homepage: http://projects.gnome.org/evince/
evince:
-evince:
diff --git a/office/evolution-ews/README b/office/evolution-ews/README
new file mode 100644
index 0000000000..f249345fbc
--- /dev/null
+++ b/office/evolution-ews/README
@@ -0,0 +1,13 @@
+Evolution EWS is an open source and freely distributed software project
+that contains an extension for the Evolution email, calendar and
+groupware client that adds support for Exchange Web Service (EWS). This
+plugin allows users of the Evolution application to add Exchange email
+addresses.
+
+For Microsoft Exchange 2007, 2010 and newer it is recommended to use
+the package evolution-ews.
+
+Below variables can be used to configure the build:
+ GCOV=yes : Enable build with GCOV code coverage
+ Requires gcov
+ TESTING=yes : Build the testing tree
diff --git a/office/kate-latex-plugin/kate-latex-plugin.SlackBuild b/office/evolution-ews/evolution-ews.SlackBuild
index 3284ac7fbf..38cf4ba24b 100644
--- a/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
+++ b/office/evolution-ews/evolution-ews.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for kate-latex-plugin
+# Slackware build script for evolution-ews
-# Copyright 2015 Guilherme Calandrini, Madrid, Spain
+# Copyright 2022 Ozan Türkyılmaz
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,27 +22,48 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=kate-latex-plugin
-SRCNAM=katelatexplugin
-VERSION=${VERSION:-0.5}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=evolution-ews
+VERSION=${VERSION:-3.44.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GCOV=${GCOV:-no}
+TESTING:${TESTING:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$GCOV" = "yes" ]; then
+ GCOVP="ON"
+else
+ GCOVP="OFF"
+fi
+
+if [ "$TESTING" = "yes" ]; then
+ TESTINGP="ON"
+else
+ TESTINGP="OFF"
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=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 +81,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/84772-$SRCNAM-$VERSION.tar.bz2
-cd $SRCNAM-$VERSION
+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 \
@@ -78,22 +99,30 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
+ -DENABLE_CODE_COVERAGE="$GCOVP" \
+ -DBUILD_TESTING="$TESTINGP" \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DCMAKE_BUILD_TYPE=Release .. \
+ -G Ninja
+
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+
cd ..
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Changelog INSTALL LICENSE.GPL3 README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/kate-latex-plugin.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/kate-latex-plugin.SlackBuild
+cp -a \
+ COPYING NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/evolution-ews/evolution-ews.info b/office/evolution-ews/evolution-ews.info
new file mode 100644
index 0000000000..f0d8ba3f62
--- /dev/null
+++ b/office/evolution-ews/evolution-ews.info
@@ -0,0 +1,10 @@
+PRGNAM="evolution-ews"
+VERSION="3.44.4"
+HOMEPAGE="https://wiki.gnome.org/Apps/Evolution/"
+DOWNLOAD="https://download.gnome.org/sources/evolution-ews/3.44/evolution-ews-3.44.4.tar.xz"
+MD5SUM="08dcfad674ddb3a50240ab65da57016b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="evolution libmspack"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/office/evolution-ews/slack-desc b/office/evolution-ews/slack-desc
new file mode 100644
index 0000000000..cfb3e2c19d
--- /dev/null
+++ b/office/evolution-ews/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+evolution-ews: evolution-ews (Exchange Web Services)
+evolution-ews:
+evolution-ews:
+evolution-ews: For accessing Exchange servers using Web Services while using
+evolution-ews: Evolution Email Client.
+evolution-ews:
+evolution-ews: For Microsoft Exchange 2007, 2010 and newer it is recommended to use
+evolution-ews: the package evolution-ews.
+evolution-ews:
+evolution-ews: https://wiki.gnome.org/Apps/Evolution/
+evolution-ews:
diff --git a/office/evolution/README b/office/evolution/README
new file mode 100644
index 0000000000..c108cb3f48
--- /dev/null
+++ b/office/evolution/README
@@ -0,0 +1,36 @@
+Evolution is a personal information management application that provides
+integrated mail, calendaring and address book functionality. Its user
+interface and functionality is similar to Microsoft Outlook.
+
+Evolution delivers the following features:
+ E-mail retrieval with the POP and IMAP protocols and e-mail
+ transmission with SMTP
+ Secure network connections encrypted with SSL, TLS and STARTTLS
+ E-mail encryption with GPG and S/MIME
+ E-mail filters
+ Search folders: saved searches that look like normal mail folders
+ as an alternative to using filters and search queries
+ Automatic spam filtering with SpamAssassin and Bogofilter
+ Calendar support for the iCalendar file format, the WebDAV and
+ CalDAV standards and Google Calendar
+ Contact management with local address books, CardDAV, LDAP and
+ Google address books
+ Synchronization via SyncML with SyncEvolution and with Palm OS
+ devices via gnome-pilot
+ Address books that can be used as a data source in LibreOffice
+ User avatars loading from address book, e-mail headers X-Face, Face
+ or automatic lookup by hashed e-mail address from Gravatar service
+ A news client
+ Import from Microsoft Outlook archives (dbx, pst) and Berkley Mailbox
+
+Below variables can be used to configure the build:
+ GCOV=yes : Enable build with GCOV code coverage
+ Requires gcov
+ GTKDOC=yes : Use gtk-doc to build documentation
+ TESTS=yes : Enable installed tests
+ SPAMASSASION=yes : Enable Spamasssasion support.
+ Requries Spamassasion
+ BOGOFILTER=yes : Enable Bogofilter support.
+ Requires Bogofilter
+ GNOMEDESKTOP=yes : Enable Gnome-Desktop support.
+ Requires gnome-desktop
diff --git a/office/evolution/doinst.sh b/office/evolution/doinst.sh
new file mode 100644
index 0000000000..43e60c02d0
--- /dev/null
+++ b/office/evolution/doinst.sh
@@ -0,0 +1,16 @@
+
+if [ -x /usr/bin/glib-compile-schemas ]; then
+ chroot . /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ 1> /dev/null 2> /dev/null
+fi
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+
diff --git a/office/evolution/evolution.SlackBuild b/office/evolution/evolution.SlackBuild
new file mode 100644
index 0000000000..6116e4292c
--- /dev/null
+++ b/office/evolution/evolution.SlackBuild
@@ -0,0 +1,177 @@
+#!/bin/bash
+
+# Slackware build script for evolution
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=evolution
+VERSION=${VERSION:-3.44.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GCOV=${GCOV:-no}
+GTKDOC=${GTKDOC:-no}
+TESTS=${TESTS:-no}
+BOGOFILTER=${BOGOFILTER:-no}
+SPAMASSASION=${SPAMASSASION:-no}
+GNOMEDESKTOP=${GNOMEDESKTOP:-no}
+
+if [ "$GCOV" = "yes" ]; then
+ GCOVP="ON"
+else
+ GCOVP="OFF"
+fi
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="ON"
+else
+ GTKDOCP="OFF"
+fi
+
+if [ "$TESTS" = "yes" ]; then
+ TESTSP="ON"
+else
+ TESTSP="OFF"
+fi
+
+if [ "$BOGOFILTER" = "yes" ]; then
+ BOGOFILTERP="ON"
+else
+ BOGOFILTERP="OFF"
+fi
+
+if [ "$SPAMASSASION" = "yes" ]; then
+ SPAMASSASIONP="ON"
+else
+ SPAMASSASIONP="OFF"
+fi
+
+if [ "$GNOMEDESKTOP" = "yes" ]; then
+ GNOMEDESKTOPP="ON"
+else
+ GNOMEDESKTOPP="OFF"
+fi
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DENABLE_CODE_COVERAGE="$GCOV" \
+ -DENABLE_GNOME_DESKTOP="$GNOMEDESKTOP" \
+ -DENABLE_GTK_DOC="$GTKDOC" \
+ -DENABLE_INSTALLED_TESTS="$TESTS" \
+ -DENABLE_SMIME=ON \
+ -DENABLE_PST_IMPORT=ON \
+ -DENABLE_GTKSPELL=OFF \
+ -DENABLE_YTNEF=ON \
+ -DENABLE_CONTACT_MAPS=ON \
+ -DENABLE_TEXT_HIGHLIGHT=ON \
+ -DWITH_BOGOFILTER="$BOGOFILTER"\
+ -DWITH_SPAMASSASSIN="$SPAMASSASION"\
+ -DWITH_SA_LEARN=OFF \
+ -DWITH_GWEATHER4=ON \
+ -DENABLE_PLUGINS=all \
+ -DDWITH_ENCHANT_VERSION=2 \
+ -DENABLE_SCHEMAS_COMPILE=OFF \
+ -DWITH_GLADE_CATALOG=OFF \
+ -DENABLE_MARKDOWN=ON \
+ -DCMAKE_BUILD_TYPE=Release .. \
+ -G Ninja
+
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING COPYING-DOCS COPYING-DOCS.CCBYSA COPYING-DOCS.GFDL COPYING.LGPL2 COPYING.LGPL3 \
+ COPYING.OPENLDAP HACKING MAINTAINERS NEWS NEWS-1.0 README.md README.translators \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/evolution/evolution.info b/office/evolution/evolution.info
new file mode 100644
index 0000000000..cae36fbdc5
--- /dev/null
+++ b/office/evolution/evolution.info
@@ -0,0 +1,10 @@
+PRGNAM="evolution"
+VERSION="3.44.4"
+HOMEPAGE="https://wiki.gnome.org/Apps/Evolution/"
+DOWNLOAD="https://download.gnome.org/sources/evolution/3.44/evolution-3.44.4.tar.xz"
+MD5SUM="754e8b888024291a6836bdec5bbfc7b1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="evolution-data-server gnome-autoar gspell libchamplain ytnef highlight libpst cmark"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/office/evolution/slack-desc b/office/evolution/slack-desc
new file mode 100644
index 0000000000..6e69458e62
--- /dev/null
+++ b/office/evolution/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+evolution: evolution (Email and calendaring application)
+evolution:
+evolution: Evolution is the GNOME mailer, calendar, contact manager and
+evolution: communications tool from Ximian, Inc. The tools which make up
+evolution: Evolution are tightly integrated with one another, and together they
+evolution: act as a seamless personal information-management tool.
+evolution:
+evolution: If you have "demanding" email needs, then this is almost certainly
+evolution: the program you will want to be using.
+evolution:
+evolution: https://wiki.gnome.org/Apps/Evolution/
diff --git a/office/extractpdfmark/extractpdfmark.SlackBuild b/office/extractpdfmark/extractpdfmark.SlackBuild
index 494f6d8620..63d14b3546 100644
--- a/office/extractpdfmark/extractpdfmark.SlackBuild
+++ b/office/extractpdfmark/extractpdfmark.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for extractpdfmark
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=extractpdfmark
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}
@@ -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/office/fbpdf/README b/office/fbpdf/README
index e47293c2b7..14cd6c2591 100644
--- a/office/fbpdf/README
+++ b/office/fbpdf/README
@@ -1,13 +1,18 @@
fbpdf (PDF viewer for the Linux framebuffer)
-fbpdf is a framebuffer pdf/djvu file viewer. It can use either mupdf or
-poppler libraries for rendering pdf files and it uses djvulibre library
-for rendering djvu files.
+fbpdf is a framebuffer pdf/djvu file viewer. It can use either mupdf
+or poppler libraries for rendering pdf files and it uses the djvulibre
+library for rendering djvu files.
+
+Optional dependency: mupdf.
By default, the fbpdf2 (poppler support) executable is built, along
with fbdjvu. If you want mupdf support, install mupdf before running
-this build and it will be auto-detected. The executable that uses mupdf
-will be called fbpdf.
+this build and it will be auto-detected. The executable that uses
+mupdf will be called fbpdf. mupdf's rendering is usually faster
+and better-looking than poppler's. If you have mupdf installed,
+but want to build fbpdf without it, export MUPDF=no in the script's
+environment.
This build includes a patch that makes the keyboard controls behave more
like other PDF readers. Mainly, it lets you page through the entire
diff --git a/office/fbpdf/fbpdf.1 b/office/fbpdf/fbpdf.1
deleted file mode 100644
index 7d0fe2c4d8..0000000000
--- a/office/fbpdf/fbpdf.1
+++ /dev/null
@@ -1,236 +0,0 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
-.\"
-.\" Standard preamble:
-.\" ========================================================================
-.de Sp \" Vertical space (when we can't use .PP)
-.if t .sp .5v
-.if n .sp
-..
-.de Vb \" Begin verbatim text
-.ft CW
-.nf
-.ne \\$1
-..
-.de Ve \" End verbatim text
-.ft R
-.fi
-..
-.\" Set up some character translations and predefined strings. \*(-- will
-.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
-.\" double quote, and \*(R" will give a right double quote. \*(C+ will
-.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
-.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
-.\" nothing in troff, for use with C<>.
-.tr \(*W-
-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
-.ie n \{\
-. ds -- \(*W-
-. ds PI pi
-. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
-. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
-. ds L" ""
-. ds R" ""
-. ds C` ""
-. ds C' ""
-'br\}
-.el\{\
-. ds -- \|\(em\|
-. ds PI \(*p
-. ds L" ``
-. ds R" ''
-. ds C`
-. ds C'
-'br\}
-.\"
-.\" Escape single quotes in literal strings from groff's Unicode transform.
-.ie \n(.g .ds Aq \(aq
-.el .ds Aq '
-.\"
-.\" If the F register is turned on, we'll generate index entries on stderr for
-.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
-.\" entries marked with X<> in POD. Of course, you'll have to process the
-.\" output yourself in some meaningful fashion.
-.\"
-.\" Avoid warning from groff about undefined register 'F'.
-.de IX
-..
-.nr rF 0
-.if \n(.g .if rF .nr rF 1
-.if (\n(rF:(\n(.g==0)) \{
-. if \nF \{
-. de IX
-. tm Index:\\$1\t\\n%\t"\\$2"
-..
-. if !\nF==2 \{
-. nr % 0
-. nr F 2
-. \}
-. \}
-.\}
-.rr rF
-.\" ========================================================================
-.\"
-.IX Title "FBPDF 1"
-.TH FBPDF 1 "2014-08-22" "20140822" "SlackBuilds.org"
-.\" For nroff, turn off justification. Always turn off hyphenation; it makes
-.\" way too many mistakes in technical documents.
-.if n .ad l
-.nh
-.SH "NAME"
-fbpdf \- framebuffer pdf/djvu file viewer.
-.SH "SYNOPSIS"
-.IX Header "SYNOPSIS"
-fbpdf [options] filename
-.PP
-fbpdf2 [options] filename
-.PP
-fbdjvu [options] filename
-.SH "DESCRIPTION"
-.IX Header "DESCRIPTION"
-fbpdf is a framebuffer pdf/djvu file viewer. It can use either
-mupdf or poppler libraries for rendering pdf files and it uses
-djvulibre library for rendering djvu files. Note that fbpdf
-uses different binaries for each library.
-.IP "fbpdf" 4
-.IX Item "fbpdf"
-\&\s-1PDF\s0 viewer, using the mupdf rendering library.
-.IP "fbpdf2" 4
-.IX Item "fbpdf2"
-\&\s-1PDF\s0 viewer, using the poppler rendering library.
-.IP "fbdjvu" 4
-.IX Item "fbdjvu"
-DjVu viewer, using the djvulibre rendering library.
-.PP
-All of the binaries take the same options and use the same
-keystrokes.
-.SH "OPTIONS"
-.IX Header "OPTIONS"
-.IP "\fB\-r\fR \fIrotation\fR" 4
-.IX Item "-r rotation"
-Set rotation, in degrees. Same as \fBr\fR keystroke.
-.IP "\fB\-z\fR \fIzoomx10\fR" 4
-.IX Item "-z zoomx10"
-Set default zoom (will be multiplied by 10). Same as \fBz\fR keystroke.
-.IP "\fB\-p\fR \fIpage\fR" 4
-.IX Item "-p page"
-Set starting page.
-.SH "KEYS"
-.IX Header "KEYS"
-The following table describes the commands available in fbpdf.
-Most of these commands accept a numerical prefix. For instance,
-\&'^F' tells fbpdf to go to the next page while '5^F' tells it to
-move to the fifth next page.
-.IP "\fB^F\fR, \fBJ\fR" 4
-.IX Item "^F, J"
-next page
-.IP "\fB^B\fR, \fBK\fR" 4
-.IX Item "^B, K"
-previous page
-.IP "\fBG\fR" 4
-.IX Item "G"
-go to page (the last page if no prefix)
-.IP "\fBo\fR" 4
-.IX Item "o"
-set page number (for 'G' command only)
-.IP "\fBO\fR" 4
-.IX Item "O"
-set page number and go to current page
-.IP "\fBz\fR, \fB=\fR" 4
-.IX Item "z, ="
-zoom; prefix multiplied by 10 (i.e. '12z' = 120%). Default 15.
-.IP "\fB+\fR" 4
-.IX Item "+"
-increase zoom by 10%
-.IP "\fB\-\fR" 4
-.IX Item "-"
-decrease zoom by 10%
-.IP "\fBr\fR" 4
-.IX Item "r"
-set rotation in degrees
-.IP "\fBi\fR" 4
-.IX Item "i"
-print info
-.IP "\fBq\fR" 4
-.IX Item "q"
-quit
-.IP "\fB^[\fR" 4
-.IX Item "^["
-(escape) clear numerical prefix
-.IP "\fBmx\fR" 4
-.IX Item "mx"
-mark page as 'x' (or any other letter)
-.IP "\fB'x\fR" 4
-.IX Item "'x"
-jump to the page marked as 'x'
-.IP "\fB`x\fR" 4
-.IX Item "`x"
-jump to the page and position marked as 'x'
-.IP "\fBj\fR" 4
-.IX Item "j"
-scroll down
-.IP "\fBk\fR" 4
-.IX Item "k"
-scroll up
-.IP "\fBh\fR" 4
-.IX Item "h"
-scroll left
-.IP "\fBl\fR" 4
-.IX Item "l"
-scroll right
-.IP "\fB[\fR" 4
-.IX Item "["
-align with the left edge of the page
-.IP "\fB]\fR" 4
-.IX Item "]"
-align with the right edge of the page
-.IP "\fB{\fR" 4
-.IX Item "{"
-align with the leftmost character on the page
-.IP "\fB}\fR" 4
-.IX Item "}"
-align with the rightmost character on the page
-.IP "\fBH\fR" 4
-.IX Item "H"
-show page top
-.IP "\fBM\fR" 4
-.IX Item "M"
-center the page vertically
-.IP "\fBL\fR" 4
-.IX Item "L"
-show page bottom
-.IP "\fBC\fR" 4
-.IX Item "C"
-center the page horizontally
-.IP "\fB' '\fR, \fB^D\fR" 4
-.IX Item "' ', ^D"
-(space) page down
-.IP "\fB^H\fR, \fB^U\fR" 4
-.IX Item "^H, ^U"
-(backspace) page up
-.IP "\fB^L\fR" 4
-.IX Item "^L"
-redraw
-.IP "\fBe\fR" 4
-.IX Item "e"
-reload current file
-.IP "\fBf\fR" 4
-.IX Item "f"
-zoom to fit page height
-.IP "\fBw\fR" 4
-.IX Item "w"
-zoom to fit page width
-.IP "\fBW\fR" 4
-.IX Item "W"
-zoom to fit page contents horizontally
-.IP "\fBZ\fR" 4
-.IX Item "Z"
-the default zoom level for 'z' command
-.IP "\fBd\fR" 4
-.IX Item "d"
-sleep one second before the next command
-.SH "AUTHOR"
-.IX Header "AUTHOR"
-fbpdf was written by Ali Gholami Rudi (ali at rudi dot ir).
-.PP
-This man page created from fbpdf's \s-1README\s0 by B. Watson, for the
-SlackBuilds.org project.
diff --git a/office/fbpdf/fbpdf.SlackBuild b/office/fbpdf/fbpdf.SlackBuild
index 4c5540d276..a026dd0b85 100644
--- a/office/fbpdf/fbpdf.SlackBuild
+++ b/office/fbpdf/fbpdf.SlackBuild
@@ -1,20 +1,31 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fbpdf
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# Source tarball made from: git clone git://repo.or.cz/fbpdf.git
-
-# 20170313 bkw:
-# - update for 20161202 (commit e31a61b), needed due to mupdf update.
+# 20230117 bkw: update to latest git, 20220624_6276360.
+# 20210927 bkw:
+# - update to latest git (20200617_f590024).
+# - rework navigation.diff for this version.
+# - use upstream's man page, now that there is one (but, patch it).
+# - mupdf-legacy no longer needed, change optional dep to mupdf.
+# - add MUPDF=no option.
+# - update README and slack-desc.
+# - add git2tarxz.sh, for future updates. upstream doesn't do releases.
+# - actually use SLKCFLAGS.
+# 20200218 bkw: mupdf got updated to an incompatible version, use mupdf-legacy.
+# 20170313 bkw: update for 20161202 (commit e31a61b), need due to mupdf update.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fbpdf
-VERSION=${VERSION:-20161202}
+VERSION=${VERSION:-20220624_6276360}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +35,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,26 +64,21 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# This patch has been sent upstream. In my opinion, fbpdf is needlessly
-# difficult to use without it.
-# ...a year later, and upstream never responded to my email (not even to
-# say "no"). It's staying here though.
-[ "${PRISTINE:-no}" != "yes" ] && \
- patch -p1 < $CWD/navigation.diff
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-# mupdf API keeps changing
-sed -i \
- -e 's,-lmupdf -lmupdfthird,`pkg-config --libs mupdf` -lharfbuzz,' \
- Makefile
+# 20210929 bkw: actually use the flags.
+sed -i "s,-O2,$SLKCFLAGS," Makefile
+
+# The navigation patch has been sent upstream. In my opinion, fbpdf is
+# needlessly difficult to use without it. Upstream never responded to
+# my email (not even to say "no"). It's staying here though.
+if [ "${PRISTINE:-no}" != "yes" ]; then
+ patch -p1 < $CWD/navigation.diff
+fi
mkdir -p $PKG/usr/bin
@@ -77,25 +87,35 @@ make ${PRGNAM}2 fbdjvu
install -s -m0755 ${PRGNAM}2 $PKG/usr/bin
install -s -m0755 fbdjvu $PKG/usr/bin
-# autodetect mupdf, build fbpdf if found (seems OK with mupdf-1.9a)
-if pkg-config --exists mupdf; then
+WITH="WITHOUT"
+
+# autodetect mupdf, build fbpdf if found
+if [ "${MUPDF:-yes}" = "yes" ] && pkg-config --exists mupdf; then
+ WITH="WITH"
+ # mupdf API keeps changing
+ sed -i \
+ -e '/^CFLAGS/s,$, $(shell pkg-config --cflags mupdf),' \
+ -e 's,-lmupdf -lmupdf-third.*,$(shell pkg-config --libs mupdf) -lharfbuzz,' \
+ Makefile
+
make clean
make $PRGNAM
install -s -m0755 $PRGNAM $PKG/usr/bin
fi
-# man page written for this build.
-mkdir -p $PKG/usr/man/man1
-gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-ln -s $PRGNAM.1.gz $PKG/usr/man/man1/${PRGNAM}2.1.gz
-ln -s $PRGNAM.1.gz $PKG/usr/man/man1/fbdjvu.1.gz
+PKGMAN1=$PKG/usr/man/man1
+mkdir -p $PKGMAN1
+gzip -9c < $PRGNAM.1 > $PKGMAN1/$PRGNAM.1.gz
+ln -s $PRGNAM.1.gz $PKGMAN1/${PRGNAM}2.1.gz
+ln -s $PRGNAM.1.gz $PKGMAN1/fbdjvu.1.gz
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@WITH@,$WITH," < $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/fbpdf/fbpdf.info b/office/fbpdf/fbpdf.info
index 95dc64c565..9059211280 100644
--- a/office/fbpdf/fbpdf.info
+++ b/office/fbpdf/fbpdf.info
@@ -1,10 +1,10 @@
PRGNAM="fbpdf"
-VERSION="20161202"
+VERSION="20220624_6276360"
HOMEPAGE="http://litcave.rudi.ir/"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/fbpdf-20161202.tar.gz"
-MD5SUM="f022012d639e1b93d3ae1e547f79df55"
+DOWNLOAD="https://slackware.uk/~urchlay/src/fbpdf-20220624_6276360.tar.xz"
+MD5SUM="fb6419730947a515d52ae0e3021be3e2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/fbpdf/fbpdf.pod b/office/fbpdf/fbpdf.pod
deleted file mode 100644
index 7c5b9d1f37..0000000000
--- a/office/fbpdf/fbpdf.pod
+++ /dev/null
@@ -1,225 +0,0 @@
-# pod source for fbpdf man page. Convert with:
-# pod2man --stderr -s1 -cSlackBuilds.org -r20140822 -u fbpdf.pod > fbpdf.1
-
-=pod
-
-=encoding utf8
-
-=head1 NAME
-
-fbpdf - framebuffer pdf/djvu file viewer.
-
-=head1 SYNOPSIS
-
-fbpdf [options] filename
-
-fbpdf2 [options] filename
-
-fbdjvu [options] filename
-
-=head1 DESCRIPTION
-
-fbpdf is a framebuffer pdf/djvu file viewer. It can use either
-mupdf or poppler libraries for rendering pdf files and it uses
-djvulibre library for rendering djvu files. Note that fbpdf
-uses different binaries for each library.
-
-=over 4
-
-=item fbpdf
-
-PDF viewer, using the mupdf rendering library.
-
-=item fbpdf2
-
-PDF viewer, using the poppler rendering library.
-
-=item fbdjvu
-
-DjVu viewer, using the djvulibre rendering library.
-
-=back
-
-All of the binaries take the same options and use the same
-keystrokes.
-
-=head1 OPTIONS
-
-=over 4
-
-=item B<-r> I<rotation>
-
-Set rotation, in degrees. Same as B<r> keystroke.
-
-=item B<-z> I<zoomx10>
-
-Set default zoom (will be multiplied by 10). Same as B<z> keystroke.
-
-=item B<-p> I<page>
-
-Set starting page.
-
-=back
-
-=head1 KEYS
-
-The following table describes the commands available in fbpdf.
-Most of these commands accept a numerical prefix. For instance,
-'^F' tells fbpdf to go to the next page while '5^F' tells it to
-move to the fifth next page.
-
-=over 4
-
-=item B<^F>, B<J>
-
-next page
-
-=item B<^B>, B<K>
-
-previous page
-
-
-=item B<G>
-
-go to page (the last page if no prefix)
-
-=item B<o>
-
-set page number (for 'G' command only)
-
-=item B<O>
-
-set page number and go to current page
-
-=item B<z>, B<=>
-
-zoom; prefix multiplied by 10 (i.e. '12z' = 120%). Default 15.
-
-=item B<+>
-
-increase zoom by 10%
-
-=item B<->
-
-decrease zoom by 10%
-
-=item B<r>
-
-set rotation in degrees
-
-=item B<i>
-
-print info
-
-=item B<q>
-
-quit
-
-=item B<^[>
-
-(escape) clear numerical prefix
-
-=item B<mx>
-
-mark page as 'x' (or any other letter)
-
-=item B<'x>
-
-jump to the page marked as 'x'
-
-=item B<`x>
-
-jump to the page and position marked as 'x'
-
-=item B<j>
-
-scroll down
-
-=item B<k>
-
-scroll up
-
-=item B<h>
-
-scroll left
-
-=item B<l>
-
-scroll right
-
-=item B<[>
-
-align with the left edge of the page
-
-=item B<]>
-
-align with the right edge of the page
-
-=item B<{>
-
-align with the leftmost character on the page
-
-=item B<}>
-
-align with the rightmost character on the page
-
-=item B<H>
-
-show page top
-
-=item B<M>
-
-center the page vertically
-
-=item B<L>
-
-show page bottom
-
-=item B<C>
-
-center the page horizontally
-
-=item B<' '>, B<^D>
-
-(space) page down
-
-=item B<^H>, B<^U>
-
-(backspace) page up
-
-=item B<^L>
-
-redraw
-
-=item B<e>
-
-reload current file
-
-=item B<f>
-
-zoom to fit page height
-
-=item B<w>
-
-zoom to fit page width
-
-=item B<W>
-
-zoom to fit page contents horizontally
-
-=item B<Z>
-
-the default zoom level for 'z' command
-
-=item B<d>
-
-sleep one second before the next command
-
-=back
-
-=head1 AUTHOR
-
-fbpdf was written by Ali Gholami Rudi (ali at rudi dot ir).
-
-This man page created from fbpdf's README by B. Watson, for the
-SlackBuilds.org project.
diff --git a/office/fbpdf/git2tarxz.sh b/office/fbpdf/git2tarxz.sh
new file mode 100644
index 0000000000..c2c3826f9f
--- /dev/null
+++ b/office/fbpdf/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+PRGNAM=fbpdf
+CLONE_URL=https://github.com/aligrudi/fbpdf
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/office/fbpdf/navigation.diff b/office/fbpdf/navigation.diff
index efab91be67..8b75179f0e 100644
--- a/office/fbpdf/navigation.diff
+++ b/office/fbpdf/navigation.diff
@@ -1,49 +1,85 @@
-diff -Naur fbpdf-20160804/README fbpdf-20160804.patched/README
---- fbpdf-20160804/README 2016-08-04 15:19:06.282346689 -0400
-+++ fbpdf-20160804.patched/README 2016-08-04 15:07:40.384322633 -0400
-@@ -22,6 +22,9 @@
+diff -Naur fbpdf-20220624_6276360/README fbpdf-20220624_6276360.patched/README
+--- fbpdf-20220624_6276360/README 2023-01-17 03:30:48.000000000 -0500
++++ fbpdf-20220624_6276360.patched/README 2023-01-17 14:37:43.861749405 -0500
+@@ -21,7 +21,9 @@
+ G go to page (the last page if no prefix)
o set page number (for 'G' command only)
O set page number and go to current page
- z zoom; prefix multiplied by 10 (i.e. '15z' = 150%)
-+z/= zoom; prefix multiplied by 10 (i.e. '12z' = 120%). Default 15.
+-z zoom; prefix multiplied by 10 (i.e. '15z' = 150%)
++z/= zoom; prefix multiplied by 10 (i.e. '15z' = 150%)
++ increase zoom by 10%
+- decrease zoom by 10%
r set rotation in degrees
i print some information
- q quit
-diff -Naur fbpdf-20160804/fbpdf.c fbpdf-20160804.patched/fbpdf.c
---- fbpdf-20160804/fbpdf.c 2016-08-04 15:19:06.282346689 -0400
-+++ fbpdf-20160804.patched/fbpdf.c 2016-08-04 15:18:38.618345719 -0400
-@@ -252,6 +252,7 @@
+ I invert colors
+diff -Naur fbpdf-20220624_6276360/fbpdf.1 fbpdf-20220624_6276360.patched/fbpdf.1
+--- fbpdf-20220624_6276360/fbpdf.1 2023-01-17 03:30:48.000000000 -0500
++++ fbpdf-20220624_6276360.patched/fbpdf.1 2023-01-17 14:43:46.755764548 -0500
+@@ -1,4 +1,4 @@
+-.TH FBPDF 1 "JUNE 2022"
++.TH "fbpdf" 1 "2023\-01\-17" "" "SlackBuilds.org"
+ .SH NAME
+ fbpdf \- framebuffer PDF viewer
+ .SH SYNOPSIS
+@@ -110,6 +110,9 @@
+ .B <prefix>z
+ Zoom by a multiple of ten in percentage (i.e. '15z' = 150%)
+ .TP
++.B <prefix>=
++Same as z
++.TP
+ .B <prefix>Z
+ Set the default zoom level for 'z' command
+ .TP
+@@ -140,6 +143,13 @@
+ .B ^l
+ Redraw screen
+ .TP
++.B +
++Increase zoom by 10%
++.TP
++.TP
++.B \-
++Decrease zoom by 10%
++.TP
+ .B q
+ Quit program
+ .SH AUTHOR
+diff -Naur fbpdf-20220624_6276360/fbpdf.c fbpdf-20220624_6276360.patched/fbpdf.c
+--- fbpdf-20220624_6276360/fbpdf.c 2023-01-17 03:30:48.000000000 -0500
++++ fbpdf-20220624_6276360.patched/fbpdf.c 2023-01-17 14:39:18.695321315 -0500
+@@ -270,6 +270,7 @@
srow = prow;
break;
case 'z':
+ case '=':
+ count *= 10;
zoom_page(getcount(zoom_def));
break;
- case 'w':
-@@ -301,10 +302,18 @@
+@@ -320,10 +321,20 @@
case ' ':
case CTRLKEY('d'):
srow += srows * getcount(1) - step;
-+ if(srow > prows) {
++ if(srow >= (prow + prows)) {
+ srow = 0;
+ loadpage(num + 1);
++ srow = prow;
+ }
break;
case 127:
case CTRLKEY('u'):
srow -= srows * getcount(1) - step;
-+ if(srow < 0) {
++ if(srow <= 0) {
+ srow = prows - step;
+ loadpage(num - 1);
++ srow = prow;
+ }
break;
case '[':
scol = pcol;
-@@ -320,6 +329,14 @@
- break;
- case CTRLKEY('l'):
+@@ -343,6 +354,15 @@
+ invert = !invert;
+ loadpage(num);
break;
+ case '+':
+ count = 0;
@@ -53,6 +89,7 @@ diff -Naur fbpdf-20160804/fbpdf.c fbpdf-20160804.patched/fbpdf.c
+ count = 0;
+ if(zoom > 0) zoom_page(zoom - 1);
+ break;
++
default: /* no need to redraw */
continue;
}
diff --git a/office/fbpdf/slack-desc b/office/fbpdf/slack-desc
index 2406bde801..613200c8b7 100644
--- a/office/fbpdf/slack-desc
+++ b/office/fbpdf/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
fbpdf: fbpdf (PDF viewer for the Linux framebuffer)
fbpdf:
-fbpdf: fbpdf is a framebuffer pdf/djvu file viewer. It can use either mupdf
-fbpdf: or poppler libraries for rendering pdf files and it uses djvulibre
-fbpdf: library for rendering djvu files.
-fbpdf:
+fbpdf: fbpdf is a framebuffer pdf/djvu file viewer. It can use either
+fbpdf: mupdf or poppler libraries for rendering pdf files and it uses
+fbpdf: the djvulibre library for rendering djvu files.
fbpdf:
+fbpdf: This package was built @WITH@ mupdf support.
fbpdf:
fbpdf:
fbpdf:
diff --git a/office/fbreader/fbreader-qt5.patch b/office/fbreader/fbreader-qt5.patch
new file mode 100644
index 0000000000..e0f0a5235a
--- /dev/null
+++ b/office/fbreader/fbreader-qt5.patch
@@ -0,0 +1,510 @@
+diff -r -U2 fbreader-0.99.4.orig/fbreader/Makefile fbreader-0.99.4/fbreader/Makefile
+--- fbreader-0.99.4.orig/fbreader/Makefile 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/fbreader/Makefile 2018-01-11 22:18:18.000208200 +0700
+@@ -23,5 +23,5 @@
+ done;
+ @echo -n 'Linking $(TARGET) ...'
+- @$(LD) $(LDFLAGS) -o $(TARGET) `find src -name *.o` $(TEXT_LIBS) $(CORE_LIBS) $(ZLUI_LIB) -lsqlite3
++ @$(LD) -fuse-ld=bfd $(LDFLAGS) -o $(TARGET) `find src -name *.o` $(TEXT_LIBS) $(CORE_LIBS) $(ZLUI_LIB) -lsqlite3
+ @echo ' OK'
+
+diff -r -U2 fbreader-0.99.4.orig/makefiles/arch/desktop.mk fbreader-0.99.4/makefiles/arch/desktop.mk
+--- fbreader-0.99.4.orig/makefiles/arch/desktop.mk 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/makefiles/arch/desktop.mk 2018-01-11 22:18:40.119207269 +0700
+@@ -15,27 +15,9 @@
+ CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG
+ LDFLAGS =
+-EXTERNAL_INCLUDE = $(shell pkg-config --cflags fribidi)
++EXTERNAL_INCLUDE = $(shell pkg-config --cflags fribidi)
+
+-ifeq "$(UI_TYPE)" "qt"
+- MOC = moc-qt3
+- QTINCLUDE = -I /usr/include/qt3
+-else
+- MOC = $(shell pkg-config QtCore --variable=moc_location)
+- QTINCLUDE = -I $(shell pkg-config --cflags QtCore)
+-endif
+-
+-GTKINCLUDE = $(shell pkg-config --cflags gtk+-2.0 libpng xft)
+-
+-ifeq "$(UI_TYPE)" "qt"
+- UILIBS = -lqt-mt
+-endif
+-
+-ifeq "$(UI_TYPE)" "qt4"
+- UILIBS = $(shell pkg-config --libs QtCore QtGui QtNetwork)
+-endif
+-
+-ifeq "$(UI_TYPE)" "gtk"
+- UILIBS = $(shell pkg-config --libs gtk+-2.0 gio-2.0) -lpng -ljpeg
+-endif
++MOC = "$(shell pkg-config --variable=host_bins Qt5Core)/moc"
++QTINCLUDE = $(shell pkg-config --cflags Qt5Gui Qt5Widgets Qt5Network)
++UILIBS = $(shell pkg-config --libs Qt5Gui Qt5Widgets Qt5Network)
+
+ RM = rm -rvf
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/application/LineEditParameter.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/application/LineEditParameter.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/application/LineEditParameter.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/application/LineEditParameter.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,7 +18,7 @@
+ */
+
+-#include <QtGui/QBoxLayout>
+-#include <QtGui/QLineEdit>
+-#include <QtGui/QToolBar>
++#include <QtWidgets/QBoxLayout>
++#include <QtWidgets/QLineEdit>
++#include <QtWidgets/QToolBar>
+ #include <QtGui/QKeyEvent>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,15 +18,15 @@
+ */
+
+-#include <QtGui/QApplication>
++#include <QtWidgets/QApplication>
+ #include <QtGui/QPixmap>
+ #include <QtGui/QImage>
+ #include <QtGui/QIcon>
+-#include <QtGui/QToolBar>
+-#include <QtGui/QMenuBar>
+-#include <QtGui/QMenu>
+-#include <QtGui/QToolButton>
+-#include <QtGui/QLayout>
++#include <QtWidgets/QToolBar>
++#include <QtWidgets/QMenuBar>
++#include <QtWidgets/QMenu>
++#include <QtWidgets/QToolButton>
++#include <QtWidgets/QLayout>
+ #include <QtGui/QWheelEvent>
+-#include <QtGui/QDockWidget>
++#include <QtWidgets/QDockWidget>
+ #include <QtCore/QObjectList>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.h fbreader-0.99.4/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/application/ZLQtApplicationWindow.h 2018-01-11 22:18:40.120207269 +0700
+@@ -23,6 +23,6 @@
+ #include <map>
+
+-#include <QtGui/QMainWindow>
+-#include <QtGui/QAction>
++#include <QtWidgets/QMainWindow>
++#include <QtWidgets/QAction>
+ #include <QtGui/QCursor>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,6 +18,6 @@
+ */
+
+-#include <QtGui/QApplication>
+-#include <QtGui/QPushButton>
++#include <QtWidgets/QApplication>
++#include <QtWidgets/QPushButton>
+
+ #include <ZLDialogManager.h>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.h fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialog.h 2018-01-11 22:18:40.120207269 +0700
+@@ -21,6 +21,6 @@
+ #define __ZLQTDIALOG_H__
+
+-#include <QtGui/QDialog>
+-#include <QtGui/QLayout>
++#include <QtWidgets/QDialog>
++#include <QtWidgets/QLayout>
+
+ #include <ZLDialog.h>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialogContent.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialogContent.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialogContent.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialogContent.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,8 +18,8 @@
+ */
+
+-#include <QtGui/QApplication>
+-#include <QtGui/QDesktopWidget>
+-#include <QtGui/QWidget>
+-#include <QtGui/QLayout>
++#include <QtWidgets/QApplication>
++#include <QtWidgets/QDesktopWidget>
++#include <QtWidgets/QWidget>
++#include <QtWidgets/QLayout>
+
+ #include "ZLQtDialogContent.h"
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialogManager.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialogManager.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtDialogManager.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtDialogManager.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,9 +18,9 @@
+ */
+
+-#include <QtGui/QApplication>
+-#include <QtGui/QMessageBox>
+-#include <QtGui/QFileDialog>
++#include <QtWidgets/QApplication>
++#include <QtWidgets/QMessageBox>
++#include <QtWidgets/QFileDialog>
+ #include <QtGui/QClipboard>
+-#include <QtGui/QDesktopWidget>
++#include <QtWidgets/QDesktopWidget>
+
+ #include "ZLQtDialogManager.h"
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOpenFileDialog.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOpenFileDialog.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOpenFileDialog.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOpenFileDialog.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,5 +18,5 @@
+ */
+
+-#include <QtGui/QFileDialog>
++#include <QtWidgets/QFileDialog>
+
+ #include "ZLQtOpenFileDialog.h"
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOptionView.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOptionView.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOptionView.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOptionView.cpp 2018-01-11 22:18:40.121207269 +0700
+@@ -20,14 +20,14 @@
+ #include <cctype>
+
+-#include <QtGui/QCheckBox>
+-#include <QtGui/QComboBox>
+-#include <QtGui/QLabel>
+-#include <QtGui/QGroupBox>
+-#include <QtGui/QRadioButton>
+-#include <QtGui/QPushButton>
+-#include <QtGui/QSpinBox>
+-#include <QtGui/QLineEdit>
+-#include <QtGui/QSlider>
+-#include <QtGui/QLayout>
++#include <QtWidgets/QCheckBox>
++#include <QtWidgets/QComboBox>
++#include <QtWidgets/QLabel>
++#include <QtWidgets/QGroupBox>
++#include <QtWidgets/QRadioButton>
++#include <QtWidgets/QPushButton>
++#include <QtWidgets/QSpinBox>
++#include <QtWidgets/QLineEdit>
++#include <QtWidgets/QSlider>
++#include <QtWidgets/QLayout>
+
+ #include <ZLStringUtil.h>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.cpp 2018-01-11 22:18:40.121207269 +0700
+@@ -18,9 +18,9 @@
+ */
+
+-#include <QtGui/QApplication>
+-#include <QtGui/QDesktopWidget>
+-#include <QtGui/QLayout>
+-#include <QtGui/QPushButton>
+-#include <QtGui/QButtonGroup>
++#include <QtWidgets/QApplication>
++#include <QtWidgets/QDesktopWidget>
++#include <QtWidgets/QLayout>
++#include <QtWidgets/QPushButton>
++#include <QtWidgets/QButtonGroup>
+ #include <QtGui/QResizeEvent>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.h fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtOptionsDialog.h 2018-01-11 22:18:40.121207269 +0700
+@@ -21,7 +21,7 @@
+ #define __ZLQTOPTIONSDIALOG_H__
+
+-#include <QtGui/QWidget>
+-#include <QtGui/QTabWidget>
+-#include <QtGui/QDialog>
++#include <QtWidgets/QWidget>
++#include <QtWidgets/QTabWidget>
++#include <QtWidgets/QDialog>
+
+ #include "../../../../core/src/desktop/dialogs/ZLDesktopOptionsDialog.h"
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.cpp 2018-01-11 22:18:40.121207269 +0700
+@@ -20,9 +20,9 @@
+ #include <unistd.h>
+
+-#include <QtGui/QApplication>
+-#include <QtGui/QDesktopWidget>
+-#include <QtGui/QWidget>
+-#include <QtGui/QLabel>
+-#include <QtGui/QLayout>
++#include <QtWidgets/QApplication>
++#include <QtWidgets/QDesktopWidget>
++#include <QtWidgets/QWidget>
++#include <QtWidgets/QLabel>
++#include <QtWidgets/QLayout>
+ #include <QtCore/QThreadPool>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.h fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtProgressDialog.h 2018-01-11 22:18:40.121207269 +0700
+@@ -23,9 +23,9 @@
+ #include <string>
+
+-#include <QtGui/QWidget>
++#include <QtWidgets/QWidget>
+ #include <QtGui/QCursor>
+-#include <QtGui/QDialog>
+-#include <QtGui/QProgressBar>
+-#include <QtGui/QLabel>
++#include <QtWidgets/QDialog>
++#include <QtWidgets/QProgressBar>
++#include <QtWidgets/QLabel>
+ #include <QtCore/QRunnable>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -20,10 +20,10 @@
+ #include <algorithm>
+
+-#include <QtGui/QSplitter>
+-#include <QtGui/QVBoxLayout>
+-#include <QtGui/QHBoxLayout>
+-#include <QtGui/QScrollBar>
+ #include <QtGui/QResizeEvent>
+ #include <QtCore/QDebug>
++#include <QtWidgets/QSplitter>
++#include <QtWidgets/QVBoxLayout>
++#include <QtWidgets/QHBoxLayout>
++#include <QtWidgets/QScrollBar>
+
+ #include <ZLFile.h>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.h fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/dialogs/ZLQtTreeDialog.h 2018-01-11 22:18:40.121207269 +0700
+@@ -25,10 +25,10 @@
+ #include <QtCore/QMap>
+
+-#include <QtGui/QDialog>
+-#include <QtGui/QScrollArea>
+-#include <QtGui/QPushButton>
+-#include <QtGui/QLabel>
+-#include <QtGui/QLineEdit>
+-#include <QtGui/QWidget>
++#include <QtWidgets/QDialog>
++#include <QtWidgets/QScrollArea>
++#include <QtWidgets/QPushButton>
++#include <QtWidgets/QLabel>
++#include <QtWidgets/QLineEdit>
++#include <QtWidgets/QWidget>
+
+ #include <ZLTreeDialog.h>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/library/ZLQApplication.h fbreader-0.99.4/zlibrary/ui/src/qt4/library/ZLQApplication.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/library/ZLQApplication.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/library/ZLQApplication.h 2018-01-11 22:18:40.121207269 +0700
+@@ -21,5 +21,5 @@
+ #define __ZLQAPPLICATION_H__
+
+-#include <QtGui/QApplication>
++#include <QtWidgets/QApplication>
+
+ class ZLQApplication : public QApplication {
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/library/ZLibrary.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/library/ZLibrary.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/library/ZLibrary.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/library/ZLibrary.cpp 2018-01-11 22:18:40.121207269 +0700
+@@ -20,5 +20,5 @@
+ #include <QtCore/QTextCodec>
+ #include <QtCore/QFile>
+-#include <QtGui/QApplication>
++#include <QtWidgets/QApplication>
+ #include <QtGui/QFileOpenEvent>
+
+@@ -73,5 +73,5 @@
+ new ZLQApplication(argc, argv);
+
+- QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf-8"));
++ QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8"));
+
+ ZLibrary::parseArguments(argc, argv);
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/network/ZLQtNetworkManager.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/network/ZLQtNetworkManager.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/network/ZLQtNetworkManager.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/network/ZLQtNetworkManager.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -25,5 +25,7 @@
+ #include <QtCore/QList>
+ #include <QtCore/QTimer>
++#include <QtCore/QUrlQuery>
+
++#include <QtNetwork/QNetworkCookie>
+ #include <QtNetwork/QNetworkRequest>
+ #include <QtNetwork/QNetworkReply>
+@@ -150,10 +152,10 @@
+ if (!scope.request->postParameters().empty()) {
+ QByteArray data;
+- QUrl tmp;
++ QUrlQuery tmp;
+ typedef std::pair<std::string, std::string> string_pair;
+ foreach (const string_pair &pair, scope.request->postParameters()) {
+ tmp.addQueryItem(QString::fromStdString(pair.first), QString::fromStdString(pair.second));
+ }
+- data = tmp.encodedQuery();
++ data = tmp.query(QUrl::FullyEncoded).toUtf8(); //encodedQuery();
+ reply = const_cast<QNetworkAccessManager&>(myManager).post(networkRequest, data);
+ } else {
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.cpp 2018-01-11 22:13:39.639219906 +0700
+@@ -87,5 +87,5 @@
+
+ void QtWaitingSpinner::setRoundness(qreal roundness) {
+- myRoundness = std::max(0.0, std::min(100.0, roundness));
++ myRoundness = std::max(static_cast<qreal>(0.0), std::min(static_cast<qreal>(100.0), roundness));
+ }
+
+@@ -149,5 +149,5 @@
+ qreal gradation = alphaDiff / (qreal)(distanceThreshold + 1);
+ qreal resultAlpha = color.alphaF() - gradation * distance;
+- resultAlpha = std::min(1.0, std::max(0.0, resultAlpha)); //if alpha is out of bound, force it to bounds
++ resultAlpha = std::min(static_cast<qreal>(1.0), std::max(static_cast<qreal>(0.0), resultAlpha)); //if alpha is out of bound, force it to bounds
+ color.setAlphaF(resultAlpha);
+ return color;
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.h fbreader-0.99.4/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/QtWaitingSpinner.h 2018-01-11 22:18:40.121207269 +0700
+@@ -4,5 +4,5 @@
+ #include <QtCore/QTimer>
+
+-#include <QtGui/QWidget>
++#include <QtWidgets/QWidget>
+ #include <QtGui/QColor>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,12 +18,12 @@
+ */
+
+-#include <QtGui/QVBoxLayout>
+-#include <QtGui/QHBoxLayout>
+ #include <QtGui/QPixmap>
+ #include <QtGui/QPalette>
+ #include <QtGui/QPainter>
+ #include <QtGui/QPaintEvent>
+-#include <QtGui/QScrollBar>
+ #include <QtCore/QTimer>
++#include <QtWidgets/QVBoxLayout>
++#include <QtWidgets/QHBoxLayout>
++#include <QtWidgets/QScrollBar>
+
+ #include <QtCore/QDebug>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.h fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtItemsListWidget.h 2018-01-11 22:18:40.120207269 +0700
+@@ -21,10 +21,10 @@
+ #define __ZLQTITEMSLISTWIDGET_H__
+
+-#include <QtGui/QWidget>
+-#include <QtGui/QFrame>
+-#include <QtGui/QPushButton>
+-#include <QtGui/QLabel>
+-#include <QtGui/QVBoxLayout>
+-#include <QtGui/QScrollArea>
++#include <QtWidgets/QWidget>
++#include <QtWidgets/QFrame>
++#include <QtWidgets/QPushButton>
++#include <QtWidgets/QLabel>
++#include <QtWidgets/QVBoxLayout>
++#include <QtWidgets/QScrollArea>
+
+ #include <ZLTreeTitledNode.h>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -18,8 +18,8 @@
+ */
+
+-#include <QtGui/QVBoxLayout>
+-#include <QtGui/QHBoxLayout>
+-#include <QtGui/QScrollBar>
+-#include <QtGui/QGraphicsDropShadowEffect>
++#include <QtWidgets/QVBoxLayout>
++#include <QtWidgets/QHBoxLayout>
++#include <QtWidgets/QScrollBar>
++#include <QtWidgets/QGraphicsDropShadowEffect>
+
+ #include <QtCore/QDebug>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.h fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtPreviewWidget.h 2018-01-11 22:18:40.121207269 +0700
+@@ -21,9 +21,9 @@
+ #define __ZLQTPREVIEWWIDGET_H__
+
+-#include <QtGui/QWidget>
+-#include <QtGui/QPushButton>
+-#include <QtGui/QLabel>
+-#include <QtGui/QScrollArea>
+-#include <QtGui/QVBoxLayout>
++#include <QtWidgets/QWidget>
++#include <QtWidgets/QPushButton>
++#include <QtWidgets/QLabel>
++#include <QtWidgets/QScrollArea>
++#include <QtWidgets/QVBoxLayout>
+ #include <QtCore/QSet>
+
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtSearchField.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtSearchField.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtSearchField.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtSearchField.cpp 2018-01-11 22:18:40.120207269 +0700
+@@ -19,7 +19,7 @@
+
+ #include <QtCore/QDebug>
+-#include <QtGui/QStyle>
+-#include <QtGui/QCompleter>
+-#include <QtGui/QStringListModel>
++#include <QtCore/QStringListModel>
++#include <QtWidgets/QStyle>
++#include <QtWidgets/QCompleter>
+
+ #include <ZLibrary.h>
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtSearchField.h fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtSearchField.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/tree/ZLQtSearchField.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/tree/ZLQtSearchField.h 2018-01-11 22:18:40.121207269 +0700
+@@ -22,6 +22,6 @@
+
+ #include <QtCore/QSet>
+-#include <QtGui/QLabel>
+-#include <QtGui/QLineEdit>
++#include <QtWidgets/QLabel>
++#include <QtWidgets/QLineEdit>
+
+ #include "QtWaitingSpinner.h"
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/view/ZLQtViewWidget.cpp fbreader-0.99.4/zlibrary/ui/src/qt4/view/ZLQtViewWidget.cpp
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/view/ZLQtViewWidget.cpp 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/view/ZLQtViewWidget.cpp 2018-01-11 22:18:40.121207269 +0700
+@@ -20,6 +20,6 @@
+ #include <algorithm>
+
+-#include <QtGui/QLayout>
+-#include <QtGui/QScrollBar>
++#include <QtWidgets/QLayout>
++#include <QtWidgets/QScrollBar>
+ #include <QtGui/QPainter>
+ #include <QtGui/QPixmap>
+@@ -186,9 +186,9 @@
+ void ZLQtViewWidget::setScrollbarEnabled(ZLView::Direction direction, bool enabled) {
+ if (direction == ZLView::VERTICAL) {
+- myRightScrollBar->setShown(enabled && myShowScrollBarAtRight);
+- myLeftScrollBar->setShown(enabled && !myShowScrollBarAtRight);
++ myRightScrollBar->setVisible(enabled && myShowScrollBarAtRight);
++ myLeftScrollBar->setVisible(enabled && !myShowScrollBarAtRight);
+ } else {
+- myBottomScrollBar->setShown(enabled && myShowScrollBarAtBottom);
+- myTopScrollBar->setShown(enabled && !myShowScrollBarAtBottom);
++ myBottomScrollBar->setVisible(enabled && myShowScrollBarAtBottom);
++ myTopScrollBar->setVisible(enabled && !myShowScrollBarAtBottom);
+ }
+ }
+diff -r -U2 fbreader-0.99.4.orig/zlibrary/ui/src/qt4/view/ZLQtViewWidget.h fbreader-0.99.4/zlibrary/ui/src/qt4/view/ZLQtViewWidget.h
+--- fbreader-0.99.4.orig/zlibrary/ui/src/qt4/view/ZLQtViewWidget.h 2012-11-30 19:41:25.000000000 +0700
++++ fbreader-0.99.4/zlibrary/ui/src/qt4/view/ZLQtViewWidget.h 2018-01-11 22:18:40.121207269 +0700
+@@ -21,5 +21,5 @@
+ #define __ZLQTVIEWWIDGET_H__
+
+-#include <QtGui/QWidget>
++#include <QtWidgets/QWidget>
+
+ #include "../../../../core/src/view/ZLViewWidget.h"
diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild
index d5c54adeac..b82dd3ea8c 100644
--- a/office/fbreader/fbreader.SlackBuild
+++ b/office/fbreader/fbreader.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fbreader
# Originally written by Audrius Kazukauskas <audrius@neutrino.lt>
# Maintained as of version 0.12.1 by Niels Horn <niels.horn@gmail.com>
# revision date: 2011/03/09
+# Modified by SlackBuilds.org, 20230111 bkw: BUILD=2, just to force a
+# rebuild after libunibreak update to 5.1.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbreader
VERSION=${VERSION:-0.99.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
@@ -56,14 +66,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Needed for gcc >= 6.x
+sed -i "s|-Wall|-Wall -Wno-narrowing|" makefiles/arch/desktop.mk
patch -p1 < $CWD/fbreader-0.99.4.patch
+# Port to qt5 - patch from gentoo
+patch -p1 < $CWD/fbreader-qt5.patch
export TARGET_ARCH=desktop
-export UI_TYPE=qt4
+export UI_TYPE=qt4 # this hasn't changed
export TARGET_STATUS=release
-make LIBDIR=/usr/lib${LIBDIRSUFFIX} ZLSHARED=no MOC=/usr/bin/moc
-make install LIBDIR=/usr/lib${LIBDIRSUFFIX} ZLSHARED=no DESTDIR=$PKG
+make LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make install LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -80,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/office/fbreader/fbreader.info b/office/fbreader/fbreader.info
index 140f2b7ab5..f46f5198db 100644
--- a/office/fbreader/fbreader.info
+++ b/office/fbreader/fbreader.info
@@ -1,10 +1,10 @@
PRGNAM="fbreader"
VERSION="0.99.4"
HOMEPAGE="https://fbreader.org/"
-DOWNLOAD="https://www.fbreader.org/files/desktop/fbreader-sources-0.99.4.tgz"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/fbreader-sources-0.99.4.tgz"
MD5SUM="ed13a9c3aeb68aaa98a1dd6f7947a31d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libunibreak"
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/office/featherpad/README b/office/featherpad/README
new file mode 100644
index 0000000000..915db8801b
--- /dev/null
+++ b/office/featherpad/README
@@ -0,0 +1,41 @@
+FeatherPad (by Pedram Pourang, a.k.a. Tsu Jan) is a lightweight Qt
+plain-text editor for Linux. It is independent of any desktop
+environment. Some of the features include:
+
+ Drag-and-drop support, including tab detachment and attachment.
+ X11 virtual desktop awareness
+ (using tabs on current desktop but opening a new window on another).
+ An optionally permanent search-bar with a different search
+ entry for each tab.
+ Instant highlighting of found matches when searching.
+ A docked window for text replacement.
+ Support for showing line numbers and jumping to a specific line.
+ Optional selection highlighting.
+ Automatic detection of text encoding as far as possible and
+ optional saving with encoding.
+ Syntax highlighting for common programming languages.
+ Ability to open URLs with appropriate applications.
+ Session management.
+ Side-pane mode.
+ Auto-saving.
+ Spell checking with Hunspell.
+ Printing.
+ Text zooming.
+ Appropriate but non-interrupting prompts.
+
+FeatherPad was written in GTK+ at first, then ported to Qt with more
+features.
+
+Note:
+
+FeatherPad can be compiled without X11 support:
+
+ NOX11=on ./featherpad.SlackBuild
+
+the result will have all features except for virtual desktop awareness
+and tab DND. On Linux, FeatherPad works under Wayland and you don't
+need to disable its X11 support for that.
+
+To compile with X11 support:
+
+ ./featherpad.Slackbuild
diff --git a/office/eqonomize/doinst.sh b/office/featherpad/doinst.sh
index 0fb9c8b686..aea0f894eb 100644
--- a/office/eqonomize/doinst.sh
+++ b/office/featherpad/doinst.sh
@@ -11,4 +11,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
diff --git a/office/featherpad/featherpad.SlackBuild b/office/featherpad/featherpad.SlackBuild
new file mode 100644
index 0000000000..b3e281ee7e
--- /dev/null
+++ b/office/featherpad/featherpad.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for FeatherPad
+
+# Copyright 2022 Brandon Pribula, BC Canada
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=featherpad
+VERSION=${VERSION:-1.3.1}
+SRCNAM=FeatherPad
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+mv $SRCNAM-$VERSION $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# FeatherPad can be built without X11 support by assigning
+# 'on' to the NOX11 environment variable. All other values
+# or no value at all will build with X11 support.
+if [ "$NOX11" = "on" ]; then
+ echo ""
+ echo "Building WITHOUT X11 support..."
+ echo ""
+else
+ NOX11=off
+ echo ""
+ echo "Building WITH X11 support..."
+ echo ""
+fi
+
+mkdir -p build
+cd build
+cmake \
+ -DWITHOUT_X11="$NOX11" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_BUILD_TYPE:STRING=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/featherpad/featherpad.info b/office/featherpad/featherpad.info
new file mode 100644
index 0000000000..a9d0543ff0
--- /dev/null
+++ b/office/featherpad/featherpad.info
@@ -0,0 +1,10 @@
+PRGNAM="featherpad"
+VERSION="1.3.1"
+HOMEPAGE="https://github.com/tsujan/FeatherPad"
+DOWNLOAD="https://github.com/tsujan/FeatherPad/archive/refs/tags/V1.3.1/FeatherPad-1.3.1.tar.gz"
+MD5SUM="0c642afe067f4e516f30d7212f62ef5b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Glenn Becker"
+EMAIL="glenn_e_becker@protonmail.com"
diff --git a/office/featherpad/slack-desc b/office/featherpad/slack-desc
new file mode 100644
index 0000000000..5f40ed1b3e
--- /dev/null
+++ b/office/featherpad/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+featherpad: featherpad (text editor)
+featherpad:
+featherpad: A lightweight Qt plain-text editor for Linux. It's independent of
+featherpad: any desktop environment. It was written in GTK+ at first, then ported
+featherpad: to Qt with more features.
+featherpad:
+featherpad:
+featherpad:
+featherpad:
+featherpad: Homepage: https://github.com/tsujan/FeatherPad
+featherpad:
diff --git a/office/flowkeeper/README b/office/flowkeeper/README
index cb7e3c24b6..1eeeec6fcc 100644
--- a/office/flowkeeper/README
+++ b/office/flowkeeper/README
@@ -1,11 +1,12 @@
Flowkeeper is a new desktop software timer for Pomodoro Technique(R),
-which is a very simple yet effective way to increase personal productivity,
-currently licensed as freeware.
+which is a very simple yet effective way to increase personal
+productivity, currently licensed as freeware.
Daily task plan file (flowkeeper.xml) is stored by the program in user's
$HOME directory.
-Even if the program has somewhat limited functionality (being in its first
-version), you can easily edit this XML file (but only when the program is
-not running!).
+
+Even if the program has somewhat limited functionality (being in its
+first version), you can easily edit this XML file (but only when the
+program is not running!).
It is compatible with jdk (from SlackBuilds.org) and with OpenJDK.
diff --git a/office/flowkeeper/flowkeeper.SlackBuild b/office/flowkeeper/flowkeeper.SlackBuild
index 0b4309fb28..facee6e940 100644
--- a/office/flowkeeper/flowkeeper.SlackBuild
+++ b/office/flowkeeper/flowkeeper.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flowkeeper
@@ -22,13 +22,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=flowkeeper
VERSION=${VERSION:-2010.12}
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}
@@ -75,5 +85,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/office/flowkeeper/flowkeeper.info b/office/flowkeeper/flowkeeper.info
index e11dfdc17d..c93a4534df 100644
--- a/office/flowkeeper/flowkeeper.info
+++ b/office/flowkeeper/flowkeeper.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://flowkeeper.sourceforge.net/flowkeeper.jar"
MD5SUM="f0266dacce69ceaca0c9668d6701a1ab"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"
diff --git a/office/focuswriter-qt6/README b/office/focuswriter-qt6/README
new file mode 100644
index 0000000000..ad5ea93f9b
--- /dev/null
+++ b/office/focuswriter-qt6/README
@@ -0,0 +1,11 @@
+FocusWriter is a fullscreen, distraction-free word processor designed
+to immerse you as much as possible in your work.
+The program autosaves your progress, and reloads the last files you
+had open to make it easy to jump back in during your next writing
+session, and has many other features that make it such that only one
+thing matters: your writing.
+
+This version of Focuswriter uses qt6, which is required for version
+above 1.7.6. If you do not want qt6, use the focuswriter SlackBuild
+which is stuck at 1.7.6.
+Both packages are mutually exclusive.
diff --git a/office/myrulib/doinst.sh b/office/focuswriter-qt6/doinst.sh
index 4a25de5e6f..4a25de5e6f 100644
--- a/office/myrulib/doinst.sh
+++ b/office/focuswriter-qt6/doinst.sh
diff --git a/office/focuswriter-qt6/focuswriter-qt6.SlackBuild b/office/focuswriter-qt6/focuswriter-qt6.SlackBuild
new file mode 100644
index 0000000000..a93223f701
--- /dev/null
+++ b/office/focuswriter-qt6/focuswriter-qt6.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for focuswriter-qt6
+
+# Copyright 2014 Scalzi Giuseppe Switzerland
+# Updated 2016 Morten Juhl-Johansen Zölde-Fejér
+# Copyright 2020 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=focuswriter-qt6
+SRCNAM=focuswriter
+VERSION=${VERSION:-1.8.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+cmake \
+ -B build \
+ -S . \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_STRIP=ON \
+ -DCMAKE_BUILD_TYPE=Release
+cmake --build build
+DESTDIR=$PKG cmake --install build
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+sed -i 's#SingleMainWindow#X-SingleMainWindow#' $PKG/usr/share/applications/focuswriter.desktop
+
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/focuswriter-qt6/focuswriter-qt6.info b/office/focuswriter-qt6/focuswriter-qt6.info
new file mode 100644
index 0000000000..92cd9c2745
--- /dev/null
+++ b/office/focuswriter-qt6/focuswriter-qt6.info
@@ -0,0 +1,10 @@
+PRGNAM="focuswriter-qt6"
+VERSION="1.8.6"
+HOMEPAGE="https://gottcode.org/focuswriter/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://gottcode.org/focuswriter/focuswriter-1.8.6.tar.bz2"
+MD5SUM_x86_64="d09a4c0ca7d6986eca5c6c0603b12b65"
+REQUIRES="qt6"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/office/focuswriter-qt6/slack-desc b/office/focuswriter-qt6/slack-desc
new file mode 100644
index 0000000000..81d428c61a
--- /dev/null
+++ b/office/focuswriter-qt6/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+focuswriter-qt6: focuswriter-qt6 (distraction-free word processor)
+focuswriter-qt6:
+focuswriter-qt6: FocusWriter is a fullscreen, distraction-free word processor designed
+focuswriter-qt6: to immerse you as much as possible in your work.
+focuswriter-qt6: The program autosaves your progress, and reloads the last files you
+focuswriter-qt6: had open to make it easy to jump back in during your next writing
+focuswriter-qt6: session, and has many other features that make it such that only one
+focuswriter-qt6: thing matters: your writing.
+focuswriter-qt6:
+focuswriter-qt6: http://gottcode.org/focuswriter/
+focuswriter-qt6: This is the newer version, built against qt6.
diff --git a/office/focuswriter/README b/office/focuswriter/README
index 61463f8371..8ab81f3a7c 100644
--- a/office/focuswriter/README
+++ b/office/focuswriter/README
@@ -1,6 +1,10 @@
-FocusWriter is a fullscreen, distraction-free word processor
-designed to immerse you as much as possible in your work.
+FocusWriter is a fullscreen, distraction-free word processor designed
+to immerse you as much as possible in your work.
The program autosaves your progress, and reloads the last files you
had open to make it easy to jump back in during your next writing
session, and has many other features that make it such that only one
thing matters: your writing.
+
+FocusWriter 1.7.6 is the last available version for qt5. Newer versions
+(focuswriter >= 1.8.0) require qt6.
+A focuswriter-qt6 package is available on slackbuilds.org.
diff --git a/office/focuswriter/focuswriter.SlackBuild b/office/focuswriter/focuswriter.SlackBuild
index c3dec34066..7fbcd2430b 100644
--- a/office/focuswriter/focuswriter.SlackBuild
+++ b/office/focuswriter/focuswriter.SlackBuild
@@ -1,10 +1,12 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for focuswriter
# Copyright 2014 Scalzi Giuseppe Switzerland
-# All rights reserved.
# Updated 2016 Morten Juhl-Johansen Zölde-Fejér
+# Copyright 2020 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,26 +25,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=focuswriter
-VERSION=${VERSION:-1.5.7}
+VERSION=${VERSION:-1.7.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -50,6 +62,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -69,7 +84,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake PREFIX=/usr
+qmake-qt5 PREFIX=/usr
make
make install INSTALL_ROOT=$PKG
@@ -77,7 +92,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 COPYING INSTALL README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/share/man $PKG/usr
@@ -89,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/office/focuswriter/focuswriter.info b/office/focuswriter/focuswriter.info
index 7d11e63118..27d71fc268 100644
--- a/office/focuswriter/focuswriter.info
+++ b/office/focuswriter/focuswriter.info
@@ -1,10 +1,10 @@
PRGNAM="focuswriter"
-VERSION="1.5.7"
+VERSION="1.7.6"
HOMEPAGE="https://gottcode.org/focuswriter/"
-DOWNLOAD="https://gottcode.org/focuswriter/focuswriter-1.5.7-src.tar.bz2"
-MD5SUM="088dd0b696b60b3cc6c59793ec5eea6d"
+DOWNLOAD="https://gottcode.org/focuswriter/focuswriter-1.7.6-src.tar.bz2"
+MD5SUM="ba9e316b4bc0c4568d71f7dc3cd64fff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Morten Juhl-Johansen Zölde-Fejér"
-EMAIL="mjjzf@syntaktisk.dk"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/office/focuswriter/slack-desc b/office/focuswriter/slack-desc
index 32385b11ef..b742081979 100644
--- a/office/focuswriter/slack-desc
+++ b/office/focuswriter/slack-desc
@@ -8,8 +8,8 @@
|-----handy-ruler------------------------------------------------------|
focuswriter: focuswriter (distraction-free word processor)
focuswriter:
-focuswriter: FocusWriter is a fullscreen, distraction-free word processor
-focuswriter: designed to immerse you as much as possible in your work.
+focuswriter: FocusWriter is a fullscreen, distraction-free word processor designed
+focuswriter: to immerse you as much as possible in your work.
focuswriter: The program autosaves your progress, and reloads the last files you
focuswriter: had open to make it easy to jump back in during your next writing
focuswriter: session, and has many other features that make it such that only one
diff --git a/office/fop/README b/office/fop/README
index 2deacbff89..b12fb8a1cb 100644
--- a/office/fop/README
+++ b/office/fop/README
@@ -1,8 +1,25 @@
-Apache FOP is a print formatter driven by XSL formatting objects. It
-is a Java application that reads a formatting object tree conforming
-to the XSL 1.1 Recommendation (05 December 2006) and then turns it
-into a PDF document, certain other output formats or allows you to
-preview it directly on screen.
-
-Note that not all parts of the XSL 1.1 specification have yet been
-implemented.
+Apache FOP (Formatting Objects Processor) is a print formatter
+driven by XSL formatting objects (XSL-FO) and an output independent
+formatter. It is a Java application that reads a formatting object
+(FO) tree and renders the resulting pages to a specified output.
+
+Output formats currently supported include PDF, PS, PCL, AFP, XML
+(area tree representation), Print, AWT and PNG, and to a lesser
+extent, RTF and TXT. The primary output target is PDF.
+
+The goals of the Apache FOP project are to deliver an XSL-FO to PDF
+formatter that is compliant to at least the Basic conformance level
+described in the W3C Recommendation from 05 December 2006, and that
+complies with the November 2001 Portable Document Format Specification
+(Version 1.4) from Adobe Systems.
+
+Conformance to the XML 1.0 and 1.1 Recommendations, XSLT 1.0 and 2.0
+Recommendations and the XML Namespaces Recommendation is understood.
+Other relevant documents, such as the XPath and XLink Working Drafts,
+are referenced as necessary. The FOP Project will attempt to use the
+latest version of evolving specifications.
+
+The original SB script required apache-maven, which needed to download
+over 200 prebuild .jar files. This script now simply repackages the
+binary package to avoid all this excessive downloading from within the
+script.
diff --git a/office/fop/fop.SlackBuild b/office/fop/fop.SlackBuild
index df361192a0..d7153b6947 100644
--- a/office/fop/fop.SlackBuild
+++ b/office/fop/fop.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fop
# Copyright 2015 Thorn Inurcide USA
+# Copyright 2020, 2021, 2023 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,87 +23,85 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220412 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove mention of jai and jai-imageio from README, since we no
+# longer have these in the repo.
+# - use relative symlink for binary.
+
+# 20220301 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+# The fop-2.6 SlackBuild downloaded 230 prebuilt .jar files during its
+# build process. Since we're trusting prebuilt code anyway, and since
+# we prefer not to do network access from a SlackBuild, I've made this
+# a binary repack: this script no longer builds fop, it just packages
+# the official binary release.
+# Also updated for version 2.7, and made this a noarch package since
+# there's no native code.
+# The offo-hyphenation stuff had to change: we have to use the precompiled
+# zip file, not the source. See:
+# https://xmlgraphics.apache.org/fop/2.7/hyphenation.html
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fop
-VERSION=${VERSION:-2.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+mkdir -p $TMP $PKG/opt/$PRGNAM-$VERSION $OUTPUT
+cd $PKG/opt
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-bin.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# Fix an Issue with Java 8 thanks LFS =]
-sed -i '\@</javad@i\
-<arg value="-Xdoclint:none"/>\
-<arg value="--allow-script-in-comments"/>' build.xml
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv KEYS LICENSE NOTICE README $PKGDOC
-# Compiles with apache-ant:
-ant compile
-ant jar-main
-ant javadocs
+mv $PRGNAM $PRGNAM.old
+mv $PRGNAM.old/* .
+rmdir $PRGNAM.old
-mv build/javadocs .
+# 20220305 bkw: don't need windows stuff
+rm -f $PRGNAM.{bat,cmd}
-mkdir -p $PKG/opt/$PRGNAM-$VERSION
-install -v -d -m755 $PKG/opt/$PRGNAM-$VERSION/
+# 20220305 bkw: OFFO hyphenation can't be distributed with FOP, due
+# to licensing issues. Here it's a separate .jar file:
+unzip -p $CWD/offo-hyphenation-compiled.zip \
+ offo-hyphenation-compiled/fop-hyph.jar \
+ > lib/fop-hyph.jar
-cp -va build conf examples fop* javadocs lib status.xml \
- $PKG/opt/$PRGNAM-$VERSION
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Symlink it all to /opt/fop so the .foprc won't need edited every update:
+cd $PKG/opt
+ln -s $PRGNAM-$VERSION $PRGNAM
-# Create fop symlink to /usr/bin:
mkdir -p $PKG/usr/bin
-( ln -sf /opt/${PRGNAM}-${VERSION}/${PRGNAM} $PKG/usr/bin/ )
-
-# Symlink it all to /opt/fop so the .foprc won't need edited every update:
-( cd $PKG/opt ; ln -sf ${PRGNAM}-${VERSION} ${PRGNAM} )
+ln -s ../../opt/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/bin/$PRGNAM
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README NOTICE LICENSE KEYS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/fop/fop.info b/office/fop/fop.info
index ed30b5d04f..40453befdb 100644
--- a/office/fop/fop.info
+++ b/office/fop/fop.info
@@ -1,10 +1,12 @@
PRGNAM="fop"
-VERSION="2.0"
-HOMEPAGE="http://www.apache.org"
-DOWNLOAD="https://archive.apache.org/dist/xmlgraphics/fop/source/fop-2.0-src.tar.gz"
-MD5SUM="754e5307a73433afb5c4c9b11d45e302"
+VERSION="2.8"
+HOMEPAGE="https://xmlgraphics.apache.org/fop/"
+DOWNLOAD="https://archive.apache.org/dist/xmlgraphics/fop/binaries/fop-2.8-bin.tar.gz \
+ https://downloads.sourceforge.net/offo/2.2/offo-hyphenation-compiled.zip"
+MD5SUM="e23b5802611007dcf8de375077c09a5f \
+ 5ec09cce6d8a09bc53a6441790021ecf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="apache-ant jai"
-MAINTAINER="Thorn Inurcide"
-EMAIL="thorn-inurcide@yandex.com"
+REQUIRES="zulu-openjdk8"
+MAINTAINER="Lenard Spencer"
+EMAIL="lenardrspencer@gmail.com"
diff --git a/office/fop/slack-desc b/office/fop/slack-desc
index db6fddeee2..e9326593e5 100644
--- a/office/fop/slack-desc
+++ b/office/fop/slack-desc
@@ -10,10 +10,10 @@ fop: fop (print formatter)
fop:
fop: Apache FOP is a print formatter driven by XSL formatting objects. It
fop: is a Java application that reads a formatting object tree conforming
-fop: to the XSL 1.1 Recommendation (05 December 2006) and then turns it
-fop: into a PDF document, certain other output formats or allows you to
-fop: preview it directly on screen. Note that not all parts of the XSL
-fop: 1.1 specification have yet been implemented.
+fop: to the XSL 1.1 Recommendation (05 December 2006) and renders the
+fop: resulting pages to a specified output. Current outputs supported
+fop: include PDF, PS, PCL,AFP, XML (area tree representation), Print,
+fop: AWT, and TXT. The primary output target is PDF.
fop:
+fop: Home: https://xmlgraphics.apache.org/fop/
fop:
-fop: Home: apache.org
diff --git a/office/freemind/freemind.SlackBuild b/office/freemind/freemind.SlackBuild
index 3741cb31fe..03c2b3869d 100644
--- a/office/freemind/freemind.SlackBuild
+++ b/office/freemind/freemind.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for freemind
@@ -26,15 +26,25 @@
# build for 14.1 (that one had apparently been abandoned and thus Bruno
# rewrote it, unaware that one had already existed).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=freemind
VERSION=${VERSION:-1.0.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
#SRC_VERSION=$(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}
@@ -69,4 +79,4 @@ 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 {} \;
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/freemind/freemind.info b/office/freemind/freemind.info
index 077c4b1e81..1d0aeded7e 100644
--- a/office/freemind/freemind.info
+++ b/office/freemind/freemind.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/freemind/freemind-bin-max-1.0.1.zip"
MD5SUM="bb217c2566e1476f11f1a68ff88a5669"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Bruno T. Russo (BrunoRusso)"
EMAIL="contato@brunorusso.eti.br"
diff --git a/office/full-pack/README b/office/full-pack/README
index cf984a9b95..cea1b41773 100644
--- a/office/full-pack/README
+++ b/office/full-pack/README
@@ -1,7 +1,7 @@
-full-pack is a set of dictionaries for kbg/gbgoffice. It includes a
-bidirectional English-Bulgarian dictionary, a dictionary of computer
-terms, a polytechnical dictionary and a dictionary of the Bulgarian
-North-West dialect.
+full-pack is a set of dictionaries for kbg/gbgoffice. It includes a
+bidirectional English-Bulgarian dictionary, a dictionary of computer
+terms, a polytechnical dictionary and a dictionary of the Bulgarian
+North-West dialect.
The dictionary engine is provided by either kbgoffice or gbgoffice,
-so this package depends either from one or the other.
+so this package is only useful if one or both are installed.
diff --git a/office/full-pack/full-pack.SlackBuild b/office/full-pack/full-pack.SlackBuild
index 20ed280c48..b83e1bd121 100644
--- a/office/full-pack/full-pack.SlackBuild
+++ b/office/full-pack/full-pack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
## Written by Martin Ivanov (tramni@abv.bg)
## Package Homepage: http://bgoffice.sourceforge.net/assistant/
@@ -11,14 +11,26 @@
# Modified by Robby Workman <rworkman@slackbuilds.org> 20101209
# * My changes are all good, so flames should still go to Martin... ;-)
+# 20220217 bkw: Modified by SlackBuilds.org: get rid of the Makefile
+# check for an installed copy of gbgoffice or kbgoffice. Allows the
+# package to be built standalone. Having them installed doesn't change
+# the contents of this package one whit, anyway.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=full-pack
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -36,11 +48,17 @@ cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
+
+# 20220217 bkw: get rid of the check for installed gbgoffice or
+# kbgoffice. The data dirs are the same for both (DATA_DIR in the
+# make command), so it doesn't matter which one (or if neither one)
+# is installed, as far as creating this package is concerned.
+sed -i '/^install:/s, .*$,,' Makefile
-make DATA_DIR=$PKG/usr/share/bgoffice install || exit 1
+make DATA_DIR=$PKG/usr/share/bgoffice install
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -52,4 +70,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/ganttproject/ganttproject.SlackBuild b/office/ganttproject/ganttproject.SlackBuild
index 448ff3b7b2..3e57609e80 100644
--- a/office/ganttproject/ganttproject.SlackBuild
+++ b/office/ganttproject/ganttproject.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ganttproject
@@ -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=ganttproject
-VERSION=${VERSION:-2.8.9}
-VERSION_BUILD=${VERSION_BUILD:-r2335}
+VERSION=${VERSION:-2.8.11}
+VERSION_BUILD=${VERSION_BUILD:-r2396}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
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/office/ganttproject/ganttproject.info b/office/ganttproject/ganttproject.info
index 8e3b533e97..2fc28e781c 100644
--- a/office/ganttproject/ganttproject.info
+++ b/office/ganttproject/ganttproject.info
@@ -1,10 +1,10 @@
PRGNAM="ganttproject"
-VERSION="2.8.9"
+VERSION="2.8.11"
HOMEPAGE="https://www.ganttproject.biz"
-DOWNLOAD="https://github.com/bardsoftware/ganttproject/releases/download/ganttproject-2.8.9/ganttproject_2.8.9-r2335-1_all.deb"
-MD5SUM="ac90e0290098b4b35e793356ef84518c"
+DOWNLOAD="https://github.com/bardsoftware/ganttproject/releases/download/ganttproject-2.8.11/ganttproject_2.8.11-r2396-1_all.deb"
+MD5SUM="a7b7c90c4e96b8995dd55fb314f103e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Ekin Akoglu"
EMAIL="ekinakoglu@gmail.com"
diff --git a/office/gbgoffice/gbgoffice.SlackBuild b/office/gbgoffice/gbgoffice.SlackBuild
index 08a3eac59b..0e11b72767 100644
--- a/office/gbgoffice/gbgoffice.SlackBuild
+++ b/office/gbgoffice/gbgoffice.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gbgoffice
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gbgoffice
VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,10 +74,10 @@ tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Thanks to Debian for the patches
patch -p1 -i $CWD/patches/03_multidir.patch
@@ -78,6 +88,7 @@ patch -p1 -i $CWD/patches/08_fix_const_conversion.patch
patch -p1 -i $CWD/patches/09_deprecated_SigC.patch
patch -p1 -i $CWD/patches/10_workhelper-buttonbox.patch
patch -p1 -i $CWD/patches/11_explicit-linkage.patch
+patch -p1 -i $CWD/patches/12_gcc6.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
@@ -113,4 +124,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/gbgoffice/patches/12_gcc6.patch b/office/gbgoffice/patches/12_gcc6.patch
new file mode 100644
index 0000000000..2ec2c344f4
--- /dev/null
+++ b/office/gbgoffice/patches/12_gcc6.patch
@@ -0,0 +1,21 @@
+Description: fixes compilation with GCC-6
+ return type must be Translator* and can't be boolean
+Author: Damyan Ivanov <dmn@debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811619
+
+--- a/src/translator_manager.cpp
++++ b/src/translator_manager.cpp
+@@ -176,11 +176,11 @@ Translator *TranslatorManager::getTestDi
+ isDataOk = isDataOk && tr->init(tr->BG_EN, string(string(prop->getDirectory()) + prop->getString("data")).c_str());
+ } else {
+ cerr << "TranslatorManager::getTestDictionaryObject - Wrong description file: " << testDictionaries[index].fileName << "\n";
+- return false;
++ return NULL;
+ }
+ if (!isDataOk) {
+ cerr << "TranslatorManager::getTestDictionaryObject - Problem initialazing dictionary: " << testDictionaries[index].fileName << "\n";
+- return false;
++ return NULL;
+ }
+ char c[16];
+ sprintf(c, "%d", level);
diff --git a/office/gcal/gcal-glibc-no-libio.patch b/office/gcal/gcal-glibc-no-libio.patch
new file mode 100644
index 0000000000..d542773965
--- /dev/null
+++ b/office/gcal/gcal-glibc-no-libio.patch
@@ -0,0 +1,134 @@
+From 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert@cs.ucla.edu>
+Date: Mon, 5 Mar 2018 10:56:29 -0800
+Subject: [PATCH] fflush: adjust to glibc 2.28 libio.h removal
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Problem reported by Daniel P. Berrangé in:
+https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html
+* lib/fbufmode.c (fbufmode):
+* lib/fflush.c (clear_ungetc_buffer_preserving_position)
+(disable_seek_optimization, rpl_fflush):
+* lib/fpending.c (__fpending):
+* lib/fpurge.c (fpurge):
+* lib/freadable.c (freadable):
+* lib/freadahead.c (freadahead):
+* lib/freading.c (freading):
+* lib/freadptr.c (freadptr):
+* lib/freadseek.c (freadptrinc):
+* lib/fseeko.c (fseeko):
+* lib/fseterr.c (fseterr):
+* lib/fwritable.c (fwritable):
+* lib/fwriting.c (fwriting):
+Check _IO_EOF_SEEN instead of _IO_ftrylockfile.
+* lib/stdio-impl.h (_IO_IN_BACKUP) [_IO_EOF_SEEN]:
+Define if not already defined.
+---
+ lib/fflush.c | 6 +++---
+ lib/fpurge.c | 2 +-
+ lib/freading.c | 2 +-
+ lib/fseeko.c | 4 ++--
+ lib/stdio-impl.h | 6 ++++++
+ 5 files changed, 13 insertions(+), 7 deletions(-)
+
+diff --git a/lib/fflush.c b/lib/fflush.c
+index 983ade0ff..a6edfa105 100644
+--- a/lib/fflush.c
++++ b/lib/fflush.c
+@@ -33,7 +33,7 @@
+ #undef fflush
+
+
+-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+
+ /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */
+ static void
+@@ -72,7 +72,7 @@ clear_ungetc_buffer (FILE *fp)
+
+ #endif
+
+-#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
++#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
+
+ # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
+ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
+@@ -148,7 +148,7 @@ rpl_fflush (FILE *stream)
+ if (stream == NULL || ! freading (stream))
+ return fflush (stream);
+
+-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+
+ clear_ungetc_buffer_preserving_position (stream);
+
+diff --git a/lib/fpurge.c b/lib/fpurge.c
+index b1d417c7a..3aedcc373 100644
+--- a/lib/fpurge.c
++++ b/lib/fpurge.c
+@@ -62,7 +62,7 @@ fpurge (FILE *fp)
+ /* Most systems provide FILE as a struct and the necessary bitmask in
+ <stdio.h>, because they need it for implementing getc() and putc() as
+ fast macros. */
+-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
++# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+ fp->_IO_read_end = fp->_IO_read_ptr;
+ fp->_IO_write_ptr = fp->_IO_write_base;
+ /* Avoid memory leak when there is an active ungetc buffer. */
+diff --git a/lib/freading.c b/lib/freading.c
+index 73c28acdd..c24d0c88a 100644
+--- a/lib/freading.c
++++ b/lib/freading.c
+@@ -31,7 +31,7 @@ freading (FILE *fp)
+ /* Most systems provide FILE as a struct and the necessary bitmask in
+ <stdio.h>, because they need it for implementing getc() and putc() as
+ fast macros. */
+-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
++# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+ return ((fp->_flags & _IO_NO_WRITES) != 0
+ || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
+ && fp->_IO_read_base != NULL));
+diff --git a/lib/fseeko.c b/lib/fseeko.c
+index 0101ab55f..193f4e8ce 100644
+--- a/lib/fseeko.c
++++ b/lib/fseeko.c
+@@ -47,7 +47,7 @@ fseeko (FILE *fp, off_t offset, int whence)
+ #endif
+
+ /* These tests are based on fpurge.c. */
+-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+ if (fp->_IO_read_end == fp->_IO_read_ptr
+ && fp->_IO_write_ptr == fp->_IO_write_base
+ && fp->_IO_save_base == NULL)
+@@ -123,7 +123,7 @@ fseeko (FILE *fp, off_t offset, int whence)
+ return -1;
+ }
+
+-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+ fp->_flags &= ~_IO_EOF_SEEN;
+ fp->_offset = pos;
+ #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
+diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
+index 78d896e9f..05c5752a2 100644
+--- a/lib/stdio-impl.h
++++ b/lib/stdio-impl.h
+@@ -18,6 +18,12 @@
+ the same implementation of stdio extension API, except that some fields
+ have different naming conventions, or their access requires some casts. */
+
++/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
++ problem by defining it ourselves. FIXME: Do not rely on glibc
++ internals. */
++#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
++# define _IO_IN_BACKUP 0x100
++#endif
+
+ /* BSD stdio derived implementations. */
+
+--
+2.17.1
+
diff --git a/office/gcal/gcal.SlackBuild b/office/gcal/gcal.SlackBuild
index 8ea0a4e404..e7a158ac96 100644
--- a/office/gcal/gcal.SlackBuild
+++ b/office/gcal/gcal.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gcal
-# Copyright 2013 David Woodfall <dave@dawoodfall.net>
+# Copyright 2013 David Woodfall <dave@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=gcal
VERSION=${VERSION:-4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,6 +78,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# fedora patch to fix fseek error
+# https://src.fedoraproject.org/rpms/gcal/tree/rawhide
+patch -p1 <$CWD/gcal-glibc-no-libio.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -102,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/office/gcal/gcal.info b/office/gcal/gcal.info
index 860303ea4e..6065d036ec 100644
--- a/office/gcal/gcal.info
+++ b/office/gcal/gcal.info
@@ -6,5 +6,5 @@ MD5SUM="7560189fc2393fddc920c5843b27d295"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@dawoodfall.net"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/office/gcalctool-gtk2/README b/office/gcalctool-gtk2/README
new file mode 100644
index 0000000000..5b0995c980
--- /dev/null
+++ b/office/gcalctool-gtk2/README
@@ -0,0 +1,5 @@
+This is the last GTK2 version of gcalctool. It will conflict with the
+latest one, so don't install both.
+
+gcalctool is an application that solves mathematical equations and is
+suitable as a default application in a Desktop environment.
diff --git a/office/gcalctool-gtk2/doinst.sh b/office/gcalctool-gtk2/doinst.sh
new file mode 100644
index 0000000000..0254ea06d8
--- /dev/null
+++ b/office/gcalctool-gtk2/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/office/sc-im/sc-im.SlackBuild b/office/gcalctool-gtk2/gcalctool-gtk2.SlackBuild
index 25e318343e..6d09333b35 100644
--- a/office/sc-im/sc-im.SlackBuild
+++ b/office/gcalctool-gtk2/gcalctool-gtk2.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for sc-im
+# Slackware build script for gcalctool-gtk2
-# Copyright 2016-2018 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2023 Petar Petrov slackalaxy@gmail.com
+# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2011 byteframe
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=sc-im
-VERSION=${VERSION:-0.7.0}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gcalctool-gtk2
+SRCNAM=gcalctool
+VERSION=${VERSION:-5.32.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,31 +79,37 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cd src/
+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
-perl -pi -e 's#name = scim#name = sc-im#g|s#prefix = /usr/local#prefix = /usr#g' Makefile
-
-CFLAGS="-DXLS $SLKCFLAGS" \
-CXXFLAGS="-DXLS $SLKCFLAGS" \
-LDLIBS="-lxlsreader" \
make
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cd ..
-cp -a BUGS CHANGES HELP KNOWN_ISSUES LICENSE Readme.md USER_REQUESTS WIKI \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+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/office/gcalctool-gtk2/gcalctool-gtk2.info b/office/gcalctool-gtk2/gcalctool-gtk2.info
new file mode 100644
index 0000000000..3c3b7052cb
--- /dev/null
+++ b/office/gcalctool-gtk2/gcalctool-gtk2.info
@@ -0,0 +1,10 @@
+PRGNAM="gcalctool-gtk2"
+VERSION="5.32.2"
+HOMEPAGE="http://live.gnome.org/gcalctool"
+DOWNLOAD="https://download.gnome.org/sources/gcalctool/5.32/gcalctool-5.32.2.tar.bz2"
+MD5SUM="3f56976752dc990b4fb9e5d60e9a04eb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/office/gcalctool-gtk2/slack-desc b/office/gcalctool-gtk2/slack-desc
new file mode 100644
index 0000000000..1c2e788a9d
--- /dev/null
+++ b/office/gcalctool-gtk2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gcalctool-gtk2: gcalctool-gtk2 (a graphical UNIX calculator)
+gcalctool-gtk2:
+gcalctool-gtk2: gcalctool is an application that solves mathematical equations and
+gcalctool-gtk2: is suitable as a default application in a Desktop environment.
+gcalctool-gtk2:
+gcalctool-gtk2:
+gcalctool-gtk2:
+gcalctool-gtk2:
+gcalctool-gtk2:
+gcalctool-gtk2:
+gcalctool-gtk2:
diff --git a/office/ghostwriter/README b/office/ghostwriter/README
new file mode 100644
index 0000000000..6157185a1f
--- /dev/null
+++ b/office/ghostwriter/README
@@ -0,0 +1,7 @@
+ghostwriter: No excuses. No distractions. Just write.
+
+Distraction-Free Writing
+
+Enjoy a distraction-free writing experience, including a full screen
+mode and a clean interface. With Markdown, you can write now, and
+format later.
diff --git a/office/ghostwriter/doinst.sh b/office/ghostwriter/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/office/ghostwriter/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/ghostwriter/ghostwriter.SlackBuild b/office/ghostwriter/ghostwriter.SlackBuild
new file mode 100644
index 0000000000..4a94191878
--- /dev/null
+++ b/office/ghostwriter/ghostwriter.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for ghostwriter
+
+# Copyright 2022 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2021 Andrzej Telszewski, Szczecin
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ghostwriter
+VERSION=${VERSION:-2.1.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+qmake-qt5 \
+ PREFIX=/usr
+
+make
+make install INSTALL_ROOT=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr/
+find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man/man1 -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $TMP/$PRGNAM-$VERSION/{CHANGELOG.md,CONTRIBUTING.md,COPYING,CREDITS.md,README.md} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/ghostwriter/ghostwriter.info b/office/ghostwriter/ghostwriter.info
new file mode 100644
index 0000000000..fd4c1fad2e
--- /dev/null
+++ b/office/ghostwriter/ghostwriter.info
@@ -0,0 +1,10 @@
+PRGNAM="ghostwriter"
+VERSION="2.1.6"
+HOMEPAGE="https://invent.kde.org/office/ghostwriter"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://invent.kde.org/office/ghostwriter/-/archive/2.1.6/ghostwriter-2.1.6.tar.gz"
+MD5SUM_x86_64="7a46b3b1043d33e835c2e1c38d51191c"
+REQUIRES=""
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"
diff --git a/office/color-theme/slack-desc b/office/ghostwriter/slack-desc
index c0d6f8efd6..1532eef904 100644
--- a/office/color-theme/slack-desc
+++ b/office/ghostwriter/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-color-theme: color-theme (an emacs-lisp mode for skinning your emacs)
-color-theme:
-color-theme: Features are:
-color-theme:
-color-theme: * Huge and extensible theme library
-color-theme: * Easy to use
-color-theme: * Works on pretty all emacs flavours
-color-theme: * Mature source code
-color-theme:
-color-theme:
-color-theme:
+ghostwriter: ghostwriter (distraction-free Markdown editor)
+ghostwriter:
+ghostwriter: ghostwriter: No excuses. No distractions. Just write.
+ghostwriter:
+ghostwriter:
+ghostwriter:
+ghostwriter:
+ghostwriter:
+ghostwriter:
+ghostwriter: Homepage: https://ghostwriter.kde.org/
+ghostwriter:
diff --git a/office/glow/README b/office/glow/README
new file mode 100644
index 0000000000..0e62e09007
--- /dev/null
+++ b/office/glow/README
@@ -0,0 +1,3 @@
+Glow is a terminal based markdown reader designed from
+ground up to bring out the beauty and power of CLI.Glow
+will markdown files from subdirectories or local git repo.
diff --git a/office/glow/changelog b/office/glow/changelog
new file mode 100644
index 0000000000..f23f855be5
--- /dev/null
+++ b/office/glow/changelog
@@ -0,0 +1,6 @@
+Changelog for glow SlackBuild Script
+--------------------------------------------------------------------
+
+26/05/2023:
+
+Submitted to slackbuilds.org
diff --git a/office/glow/glow.SlackBuild b/office/glow/glow.SlackBuild
new file mode 100644
index 0000000000..74a53a8525
--- /dev/null
+++ b/office/glow/glow.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for glow
+
+# Copyright 2023 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=glow
+VERSION=${VERSION:-1.5.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+sys_arch=${sys_arch:-$(uname -m)}
+SRCNAM=${SRCNAM:-glow_Linux_}
+
+case "$sys_arch" in
+ i?86)
+ ARCH=i586
+ SRCARCH=i386
+ ;;
+ x86_64)
+ ARCH=x86_64
+ SRCARCH=x86_64
+ ;;
+ *) echo "This slackbuild will only run x86and x86_64 only exiting" && exit 1 ;;
+esac
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SRCARCH="i386"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SRCARCH="i386"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SRCARCH="x86_64"
+ LIBDIRSUFFIX="64"
+else
+ echo "This slackbuild only builds on x86 and x86_64 only" && exit 1
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR
+
+
+echo "the system arch is $ARCH and the souce file arch is $SRCARCH"
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -pv $TMP/$PRGNAM-$VERSION
+tar xvf "$CWD/$SRCNAM$SRCARCH.tar.gz" -C $TMP/$PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -pv $PKG/usr/bin
+mkdir -pv $PKG/usr/share/bash-completion/completions/
+mkdir -pv $PKG/usr/share/fish/vendor_completions.d/
+mkdir -pv $PKG/usr/share/zsh/site-functions/
+
+install -vm0755 glow -t $PKG/usr/bin
+install -Dvm0644 completions/glow.bash -t $PKG/usr/share/bash-completion/completions/glow
+install -Dvm0644 completions/glow.fish -t $PKG/usr/share/fish/vendor_completions.d/glow.fish
+install -Dvm0644 completions/glow.zsh -t $PKG/usr/share/zsh/site-functions/_glow
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/glow/glow.info b/office/glow/glow.info
new file mode 100644
index 0000000000..6463735cfb
--- /dev/null
+++ b/office/glow/glow.info
@@ -0,0 +1,10 @@
+PRGNAM="glow"
+VERSION="1.5.1"
+HOMEPAGE="https://github.com/charmbracelet/glow"
+DOWNLOAD="https://github.com/charmbracelet/glow/releases/download/v1.5.1/glow_Linux_i386.tar.gz"
+MD5SUM="f19014a5c14eca4dd06ec77eb0dd6e39"
+DOWNLOAD_x86_64="https://github.com/charmbracelet/glow/releases/download/v1.5.1/glow_Linux_x86_64.tar.gz"
+MD5SUM_x86_64="59efedeb72857c093d22aaded1a45f5f"
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/office/glow/slack-desc b/office/glow/slack-desc
new file mode 100644
index 0000000000..fde062b1bd
--- /dev/null
+++ b/office/glow/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+glow: glow (CLI Markdown Reader)
+glow:
+glow: Glow is a terminal based markdown reader designed from
+glow: ground up to bring out the beauty and power of CLI.Glow
+glow: will markdown files from subdirectories or local git repo.
+glow:
+glow:
+glow: homepage:https://github.com/charmbracelet/glow
+glow:
+glow:
+glow:
diff --git a/office/gmdb2/README b/office/gmdb2/README
new file mode 100644
index 0000000000..09e4cc4cc1
--- /dev/null
+++ b/office/gmdb2/README
@@ -0,0 +1,8 @@
+
+gmdb2 is the official GUI for mdbtools.
+It lets you open, inspect, and export Microsoft Access databases
+(.mdb and .accdb files) on Mac and Unix machines.
+This is considered beta-quality software.
+Originally written by Brian Bruns in the early 2000s, the software
+was recently ported to GTK+3 and has been tested on Mac, Linux, and
+FreeBSD.
diff --git a/office/gmdb2/doinst.sh b/office/gmdb2/doinst.sh
new file mode 100644
index 0000000000..4e32ba1722
--- /dev/null
+++ b/office/gmdb2/doinst.sh
@@ -0,0 +1,10 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/office/wyrd/wyrd.SlackBuild b/office/gmdb2/gmdb2.SlackBuild
index 2830a632f8..69300934e3 100644
--- a/office/wyrd/wyrd.SlackBuild
+++ b/office/gmdb2/gmdb2.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for Wyrd
+# Slackware build script for gmdb2
-# Copyright 2016 T3slider <t3slider@gmail.com>
+# Copyright 2022 Juan M. Lasca <juanmlasca@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.
-PRGNAM=wyrd
-VERSION=${VERSION:-1.4.6}
-BUILD=${BUILD:-2}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gmdb2
+VERSION=${VERSION:-0.9.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,6 +76,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -i -f
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -78,23 +87,18 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-# Don't clobber the config file
-mv $PKG/etc/wyrdrc $PKG/etc/wyrdrc.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog README \
+ AUTHORS COPYING README.md CHANGELOG.md TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -102,5 +106,9 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+# Add desktop entry
+mkdir -p $PKG/usr/share/applications
+cp -a src/gmdb.desktop $PKG/usr/share/applications/gmdb2.desktop
+
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/gmdb2/gmdb2.info b/office/gmdb2/gmdb2.info
new file mode 100644
index 0000000000..6ad8b60f86
--- /dev/null
+++ b/office/gmdb2/gmdb2.info
@@ -0,0 +1,10 @@
+PRGNAM="gmdb2"
+VERSION="0.9.1"
+HOMEPAGE="https://github.com/mdbtools/gmdb2"
+DOWNLOAD="https://github.com/mdbtools/gmdb2/releases/download/v0.9.1/gmdb2-0.9.1.tar.gz"
+MD5SUM="7fd322ded728c476ccc2a69998ba339c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="mdbtools yelp"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/office/gmdb2/slack-desc b/office/gmdb2/slack-desc
new file mode 100644
index 0000000000..d4c204668c
--- /dev/null
+++ b/office/gmdb2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gmdb2: gmdb2 (official GUI for mdbtools)
+gmdb2:
+gmdb2: gmdb2 lets you open, inspect, and export Microsoft Access databases
+gmdb2: (.mdb and .accdb files) on Mac and Unix machines.
+gmdb2: This is considered beta-quality software.
+gmdb2: Originally written by Brian Bruns in the early 2000s, the software
+gmdb2: was recently ported to GTK+3 and has been tested on Mac, Linux, and
+gmdb2: FreeBSD.
+gmdb2:
+gmdb2: https://github.com/mdbtools/gmdb2
+gmdb2:
diff --git a/office/gnokii/gnokii-0.6.31-gcc7.patch b/office/gnokii/gnokii-0.6.31-gcc7.patch
new file mode 100644
index 0000000000..6637a6af62
--- /dev/null
+++ b/office/gnokii/gnokii-0.6.31-gcc7.patch
@@ -0,0 +1,17 @@
+Patch by Robert Scheck <robert@fedoraproject.org> for gnokii <= 0.6.31 to avoid
+build failures with GCC 7.x as "../common/.libs/libgnokii.so: undefined reference
+to `local_atoi'". The "inline" is only a hint that the compiler doesn't complain
+about double defined symbols, but does not guarantee that a function is inlined
+or that a symbol is generated when needed.
+
+--- gnokii-0.6.31/common/gsm-filetypes.c 2011-12-02 15:53:04.000000000 +0100
++++ gnokii-0.6.31/common/gsm-filetypes.c.gcc7 2017-02-12 00:55:39.000000000 +0100
+@@ -1409,7 +1409,7 @@
+ #define GET_NEXT_TOKEN() o = get_next_token(line + offset, ';')
+ #define STORE_TOKEN(a) strip_slashes(a, line + offset, sizeof(a) - 1, o - 1)
+
+-inline int local_atoi(char *str, int len)
++static int local_atoi(char *str, int len)
+ {
+ int retval;
+ char *aux = strndup(str, len);
diff --git a/office/gnokii/gnokii.SlackBuild b/office/gnokii/gnokii.SlackBuild
index eb3b4f1519..c151ef4fc4 100644
--- a/office/gnokii/gnokii.SlackBuild
+++ b/office/gnokii/gnokii.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnokii
@@ -26,26 +26,36 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnokii
VERSION=${VERSION:-0.6.31}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -73,6 +83,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Thnx to fedora for this patch
+patch -p1 < $CWD/gnokii-0.6.31-gcc7.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -119,9 +132,11 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/gnucash-docs/README b/office/gnucash-docs/README
index 442bde372c..87d6c20c04 100644
--- a/office/gnucash-docs/README
+++ b/office/gnucash-docs/README
@@ -2,15 +2,20 @@ This is the documentation package for Gnucash.
This builds the internal help and user guides for Gnucash.
-For the HTML help and user guides to read outside the Gnucash
+For the HTML help and user guides to read outside of the Gnucash
application, pass HTML="yes" to the script.
-For the EPUB help and user guides, pass EPUB="yes" to the script.
+For the epub help and user guides, pass EPUB="yes" to the script.
+
+For the mobi (Amazon Kindle) help and user guides, make sure
+ calibre-bin is installed, and pass MOBI="yes" to the script.
+ (Note: mobi is generated from epub, so this generates epub files
+ as well.)
For the PDF help and user guides, make sure fop is installed and
configured, and pass PDF="yes" to the script.
-After installation, HTML, EPUB, and PDF documentation can be found
+After installation, HTML, EPUB, MOBI and PDF documentation can be found
in /usr/doc/gnucash-$VERSION.
For a specific language, pass DOCLANG="xx", where xx is:
@@ -19,12 +24,10 @@ de for German
it for Italian
pt for Portugese
ja for Japanese (guide only, no help - defaults to C)
-ru for Russian (guide only, no help - defaults to C)
+NOTE: the Russian translation has been dropped
-Note 1: This script builds the internal guides in all available
+Note: This script builds the internal guides in all available
languages, but the HTML guides are only in the spacified language
-to save space and avoid any excessive package bloat.
+to save space and avoid excessive package bloat.
-Note 2: This builds the docs for version 3.x of Gnucash. If you
-need the old stable 2.6 branch, use gnucash-legacy-docs, also
-available on SBo.
+Runtime dependencies are yelp and rarian.
diff --git a/office/gnucash-docs/gnucash-docs.SlackBuild b/office/gnucash-docs/gnucash-docs.SlackBuild
index 5404e15882..cab82e5ef0 100644
--- a/office/gnucash-docs/gnucash-docs.SlackBuild
+++ b/office/gnucash-docs/gnucash-docs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnucash-docs
-# Copyright 2018 Lenard Spencer <lspencer31@cfl.rr.com>
+# Copyright 2018, 2019, 2020, 2021, 2022 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnucash-docs
-DESTNAM=gnucash
-VERSION=${VERSION:-3.5}
+VERSION=${VERSION:-4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Docs only, no binaries
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}
-ARCH=noarch # does not install any binary files
-
-# Set DOCLANG to C if it is empty:
-if [ ! "$DOCLANG" ]; then
- DOCLANG=C
-fi
+DOCLANG=${DOCLANG:-"C"}
set -e
@@ -58,64 +62,52 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./configure \
- --prefix=/usr \
- --docdir=/usr/doc/$DESTNAM-$VERSION
-
-make
-make -j1 install DESTDIR=$PKG docdir=/usr/doc/$DESTNAM-$VERSION
-
-# Build and install the HTML docs for the specified language (default to C)
-
-if [ "$HTML" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd guide/${DOCLANG:-C} || cd guide/C
- echo "in `pwd`"
- sleep 2
- make html
- cp -vR gnucash-guide $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
- echo "in `pwd`"
- sleep 2
- make html
- cp -vR gnucash-help $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd ../..
+if [ "${MOBI:-no}" = "yes" ]; then
+ WITHMOBI="-DWITH_MOBI=ON"
+else
+ WITHMOBI=""
fi
-if [ -x /opt/fop/fop ]; then
- if [ "$PDF" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION
- cd guide/${DOCLANG:-C} || cd guide/C
- echo "in `pwd`"
- sleep 2
- make pdf
- cp -vR gnucash-guide.pdf $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
- echo "in `pwd`"
- sleep 2
- make pdf
- cp -vR gnucash-help.pdf $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../..
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ $WITHMOBI \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ if [ "${HTML:-no}" = "yes" ]; then
+ make $DOCLANG-gnucash-guide-html || make C-gnucash-guide-html
+ make $DOCLANG-gnucash-help-html || make C-gnucash-help-html
+ fi
+ if [ "$MOBI" = "yes" ]; then
+ make $DOCLANG-gnucash-guide-mobi || make C-gnucash-guide-mobi
+ make $DOCLANG-gnucash-help-mobi || make C-gnucash-help-mobi
+ elif [ "${EPUB:-no}" = "yes" ]; then
+ make $DOCLANG-gnucash-guide-epub || make C-gnucash-guide-epub
+ make $DOCLANG-gnucash-help-epub || make C-gnucash-help-epub
+ fi
+ if [ "${PDF:-no}" = "yes" ]; then
+ make $DOCLANG-gnucash-guide-pdf || make C-gnucash-guide-pdf
+ make $DOCLANG-gnucash-help-pdf || make C-gnucash-help-pdf
fi
-fi
-if [ "$EPUB" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION
- cd guide/${DOCLANG:-C} || cd guide/C
- echo "in `pwd`"
- sleep 2
- make epub
- cp -vR gnucash-guide.epub $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
- echo "in `pwd`"
- sleep 2
- make epub
- cp -vR gnucash-help.epub $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../..
-fi
+ make install DESTDIR=$PKG
+
+# Move the files to where they belong:
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+ cp -Rv share/doc/$DOCLANG/* $PKG/usr/doc/$PRGNAM-$VERSION
+ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# There is no help system for Japanese, so:
+ if [ "$DOCLANG" = "ja" ]; then
+ cp -Rv share/doc/C/gnucash-help* $PKG/usr/doc/$PRGNAM-$VERSION
+ fi
+ mv $PKG/usr/share/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+# get rid of unused folders:
+ rm -rf $PKG/usr/share/{$PRGNAM,doc}
+cd ..
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/gnucash-docs/gnucash-docs.info b/office/gnucash-docs/gnucash-docs.info
index 23ef3041ce..b4ca5038df 100644
--- a/office/gnucash-docs/gnucash-docs.info
+++ b/office/gnucash-docs/gnucash-docs.info
@@ -1,8 +1,8 @@
PRGNAM="gnucash-docs"
-VERSION="3.5"
-HOMEPAGE="http://www.gnucash.org"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-docs-3.5.tar.gz"
-MD5SUM="9d5a157befcc3a4c68f230fd89d9a884"
+VERSION="4.11"
+HOMEPAGE="https://www.gnucash.org"
+DOWNLOAD="https://downloads.sourceforge.net/gnucash/gnucash-docs-4.11.tar.gz"
+MD5SUM="4fd7d4e6cb5ef18fb3e54dc623dd76f6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gnucash rarian yelp"
diff --git a/office/gnucash-docs/slack-desc b/office/gnucash-docs/slack-desc
index 68b503bcae..62e06d0170 100644
--- a/office/gnucash-docs/slack-desc
+++ b/office/gnucash-docs/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
gnucash-docs: gnucash-docs (Gnucash help and user guides)
gnucash-docs:
-gnucash-docs: Documentation files for Gnucash 3.x
+gnucash-docs: Documentation files for Gnucash 4.x
gnucash-docs:
gnucash-docs: http://www.gnucash.org
gnucash-docs:
diff --git a/office/gnucash-legacy-docs/README b/office/gnucash-legacy-docs/README
deleted file mode 100644
index f871bd2dcc..0000000000
--- a/office/gnucash-legacy-docs/README
+++ /dev/null
@@ -1,23 +0,0 @@
-This is the documentation package for Gnucash-legacy (2.6.x).
-
-This builds the internal help and user guides for Gnucash.
-
-For the EPUB help and user guides, pass EPUB="yes" to the script.
-
-For the PDF help and user guides, make sure fop is installed and
- configured, and pass PDF="yes" to the script.
-
-For the HTML help and user guides to read outside the Gnucash
-application, pass HTML="yes" to the script.
-
-For a specific language, pass DOCLANG="xx", where xx is:
-C for English (default)
-de for German
-it for Italian
-pt for Portugese
-ja for Japanese (guide only, no help - defaults to C)
-ru for Russian (guide only, no help - defaults to C)
-
-Note: This script builds the internal guides in all available
-languages, but the HTML guides are only in the spacified language
-to save space and avoid any excessive package bloat.
diff --git a/office/gnucash-legacy-docs/gnucash-legacy-docs.SlackBuild b/office/gnucash-legacy-docs/gnucash-legacy-docs.SlackBuild
deleted file mode 100644
index 4be745e8eb..0000000000
--- a/office/gnucash-legacy-docs/gnucash-legacy-docs.SlackBuild
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gnucash-legacy-docs
-
-# Copyright 2018 Lenard Spencer <lspencer31@cfl.rr.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=gnucash-legacy-docs
-SRCNAM=gnucash-docs
-DESTNAM=gnucash
-VERSION=${VERSION:-2.6.20}
-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}
-
-ARCH=noarch # does not install any binary files
-
-# Set DOCLANG to C if it is empty:
-if [ ! "$DOCLANG" ]; then
- DOCLANG=C
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-./configure \
- --prefix=/usr \
- --docdir=/usr/doc/$DESTNAM-$VERSION
-
-make
-make -j1 install DESTDIR=$PKG docdir=/usr/doc/$DESTNAM-$VERSION
-
-# Build and install the HTML docs for the specified language (default to C)
-
-
-if [ "$HTML" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd guide/${DOCLANG:-C} || cd guide/C
- echo "in `pwd`"
- sleep 2
- make html
- cp -vR gnucash-guide $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
- echo "in `pwd`"
- sleep 2
- make html
- cp -vR gnucash-help $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd ../..
-fi
-
-if [ -x /opt/fop/fop ]; then
- if [ "$PDF" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION
- cd guide/${DOCLANG:-C} || cd guide/C
- echo "in `pwd`"
- sleep 2
- make pdf
- cp -vR gnucash-guide.pdf $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
- echo "in `pwd`"
- sleep 2
- make pdf
- cp -vR gnucash-help.pdf $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../..
- fi
-fi
-
-if [ "$EPUB" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION
- cd guide/${DOCLANG:-C} || cd guide/C
- echo "in `pwd`"
- sleep 2
- make epub
- cp -vR gnucash-guide.epub $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
- echo "in `pwd`"
- sleep 2
- make epub
- cp -vR gnucash-help.epub $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../..
-fi
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/office/gnucash-legacy-docs/gnucash-legacy-docs.info b/office/gnucash-legacy-docs/gnucash-legacy-docs.info
deleted file mode 100644
index d7d301f559..0000000000
--- a/office/gnucash-legacy-docs/gnucash-legacy-docs.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gnucash-legacy-docs"
-VERSION="2.6.20"
-HOMEPAGE="http://www.gnucash.org"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-docs-2.6.20.tar.gz"
-MD5SUM="b55a5a2d2486ec3e2c3b392bc397b822"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="gnucash rarian yelp"
-MAINTAINER="Lenard Spencer"
-EMAIL="lenardrspencer@gmail.com"
diff --git a/office/gnucash-legacy-docs/slack-desc b/office/gnucash-legacy-docs/slack-desc
deleted file mode 100644
index 112f971455..0000000000
--- a/office/gnucash-legacy-docs/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------------------------------------------------------|
-gnucash-legacy-docs: gnucash-legacy-docs (Gnucash help and user guides)
-gnucash-legacy-docs:
-gnucash-legacy-docs: Documentation files for Gnucash legacy (2.6.x)
-gnucash-legacy-docs:
-gnucash-legacy-docs: http://www.gnucash.org
-gnucash-legacy-docs:
-gnucash-legacy-docs:
-gnucash-legacy-docs:
-gnucash-legacy-docs:
-gnucash-legacy-docs:
-gnucash-legacy-docs:
diff --git a/office/gnucash-legacy/README b/office/gnucash-legacy/README
deleted file mode 100644
index 6070b0bd0f..0000000000
--- a/office/gnucash-legacy/README
+++ /dev/null
@@ -1,22 +0,0 @@
-GnuCash is personal and small-business financial-accounting software,
-freely licensed under the GNU GPL and available for GNU/Linux, BSD,
-Solaris, Mac OS X and Microsoft Windows.
-
-Designed to be easy to use, yet powerful and flexible, GnuCash
-allows you to track bank accounts, stocks, income and expenses.
-As quick and intuitive to use as a checkbook register, it is based
-on professional accounting principles to ensure balanced books and
-accurate reports.
-
-Pass OFX="yes" for OFX (USA) (requies libofx)
-Pass AQ="yes" to enable aqbanking (Germany) (requires aqbanking)
-Pass WITHPYTHON="yes" to enable Python bindings for report gereration.
-
-If you want the SQL database integration, you must first have libdbi
-and libdbi-drivers installed, and then pass the DBI="yes" flag.
-
-NOTE: You must remove any previous installation of Gnucash before
-running this script, otherwise the build will fail.
-
-This script builds version 2.6.21, which upstream is calling the
-"last last" release of the 2.6 series.
diff --git a/office/gnucash-legacy/gnucash-legacy.info b/office/gnucash-legacy/gnucash-legacy.info
deleted file mode 100644
index 7c4ad9d1f9..0000000000
--- a/office/gnucash-legacy/gnucash-legacy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gnucash-legacy"
-VERSION="2.6.21"
-HOMEPAGE="http://www.gnucash.org/"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-2.6.21.tar.bz2"
-MD5SUM="63226e9b49e11dc0d7106bd15c09996b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libgnomecanvas goffice0.8 webkitgtk"
-MAINTAINER="Lenard Spencer"
-EMAIL="lenardrspencer@gmail.com"
diff --git a/office/gnucash-legacy/slack-desc b/office/gnucash-legacy/slack-desc
deleted file mode 100644
index 00bdb5d0c9..0000000000
--- a/office/gnucash-legacy/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-gnucash-legacy: gnucash-legacy (financial accounting application)
-gnucash-legacy:
-gnucash-legacy: GnuCash is personal and small-business financial-accounting software.
-gnucash-legacy:
-gnucash-legacy: Designed to be easy to use, yet powerful and flexible, GnuCash allows
-gnucash-legacy: you to track bank accounts, stocks, income and expenses. As quick and
-gnucash-legacy: intuitive to use as a checkbook register, it is based on professional
-gnucash-legacy: accounting principles to ensure balanced books and accurate reports.
-gnucash-legacy:
-gnucash-legacy: Homepage: http://gnucash.org/
-gnucash-legacy:
diff --git a/office/gnucash/README b/office/gnucash/README
index 20215f5293..50543f2800 100644
--- a/office/gnucash/README
+++ b/office/gnucash/README
@@ -8,20 +8,11 @@ As quick and intuitive to use as a checkbook register, it is based
on professional accounting principles to ensure balanced books and
accurate reports.
-The dependencies webkitgtk, goffice0.8 and libgnomecanvas have been
-dropped, with webkit2gtk, python3, and gtest being the new dependencies.
-
Pass OFX="yes" for OFX (USA) (requies libofx)
+
Pass AQ="yes" to enable aqbanking (Germany) (requires aqbanking)
+
Pass WITHPYTHON="yes" to enable Python bindings for report gereration.
If you want the SQL database integration, you must first have libdbi
-and libdbi-drivers installed (with postgresql support), and then pass
-the DBI="yes" flag.
-
-NOTE: You must remove any previous installation of Gnucash before
-running this script, otherwise the build will fail.
-
-This script builds version 3.x which is now considered stable by the
-upstream developers. If you need the old stable 2.6.x series, please
-use gnucash-legacy, also available on SBo.
+and libdbi-drivers installed and pass DBI="yes" to the build script.
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index b06137ba13..f1f89a24ad 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnucash
# Copyright 2015 Trayan Denev, tdenev@gmail.com
-# This version Copyright 2018 Lenard Spencer <lspencer31@cfl.rr.com>
+# This version Copyright 2018-2022 Lenard Spencer <lenardrspencer@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +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=gnucash
-VERSION=${VERSION:-3.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.11}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+PACKAGER=${PACKAGER:-"Just Another Slacker"}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -36,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,23 +72,16 @@ else
LIBDIRSUFFIX=""
fi
-# First, make sure a previous Gnucash installation is removed:
-if [ -e /usr/bin/gnucash ]; then
- echo "A previous Gnucash installation has been found."
- echo "Please remove it before running this script."
- exit 1
-fi
-
if [ "$DBI" = "yes" ]; then
- DBIARGS="-DWITH_SQL=ON -DGNC_DBD_DIR=/usr/lib${LIBDIRSUFFIX}/dbd/ "
- echo " building with dbi enabled"
+ DBIARGS="-DWITH_SQL=ON -DGNC_DBD_DIR=/usr/lib${LIBDIRSUFFIX}/dbd/"
+ echo " building with SQL integration enabled"
sleep 1
else
DBIARGS="-DWITH_SQL=OFF "
fi
if [ "$OFX" = "yes" ]; then
- OFXBANKING="DWITH_OFX=ON"
+ OFXBANKING="-DWITH_OFX=ON"
echo " building with OFX enabled"
sleep 1
else
@@ -102,12 +106,11 @@ fi
set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-${VERSION}.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -116,7 +119,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
- mkdir -p build
+mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
@@ -124,19 +127,18 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DSYSCONFDIR=/etc \
- -DLOCALSTATEDIR=/var \
- -DDOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DINFODIR=/usr/info \
-DCOMPILE_GSCHEMAS=OFF \
- -DMANDIR=/usr/man \
$DBIARGS \
$W_PYTHON \
$OFXBANKING \
$AQBANKING \
+ -GNinja \
+ -DGNUCASH_BUILD_ID="$VERSION `date -I` by $PACKAGER" \
-DCMAKE_BUILD_TYPE=release ..
-make
-make -j1 install DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION
+ "${NINJA:=ninja}"
+ DESTDIR="$PKG" $NINJA install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -145,17 +147,19 @@ mv $PKG/usr/share/man/ $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Don't clobber these
+# Don't clobber this
mv $PKG/etc/gnucash/environment $PKG/etc/gnucash/environment.new
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog DOCUMENTERS HACKING LICENSE NEWS README* TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION || true
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
+# Remove all those old ChangeLogs:
+rm $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog.{1,2}*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rmdir $PKG/usr/share/doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -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/office/gnucash/gnucash.info b/office/gnucash/gnucash.info
index 27effc2852..0f8546165a 100644
--- a/office/gnucash/gnucash.info
+++ b/office/gnucash/gnucash.info
@@ -1,10 +1,10 @@
PRGNAM="gnucash"
-VERSION="3.5"
-HOMEPAGE="http://www.gnucash.org/"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-3.5.tar.bz2"
-MD5SUM="6ccb9654f2e8fd822785c5ef24ba8672"
+VERSION="4.11"
+HOMEPAGE="https://www.gnucash.org/"
+DOWNLOAD="https://downloads.sourceforge.net/gnucash/gnucash-4.11.tar.bz2"
+MD5SUM="e6ea5e80ea27f09115439fab881a0ad5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="webkit2gtk python3 gtest"
+REQUIRES="webkit2gtk gtest"
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"
diff --git a/office/gnumeric-gtk2/README b/office/gnumeric-gtk2/README
new file mode 100644
index 0000000000..a11f1ebe31
--- /dev/null
+++ b/office/gnumeric-gtk2/README
@@ -0,0 +1,9 @@
+This is the last GTK2 version of Gnumeric. It will conflict with the
+latest one, so don't install both.
+
+The Gnumeric spreadsheet is part of the GNOME desktop environment:
+a project to create a free, user friendly desktop environment.
+The goal of Gnumeric is to be the best possible spreadsheet. We are
+not attempting to clone existing applications. However, Gnumeric can
+read files saved with other spreadsheets and we offer a customizable
+feel that attempts to minimize the costs of transition.
diff --git a/office/gnumeric-gtk2/doinst.sh b/office/gnumeric-gtk2/doinst.sh
new file mode 100644
index 0000000000..efc109a8c2
--- /dev/null
+++ b/office/gnumeric-gtk2/doinst.sh
@@ -0,0 +1,27 @@
+schema_install() {
+ SCHEMA="$1"
+ GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
+ chroot . gconftool-2 --makefile-install-rule \
+ /etc/gconf/schemas/$SCHEMA \
+ 1>/dev/null 2>/dev/null
+}
+
+schema_install gnumeric-dialogs.schemas
+schema_install gnumeric-general.schemas
+schema_install gnumeric-plugins.schemas
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/office/gnumeric-gtk2/gnumeric-gtk2.SlackBuild b/office/gnumeric-gtk2/gnumeric-gtk2.SlackBuild
new file mode 100644
index 0000000000..c5bfc2d28b
--- /dev/null
+++ b/office/gnumeric-gtk2/gnumeric-gtk2.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for gnumeric-gtk2
+
+# Modified 2023 Petar Petrov slackalaxy@gmail.com
+# Copyright 2010,2011 Robby Workman, Northport, 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=gnumeric-gtk2
+SRCNAM=gnumeric
+VERSION=${VERSION:-1.10.17}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Thanks to mancha for this gem :-)
+# The docs will still be missing, but at least we can build the app itself
+touch doc/C/gnumeric-C.omf.out
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-schemas-install \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+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 BEVERAGES BUGS COPYING HACKING MAINTAINERS NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/gnumeric-gtk2/gnumeric-gtk2.info b/office/gnumeric-gtk2/gnumeric-gtk2.info
new file mode 100644
index 0000000000..ee97ea4860
--- /dev/null
+++ b/office/gnumeric-gtk2/gnumeric-gtk2.info
@@ -0,0 +1,10 @@
+PRGNAM="gnumeric-gtk2"
+VERSION="1.10.17"
+HOMEPAGE="http://www.gnumeric.org/"
+DOWNLOAD="https://download.gnome.org/sources/gnumeric/1.10/gnumeric-1.10.17.tar.bz2"
+MD5SUM="aacc0899222c98fa9cdd85c49a6840be"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="goffice0.8"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/office/gnumeric-gtk2/slack-desc b/office/gnumeric-gtk2/slack-desc
new file mode 100644
index 0000000000..68efbc266c
--- /dev/null
+++ b/office/gnumeric-gtk2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gnumeric-gtk2: gnumeric-gtk2 (GNOME spreadsheet app)
+gnumeric-gtk2:
+gnumeric-gtk2: The Gnumeric spreadsheet is part of the GNOME desktop environment:
+gnumeric-gtk2: a project to create a free, user friendly desktop environment.
+gnumeric-gtk2: The goal of Gnumeric is to be the best possible spreadsheet. We are
+gnumeric-gtk2: not attempting to clone existing applications. However, Gnumeric can
+gnumeric-gtk2: read files saved with other spreadsheets and we offer a customizable
+gnumeric-gtk2: feel that attempts to minimize the costs of transition.
+gnumeric-gtk2:
+gnumeric-gtk2: Homepage: http://projects.gnome.org/gnumeric/
+gnumeric-gtk2:
diff --git a/office/gnumeric/README b/office/gnumeric/README
index e7c912a086..d3b4fcc872 100644
--- a/office/gnumeric/README
+++ b/office/gnumeric/README
@@ -1,6 +1,6 @@
The Gnumeric spreadsheet is part of the GNOME desktop environment:
a project to create a free, user friendly desktop environment.
-The goal of Gnumeric is to be the best possible spreadsheet. We are
-not attempting to clone existing applications. However, Gnumeric can
-read files saved with other spreadsheets and we offer a customizable
-feel that attempts to minimize the costs of transition.
+The goal of Gnumeric is to be the best possible spreadsheet, rather
+than attempting to clone existing applications. However, Gnumeric
+can read files saved with other spreadsheets and offers a
+customizable feel that attempts to minimize the costs of transition.
diff --git a/office/gnumeric/doinst.sh b/office/gnumeric/doinst.sh
index 7bbbf3a3e4..e924bab47c 100644
--- a/office/gnumeric/doinst.sh
+++ b/office/gnumeric/doinst.sh
@@ -1,15 +1,3 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null 2>/dev/null
-}
-
-schema_install gnumeric-dialogs.schemas
-schema_install gnumeric-general.schemas
-schema_install gnumeric-plugins.schemas
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -20,3 +8,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+
diff --git a/office/gnumeric/gnumeric.SlackBuild b/office/gnumeric/gnumeric.SlackBuild
index 0a5d0ee899..8bcfa5691c 100644
--- a/office/gnumeric/gnumeric.SlackBuild
+++ b/office/gnumeric/gnumeric.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnumeric
-# Copyright 2010-2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2010-2021 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2023 Jim Diamond, Dartmouth, Nova Scotia, Canada
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230506: JD removed call to autoreconf, which caused configure to fail
+# when compiling 1.12.55.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnumeric
-VERSION=${VERSION:-1.12.34}
+VERSION=${VERSION:-1.12.56}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,10 +80,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Thanks to mancha for this gem :-)
-# The docs will still be missing, but at least we can build the app itself
-touch doc/C/gnumeric-C.omf.out
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -92,13 +102,15 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BEVERAGES BUGS COPYING HACKING INSTALL MAINTAINERS NEWS README \
+ AUTHORS BEVERAGES BUGS COPYING HACKING MAINTAINERS NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/office/gnumeric/gnumeric.info b/office/gnumeric/gnumeric.info
index e753375b6f..b8de66e8f2 100644
--- a/office/gnumeric/gnumeric.info
+++ b/office/gnumeric/gnumeric.info
@@ -1,10 +1,10 @@
PRGNAM="gnumeric"
-VERSION="1.12.34"
-HOMEPAGE="http://projects.gnome.org/gnumeric/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.12/gnumeric-1.12.34.tar.xz"
-MD5SUM="c7ef71e3f05de387814a532309f9ecd9"
+VERSION="1.12.56"
+HOMEPAGE="https://projects.gnome.org/gnumeric/"
+DOWNLOAD="https://download.gnome.org/sources/gnumeric/1.12/gnumeric-1.12.56.tar.xz"
+MD5SUM="8d5b6928173797043e0a0aceeb2ceb78"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="goffice"
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
+MAINTAINER="Jim Diamond"
+EMAIL="zsd@jdvb.ca"
diff --git a/office/gnumeric/slack-desc b/office/gnumeric/slack-desc
index 0ed2c754fe..00415563b8 100644
--- a/office/gnumeric/slack-desc
+++ b/office/gnumeric/slack-desc
@@ -10,10 +10,10 @@ gnumeric: gnumeric (GNOME spreadsheet app)
gnumeric:
gnumeric: The Gnumeric spreadsheet is part of the GNOME desktop environment:
gnumeric: a project to create a free, user friendly desktop environment.
-gnumeric: The goal of Gnumeric is to be the best possible spreadsheet. We are
-gnumeric: not attempting to clone existing applications. However, Gnumeric can
-gnumeric: read files saved with other spreadsheets and we offer a customizable
-gnumeric: feel that attempts to minimize the costs of transition.
+gnumeric: The goal of Gnumeric is to be the best possible spreadsheet, rather
+gnumeric: than attempting to clone existing applications. However, Gnumeric
+gnumeric: can read files saved with other spreadsheets and offers a
+gnumeric: customizable feel that attempts to minimize the costs of transition.
gnumeric:
gnumeric: Homepage: http://projects.gnome.org/gnumeric/
gnumeric:
diff --git a/office/gocr/gocr.SlackBuild b/office/gocr/gocr.SlackBuild
index 1d4233281a..7cbed30247 100644
--- a/office/gocr/gocr.SlackBuild
+++ b/office/gocr/gocr.SlackBuild
@@ -1,10 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware Package Build Script for GOCR
-# Home Page http://jocr.sourceforge.net/index.html
+# Slackware build script for gocr
# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA
-# <nishant _AT_ mnspace _DOT_ net>
+# Copyright 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,26 +24,33 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="gocr"
-VERSION=${VERSION:-0.50}
+VERSION=${VERSION:-0.52}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,10 +73,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,19 +92,21 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+chmod 644 $PKG/usr/man/man1/$PRGNAM.1
+find $PKG/usr/man -type f -exec gzip -9 {} +
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BUGS CREDITS INSTALL README* HISTORY TODO \
+ AUTHORS BUGS CREDITS README* HISTORY TODO \
doc/*.txt doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/gocr/gocr.info b/office/gocr/gocr.info
index 81638a2a8c..38aaffe45c 100644
--- a/office/gocr/gocr.info
+++ b/office/gocr/gocr.info
@@ -1,10 +1,10 @@
PRGNAM="gocr"
-VERSION="0.50"
-HOMEPAGE="http://jocr.sourceforge.net/index.html"
-DOWNLOAD="http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.50.tar.gz"
-MD5SUM="553ea40c2b3a1a0b03a30675d0e0aba1"
+VERSION="0.52"
+HOMEPAGE="https://www-e.ovgu.de/jschulen/ocr/"
+DOWNLOAD="http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.52.tar.gz"
+MD5SUM="e76c9a42574fb3152cad69a4bdbed397"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Nishant Limbachia"
-EMAIL="nishant@mnspace.net"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/gocr/slack-desc b/office/gocr/slack-desc
index 1759c95f97..c98ba7e0c9 100644
--- a/office/gocr/slack-desc
+++ b/office/gocr/slack-desc
@@ -13,7 +13,7 @@ gocr: GNU GPL. It reads images in many formats and outputs a text file
gocr: and is capable of doing several other tasks. Please refer README
gocr: in documentation for more info.
gocr:
-gocr: Home Page http://jocr.sourceforge.net/index.html
+gocr: https://www-e.ovgu.de/jschulen/ocr/
gocr:
gocr:
gocr:
diff --git a/office/goldendict/goldendict.SlackBuild b/office/goldendict/goldendict.SlackBuild
index 2d1e6b478f..088823db1b 100644
--- a/office/goldendict/goldendict.SlackBuild
+++ b/office/goldendict/goldendict.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GoldenDict
@@ -26,11 +26,14 @@
# Contacts: Damien Goutte-Gattat <dgouttegattat@incenp.org> (original author)
# Andrey Butirsky <butirsky@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=goldendict
-VERSION=${VERSION:-1.5.0_RC2}
+VERSION=${VERSION:-1.5.0}
SRCVER=$(echo $VERSION | tr _ -)
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}
@@ -53,18 +63,30 @@ cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
-chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Fixing QMake in goldendict.pro file (source: aur.archlinux.org)
+echo "QMAKE_CFLAGS_RELEASE = ${SLKCFLAGS}" >> goldendict.pro
+echo "QMAKE_CXXFLAGS_RELEASE = ${SLKCFLAGS}" >> goldendict.pro
+sed -i '/VERSION/ s/+git//' goldendict.pro
-$(type -p qmake-qt5 || echo qmake) PREFIX=/usr \
+qmake-qt5 PREFIX=/usr \
CONFIG+=no_epwing_support \
CONFIG+=zim_support \
- DISABLE_INTERNAL_PLAYER=$DISABLE_INTERNAL_PLAYER
+ QMAKE_CXXFLAGS+=-std=c++14 \
+ DISABLE_INTERNAL_PLAYER=$DISABLE_INTERNAL_PLAYER \
+ goldendict.pro
make install INSTALL_ROOT=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CREDITS.txt LICENSE.txt README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
+chmod -x $PKG/usr/share/applications/*.desktop
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -72,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/office/goldendict/goldendict.info b/office/goldendict/goldendict.info
index e0067bb73e..9a8e94b86a 100644
--- a/office/goldendict/goldendict.info
+++ b/office/goldendict/goldendict.info
@@ -1,10 +1,10 @@
PRGNAM="goldendict"
-VERSION="1.5.0_RC2"
+VERSION="1.5.0"
HOMEPAGE="http://goldendict.org/"
-DOWNLOAD="https://github.com/goldendict/goldendict/archive/1.5.0-RC2/goldendict-1.5.0-RC2.tar.gz"
-MD5SUM="7ec8ac80365c8d09c936eea16f8e1d04"
+DOWNLOAD="https://github.com/goldendict/goldendict/archive/1.5.0/goldendict-1.5.0.tar.gz"
+MD5SUM="a83d67a91615298e6779097706275fe9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg"
+REQUIRES=""
MAINTAINER="Andrey Butirsky"
EMAIL="butirsky@gmail.com"
diff --git a/office/grisbi/README b/office/grisbi/README
index f8835546ed..69dafd95ca 100644
--- a/office/grisbi/README
+++ b/office/grisbi/README
@@ -3,4 +3,4 @@ Windows, released under the GPL licence. Its aim is to provide you with
the most simple and intuitive software for basic use, and still very
powerful if you spend a little time on the setup.
-Optional dependencies: cunit, libofx and goffice0.8
+Optional dependencies: cunit, libofx and goffice
diff --git a/office/grisbi/doinst.sh b/office/grisbi/doinst.sh
index aea0f894eb..f25bed6fb6 100644
--- a/office/grisbi/doinst.sh
+++ b/office/grisbi/doinst.sh
@@ -11,3 +11,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/office/grisbi/grisbi.SlackBuild b/office/grisbi/grisbi.SlackBuild
index 690264a2eb..e6ac58f0c9 100644
--- a/office/grisbi/grisbi.SlackBuild
+++ b/office/grisbi/grisbi.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for grisbi
-# Copyright 2010-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2010-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=grisbi
-VERSION=${VERSION:-1.0.4}
+VERSION=${VERSION:-3.1.0}
+SRCVER=${VERSION//./_}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -40,6 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -49,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -60,15 +72,23 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-upstream_version_$SRCVER.tar.gz
+cd $PRGNAM-upstream_version_$SRCVER
chown -R root:root .
-find -L . \
+find . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# Test for cunit
+if pkg-config --exists cunit; then
+ CUNIT_ENABLED="yes"
+else
+ CUNIT_ENABLED="no"
+fi
+sh ./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,6 +99,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--disable-dependency-tracking \
--disable-silent-rules \
+ --with-cunit=$CUNIT_ENABLED \
--build=$ARCH-slackware-linux
make
@@ -90,7 +111,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
cp -a \
- AUTHORS COPYING INSTALL NEWS README \
+ AUTHORS COPYING NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -99,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/office/grisbi/grisbi.info b/office/grisbi/grisbi.info
index 65b4327803..2634a761bd 100644
--- a/office/grisbi/grisbi.info
+++ b/office/grisbi/grisbi.info
@@ -1,10 +1,10 @@
PRGNAM="grisbi"
-VERSION="1.0.4"
+VERSION="3.1.0"
HOMEPAGE="http://www.grisbi.org/"
-DOWNLOAD="https://downloads.sourceforge.net/grisbi/grisbi-1.0.4.tar.bz2"
-MD5SUM="23215e7be14cc2ff64ea36f406fc1599"
+DOWNLOAD="https://github.com/grisbi/grisbi/archive/upstream_version_3_1_0/grisbi-upstream_version_3_1_0.tar.gz"
+MD5SUM="e309e3eed8fdebf79ad3144244e742ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/office/gummi/README b/office/gummi/README
index af1a781586..efbe800fba 100644
--- a/office/gummi/README
+++ b/office/gummi/README
@@ -2,6 +2,3 @@ Gummi is a lightweight Latex editor written in Python/GTK
released as open source under a dual MIT/Beerware license.
Latex is a powerful mark-up language that is widely used for
academic and professional documents.
-
-Gummi can also optionally use texlive instead of tetex
-(which comes with Slackare).
diff --git a/office/gummi/gummi.SlackBuild b/office/gummi/gummi.SlackBuild
index a188058f69..9972bb5fba 100644
--- a/office/gummi/gummi.SlackBuild
+++ b/office/gummi/gummi.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gummi
-# Copyright 2011-2016 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011-2016 Larry Hajali
+# Copyright 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +23,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gummi
-VERSION=${VERSION:-0.6.6}
+VERSION=${VERSION:-0.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -86,6 +94,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
find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING $PKG/usr/doc/$PRGNAM-$VERSION
@@ -96,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/office/gummi/gummi.info b/office/gummi/gummi.info
index dd0478b7c5..81d12882c6 100644
--- a/office/gummi/gummi.info
+++ b/office/gummi/gummi.info
@@ -1,10 +1,10 @@
PRGNAM="gummi"
-VERSION="0.6.6"
+VERSION="0.8.3"
HOMEPAGE="https://github.com/alexandervdm/gummi/"
-DOWNLOAD="https://github.com/alexandervdm/gummi/releases/download/0.6.6/gummi-0.6.6.tar.gz"
-MD5SUM="bb3ee5bb846400a4fa666535285807a1"
+DOWNLOAD="https://github.com/alexandervdm/gummi/releases/download/0.8.3/gummi-0.8.3.tar.gz"
+MD5SUM="096a2c6c9306fc9b22b0a898d6712e1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtksourceview"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES="gtkspell3"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/gummi/slack-desc b/office/gummi/slack-desc
index 1e2fcd8698..189749a22f 100644
--- a/office/gummi/slack-desc
+++ b/office/gummi/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-gummi: gummi (Lightweight Latex editor written in PyGTK)
+gummi: gummi (Lightweight Latex editor)
gummi:
gummi: Gummi is a lightweight Latex editor written in Python/GTK released as
gummi: open source under a dual MIT/Beerware license. Latex is a powerful
gummi: mark-up language that is widely used for academic and professional
gummi: documents.
gummi:
-gummi: Homepage: https://github.com/alexandervdm/gummi/
+gummi: https://github.com/alexandervdm/gummi/
gummi:
gummi:
gummi:
diff --git a/office/hamster/doinst.sh b/office/hamster/doinst.sh
index 5966297db5..401d987795 100644
--- a/office/hamster/doinst.sh
+++ b/office/hamster/doinst.sh
@@ -1,13 +1,3 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install hamster-time-tracker.schemas
-
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/office/hamster/hamster.SlackBuild b/office/hamster/hamster.SlackBuild
index 4795941492..68099e3db1 100644
--- a/office/hamster/hamster.SlackBuild
+++ b/office/hamster/hamster.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Hamster - The Gnome Time Tracker
#
-# Copyright 2016 Marek Srejma (sam_web@yahoo.de)
+# Copyright 2016-2023 Marek Šrejma <marek@modweb.de>, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hamster
-VERSION=${VERSION:-1.04}
+VERSION=${VERSION:-3.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-ARCHIVE="hamster-time-tracker-$VERSION"
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,18 +38,19 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -61,15 +63,17 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$ARCHIVE
-tar xvf $CWD/$PRGNAM-$ARCHIVE.tar.gz || tar xvf $CWD/$ARCHIVE.tar.gz
-cd $PRGNAM-$ARCHIVE
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -e "s/python/python3/" -i waf
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure build \
@@ -81,9 +85,11 @@ CXXFLAGS="$SLKCFLAGS" \
DESTDIR=$PKG \
./waf install
+rm -f $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING MAINTAINERS NEWS README.textile TODO \
+ AUTHORS COPYING MAINTAINERS NEWS.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -92,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/hamster/hamster.info b/office/hamster/hamster.info
index 7003f8b396..aa965cda48 100644
--- a/office/hamster/hamster.info
+++ b/office/hamster/hamster.info
@@ -1,10 +1,10 @@
PRGNAM="hamster"
-VERSION="1.04"
+VERSION="3.0.3"
HOMEPAGE="http://projecthamster.org/"
-DOWNLOAD="https://github.com/projecthamster/hamster/archive/hamster-time-tracker-1.04.tar.gz"
-MD5SUM="148ffee0c26c5c4ddfa4ebc9a21fa860"
+DOWNLOAD="https://github.com/projecthamster/hamster/archive/v3.0.3/hamster-3.0.3.tar.gz"
+MD5SUM="5594d01516278c48584f335b97f5a55f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gnome-python2-gconf pyxdg"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
+REQUIRES=""
+MAINTAINER="Marek Šrejma"
+EMAIL="marek@modweb.de"
diff --git a/office/hebcal/README b/office/hebcal/README
index 393f29b70b..44b8790612 100644
--- a/office/hebcal/README
+++ b/office/hebcal/README
@@ -1,10 +1,16 @@
hebcal - A perpetual Jewish calendar, by Danny Sadinoff
-Default city is New York. To change this, pass CITY to the SlackBuild
-script. Example:
+Prints Hebrew calendar info for Gregorian date range. Holidays,
+candle lighting times, yahrzeits, weekly parshas etc.
- CITY="Washington DC" ./hebcal.SlackBuild
+Default city for candle lighting times is New York. To change this,
+pass DEFAULT_CITY to the SlackBuild script. Example:
-See cities.h for a list of known cities and coordinates.
+ DEFAULT_CITY="Washington DC" ./hebcal.SlackBuild
-The city information can also be defined at run time. See README.md.
+The city information can also be specified at run time. See the man
+page.
+
+For a list of known cities and coordinates, do
+
+ hebcal info
diff --git a/office/hebcal/hebcal.SlackBuild b/office/hebcal/hebcal.SlackBuild
index b52bda74c2..04f1d63d58 100644
--- a/office/hebcal/hebcal.SlackBuild
+++ b/office/hebcal/hebcal.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hebcal
-# Copyright 2017 Judah Milgram, Washington DC
+# Copyright 2017-2024 Judah Milgram, Washington DC
# 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=hebcal
-VERSION=${VERSION:-4.13}
+VERSION=${VERSION:-5.8.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,32 +79,22 @@ 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 {} \;
-# Set the default city - see cities.h for list.
-# (New York is the distribution build default)
-CITY=${CITY:-"New York"}
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --with-default-city="${CITY}" \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
+make clean
+make DEFAULT_CITY="${DEFAULT_CITY:-New York}" all
+make install DESTDIR=$PKG PREFIX=/usr MANDIR=/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING NEWS.md README.md cities.h \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ AUTHORS COPYING \
+ NEWS.md README.md README_DE.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/office/hebcal/hebcal.info b/office/hebcal/hebcal.info
index 1fb679f4cc..bd846f59e7 100644
--- a/office/hebcal/hebcal.info
+++ b/office/hebcal/hebcal.info
@@ -1,10 +1,10 @@
PRGNAM="hebcal"
-VERSION="4.13"
+VERSION="5.8.4"
HOMEPAGE="http://hebcal.github.io/"
-DOWNLOAD="https://github.com/hebcal/hebcal/archive/v4.13/hebcal-4.13.tar.gz"
-MD5SUM="23fb97bf63cd330d4d0a32b8ba69548a"
+DOWNLOAD="https://github.com/hebcal/hebcal/archive/v5.8.4/hebcal-5.8.4.tar.gz"
+MD5SUM="7a22d277057acac8e33675af009c0d1f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Judah Milgram"
-EMAIL="milgram@cgpp.com"
+EMAIL="milgram at cgpp dot com"
diff --git a/office/hebcal/slack-desc b/office/hebcal/slack-desc
index 19ff93b3d4..cc73dde681 100644
--- a/office/hebcal/slack-desc
+++ b/office/hebcal/slack-desc
@@ -10,8 +10,8 @@ hebcal: hebcal (perpetual Jewish calendar)
hebcal:
hebcal: by Danny Sadinoff
hebcal:
-hebcal: Prints out the days in the Jewish calendar for a given Gregorian year.
-hebcal:
+hebcal: Prints Hebrew calendar info for Gregorian date range.
+hebcal: Holidays, candle lighting times, yahrzeits, weekly parshas etc.
hebcal:
hebcal: Home page: http://hebcal.github.io/
hebcal:
diff --git a/office/heimer/README b/office/heimer/README
new file mode 100644
index 0000000000..c3b88aebe2
--- /dev/null
+++ b/office/heimer/README
@@ -0,0 +1,7 @@
+Heimer is a desktop application for creating mind maps and other
+suitable diagrams. It's written in Qt and targeted for Linux and
+Windows.
+
+It's usually built against Qt 5 but you can enable the experimental Qt
+6 build by setting the cmake variable -DBUILD_WITH_QT6 to ON in the
+SlackBuild. In that case, qt6 is a dependency.
diff --git a/office/heimer/doinst.sh b/office/heimer/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/heimer/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/heimer/heimer.SlackBuild b/office/heimer/heimer.SlackBuild
new file mode 100644
index 0000000000..3af5437861
--- /dev/null
+++ b/office/heimer/heimer.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for heimer
+
+# Based on a script Copyright 2015 Elvis Angelaccio
+# <elvis.angelaccio@kdemail.net> - All rights reserved.
+#
+# Adapted for heimer by Eduardo Sanchez
+# <sombragris@sombragris.org>
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=heimer
+VERSION=${VERSION:-4.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+mkdir -p build
+( cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DBUILD_WITH_QT6=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ make VERBOSE=1
+ make install VERBOSE=1 DESTDIR=$PKG
+) || exit 1
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/heimer/heimer.info b/office/heimer/heimer.info
new file mode 100644
index 0000000000..baebcbb64c
--- /dev/null
+++ b/office/heimer/heimer.info
@@ -0,0 +1,10 @@
+PRGNAM="heimer"
+VERSION="4.4.0"
+HOMEPAGE="https://github.com/juzzlin/Heimer"
+DOWNLOAD="https://github.com/juzzlin/Heimer/releases/download/4.4.0/heimer-4.4.0.tar.gz"
+MD5SUM="9f0dc92b0f20bdba8648fa0719b4893a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Eduardo Sanchez"
+EMAIL="sombragris[at]sombragris[dot]org"
diff --git a/office/juffed/slack-desc b/office/heimer/slack-desc
index ae39cf2747..5034874e27 100644
--- a/office/juffed/slack-desc
+++ b/office/heimer/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-juffed: juffed (light qt editor)
-juffed:
-juffed: JuffEd is a free, cross-platform text editor for programmers and
-juffed: advanced users. Has syntax highlighting for many languages, code
-juffed: folding, find/replace using plain text and regexps, code completion,
-juffed: multiple charsets and many other useful features.
-juffed:
-juffed: homepage: http://juffed.com
-juffed:
-juffed:
-juffed:
+heimer: heimer (an application for mind maps)
+heimer:
+heimer: Heimer is a desktop application for creating mind maps and
+heimer: other suitable diagrams. It offers features such as adjustable
+heimer: grid, automatic layout optimization, autoload, autosave, an
+heimer: easy-to-use UI, PNG or SVG export, full undo/redo, and more.
+heimer:
+heimer: Homepage: https://github.com/juzzlin/Heimer
+heimer:
+heimer:
+heimer:
diff --git a/office/hevea/hevea.SlackBuild b/office/hevea/hevea.SlackBuild
index bc31ce96c0..049bf026bf 100644
--- a/office/hevea/hevea.SlackBuild
+++ b/office/hevea/hevea.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hevea
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hevea
-VERSION=${VERSION:-2.29}
+VERSION=${VERSION:-2.35}
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}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/hevea/hevea.info b/office/hevea/hevea.info
index e2243d3fe3..560bc5e403 100644
--- a/office/hevea/hevea.info
+++ b/office/hevea/hevea.info
@@ -1,8 +1,8 @@
PRGNAM="hevea"
-VERSION="2.29"
+VERSION="2.35"
HOMEPAGE="http://hevea.inria.fr/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/hevea-2.29.tar.gz"
-MD5SUM="20a73c7f8afa3f3edd63ce4e25dbf7d9"
+DOWNLOAD="https://github.com/maranget/hevea/archive/v2.35/hevea-2.35.tar.gz"
+MD5SUM="b9414b217641411c594c3d7c08573873"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocamlbuild"
diff --git a/office/homebank/README b/office/homebank/README
index ddcd7bf4e0..7abad3f57b 100644
--- a/office/homebank/README
+++ b/office/homebank/README
@@ -1,7 +1,24 @@
-HomeBank is the free software you have always wanted to manage your personal
-accounts at home. The main concept is to be light, simple and very easy to
-use. It brings you many features that allows you to analyze your finances in
-a detailed way instantly and dynamically with powerfull report tools based on
-filtering and graphical charts.
+HomeBank is an easy personal finance software that will help you
+managing your personal accounting. It is designed to easy to use
+and be able to analyze your personal finances in detail using
+powerful filtering tools and graphs.
+Some of its features are:
+
+* Cross platform, supports GNU/Linux, Microsoft Windows, Mac OS X
+* Import easily from Intuit Quicken, Microsoft Money or other software
+* Import bank account statements (OFX/QFX, QIF, CSV)
+* Duplicate transaction detection at import
+* Multiple currencies, with online update
+* Automatic cheque numbering
+* Automatic category/payee assignment
+* Various account types : Bank, Cash, Asset, Credit card, Liability
+* Scheduled transaction, with post in advance option
+* Transaction template
+* Category split
+* Internal transfer
+* Simple Month/Annual budget
+* Dynamic powerful reports with charts
+* Vehicle cost
+* Translated in around 56 languages
libofx is an optional recommended dependency.
diff --git a/office/homebank/doinst.sh b/office/homebank/doinst.sh
index f482376b48..d5d68ebe18 100644
--- a/office/homebank/doinst.sh
+++ b/office/homebank/doinst.sh
@@ -11,4 +11,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
diff --git a/office/homebank/homebank.SlackBuild b/office/homebank/homebank.SlackBuild
index 4e467f80a8..1272ccf797 100644
--- a/office/homebank/homebank.SlackBuild
+++ b/office/homebank/homebank.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
-#
+#!/bin/bash
+
# Slackware build script for homebank
-#
-# Copyright 2009-2017 Erik W. Hanson, Minneapolis, MN, USA
+
+# Copyright 2009-2022 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,37 +12,44 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=homebank
-VERSION=${VERSION:-5.1.5}
+VERSION=${VERSION:-5.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,7 +62,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -67,24 +75,36 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG | xargs file | egrep "ELF.*executable" | cut -f1 -d: | \
- xargs strip --strip-unneeded 2> /dev/null || true
+# if it is not possible to fix icon of size 24x24 (originally of size 22x22),
+# delete it.
+if [ -x /usr/bin/convert ]; then
+ convert $PKG/usr/share/icons/hicolor/256x256/apps/homebank.png -resize 24x24 \
+ $PKG/usr/share/icons/hicolor/24x24/apps/homebank.png
+else
+ rm -fr $PKG/usr/share/icons/hicolor/24x24
+fi;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
+cp -a \
+ README AUTHORS COPYING ChangeLog \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -93,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/office/homebank/homebank.info b/office/homebank/homebank.info
index 8ed7c7f40f..763a690837 100644
--- a/office/homebank/homebank.info
+++ b/office/homebank/homebank.info
@@ -1,10 +1,10 @@
PRGNAM="homebank"
-VERSION="5.1.5"
-HOMEPAGE="http://homebank.free.fr/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/homebank-5.1.5.tar.gz"
-MD5SUM="5478428d64085805343eef092dd2c357"
+VERSION="5.7.3"
+HOMEPAGE="http://homebank.free.fr"
+DOWNLOAD="http://homebank.free.fr/public/sources/homebank-5.7.3.tar.gz"
+MD5SUM="03e9fed95e67052b4b0b6ec8f60ab85c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
+REQUIRES="libsoup3"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/office/homebank/slack-desc b/office/homebank/slack-desc
index 0a83181f69..d347372369 100644
--- a/office/homebank/slack-desc
+++ b/office/homebank/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-homebank: homebank (Free easy personal accounting for all!)
+homebank: homebank (personal finance software)
+homebank:
+homebank: HomeBank is an easy personal finance software that will help you
+homebank: managing your personal accounting. It is designed to easy to use
+homebank: and be able to analyze your personal finances in detail using
+homebank: powerful filtering tools and graphs.
+homebank:
homebank:
-homebank: HomeBank is the free software you have always wanted to manage your
-homebank: personal accounts at home. The main concept is to be light, simple
-homebank: and very easy to use. It brings you many features that allows you
-homebank: to analyze your finances in a detailed way instantly and
-homebank: dynamically with powerfull report tools based on filtering and
-homebank: graphical charts.
homebank:
homebank: http://homebank.free.fr/
homebank:
diff --git a/office/htmldoc/README b/office/htmldoc/README
index dd571e4e7a..97d5e8984c 100644
--- a/office/htmldoc/README
+++ b/office/htmldoc/README
@@ -1,7 +1,8 @@
-HTMLDOC converts Hyper-Text Markup Language ("HTML") input files into indexed
-HTML, Adobe(r) PostScript(r), or Adobe(r) Portable Document Format ("PDF")
-files. HTMLDOC supports most HTML 3.2 elements, some HTML 4.0 elements, and
-can generate title and table of contents pages. The 1.8.x releases do not
-support stylesheets. HTMLDOC can be used as a standalone application, in a
-batch document processing environment, or as a web-based report generation
-application. No restrictions are placed upon the output produced by HTMLDOC.
+HTMLDOC converts Hyper-Text Markup Language ("HTML") input files into
+indexed HTML, Adobe(r) PostScript(r), or Adobe(r) Portable Document
+Format ("PDF") files. HTMLDOC supports most HTML 3.2 elements,
+some HTML 4.0 elements, and can generate title and table of contents
+pages. The 1.8.x releases do not support stylesheets. HTMLDOC can be
+used as a standalone application, in a batch document processing
+environment, or as a web-based report generation application.
+No restrictions are placed upon the output produced by HTMLDOC.
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild
index f88d47c057..b66ecd1b33 100644
--- a/office/htmldoc/htmldoc.SlackBuild
+++ b/office/htmldoc/htmldoc.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for htmldoc
# Copyright 2009-2014 LukenShiro, Italy
+# Copyright 2023 Matteo Bernardini, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,6 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - use BUILDROOT instead of --prefix=$PKG/usr, avoids compiling the
+# $PKG path into the binary.
+# - fix 32x32 icon (it was 31x31).
+# - don't include empty icon dirs in the package.
+# - make .desktop file validate.
+
# Thanks to Gentoo htmldoc's .ebuild maintainer for hints about configure's
# workaround, and for a patch to fix CVE-2009-3050.
#
@@ -29,11 +37,23 @@
# Feb 01 2017: Alfredo
# Update script for html-1.8.29, fix the problem with /usr/share/htmldoc/data
# not being copied into the package
+#
+#
+# May 01 2020: organixpear
+# Update script for htmldoc-1.9.8
+# This was a needed update as htmldoc-1.8.29 was 3 years out of date
+# and the build would fail on recent versions (current) of Slackware.
+# gnutls support was also found to be working in htmldoc-1.9.8 so
+# support was added. Misc updates and cleanups to install commands.
+#
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=htmldoc
-VERSION=${VERSION:-1.8.29}
+VERSION=${VERSION:-1.9.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,12 +63,19 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCFILES="CHANGES.txt README.txt COMPILE.txt COPYING.txt htmldoc.readme"
+DOCFILES="CHANGES.md README.md COPYING"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -70,7 +97,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION-source.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,12 +107,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# workaround to avoid /usr/share/doc/htmldoc's use for help function
-sed -r -i 's|^#define DOCUMENTATION "$prefix/share/doc/htmldoc"|\
- #define DOCUMENTATION "$prefix/doc/htmldoc-$VERSION"|g' ./configure
+sed -i -e "s|\$datadir/doc/htmldoc|/usr/doc/htmldoc-$VERSION/html|" \
+ -e "s|^docdir=.*|docdir=/usr/doc/$PRGNAM-$VERSION|" ./configure || exit 1
# to avoid an invalid implicit declaration of function (for 'CUPS_SRAND' and 'CUPS_RAND')
-sed -r -i 's|CUPS_SRAND|srand|g' htmldoc/http.c
-sed -r -i 's|CUPS_RAND|rand|g' htmldoc/http.c
+sed -r -i 's|CUPS_SRAND|srand|g' htmldoc/http.c || exit 1
+sed -r -i 's|CUPS_RAND|rand|g' htmldoc/http.c || exit 1
# --mandir seems to be ignored; --docdir doesn't exist
# internal jpeg/png/zlib libs disabled (using system ones)
@@ -93,57 +120,45 @@ sed -r -i 's|CUPS_RAND|rand|g' htmldoc/http.c
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=$PKG/usr \
- --libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-ssl \
--with-gui \
- --disable-localjpeg \
- --disable-localzlib \
- --disable-localpng \
- --disable-gnutls \
+ --enable-gnutls \
--build=$ARCH-slackware-linux
-# workaround to avoid /usr/share/doc/htmldoc's use for doc installation
-sed -r -i 's|\$(datadir)/doc/htmldoc|\$(prefix)/doc/htmldoc-$VERSION|g' \
- doc/Makefile
-
# 'make all' also does install (DESTDIR not supported)
-make all
+# 20230630 bkw: DESTDIR is spelled BUILDROOT, here.
+make all BUILDROOT=$PKG
# Copy some files who are not automatically installed (main binary, .desktop, icons, etc..)
mkdir -p $PKG/usr/bin
install -m 755 htmldoc/$PRGNAM $PKG/usr/bin
-mkdir -p $PKG/usr/man/man1
-cp -a doc/$PRGNAM.1 $PKG/usr/man/man1
mkdir -p $PKG/usr/share/applications
cp -a desktop/$PRGNAM.desktop $PKG/usr/share/applications
-mkdir -p $PKG/usr/share/mimelnk/application
-cp -a desktop/vnd.htmldoc-book.desktop $PKG/usr/share/mimelnk/application
mkdir -p $PKG/usr/share/mime/packages
cp -a desktop/htmldoc.xml $PKG/usr/share/mime/packages
-mkdir -p $PKG/usr/share/icons/hicolor/{16x16,24x24,32x32,48x48,64x64,96x96,128x128}/apps/
-cp -a desktop/htmldoc-16.png $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png
-cp -a desktop/htmldoc-24.png $PKG/usr/share/icons/hicolor/24x24/apps/$PRGNAM.png
-cp -a desktop/htmldoc-32.png $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
-cp -a desktop/htmldoc-48.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
-cp -a desktop/htmldoc-64.png $PKG/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png
-cp -a desktop/htmldoc-96.png $PKG/usr/share/icons/hicolor/96x96/apps/$PRGNAM.png
+mkdir -p $PKG/usr/share/icons/hicolor/{32x32,128x128,256x256}/apps/
+convert desktop/htmldoc-32.png -geometry 32x32 $PKG/usr/share/icons/hicolor/32x32/apps/$PRGNAM.png
cp -a desktop/htmldoc-128.png $PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM.png
+cp -a desktop/htmldoc-256.png $PKG/usr/share/icons/hicolor/256x256/apps/$PRGNAM.png
mkdir -p $PKG/usr/share/htmldoc/
cp -a fonts $PKG/usr/share/htmldoc/
cp -a data $PKG/usr/share/htmldoc/
+mkdir -p $PKG/usr/man/man1
+gzip -c9 doc/htmldoc.man > $PKG/usr/man/man1/htmldoc.1.gz
+sed -i '/^Categories/s,Application;,,' $PKG/usr/share/applications/*.desktop
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
# Just in case ..
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
-cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
-
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+cp -a $DOCFILES doc/$PRGNAM.{epub,html,pdf,ps} $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/*.{html,png} $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -151,4 +166,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/office/htmldoc/htmldoc.info b/office/htmldoc/htmldoc.info
index 5bdd183509..eb5aacf7e2 100644
--- a/office/htmldoc/htmldoc.info
+++ b/office/htmldoc/htmldoc.info
@@ -1,10 +1,10 @@
PRGNAM="htmldoc"
-VERSION="1.8.29"
+VERSION="1.9.16"
HOMEPAGE="https://www.msweet.org/htmldoc/index.html"
-DOWNLOAD="http://www.mirrorservice.org/sites/distfiles.finkmirrors.net/md5/dd2a05e2608d4f34db13c17a6667bb5e/htmldoc-1.8.29-source.tar.bz2"
-MD5SUM="dd2a05e2608d4f34db13c17a6667bb5e"
+DOWNLOAD="https://github.com/michaelrsweet/htmldoc/releases/download/v1.9.16/htmldoc-1.9.16-source.tar.gz"
+MD5SUM="9d82dd05321ca44594d9d1841868b2d5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fltk"
-MAINTAINER="LukenShiro"
-EMAIL="lukenshiro@ngi.it"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/office/hunspell-de/hunspell-de.SlackBuild b/office/hunspell-de/hunspell-de.SlackBuild
index 26029dfd02..a841c99254 100644
--- a/office/hunspell-de/hunspell-de.SlackBuild
+++ b/office/hunspell-de/hunspell-de.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hunspell-de
@@ -22,13 +22,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=hunspell-de
VERSION=${VERSION:-20161207}
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}
@@ -50,15 +60,16 @@ find -L . \
make hunspell/de_DE.aff hunspell/de_DE.dic hunspell/de_AT.aff hunspell/de_AT.dic hunspell/de_CH.aff hunspell/de_CH.dic
-pushd hunspell
-install -dm755 $PKG/usr/share/hunspell
-install -m644 de_*.dic de_*.aff $PKG/usr/share/hunspell
-install -dm755 $PKG/usr/share/myspell/dicts
-cd $PKG/usr/share/myspell/dicts
-for file in $PKGDIR/usr/share/hunspell/*; do
- ln -sv ../../hunspell/$(basename $file) .
-done
-popd
+cd hunspell
+ install -dm755 $PKG/usr/share/hunspell
+ install -m644 de_*.dic de_*.aff $PKG/usr/share/hunspell
+ install -dm755 $PKG/usr/share/myspell/dicts
+ cd $PKG/usr/share/myspell/dicts
+ for file in $PKGDIR/usr/share/hunspell/*; do
+ ln -sv ../../hunspell/$(basename $file) .
+ done
+ cd -
+cd ..
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -68,4 +79,4 @@ mv Documentation/* $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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/office/hunspell-de/hunspell-de.info b/office/hunspell-de/hunspell-de.info
index 5786d6f64a..80e008706b 100644
--- a/office/hunspell-de/hunspell-de.info
+++ b/office/hunspell-de/hunspell-de.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds[at]schoepfer[dot]info"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/hunspell-en/README b/office/hunspell-en/README
index 83348c76d6..20a66b833e 100644
--- a/office/hunspell-en/README
+++ b/office/hunspell-en/README
@@ -1,7 +1,8 @@
In this package are five dictionaries of English usage - Australian,
Canadian, United States, and two forms of British English.
-The reason I've included two forms of British English dictionaries are:
+The reason the previous maintainer, Donald Cooley <chytraeu@sdf.org>,
+included two forms of British English dictionaries are:
1. The -ise suffix is more commonly used by British speakers and all
other forms such as en_DK, en_IE, en_IN, etc are symbolic links to
en_GB-ise.
diff --git a/office/hunspell-en/hunspell-en.SlackBuild b/office/hunspell-en/hunspell-en.SlackBuild
index debd82f350..70b58ce65d 100644
--- a/office/hunspell-en/hunspell-en.SlackBuild
+++ b/office/hunspell-en/hunspell-en.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hunspell-en
# Copyright 2014, Pablo Santamaria (pablosantamaria@gmail.com)
-# Copyright 2017 Donald Cooley South Haven, IN USA
+# Copyright 2017-2019 Donald Cooley South Haven, IN USA
+# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,13 +26,23 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hunspell-en
-VERSION=${VERSION:-2017.01.22}
+VERSION=${VERSION:-2020.12.07}
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}
@@ -85,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/hunspell-en/hunspell-en.info b/office/hunspell-en/hunspell-en.info
index 11d0589ed9..9f12507dfa 100644
--- a/office/hunspell-en/hunspell-en.info
+++ b/office/hunspell-en/hunspell-en.info
@@ -1,18 +1,18 @@
PRGNAM="hunspell-en"
-VERSION="2017.01.22"
+VERSION="2020.12.07"
HOMEPAGE="http://wordlist.aspell.net/dicts/"
-DOWNLOAD="http://downloads.sourceforge.net/wordlist/hunspell-en_AU-2017.01.22.zip \
- http://downloads.sourceforge.net/wordlist/hunspell-en_CA-2017.01.22.zip \
- http://sourceforge.net/projects/wordlist/files/speller/2017.01.22/hunspell-en_GB-ise-2017.01.22.zip \
- http://sourceforge.net/projects/wordlist/files/speller/2017.01.22/hunspell-en_GB-ize-2017.01.22.zip \
- http://downloads.sourceforge.net/wordlist/hunspell-en_US-2017.01.22.zip"
-MD5SUM="c55adaea27508bc55db4b4b27c6d9822 \
- 10e7b9ae290217a127056897496d26ea \
- dfdfdffda442324960a9c75e489a5e18 \
- 2f514a3e2e847f4eac3ec14e43cc2d85 \
- 9af4f5e765f02bce36c9ee91fcce02b5"
+DOWNLOAD="http://downloads.sourceforge.net/wordlist/hunspell-en_AU-2020.12.07.zip \
+ http://downloads.sourceforge.net/wordlist/hunspell-en_CA-2020.12.07.zip \
+ http://sourceforge.net/projects/wordlist/files/speller/2020.12.07/hunspell-en_GB-ise-2020.12.07.zip \
+ http://sourceforge.net/projects/wordlist/files/speller/2020.12.07/hunspell-en_GB-ize-2020.12.07.zip \
+ http://downloads.sourceforge.net/wordlist/hunspell-en_US-2020.12.07.zip"
+MD5SUM="da1c2bfb35010f7345925acd29596d13 \
+ f28b8cb3e6dad9d4f53e849b5df80184 \
+ 1c0d38766cd35c41e80b50f42ceecfba \
+ a42fdc0df347800f2db26566a30ab3e5 \
+ 38bfa805038da266c37d3a2d2db23972"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/office/hunspell-es/hunspell-es.SlackBuild b/office/hunspell-es/hunspell-es.SlackBuild
index 87447040f6..de9ed14a3b 100644
--- a/office/hunspell-es/hunspell-es.SlackBuild
+++ b/office/hunspell-es/hunspell-es.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hunspell-es
@@ -25,13 +25,23 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hunspell-es
VERSION=${VERSION:-2.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}
@@ -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/office/hunspell-gr/README b/office/hunspell-gr/README
new file mode 100644
index 0000000000..21b06215fb
--- /dev/null
+++ b/office/hunspell-gr/README
@@ -0,0 +1 @@
+Greek hunspell dictionary.
diff --git a/office/hunspell-gr/hunspell-gr.SlackBuild b/office/hunspell-gr/hunspell-gr.SlackBuild
new file mode 100644
index 0000000000..4d973a2c9b
--- /dev/null
+++ b/office/hunspell-gr/hunspell-gr.SlackBuild
@@ -0,0 +1,76 @@
+#!/bin/bash
+
+# Slackware build script for hunspell-gr
+
+# Copyright 2022 Maras
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=hunspell-gr
+VERSION=${VERSION:-20110903}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH="noarch"
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $VERSION
+mkdir $VERSION
+tar vxf $CWD/$VERSION.tar.bz2
+cd $VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/share/{hunspell,myspell/dicts}
+cp el_GR.{aff,dic} $PKG/usr/share/hunspell
+for extension in aff dic; do
+ ln -sv ../../hunspell/el_GR.$extension $PKG/usr/share/myspell/dicts/el_GR.$extension
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README_el_GR.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/hunspell-gr/hunspell-gr.info b/office/hunspell-gr/hunspell-gr.info
new file mode 100644
index 0000000000..1bd00e525a
--- /dev/null
+++ b/office/hunspell-gr/hunspell-gr.info
@@ -0,0 +1,10 @@
+PRGNAM="hunspell-gr"
+VERSION="20110903"
+HOMEPAGE="https://sourceforge.net/projects/grspell/"
+DOWNLOAD="https://sourceforge.net/projects/grspell/files/hunspell-gr/20110903.tar.bz2"
+MD5SUM="bcee3bbde317e1147257d68d81c53624"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="rizitis"
+EMAIL="rizitis@gmail.com"
diff --git a/office/hunspell-gr/slack-desc b/office/hunspell-gr/slack-desc
new file mode 100644
index 0000000000..321b76fc97
--- /dev/null
+++ b/office/hunspell-gr/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+hunspell-gr: hunspell-gr (Greek hunspell dictionary)
+hunspell-gr:
+hunspell-gr: Greek hunspell dictionary.
+hunspell-gr:
+hunspell-gr: Homepage: https://sourceforge.net/projects/grspell/
+hunspell-gr:
+hunspell-gr:
+hunspell-gr:
+hunspell-gr:
+hunspell-gr:
+hunspell-gr:
diff --git a/office/hunspell-id/README b/office/hunspell-id/README
index 2bec7188ec..8619f263e9 100644
--- a/office/hunspell-id/README
+++ b/office/hunspell-id/README
@@ -1 +1 @@
-Indonesian hunspell dictionary.
+Indonesian hunspell dictionary and hyphenation data.
diff --git a/office/hunspell-id/hunspell-id.SlackBuild b/office/hunspell-id/hunspell-id.SlackBuild
index c35447184e..fbd5d99ff4 100644
--- a/office/hunspell-id/hunspell-id.SlackBuild
+++ b/office/hunspell-id/hunspell-id.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hunspell-id
@@ -24,13 +24,25 @@
# Based on the Arch PKGBUILD
+# 20220217 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix download URL.
+# - merge hyphen-id with this build. they install files from the same
+# source archive, there's no reason to have separate builds.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hunspell-id
VERSION=${VERSION:-2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,11 +57,12 @@ rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-bsdtar -xf $CWD/id_id.oxt
+unzip $CWD/id-id.oxt '*.dic' info/long-description.txt
# Putting everything in proper place
-install -dm755 $PKG/usr/share/hunspell
+mkdir -p $PKG/usr/share/{hunspell,hyphen}
install -m644 id_ID.* $PKG/usr/share/hunspell
+install -m644 hyph_id_ID.dic $PKG/usr/share/hyphen
# myspell symlinks
install -dm755 $PKG/usr/share/myspell/dicts
@@ -58,6 +71,7 @@ pushd $PKG/usr/share/myspell/dicts
ln -sv ../../hunspell/$(basename $file) .
done
popd
+ln -s ../../hyphen/hyph_id_ID.dic $PKG/usr/share/myspell/dicts
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install -m644 info/long-description.txt $PKG/usr/doc/$PRGNAM-$VERSION/README.txt
@@ -67,4 +81,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/hunspell-id/hunspell-id.info b/office/hunspell-id/hunspell-id.info
index b9620924d0..d1275129c7 100644
--- a/office/hunspell-id/hunspell-id.info
+++ b/office/hunspell-id/hunspell-id.info
@@ -1,7 +1,7 @@
PRGNAM="hunspell-id"
VERSION="2.0"
HOMEPAGE="https://extensions.libreoffice.org/extensions/indonesian-dictionary-kamus-indonesia-by-benitius"
-DOWNLOAD="https://extensions.libreoffice.org/extensions/indonesian-dictionary-kamus-indonesia-by-benitius/2.0/@@download/file/id_id.oxt"
+DOWNLOAD="https://extensions.libreoffice.org/assets/downloads/z/id-id.oxt"
MD5SUM="e5c97ae82ba6c191f432f45ec7a5783e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/hunspell-id/slack-desc b/office/hunspell-id/slack-desc
index 9400a4b550..44fbe02c02 100644
--- a/office/hunspell-id/slack-desc
+++ b/office/hunspell-id/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
hunspell-id: hunspell-id (Indonesian hunspell dictionary)
hunspell-id:
-hunspell-id: Indonesian hunspell dictionary
+hunspell-id: Indonesian hunspell dictionary and hyphenation data.
hunspell-id:
hunspell-id:
hunspell-id:
diff --git a/office/hunspell-pl/hunspell-pl.SlackBuild b/office/hunspell-pl/hunspell-pl.SlackBuild
index bf8116db24..b78a1d8ab1 100644
--- a/office/hunspell-pl/hunspell-pl.SlackBuild
+++ b/office/hunspell-pl/hunspell-pl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hunspell-pl
@@ -22,13 +22,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=hunspell-pl
VERSION=${VERSION:-20170131}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,4 +74,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/hunspell-sv/README b/office/hunspell-sv/README
new file mode 100644
index 0000000000..ea0270502e
--- /dev/null
+++ b/office/hunspell-sv/README
@@ -0,0 +1 @@
+Swedish hunspell dictionaries.
diff --git a/office/hunspell-sv/hunspell-sv.SlackBuild b/office/hunspell-sv/hunspell-sv.SlackBuild
new file mode 100644
index 0000000000..ad03da391b
--- /dev/null
+++ b/office/hunspell-sv/hunspell-sv.SlackBuild
@@ -0,0 +1,81 @@
+#!/bin/bash
+
+# Slackware build script for hunspell-sv
+
+# Copyright 2022 Martin Bångens, Sweden
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=hunspell-sv
+VERSION=${VERSION:-2.42}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf ooo-swedish-dict-${VERSION/./-}.oxt
+unzip -d ooo-swedish-dict-${VERSION/./-}.oxt $CWD/ooo-swedish-dict-${VERSION/./-}.oxt
+cd ooo-swedish-dict-${VERSION/./-}.oxt
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 dictionaries
+ install -dm755 $PKG/usr/share/hunspell
+ install -m644 sv_*.dic sv_*.aff $PKG/usr/share/hunspell
+ install -dm755 $PKG/usr/share/myspell/dicts
+ cd $PKG/usr/share/myspell/dicts
+ for file in $PKGDIR/usr/share/hunspell/*; do
+ ln -sv ../../hunspell/$(basename $file) .
+ done
+ cd -
+cd ..
+
+mkdir $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv LICENSE_* $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+cd $PKG
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/hunspell-sv/hunspell-sv.info b/office/hunspell-sv/hunspell-sv.info
new file mode 100644
index 0000000000..787da6abe7
--- /dev/null
+++ b/office/hunspell-sv/hunspell-sv.info
@@ -0,0 +1,10 @@
+PRGNAM="hunspell-sv"
+VERSION="2.42"
+HOMEPAGE="https://extensions.libreoffice.org/en/extensions/show/swedish-spelling-dictionary-den-stora-svenska-ordlistan"
+DOWNLOAD="https://extensions.libreoffice.org/assets/downloads/z/ooo-swedish-dict-2-42.oxt"
+MD5SUM="e3a0e95cd85df385d1ed4644c9827790"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/office/rednotebook/slack-desc b/office/hunspell-sv/slack-desc
index 632e077137..a48de10a36 100644
--- a/office/rednotebook/slack-desc
+++ b/office/hunspell-sv/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-rednotebook: rednotebook (graphical daily journal with calendar)
-rednotebook:
-rednotebook: RedNotebook is a Desktop Diary that makes it very easy for you to
-rednotebook: keep track of the stuff you do and the thoughts you have. This
-rednotebook: journal software helps you to write whole passages or just facts
-rednotebook: and does so in style.
-rednotebook:
-rednotebook: Homepage: http://rednotebook.sourceforge.net
-rednotebook:
-rednotebook:
-rednotebook:
+hunspell-sv: hunspell-sv (Swedish hunspell dictionaries)
+hunspell-sv:
+hunspell-sv: Swedish hunspell dictionaries.
+hunspell-sv:
+hunspell-sv: https://extensions.libreoffice.org/en/extensions/show/
+hunspell-sv: swedish-spelling-dictionary-den-stora-svenska-ordlistan
+hunspell-sv:
+hunspell-sv:
+hunspell-sv:
+hunspell-sv:
+hunspell-sv:
diff --git a/office/hyphen-id/README b/office/hyphen-id/README
deleted file mode 100644
index f93257649f..0000000000
--- a/office/hyphen-id/README
+++ /dev/null
@@ -1 +0,0 @@
-Indonesian hyphenation library function.
diff --git a/office/hyphen-id/hyphen-id.info b/office/hyphen-id/hyphen-id.info
deleted file mode 100644
index b48f951070..0000000000
--- a/office/hyphen-id/hyphen-id.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="hyphen-id"
-VERSION="2.0"
-HOMEPAGE="https://extensions.libreoffice.org/extension-center/indonesian-dictionary-kamus-indonesia-by-benitius"
-DOWNLOAD="https://extensions.libreoffice.org/extensions/indonesian-dictionary-kamus-indonesia-by-benitius/2.0/@@download/file/id_id.oxt"
-MD5SUM="e5c97ae82ba6c191f432f45ec7a5783e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Ali Ahmadi"
-EMAIL="idnux09@gmail.com"
diff --git a/office/impressive/README b/office/impressive/README
index 1b39998171..6dcf51c154 100644
--- a/office/impressive/README
+++ b/office/impressive/README
@@ -1,3 +1,5 @@
+impressive (fancy PDF presentation program)
+
Impressive is a program that displays presentation slides. But unlike
OpenOffice.org Impress or other similar applications, it does so with
style. Smooth alpha-blended slide transitions are provided for the sake
@@ -11,5 +13,10 @@ for displaying them. If your application does not support PDF output,
you can alternatively use a set of pre-rendered image files, or use
Impressive to make a slideshow with your favorite photos.
-pdftk is an optional dependency for retrieving PDF metadata
-(page titles, hyperlinks).
+Optional runtime dependencies:
+
+pdftk - for retrieving PDF metadata (page titles, hyperlinks).
+
+mupdf - alternative PDF renderer, possibly faster and prettier than
+ poppler (which is the default renderer). Can also be used in
+ place of pdftk for metadata.
diff --git a/office/impressive/impressive.SlackBuild b/office/impressive/impressive.SlackBuild
index 61651c7e5c..010bc29fc6 100644
--- a/office/impressive/impressive.SlackBuild
+++ b/office/impressive/impressive.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for impressive
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
-# Copyright 2015-2018 Brenton Earl <brent@exitstatusone.com>
+# Copyright 2015-2018,2020 Brenton Earl <brent@exitstatusone.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,15 +23,28 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220303 bkw: Modified by SlackBuilds.org:
+# - update to latest SVN, since 0.12.1 and 0.13.0_beta2 segfault on startup.
+# - remove pilkit from REQUIRES ('cause it's not required).
+# - use python3. actually it works with either 2 or 3, but with 3, we don't
+# need python2-pillow as a dependency.
+# - mention mupdf in README.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=impressive
-SRCNAM=Impressive
-VERSION=${VERSION:-0.12.0}
+VERSION=${VERSION:-0.13.0_beta2+20220110_r312}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,30 +54,28 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+make
+sed -i '1s/python/python3/' $PRGNAM.py
install -D -m 0755 $PRGNAM.py $PKG/usr/bin/$PRGNAM
-
mkdir -p $PKG/usr/man/man1
-cat $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.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
+gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $PRGNAM.html demo.pdf changelog.txt license.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a site/$PRGNAM.html demo.pdf *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/impressive/impressive.info b/office/impressive/impressive.info
index 98d7aa7fbb..56932479d7 100644
--- a/office/impressive/impressive.info
+++ b/office/impressive/impressive.info
@@ -1,10 +1,10 @@
PRGNAM="impressive"
-VERSION="0.12.0"
+VERSION="0.13.0_beta2+20220110_r312"
HOMEPAGE="http://impressive.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/impressive/files/Impressive/0.12.0/Impressive-0.12.0.tar.gz"
-MD5SUM="743bd446a3cb2712a09b7471529c5139"
+DOWNLOAD="https://slackware.uk/~urchlay/src/impressive-0.13.0_beta2+20220110_r312.tar.xz"
+MD5SUM="744b4a9edf9d976f2b3caf4d800a8f0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pygame pilkit"
+REQUIRES="python3-pygame"
MAINTAINER="Brenton Earl"
EMAIL="brent@exitstatusone.com"
diff --git a/office/impressive/slack-desc b/office/impressive/slack-desc
index 1284616f25..d1dab41bdf 100644
--- a/office/impressive/slack-desc
+++ b/office/impressive/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-impressive: impressive (A fancy PDF presentation program)
+impressive: impressive (fancy PDF presentation program)
impressive:
impressive: Impressive is a program that displays presentation slides. But unlike
impressive: OpenOffice.org Impress or other similar applications, it does so with
diff --git a/office/jfbview/README b/office/jfbview/README
new file mode 100644
index 0000000000..cd2c9dcc5f
--- /dev/null
+++ b/office/jfbview/README
@@ -0,0 +1,13 @@
+jfbview (framebuffer PDF and image viewer)
+
+jfbview is a PDF and image viewer for the Linux framebuffer. It's fast
+and has some advanced features including:
+ * Arbitrary zoom (10% - 1000%) and rotation;
+ * Table of Contents (TOC) viewer for PDF documents;
+ * Interactive text search for PDF documents;
+ * Multi-threaded rendering;
+ * Asynchronous background pre-caching;
+ * Customizable multi-threaded caching.
+
+Optional dependency: imlib2 (autodetected). This will allow jfbview to
+work as an image viewer as well as a PDF viewer.
diff --git a/office/jfbview/jfbview.SlackBuild b/office/jfbview/jfbview.SlackBuild
new file mode 100644
index 0000000000..7764e89518
--- /dev/null
+++ b/office/jfbview/jfbview.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for jfbview
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# This doesn't depend on mupdf or mupdf-legacy because it includes its
+# own bundled mupdf source.
+
+# 20230104 bkw: BUILD=2
+# - fix imlib2 builds (broke with recent imlib2 update to 1.10.0).
+# - fix PKGTYPE mess.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=jfbview
+VERSION=${VERSION:-0.6.0}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION-full-source
+unzip $CWD/$PRGNAM-$VERSION-full-source.zip
+cd $PRGNAM-$VERSION-full-source
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# fix a typo.
+sed -i 's,Plase,Please,' src/main.cpp
+
+# hardcoded man and doc paths.
+sed -i -e 's,share/man,man,g' \
+ -e "s,share/doc/$PRGNAM,doc/$PRGNAM-$VERSION,g" \
+ doc/CMakeLists.txt
+
+# no autodetect for imlib2, help it out some.
+# 20230104 bkw: imlib2 no longer has /usr/bin/imlib2-config, which
+# the FindImlib2.cmake in jfbview's source wants. Work around it by
+# manually setting the cmake vars it would automatically set.
+if [ "${IMLIB:-yes}" = "yes" ] && pkg-config --exists imlib2; then
+ IMLIB_OPT="-DENABLE_IMAGE_SUPPORT=ON -DIMLIB2_FOUND=ON -DIMLIB2_LIBRARIES=-lImlib2"
+else
+ IMLIB_OPT="-DENABLE_IMAGE_SUPPORT=OFF"
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ $IMLIB_OPT \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# when building without imlib2, we end up with two almost-identical copies
+# of the binary, weighing in at 36MB apiece. use symlinks instead.
+rm -f $PKG/usr/bin/jfbpdf $PKG/usr/man/man1/jfbpdf.1.gz
+ln -s $PRGNAM $PKG/usr/bin/jfbpdf
+ln -s $PRGNAM.1.gz $PKG/usr/man/man1/jfbpdf.1.gz
+
+# upstream's got a nice man page for the main application, but nothing
+# for jpdf(cat|grep), so I wrote these.
+gzip -9c < $CWD/jpdfcat.1 > $PKG/usr/man/man1/jpdfcat.1.gz
+gzip -9c < $CWD/jpdfgrep.1 > $PKG/usr/man/man1/jpdfgrep.1.gz
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+WITHIM=WITHOUT
+objdump -p $PKG/usr/bin/$PRGNAM | grep -q 'NEEDED.*libImlib2' && WITHIM=with
+
+mkdir -p $PKG/install
+sed "s,@WITHIM@,$WITHIM," $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/jfbview/jfbview.info b/office/jfbview/jfbview.info
new file mode 100644
index 0000000000..f3739f0990
--- /dev/null
+++ b/office/jfbview/jfbview.info
@@ -0,0 +1,10 @@
+PRGNAM="jfbview"
+VERSION="0.6.0"
+HOMEPAGE="https://github.com/jichu4n/jfbview"
+DOWNLOAD="https://github.com/jichu4n/jfbview/releases/download/0.6.0/jfbview-0.6.0-full-source.zip"
+MD5SUM="ac41da35a97c008424662d7dc489b841"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/jfbview/jpdfcat.1 b/office/jfbview/jpdfcat.1
new file mode 100644
index 0000000000..646552f745
--- /dev/null
+++ b/office/jfbview/jpdfcat.1
@@ -0,0 +1,68 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "JPDFCAT" 1 "2022-01-13" "0.6.0" "SlackBuilds.org"
+.SH NAME
+jpdfcat \- extract and print the text content in a PDF document
+.\" RST source for jpdfcat(1) man page. Convert with:
+.
+.\" rst2man.py jpdfcat.rst > jpdfcat.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+jpdfcat [\fI\-P pass\fP] \fBfilename.pdf\fP
+.SH DESCRIPTION
+.sp
+\fBjpdfcat\fP extracts and prints the text content in a PDF document. It\(aqs
+part of the \fBjfbview\fP suite.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-P,\-\-password=pass
+Unlock PDF document with the given password.
+.TP
+.B \-h,\-\-help
+Show built\-in help message.
+.UNINDENT
+.SH COPYRIGHT
+.sp
+jpdfcat is distributed under the Apache License v2.
+.SH AUTHORS
+.sp
+jpdfcat was written by Chuan Ji.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBjfbview\fP(1), \fBjpdfgrep\fP(1), \fBpdftotext\fP(1)
+.\" Generated by docutils manpage writer.
+.
diff --git a/office/jfbview/jpdfcat.rst b/office/jfbview/jpdfcat.rst
new file mode 100644
index 0000000000..0277a572dd
--- /dev/null
+++ b/office/jfbview/jpdfcat.rst
@@ -0,0 +1,57 @@
+.. RST source for jpdfcat(1) man page. Convert with:
+.. rst2man.py jpdfcat.rst > jpdfcat.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 0.6.0
+.. |date| date::
+
+=======
+jpdfcat
+=======
+
+----------------------------------------------------
+extract and print the text content in a PDF document
+----------------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+jpdfcat [*-P pass*] **filename.pdf**
+
+DESCRIPTION
+===========
+
+**jpdfcat** extracts and prints the text content in a PDF document. It's
+part of the **jfbview** suite.
+
+OPTIONS
+=======
+
+-P,--password=pass
+ Unlock PDF document with the given password.
+
+-h,--help
+ Show built-in help message.
+
+COPYRIGHT
+=========
+
+jpdfcat is distributed under the Apache License v2.
+
+AUTHORS
+=======
+
+jpdfcat was written by Chuan Ji.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**jfbview**\(1), **jpdfgrep**\(1), **pdftotext**\(1)
diff --git a/office/jfbview/jpdfgrep.1 b/office/jfbview/jpdfgrep.1
new file mode 100644
index 0000000000..661f157ccd
--- /dev/null
+++ b/office/jfbview/jpdfgrep.1
@@ -0,0 +1,76 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "JPDFGREP" 1 "2022-01-13" "0.6.0" "SlackBuilds.org"
+.SH NAME
+jpdfgrep \- search for a string in a PDF document
+.\" RST source for jpdfgrep(1) man page. Convert with:
+.
+.\" rst2man.py jpdfgrep.rst > jpdfgrep.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+jpdfgrep [\fI\-P pass\fP] [\fI\-w width\fP] \fBfilename.pdf\fP \fBsearch\-string\fP
+.SH DESCRIPTION
+.sp
+\fBjpdfgrep\fP searches for a string in the text content of a PDF
+document and prints all matching lines. Despite the name, the
+\fBsearch\-string\fP is a fixed string, \fInot\fP a regular expression.
+Also, be aware that the file and search string arguments must
+be given in the opposite order from grep.
+.sp
+\fBjpdfgrep\fP is part of the \fBjfbview\fP suite.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-P,\-\-password=pass
+Unlock PDF document with the given password.
+.TP
+.B \-w,\-\-width=width
+Specify result line width. The default is to autodetect terminal width.
+.TP
+.B \-h,\-\-help
+Show built\-in help message.
+.UNINDENT
+.SH COPYRIGHT
+.sp
+jpdfgrep is distributed under the Apache License v2.
+.SH AUTHORS
+.sp
+jpdfgrep was written by Chuan Ji.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBjfbview\fP(1), \fBjpdfcat\fP(1), \fBpdftotext\fP(1)
+.\" Generated by docutils manpage writer.
+.
diff --git a/office/jfbview/jpdfgrep.rst b/office/jfbview/jpdfgrep.rst
new file mode 100644
index 0000000000..462488b4d9
--- /dev/null
+++ b/office/jfbview/jpdfgrep.rst
@@ -0,0 +1,65 @@
+.. RST source for jpdfgrep(1) man page. Convert with:
+.. rst2man.py jpdfgrep.rst > jpdfgrep.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 0.6.0
+.. |date| date::
+
+========
+jpdfgrep
+========
+
+-------------------------------------
+search for a string in a PDF document
+-------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+jpdfgrep [*-P pass*] [*-w width*] **filename.pdf** **search-string**
+
+DESCRIPTION
+===========
+
+**jpdfgrep** searches for a string in the text content of a PDF
+document and prints all matching lines. Despite the name, the
+**search-string** is a fixed string, *not* a regular expression.
+Also, be aware that the file and search string arguments must
+be given in the opposite order from grep.
+
+**jpdfgrep** is part of the **jfbview** suite.
+
+OPTIONS
+=======
+
+-P,--password=pass
+ Unlock PDF document with the given password.
+
+-w,--width=width
+ Specify result line width. The default is to autodetect terminal width.
+
+-h,--help
+ Show built-in help message.
+
+COPYRIGHT
+=========
+
+jpdfgrep is distributed under the Apache License v2.
+
+AUTHORS
+=======
+
+jpdfgrep was written by Chuan Ji.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**jfbview**\(1), **jpdfcat**\(1), **pdftotext**\(1)
diff --git a/office/jfbview/slack-desc b/office/jfbview/slack-desc
new file mode 100644
index 0000000000..91d47c1ba2
--- /dev/null
+++ b/office/jfbview/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+jfbview: jfbview (framebuffer PDF and image viewer)
+jfbview:
+jfbview: jfbview is a PDF and image viewer for the Linux framebuffer. It's fast
+jfbview: and has some advanced features including:
+jfbview: * Arbitrary zoom (10% - 1000%) and rotation;
+jfbview: * Table of Contents (TOC) viewer for PDF documents;
+jfbview: * Interactive text search for PDF documents;
+jfbview: * Multi-threaded rendering;
+jfbview: * Asynchronous background pre-caching;
+jfbview: * Customizable multi-threaded caching.
+jfbview: This package built @WITHIM@ imlib2.
diff --git a/office/jpdfbookmarks/jpdfbookmarks.SlackBuild b/office/jpdfbookmarks/jpdfbookmarks.SlackBuild
index 0d1290f1f0..1e72c4b80d 100644
--- a/office/jpdfbookmarks/jpdfbookmarks.SlackBuild
+++ b/office/jpdfbookmarks/jpdfbookmarks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jpdfbookmarks
@@ -22,13 +22,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=jpdfbookmarks
VERSION=${VERSION:-2.5.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}
@@ -75,4 +85,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/jpdfbookmarks/jpdfbookmarks.info b/office/jpdfbookmarks/jpdfbookmarks.info
index e81b779f04..adae0b1441 100644
--- a/office/jpdfbookmarks/jpdfbookmarks.info
+++ b/office/jpdfbookmarks/jpdfbookmarks.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/sourceforge/jpdfbookmarks/jpdfbookmar
MD5SUM="035c9cb2f828891cf0bea37323968f7a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/jstock/README b/office/jstock/README
index 27e1c6fe51..e16ebd17e2 100644
--- a/office/jstock/README
+++ b/office/jstock/README
@@ -1,5 +1,5 @@
Make Your Stock Investment Fun and Easy
-JStock is a free stock market software. It makes it easy to track your stock
-investment. It provides well organized stock market information, to help you
-decide your best investment strategy.
+JStock is a free stock market software. It makes it easy to track
+your stock investment. It provides well organized stock market
+information, to help you decide your best investment strategy.
diff --git a/office/jstock/jstock.SlackBuild b/office/jstock/jstock.SlackBuild
index f48972232b..3c7c9f6f9c 100644
--- a/office/jstock/jstock.SlackBuild
+++ b/office/jstock/jstock.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jstock
-# Copyright 2014-2018 Zhu Qun-Ying
+# Copyright 2014-2023 Zhu Qun-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jstock
-VERSION=${VERSION:-1.0.7.37}
+VERSION=${VERSION:-1.0.7.60}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,19 +38,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-JAVAHOME="/usr/lib${LIBDIRSUFFIX}/java"
-
set -e
rm -rf $PKG
@@ -64,7 +66,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
chmod +x jstock/jstock.sh
-sed -i '/\/usr\/lib\/java/a JAVA_HOME='"$JAVAHOME"'' jstock/jstock.sh
cd $PKG/usr/bin
ln -sf /opt/jstock/jstock.sh jstock
@@ -77,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.$PKGTYPE
diff --git a/office/jstock/jstock.info b/office/jstock/jstock.info
index 9142e5d450..9c5710436e 100644
--- a/office/jstock/jstock.info
+++ b/office/jstock/jstock.info
@@ -1,10 +1,10 @@
PRGNAM="jstock"
-VERSION="1.0.7.37"
+VERSION="1.0.7.60"
HOMEPAGE="http://www.jstock.org/"
-DOWNLOAD="https://github.com/yccheok/jstock/releases/download/release_1-0-7-37/jstock-1.0.7.37-bin.zip"
-MD5SUM="aa352907a525c0212d85797fbc41ad7f"
+DOWNLOAD="https://github.com/yccheok/jstock/releases/download/release_1-0-7-60/jstock-1.0.7.60-bin.zip"
+MD5SUM="08c138693d864b039f7e32d8f488cb6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Zhu Qun-Ying"
EMAIL="zhu.qunying@gmail.com"
diff --git a/office/juffed/README b/office/juffed/README
deleted file mode 100644
index b322d42743..0000000000
--- a/office/juffed/README
+++ /dev/null
@@ -1,6 +0,0 @@
-JuffEd is a free, cross-platform text editor for programmers and
-advanced users. Has syntax highlighting for many languages, code
-folding, find/replace using plain text and regexps, code completion,
-multiple charsets and many other useful features.
-
-enca is an optional dependency (for auto language detection).
diff --git a/office/juffed/juffed.info b/office/juffed/juffed.info
deleted file mode 100644
index 0b6740222a..0000000000
--- a/office/juffed/juffed.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="juffed"
-VERSION="20180114_9b7af21"
-HOMEPAGE="http://juffed.com"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/juffed-20180114_9b7af21.tar.xz"
-MD5SUM="6b6c56fecdcfd408638a8023deda09cf"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/office/kate-latex-plugin/README b/office/kate-latex-plugin/README
deleted file mode 100644
index 23d2f135f2..0000000000
--- a/office/kate-latex-plugin/README
+++ /dev/null
@@ -1,8 +0,0 @@
-This is a plugin for Kate which adds two buttons on the toolbar: "Run LaTeX" and
-optionally "View Output" (of course you can add or remove these buttons in the
-"Configure Toolbars" dialog). The first button runs LaTeX (and runs BibTeX,
-MakeIndex, and reruns LaTeX if necessary; optionally the viewer is launched
-after this), the second button opens the output in the viewer of your choice.
-
-The paths to the executables can be modified in the Settings
-dialog (see second screenshot).
diff --git a/office/kate-latex-plugin/kate-latex-plugin.info b/office/kate-latex-plugin/kate-latex-plugin.info
deleted file mode 100644
index c232d3f09d..0000000000
--- a/office/kate-latex-plugin/kate-latex-plugin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kate-latex-plugin"
-VERSION="0.5"
-HOMEPAGE="http://kde-apps.org/content/show.php/Kate+LaTeX+typesetting+plugin?content=84772"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/84772-katelatexplugin-0.5.tar.bz2"
-MD5SUM="d6e30aa41da5279300f5d638ff595a77"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="William PC"
-EMAIL="w_calandrini@hotmail.com"
diff --git a/office/kate-latex-plugin/slack-desc b/office/kate-latex-plugin/slack-desc
deleted file mode 100644
index 21f8424b6d..0000000000
--- a/office/kate-latex-plugin/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------------------------------------------------------|
-kate-latex-plugin: kate-latex-plugin (LaTeX plugin for Kate)
-kate-latex-plugin:
-kate-latex-plugin: This is a plugin for Kate which adds two buttons on the
-kate-latex-plugin: toolbar: "Run LaTeX" and optionally "View Output" (of
-kate-latex-plugin: course you can add or remove these buttons in the "Configure
-kate-latex-plugin: Toolbars" dialog). The first button runs LaTeX (and runs
-kate-latex-plugin: BibTeX, MakeIndex, and reruns LaTeX if necessary; optionally
-kate-latex-plugin: the viewer is launched after this), the second button opens
-kate-latex-plugin: the output in the viewer of your choice.
-kate-latex-plugin:
-kate-latex-plugin:
diff --git a/office/kbbi-qt/kbbi-qt.SlackBuild b/office/kbbi-qt/kbbi-qt.SlackBuild
index 26298ed0ec..72c75d8c2a 100644
--- a/office/kbbi-qt/kbbi-qt.SlackBuild
+++ b/office/kbbi-qt/kbbi-qt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kbbi-qt
@@ -24,10 +24,13 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kbbi-qt
VERSION=${VERSION:-1.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,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/office/kbbi-qt/kbbi-qt.info b/office/kbbi-qt/kbbi-qt.info
index a63e53096a..0593133c4d 100644
--- a/office/kbbi-qt/kbbi-qt.info
+++ b/office/kbbi-qt/kbbi-qt.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/bgli/kbbi-qt/archive/v1.1/kbbi-qt-1.1.tar.gz"
MD5SUM="e615b9fb1ee5bea9ab2b49beebd9c6c6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Ali Ahmadi"
EMAIL="idnux09@gmail.com"
diff --git a/office/kbgoffice/gcc6.patch b/office/kbgoffice/gcc6.patch
new file mode 100644
index 0000000000..6e2d45e572
--- /dev/null
+++ b/office/kbgoffice/gcc6.patch
@@ -0,0 +1,17 @@
+diff -Naur kbgoffice-2.1.orig/src/translator_manager.cpp kbgoffice-2.1/src/translator_manager.cpp
+--- kbgoffice-2.1.orig/src/translator_manager.cpp 2010-04-30 14:37:42.000000000 +0200
++++ kbgoffice-2.1/src/translator_manager.cpp 2017-06-01 18:10:20.308920738 +0200
+@@ -141,11 +141,11 @@
+ isDataOk = isDataOk && tr->init(tr->BG_EN, string(string(dataDir) + prop->getString("data")).c_str());
+ } else {
+ cerr << "TranslatorManager::getTestDictionaryObject - Wrong description file: " << testDictionaries[index].file << "\n";
+- return false;
++ return NULL;
+ }
+ if (!isDataOk) {
+ cerr << "TranslatorManager::getTestDictionaryObject - Problem initialazing dictionary: " << testDictionaries[index].file << "\n";
+- return false;
++ return NULL;
+ }
+ char c[16];
+ sprintf(c, "%d", level);
diff --git a/office/kbgoffice/kbgoffice.SlackBuild b/office/kbgoffice/kbgoffice.SlackBuild
index c4f4cbb1af..d6c6ed99bd 100644
--- a/office/kbgoffice/kbgoffice.SlackBuild
+++ b/office/kbgoffice/kbgoffice.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
#
# SlackBuild for KBGOffice Assistant
# Written by Georgi D. Sotirov <gdsotirov@dir.bg>
# Modified by Martin A. Ivanov <tramni@abv.bg>
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kbgoffice
VERSION=${VERSION:-2.1}
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}
@@ -52,10 +62,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Thanks debian
+patch -p1 < $CWD/gcc6.patch
+
cd src
sed "s:/usr/local:/usr:" -i.orig $PRGNAM.pro
sed "s:/usr/local:/usr:" -i.orig main.cpp
- qmake -config release
+ qmake-qt4 -config release
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make INSTALL_ROOT=$PKG install
cd ..
@@ -79,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/office/kbgoffice/kbgoffice.info b/office/kbgoffice/kbgoffice.info
index eab0921523..f039d94df1 100644
--- a/office/kbgoffice/kbgoffice.info
+++ b/office/kbgoffice/kbgoffice.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/bgoffice/kbgoffice-2.1.tar.gz"
MD5SUM="ec70b750f6cc23a0ad7938fefb614ad8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Martin A. Ivanov"
EMAIL="tramni@abv.bg"
diff --git a/office/kbibtex/README b/office/kbibtex/README
index 5cbb1f1cb9..ab74bceefc 100644
--- a/office/kbibtex/README
+++ b/office/kbibtex/README
@@ -1,8 +1,7 @@
-KBibTeX is a BibTeX editor for KDE to edit bibliographies used with
-LaTeX. KBibTeX is released under the GNU Public License (GPL) version 2
-or any later version.
+The program KBibTeX is a bibliography editor by KDE. Its main purpose is
+to provide a user-friendly interface to BibTeX files.
-KBibTeX for KDE 4 is currently under development. KBibTeX for KDE 4 is
-mature for most daily tasks, but still lacks some features. It is
-recommended that you make backups of all your files before editing
-them with KBibTeX for KDE 4.
+This software, unless noted differently for individual files, materials,
+or contributions, is licensed under the terms of the GNU General Public
+License as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
diff --git a/office/kbibtex/desktop_perms.patch b/office/kbibtex/desktop_perms.patch
new file mode 100644
index 0000000000..47061964c2
--- /dev/null
+++ b/office/kbibtex/desktop_perms.patch
@@ -0,0 +1,13 @@
+diff --git a/src/program/CMakeLists.txt b/src/program/CMakeLists.txt
+index b9ed670f..8ff76302 100644
+--- a/src/program/CMakeLists.txt
++++ b/src/program/CMakeLists.txt
+@@ -135,7 +135,7 @@ install(
+ )
+
+ install(
+- PROGRAMS
++ FILES
+ org.kde.kbibtex.desktop
+ DESTINATION
+ ${KDE_INSTALL_APPDIR}
diff --git a/office/kbibtex/kbibtex.SlackBuild b/office/kbibtex/kbibtex.SlackBuild
index 712fd85897..5f3ea62116 100644
--- a/office/kbibtex/kbibtex.SlackBuild
+++ b/office/kbibtex/kbibtex.SlackBuild
@@ -1,9 +1,8 @@
-#!/bin/sh
-# vim: et ts=2 sw=2
+#!/bin/bash
# Slackware build script for kbibtex
-# Copyright (c) 2011 Gregory J.L. Tourte (artourter@gmail.com)
+# Copyright (c) 2011-2023 Gregory J. L. Tourte (artourter@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kbibtex
-VERSION=${VERSION:-0.7}
+VERSION=${VERSION:-0.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCVER=v$VERSION
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,15 +81,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/desktop_perms.patch
+
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMANDIR=/usr/man \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DKDE_INSTALL_DOCBUNDLEDIR=/usr/doc/HTML \
-DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
-Wno-dev \
..
@@ -92,7 +105,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README LICENSE TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE TODO.md ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -100,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/office/kbibtex/kbibtex.info b/office/kbibtex/kbibtex.info
index ce1fa76722..2b6ee7ef86 100644
--- a/office/kbibtex/kbibtex.info
+++ b/office/kbibtex/kbibtex.info
@@ -1,8 +1,8 @@
PRGNAM="kbibtex"
-VERSION="0.7"
+VERSION="0.10.0"
HOMEPAGE="https://userbase.kde.org/KBibTeX"
-DOWNLOAD="https://github.com/KDE/kbibtex/archive/v0.7/kbibtex-0.7.tar.gz"
-MD5SUM="db8f045be7fdb7fdb3101b47dd9b1bd3"
+DOWNLOAD="https://invent.kde.org/office/kbibtex/-/archive/v0.10.0/kbibtex-v0.10.0.tar.bz2"
+MD5SUM="4b32d308183cdc88ba4e485c8e4e74b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/kbibtex/slack-desc b/office/kbibtex/slack-desc
index 9899f6105c..b9de6e4550 100644
--- a/office/kbibtex/slack-desc
+++ b/office/kbibtex/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
kbibtex: kbibtex (A BibTeX editor for KDE)
kbibtex:
-kbibtex: KBibTeX is a BibTeX editor for KDE to edit bibliographies used with
-kbibtex: LaTeX. KBibTeX is released under the GNU Public License (GPL) version
-kbibtex: 2 or any later version.
+kbibtex: The program KBibTeX is a bibliography editor by KDE. Its main purpose
+kbibtex: is to provide a user-friendly interface to BibTeX files.
kbibtex:
-kbibtex: KBibTeX for KDE 4 is currently under development. KBibTeX for KDE 4
-kbibtex: is mature for most daily tasks, but still lacks some features. It is
-kbibtex: recommended that you make backups of all your files before editing
-kbibtex: them with KBibTeX for KDE 4.
+kbibtex: This software, unless noted differently for individual files,
+kbibtex: materials, or contributions, is licensed under the terms of the GNU
+kbibtex: General Public License as published by the Free Software Foundation;
+kbibtex: either version 2 of the License, or (at your option) any later
+kbibtex: version.
kbibtex:
diff --git a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
index 7baa06a1be..1c3b573306 100644
--- a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
+++ b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kchmviewer-qt
@@ -23,12 +23,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by updating to v8.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kchmviewer-qt
-VERSION=${VERSION:-7.7}
+VERSION=${VERSION:-8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ORIG_PRGNAM=${PRGNAM%-qt}
+SRCVER=RELEASE_${VERSION//./_}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,48 +45,44 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-else
- SLKCFLAGS="-O2"
-fi
+# 20220224 bkw: no need for SLKCFLAGS, qmake-qt5 uses the flags
+# qt5 was built with (which are the same ones we use).
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $ORIG_PRGNAM-$VERSION
-tar xvf $CWD/$ORIG_PRGNAM-$VERSION.tar.gz
-cd $ORIG_PRGNAM-$VERSION
+rm -rf $ORIG_PRGNAM-$SRCVER
+tar xvf $CWD/$ORIG_PRGNAM-$SRCVER.tar.gz
+cd $ORIG_PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
sed -i "s/$ORIG_PRGNAM/$PRGNAM/g;
/^Categories/s/KDE;//;
/^Name/s/$/ (Qt-only)/" packages/$ORIG_PRGNAM.desktop
-qmake \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- $ORIG_PRGNAM.pro
+sed -i "/^Icon/s,=.*,=/usr/share/pixmaps/$PRGNAM.png," packages/$ORIG_PRGNAM.desktop
+
+qmake-qt5
make
mkdir -p $PKG/usr/bin
-install -m 0755 -o root -g root bin/$ORIG_PRGNAM $PKG/usr/bin/$PRGNAM
+install -s -m 0755 -o root -g root bin/$ORIG_PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 -o root -g root packages/$ORIG_PRGNAM.desktop \
@@ -87,9 +90,6 @@ install -m 0644 -o root -g root packages/$ORIG_PRGNAM.desktop \
install -m 0644 -o root -g root packages/$ORIG_PRGNAM.png \
$PKG/usr/share/pixmaps/$PRGNAM.png
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog DBUS-bindings FAQ README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -99,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/office/kchmviewer-qt/kchmviewer-qt.info b/office/kchmviewer-qt/kchmviewer-qt.info
index 16fd637eed..922bfeedc3 100644
--- a/office/kchmviewer-qt/kchmviewer-qt.info
+++ b/office/kchmviewer-qt/kchmviewer-qt.info
@@ -1,8 +1,8 @@
PRGNAM="kchmviewer-qt"
-VERSION="7.7"
+VERSION="8.0"
HOMEPAGE="http://www.ulduzsoft.com/kchmviewer"
-DOWNLOAD="http://downloads.sourceforge.net/kchmviewer/kchmviewer-7.7.tar.gz"
-MD5SUM="abf60f0cff69d2903600ecd372624cae"
+DOWNLOAD="https://github.com/gyunaev/kchmviewer/archive/RELEASE_8_0/kchmviewer-RELEASE_8_0.tar.gz"
+MD5SUM="581fac4d97042b0cc32bf683a39458eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/kchmviewer/README b/office/kchmviewer/README
deleted file mode 100644
index 3b438f647b..0000000000
--- a/office/kchmviewer/README
+++ /dev/null
@@ -1,16 +0,0 @@
-KchmViewer is a chm (MS HTML help file format) viewer written in
-C++. Unlike most existing CHM viewers for Unix, it uses the
-Trolltech Qt widget library and does not depend on KDE or Gnome.
-However, it may be compiled with full KDE support including KDE
-widgets and KIO/KHTML.
-
-The main advantage of KchmViewer is extra support for non-English
-languages. Unlike other viewers, KchmViewer in most cases is able
-to detect help file encoding, correctly shows tables of contents of
-Russian, Korean, Chinese and Japanese help files, and does correct
-search in non-English help files (search for MBCS languages -
-ja/ko/ch is still in progress).
-
-KchmViewer is written by George Yunaev (see the contacts page
-for details), and is licensed under the GNU GPL license. It uses
-chmlib and some ideas and code from xhcm.
diff --git a/office/kchmviewer/kchmviewer.SlackBuild b/office/kchmviewer/kchmviewer.SlackBuild
deleted file mode 100644
index a99bfc612d..0000000000
--- a/office/kchmviewer/kchmviewer.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-#
-# SlackBuild script for KchmViewer.
-# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=kchmviewer
-VERSION=${VERSION:-6.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release .
-
-make VERBOSE=1
-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 DBUS-bindings FAQ README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-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/office/kchmviewer/kchmviewer.info b/office/kchmviewer/kchmviewer.info
deleted file mode 100644
index 3aa905f968..0000000000
--- a/office/kchmviewer/kchmviewer.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kchmviewer"
-VERSION="6.0"
-HOMEPAGE="http://www.kchmviewer.net"
-DOWNLOAD="http://downloads.sourceforge.net/kchmviewer/kchmviewer-6.0.tar.gz"
-MD5SUM="940fdeeb5f50cdd0d0611f7a13e003f9"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Michiel van Wessem"
-EMAIL="michiel@slackbuilds.org"
diff --git a/office/kchmviewer/slack-desc b/office/kchmviewer/slack-desc
deleted file mode 100644
index 2bbfc191c4..0000000000
--- a/office/kchmviewer/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------------------------------------------------------|
-kchmviewer: kchmviewer (a chm viewer (MS HTML help file format)
-kchmviewer:
-kchmviewer: KchmViewer is a chm (MS HTML help file format) viewer written in
-kchmviewer: C++. Unlike most existing CHM viewers for Unix, it uses the
-kchmviewer: Trolltech Qt widget library and does not depend on KDE or Gnome.
-kchmviewer: However, it may be compiled with full KDE support, including KDE
-kchmviewer: widgets and KIO/KHTML.
-kchmviewer:
-kchmviewer: http://kchmviewer.sourceforge.net/
-kchmviewer:
-kchmviewer:
diff --git a/office/keepassx/keepassx.SlackBuild b/office/keepassx/keepassx.SlackBuild
index 6d5224874a..9ef23e289f 100644
--- a/office/keepassx/keepassx.SlackBuild
+++ b/office/keepassx/keepassx.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild for KeePassX, 14 August 2017
-# awg <awg@cock.li>
+# Copyright 2020 M.A. Begue mab974@gmail.com
# All rights reserved.
#
# Permission to use, copy, modify, or distribute this software for any
@@ -20,10 +20,14 @@
## KeePassX itself remains a copyrighted work.
## Please see the file COPYING in the source distribution.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=keepassx
VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,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}
@@ -88,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/office/keepassx/keepassx.info b/office/keepassx/keepassx.info
index 1659fa1bf8..d4c51b1b80 100644
--- a/office/keepassx/keepassx.info
+++ b/office/keepassx/keepassx.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.keepassx.org/releases/2.0.3/keepassx-2.0.3.tar.gz"
MD5SUM="7852c9f1a0c04971c10370a757257dcd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="awg"
-EMAIL="awg@cock.li"
+REQUIRES="qt4"
+MAINTAINER="Michel A. BEGUE"
+EMAIL="mab974@gmail.com"
diff --git a/office/keepassxc/README b/office/keepassxc/README
index f64d6b5532..c5330250f0 100644
--- a/office/keepassxc/README
+++ b/office/keepassxc/README
@@ -1,27 +1,39 @@
-KeePassXC is a password and personal data management application that supports
-the KeePass Password Safe file format.
+KeePassXC is a password and personal data management application that
+supports the KeePass Password Safe file format.
-KeePassXC is a fork of KeePassX that aims to incorporate stalled Pull Requests,
-features, and bug fixes that are not being incorporated into the main KeePassX
-baseline. KeePassXC may be installed alongside KeePassX (also available as a
-SlackBuild).
+KeePassXC is a fork of KeePassX that aims to incorporate stalled Pull
+Requests, features, and bug fixes that are not being incorporated into
+the main KeePassX baseline. KeePassXC may be installed alongside
+KeePassX (also available as a SlackBuild).
-KeePassXC can be built with YubiKey two-factor authentication support for
-unlocking the database. This introduces a dependency on misc/ykpers and can be
-enabled by passing YUBIKEY=ON to the script.
+KeePassXC can be built with YubiKey two-factor authentication support
+for unlocking the database. This introduces a dependency on
+system/pcsc-lite and can be enabled by passing YUBIKEY=ON to the script.
-Browser support is enabled by default, meaning that KeePassXC can function as
-password storage for Mozilla Firefox and Chromium/Chrome. This may be disabled
-by passing BROWSER=OFF to the script.
+Browser support is enabled by default, meaning that KeePassXC can
+function as password storage for Mozilla Firefox and Chromium/Chrome.
+This may be disabled by passing BROWSER=OFF to the script.
-KeePassXC will be built with SSH agent support, allowing it to interact with a
-running agent. This may be disabled by passing SSHAGENT=OFF to the script.
+KeePassXC will be built with SSH agent support, allowing it to interact
+with a running agent. This may be disabled by passing SSHAGENT=OFF to
+the script.
-Networking support, allowing website favicons to be downloaded, is enabled by
-default. This maybe disabled by passing NETWORKING=OFF to the script.
+Networking support, allowing website favicons to be downloaded, is
+enabled by default. This maybe disabled by passing NETWORKING=OFF to the
+script.
+
+To include documentation, DOCS=ON must be passed to the script.
Support for database sharing and synchronisation using KeeShare will be
-disabled. It can be enabled by setting KEESHARE=ON, or a secure version can be
-enabled with KEESHARE_SECURE=ON, providing libraries/quazip-qt5 is installed.
+enabled. It can be disabled by setting KEESHARE=OFF.
+
+Support of FdoSecrets is disabled by default. It can be enabled by
+passing FDOSECRETS=ON to the script
+
+KeePassXC will display a notification of new releases unless the option
+UPDATECHECK=OFF is provided.
Autotype may be disabled by passing AUTOTYPE=OFF.
+
+As of version 2.7.0, keepassxc requires Botan, and as of 2.7.7,
+keepassxc requires libminizip.
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild
index 72bc41f200..2696a9d0f2 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for KeePassXC
-# Copyright 2017-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=keepassxc
-VERSION=${VERSION:-2.4.3}
+VERSION=${VERSION:-2.7.7}
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}
@@ -64,40 +75,47 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
mkdir -p build
-cd build
+(
+ cd build
+ export LDFLAGS="-ltermcap"
cmake \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_TESTS=OFF \
+ -DWITH_XC_DOCS=${DOCS:-OFF} \
-DWITH_XC_BROWSER=${BROWSER:-ON} \
-DWITH_XC_YUBIKEY=${YUBIKEY:-OFF} \
- -DWITH_XC_NETWORKING=${NETWORKING:-ON} \
-DWITH_XC_AUTOTYPE=${AUTOTYPE:-ON} \
-DWITH_XC_SSHAGENT=${SSHAGENT:-ON} \
- -DWITH_XC_KEESHARE=${KEESHARE:-OFF} \
- -DWITH_XC_KEESHARE_SECURE=${KEESHARE_SECURE:-OFF} \
+ -DWITH_XC_KEESHARE=${KEESHARE:-ON} \
+ -DWITH_XC_NETWORKING=${NETWORKING:-ON} \
+ -DWITH_XC_FDOSECRETS=${FDOSECRETS:-OFF} \
+ -DWITH_XC_UPDATECHECK=${UPDATECHECK:-ON} \
..
make
make install DESTDIR=$PKG
-cd ..
+)
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+if [ "$DOCS" = "ON" ]; then
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGELOG COPYING README.md \
+ CHANGELOG.md COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -106,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/office/keepassxc/keepassxc.info b/office/keepassxc/keepassxc.info
index 110ed912e5..5a00650679 100644
--- a/office/keepassxc/keepassxc.info
+++ b/office/keepassxc/keepassxc.info
@@ -1,10 +1,10 @@
PRGNAM="keepassxc"
-VERSION="2.4.3"
+VERSION="2.7.7"
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
-DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.4.3/keepassxc-2.4.3-src.tar.xz"
-MD5SUM="ed2cc2adc2003fe9c3cb39ed032b5392"
+DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.7.7/keepassxc-2.7.7-src.tar.xz"
+MD5SUM="3d877de7149ab18c0a95fc86b295064f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="argon2 libsodium qrencode qt5"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="Botan libminizip"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/office/keepnote/README b/office/keepnote/README
index 0385b2762c..8c2bdffbc9 100644
--- a/office/keepnote/README
+++ b/office/keepnote/README
@@ -1,8 +1,8 @@
KeepNote is a note taking application.
-With KeepNote, you can store your class notes, TODO lists, research notes,
-journal entries, paper outlines, etc in a simple notebook hierarchy
-with rich-text formatting, images, and more. Using full-text search,
-you can retrieve any note for later reference.
+With KeepNote, you can store your class notes, TODO lists, research
+notes, journal entries, paper outlines, etc in a simple notebook
+hierarchy with rich-text formatting, images, and more. Using full-text
+search, you can retrieve any note for later reference.
To use spell checking (optional), you will need python-gnome2-extras.
diff --git a/office/keepnote/keepnote.SlackBuild b/office/keepnote/keepnote.SlackBuild
index de71b0710c..ea403533c7 100644
--- a/office/keepnote/keepnote.SlackBuild
+++ b/office/keepnote/keepnote.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for keepnote
# Home Page http://rasm.ods.org/keepnote/
@@ -23,20 +23,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=keepnote
VERSION=${VERSION:-0.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,4 +79,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/office/khal/README b/office/khal/README
new file mode 100644
index 0000000000..15079c8c83
--- /dev/null
+++ b/office/khal/README
@@ -0,0 +1,10 @@
+khal can read and write events/icalendars to vdir, so vdirsyncer can
+be used to synchronize calendars with a variety of other programs,
+for example CalDAV servers.
+
+ikhal (interactive khal) lets you browse and edit calendars and events
+
+No support for editing the timezones of events yet
+Works with python 3.6+
+
+Completion with click avaible for bash, zsh and fish
diff --git a/office/khal/khal-complete.bash b/office/khal/khal-complete.bash
new file mode 100644
index 0000000000..1a8fd294fd
--- /dev/null
+++ b/office/khal/khal-complete.bash
@@ -0,0 +1,29 @@
+_khal_completion() {
+ local IFS=$'\n'
+ local response
+
+ response=$(env COMP_WORDS="${COMP_WORDS[*]}" COMP_CWORD=$COMP_CWORD _KHAL_COMPLETE=bash_complete $1)
+
+ for completion in $response; do
+ IFS=',' read type value <<< "$completion"
+
+ if [[ $type == 'dir' ]]; then
+ COMPREPLY=()
+ compopt -o dirnames
+ elif [[ $type == 'file' ]]; then
+ COMPREPLY=()
+ compopt -o default
+ elif [[ $type == 'plain' ]]; then
+ COMPREPLY+=($value)
+ fi
+ done
+
+ return 0
+}
+
+_khal_completion_setup() {
+ complete -o nosort -F _khal_completion khal
+}
+
+_khal_completion_setup;
+
diff --git a/office/khal/khal-complete.fish b/office/khal/khal-complete.fish
new file mode 100644
index 0000000000..4b2f994485
--- /dev/null
+++ b/office/khal/khal-complete.fish
@@ -0,0 +1,18 @@
+function _khal_completion;
+ set -l response (env _KHAL_COMPLETE=fish_complete COMP_WORDS=(commandline -cp) COMP_CWORD=(commandline -t) khal);
+
+ for completion in $response;
+ set -l metadata (string split "," $completion);
+
+ if test $metadata[1] = "dir";
+ __fish_complete_directories $metadata[2];
+ else if test $metadata[1] = "file";
+ __fish_complete_path $metadata[2];
+ else if test $metadata[1] = "plain";
+ echo $metadata[2];
+ end;
+ end;
+end;
+
+complete --no-files --command khal --arguments "(_khal_completion)";
+
diff --git a/office/khal/khal-complete.zsh b/office/khal/khal-complete.zsh
new file mode 100644
index 0000000000..8d008ab5d1
--- /dev/null
+++ b/office/khal/khal-complete.zsh
@@ -0,0 +1,41 @@
+#compdef khal
+
+_khal_completion() {
+ local -a completions
+ local -a completions_with_descriptions
+ local -a response
+ (( ! $+commands[khal] )) && return 1
+
+ response=("${(@f)$(env COMP_WORDS="${words[*]}" COMP_CWORD=$((CURRENT-1)) _KHAL_COMPLETE=zsh_complete khal)}")
+
+ for type key descr in ${response}; do
+ if [[ "$type" == "plain" ]]; then
+ if [[ "$descr" == "_" ]]; then
+ completions+=("$key")
+ else
+ completions_with_descriptions+=("$key":"$descr")
+ fi
+ elif [[ "$type" == "dir" ]]; then
+ _path_files -/
+ elif [[ "$type" == "file" ]]; then
+ _path_files -f
+ fi
+ done
+
+ if [ -n "$completions_with_descriptions" ]; then
+ _describe -V unsorted completions_with_descriptions -U
+ fi
+
+ if [ -n "$completions" ]; then
+ compadd -U -V unsorted -a completions
+ fi
+}
+
+if [[ $zsh_eval_context[-1] == loadautofunc ]]; then
+ # autoload from fpath, call function directly
+ _khal_completion "$@"
+else
+ # eval/source/. command, register function for later
+ compdef _khal_completion khal
+fi
+
diff --git a/office/khal/khal.SlackBuild b/office/khal/khal.SlackBuild
new file mode 100644
index 0000000000..24543adbbc
--- /dev/null
+++ b/office/khal/khal.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for khal
+
+# Copyright 2022 Tonus Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install the completions in the correct dirs (not /usr/doc).
+# also install them with correct ownership ($CWD could be owned
+# by anybody so you can't "cp -a $CWD/...").
+# - remove SLKCFLAGS and strip stuff (no compiled code here).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=khal
+VERSION=${VERSION:-0.11.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+python3 setup.py install --root=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.rst doc/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Remove directory containing only .gitignore
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/source/ystatic
+
+# 20230630 bkw: install the completion stuff in the right places.
+mkdir -p $PKG/usr/share/bash-completion/completions \
+ $PKG/usr/share/zsh/site-functions \
+ $PKG/usr/share/fish/completions
+
+# 20230630 bkw: N.B. do not use "cp -a" to copy files from $CWD.
+cat $CWD/khal-complete.bash > $PKG/usr/share/bash-completion/completions/khal
+cat $CWD/khal-complete.zsh > $PKG/usr/share/zsh/site-functions/_khal
+cat $CWD/khal-complete.fish > $PKG/usr/share/fish/completions/khal.fish
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/khal/khal.info b/office/khal/khal.info
new file mode 100644
index 0000000000..c67a534f16
--- /dev/null
+++ b/office/khal/khal.info
@@ -0,0 +1,10 @@
+PRGNAM="khal"
+VERSION="0.11.3"
+HOMEPAGE="https://github.com/pimutils/khal/"
+DOWNLOAD="https://files.pythonhosted.org/packages/d3/58/665551b1fea58a70d0f70fb539d2cd6be9ec106f36023d62c3ec5c7b2de1/khal-0.11.3.tar.gz"
+MD5SUM="4859fd1fb17b39a0df89a038c2fd388b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-icalendar python3-atomicwrites configobj tzlocal click click-log"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/khal/slack-desc b/office/khal/slack-desc
new file mode 100644
index 0000000000..682ffa4f0e
--- /dev/null
+++ b/office/khal/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+khal: khal (terminal/cli calendar program)
+khal:
+khal: Khal is a standards based CLI and terminal calendar program, able to
+khal: synchronize with CalDAV servers through vdirsyncer.
+khal:
+khal:
+khal:
+khal:
+khal:
+khal:
+khal:
diff --git a/office/khard/README b/office/khard/README
new file mode 100644
index 0000000000..af27ba5d3a
--- /dev/null
+++ b/office/khard/README
@@ -0,0 +1,13 @@
+Khard is an address book for the Unix console. It creates, reads,
+modifies and removes vCard address book entries at your local machine.
+Khard is also compatible to the email clients mutt and alot and the
+SIP client twinkle.
+
+Warning: If you want to create or modify contacts with khard, beware
+that the vcard standard is very inconsistent and lacks interoperability
+Different actors in that sector have defined their own extensions and
+even produce non-standard output. A good example is the type value,
+which is tied to phone numbers, email and post addresses. Khard tries to
+avoid such incompatibilities but if you sync your contacts with an
+Android or iOS device, expect problems. You are on the safe side, if you
+only use khard to read contacts.
diff --git a/office/TaskCoach/TaskCoach.SlackBuild b/office/khard/khard.SlackBuild
index 60b3accd63..c55da17b8b 100644
--- a/office/TaskCoach/TaskCoach.SlackBuild
+++ b/office/khard/khard.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for TaskCoach
+# Slackware build script for khard
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022 Tonus Paris
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=TaskCoach
-VERSION=${VERSION:-1.4.3}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=khard
+VERSION=${VERSION:-0.19.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,24 +76,23 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
+python3 setup.py install --root=$PKG
+
+# Strip binaries and libraries.
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/applications
-install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 icons.in/${PRGNAM,,}.png $PKG/usr/share/pixmaps/${PRGNAM,,}.png
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.rst doc/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/khard/khard.info b/office/khard/khard.info
new file mode 100644
index 0000000000..7e5cd97d46
--- /dev/null
+++ b/office/khard/khard.info
@@ -0,0 +1,10 @@
+PRGNAM="khard"
+VERSION="0.19.1"
+HOMEPAGE="https://github.com/scheibler/khard/"
+DOWNLOAD="https://files.pythonhosted.org/packages/0d/00/215a69d2ae96cac511a6594116958bf13e210dd24f78c48f5ffaf039edec/khard-0.19.1.tar.gz"
+MD5SUM="2659cd0e0038ab1d81c50ea51b3d4951"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-setuptools-opt Unidecode vobject python3-ruamel.yaml python3-atomicwrites configobj"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/khard/slack-desc b/office/khard/slack-desc
new file mode 100644
index 0000000000..d7555ca3b3
--- /dev/null
+++ b/office/khard/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+khard: khard (an address book for the Unix console)
+khard:
+khard:
+khard: Khard is an address book for the Unix console.
+khard: It creates, reads, modifies and removes carddav address book entries
+khard: at your local machine.
+khard:
+khard: Khard is also compatible to the email clients mutt and alot and the
+khard: SIP client twinkle.
+khard:
+khard:
diff --git a/office/kmymoney/README b/office/kmymoney/README
deleted file mode 100644
index c29ae0682c..0000000000
--- a/office/kmymoney/README
+++ /dev/null
@@ -1,4 +0,0 @@
-KmyMoney is a simple financial accounting manager for KDE for personal or
-small-business use. It is a full double-entry accounting software package.
-libofx 0.9.4+ is an optional dependency to support ofxbanking.
-agbanking and gwenhywfar are optional dependencies to support Kbanking.
diff --git a/office/kmymoney/kmymoney.SlackBuild b/office/kmymoney/kmymoney.SlackBuild
deleted file mode 100644
index e9e4562259..0000000000
--- a/office/kmymoney/kmymoney.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for kmymoney
-
-# Copyright 2016-2018 Christophe Nguyen, France
-# Copyright 2010-2014 Gilcio Amaral <gilcio.amaral@gmail.com>
-# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=kmymoney
-VERSION=${VERSION:-4.8.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
-cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
-
- make VERBOSE=1
- make install VERBOSE=1 DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING ChangeLog* INSTALL README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-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/office/kmymoney/kmymoney.info b/office/kmymoney/kmymoney.info
deleted file mode 100644
index 2a68b6c3a7..0000000000
--- a/office/kmymoney/kmymoney.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kmymoney"
-VERSION="4.8.3"
-HOMEPAGE="http://www.kmymoney.org"
-DOWNLOAD="https://download.kde.org/stable/kmymoney/4.8.3/src/kmymoney-4.8.3.tar.xz"
-MD5SUM="65b9921410da502bff4713e94d4042f9"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libalkimia"
-MAINTAINER="Christophe Nguyen"
-EMAIL="cnguyenminhtan@free.fr"
diff --git a/office/kraft/README b/office/kraft/README
new file mode 100644
index 0000000000..8643754c61
--- /dev/null
+++ b/office/kraft/README
@@ -0,0 +1,19 @@
+Kraft is a free software project that helps to create office documents
+especially for small enterprise operators such as handcrafters.
+It is a Qt/KF5 based desktop software with a strong focus on ease of use
+and a 'just enough' feature set for the use case.
+
+These features are provided:
+- Customer management, deeply integrated in the KDE using KAddressbook
+- Automatted creation of offers, invoices and similar documents
+- Text templates
+- Calculation
+- Material management
+- Configurable document creation in PDF format
+
+The project also provides an Appimage but at least on Slackware 15.0
+the KAddressbook integration via akonadi does not work.
+The currency format used by the software is inherited from the regional
+settings of your desktop environment.
+
+To compute PDF watermarks kraft uses "PyPDF2" (optional dependency)
diff --git a/office/kraft/doinst.sh b/office/kraft/doinst.sh
new file mode 100644
index 0000000000..f52656c197
--- /dev/null
+++ b/office/kraft/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/eqonomize/eqonomize.SlackBuild b/office/kraft/kraft.SlackBuild
index 45f228fa80..53bb9a344c 100644
--- a/office/eqonomize/eqonomize.SlackBuild
+++ b/office/kraft/kraft.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
-
-# Slackware build script for eqonomize
-
-# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+#!/bin/bash
+#
+# Slackware build script for kraft
+#
+# Copyright 2023 Alexander Schultz <alexander_schultz@posteo.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=eqonomize
-VERSION=${VERSION:-0.6}
-BUILD=${BUILD:-3}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kraft
+VERSION=${VERSION:-1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,10 +42,10 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -54,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -62,29 +69,28 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Fix doctype version
-sed -i "s/V4.1.2-Based/V4.2-Based/" doc/{en,fr}/index.docbook
-
-cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX="$LIBDIRSUFFIX" \
- .
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKCOV_INSTALL_MANDIR=/usr/man \
+ -DKCOV_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION ..
+cp ../manual/*.html manual/
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -92,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/kraft/kraft.info b/office/kraft/kraft.info
new file mode 100644
index 0000000000..e731749131
--- /dev/null
+++ b/office/kraft/kraft.info
@@ -0,0 +1,10 @@
+PRGNAM="kraft"
+VERSION="1.0"
+HOMEPAGE="https://volle-kraft-voraus.de/"
+DOWNLOAD="https://github.com/dragotin/kraft/archive/refs/tags/v1.0/kraft-1.0.tar.gz"
+MD5SUM="7c90e0b0ba42cd14a2f78e9caa65bb94"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ctemplate python3-reportlab"
+MAINTAINER="Alexander Schultz"
+EMAIL="alexander_schultz@posteo.se"
diff --git a/office/sc-im/slack-desc b/office/kraft/slack-desc
index d0321b449a..60352c0a58 100644
--- a/office/sc-im/slack-desc
+++ b/office/kraft/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-sc-im: sc-im (spreadsheet)
-sc-im:
-sc-im: SC-IM is a spreadsheet program that is based on SC
-sc-im:
-sc-im: SC-IM - Spreadsheet Calculator Improvised
-sc-im: An ncurses spreadsheet program for terminal
-sc-im:
-sc-im:
-sc-im: https://github.com/andmarti1424/sc-im
-sc-im:
-sc-im:
+kraft: kraft (office documents software)
+kraft:
+kraft: Kraft is a Qt/KF5 based desktop software that helps to create office
+kraft: documents especially for small enterprise operators such as
+kraft: handcrafters.
+kraft:
+kraft: Homepage: https://volle-kraft-voraus.de/
+kraft:
+kraft:
+kraft:
+kraft:
diff --git a/office/krop/README b/office/krop/README
index 780083460d..c6c208c595 100644
--- a/office/krop/README
+++ b/office/krop/README
@@ -1,7 +1,16 @@
-Krop is a simple graphical tool to crop the pages of PDF files. It is
-written in Python and relies on PyQt, python-poppler-qt4, and PyPDF for
-its functionality. It features automatic margin cropping.
+krop is a simple graphical tool to crop the pages of PDF files.
+
+It is written in Python and relies on python-poppler-qt5 or
+python3-PyMuPDF for rendering, and pypdf/python3-PyPDF2 or pikepdf or
+python3-PyMuPDF for cropping. It features automatic margin cropping.
Krop can automatically split pages into subpages to fit the limited
screen size of devices such as eReaders. This is particularly useful, if
your eReader does not support convenient scrolling.
+
+This script has no build dependencies.
+
+Two runtime dependencies to be choosen from the following options:
+* python-poppler-qt5 or python3-PyMuPDF
+* pypdf (version > 3) or python3-PyPDF2 or pikepdf or python3-PyMuPDF
+They are autodetected or set manually using options.
diff --git a/office/krop/krop.SlackBuild b/office/krop/krop.SlackBuild
index 9c49d8e7cd..b768e7ec12 100644
--- a/office/krop/krop.SlackBuild
+++ b/office/krop/krop.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for krop
-# Copyright 2018, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2018-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=krop
-VERSION=${VERSION:-0.5.1}
+VERSION=${VERSION:-0.6.1_e96d42b}
+COMMIT="e96d42b2f1ab4317efe37cab498b708663bc104c"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,33 +39,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- 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
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,11 +63,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i 's/import sys.*/&\nsys.argv.append("--no-qt5")/' krop/config.py
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -81,8 +71,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/share/applications
install -m 0644 -o root -g root krop.desktop $PKG/usr/share/applications/
-mkdir -p $PKG/usr/man/man1
-gzip -c9 krop.1 > $PKG/usr/man/man1/krop.1.gz
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
@@ -93,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/office/krop/krop.info b/office/krop/krop.info
index 27b6f3f9de..0410cf1288 100644
--- a/office/krop/krop.info
+++ b/office/krop/krop.info
@@ -1,10 +1,10 @@
PRGNAM="krop"
-VERSION="0.5.1"
+VERSION="0.6.1_e96d42b"
HOMEPAGE="http://arminstraub.com/computer/krop"
-DOWNLOAD="https://github.com/arminstraub/krop/archive/v0.5.1/krop-0.5.1.tar.gz"
-MD5SUM="ce3043ce29462d89c69e37d08097ab73"
+DOWNLOAD="https://github.com/arminstraub/krop/archive/e96d42b/krop-e96d42b2f1ab4317efe37cab498b708663bc104c.tar.gz"
+MD5SUM="9ddb0caa00585882e4d3b081bf5b3b4f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-poppler-qt4 PyPDF2"
+REQUIRES="%README% python-poppler-qt5 python3-PyPDF2"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/krop/slack-desc b/office/krop/slack-desc
index 70a7966932..16e3c34354 100644
--- a/office/krop/slack-desc
+++ b/office/krop/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
krop: krop (a tool to crop pdf files)
krop:
-krop: Krop is a simple graphical tool to crop the pages of PDF files. It is
-krop: written in Python and relies on PyQt, python-poppler-qt4, and PyPDF
-krop: for its functionality. It features automatic margin cropping.
+krop: krop is a simple graphical tool to crop the pages of PDF files. It is
+krop: written in Python and relies on python-poppler-qt5 or PyMuPDF for
+krop: rendering, and pypdf/PyPDF2 or pikepdf or PyMuPDF for cropping. It
+krop: features automatic margin cropping.
krop:
krop:
krop: Homepage: http://arminstraub.com/computer/krop
krop:
krop:
-krop:
diff --git a/office/kuro-legacy/README b/office/kuro-legacy/README
new file mode 100644
index 0000000000..92cefab462
--- /dev/null
+++ b/office/kuro-legacy/README
@@ -0,0 +1,9 @@
+Kuro-legacy is the last avaible kuro version for
+32bits arch.
+
+Kuro is an unofficial, featureful, open source,
+community-driven,free Microsoft To-Do app for Linux
+made by David Morais.
+
+Kuro is a fork of Ao wich is no longer actively
+maintained.
diff --git a/office/kuro-legacy/doinst.sh b/office/kuro-legacy/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/office/kuro-legacy/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/marave/marave.SlackBuild b/office/kuro-legacy/kuro-legacy.SlackBuild
index d4b90cedd0..40d8484627 100644
--- a/office/marave/marave.SlackBuild
+++ b/office/kuro-legacy/kuro-legacy.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for marave
+# Slackware build script for kuro
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2023 Tonus Paris
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=marave
-VERSION=${VERSION:-0.7}
-SRCVER=${SRCVER:-master}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kuro-legacy
+SRCNAM=kuro
+VERSION=${VERSION:-8.1.6}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
+elif [ "$ARCH" = "i586" ]; then
+ DEBARCH="i386"
+else
+ echo "Sorry, the Kuro binary is currently available for x86_64 and i386 only."
+ exit 1
+fi
+
+if [ ! -z "${PRINT_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,10 +75,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$SRCVER
-unzip $CWD/$PRGNAM-$SRCVER.zip || unzip $CWD/$SRCVER.zip
-cd $PRGNAM-$SRCVER
+cd $PKG
+ar p $CWD/${SRCNAM}_${VERSION}_$DEBARCH.deb data.tar.xz | tar xJv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,19 +84,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-
-mkdir -p $PKG/usr/share/applications
-install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 marave/icons/marave.svg $PKG/usr/share/pixmaps/marave.svg
+# create soft link for launcher
+mkdir -p $PKG/usr/bin
+ln -sf ../../opt/Kuro/$SRCNAM $PKG/usr/bin/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$SRCNAM/changelog.gz $PKG/usr/doc/$PRGNAM-$VERSION
+rm -fR $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -90,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/office/kuro-legacy/kuro-legacy.info b/office/kuro-legacy/kuro-legacy.info
new file mode 100644
index 0000000000..042170dbb9
--- /dev/null
+++ b/office/kuro-legacy/kuro-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="kuro-legacy"
+VERSION="8.1.6"
+HOMEPAGE="https://github.com/davidsmorais/kuro"
+DOWNLOAD="https://github.com/davidsmorais/kuro/releases/download/v8.1.6/kuro_8.1.6_i386.deb"
+MD5SUM="f99743f6792d18caa8396a24a8de3387"
+DOWNLOAD_x86_64="https://github.com/davidsmorais/kuro/releases/download/v8.1.6/kuro_8.1.6_amd64.deb"
+MD5SUM_x86_64="6fe7cb04905bc3037059124339138949"
+REQUIRES=""
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/kuro-legacy/slack-desc b/office/kuro-legacy/slack-desc
new file mode 100644
index 0000000000..4cf1530eef
--- /dev/null
+++ b/office/kuro-legacy/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+kuro-legacy: kuro-legacy (unofficial free Microsoft To-Do app)
+kuro-legacy:
+kuro-legacy: This is the last Kuro version avaible for 32bits arch.
+kuro-legacy:
+kuro-legacy: kuro is an unofficial, featureful, open source, community-driven,
+kuro-legacy: free Microsoft To-Do app for Linux made by David Morais
+kuro-legacy:
+kuro-legacy: kuro is a fork of Ao wich is no longer actively maintained
+kuro-legacy:
+kuro-legacy:
+kuro-legacy:
diff --git a/office/kuro/README b/office/kuro/README
new file mode 100644
index 0000000000..9b6b325d26
--- /dev/null
+++ b/office/kuro/README
@@ -0,0 +1,21 @@
+Kuro is an unofficial, featureful, open source, community-driven, free
+Microsoft To-Do app for Linux made by David Morais.
+
+Kuro is a fork of Ao wich is no longer actively maintained.
+
+Warning : changes
+
+It is highly recommended you delete your ~/.kuro.jsonconfiguration file
+in order to have the new keyboard shortcuts and the default theme.
+
+Kuro 9 fundamentally changes the way one of Kuro's most important
+feature works:
+
+Recently, Microsoft finally released the dark theme implementation for
+the web version of their ToDo app, they call it Night Mode.
+Instead of coming pre-packed the 4 themes (Dark, Black, Dracula &
+Sepia), Kuro will now use its repurposed Ctrl + H shortcut to toggle
+between Microsoft ToDo's Night Mode.
+
+And starting with Kuro 9, you'll be able to create and use your own
+themes with Kuro !
diff --git a/office/kuro/doinst.sh b/office/kuro/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/office/kuro/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/kuro/kuro.SlackBuild b/office/kuro/kuro.SlackBuild
new file mode 100644
index 0000000000..5915204426
--- /dev/null
+++ b/office/kuro/kuro.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for kuro
+
+# Copyright 2023 Tonus Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kuro
+VERSION=${VERSION:-9.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
+elif [ "$ARCH" = "i586" ]; then
+ DEBARCH="i386"
+else
+ echo "Sorry, the Kuro binary is currently available for x86_64 and i386 only."
+ exit 1
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/${PRGNAM}_${VERSION}_$DEBARCH.deb data.tar.xz | tar xJv
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# create soft link for launcher
+mkdir -p $PKG/usr/bin
+ln -sf ../../opt/Kuro/$PRGNAM $PKG/usr/bin/$PRGNAM
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/changelog.gz $PKG/usr/doc/$PRGNAM-$VERSION
+rm -fR $PKG/usr/share/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/kuro/kuro.info b/office/kuro/kuro.info
new file mode 100644
index 0000000000..ff245b06cb
--- /dev/null
+++ b/office/kuro/kuro.info
@@ -0,0 +1,10 @@
+PRGNAM="kuro"
+VERSION="9.0.0"
+HOMEPAGE="https://github.com/davidsmorais/kuro"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/davidsmorais/kuro/releases/download/v9.0.0/kuro_9.0.0_amd64.deb"
+MD5SUM_x86_64="bfd5cb54e57ca27ef96139c0a8f1eda1"
+REQUIRES=""
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/kuro/slack-desc b/office/kuro/slack-desc
new file mode 100644
index 0000000000..db02b59415
--- /dev/null
+++ b/office/kuro/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+kuro: kuro (unofficial free Microsoft To-Do app)
+kuro:
+kuro:
+kuro:
+kuro: kuro is an unofficial, featureful, open source, community-driven,
+kuro: free Microsoft To-Do app for Linux made by David Morais
+kuro:
+kuro: kuro is a fork of Ao wich is no longer actively maintained
+kuro:
+kuro:
+kuro:
diff --git a/office/latex2rtf/README b/office/latex2rtf/README
index a6712d3019..cbb0cc98ac 100644
--- a/office/latex2rtf/README
+++ b/office/latex2rtf/README
@@ -1,9 +1,10 @@
-latex2rtf is a translator program to convert LaTeX formatted text files into
-"rich text format" (RTF) files. RTF is a published standard format by
-Microsoft. This standard can be ambiguous in places, but RTF is supported by
-many text editors. Specifically, it is supported by Microsoft Word. This means
-that the conversion of a LaTeX document to RTF allows anyone with a copy of
-Word to convert LaTeX files to Word .doc or .docx files.
+latex2rtf is a translator program to convert LaTeX formatted text
+files into "rich text format" (RTF) files. RTF is a published standard
+format by Microsoft. This standard can be ambiguous in places, but RTF
+is supported by many text editors. Specifically, it is supported by
+Microsoft Word. This means that the conversion of a LaTeX document to
+RTF allows anyone with a copy of Word to convert LaTeX files to Word
+.doc or .docx files.
Features
@@ -15,6 +16,6 @@ Features
- Conversion of cross-references
- Conversion of bibliographies
-latex2rtf translates the text and as much of the formatting information from
-LaTeX to RTF. Be forewarned that the typeset output is not nearly as good as
-what you would get from using LaTeX directly.
+latex2rtf translates the text and as much of the formatting
+information from LaTeX to RTF. Be forewarned that the typeset output
+is not nearly as good as what you would get from using LaTeX directly.
diff --git a/office/latex2rtf/latex2rtf.SlackBuild b/office/latex2rtf/latex2rtf.SlackBuild
index d926885a3e..7dfc0602cb 100644
--- a/office/latex2rtf/latex2rtf.SlackBuild
+++ b/office/latex2rtf/latex2rtf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for latex2rtf
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=latex2rtf
VERSION=${VERSION:-2.3.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/latex2rtf/latex2rtf.info b/office/latex2rtf/latex2rtf.info
index 83d9783a2f..8fac2beeba 100644
--- a/office/latex2rtf/latex2rtf.info
+++ b/office/latex2rtf/latex2rtf.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/latex2rtf/files/latex2rtf-unix/2.3.17
MD5SUM="025a6b779eb6ca1c86da71a284e7459f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="texlive"
+REQUIRES=""
MAINTAINER="Nitish Ragoomundun"
EMAIL="lrugratz@gmail.com"
diff --git a/office/latexdiff/latexdiff.SlackBuild b/office/latexdiff/latexdiff.SlackBuild
index 61ffae61d2..eb19b9c6dc 100644
--- a/office/latexdiff/latexdiff.SlackBuild
+++ b/office/latexdiff/latexdiff.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for latexdiff
-# Copyright 2018 Dominik Drobek <dominik.drobek (at) o2.pl>
+# Copyright 2018, 2020 Dominik Drobek <dominik.drobek (at) o2.pl>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,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=latexdiff
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.3.1.1}
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/office/latexdiff/latexdiff.info b/office/latexdiff/latexdiff.info
index eb10f1d567..7756e6662b 100644
--- a/office/latexdiff/latexdiff.info
+++ b/office/latexdiff/latexdiff.info
@@ -1,8 +1,8 @@
PRGNAM="latexdiff"
-VERSION="1.3.0"
+VERSION="1.3.1.1"
HOMEPAGE="https://www.ctan.org/tex-archive/support/latexdiff"
-DOWNLOAD="https://github.com/ftilmann/latexdiff/releases/download/1.3.0/latexdiff-1.3.0.tar.gz"
-MD5SUM="b8cdd944ad6c459c78a9ec75cfb0b3c2"
+DOWNLOAD="https://github.com/ftilmann/latexdiff/releases/download/1.3.1.1/latexdiff-1.3.1.1.tar.gz"
+MD5SUM="1f1b3f8ace259e24e0c3d8cad5f85dc6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/lcal/README b/office/lcal/README
index 3948b0de71..539bafdfb8 100644
--- a/office/lcal/README
+++ b/office/lcal/README
@@ -1,4 +1,4 @@
LCAL is a multi-platform (Unix/Linux, DOS, DOS+DJGPP, Windows+Cygwin)
-program which generates full-year PostScript lunar (moon phase) calendars
-in a 2-page format, a compressed 1-page format, or an "odd-days-only"
-1-page format.
+program which generates full-year PostScript lunar (moon phase)
+calendars in a 2-page format, a compressed 1-page format, or an
+"odd-days-only" 1-page format.
diff --git a/office/lcal/lcal.SlackBuild b/office/lcal/lcal.SlackBuild
index 764fd697aa..99b92b40a1 100644
--- a/office/lcal/lcal.SlackBuild
+++ b/office/lcal/lcal.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lcal
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lcal
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/office/leafpad/README b/office/leafpad/README
index bd644ff65a..a3ccf89d2e 100644
--- a/office/leafpad/README
+++ b/office/leafpad/README
@@ -1,6 +1,8 @@
+Leafpad (a notepad clone for GTK+ 2.0)
+
Leafpad is a simple GTK+ text editor that emphasizes simplicity. As
development focuses on keeping weight down to a minimum, only the most
essential features are implemented in the editor. Leafpad is simple to
use, is easily compiled, requires few libraries, and starts up quickly.
-libgnomeprint & libgnomeprintui are optional dependencies.
+Atril or Evince are optional dependencies for print preview.
diff --git a/office/leafpad/doinst.sh b/office/leafpad/doinst.sh
index 4a25de5e6f..65c7e2eeb9 100644
--- a/office/leafpad/doinst.sh
+++ b/office/leafpad/doinst.sh
@@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
diff --git a/office/leafpad/leafpad.SlackBuild b/office/leafpad/leafpad.SlackBuild
index 36e18742c5..bd24490e28 100644
--- a/office/leafpad/leafpad.SlackBuild
+++ b/office/leafpad/leafpad.SlackBuild
@@ -1,30 +1,38 @@
-#!/bin/sh
+#!/bin/bash
+
# Slackware build script for leafpad
-# Copyright 2007-2010 Grigorios Bouzakis <grbzks@xsmail.com>
-# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
+# Copyright 2007-2010 Grigorios Bouzakis
+# Copyright 2014 Ryan P.C. McQuen, WA
# Copyright 2017 Donald Cooley, South Haven, IN, USA
+# Copyright 2022 Brandon Pribula, BC Canada
+# Copyright 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
-# Permission to use, copy, modify, and distribute this software for any purpose
-# with or without fee is hereby granted, provided that the above copyright
-# notice and this permission notice appear in all copies.
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
-# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=leafpad
-VERSION=${VERSION:-0.8.18.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.8.19}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -53,7 +65,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+DOCS="AUTHORS COPYING ChangeLog NEWS README"
set -e
@@ -66,9 +78,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,11 +96,19 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+sed "/^Encoding/d" -i $PKG/usr/share/applications/$PRGNAM.desktop
+
+# Remove broken icon
+rm $PKG/usr/share/pixmaps/leafpad.xpm
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man/ -type f -exec gzip -9 {} +
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -96,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/office/leafpad/leafpad.info b/office/leafpad/leafpad.info
index 732f6ee923..dc96ecb49f 100644
--- a/office/leafpad/leafpad.info
+++ b/office/leafpad/leafpad.info
@@ -1,10 +1,10 @@
PRGNAM="leafpad"
-VERSION="0.8.18.1"
+VERSION="0.8.19"
HOMEPAGE="http://tarot.freeshell.org/leafpad/"
-DOWNLOAD="http://savannah.nongnu.org/download/leafpad/leafpad-0.8.18.1.tar.gz"
-MD5SUM="254a72fc67505e3aa52884c729cd7b97"
+DOWNLOAD="https://download.savannah.gnu.org/releases/leafpad/leafpad-0.8.19.tar.gz"
+MD5SUM="2fa09a4d80884d32a9b5e4e80c7bbdd7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/leafpad/slack-desc b/office/leafpad/slack-desc
index 66d6b107b4..faff84963b 100644
--- a/office/leafpad/slack-desc
+++ b/office/leafpad/slack-desc
@@ -14,6 +14,6 @@ leafpad: only the most essential features are implemented in the editor.
leafpad: Leafpad is simple to use, it's easily compiled, requires few
leafpad: libraries, and starts up quickly.
leafpad:
-leafpad: Homepage: http://tarot.freeshell.org/leafpad/
+leafpad: http://tarot.freeshell.org/leafpad/
leafpad:
leafpad:
diff --git a/office/ledger-live/20-hw1.rules b/office/ledger-live/20-hw1.rules
new file mode 100644
index 0000000000..5928fd429c
--- /dev/null
+++ b/office/ledger-live/20-hw1.rules
@@ -0,0 +1,14 @@
+# HW.1 / Nano
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2581", ATTRS{idProduct}=="1b7c|2b7c|3b7c|4b7c", TAG+="uaccess", TAG+="udev-acl"
+# Blue
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0000|0000|0001|0002|0003|0004|0005|0006|0007|0008|0009|000a|000b|000c|000d|000e|000f|0010|0011|0012|0013|0014|0015|0016|0017|0018|0019|001a|001b|001c|001d|001e|001f", TAG+="uaccess", TAG+="udev-acl"
+# Nano S
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001|1000|1001|1002|1003|1004|1005|1006|1007|1008|1009|100a|100b|100c|100d|100e|100f|1010|1011|1012|1013|1014|1015|1016|1017|1018|1019|101a|101b|101c|101d|101e|101f", TAG+="uaccess", TAG+="udev-acl"
+# Aramis
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0002|2000|2001|2002|2003|2004|2005|2006|2007|2008|2009|200a|200b|200c|200d|200e|200f|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019|201a|201b|201c|201d|201e|201f", TAG+="uaccess", TAG+="udev-acl"
+# HW2
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0003|3000|3001|3002|3003|3004|3005|3006|3007|3008|3009|300a|300b|300c|300d|300e|300f|3010|3011|3012|3013|3014|3015|3016|3017|3018|3019|301a|301b|301c|301d|301e|301f", TAG+="uaccess", TAG+="udev-acl"
+# Nano X
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0004|4000|4001|4002|4003|4004|4005|4006|4007|4008|4009|400a|400b|400c|400d|400e|400f|4010|4011|4012|4013|4014|4015|4016|4017|4018|4019|401a|401b|401c|401d|401e|401f", TAG+="uaccess", TAG+="udev-acl"
+# Ledger Test
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0005|5000|5001|5002|5003|5004|5005|5006|5007|5008|5009|500a|500b|500c|500d|500e|500f|5010|5011|5012|5013|5014|5015|5016|5017|5018|5019|501a|501b|501c|501d|501e|501f", TAG+="uaccess", TAG+="udev-acl" \ No newline at end of file
diff --git a/office/ledger-live/README b/office/ledger-live/README
new file mode 100644
index 0000000000..f006072b4b
--- /dev/null
+++ b/office/ledger-live/README
@@ -0,0 +1,14 @@
+A manager for your Ledger hardware wallet.
+Install applications, update firmware, buy crypto, etc.
+------------------------------------------------------------
+This SlackBuild downloads and installs the official AppImage
+under '/opt'.
+
+Official description (beware marketing buzzwords)
+================================================
+Ledger Live is our platform of apps and services integrated specifically
+to work with your Nano device. It functions as a secure gateway to the
+crypto ecosystem. This means accessing a variety of crypto, NFT and DeFi
+based services directly and seamlessly from your hardware wallet – a
+better, simpler user experience that bypasses a major security concern
+known as blind signing.
diff --git a/office/ledger-live/doinst.sh b/office/ledger-live/doinst.sh
new file mode 100644
index 0000000000..1f2229e32d
--- /dev/null
+++ b/office/ledger-live/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /sbin/udevadm ]; then
+ /sbin/udevadm control --reload-rules
+fi
+
diff --git a/office/ledger-live/ledger-live.SlackBuild b/office/ledger-live/ledger-live.SlackBuild
new file mode 100644
index 0000000000..63cc90b4ed
--- /dev/null
+++ b/office/ledger-live/ledger-live.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# Slackware build script for ledger-live
+
+# Copyright 2022 Ivan Kovmir <ikovmir@uninstance.cc>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd "$(dirname "$0")" ; CWD=$(pwd)
+
+PRGNAM=ledger-live
+VERSION=${VERSION:-2.73.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH="${ARCH:-$(uname -m)}"
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported for $PRGNAM-$VERSION."
+ exit 1;
+fi
+
+if [ -n "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP="${TMP:-/tmp/SBo}"
+PKG="$TMP/package-$PRGNAM"
+OUTPUT="${OUTPUT:-/tmp}"
+
+APPIMGNAM="ledger-live-desktop-$VERSION-linux-$ARCH.AppImage"
+NAMVER="$PRGNAM-$VERSION"
+
+set -e
+
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
+mkdir -p "$PKG/install"
+mkdir -p "$PKG/lib/udev/rules.d"
+mkdir -p "$PKG/usr/doc/$NAMVER"
+mkdir -p "$PKG/usr/share/$NAMVER"
+mkdir -p "$PKG/usr/share/applications"
+mkdir -p "$PKG/usr/bin"
+mkdir -p "$PKG/opt"
+chmod 0755 "$CWD/$APPIMGNAM"
+cd "$PKG/opt"
+"$CWD/$APPIMGNAM" --appimage-extract
+mv squashfs-root "$NAMVER"
+
+# Strip symbols.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Fix permissions.
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs chmod +x
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 -o -perm 700 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Executable and *.desktop file.
+ln -s "../../opt/$NAMVER/AppRun" "$PKG/usr/bin/$PRGNAM"
+ln -s "../../../opt/$NAMVER/ledger-live-desktop.desktop" "$PKG/usr/share/applications/$PRGNAM.desktop"
+# UDEV rules.
+cp "$CWD/20-hw1.rules" "$PKG/lib/udev/rules.d/20-h1.rules"
+
+cp "$CWD/$PRGNAM.SlackBuild" "$PKG/usr/doc/$NAMVER/$PRGNAM.SlackBuild"
+cp "$CWD/README" "$PKG/usr/doc/$NAMVER/README"
+cp "$CWD/slack-desc" "$PKG/install/slack-desc"
+cp "$CWD/doinst.sh" "$PKG/install/doinst.sh"
+
+cd "$PKG"
+/sbin/makepkg -l y -c n "$OUTPUT/$NAMVER-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/office/ledger-live/ledger-live.info b/office/ledger-live/ledger-live.info
new file mode 100644
index 0000000000..3156f75fd2
--- /dev/null
+++ b/office/ledger-live/ledger-live.info
@@ -0,0 +1,10 @@
+PRGNAM="ledger-live"
+VERSION="2.73.1"
+HOMEPAGE="https://www.ledger.com/ledger-live"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.live.ledger.com/ledger-live-desktop-2.73.1-linux-x86_64.AppImage"
+MD5SUM_x86_64="657330614749e7da7054f8cb50f4b452"
+REQUIRES=""
+MAINTAINER="Ivan Kovmir"
+EMAIL="i@kovmir.eu"
diff --git a/office/ledger-live/slack-desc b/office/ledger-live/slack-desc
new file mode 100644
index 0000000000..b9ac3cfad1
--- /dev/null
+++ b/office/ledger-live/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+ledger-live: ledger-live (Ledger Hardware Wallet Manager)
+ledger-live:
+ledger-live: A manager for your Ledger hardware wallet.
+ledger-live: Install applications, update firmware, buy crypto, etc.
+ledger-live:
+ledger-live:
+ledger-live:
+ledger-live:
+ledger-live:
+ledger-live: https://librewolf.net/
+ledger-live:
diff --git a/office/libreoffice-helppack/libreoffice-helppack.SlackBuild b/office/libreoffice-helppack/libreoffice-helppack.SlackBuild
index d7e4800ce5..1152e6eb05 100644
--- a/office/libreoffice-helppack/libreoffice-helppack.SlackBuild
+++ b/office/libreoffice-helppack/libreoffice-helppack.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LibreOffice Help Packs
# Copyright 2013-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libreoffice-helppack
-VERSION=${VERSION:-"6.2.4"}
+VERSION=${VERSION:-"24.2.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
LOLANG=${LOLANG:-en-US}
PKG_LANG=${LOLANG//-/_}
@@ -43,11 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
# Change source package name
if [ "$ARCH" = "x86_64" ]; then
SRCARCH="x86-64"
@@ -62,6 +60,18 @@ else
LIBDIRSUFFIX=""
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "${PRGNAM}_${PKG_LANG}-$VERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
# Concatenate all parts to get the full name of the tarball
@@ -101,4 +111,4 @@ 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 {} \;
-/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}_${PKG_LANG}-${VERSION}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}_${PKG_LANG}-${VERSION}-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/libreoffice-helppack/libreoffice-helppack.info b/office/libreoffice-helppack/libreoffice-helppack.info
index bc4a7397c9..e51c799a13 100644
--- a/office/libreoffice-helppack/libreoffice-helppack.info
+++ b/office/libreoffice-helppack/libreoffice-helppack.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice-helppack"
-VERSION="6.2.4"
+VERSION="24.2.2"
HOMEPAGE="https://www.libreoffice.org"
-DOWNLOAD="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86/LibreOffice_6.2.4_Linux_x86_rpm_helppack_en-US.tar.gz"
-MD5SUM="ebf9f2ee75e22305da7421b7ba8968df"
-DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86_64/LibreOffice_6.2.4_Linux_x86-64_rpm_helppack_en-US.tar.gz"
-MD5SUM_x86_64="5e415fa49e1e34c239760c53e86624e0"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/24.2.2/rpm/x86_64/LibreOffice_24.2.2_Linux_x86-64_rpm_helppack_en-US.tar.gz"
+MD5SUM_x86_64="51b02247337c97a95fa873e52a75a991"
REQUIRES="libreoffice"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/office/libreoffice-langpack/README b/office/libreoffice-langpack/README
index f3c8a8b64f..2b74948439 100644
--- a/office/libreoffice-langpack/README
+++ b/office/libreoffice-langpack/README
@@ -10,8 +10,9 @@ and start the SlackBuild as follows:
# LOLANG=xx ./libreoffice-langpack.SlackBuild
This package was prepared for LibreOffice built from here at
-SlackBuilds.org. if you want to build a package compatible with LibreOffice
-built from source (like AlienBOB's packages), start the script as follows:
+SlackBuilds.org. if you want to build a package compatible with
+LibreOffice built from source (like AlienBOB's packages), start the
+script as follows:
# LOLANG=xx ALIEN=yes ./libreoffice-langpack.SlackBuild
diff --git a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
index 82d41191df..5c8cd5a3d1 100644
--- a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
+++ b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LibreOffice Language Packs
# Copyright 2010-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libreoffice-langpack
-VERSION=${VERSION:-"6.2.4"}
+VERSION=${VERSION:-"24.2.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
LOLANG=${LOLANG:-en-GB}
PKG_LANG=${LOLANG//-/_}
@@ -44,11 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
# Change source package name
if [ "$ARCH" = "x86_64" ]; then
SRCARCH="x86-64"
@@ -63,6 +61,18 @@ else
LIBDIRSUFFIX=""
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "${PRGNAM}_${PKG_LANG}-$VERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
# Concatenate all parts to get the full name of the tarball
@@ -116,4 +126,4 @@ if [ "$ALIEN" == "yes" ]; then
cd $PKG
fi
-/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}_${PKG_LANG}-${VERSION}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}_${PKG_LANG}-${VERSION}-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/libreoffice-langpack/libreoffice-langpack.info b/office/libreoffice-langpack/libreoffice-langpack.info
index bb7e893034..2149b7fe31 100644
--- a/office/libreoffice-langpack/libreoffice-langpack.info
+++ b/office/libreoffice-langpack/libreoffice-langpack.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice-langpack"
-VERSION="6.2.4"
+VERSION="24.2.2"
HOMEPAGE="https://www.libreoffice.org"
-DOWNLOAD="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86/LibreOffice_6.2.4_Linux_x86_rpm_langpack_en-GB.tar.gz"
-MD5SUM="11b2fad97ebcd8d6dd504e895919d9f9"
-DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86_64/LibreOffice_6.2.4_Linux_x86-64_rpm_langpack_en-GB.tar.gz"
-MD5SUM_x86_64="2f59d62046864c0bdd8949190e719392"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/24.2.2/rpm/x86_64/LibreOffice_24.2.2_Linux_x86-64_rpm_langpack_en-GB.tar.gz"
+MD5SUM_x86_64="15008149a534cc5340fc1ed2b3c820ae"
REQUIRES="libreoffice"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/office/libreoffice/README b/office/libreoffice/README
index ba40a67252..3e5b418c9a 100644
--- a/office/libreoffice/README
+++ b/office/libreoffice/README
@@ -10,4 +10,6 @@ dependencies not satisfied by a normal installation.
Be sure to look at the script for some optional things you can do when
building.
-NOTE: See the separate SlackBuild script for the language packs.
+NOTE:
+See the separate SlackBuild script for the language packs.
+Avahi is only needed if you need to use Impress and Draw
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index 2e578ffdd8..82137b0e3c 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LibreOffice
-# Copyright 2006.2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA
+# Copyright 2006.2007.2008,2009,2010 Robby Workman, Northport, Alabama, USA
# Copyright 2010-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=libreoffice
-VERSION=${VERSION:-"6.2.4"}
+VERSION=${VERSION:-"24.2.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# These variables seem to change with (almost) every release...
SRCVERSION=$VERSION
@@ -41,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -195,4 +202,4 @@ find -L . \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/libreoffice/libreoffice.info b/office/libreoffice/libreoffice.info
index 681a9e97cd..6482c0a1aa 100644
--- a/office/libreoffice/libreoffice.info
+++ b/office/libreoffice/libreoffice.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice"
-VERSION="6.2.4"
+VERSION="24.2.2"
HOMEPAGE="https://www.libreoffice.org"
-DOWNLOAD="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86/LibreOffice_6.2.4_Linux_x86_rpm.tar.gz"
-MD5SUM="339d054cdb3a13d1ddaf64c0bbc1b239"
-DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86_64/LibreOffice_6.2.4_Linux_x86-64_rpm.tar.gz"
-MD5SUM_x86_64="6eede2c82f5e3362583b5a7c2756f3f5"
-REQUIRES="jdk avahi"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/24.2.2/rpm/x86_64/LibreOffice_24.2.2_Linux_x86-64_rpm.tar.gz"
+MD5SUM_x86_64="cde06aceac2f7eed5b5761a30a072444"
+REQUIRES="zulu-openjdk8 avahi"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/office/lotus123/README b/office/lotus123/README
new file mode 100644
index 0000000000..01928ac68a
--- /dev/null
+++ b/office/lotus123/README
@@ -0,0 +1,22 @@
+lotus123 (Lotus 1-2-3 for Linux)
+
+This is a native port of Lotus 1-2-3 Release 3 to Linux.
+There's an article documenting how this is possible here:
+https://lock.cmpxchg8b.com/linux123.html
+
+The executable and man page are called "123", since this is the
+traditional name for Lotus 1-2-3 on UNIX. The keyedit(1) and
+setup123(1) commands mentioned in the man page have not been
+ported yet.
+
+This software hasn't been maintained in 30 years, so it's a good idea
+to *never* run it as root.
+
+Since this is based on a binary i386 release of 1-2-3, it only builds
+on 32-bit x86. You *might* be able to build in on x86_64 if you have
+AlienBOB's multilib packages installed, but the SlackBuild author
+hasn't tested this. If it won't build on multilib, you can still build
+it on a 32-bit Slackware system, then install the package on multilib
+(it should run just fine).
+
+This will *not* build on ARM or any other non-x86 CPU.
diff --git a/office/lotus123/doinst.sh b/office/lotus123/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/lotus123/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/lotus123/icons/128.png b/office/lotus123/icons/128.png
new file mode 100644
index 0000000000..aed22553e6
--- /dev/null
+++ b/office/lotus123/icons/128.png
Binary files differ
diff --git a/office/lotus123/icons/16.png b/office/lotus123/icons/16.png
new file mode 100644
index 0000000000..26de72fb67
--- /dev/null
+++ b/office/lotus123/icons/16.png
Binary files differ
diff --git a/office/lotus123/icons/22.png b/office/lotus123/icons/22.png
new file mode 100644
index 0000000000..2c5700940a
--- /dev/null
+++ b/office/lotus123/icons/22.png
Binary files differ
diff --git a/office/lotus123/icons/256.png b/office/lotus123/icons/256.png
new file mode 100644
index 0000000000..09e1032b58
--- /dev/null
+++ b/office/lotus123/icons/256.png
Binary files differ
diff --git a/office/lotus123/icons/32.png b/office/lotus123/icons/32.png
new file mode 100644
index 0000000000..7e56c04918
--- /dev/null
+++ b/office/lotus123/icons/32.png
Binary files differ
diff --git a/office/lotus123/icons/48.png b/office/lotus123/icons/48.png
new file mode 100644
index 0000000000..6c6544b40e
--- /dev/null
+++ b/office/lotus123/icons/48.png
Binary files differ
diff --git a/office/lotus123/icons/64.png b/office/lotus123/icons/64.png
new file mode 100644
index 0000000000..2e683efb9f
--- /dev/null
+++ b/office/lotus123/icons/64.png
Binary files differ
diff --git a/office/lotus123/lotus123.SlackBuild b/office/lotus123/lotus123.SlackBuild
new file mode 100644
index 0000000000..5c5bc30338
--- /dev/null
+++ b/office/lotus123/lotus123.SlackBuild
@@ -0,0 +1,160 @@
+#!/bin/bash
+
+# Slackware build script for lotus123
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# This is a very cool hack, though I'm not sure about my own sanity in
+# wanting to package it...
+
+# Purists take note: this really is i386, but since Slackware no
+# longer supports i386 or i486, ARCH is set to i586. That's the
+# minimum Slackware-supported ARCH this will run on.
+
+# I thought about creating and hosting a static binary for x86_64, but
+# statify doesn't support newer kernels (like, the one in Slack 15.0),
+# and Slackware doesn't ship static libraries except libc, so there's
+# no way to statically link ncurses (unless I build static ncurses
+# myself, which I don't much want to do).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lotus123
+SRCNAM=123elf
+DISKNAM=123UNIX
+VERSION=${VERSION:-1.0.0rc4}
+BINUTVER=${BINUTVER:-2.38}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# Don't exit on bad arch/etc here, we want PRINT_PACKAGE_NAME to work.
+# Note that if ARCH=x86_64 or i686, we change it to i586 before
+# printing the package name.
+case "$ARCH" in
+ i?86) ARCH=i586 ;;
+
+ x86_64)
+ if [ "$( /bin/ls /lib/ld-*.so 2>/dev/null )" = "" ]; then
+ MULTI=fail
+ else
+ MULTI=ok
+ ARCH=i586
+ fi ;;
+
+ *) BADARCH=yes ;;
+esac
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$BADARCH" = "yes" ]; then
+ cat <<EOF
+
+***********************************************************************
+Unsupported architecture: $ARCH
+This can only be built on i586, i686, and (maybe) x86_64 with multilib.
+***********************************************************************
+
+EOF
+ exit 1
+elif [ "$MULTI" = "fail" ]; then
+ cat <<EOF
+
+***********************************************************************
+Building on x86_64 is unsupported, and you don't have multilib, so
+it's actually impossible.
+***********************************************************************
+
+EOF
+ exit 1
+elif [ "$MULTI" = "ok" ]; then
+ # I haven't tested on multilib (I don't use it). Good luck.
+ cat <<EOF
+
+***********************************************************************
+Building on x86_64 is unsupported, but you have multilib, so we'll try.
+If it doesn't work, fix it and send the maintainer a patch, or else
+build the package on 32-bit x86 and install it on multilib x86_64.
+***********************************************************************
+
+EOF
+ sleep 3
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+cp $CWD/$DISKNAM?.IMG .
+tar xvf $CWD/binutils-$BINUTVER.tar.xz
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Fix hardcoded man page install path.
+ln -s share/man man
+sed -i 's,share/man,man,g' Makefile
+
+# Our binutils doesn't support COFF, so we have to use this:
+sh binutils.sh
+
+# Extract the files from the disk images.
+sh extract.sh
+
+# Rest of the build is simple from our POV.
+make
+make install prefix=$PKG/usr
+
+strip $PKG/usr/bin/123
+gzip -9 $PKG/usr/man/man*/*
+
+# Icon downloaded from:
+# https://www.deviantart.com/dharmapoa/art/Lotus-1-2-3-Icon-881499542
+# ...and resized with ImageMagick's convert.
+HICOLOR=$PKG/usr/share/icons/hicolor
+for i in $CWD/icons/*.png; do
+ px="$( basename $i .png )"
+ sz="${px}x${px}"
+ dir=$HICOLOR/$sz/apps
+ mkdir -p $dir
+ cat $i > $dir/$PRGNAM.png
+done
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+# .desktop file by SlackBuild author.
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a *.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/lotus123/lotus123.desktop b/office/lotus123/lotus123.desktop
new file mode 100644
index 0000000000..793fa4abce
--- /dev/null
+++ b/office/lotus123/lotus123.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Lotus 1-2-3
+Comment=Spreadsheet
+Exec=123
+Icon=lotus123
+Terminal=true
+Categories=Office;Spreadsheet;
diff --git a/office/lotus123/lotus123.info b/office/lotus123/lotus123.info
new file mode 100644
index 0000000000..1a8158789d
--- /dev/null
+++ b/office/lotus123/lotus123.info
@@ -0,0 +1,22 @@
+PRGNAM="lotus123"
+VERSION="1.0.0rc4"
+HOMEPAGE="https://github.com/taviso/123elf"
+DOWNLOAD="https://github.com/taviso/123elf/archive/v1.0.0rc4/123elf-1.0.0rc4.tar.gz \
+ https://archive.org/download/123-unix/123UNIX1.IMG \
+ https://archive.org/download/123-unix/123UNIX2.IMG \
+ https://archive.org/download/123-unix/123UNIX3.IMG \
+ https://archive.org/download/123-unix/123UNIX4.IMG \
+ https://archive.org/download/123-unix/123UNIX5.IMG \
+ https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.xz"
+MD5SUM="c1d56afbf72353cfc8b1e478dbbb5bb2 \
+ b759a30d019b5c7ae221f6119ff6c821 \
+ d0dba12e243b6d1f2ee8f27cb0a5c986 \
+ aaf8adb12d5915f443b0754ebf0a98d3 \
+ 1752432abf4951589386db4f8ace4c92 \
+ 0965e866b299af5046ec7973e7157211 \
+ 6e39cad1bb414add02b5b1169c18fdc5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/lotus123/slack-desc b/office/lotus123/slack-desc
new file mode 100644
index 0000000000..2a3a548c34
--- /dev/null
+++ b/office/lotus123/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+lotus123: lotus123 (Lotus 1-2-3 for Linux)
+lotus123:
+lotus123: This is a native port of Lotus 1-2-3 Release 3 to Linux.
+lotus123: There's an article documenting how this is possible here:
+lotus123: https://lock.cmpxchg8b.com/linux123.html
+lotus123:
+lotus123: The executable and man page are called "123", since this is the
+lotus123: traditional name for Lotus 1-2-3 on UNIX.
+lotus123:
+lotus123:
+lotus123:
diff --git a/office/lout/doinst.sh b/office/lout/doinst.sh
deleted file mode 100644
index 832dd6e9c0..0000000000
--- a/office/lout/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-( /usr/bin/lout -x -s /usr/share/lout/include/init;
- chmod 644 /usr/share/lout/data/*;
- chmod 644 /usr/share/lout/hyph/* )
diff --git a/office/lout/install-fix.patch b/office/lout/install-fix.patch
deleted file mode 100644
index 00b75ebbe9..0000000000
--- a/office/lout/install-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- lout-3.39-org/makefile 2010-04-21 15:52:47.000000000 -0700
-+++ lout-3.39/makefile 2012-05-14 14:26:11.095459297 -0700
-@@ -386,12 +386,6 @@
- mkdir $(LOUTLIBDIR)/$(LIBLOCA)
- chmod 755 $(LOUTLIBDIR)/$(LIBLOCA)
- @echo ""
-- @echo "(c) Initializing run (should be silent, no errors expected)"
-- $(BINDIR)/lout -x -s $(LOUTLIBDIR)/$(LIBINCL)/init
-- @echo ""
-- @echo "(d) Changing mode of files just created by initializing run"
-- chmod 644 $(LOUTLIBDIR)/$(LIBDATA)/*
-- chmod 644 $(LOUTLIBDIR)/$(LIBHYPH)/*
-
- installman:
- @echo ""
diff --git a/office/lout/lout.SlackBuild b/office/lout/lout.SlackBuild
index 55fa5f4939..d857f6a0b3 100644
--- a/office/lout/lout.SlackBuild
+++ b/office/lout/lout.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lout
@@ -23,38 +23,34 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lout
-VERSION=${VERSION:-3.40}
+VERSION=${VERSION:-3.43}
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"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -64,14 +60,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-patch -p1 < $CWD/install-fix.patch
-
# fixed man page content
sed -i "s/local\/lib/share/g" man/$PRGNAM.1
@@ -94,33 +82,18 @@ export ZLIB=-lz
export ZLIBPATH=
make -e all
-
-export PREFIX=$PKG/usr
-export BINDIR=$PREFIX/bin
-export LOUTLIBDIR=$PREFIX/share/$PRGNAM
-export LOUTDOCDIR=$PREFIX/doc/$PRGNAM-$VERSION
-export MANDIR=$PREFIX/man/man1/
-
-mkdir -p $BINDIR
-mkdir -p $LOUTDOCDIR
-mkdir -p $MANDIR
-mkdir -p $PREFIX/share
-
-make -e allinstall
+make -e allinstall DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/README
cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/
-cp $CWD/$PRGNAM-$VERSION-user.ps.gz $PKG/usr/doc/$PRGNAM-$VERSION/
-find $PKG/usr/doc/$PRGNAM-$VERSION -name "*.ps" | xargs gzip
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/office/lout/lout.info b/office/lout/lout.info
index d86cf98a45..d97de182ca 100644
--- a/office/lout/lout.info
+++ b/office/lout/lout.info
@@ -1,10 +1,8 @@
PRGNAM="lout"
-VERSION="3.40"
-HOMEPAGE="http://savannah.nongnu.org/projects/lout"
-DOWNLOAD="http://download.savannah.gnu.org/releases/lout/lout-3.40.tar.gz \
- http://download.savannah.gnu.org/releases/lout/lout-3.40-user.ps.gz"
-MD5SUM="fd0fe084cebd07fc209d392a2d380755 \
- 07fea75d0d03a3cd783646f638747f18"
+VERSION="3.43"
+HOMEPAGE="https://github.com/william8000/lout"
+DOWNLOAD="https://github.com/william8000/lout/archive/3.43/lout-3.43.tar.gz"
+MD5SUM="b498578b60f52909df014533f5c11401"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/lowdown/README b/office/lowdown/README
new file mode 100644
index 0000000000..31b4b3f3a6
--- /dev/null
+++ b/office/lowdown/README
@@ -0,0 +1,15 @@
+lowdown is a Markdown translator producing HTML5 and roff documents in
+the ms and man formats. It's just clean, secure, open source C code with
+no dependencies. Its canonical documentation is lowdown(1) for the
+formatter, lowdown(5) for the syntax, and the library interface at
+lowdown(3).
+
+lowdown started as a fork of hoedown to add sandboxing (pledge(2),
+capsicum(4), or sandbox_init(3)) and roff output to securely generate
+PDFs on OpenBSD with just mandoc(1).
+
+It has grown to admit many more extensions and outputs, and can even be
+used to show the difference between two Markdown documents with
+lowdown-diff, documented as the lowdown diffing engine. This uses a
+tree-based difference algorithm to show semantically-valid Markdown
+differences.
diff --git a/office/lowdown/lowdown.SlackBuild b/office/lowdown/lowdown.SlackBuild
new file mode 100644
index 0000000000..22c8a1fa71
--- /dev/null
+++ b/office/lowdown/lowdown.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for lowdown
+
+# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com>
+# Copyright 2020, Charles A. Daniels, United States
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20230831 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install the shared library, because lowdown's one dependee, nix,
+# requires it. these two builds have the same maintainer, who is not
+# responding to email.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lowdown
+VERSION=${VERSION:-0.11.2}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib${LIBDIRSUFFIX}
+
+make
+make install install_shared DESTDIR=$PKG
+chmod 0755 $PKG/usr/lib$LIBDIRSUFFIX/liblowdown.so.1
+ln -s liblowdown.so.1 $PKG/usr/lib$LIBDIRSUFFIX/liblowdown.so
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+if [ "$ARCH" = "x86_64" ]; then
+ rm -fR $PKG/usr/lib
+fi
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/lowdown/lowdown.info b/office/lowdown/lowdown.info
new file mode 100644
index 0000000000..ebff1c430b
--- /dev/null
+++ b/office/lowdown/lowdown.info
@@ -0,0 +1,10 @@
+PRGNAM="lowdown"
+VERSION="0.11.2"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+DOWNLOAD="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-0.11.2.tar.gz"
+MD5SUM="3b3e570d568b5b7a556c9b6b0ebbf8c8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Pouria Rezaei"
+EMAIL="Pouria.rz@outlook.com"
diff --git a/office/lowdown/slack-desc b/office/lowdown/slack-desc
new file mode 100644
index 0000000000..d876040958
--- /dev/null
+++ b/office/lowdown/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+lowdown: lowdown (simple markdown translator)
+lowdown:
+lowdown: lowdown is a Markdown translator producing HTML5 and roff documents
+lowdown: in the ms and man formats. It's just clean, secure, open source C code
+lowdown: with no dependencies. Its canonical documentation is lowdown(1) for
+lowdown: the formatter, lowdown(5) for the syntax, and the library interface
+lowdown: at lowdown(3).
+lowdown:
+lowdown: Homepage: https://github.com/Symbian9/lowdown
+lowdown:
+lowdown:
diff --git a/office/lumina-calculator/README b/office/lumina-calculator/README
new file mode 100644
index 0000000000..88d37ddabd
--- /dev/null
+++ b/office/lumina-calculator/README
@@ -0,0 +1 @@
+lumina-calculator is Scientific Calculator for the Lumina Desktop.
diff --git a/office/kchmviewer/doinst.sh b/office/lumina-calculator/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/office/kchmviewer/doinst.sh
+++ b/office/lumina-calculator/doinst.sh
diff --git a/office/lumina-calculator/lumina-calculator.SlackBuild b/office/lumina-calculator/lumina-calculator.SlackBuild
new file mode 100644
index 0000000000..3021ae57bd
--- /dev/null
+++ b/office/lumina-calculator/lumina-calculator.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for lumina-calculator
+
+# Copyright 2019, 2020 Chris Abela, Malta
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lumina-calculator
+VERSION=${VERSION:-1.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+cd src-qt5
+qmake-qt5 \
+ PREFIX=/usr \
+ LIBPREFIX=/usr/lib${LIBDIRSUFFIX} \
+ QMAKE_CFLAGS="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS="$SLKCFLAGS" \
+ QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5 \
+ L_ETCDIR=/etc \
+ QMAKE_CFLAGS_ISYSTEM="-I"
+
+sed -i 's/gzip -c/gzip -9c/' Makefile
+make
+make install INSTALL_ROOT=$PKG DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd ..
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/lumina-calculator/lumina-calculator.info b/office/lumina-calculator/lumina-calculator.info
new file mode 100644
index 0000000000..654adc09fc
--- /dev/null
+++ b/office/lumina-calculator/lumina-calculator.info
@@ -0,0 +1,10 @@
+PRGNAM="lumina-calculator"
+VERSION="1.6.0"
+HOMEPAGE="https://github.com/lumina-desktop/lumina-calculator"
+DOWNLOAD="https://github.com/lumina-desktop/lumina-calculator/archive/v1.6.0/lumina-calculator-1.6.0.tar.gz"
+MD5SUM="320996336e910e2626c5523111ed817f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Chris Abela"
+EMAIL="kristofru@gmail.com"
diff --git a/office/lumina-calculator/slack-desc b/office/lumina-calculator/slack-desc
new file mode 100644
index 0000000000..07645d1546
--- /dev/null
+++ b/office/lumina-calculator/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+lumina-calculator: lumina-calculator (Scientific Calculator for the Lumina Desktop)
+lumina-calculator:
+lumina-calculator: This is a graphical, scientific calculator with history and recall
+lumina-calculator: abilities.
+lumina-calculator:
+lumina-calculator:
+lumina-calculator:
+lumina-calculator:
+lumina-calculator:
+lumina-calculator:
+lumina-calculator:
diff --git a/office/lumina-pdf/README b/office/lumina-pdf/README
new file mode 100644
index 0000000000..591775a7e8
--- /dev/null
+++ b/office/lumina-pdf/README
@@ -0,0 +1 @@
+lumina-pdf is a PDF Viewer Utility for the Lumina Desktop.
diff --git a/office/sofastats/doinst.sh b/office/lumina-pdf/doinst.sh
index 4e8ba7071d..5fb28930db 100644
--- a/office/sofastats/doinst.sh
+++ b/office/lumina-pdf/doinst.sh
@@ -1,4 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-
diff --git a/office/lumina-pdf/lumina-pdf.SlackBuild b/office/lumina-pdf/lumina-pdf.SlackBuild
new file mode 100644
index 0000000000..e78e801288
--- /dev/null
+++ b/office/lumina-pdf/lumina-pdf.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for lumina-pdf
+
+# Copyright 2019, 2020 Chris Abela, Malta
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lumina-pdf
+VERSION=${VERSION:-1.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+patch -p0 <$CWD/lumina-pdf.patch
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+cd src-qt5
+qmake-qt5 \
+ PREFIX=/usr \
+ LIBPREFIX=/usr/lib${LIBDIRSUFFIX} \
+ QMAKE_CFLAGS="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS="$SLKCFLAGS" \
+ QT5LIBDIR=/usr/lib${LIBDIRSUFFIX}/qt5 \
+ L_ETCDIR=/etc \
+ QMAKE_CFLAGS_ISYSTEM="-I"
+
+make
+make install INSTALL_ROOT=$PKG DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd ..
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/lumina-pdf/lumina-pdf.info b/office/lumina-pdf/lumina-pdf.info
new file mode 100644
index 0000000000..1f727a6aa3
--- /dev/null
+++ b/office/lumina-pdf/lumina-pdf.info
@@ -0,0 +1,10 @@
+PRGNAM="lumina-pdf"
+VERSION="1.6.0"
+HOMEPAGE="https://github.com/lumina-desktop/lumina-pdf/"
+DOWNLOAD="https://github.com/lumina-desktop/lumina-pdf/archive/v1.6.0/lumina-pdf-1.6.0.tar.gz"
+MD5SUM="725a2b37775b6fb36b8653e86b5442d1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Chris Abela"
+EMAIL="kristofru@gmail.com"
diff --git a/office/lumina-pdf/lumina-pdf.patch b/office/lumina-pdf/lumina-pdf.patch
new file mode 100644
index 0000000000..0e3fd5c5fa
--- /dev/null
+++ b/office/lumina-pdf/lumina-pdf.patch
@@ -0,0 +1,12 @@
+diff -Naur lumina-pdf-1.6.0/src-qt5/Renderer-poppler.cpp lumina-pdf-1.6.0-patched/src-qt5/Renderer-poppler.cpp
+--- lumina-pdf-1.6.0/src-qt5/Renderer-poppler.cpp 2020-02-04 20:56:36.000000000 +0100
++++ lumina-pdf-1.6.0-patched/src-qt5/Renderer-poppler.cpp 2020-05-18 13:34:31.211851748 +0200
+@@ -72,7 +72,7 @@
+ DOC->setRenderHint(Poppler::Document::Antialiasing);
+ DOC->setRenderHint(Poppler::Document::TextAntialiasing);
+ // qDebug() << "Opening File:" << path;
+- doctitle = DOC->title();
++ // doctitle = DOC->title();
+ if (doctitle.isEmpty()) {
+ doctitle = path.section("/", -1);
+ }
diff --git a/office/lumina-pdf/slack-desc b/office/lumina-pdf/slack-desc
new file mode 100644
index 0000000000..891131199c
--- /dev/null
+++ b/office/lumina-pdf/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+lumina-pdf: lumina-pdf (PDF Viewer Utility for the Lumina Desktop)
+lumina-pdf:
+lumina-pdf: PDF Viewer Utility
+lumina-pdf:
+lumina-pdf:
+lumina-pdf:
+lumina-pdf:
+lumina-pdf:
+lumina-pdf:
+lumina-pdf:
+lumina-pdf:
diff --git a/office/lyx/README b/office/lyx/README
index 7f819af3a1..dfddcefb2f 100644
--- a/office/lyx/README
+++ b/office/lyx/README
@@ -1,13 +1,13 @@
LyX - A WYSIWYM document processor.
-LyX is a document processor that encourages an approach to
-writing based on the structure of your documents (WYSIWYM)
+LyX is a document processor that encourages an approach to
+writing based on the structure of your documents (WYSIWYM)
and not simply their appearance (WYSIWYG).
-LyX combines the power and flexibility of TeX/LaTeX with the
+LyX combines the power and flexibility of TeX/LaTeX with the
ease of use of a graphical interface.
-This results in world-class support for creation of mathematical
-content (via a fully integrated equation editor) and structured
+This results in world-class support for creation of mathematical
+content (via a fully integrated equation editor) and structured
documents like academic articles, theses, and books.
LyX requires a working installation of TeX/LaTeX. For this you
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index a43528f065..f0c296c334 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LyX
# Written by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
# Now maintained by R. S. Ananda Murthy (rsamurti@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lyx
-VERSION=${VERSION:-2.3.2}
+VERSION=${VERSION:-2.3.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}
@@ -41,9 +51,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-2
-tar xvf $CWD/$PRGNAM-$VERSION-2.tar.xz
-cd $PRGNAM-$VERSION-2
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-1.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 \
@@ -60,6 +70,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-qt5 \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -78,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/office/lyx/lyx.info b/office/lyx/lyx.info
index fcd75c7916..8e325d24ad 100644
--- a/office/lyx/lyx.info
+++ b/office/lyx/lyx.info
@@ -1,8 +1,8 @@
PRGNAM="lyx"
-VERSION="2.3.2"
+VERSION="2.3.7"
HOMEPAGE="http://www.lyx.org"
-DOWNLOAD="https://fossies.org/linux/misc/lyx-2.3.2-2.tar.xz"
-MD5SUM="b8fd5cae897da39375f68f2023b643f8"
+DOWNLOAD="https://ftp.lip6.fr/pub/lyx/stable/2.3.x/lyx-2.3.7-1.tar.xz"
+MD5SUM="d12aa448dc0fcc209f9baa8c13123840"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/mairix/mairix.SlackBuild b/office/mairix/mairix.SlackBuild
index 3707c91369..ce28d2d033 100644
--- a/office/mairix/mairix.SlackBuild
+++ b/office/mairix/mairix.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mairix
-# Copyright 2015-2018 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2015-2018 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Written by Jostein Berntsen <jbernts@broadpark.no>
+# Written by Jostein Berntsen <jvbernts@online.no>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mairix
VERSION=${VERSION:-0.24}
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/office/mairix/mairix.info b/office/mairix/mairix.info
index bf502dbd8e..dce2800e0e 100644
--- a/office/mairix/mairix.info
+++ b/office/mairix/mairix.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/marave/README b/office/marave/README
deleted file mode 100644
index 403c7145a4..0000000000
--- a/office/marave/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Marave is a text editor whose goal is to help you focus on writing.
-it's inspired by ommwriter, Darkroom and many other "simple" text
-editors, with a few twists.
diff --git a/office/marave/doinst.sh b/office/marave/doinst.sh
deleted file mode 100644
index 473345de20..0000000000
--- a/office/marave/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/office/marave/marave.desktop b/office/marave/marave.desktop
deleted file mode 100644
index f1d546afb6..0000000000
--- a/office/marave/marave.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Text Editor (marave)
-Comment=Text Editor
-Exec=marave-editor
-Icon=marave
-Terminal=false
-Type=Application
-Categories=TextEditor;Utility;
-GenericName=Editor
diff --git a/office/marave/marave.info b/office/marave/marave.info
deleted file mode 100644
index 4e565bbaaf..0000000000
--- a/office/marave/marave.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="marave"
-VERSION="0.7"
-HOMEPAGE="https://github.com/ralsina/marave"
-DOWNLOAD="https://github.com/ralsina/marave/archive/master.zip"
-MD5SUM="6ae1fe790429e1c7f277dc8aa8998308"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="pyenchant"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/office/mate-calc/README b/office/mate-calc/README
new file mode 100644
index 0000000000..da15a7cbf4
--- /dev/null
+++ b/office/mate-calc/README
@@ -0,0 +1,4 @@
+MATE Calculator started as a fork of gnome-calc, the calculator
+application that was previously in the OpenWindows Deskset of the
+Solaris 8 operating system.
+It supports scientific, financial and logical modes.
diff --git a/office/mate-calc/doinst.sh b/office/mate-calc/doinst.sh
new file mode 100644
index 0000000000..f25bed6fb6
--- /dev/null
+++ b/office/mate-calc/doinst.sh
@@ -0,0 +1,19 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/office/mate-calc/mate-calc.SlackBuild b/office/mate-calc/mate-calc.SlackBuild
new file mode 100644
index 0000000000..aab359f441
--- /dev/null
+++ b/office/mate-calc/mate-calc.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for mate-calc
+
+# Copyright 2013 Chess Griffin, Raleigh, NC
+# Copyright 2013-2020 Willy Sudiarto Raharjo
+# Copyright 2020-2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mate-calc
+VERSION=${VERSION:-1.28.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --without-help-dir \
+ --disable-schemas-compile \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} +
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/mate-calc/mate-calc.info b/office/mate-calc/mate-calc.info
new file mode 100644
index 0000000000..5677742232
--- /dev/null
+++ b/office/mate-calc/mate-calc.info
@@ -0,0 +1,10 @@
+PRGNAM="mate-calc"
+VERSION="1.28.0"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/applications/mate-calc/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/mate-calc-1.28.0.tar.xz"
+MD5SUM="3492897f5c92b556df8ee9715db6db48"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/mate-calc/slack-desc b/office/mate-calc/slack-desc
new file mode 100644
index 0000000000..f66c53a8c9
--- /dev/null
+++ b/office/mate-calc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mate-calc: mate-calc (calculator for the MATE desktop)
+mate-calc:
+mate-calc: MATE Calculator started as a fork of gnome-calc, the calculator
+mate-calc: application that was previously in the OpenWindows Deskset of the
+mate-calc: Solaris 8 operating system.
+mate-calc: It supports scientific, financial and logical modes.
+mate-calc:
+mate-calc:
+mate-calc:
+mate-calc: https://wiki.mate-desktop.org/mate-desktop/applications/mate-calc/
+mate-calc:
diff --git a/office/mathtex/mathtex.SlackBuild b/office/mathtex/mathtex.SlackBuild
index e6387288cc..ec4d5898a3 100644
--- a/office/mathtex/mathtex.SlackBuild
+++ b/office/mathtex/mathtex.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mathtex
@@ -24,28 +24,38 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mathtex
VERSION=${VERSION:-1.05}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
CGIDIR=${CGIDIR:-/var/www/cgi-bin}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,5 +104,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/office/mathtex/mathtex.info b/office/mathtex/mathtex.info
index 44f8a41628..a83f0cd989 100644
--- a/office/mathtex/mathtex.info
+++ b/office/mathtex/mathtex.info
@@ -1,7 +1,7 @@
PRGNAM="mathtex"
VERSION="1.05"
HOMEPAGE="http://www.forkosh.com/mathtex.html"
-DOWNLOAD="http://www.forkosh.com/mathtex.zip"
+DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/2/b/2b32537b141245acc469c45e0b1a06bf/mathtex.zip"
MD5SUM="2b32537b141245acc469c45e0b1a06bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/mdbtools/README b/office/mdbtools/README
index bd31d8cd3b..cf89f99119 100644
--- a/office/mdbtools/README
+++ b/office/mdbtools/README
@@ -1,4 +1,15 @@
-The MDB Tools project is a effort to document the MDB file format
-used in Microsoft's Access database package, and to provide a set
-of tools and applications to make that data available on other
+The MDB Tools project is a effort to document the MDB and ACCDB file
+formats used in Microsoft's Access database packages, and to provide
+a set of tools and applications to make that data available on other
platforms.
+
+NOTE: unixOBDC is an optional dependency.
+By default the script will build a driver for use with unixODBC,
+if it is installed. If a driver for iodbc is preferred instead
+you may set the environment variable UNIXODBC_DRIVER to "no". e.g.
+ UNIXODBC_DRIVER="no" ./mdbtools.SlackBuild
+
+This script includes the debugging tools 'prcat', 'prkkd', 'prtable',
+'prdata' and 'prole', preffixed with "mdb-" (e.g. 'mdb-prtable')
+unless the environment varaible DEBUGGING_TOOLS is set to "no". e.g.
+ DEBUGGING_TOOLS="no" ./mdbtools.SlackBuild
diff --git a/office/mdbtools/mdbtools.SlackBuild b/office/mdbtools/mdbtools.SlackBuild
index 19769a5cd4..ff9cdcd8cf 100644
--- a/office/mdbtools/mdbtools.SlackBuild
+++ b/office/mdbtools/mdbtools.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for gtksourceview-sharp-2.0
+# Slackware build script for mdbtools
-# Copyright 2008 Hans Goossen <goosseno@gmail.com>
+# Copyright 2008 Hans Goossen <goosseno@gmail.com>
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
# All rights reserved.
#
@@ -23,11 +24,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220217 bkw: Modified by SlackBuilds.org:
+# - fix build on 15.0.
+# - remove .la files.
+# 20221804 Modified by Juan M. Lasca:
+# - update to version 1.0.0
+# - include bash completions
+# - add option to build iodbc or unixodbc driver if installed
+# - add option to include debugging tools
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mdbtools
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +49,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,42 +82,58 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 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 {} \;
+
+
+with_odbc="";
+[ -f /usr/lib${LIBDIRSUFFIX}/libiodbc.so ] && [ "${UNIXODBC_DRIVER:-yes}" = "no" ] &&
+ with_odbc="--with-iodbc=/usr";
+[ -f /usr/lib${LIBDIRSUFFIX}/libodbc.so ] && [ "${UNIXODBC_DRIVER:-yes}" != "no" ] &&
+ with_odbc="--with-unixodbc=/usr";
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --enable-sql \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
--enable-shared=yes \
+ $with_odbc \
+ --with-bash-completion-dir=/usr/share/bash-completion/completions \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+# Does the user wants the debugging tools?
+if [ "${DEBUGGING_TOOLS:-yes}" != "no" ]; then
+ for i in $( find src/util/.libs/ \! -name "mdb-*" -a -type f -printf "%f\n" ); do
+ mv src/util/.libs/$i $PKG/usr/bin/mdb-$i;
+ done;
+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
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README TODO HACKING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING COPYING.LIB NEWS README.md HACKING.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/mdbtools/mdbtools.info b/office/mdbtools/mdbtools.info
index 4ffcce5025..695c2e43f7 100644
--- a/office/mdbtools/mdbtools.info
+++ b/office/mdbtools/mdbtools.info
@@ -1,10 +1,10 @@
PRGNAM="mdbtools"
-VERSION="0.5"
-HOMEPAGE="http://mdbtools.sourceforge.net/"
-DOWNLOAD="http://prdownloads.sourceforge.net/mdbtools/mdbtools-0.5.tar.gz"
-MD5SUM="4a18bf96e67161101cade64526756d22"
+VERSION="1.0.0"
+HOMEPAGE="https://github.com/mdbtools/mdbtools"
+DOWNLOAD="https://github.com/mdbtools/mdbtools/releases/download/v1.0.0/mdbtools-1.0.0.tar.gz"
+MD5SUM="9925e13cc70f3693c1e358da8ea750e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Hans Goossen"
-EMAIL="goosseno@gmail.com"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/office/mdbtools/slack-desc b/office/mdbtools/slack-desc
index ce8a1b2ca8..b8783c9620 100644
--- a/office/mdbtools/slack-desc
+++ b/office/mdbtools/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-mdbtools: mdbtools (a suite of libraries and utilities to read MDB files)
+mdbtools: mdbtools (libraries and utilities to read MDB and ACCDB files)
mdbtools:
-mdbtools: The MDB Tools project is a effort to document the MDB file format
-mdbtools: used in Microsoft's Access database package, and to provide a set
-mdbtools: of tools and applications to make that data available on other
+mdbtools: The MDB Tools project is a effort to document the MDB and ACCDB file
+mdbtools: formats used in Microsoft's Access database packages, and to provide
+mdbtools: a set of tools and applications to make that data available on other
mdbtools: platforms.
mdbtools:
+mdbtools: https://github.com/mdbtools/mdbtools
mdbtools:
-mdbtools: http://mdbtools.sourceforge.net/
mdbtools:
mdbtools:
diff --git a/office/mdp/mdp.SlackBuild b/office/mdp/mdp.SlackBuild
index cf99e46ec0..58fb9de12c 100644
--- a/office/mdp/mdp.SlackBuild
+++ b/office/mdp/mdp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mdp
@@ -23,26 +23,36 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdp
VERSION=${VERSION:-1.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -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/office/mined/mined.SlackBuild b/office/mined/mined.SlackBuild
index c25e12366b..31e4234d94 100644
--- a/office/mined/mined.SlackBuild
+++ b/office/mined/mined.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MinEd
@@ -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=mined
VERSION=${VERSION:-2015.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -99,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/minidjvu/README b/office/minidjvu/README
index c61205d059..077fceba3e 100644
--- a/office/minidjvu/README
+++ b/office/minidjvu/README
@@ -1,9 +1,11 @@
-Minidjvu is a command line utility which encodes and decodes single page
-black-and-white DjVu files, and can compress multiple pages, taking advantage
-from similarities between pages.
+Minidjvu is a command line utility which encodes and decodes single
+page black-and-white DjVu files, and can compress multiple pages,
+taking advantage from similarities between pages.
-Supported bitmap formats are PBM, Windows BMP, and TIFF (through libtiff).
+Supported bitmap formats are PBM, Windows BMP, and TIFF (through
+libtiff).
-Minidjvu is based on DjVuLibre, which is the primary DjVu support library.
-Minidjvu is not going to support all DjVu functionality; the idea is rather to
-take the black-and-white part (also called JB2) and experiment with it.
+Minidjvu is based on DjVuLibre, which is the primary DjVu support
+library. Minidjvu is not going to support all DjVu functionality;
+the idea is rather to take the black-and-white part (also called JB2)
+and experiment with it.
diff --git a/office/minidjvu/minidjvu.SlackBuild b/office/minidjvu/minidjvu.SlackBuild
index 55c24739b9..89fa014622 100644
--- a/office/minidjvu/minidjvu.SlackBuild
+++ b/office/minidjvu/minidjvu.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for minidjvu
-# Copyright 2015-2016 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2015-2022 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=minidjvu
-VERSION=${VERSION:-0.8.svn.2010.05.06}
+VERSION=${VERSION:-0.8.svn.2010.05.06_20210826_2202ebc}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+COMMIT=2202ebc8eac5804521bd943fe65b8453d0ceb7d9
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM\_$VERSION.orig.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,17 +77,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/minidjvu.patch
-
+autoreconf --install
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=/usr/man \
--enable-static=no \
--build=$ARCH-slackware-linux
-make -j1
+make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -89,11 +98,13 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/minidjvu/minidjvu.info b/office/minidjvu/minidjvu.info
index dae3f1cb1f..ad650f44a9 100644
--- a/office/minidjvu/minidjvu.info
+++ b/office/minidjvu/minidjvu.info
@@ -1,8 +1,8 @@
PRGNAM="minidjvu"
-VERSION="0.8.svn.2010.05.06"
+VERSION="0.8.svn.2010.05.06_20210826_2202ebc"
HOMEPAGE="http://minidjvu.sourceforge.net"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/minidjvu/minidjvu_0.8.svn.2010.05.06.orig.tar.gz"
-MD5SUM="c29f5c86267824f6c9047f2759a4ad5f"
+DOWNLOAD="https://github.com/barak/minidjvu/archive/2202ebc/minidjvu-2202ebc8eac5804521bd943fe65b8453d0ceb7d9.tar.gz"
+MD5SUM="cb565dc8028b4cd1fc3357f9c54d7650"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/minidjvu/minidjvu.patch b/office/minidjvu/minidjvu.patch
deleted file mode 100644
index fc3111422b..0000000000
--- a/office/minidjvu/minidjvu.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-diff -Naur minidjvu-0.8.svn.2010.05.06.orig/include/minidjvu/alg/smooth.h minidjvu-0.8.svn.2010.05.06/include/minidjvu/alg/smooth.h
---- minidjvu-0.8.svn.2010.05.06.orig/include/minidjvu/alg/smooth.h 2010-08-02 17:15:58.000000000 +0400
-+++ minidjvu-0.8.svn.2010.05.06/include/minidjvu/alg/smooth.h 2015-12-02 03:12:43.000000000 +0300
-@@ -4,7 +4,7 @@
-
-
- /*
-- * `smooth' is applied to a bitmap even before it's splitted.
-+ * `smooth' is applied to a bitmap even before it's split.
- *
- * Right now, the algorithm flips pixels which are surrounded
- * by at least 3 of 4 neighboring pixels of another color.
-diff -Naur minidjvu-0.8.svn.2010.05.06.orig/Makefile.in minidjvu-0.8.svn.2010.05.06/Makefile.in
---- minidjvu-0.8.svn.2010.05.06.orig/Makefile.in 2010-08-02 17:15:58.000000000 +0400
-+++ minidjvu-0.8.svn.2010.05.06/Makefile.in 2015-12-02 02:18:36.000000000 +0300
-@@ -8,7 +8,7 @@
- manpage:=@PACKAGE_NAME@
-
- DOCDIR:=doc
--MANDIR:=$(prefix)/share/man/man1
-+MANDIR:=$(prefix)/man/man1
- INCLUDEDIR:=$(prefix)/include
- SUBDIRS:=src \
- po \
-@@ -71,7 +71,7 @@
- ${GZIP} -nf -9 ${DESTDIR}$(MANDIR)/$(manpage).1
- for dir in $(DOCDIR)/*/; do \
- if [ -f $${dir}$(manpage).1 ]; then \
-- LOCMANDIR=${DESTDIR}$(prefix)/share/man$${dir#$(DOCDIR)}/man1 &&\
-+ LOCMANDIR=${DESTDIR}$(prefix)/man$${dir#$(DOCDIR)}/man1 &&\
- ${INSTALL} -d $${LOCMANDIR} &&\
- ${INSTALL_DATA} $${dir}$(manpage).1 $${LOCMANDIR} && \
- ${GZIP} -nf -9 $${LOCMANDIR}/$(manpage).1; \
-@@ -91,7 +91,7 @@
- ${RM} ${DESTDIR}$(MANDIR)/$(manpage).1.gz
- for dir in $(DOCDIR)/*/; do \
- if [ -f $${dir}$(manpage).1 ]; then \
-- LOCMANDIR=${DESTDIR}$(prefix)/share/man$${dir#$(DOCDIR)}/man1 &&\
-+ LOCMANDIR=${DESTDIR}$(prefix)/man$${dir#$(DOCDIR)}/man1 &&\
- ${RM} $${LOCMANDIR}/$(manpage).1.gz; \
- fi; \
- done
-diff -Naur minidjvu-0.8.svn.2010.05.06.orig/po/ru.po minidjvu-0.8.svn.2010.05.06/po/ru.po
---- minidjvu-0.8.svn.2010.05.06.orig/po/ru.po 2010-08-02 17:15:58.000000000 +0400
-+++ minidjvu-0.8.svn.2010.05.06/po/ru.po 2015-12-02 03:12:43.000000000 +0300
-@@ -239,7 +239,7 @@
-
- #: minidjvu.c:361
- #, c-format
--msgid "the splitted image has %d pieces\n"
-+msgid "the split image has %d pieces\n"
- msgstr "после разбиения картинка состоит из %d участков\n"
-
- #: minidjvu.c:366
-diff -Naur minidjvu-0.8.svn.2010.05.06.orig/tools/minidjvu.c minidjvu-0.8.svn.2010.05.06/tools/minidjvu.c
---- minidjvu-0.8.svn.2010.05.06.orig/tools/minidjvu.c 2010-08-02 17:15:58.000000000 +0400
-+++ minidjvu-0.8.svn.2010.05.06/tools/minidjvu.c 2015-12-02 03:12:43.000000000 +0300
-@@ -360,7 +360,7 @@
- mdjvu_bitmap_destroy(bitmap);
- if (verbose)
- {
-- printf(_("the splitted image has %d pieces\n"),
-+ printf(_("the split image has %d pieces\n"),
- mdjvu_image_get_blit_count(image));
- }
- if (clean)
diff --git a/office/mobiperl/README b/office/mobiperl/README
index 386da22292..dd8615f801 100644
--- a/office/mobiperl/README
+++ b/office/mobiperl/README
@@ -12,8 +12,8 @@ mobi2mobi - manipulate metadata in .mobi files
mobils - list contents (metadata) of .mobi files
opf2mobi - convert OPF files to .mobi [2]
-[1] For lit2mobi to work, office/convertlit must be installed. Even then,
- it doesn't seem to work particularly well.
+[1] For lit2mobi to work, office/convertlit must be installed. Even
+ then, it doesn't seem to work particularly well.
[2] opf2mobi doesn't seem to actually work. If someone manages to fix
it, please let the maintainer know.
diff --git a/office/mobiperl/mobiperl.SlackBuild b/office/mobiperl/mobiperl.SlackBuild
index cc0daf29eb..c14bb6b6d1 100644
--- a/office/mobiperl/mobiperl.SlackBuild
+++ b/office/mobiperl/mobiperl.SlackBuild
@@ -1,19 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mobiperl
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mobiperl
VERSION=${VERSION:-0.0.43}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -27,11 +34,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Get rid of some perl module dependencies, replacing with stuff that's
# shipped with Slackware's perl package. Specifically:
@@ -69,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/office/mobiperl/mobiperl.info b/office/mobiperl/mobiperl.info
index 1eb16b48b5..73fae3105c 100644
--- a/office/mobiperl/mobiperl.info
+++ b/office/mobiperl/mobiperl.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Image-Size perl-GD perl-HTML-Tree perl-palm-pdb perl-image-bmp perl-xml-parser-lite-tree"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/moneydance/README b/office/moneydance/README
index d5cf7453cc..01dc22d94a 100644
--- a/office/moneydance/README
+++ b/office/moneydance/README
@@ -1,22 +1,23 @@
-Moneydance is a java-based cross-platform personal finance manager - it offers
-a consistent interface in Windows, Linux, and MacOSX, *BSD, and Solaris.
+Moneydance is a java-based cross-platform personal finance manager -
+it offers a consistent interface in Windows, Linux, and MacOSX, *BSD,
+and Solaris.
-Simplify your finances with Moneydance, the groundbreaking personal finance
-manager! Whether you want to organize your finances, manage your budget,
-track your portfolio, or just automatically balance your checkbook, Moneydance
-is the solution for you.
+Simplify your finances with Moneydance, the groundbreaking personal
+finance manager! Whether you want to organize your finances, manage
+your budget, track your portfolio, or just automatically balance your
+checkbook, Moneydance is the solution for you.
-Moneydance's simple, intuitive interface makes taking care of your finances
-a breeze. Save time and money with online banking and bill payment.
-Moneydance makes it easy to set and trace budgets, and reminds you of upcoming
-bills to keep you up-to-date.
+Moneydance's simple, intuitive interface makes taking care of your
+finances a breeze. Save time and money with online banking and bill
+payment. Moneydance makes it easy to set and trace budgets, and
+reminds you of upcoming bills to keep you up-to-date.
-Moneydance's insightful reporting and graphing tools illuminate your finances
-and show you where your money goes. You can track your portfolio and stay on
-top of your investments. MoneyDance also offers encryption and password
-protection to ensure your privacy.
+Moneydance's insightful reporting and graphing tools illuminate
+your finances and show you where your money goes. You can track your
+portfolio and stay on top of your investments. MoneyDance also offers
+encryption and password protection to ensure your privacy.
-Note that Moneydance is NOT a free program. This script will build a fully
-functional trial version of the program, and if you like it, then you will
-have to pay for it in order to retain functionality after 100 transactions
-are entered.
+Note that Moneydance is NOT a free program. This script will build
+a fully functional trial version of the program, and if you like it,
+then you will have to pay for it in order to retain functionality
+after 100 transactions are entered.
diff --git a/office/moneydance/moneydance.SlackBuild b/office/moneydance/moneydance.SlackBuild
index 8d51115337..967e3a6263 100644
--- a/office/moneydance/moneydance.SlackBuild
+++ b/office/moneydance/moneydance.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
-#
+#!/bin/bash
+
# Slackware build script for moneydance
-# Copyright 2008-2017 Robby Workman, Tuscaloosa, AL, USA
+# Copyright 2008-2021 Robby Workman, Tuscaloosa, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=moneydance
-VERSION=${VERSION:-2017.1597}
+VERSION=${VERSION:-2024.5117}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -33,14 +36,19 @@ 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}
-if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
- MDARCH=x86
-elif [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "x86_64" ]; then
MDARCH=amd64
else
printf "$ARCH is not supported.\n"; exit 1
@@ -48,13 +56,17 @@ fi
set -e
-rm -rf $PKG
-mkdir -p $PKG/opt $OUTPUT
-tar xvf $CWD/Moneydance_linux_${MDARCH}.tar.gz -C $PKG/opt
+rm -rf $TMP/$PRGNAM $PKG
+mkdir -p $TMP/$PRGNAM $PKG
+cd $TMP/$PRGNAM
+ar -x $CWD/${PRGNAM}_linux_amd64.deb
+tar xvf data.tar.bz2 -C $PKG
+
+rm -f $PKG/opt/Moneydance/create_desktop_file.sh
mkdir -p $PKG/usr/bin
ln -s /opt/Moneydance/Moneydance $PKG/usr/bin/moneydance
-ln -s /opt/Moneydance/Moneydance $PKG/usr/bin
+ln -s /opt/Moneydance/Moneydance $PKG/usr/bin/Moneydance
mkdir -p $PKG/usr/share/applications
cat $CWD/moneydance.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
@@ -66,7 +78,7 @@ ln -s /opt/Moneydance/resources/moneydance_icon32.png \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
ln -s /opt/Moneydance/resources/license.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ $PKG/usr/doc/$PRGNAM-$VERSION/license.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -81,4 +93,4 @@ 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 {} \;
-/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/office/moneydance/moneydance.info b/office/moneydance/moneydance.info
index 7cb9d06d34..5478c46476 100644
--- a/office/moneydance/moneydance.info
+++ b/office/moneydance/moneydance.info
@@ -1,10 +1,10 @@
PRGNAM="moneydance"
-VERSION="2017.1597"
+VERSION="2024.5117"
HOMEPAGE="http://moneydance.com"
-DOWNLOAD="http://infinitekind.com/stabledl/2017/Moneydance_linux_x86.tar.gz"
-MD5SUM="a238bf03130bdf944fecd1fcf2ab8bb7"
-DOWNLOAD_x86_64="http://infinitekind.com/stabledl/2017/Moneydance_linux_amd64.tar.gz"
-MD5SUM_x86_64="80ce4c0c690c483bb09cf22d0ac64cab"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://infinitekind.com/stabledl/current/moneydance_linux_amd64.deb"
+MD5SUM_x86_64="a37f773dfd0cb6fa16d3aa2e5bf9e21f"
REQUIRES=""
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"
diff --git a/office/msee/README b/office/msee/README
new file mode 100644
index 0000000000..f3f05c88a3
--- /dev/null
+++ b/office/msee/README
@@ -0,0 +1,8 @@
+*msee* is a command-line tool to read markdown file.
+
+And it's a library help your command-line software to output readable
+markdown content.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/office/msee/msee.SlackBuild b/office/msee/msee.SlackBuild
new file mode 100644
index 0000000000..58d598774c
--- /dev/null
+++ b/office/msee/msee.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for msee
+
+# Copyright 2020 Tonus
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=msee
+VERSION=${VERSION:-0.3.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+DESTDIR=$PKG npm install -g $CWD/$PRGNAM-$VERSION.tar.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ Example.md Help.md History.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/msee/msee.info b/office/msee/msee.info
new file mode 100644
index 0000000000..5b0ea62b35
--- /dev/null
+++ b/office/msee/msee.info
@@ -0,0 +1,10 @@
+PRGNAM="msee"
+VERSION="0.3.3"
+HOMEPAGE="https://github.com/firede/msee"
+DOWNLOAD="https://github.com/firede/msee/archive/v0.3.3/msee-0.3.3.tar.gz"
+MD5SUM="4c08715e10433ba43dcf1efe799676eb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang nodejs"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/msee/slack-desc b/office/msee/slack-desc
new file mode 100644
index 0000000000..d155be43b7
--- /dev/null
+++ b/office/msee/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+msee: msee (command line tool)
+msee:
+msee:
+msee: msee is a command-line tool to read markdown file.
+msee:
+msee: And it's a library help your command-line software to output readable
+msee: markdown content.
+msee:
+msee:
+msee:
+msee:
diff --git a/office/mtp2-fonts/README b/office/mtp2-fonts/README
index 519c6ad3ad..471afcfd40 100644
--- a/office/mtp2-fonts/README
+++ b/office/mtp2-fonts/README
@@ -6,8 +6,20 @@ consists of 15 fonts and replaces the Computer Modern math fonts. The
complete set consists of 68 fonts and provides also script, curly,
Fraktur, bold math, blackboard bold fonts, and AMS symbols.
-This SlackBuild can be used with both lite and complete MTPro2 font sets
-and with both texlive and Slackware's tetex TeX distributions.
-
The complete fonts set zip archive should be named as mtp2fonts.zip.tpm
or mtp2fonts.zip
+
+After installation, please rebuild the filename databases with the
+command
+
+# mktexlsr
+
+and register the map file 'mtpro2.map' using the commands
+
+# updmap-sys --syncwithtrees
+# updmap-sys --force --enable Map=mtpro2.map
+
+After removal, please disable the map file 'mtpro2.map' via the commands
+
+# mktexlsr
+# updmap-sys --force --disable mtpro2.map
diff --git a/office/mtp2-fonts/README.SBo b/office/mtp2-fonts/README.SBo
deleted file mode 100644
index 6b889d31f9..0000000000
--- a/office/mtp2-fonts/README.SBo
+++ /dev/null
@@ -1,16 +0,0 @@
-To clean up your TeX installation after removing mtp2-fonts, please do
-the following (as root):
-
-1. Delete the line
-Map mtpro2.map
-from
-/usr/share/texmf-local/web2c/updmap.cfg (for texlive)
-or
-/usr/share/texmf-config/web2c/updmap.cfg (for tetex)
-
-2. For texlive, if /usr/share/texmf-local/web2c/updmap.cfg becomes
-empty, delete it.
-
-3. Run mktexlsr
-
-4. Run updmap-sys
diff --git a/office/mtp2-fonts/doinst.sh b/office/mtp2-fonts/doinst.sh
deleted file mode 100644
index 81b7a9ab11..0000000000
--- a/office/mtp2-fonts/doinst.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-if [ -x /usr/bin/mktexlsr ]; then
- if ! grep -qFs " mtpro2.map" /usr/share/texmf-local/web2c/updmap.cfg ; then
- mkdir -p /usr/share/texmf-local/web2c
- echo "Map mtpro2.map" >> /usr/share/texmf-local/web2c/updmap.cfg
- fi
- chroot . /usr/bin/mktexlsr >/dev/null 2>&1
- if [ -x /usr/bin/updmap-sys ]; then
- chroot . /usr/bin/updmap-sys >/dev/null 2>&1
- fi
-else
- if [ -x /usr/share/texmf/bin/mktexlsr ]; then
- chroot . /usr/share/texmf/bin/mktexlsr >/dev/null 2>&1
- fi
- if [ -x /usr/share/texmf/bin/updmap-sys ]; then
- chroot . /usr/share/texmf/bin/updmap-sys --enable Map mtpro2.map \
- >/dev/null 2>&1
- fi
-fi
diff --git a/office/mtp2-fonts/mtp2-fonts.SlackBuild b/office/mtp2-fonts/mtp2-fonts.SlackBuild
index b4429c26c0..ee6881fb9a 100644
--- a/office/mtp2-fonts/mtp2-fonts.SlackBuild
+++ b/office/mtp2-fonts/mtp2-fonts.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mtp2-fonts
-# Copyright 2017, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2017-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,18 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mtp2-fonts
VERSION=${VERSION:-2.1a}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
set -e
rm -rf $PKG
@@ -55,6 +62,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
rm -r texmf/dvips
+
+sed --in-place \
+ -e 's/^\\alloc@0\\count\\countdef\\insc@unt/\\newcount/' \
+ texmf/tex/latex/mtpro2/mtpro2.sty
+
find . \
\( -name "*.txt" -o -name "*.tex" -o -name "*.fd" -o -name "*.map" \
-o -name "*.sty" -o -name "*.tpm" \) -exec sed -i 's/\r$//' {} \;
@@ -70,7 +82,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/mtp2-fonts/mtp2-fonts.info b/office/mtp2-fonts/mtp2-fonts.info
index 64a73176cd..14027c37bc 100644
--- a/office/mtp2-fonts/mtp2-fonts.info
+++ b/office/mtp2-fonts/mtp2-fonts.info
@@ -1,10 +1,10 @@
PRGNAM="mtp2-fonts"
VERSION="2.1a"
-HOMEPAGE="http://pctex.com/mtpro2.html"
-DOWNLOAD="http://mirrors.ctan.org/fonts/mtp2lite.zip"
+HOMEPAGE="https://pctex.com/mtpro2.html"
+DOWNLOAD="https://mirrors.ctan.org/fonts/mtp2lite.zip"
MD5SUM="afd69b0d82ec8b32b7b012e5cfcd7d00"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="%README%"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/mtp2-fonts/slack-desc b/office/mtp2-fonts/slack-desc
index 58f93e53d5..6656d08ebf 100644
--- a/office/mtp2-fonts/slack-desc
+++ b/office/mtp2-fonts/slack-desc
@@ -16,4 +16,4 @@ mtp2-fonts: consists of 15 fonts and replaces the Computer Modern math fonts. Th
mtp2-fonts: complete set consists of 68 fonts and provides also script, curly,
mtp2-fonts: Fraktur, bold math, blackboard bold fonts, and AMS symbols.
mtp2-fonts:
-mtp2-fonts: Homepage: http://pctex.com/mtpro2.html
+mtp2-fonts: Homepage: https://pctex.com/mtpro2.html
diff --git a/office/mu/README b/office/mu/README
index bbee075a84..330e797cd9 100644
--- a/office/mu/README
+++ b/office/mu/README
@@ -1,4 +1,4 @@
-mu is a tool for dealing with e-mail messages stored in the Maildir-format.
-mu can be used with the mutt email program.
+mu is a tool for dealing with e-mail messages stored in the
+mu Maildir-format. Can be used with the mutt email program.
This requires xapian-core.
diff --git a/office/mu/doinst.sh b/office/mu/doinst.sh
new file mode 100644
index 0000000000..b884364025
--- /dev/null
+++ b/office/mu/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/install-info ]; then
+ /usr/bin/install-info --info-dir=usr/info usr/info/mu4e.info.gz
+ /usr/bin/install-info --info-dir=usr/info usr/info/mu-guile.info.gz
+fi
diff --git a/office/mu/mu.SlackBuild b/office/mu/mu.SlackBuild
index c4c856b5bf..dd1b5ff8fd 100644
--- a/office/mu/mu.SlackBuild
+++ b/office/mu/mu.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mu
-# Copyright 2013-2018 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2013-2018 Jostein Berntsen <jvbernts@online.no>
# 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=mu
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.10.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,18 +79,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-autoreconf -fi
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --build=$ARCH-slackware-linux
-
-make V=1
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -88,17 +101,22 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mv $PKG/usr/share/info $PKG/usr
+rm -r $PKG/usr/share/doc
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING HACKING README NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING README.org NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+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/office/mu/mu.info b/office/mu/mu.info
index 534da643df..2fda0d352c 100644
--- a/office/mu/mu.info
+++ b/office/mu/mu.info
@@ -1,10 +1,10 @@
PRGNAM="mu"
-VERSION="1.0"
+VERSION="1.10.8"
HOMEPAGE="http://www.djcbsoftware.nl/code/mu/"
-DOWNLOAD="https://github.com/djcb/mu/archive/v1.0.tar.gz"
-MD5SUM="b415f84d4538cf05ec3360a449c1de4d"
+DOWNLOAD="https://github.com/djcb/mu/releases/download/v1.10.8/mu-1.10.8.tar.xz"
+MD5SUM="30aeb9992daad49b86a91844d1d9a86b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/multivalent-tool-pdf/README b/office/multivalent-tool-pdf/README
index 5edca84389..c858bef672 100644
--- a/office/multivalent-tool-pdf/README
+++ b/office/multivalent-tool-pdf/README
@@ -3,4 +3,5 @@ In particular, it allows impose, compress, uncompress, info, encrypt,
decrypt, split, merge, validate PDF files.
This is version 20060102 of Multivalent, the latest version that
-contains the PDF tools. Hence, it is relevant to PDF manipulations only.
+contains the PDF tools. Hence, it is relevant to PDF manipulations
+only.
diff --git a/office/multivalent-tool-pdf/doinst.sh b/office/multivalent-tool-pdf/doinst.sh
index 7b5fb07db5..19a6ff6ac8 100644
--- a/office/multivalent-tool-pdf/doinst.sh
+++ b/office/multivalent-tool-pdf/doinst.sh
@@ -11,4 +11,3 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/bash_completion.d/multivalent-tool-pdf.new
diff --git a/office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild b/office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild
index e62bfbe6e1..b37ea0ad6e 100644
--- a/office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild
+++ b/office/multivalent-tool-pdf/multivalent-tool-pdf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for multivalent-tool-pdf
@@ -22,13 +22,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=multivalent-tool-pdf
VERSION=${VERSION:-0.8.5.20060102}
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}
@@ -56,9 +66,9 @@ install -m 0755 -o root -g root $CWD/wrapper.multivalent-tool-pdf \
$PKG/usr/bin/multivalent-tool-pdf
sed --in-place "s/@VERSION@/$VERSION/g" $PKG/usr/bin/multivalent-tool-pdf
-mkdir -p $PKG/etc/bash_completion.d/
+mkdir -p $PKG/usr/share/bash-completion/completions
install -m 0644 -o root -g root $CWD/multivalent-tool-pdf.bash_completion \
- $PKG/etc/bash_completion.d/multivalent-tool-pdf.new
+ $PKG/usr/share/bash-completion/completions/multivalent-tool-pdf
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a research tool-pdf-doc HowToRun.html $PKG/usr/doc/$PRGNAM-$VERSION
@@ -71,4 +81,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/multivalent-tool-pdf/multivalent-tool-pdf.info b/office/multivalent-tool-pdf/multivalent-tool-pdf.info
index 728f20ef07..7b0bede66f 100644
--- a/office/multivalent-tool-pdf/multivalent-tool-pdf.info
+++ b/office/multivalent-tool-pdf/multivalent-tool-pdf.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/multivale
MD5SUM="688b085ec0ea36a416ae0e34dae1f7e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/mupdf/README b/office/mupdf/README
index 9c57e36921..82512e4acd 100644
--- a/office/mupdf/README
+++ b/office/mupdf/README
@@ -1,25 +1,25 @@
mupdf is a lightweight PDF, CBZ, and XPS viewer and toolkit.
-The renderer in MuPDF is tailored for high quality anti-aliased graphics.
-MuPDF renders text with metrics and spacing accurate to within fractions of
-a pixel for the highest fidelity in reproducing the look of a printed page
-on screen.
+The renderer in MuPDF is tailored for high quality anti-aliased
+graphics. MuPDF renders text with metrics and spacing accurate to
+within fractions of a pixel for the highest fidelity in reproducing
+the look of a printed page on screen.
-MuPDF is also small, fast, and yet complete. It supports PDF 1.7 with
-transparency, encryption, hyperlinks, annotations, searching and more. It
-also reads XPS and OpenXPS documents. MuPDF is written modularly, so
-features can be added on by integrators if they so desire.
+MuPDF is also small, fast, and yet complete. It supports PDF 1.7
+with transparency, encryption, hyperlinks, annotations, searching
+and more. It also reads XPS and OpenXPS documents. MuPDF is written
+modularly, so features can be added on by integrators if they so
+desire.
+
+Optional dependency: tesseract. If this is installed, mupdf will be
+built with OCR support. If it's installed but you don't want to build
+mupdf with it, export TESSERACT=no in the environment.
Notes:
-1. By default, mupdf is built without JavaScript support. If you want
-to try mupdf's experimental JavaScript support, build with MUJS=yes in
-the script's environment.
+1. It's no longer possible to build mupdf without JavaScript support.
-2. Two mupdf executables are installed in /usr/bin. mupdf-x11 is the
+2. Three mupdf executables are installed in /usr/bin. mupdf-x11 is the
regular PDF viewer, and mupdf-x11-curl has support for fetching remote
resources from the network (which may be considered a security risk).
-
-3. By default, mupdf is now built as shared libraries. If for some
-reason you need static libs instead, build with STATIC=yes in the
-script's environment. See README_shared.txt for more information.
+mupdf-gl uses OpenGL for rendering (and doesn't support curl).
diff --git a/office/mupdf/README_shared.txt b/office/mupdf/README_shared.txt
deleted file mode 100644
index 227928d253..0000000000
--- a/office/mupdf/README_shared.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-
-Here is a hopefully informative mini-rant about shared library support
-for mupdf.
-
-Upstream doesn't do shared libraries and doesn't recommend distro
-packages use them. This build used to follow that advice. However,
-mupdf is just too large to use as a static library. We end up with a
-47MB libmupdf.a, plus 7 33MB binaries. *Every* distro I've looked at
-ships mupdf as shared libs, despite upstream's policy.
-
-A long time ago (in 2013), I used to patch mupdf for shared lib support,
-but I removed it when it stopped applying cleanly. Thomas Morper on the
-slackbuilds-users mailing list recently (2018) asked if I could include
-a patch (from LFS) that adds shared library support, so starting with
-mupdf 1.13.0, BUILD 2, we have shared libraries again.
-
-In case someone *really* disagrees with this change, I added a STATIC=yes
-environment setting. If you use this, you get static libs and no
-shared ones, per upstream's policy. This has been tested and works for
-1.13.0-2, but be aware that I probably won't be testing static builds
-for every mupdf release. If you run into trouble, email me and/or the
-slackbuilds-users list.
-
-The library versioning scheme I had to use is unfortunate. The major
-soname version is supposed to only change when there's an incompatible ABI
-change. The way I'm doing it, it changes for every mupdf release [*]. This
-is because upstream doesn't tell us when the ABI changes, because it's
-not relevant for them. They support only static libs specifically to
-avoid the headache of having to track and minimize ABI changes. Whenever
-they want to change the ABI, they just do it. Anything built against the
-old version will keep working fine, because it's statically linked. With
-shared libs, I have to invent my own library versioning scheme.
-
-The end result of this is, I (humble packager) can't easily tell when
-the ABI has changed, so I treat every release [*] as an ABI change. Means
-anything linked with libmupdf will fail with 'cannot open shared object
-file' after a mupdf upgrade, so it'll have to be rebuilt. The alternative
-would be to use unversioned shared libs, which would (seem to) avoid
-the need to rebuild... but whenever the undocumented ABI changed, we'd
-get weird behaviour and segfaults instead of a clean error message.
-
-The shared library patch used here is by me (B. Watson), based on a
-patch from Linux From Scratch. The original LFS patch doesn't include
-versioned libs, I suspect becase in LFS you tend to upgrade the entire
-OS by rebuilding it, instead of upgrading just one library.
-
-Right now, the only SBo builds affected by mupdf upgrades will be
-zathura-pdf-mupdf and possibly fbpdf (if built with optional mupdf
-support). Both have been tested with shared mupdf, and both compile and
-run cleanly.
-
-[*] Actually, not micro-version point releases (e.g. 1.13.0 => 1.13.1).
- Hopefully this doesn't cause a problem later. Upstream has just
- switched to a major.minor.micro version scheme starting with 1.13.0,
- so I don't know how often there will be micro-version bumps, and
- whether or not they'll have ABI changes.
diff --git a/office/mupdf/doinst.sh b/office/mupdf/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/office/mupdf/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild
index bccd04f5cb..81d5742501 100644
--- a/office/mupdf/mupdf.SlackBuild
+++ b/office/mupdf/mupdf.SlackBuild
@@ -1,12 +1,23 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mupdf
# Originally written by Hubert Hesse (email removed).
-# Heavily modified by B. Watson (yalhcru@gmail.com).
+# Heavily modified by B. Watson (urchlay@slackware.uk).
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240314 bkw: update for 1.23.11.
+# 20230531 bkw: BUILD=2, actually use SLKCFLAGS.
+# 20230117 bkw: update for 1.21.1.
+# - Again, this script can't build older versions.
+# - There's a gumbo-parser SlackBuild now, so build with it instead of
+# upstream's bundled version.
+# - tesseract builds work, so make that an option.
+# - Include pre-scaled PNG icons.
+
+# 20201020 bkw: update for 1.18.0. See notes, below.
+# 20200217 bkw: update for 1.16.1.
# 20180623 bkw: BUILD=2, add patch for dynamic linking. Thanks
# to Thomas Morper for pointing me in the right direction.
# 20180615 bkw: update for 1.13.0, move old change comments to ChangeLog.old
@@ -15,10 +26,47 @@
# 20170621 bkw: fix build with -current's newer openjpeg, BUILD=2.
# 20170122 bkw: update for 1.10a.
+# Notes for 1.18.0:
+# - This script can no longer build older versions, too many changes.
+# - Upstream *finally* supports building as a shared library, so I and
+# all other distro packagers can stop patching it... except the
+# shared lib is unversioned, which means upgrades would cause more
+# breakage than they should. So there's still some trickery here to
+# build a versioned solib.
+# - I've got rid of the STATIC=yes option and now only build shared libs.
+# As a side effect, libmupdf-third is gone, but I've included a
+# placeholder so stuff that links with it, will work without patching.
+# - gumbo (HTML parser) is now a hard dep. The source is bundled, so
+# there's no need to create a new gumbo SlackBuild, but it does mean
+# the mupdf shared lib has grown in size.
+# - mupdf-gl uses freeglut. The version we have in 14.2 is new enough to
+# build with, but old enough that you can't copy text from mupdf-gl.
+# So we build the bundled version here.
+# - API docs are now included in the package.
+# - Now using upstream's icons, including scalable SVG.
+# - Add missing doinst.sh
+# - There's now the option to build with tesseract and leptonica,
+# but it's disabled in this script. I have yet to get it to
+# actually *do* anything other than fail to build (when using
+# upstream's tesseract/leptonica forks) or complain about being
+# unable to load eng.traineddata (using SBo tesseract/leptonica,
+# and yes eng.traineddata is fine). Until I work out what's wrong,
+# or upstream releases a new version, this script doesn't support
+# building with tesseract. Don't contact me about this before March
+# 1, 2021, unless you actually have a patch that fixes it. After
+# that, if this message is still here, feel free to remind me to
+# revisit it.
+# - Slackware 14.2's libcrypto (from openssl) is too old for mupdf,
+# and there's no bundled souce for it. So currently mupdf is being
+# built without libcrypto. Hope that's OK.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mupdf
-VERSION=${VERSION:-1.13.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.23.11}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -28,7 +76,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,105 +100,123 @@ else
fi
set -e
+# Building mupdf seems to work OK if an older version is installed,
+# but I only tested 1.21.1 when 1.18.0 was installed (doesn't mean
+# it works for all versions).
+print_failed_message() {
+ if pkg-config --exists mupdf; then
+ cat 1>&2 <<EOF
+
+**************************************************************************
+* The build failed. This might have happened because you had an existing *
+* (older) mupdf package installed. Run "removepkg mupdf" and try again. *
+**************************************************************************
+EOF
+ fi
+ exit 1
+}
+
+# 20230117 bkw: tesseract builds work fine in 1.21.1, but tesseract
+# doesn't get autodetected. Help it out a little.
+TESS=no
+[ "${TESSERACT:-yes}" = "yes" ] && pkg-config --exists tesseract && TESS=yes
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-source
-tar xvf $CWD/$PRGNAM-$VERSION-source.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-source.tar.lz
cd $PRGNAM-$VERSION-source
-# don't find/chown/chmod until after the thirdparty junk is removed.
-
-# Build against system libs instead of bundled ones. If we didn't do this,
-# libmupdf would be useless for building anything else.
-
-# Everything removed from thirdparty/ has to be installed systemwide, and must
-# either be a Slackware core pkg, or mentioned in REQUIRES= in the .info
-# file... except mujs, which is mupdf's javascript support lib. If missing,
-# we end up with a mupdf with no JS support, which is probably a good idea
-# for the default build. If you want javascript, MUJS=yes in the env.
-
-MUJS="${MUJS:-no}"
-
-if [ "$MUJS" = "yes" ]; then
- mv thirdparty/mujs .keep
- rm -rf thirdparty/*
- mv .keep thirdparty/mujs
- WITH=with
-else
- rm -rf thirdparty/*
- sed -i 's,murun\.o,,' Makefile
- sed -i 's,pdf_drop_js.*,;,' source/pdf/pdf-xref.c
- sed -i '/murun_main/d' source/tools/mutool.c
- WITH=without
-fi
-
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \+
-
-# ref https://bugs.ghostscript.com/show_bug.cgi?id=697175
-sed -i '/#define *OPJ_STATIC/d' source/fitz/load-jpx.c
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Hard-code the version number so it'll stop trying to use git to retrieve
# it and spewing harmless but scary 'fatal: Not a git repository' errors.
sed -i "/^VERSION/s,=.*,= $VERSION," Makefile
-# 20180623 bkw: Finally, dynamic linking again. Patch is based on
-# http://www.linuxfromscratch.org/patches/blfs/svn/mupdf-1.13.0-shared_libs-1.patch
-# but I added versioned sonames. See README_shared.txt for the gory details.
-STATIC=${STATIC:-no}
-
-if [ "$STATIC" != "yes" ]; then
- patch -p1 < $CWD/shared_libs.diff
- LIBTYPE=shared
-else
- LIBTYPE=static
-fi
-
+# 20230531 bkw: derp. Never did apply the flags...
+sed -i "s,-O2,$SLKCFLAGS," Makerules
+
+# As of 1.18.0, we don't actually have to patch the Makefile
+# to do a versioned shared lib, but we do have to override some
+# variables. SOMAJOR is the mupdf major and zero-padded minor version
+# jammed together (e.g. 113 for 1.13.0, 203 for 2.3.0). SOMINOR is the
+# mupdf micro version (e.g. 0 for 1.13.0).
+SOMAJOR=$(echo $VERSION | cut -d. -f1-2 | sed -e 's,\.[0-9]$,0&,' -e 's,\.,,g')
+SOMINOR=$(echo $VERSION | cut -d. -f3- | sed 's,\.,,g' )
+SOVER=$SOMAJOR.$SOMINOR
+
+# Build against system libs instead of bundled ones, where possible.
+# Upstream recommends using their bundled lcms2 and mujs, I'll go with that.
+# Also, we *still* (in Slack 15.0) have to use the bundled freeglut
+# to get copy/paste working in mupdf-gl.
+# C++ (XCXXFLAGS) is only actually used if building with tesseract.
make verbose=yes \
- XCFLAGS="$SLKCFLAGS -DJBIG_NO_MEMENTO" \
- HAVE_MUJS="$MUJS" \
+ shared=yes \
+ LIB_LDFLAGS="-shared -Wl,-soname -Wl,libmupdf.so.$SOMAJOR" \
+ USE_SYSTEM_LIBS=yes \
+ USE_SYSTEM_GLUT=no \
+ tesseract=$TESS \
build=release \
prefix=/usr \
libdir=/usr/lib$LIBDIRSUFFIX \
mandir=/usr/man \
docdir=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG \
- all extra-apps install
-
-# 1.12.0 used to install this stuff with 'make install', 1.13.0 doesn't:
-for i in mjsgen muraster mupdf-x11-curl; do
- [ -e build/release/$i ] && install -s -m0755 build/release/$i $PKG/usr/bin
-done
-
-strip $PKG/usr/bin/*
-
-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
+ all install || print_failed_message
+
+# bins and libs are already stripped.
+gzip -9 $PKG/usr/man/man1/*.1
+
+# 20230117 bkw: fix up the lib dir.
+cd $PKG/usr/lib$LIBDIRSUFFIX
+ # 20230117 bkw: AFAIK, we have to list every shared lib this one
+ # depends on in the .pc file. This rather odd-looking bit of code
+ # creates the list.
+ PCLIBS="-lmupdf $(
+ objdump -p libmupdf.so | \
+ perl -ne 'next unless /NEEDED/;
+ chomp;
+ s,.* lib([^.]*)\.so.*,\1,;
+ print "-l$_ " unless /^(c|gcc_s)$/;'
+ )"
+ WITHTESS=WITHOUT
+ echo "$PCLIBS" | grep -q ltesseract && WITHTESS=WITH
+ echo "==> PCLIBS='$PCLIBS'"
+
+ # 20230117 bkw: the library is versioned, but the filename isn't...
+ chmod 755 libmupdf.so
+ mv libmupdf.so libmupdf.so.$SOVER
+ ln -s libmupdf.so.$SOVER libmupdf.so
+ ln -s libmupdf.so.$SOVER libmupdf.so.$SOMAJOR
+
+ # .pc file taken from debian and parameterized.
+ mkdir -p pkgconfig/
+ sed -e "s,@LIB@,lib$LIBDIRSUFFIX,g" \
+ -e "s,@VERSION@,$VERSION,g" \
+ -e "s,@PCLIBS@,$PCLIBS,g" \
+ $CWD/$PRGNAM.pc > pkgconfig/$PRGNAM.pc
+
+ # Historically, mupdf has included two libraries: libmupdf itself,
+ # and libmupdf-third, containing all the bundled third party code
+ # included with the source. In version >=1.18.0, when building a
+ # shared lib, no libmupdf-third gets created (all the code ends up in
+ # libmupdf.so). However, most projects that link with libmupdf expect
+ # this library to exist. This will probably change in the future as
+ # those projects get updated for the changes in mupdf, but for now,
+ # to be compatible with older mupdf versions, we include an empty
+ # libmupdf-third for stuff to link with.
+ ar crs libmupdf-third.a
+cd -
# Compatibility symlinks. Older versions, the binary is just "mupdf".
-# Separate -curl binary exists in 1.5 but not 1.4.
ln -s $PRGNAM-x11 $PKG/usr/bin/$PRGNAM
-ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM-x11.1.gz
-[ -e $PKG/usr/bin/$PRGNAM-x11-curl ] && \
- ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM-x11-curl.1.gz
-
-# mujstest is useless if we don't have JS support. Also libmupdfthird.a
-# ends up 8 bytes long & has no object code in it.
-[ "$MUJS" = "yes" ] || \
- rm -f $PKG/usr/bin/mujstest \
- $PKG/usr/lib$LIBDIRSUFFIX/libmupdfthird.a
-
-# Installed permissions are atrocious (everything 755).
-find $PKG -type f | xargs chmod 644
-chmod 755 $PKG/usr/bin/*
-if [ "$STATIC" != "yes" ]; then
- chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/lib*.so.*.*
-fi
+for i in x11 x11-curl gl; do
+ [ -e $PKG/usr/bin/$PRGNAM-$i ] && \
+ ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM-$i.1.gz
+done
# .desktop taken from debian and modified:
# - make it validate.
@@ -154,30 +224,26 @@ fi
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-# Icon converted from platform/x11/mupdf.ico, with icotool.
-mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
-
-# .pc file taken from debian and parameterized.
-PCLIBS="-l$PRGNAM -lfreetype -lharfbuzz -ljbig2dec -ljpeg -lcrypto -lopenjp2 -lz -lm"
-[ "$MUJS" = "yes" ] && PCLIBS="$PCLIBS -lmupdfthird"
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/
-sed -e "s,@LIB@,lib$LIBDIRSUFFIX,g" \
- -e "s,@VERSION@,$VERSION,g" \
- -e "s,@PCLIBS@,$PCLIBS,g" \
- $CWD/$PRGNAM.pc > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
+# Use shipped SVG icon, make PNGs at various sizes.
+mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/icons/hicolor/scalable/apps
+svg=docs/logo/mupdf-logo.svg
+for i in 16 22 32 48 64 128; do
+ px=${i}x${i}
+ dir=$PKG/usr/share/icons/hicolor/$px/apps
+ mkdir -p $dir
+ rsvg-convert --width=$i --height=$i -o $dir/$PRGNAM.png $svg
+done
+cat $svg > $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
# 'make install' already installed most of the docs.
+# 20240314 bkw: docs/api removed from upstream source.
cp -a CONTRIBUTORS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# slack-desc will conveniently say whether javascript is built in,
-# and whether libs are shared or static.
mkdir -p $PKG/install
-sed -e "s,@WITH@,$WITH," \
- -e "s,@LIBTYPE@,$LIBTYPE," \
- $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@WITHTESS@,$WITHTESS," < $CWD/slack-desc > $PKG/install/slack-desc
+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/office/mupdf/mupdf.info b/office/mupdf/mupdf.info
index 1baf451ab3..8c3e38516c 100644
--- a/office/mupdf/mupdf.info
+++ b/office/mupdf/mupdf.info
@@ -1,10 +1,10 @@
PRGNAM="mupdf"
-VERSION="1.13.0"
+VERSION="1.23.11"
HOMEPAGE="https://www.mupdf.com/"
-DOWNLOAD="https://www.mupdf.com/downloads/archive/mupdf-1.13.0-source.tar.gz"
-MD5SUM="447bc5c3305efe9645e12fce759e0198"
+DOWNLOAD="https://www.mupdf.com/downloads/archive/mupdf-1.23.11-source.tar.lz"
+MD5SUM="2a1afc01ba949a383ac3a308058b063b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jbig2dec"
+REQUIRES="jbig2dec gumbo-parser"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/mupdf/mupdf.pc b/office/mupdf/mupdf.pc
index 50cb195d72..2f8aa9afcf 100644
--- a/office/mupdf/mupdf.pc
+++ b/office/mupdf/mupdf.pc
@@ -5,7 +5,6 @@ includedir=${prefix}/include
Name: mupdf
Description: Library for rendering PDF documents
-Requires.private: freetype2
Version: @VERSION@
Libs: -L${libdir} @PCLIBS@
Cflags: -I${includedir}
diff --git a/office/mupdf/mupdf.png b/office/mupdf/mupdf.png
deleted file mode 100644
index f7cf1a6e1b..0000000000
--- a/office/mupdf/mupdf.png
+++ /dev/null
Binary files differ
diff --git a/office/mupdf/shared_libs.diff b/office/mupdf/shared_libs.diff
deleted file mode 100644
index 465028f632..0000000000
--- a/office/mupdf/shared_libs.diff
+++ /dev/null
@@ -1,76 +0,0 @@
-diff -Naur mupdf-1.13.0-source/Makefile mupdf-1.13.0-source.patched/Makefile
---- mupdf-1.13.0-source/Makefile 2018-04-12 09:14:06.000000000 -0400
-+++ mupdf-1.13.0-source.patched/Makefile 2018-06-23 15:24:50.242018433 -0400
-@@ -14,7 +14,7 @@
- # Do not specify CFLAGS or LIBS on the make invocation line - specify
- # XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
- # set a variable that was set on the command line.
--CFLAGS += $(XCFLAGS) -Iinclude
-+CFLAGS += $(XCFLAGS) -Iinclude -fPIC
- LIBS += $(XLIBS) -lm
-
- LIBS += $(FREETYPE_LIBS)
-@@ -325,10 +325,10 @@
-
- # --- Library ---
-
--MUPDF_LIB = $(OUT)/libmupdf.a
--THIRD_LIB = $(OUT)/libmupdfthird.a
--THREAD_LIB = $(OUT)/libmuthreads.a
--PKCS7_LIB = $(OUT)/libmupkcs7.a
-+MUPDF_LIB = $(OUT)/libmupdf.so
-+THIRD_LIB = $(OUT)/libmupdfthird.so
-+THREAD_LIB = $(OUT)/libmuthreads.so
-+PKCS7_LIB = $(OUT)/libmupkcs7.so
-
- MUPDF_OBJ := \
- $(FITZ_OBJ) \
-@@ -355,12 +355,16 @@
- $(ZLIB_OBJ) \
- $(LCMS2_OBJ)
-
--$(MUPDF_LIB) : $(MUPDF_OBJ)
-+$(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_LIB) $(THREAD_LIB)
-+ $(LINK_CMD) -shared -Wl,-soname -Wl,libmupdf.so.$(SOMAJOR) -Wl,--no-undefined
- $(THIRD_LIB) : $(THIRD_OBJ)
-+ $(LINK_CMD) -shared -Wl,-soname -Wl,libmupdfthird.so.$(SOMAJOR) -Wl,--no-undefined
- $(THREAD_LIB) : $(THREAD_OBJ)
-+ $(LINK_CMD) -shared -Wl,-soname -Wl,libmuthreads.so.$(SOMAJOR) -Wl,--no-undefined -lpthread
- $(PKCS7_LIB) : $(PKCS7_OBJ)
-+ $(LINK_CMD) -shared -Wl,-soname -Wl,libmupkcs7.so.$(SOMAJOR)
-
--INSTALL_LIBS := $(MUPDF_LIB) $(THIRD_LIB)
-+INSTALL_LIBS := $(MUPDF_LIB) $(THIRD_LIB) $(THREAD_LIB) $(PKCS7_LIB)
-
- # --- Tools and Apps ---
-
-@@ -444,6 +448,14 @@
-
- VERSION = $(shell git describe --tags)
-
-+# 20180623 bkw: major/minor/micro versions for shared library.
-+# SOMAJOR is the mupdf major/minor version jammed together (e.g. 113
-+# for 1.13.0).
-+# SOMINOR is the mupdf micro version (e.g. 0 for 1.13.0).
-+SOMAJOR = $(shell echo $(VERSION) | cut -d. -f1-2 | sed 's,\.,,g' )
-+SOMINOR = $(shell echo $(VERSION) | cut -d. -f3- | sed 's,\.,,g' )
-+SOVER = $(SOMAJOR).$(SOMINOR)
-+
- version:
- sed -i~ -e '/FZ_VERSION /s/".*"/"'$(VERSION)'"/' include/mupdf/fitz/version.h
-
-@@ -482,7 +494,13 @@
- install include/mupdf/pdf/*.h $(DESTDIR)$(incdir)/mupdf/pdf
-
- install -d $(DESTDIR)$(libdir)
-- install $(INSTALL_LIBS) $(DESTDIR)$(libdir)
-+ install -s -m0755 $(INSTALL_LIBS) $(DESTDIR)$(libdir)
-+ ( cd $(DESTDIR)$(libdir) ; \
-+ for i in $(INSTALL_LIBS); do \
-+ j=$$( basename $$i) ; \
-+ mv $$j $$j.$(SOVER) ; \
-+ ln -s $$j.$(SOVER) $$j ; \
-+ done )
-
- install -d $(DESTDIR)$(bindir)
- install $(INSTALL_APPS) $(DESTDIR)$(bindir)
diff --git a/office/mupdf/slack-desc b/office/mupdf/slack-desc
index c04023860d..8110a7fe4f 100644
--- a/office/mupdf/slack-desc
+++ b/office/mupdf/slack-desc
@@ -9,11 +9,11 @@
mupdf: mupdf (a lightweight PDF, CBZ, and XPS viewer and toolkit)
mupdf:
mupdf: The renderer in MuPDF is tailored for high quality anti-aliased
-mupdf: graphics. MuPDF renders text with metrics and spacing accurate to
+mupdf: graphics. MuPDF renders text with metrics and spacing accurate to
mupdf: within fractions of a pixel for the highest fidelity in reproducing
mupdf: the look of a printed page on screen.
mupdf:
mupdf: https://www.mupdf.com/
mupdf:
-mupdf: This package was built @WITH@ JavaSscript support, and installs
-mupdf: @LIBTYPE@ libraries.
+mupdf: This package was built @WITHTESS@ tesseract support.
+mupdf:
diff --git a/office/muttprint/muttprint.SlackBuild b/office/muttprint/muttprint.SlackBuild
index 761ed83242..7317e8c3ad 100644
--- a/office/muttprint/muttprint.SlackBuild
+++ b/office/muttprint/muttprint.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for muttprint
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=muttprint
VERSION=${VERSION:-0.72d}
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}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/myrulib/README b/office/myrulib/README
deleted file mode 100644
index 58060c95fe..0000000000
--- a/office/myrulib/README
+++ /dev/null
@@ -1,6 +0,0 @@
-MyRuLib is an e-book library manager and (optionally) reader.
-It allows you to work with huge archives containing thousands
-of books in an easy, fast and convenient way.
-
-If you don't want the CoolReader engine to be built, pass
-COOLREADER=no to the script.
diff --git a/office/myrulib/myrulib.SlackBuild b/office/myrulib/myrulib.SlackBuild
deleted file mode 100644
index 0616a215d2..0000000000
--- a/office/myrulib/myrulib.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for MyRuLib
-
-# Copyright 2011-2013 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=myrulib
-VERSION=${VERSION:-0.29.16}
-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
-
-[ "${COOLREADER:-yes}" = "yes" ] && \
- coolreader="--with-reader" || coolreader=""
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="-lpng -ljpeg" \
-./configure \
- --prefix=/usr \
- --build=$ARCH-slackware-linux \
- $coolreader
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-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/office/myrulib/myrulib.info b/office/myrulib/myrulib.info
deleted file mode 100644
index 83d57b774b..0000000000
--- a/office/myrulib/myrulib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="myrulib"
-VERSION="0.29.16"
-HOMEPAGE="http://myrulib.lintest.ru"
-DOWNLOAD="http://www.lintest.ru/pub/myrulib-0.29.16.tar.bz2"
-MD5SUM="ad7e3b21b36b4b493c7625b5b625aca6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wxPython"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
diff --git a/office/mytetra/mytetra.SlackBuild b/office/mytetra/mytetra.SlackBuild
index fca52c0c0d..c1bcd24f34 100644
--- a/office/mytetra/mytetra.SlackBuild
+++ b/office/mytetra/mytetra.SlackBuild
@@ -1,29 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mytetra
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
+# 20220217 bkw: Modified by SlackBuilds.org: fix build on 15.0. There
+# are newer releases of this, which might not require qt4, but for now
+# it's enough to get it building and ship it.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mytetra
VERSION=${VERSION:-1.30.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -48,9 +59,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Correct target path in file mytetra.pro
sed "s,/usr/local/bin,/usr/bin,g" -i mytetra.pro
@@ -58,7 +69,7 @@ sed "s,/usr/local/bin,/usr/bin,g" -i mytetra.pro
# Patch fix gcc 4.7
patch -p0 -i $CWD/mytetra-gcc4.7.patch
-qmake \
+qmake-qt4 \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS"
@@ -76,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/office/mytetra/mytetra.info b/office/mytetra/mytetra.info
index 34dfdfee3e..30a6acf85d 100644
--- a/office/mytetra/mytetra.info
+++ b/office/mytetra/mytetra.info
@@ -1,10 +1,10 @@
PRGNAM="mytetra"
VERSION="1.30.1"
HOMEPAGE="https://webhamster.ru/site/page/index/articles/projectcode/138"
-DOWNLOAD="https://webhamster.ru/db/data/articles/105/mytetra_1_30_1_src.zip"
+DOWNLOAD="https://slackware.uk/~urchlay/src/mytetra_1_30_1_src.zip"
MD5SUM="3af1f0feacec645540c0857d57669fa1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Andrey Maraev"
EMAIL="andrew.maraev60@yandex.ru"
diff --git a/office/mythes-id/mythes-id.SlackBuild b/office/mythes-id/mythes-id.SlackBuild
index 37fdebdb95..47e3f45ac8 100644
--- a/office/mythes-id/mythes-id.SlackBuild
+++ b/office/mythes-id/mythes-id.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mythes-id
@@ -24,13 +24,23 @@
# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mythes-id
VERSION=${VERSION:-1.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}
@@ -65,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/mythes/mythes.SlackBuild b/office/mythes/mythes.SlackBuild
index 649d2b012d..ac62e06229 100644
--- a/office/mythes/mythes.SlackBuild
+++ b/office/mythes/mythes.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MyThes
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mythes
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,8 +98,10 @@ cp -a AUTHORS COPYING ChangeLog INSTALL README *.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/navi/README b/office/navi/README
new file mode 100644
index 0000000000..9b81adef0d
--- /dev/null
+++ b/office/navi/README
@@ -0,0 +1,17 @@
+navi : An interactive cheatsheet tool for the command-line and
+application launchers.
+
+navi allows you to browse through cheatsheets (that you may write
+yourself or download from maintainers) and execute commands. Suggested
+values for arguments are dynamically displayed in a list.
+
+Pros
+- it will spare you from knowing CLIs by heart
+- it will spare you from copy-pasting output from intermediate commands
+- it will make you type less
+- it will teach you new one-liners
+
+It uses fzf, skim or Alfred under the hood.
+It can be either used as a command or as a shell widget 'à la' Ctrl-R).
+
+Running navi the first time will help you download cheatsheets.
diff --git a/office/navi/navi.SlackBuild b/office/navi/navi.SlackBuild
new file mode 100644
index 0000000000..1f19421a8f
--- /dev/null
+++ b/office/navi/navi.SlackBuild
@@ -0,0 +1,183 @@
+#!/bin/bash
+
+# Slackware build script for dust
+
+# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021-2022 Erich Ritz, Jenks, Oklahoma, 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=navi
+VERSION=${VERSION:-2.23.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+ CARGOTARGET="--target i586-unknown-linux-gnu"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ CARGOTARGET="--target i686-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ CARGOTARGET="--target x86_64-unknown-linux-gnu"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+ CARGOTARGET=""
+fi
+
+set -e
+
+# use SBo rust16 in 15.0
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# build offline
+# configuration tells cargo to use the configured directory
+# for dependencies intead of downloading from crates.io
+mkdir .cargo
+cat << EOF >> .cargo/config.toml
+[source]
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
+EOF
+
+# deps and versions come from Cargo.lock
+mkdir vendor
+(
+ cd vendor
+
+ grep -h -A 4 "\[\[package\]\]" \
+ $(find "../" -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4, $5 }' | \
+ sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep " source=" | \
+ sed 's/ dependencies=.*$//' | \
+ sed 's/ source=[^ ]*//' | \
+ sed 's/ checksum=/=/' | \
+ sort -u | \
+ while read -r dep ; do
+
+ cksum="$(printf "%s\n" "$dep" | cut -d= -f3)"
+ ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
+ dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
+
+ CRATE_FILE=$CWD/$dep-$ver.crate
+
+ if [ -z "$cksum" ] ; then
+ mkdir $dep-$ver
+ tar xvf $CRATE_FILE -C $dep-$ver --strip-components=1
+ cksum="null"
+ else
+ tar xvf $CRATE_FILE
+ fi
+
+ touch $dep-$ver/.cargo-ok
+
+ # generate checksum
+ {
+ printf "{\n"
+ printf ' "files": {\n'
+
+ (
+ cd $dep-$ver
+ find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/'
+ ) | sed '$ s/,$//'
+
+ printf " },\n"
+ printf ' "package": "%s"' "$cksum"
+
+ printf "}\n"
+ } | python -c "import sys, json; data = sys.stdin.read(); print json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : '))" > $dep-$ver/.cargo-checksum.json
+ done
+)
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CARGO_HOME=.cargo \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo build --offline --release $CARGOTARGET
+
+find target -name $PRGNAM -exec install -Dm 755 {} $PKG/usr/bin/$PRGNAM \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a -r \
+ LICENSE README.md docs/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/navi/navi.info b/office/navi/navi.info
new file mode 100644
index 0000000000..bae613b5c9
--- /dev/null
+++ b/office/navi/navi.info
@@ -0,0 +1,308 @@
+PRGNAM="navi"
+VERSION="2.23.0"
+HOMEPAGE="https://github.com/denisidoro/navi"
+DOWNLOAD="https://github.com/denisidoro/navi/archive/v2.23.0/navi-2.23.0.tar.gz \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate \
+ https://static.crates.io/crates/aligned/aligned-0.4.1.crate \
+ https://static.crates.io/crates/anstream/anstream-0.2.6.crate \
+ https://static.crates.io/crates/anstyle/anstyle-0.3.5.crate \
+ https://static.crates.io/crates/anstyle-parse/anstyle-parse-0.1.1.crate \
+ https://static.crates.io/crates/anstyle-wincon/anstyle-wincon-0.2.0.crate \
+ https://static.crates.io/crates/anyhow/anyhow-1.0.70.crate \
+ https://static.crates.io/crates/arrayvec/arrayvec-0.5.2.crate \
+ https://static.crates.io/crates/as-slice/as-slice-0.2.1.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.0.1.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/cc/cc-1.0.79.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/clap/clap-4.2.1.crate \
+ https://static.crates.io/crates/clap_builder/clap_builder-4.2.1.crate \
+ https://static.crates.io/crates/clap_derive/clap_derive-4.2.0.crate \
+ https://static.crates.io/crates/clap_lex/clap_lex-0.4.1.crate \
+ https://static.crates.io/crates/concolor-override/concolor-override-1.0.0.crate \
+ https://static.crates.io/crates/concolor-query/concolor-query-0.3.3.crate \
+ https://static.crates.io/crates/crossterm/crossterm-0.26.1.crate \
+ https://static.crates.io/crates/crossterm_winapi/crossterm_winapi-0.9.0.crate \
+ https://static.crates.io/crates/cvt/cvt-0.1.2.crate \
+ https://static.crates.io/crates/directories-next/directories-next-2.0.0.crate \
+ https://static.crates.io/crates/dirs-sys-next/dirs-sys-next-0.1.2.crate \
+ https://static.crates.io/crates/dns_common/dns_common-0.2.1.crate \
+ https://static.crates.io/crates/dns_common_derive/dns_common_derive-0.2.1.crate \
+ https://static.crates.io/crates/dunce/dunce-1.0.4.crate \
+ https://static.crates.io/crates/edit/edit-0.1.4.crate \
+ https://static.crates.io/crates/either/either-1.6.1.crate \
+ https://static.crates.io/crates/errno/errno-0.3.0.crate \
+ https://static.crates.io/crates/errno-dragonfly/errno-dragonfly-0.1.2.crate \
+ https://static.crates.io/crates/etcetera/etcetera-0.7.1.crate \
+ https://static.crates.io/crates/fs_at/fs_at-0.1.4.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.2.3.crate \
+ https://static.crates.io/crates/hashbrown/hashbrown-0.12.3.crate \
+ https://static.crates.io/crates/heck/heck-0.4.0.crate \
+ https://static.crates.io/crates/hermit-abi/hermit-abi-0.3.1.crate \
+ https://static.crates.io/crates/home/home-0.5.4.crate \
+ https://static.crates.io/crates/indexmap/indexmap-1.9.3.crate \
+ https://static.crates.io/crates/io-lifetimes/io-lifetimes-1.0.9.crate \
+ https://static.crates.io/crates/is-terminal/is-terminal-0.4.6.crate \
+ https://static.crates.io/crates/itoa/itoa-1.0.6.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.140.crate \
+ https://static.crates.io/crates/linux-raw-sys/linux-raw-sys-0.3.1.crate \
+ https://static.crates.io/crates/lock_api/lock_api-0.4.6.crate \
+ https://static.crates.io/crates/log/log-0.4.17.crate \
+ https://static.crates.io/crates/matchers/matchers-0.1.0.crate \
+ https://static.crates.io/crates/memchr/memchr-2.4.0.crate \
+ https://static.crates.io/crates/mio/mio-0.8.3.crate \
+ https://static.crates.io/crates/nix/nix-0.26.2.crate \
+ https://static.crates.io/crates/normpath/normpath-1.1.1.crate \
+ https://static.crates.io/crates/nu-ansi-term/nu-ansi-term-0.46.0.crate \
+ https://static.crates.io/crates/once_cell/once_cell-1.17.1.crate \
+ https://static.crates.io/crates/overload/overload-0.1.1.crate \
+ https://static.crates.io/crates/parking_lot/parking_lot-0.12.0.crate \
+ https://static.crates.io/crates/parking_lot_core/parking_lot_core-0.9.1.crate \
+ https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.9.crate \
+ https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.10.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.56.crate \
+ https://static.crates.io/crates/quote/quote-1.0.26.crate \
+ https://static.crates.io/crates/rand/rand-0.8.3.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.6.2.crate \
+ https://static.crates.io/crates/rand_hc/rand_hc-0.3.0.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.8.crate \
+ https://static.crates.io/crates/redox_users/redox_users-0.4.0.crate \
+ https://static.crates.io/crates/regex/regex-1.7.3.crate \
+ https://static.crates.io/crates/regex-automata/regex-automata-0.1.10.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.29.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.8.2.crate \
+ https://static.crates.io/crates/rustix/rustix-0.37.7.crate \
+ https://static.crates.io/crates/ryu/ryu-1.0.9.crate \
+ https://static.crates.io/crates/same-file/same-file-1.0.6.crate \
+ https://static.crates.io/crates/scopeguard/scopeguard-1.1.0.crate \
+ https://static.crates.io/crates/serde/serde-1.0.159.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.159.crate \
+ https://static.crates.io/crates/serde_json/serde_json-1.0.95.crate \
+ https://static.crates.io/crates/serde_yaml/serde_yaml-0.9.21.crate \
+ https://static.crates.io/crates/sharded-slab/sharded-slab-0.1.4.crate \
+ https://static.crates.io/crates/shellwords/shellwords-1.1.0.crate \
+ https://static.crates.io/crates/signal-hook/signal-hook-0.3.13.crate \
+ https://static.crates.io/crates/signal-hook-mio/signal-hook-mio-0.2.3.crate \
+ https://static.crates.io/crates/signal-hook-registry/signal-hook-registry-1.4.0.crate \
+ https://static.crates.io/crates/smallvec/smallvec-1.10.0.crate \
+ https://static.crates.io/crates/smart-default/smart-default-0.6.0.crate \
+ https://static.crates.io/crates/stable_deref_trait/stable_deref_trait-1.2.0.crate \
+ https://static.crates.io/crates/static_assertions/static_assertions-1.1.0.crate \
+ https://static.crates.io/crates/strip-ansi-escapes/strip-ansi-escapes-0.1.1.crate \
+ https://static.crates.io/crates/strsim/strsim-0.10.0.crate \
+ https://static.crates.io/crates/syn/syn-1.0.109.crate \
+ https://static.crates.io/crates/syn/syn-2.0.13.crate \
+ https://static.crates.io/crates/synstructure/synstructure-0.12.6.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.2.0.crate \
+ https://static.crates.io/crates/thiserror/thiserror-1.0.40.crate \
+ https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.40.crate \
+ https://static.crates.io/crates/thread_local/thread_local-1.1.7.crate \
+ https://static.crates.io/crates/tracing/tracing-0.1.37.crate \
+ https://static.crates.io/crates/tracing-attributes/tracing-attributes-0.1.23.crate \
+ https://static.crates.io/crates/tracing-core/tracing-core-0.1.30.crate \
+ https://static.crates.io/crates/tracing-log/tracing-log-0.1.3.crate \
+ https://static.crates.io/crates/tracing-subscriber/tracing-subscriber-0.3.16.crate \
+ https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.8.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.10.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.2.crate \
+ https://static.crates.io/crates/unsafe-libyaml/unsafe-libyaml-0.2.8.crate \
+ https://static.crates.io/crates/utf8parse/utf8parse-0.2.1.crate \
+ https://static.crates.io/crates/valuable/valuable-0.1.0.crate \
+ https://static.crates.io/crates/vte/vte-0.10.1.crate \
+ https://static.crates.io/crates/vte_generate_state_changes/vte_generate_state_changes-0.1.1.crate \
+ https://static.crates.io/crates/walkdir/walkdir-2.3.3.crate \
+ https://static.crates.io/crates/wasi/wasi-0.10.2+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/wasi/wasi-0.11.0+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/which/which-4.1.0.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-util/winapi-util-0.1.5.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.32.0.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.36.1.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.45.0.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.48.0.crate \
+ https://static.crates.io/crates/windows-targets/windows-targets-0.42.2.crate \
+ https://static.crates.io/crates/windows-targets/windows-targets-0.48.0.crate \
+ https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.42.2.crate \
+ https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.48.0.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.32.0.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.36.1.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.42.2.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.48.0.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.32.0.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.36.1.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.42.2.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.48.0.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.32.0.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.36.1.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.42.2.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.48.0.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.32.0.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.36.1.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.42.2.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.48.0.crate \
+ https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.42.2.crate \
+ https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.48.0.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.32.0.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.36.1.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.42.2.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.48.0.crate"
+MD5SUM="30a4e7cef3bf1d8e3182ad6d9d3ab2cf \
+ 425b8fdf70df59998d9b7c89083e48d1 \
+ d82a09f1c1a60aa9f46c0f76e4ea1265 \
+ 031f246bd9367c5371a850e640e85abe \
+ 53c2a5b5e01940a8d5149106c2dff04a \
+ d8c6a5fd9aaecb3dbf2b4a85bfb03e4c \
+ ca12cc5578bca6046cabf59d9ee9ee4c \
+ c819bcd547a7f325a7a2d710db5a0d8a \
+ c83252f91435a921e7e4434956010344 \
+ fdd18ab1fcd6905d1abb3dce8a86ea68 \
+ c6443ec8d007c729ba5482008d0c864d \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ 7d83f411bb22318c65fec8bbee937ece \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ 211f466700ae4fb8501c36fd62805655 \
+ 29b83c7c9c3a74416b15a2588be77b8e \
+ 3decc2a3d38af16171bec276f5a6ac50 \
+ a53136b7917d066ae41a49f2b2d19fb9 \
+ 489a1ad830f372e76a4363d1033a4eb4 \
+ eaf32bb0b3348f7aca6ceca260c31218 \
+ 5f97ab6850664563218eba1deb775f18 \
+ 22a24f05bcdf8e7e82aa83e1d1bf52b7 \
+ 30ec1b3363b03c11d30f45a0c7005411 \
+ 84353239d240e4144020851ae9768f68 \
+ 056c8d712ee146347c412b72f4077b2f \
+ e3349d8b49dd5d725cf90dba28fc0c4c \
+ 7d853b47c13b2cf79c38907a45c3a760 \
+ 09fbe9408a658ae3e5d294812af2bc65 \
+ 854188d01f3e24633d19b159a9cc1786 \
+ b4e2b229c362ad0dd313ff631816d5db \
+ de1bb7e293f523c2b891ecafcd57fad9 \
+ fc65414dcac661c46f2cfad7722304f9 \
+ 2254666622c6a9707a8c2c7eef17a58c \
+ 8675c1fd26857fd9591edb8b23c285c3 \
+ 9db1c40cc98e60cc7bd6782249a0ba01 \
+ 1b41b97d982520b7364a87a39e2a1ed8 \
+ 4fd75413081a400a1c230f0700732611 \
+ c9fa9187985880eb320b350bd9024510 \
+ 6385d8499b2b26e3d41edd145e744f24 \
+ 11ce8b5f52cd315e8f52985b834b87eb \
+ 4799f06459eb30063f0f0ddd1e0b1525 \
+ a9c5dd636ef108dd85ca4e080794618a \
+ ffbab2186e43af074b619d6d8bfe3566 \
+ fba3b040a55c01be7376d3dd5c4d4920 \
+ 83b5b2bd50c54e08c9bbacb21757753e \
+ eb25786fe28f9e1774f0eb36562e4571 \
+ 825ecc659b700477535aa5c7dea95a82 \
+ b31bf94ffe7e0f2ada93afae1076eaeb \
+ 29614f150859d094548bed37e78f586b \
+ 9d375c3f54df74656fa0543c068b861e \
+ 110b5ea3d4fc1e9bb304e74f7a3165ee \
+ 580f8f88379ff0678e8336a781dda55d \
+ 8d526535233ee01e0f1402b5e8f4e8e9 \
+ a56461a712a83abc691cf473d1835228 \
+ ec9e9fe40bacdde764862148c53386de \
+ 03a7ad2814bd9dd34e0acec8ca4f855e \
+ eab5fb7020e5cc0a6cfb7627c4e9b31f \
+ 2bba2855e1e1f6f9f68e1c4e8446fcfa \
+ ce6dde2ea2691fdd97632fb8c9b3e042 \
+ a4ff7abd41c57dfd24bbd4b50edb848f \
+ 4ed863e96f34f750bebed5d8bf9a7f89 \
+ 323153a8ec1da78a73131fec9d900c2e \
+ e878596904877d1d7933d8f89a63dd49 \
+ e30085994bbeb4b7f4895d48216d5476 \
+ b5b168b1af99cbb8c0f5556ffe56f1e5 \
+ 69e9436d5c9889a6fdf199dfc5c3d3fe \
+ 6bc41c1a00d8876d2ebdcda4054ee4f5 \
+ d961a02195226cfce1a1e23ba5980cb4 \
+ b5b1d0537212721d9c7eddd603541569 \
+ 95f4b6766a27d814b4e54d1ccb3b7fc9 \
+ f2303650593b13e30a85e39d8c79c961 \
+ 0538d1da369f3e3f0412aa4d735c1b61 \
+ 8f5ff45e31f879a4bb4f8815fb25acc1 \
+ 85cdea1e8c0313f2b3129f9b85905eb9 \
+ 7fe15f165a1812b23e5b1980aa364de2 \
+ 2d8d8b377d144f5e32b4f65a69eb0b24 \
+ b4a0a98a54439a5a37952c8879187ee3 \
+ 93678b019fcae346dc398e0f01a83f10 \
+ 7e7c135ac47f272b411ecd975090f73c \
+ 68c2d7c90e8f29c8105d0c0a5a229acd \
+ 9adeedabfb34b02593bdcc295acefe1a \
+ aea6e994efc417ef3e4b6de03255b64d \
+ f6eeafec802ce9ef73b714d7317c0e05 \
+ b077f27c741a438d0a7a474a41e22a62 \
+ cd23eb9bc45514102af9b76e333230fb \
+ 21b43d5721b3a9c16059acb691f4314d \
+ a8014a7c865aa54f305e8cda3ef02019 \
+ 26b4ac1432c227434bc943817f42872e \
+ 5988bad1543264a9f48b542192e7de9a \
+ c9defe80406280bcfce4ecf31c0200b3 \
+ 409984247a8d8f4e15a7e0d097a0447a \
+ 82d98dc87dc8503400aa095f5aa70f13 \
+ 64d9f46e9ba78f68c30c486be3d8b7df \
+ d8a61b40310276b653b4e33f966dcd13 \
+ 8f6b6cc71be0473b79c65abfea592c07 \
+ 6e328718765f2352dd34f10215488fbb \
+ ab44b0c93adeb9ee88e1c66555b8e6a7 \
+ dd290e713c28d2e565d78eedd471ed78 \
+ 4375c6756918c2e9080870b4a7489d4e \
+ 97e8197912c3d06f0b7486d07c31e182 \
+ 45c1d005c5df9e62640b4bbb1f79090a \
+ e3189db1511d7f2fe59fd1b15ebac8ff \
+ 96f07664354435a127662981676765dd \
+ 89f2916b726f47831eb4877eee7e29a3 \
+ 7544c989c31232ae0d941e321dfe9bb2 \
+ 7d6d4fc9fad200d6e295f6930e97e022 \
+ 087bfc476e9d73628cebd265590f11f7 \
+ ce3226324f5abd3860f9c79c9b92b372 \
+ ceee1159c41351d05f4cf705490867b3 \
+ 4efc6e7a118524cecefa0023a18accf7 \
+ 86a6d196e4dabf14f3b1366eee81b86c \
+ a29fec77b1e07caf7b682b881b676c06 \
+ 250acb3063bbdc870cbb54edcd6fff8f \
+ a061ad1db3e0d839725b037ff8be84e7 \
+ e972ea58ec203bfa6c79c1207852298b \
+ 164600124536762707f028a9485d6a54 \
+ 0498c4a11448bfc35dc7bb2caa64c753 \
+ db96b50050277bf05a3c68534bbb9586 \
+ b9e37d5fc4ad28b612b78ad37816684d \
+ 09de9d01e7331ff3da11f58be8bef0df \
+ 102eda2342e9251f693364e58751ccb2 \
+ b3083009944ab58cbd9c4941f4965545 \
+ b58284cb8ce52b8de07e09f4f8fb9653 \
+ f2797ade0e36f1e5d6be9d11b5076582 \
+ a369d510325342310c7ab159bd181dae \
+ 7244738a73643f06df82069d00393ad7 \
+ 7968284877e481b58df1569b68b5dc26 \
+ e8732bb9eec91463ea10020fc16991c1 \
+ 35d9260a71d46dd3c5b267e6f64fba88 \
+ 776128629d743f0d6127db259a0d8844 \
+ 34d06a94727c506c11e4710160e90f32 \
+ 3d2bf2e578fe93c538d4f8c5cfddbe9b \
+ edbc0fdbfa33030d9e89824ef3501e42 \
+ 7f60b76e78bd2a190cf3ddc2b4c4920b \
+ 017691b927b405669e1139b054a35f4a \
+ 631f9e1bcfe18e3976ef4c893ee13531 \
+ b55c79e62c3cc7bdf51492e000e73be8 \
+ ce798410cba61fe713f3487cd6cafef4 \
+ f56c70fbae23f08fb0912284333f7851 \
+ f3dad0f67aa70c6618c1593bd2086c36 \
+ 3c519baed53d525ce2e9aaf1744416a3 \
+ f55176d04297df9dd5ccae7c748e26c7 \
+ d20c2b0f45a62cc15c503ea610706a8f \
+ 085ec81e4ced998bb7f1aea30b7a630e \
+ ec7e437088dc741e6a0653e553abca4e \
+ e24dfcf625e130a1e6db0ae375a17dd7 \
+ ee14d4b0db3e0697d378ed7260602eeb \
+ 8e285ddee403a9abe62d6fe2bfbb736a \
+ 8cec8a187df7a7b971009a7693f60140 \
+ 2fa0c13b386de68baa17168774b1c5fa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rust16"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/navi/slack-desc b/office/navi/slack-desc
new file mode 100644
index 0000000000..ad1ba8f15c
--- /dev/null
+++ b/office/navi/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+navi: navi (interactive cheat tool for command-line and apps launchers)
+navi:
+navi: An interactive cheatsheet tool for the command-line and application
+navi: launchers.
+navi:
+navi: navi allows you to browse through cheatsheets (that you may write
+navi: yourself or download from maintainers) and execute commands.
+navi: Suggested values for arguments are dynamically displayed in a list.
+navi:
+navi:
+navi:
diff --git a/office/neoleo/README b/office/neoleo/README
index a351090afa..b326bd7a32 100644
--- a/office/neoleo/README
+++ b/office/neoleo/README
@@ -1,5 +1,3 @@
neoleo (ncurses spreadsheet)
neoleo is a lightweight curses spreadsheet based on GNU oleo.
-Features include: macros, a headless mode for inclusion in UNIX
-pipelines, and Emacs-like keybindings.
diff --git a/office/neoleo/neoleo.SlackBuild b/office/neoleo/neoleo.SlackBuild
index 828b2a0f20..c8d46d20f8 100644
--- a/office/neoleo/neoleo.SlackBuild
+++ b/office/neoleo/neoleo.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for neoleo
# Written by Mark Carter <alt.mcarter@gmail.com>
-# Copyright 2017 Mark Carter UK
+# Copyright 2023 Mark Carter UK
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=neoleo
-VERSION=${VERSION:-7.0.0}
+VERSION=${VERSION:-13.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}
@@ -77,6 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--build=$ARCH-slackware-linux
make
@@ -90,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/neoleo/neoleo.info b/office/neoleo/neoleo.info
index 62c0331adf..fcd0c96345 100644
--- a/office/neoleo/neoleo.info
+++ b/office/neoleo/neoleo.info
@@ -1,10 +1,10 @@
PRGNAM="neoleo"
-VERSION="7.0.0"
+VERSION="13.1"
HOMEPAGE="https://github.com/blippy/neoleo"
-DOWNLOAD="https://github.com/blippy/neoleo/releases/download/v7.0.0/neoleo-7.0.0.tar.gz"
-MD5SUM="093e63f0bd460c5ab147ac4db673eb4b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/blippy/neoleo/releases/download/v13.1/neoleo-13.1.tar.gz"
+MD5SUM_x86_64="3d2ffd770b946b1862ff6a8a21edeb9d"
REQUIRES=""
MAINTAINER="Mark Carter"
EMAIL="alt.mcarter@gmail.com"
diff --git a/office/neoleo/slack-desc b/office/neoleo/slack-desc
index 2be2b24f6d..f600023b2f 100644
--- a/office/neoleo/slack-desc
+++ b/office/neoleo/slack-desc
@@ -9,8 +9,8 @@
neoleo: neoleo (ncurses spreadsheet)
neoleo:
neoleo: neoleo is a lightweight curses spreadsheet based on GNU oleo.
-neoleo: Features include: macros, a headless mode for inclusion in UNIX
-neoleo: pipelines, and Emacs-like keybindings.
+neoleo:
+neoleo:
neoleo:
neoleo:
neoleo:
diff --git a/office/notes/GNUmakefile.patch b/office/notes/GNUmakefile.patch
new file mode 100644
index 0000000000..f094087c4e
--- /dev/null
+++ b/office/notes/GNUmakefile.patch
@@ -0,0 +1,8 @@
+6c6
+< prefix ?= /usr/local
+---
+> prefix ?= /usr
+8c8
+< mandir ?= $(prefix)/share/man
+---
+> mandir ?= $(prefix)/man
diff --git a/office/notes/README b/office/notes/README
new file mode 100644
index 0000000000..285620b238
--- /dev/null
+++ b/office/notes/README
@@ -0,0 +1,5 @@
+Notes manager, CLI and TUI, in TUI works like file manager
+(mc,nnn,fff,lf). Notes are plain text (txt,md,groff,...) files.
+Compatible with Nextcloud Notes, can be used with rclose, git,
+rsync, etc.
+
diff --git a/office/notes/notes.SlackBuild b/office/notes/notes.SlackBuild
new file mode 100644
index 0000000000..1d3c4ae6a3
--- /dev/null
+++ b/office/notes/notes.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for notes
+
+# Copyright 2023 Tonus Paris
+# Copyright 2023 Christopher Luck Orlando, FL
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=notes
+VERSION=${VERSION:-1.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+
+patch GNUmakefile $CWD/GNUmakefile.patch
+gmake
+gmake install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md notes.pdf notes.md notesrc.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/notes/notes.info b/office/notes/notes.info
new file mode 100644
index 0000000000..29a20f9dc1
--- /dev/null
+++ b/office/notes/notes.info
@@ -0,0 +1,10 @@
+PRGNAM="notes"
+VERSION="1.6"
+HOMEPAGE="https://codeberg.org/nereusx/notes"
+DOWNLOAD="https://codeberg.org/nereusx/notes/archive/1.6.tar.gz"
+MD5SUM="4b917d9a0347975381093eb03dbce044"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="md2roff"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/notes/slack-desc b/office/notes/slack-desc
new file mode 100644
index 0000000000..5c9500dffc
--- /dev/null
+++ b/office/notes/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+notes: notes (Notes manager, CLI and TUI)
+notes:
+notes: Notes manager, CLI and TUI, in TUI works like file manager
+notes: (mc,nnn,fff,lf). Notes are plain text (txt,md,groff,...) files.
+notes: Compatible with Nextcloud Notes, can be used with rclose, git,
+notes: rsync, etc.
+notes:
+notes:
+notes:
+notes:
+notes:
diff --git a/office/notmuch/notmuch.SlackBuild b/office/notmuch/notmuch.SlackBuild
index 1076586a29..61cad89419 100644
--- a/office/notmuch/notmuch.SlackBuild
+++ b/office/notmuch/notmuch.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for notmuch
-# Copyright 2015-2018 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2015-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Written by Jostein Berntsen <jbernts@broadpark.no>
+# Written by Jostein Berntsen <jvbernts@online.no>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=notmuch
-VERSION=${VERSION:-0.28.2}
+VERSION=${VERSION:-0.36}
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,7 +99,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 COPYING-GPL-3 INSTALL NEWS README version $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING COPYING-GPL-3 NEWS README* version.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -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/office/notmuch/notmuch.info b/office/notmuch/notmuch.info
index 5992f640bb..001294309a 100644
--- a/office/notmuch/notmuch.info
+++ b/office/notmuch/notmuch.info
@@ -1,10 +1,10 @@
PRGNAM="notmuch"
-VERSION="0.28.2"
+VERSION="0.36"
HOMEPAGE="https://notmuchmail.org"
-DOWNLOAD="https://github.com/notmuch/notmuch/archive/0.28.2/notmuch-0.28.2.tar.gz"
-MD5SUM="687e7e3d36ecf1a37e06faf19154b9b9"
+DOWNLOAD="https://github.com/notmuch/notmuch/archive/0.36/notmuch-0.36.tar.gz"
+MD5SUM="332f52e637106406de85f7e2b67a3330"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/nts/nts.SlackBuild b/office/nts/nts.SlackBuild
index 99cca5b1cb..b766e66efa 100644
--- a/office/nts/nts.SlackBuild
+++ b/office/nts/nts.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nts
-# Written by Jostein Berntsen <jbernts@broadpark.no>
+# Written by Jostein Berntsen <jvbernts@online.no>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nts
VERSION=${VERSION:-82}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,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/office/nts/nts.info b/office/nts/nts.info
index dbce62a787..d98ebaf598 100644
--- a/office/nts/nts.info
+++ b/office/nts/nts.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.duke.edu/~dgraham/NTS/nts-82.tar.gz"
MD5SUM="0d0da351859ae9131b676720f4a831ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-dateutil wxPython"
+REQUIRES="python2-dateutil wxPython"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/odt2txt/README b/office/odt2txt/README
index 2b1f26ac6a..2fdc0af872 100644
--- a/office/odt2txt/README
+++ b/office/odt2txt/README
@@ -2,8 +2,9 @@ A simple converter from OpenDocument Text to plain text odt2txt is
a command-line tool which extracts the text out of OpenDocument Texts
produced by OpenOffice.org, StarOffice, KOffice and others.
-odt2txt can also extract text from some file formats similar to OpenDocument
-Text, such as OpenOffice.org XML (*.sxw), which was used by OpenOffice.org
-version 1.x and older StarOffice versions. To a lesser extend, odt2txt
-may be useful to extract content from OpenDocument spreadsheets (*.ods)
-and OpenDocument presentations (*.odp).
+odt2txt can also extract text from some file formats similar to
+OpenDocument Text, such as OpenOffice.org XML (*.sxw), which was
+used by OpenOffice.org version 1.x and older StarOffice versions. To
+a lesser extent, odt2txt may be useful to extract content from
+OpenDocument spreadsheets (*.ods) and OpenDocument presentations
+(*.odp).
diff --git a/office/odt2txt/odt2txt.SlackBuild b/office/odt2txt/odt2txt.SlackBuild
index d5f43abba2..47e606b2ab 100644
--- a/office/odt2txt/odt2txt.SlackBuild
+++ b/office/odt2txt/odt2txt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for odt2txt
@@ -22,11 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240331 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binary.
+# - fix man page permission (644, not 755).
+# - get rid of INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=odt2txt
VERSION=${VERSION:-0.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,29 +77,24 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make
-
-make install DESTDIR=$PKG/usr/
-
-mv $PKG/usr/share/man $PKG/usr/man
-rm -rf $PKG/usr/share
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+strip $PRGNAM
+make install DESTDIR=$PKG/usr/ MAN1DIR=man/man1
+chmod 644 $PKG/usr/man/man1/*
+gzip -9 $PKG/usr/man/man1/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a GPL-2 INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a GPL-2 README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/odt2txt/odt2txt.info b/office/odt2txt/odt2txt.info
index 431a4bbd7d..ae2d74a850 100644
--- a/office/odt2txt/odt2txt.info
+++ b/office/odt2txt/odt2txt.info
@@ -1,7 +1,7 @@
PRGNAM="odt2txt"
VERSION="0.5"
HOMEPAGE="https://github.com/dstosberg/odt2txt"
-DOWNLOAD="https://github.com/dstosberg/odt2txt/archive/v0.5.tar.gz"
+DOWNLOAD="https://github.com/dstosberg/odt2txt/archive/v0.5/odt2txt-0.5.tar.gz"
MD5SUM="8154dc7f2909dad6939d209695e62379"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/omegat/README b/office/omegat/README
new file mode 100644
index 0000000000..bb0c100312
--- /dev/null
+++ b/office/omegat/README
@@ -0,0 +1,16 @@
+OmegaT is a translation memory application that works on Windows, macOS,
+Linux… It is a tool intended for professional translators. It does not
+translate for you! (Software that does this is called "machine
+translation". OmegaT can interface to some machine translation programs
+or Internet services)
+
+
+- Fuzzy matching
+- Match propagation
+- Simultaneous processing of multiple-file projects
+- Simultaneous use of multiple translation memories
+- User glossaries with recognition of inflected forms
+
+This is a binary repack.
+
+OmegaT ships its own JRE.
diff --git a/office/omegat/doinst.sh b/office/omegat/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/omegat/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/omegat/omegat.SlackBuild b/office/omegat/omegat.SlackBuild
new file mode 100644
index 0000000000..57ea5ae567
--- /dev/null
+++ b/office/omegat/omegat.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for omegat
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=omegat
+TARNAM=OmegaT
+VERSION=${VERSION:-6.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+ printf "Unsupported architecture: %s.\n" "$ARCH" 1>&2
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ printf "Unsupported architecture: %s.\n" "$ARCH" 1>&2
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ printf "Unsupported architecture: %s.\n" "$ARCH" 1>&2
+ exit 1
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+ printf "Unsupported architecture: unknown.\n" 1>&2
+ exit 2
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/${TARNAM}_${VERSION}_Linux_64.tar.bz2
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+install -d -m755 $PKG/opt
+mv ${TARNAM}_${VERSION}_Linux_64 $PKG/opt
+
+install -d -m755 "$PKG"/usr/bin
+
+(
+ cd $PKG/usr/bin
+ ln -sr ../../opt/${TARNAM}_${VERSION}_Linux_64/OmegaT ./
+)
+
+install -Dm644 $PKG/opt/${TARNAM}_${VERSION}_Linux_64/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+install -Dm644 $PKG/opt/${TARNAM}_${VERSION}_Linux_64/images/$TARNAM.svg $PKG/usr/share/icons/hicolor/scalable/$PRGNAM.svg
+install -Dm644 $PKG/opt/${TARNAM}_${VERSION}_Linux_64/images/$TARNAM.svg $PKG/usr/share/pixmaps/$PRGNAM.svg
+
+# uncomment if your know how to install raster icons
+icon_sizes=( 32 128 256 512 )
+for size in "${icon_sizes[@]}"
+do
+ mkdir -p $PKG/usr/share/icons/hicolor/$size\x$size/apps/
+ cp $PKG/opt/${TARNAM}_${VERSION}_Linux_64/images/OmegaT.iconset/icon_$size\x$size.png $PKG/usr/share/icons/hicolor/$size\x$size/apps/$PRGNAM.png
+done
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ $PKG/opt/${TARNAM}_${VERSION}_Linux_64/{OmegaT-license.txt,authors.txt,changes.txt,doc-license.txt,readme.txt} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/omegat/omegat.info b/office/omegat/omegat.info
new file mode 100644
index 0000000000..a2f3130339
--- /dev/null
+++ b/office/omegat/omegat.info
@@ -0,0 +1,10 @@
+PRGNAM="omegat"
+VERSION="6.0.0"
+HOMEPAGE="https://omegat.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://phoenixnap.dl.sourceforge.net/project/omegat/OmegaT%20-%20Standard/OmegaT%206.0.0/OmegaT_6.0.0_Linux_64.tar.bz2"
+MD5SUM_x86_64="f91083db3377a5cd5aa3388c63027532"
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.omegat_2023-12-05@lockywolf.net"
diff --git a/office/marave/slack-desc b/office/omegat/slack-desc
index fb9bfce45f..7e87b751c0 100644
--- a/office/marave/slack-desc
+++ b/office/omegat/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-marave: marave (A text editor that helps you focus on writing)
-marave:
-marave: Marave doesn't just have minimalism and simplicity, it has minimalism
-marave: and simplicity combined with beauty and a palpable design ethic.
-marave: Marave has soul.
-marave:
-marave: Homepage: https://github.com/ralsina/marave
-marave:
-marave:
-marave:
-marave:
+omegat: omegat (Computer-Assisted Translation)
+omegat:
+omegat: OmegaT is a translation memory application that works on Linux. It
+omegat: is a tool intended for professional translators. It does not
+omegat: translate for you! OmegaT can interface to some machine translation
+omegat: programs or Internet services.
+omegat:
+omegat:
+omegat:
+omegat:
+omegat:
diff --git a/office/onlyoffice-desktopeditors/README b/office/onlyoffice-desktopeditors/README
index 95d11a9c9c..26a87eb296 100644
--- a/office/onlyoffice-desktopeditors/README
+++ b/office/onlyoffice-desktopeditors/README
@@ -13,5 +13,3 @@ https://github.com/ONLYOFFICE/DesktopEditors but without a build
instruction, so this script repackages the .deb package provided
on https://www.onlyoffice.com/download-desktop.aspx and
https://github.com/onlyoffice/desktopeditors/releases
-
-Optional dependency: webcore-fonts
diff --git a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
index 8199bdf807..fd58d9f6bb 100644
--- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
+++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for onlyoffice-desktopeditors
-# Copyright 2017-2019, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2017-2024, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=onlyoffice-desktopeditors
-VERSION=${VERSION:-5.2.8_3}
+VERSION=${VERSION:-8.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,11 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_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,16 +58,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/onlyoffice-desktopeditors_amd64.deb data.tar.xz | tar xvJ
-
-cp -L /usr/lib64/libcurl.so.4 \
- opt/onlyoffice/desktopeditors/converter/libcurl-gnutls.so.4
+ar p $CWD/onlyoffice-desktopeditors-help_all.deb data.tar.xz | tar xvJ
for s in 16 24 32 48 64 128 256; do
mkdir -p usr/share/icons/hicolor/${s}x${s}/apps
- install -m 0644 -o root -g root opt/onlyoffice/desktopeditors/asc-de-${s}.png \
+ install -m 0644 -o root -g root \
+ opt/onlyoffice/desktopeditors/asc-de-${s}.png \
usr/share/icons/hicolor/${s}x${s}/apps/asc-de.png
done
+find -L opt/onlyoffice/desktopeditors -type f \
+ \( -name "lib*.so" -o -name "lib*.so.*" -o -name "chrome-sandbox" \) \
+ -exec chmod 755 {} \;
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -74,10 +84,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p usr/doc/$PRGNAM-$VERSION
install -m 0644 opt/onlyoffice/desktopeditors/LICENSE.htm \
opt/onlyoffice/desktopeditors/3DPARTYLICENSE usr/doc/$PRGNAM-$VERSION
+rm -f usr/share/doc/onlyoffice-desktopeditors*/changelog.Debian.gz
+rmdir usr/share/doc/onlyoffice-desktopeditors* usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info
index 922a660526..c8d1a95776 100644
--- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info
+++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info
@@ -1,10 +1,12 @@
PRGNAM="onlyoffice-desktopeditors"
-VERSION="5.2.8_3"
+VERSION="8.0.1"
HOMEPAGE="https://www.onlyoffice.com/apps.aspx"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/ONLYOFFICE-DesktopEditors-5.2.8-3/onlyoffice-desktopeditors_amd64.deb"
-MD5SUM_x86_64="6db1f3483dfba74dc0f2699757db5eea"
-REQUIRES="gtkglext krb5 ttf-carlito"
+DOWNLOAD_x86_64="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v8.0.1/onlyoffice-desktopeditors_amd64.deb \
+ https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v8.0.1/onlyoffice-desktopeditors-help_all.deb"
+MD5SUM_x86_64="4ddeedc179417f39f8f08d8b9a98a6cf \
+ 8f36ffb4c8b3476394bffe0d64178dc2"
+REQUIRES=""
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/openoffice-langpack/openoffice-langpack.SlackBuild b/office/openoffice-langpack/openoffice-langpack.SlackBuild
index d13746b7aa..44a4fe464f 100644
--- a/office/openoffice-langpack/openoffice-langpack.SlackBuild
+++ b/office/openoffice-langpack/openoffice-langpack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenOffice Language Packs
#
@@ -25,10 +25,13 @@
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openoffice-langpack
VERSION=${VERSION:-"4.1.6"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
OOLANG=${OOLANG:-en-GB}
PKG_LANG=${OOLANG//-/_}
@@ -45,11 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
# Change source package name
if [ "$ARCH" = "x86_64" ]; then
SRCARCH="x86-64"
@@ -64,6 +62,18 @@ else
LIBDIRSUFFIX=""
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
# Concatenate all parts to get the full name of the tarball
@@ -107,4 +117,4 @@ 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 {} \;
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/openoffice.org/README b/office/openoffice.org/README
index f4b064b83b..a0564c5a34 100644
--- a/office/openoffice.org/README
+++ b/office/openoffice.org/README
@@ -3,8 +3,20 @@ compatible with all other major office software.
This script builds a Slackware package from the official binary (RPM's)
distributed by openoffice.org.
+The default GTK theme is replaced with 'Adwaita', but if instead you'd
+like to use the default 'Raleigh', set the option DEFAULT_TO_RALEIGH
+to 'YES', i.e.:
+
+DEFAULT_TO_RALEIGH='YES' ./openoffice.org.SlackBuild
Apache recommends having either jre or jdk installed, but it is not
required. See more details here:
https://wiki.openoffice.org/wiki/Java_and_OpenOffice.org
+
+NOTE: submenus
+By default, the menu entries grouped in a submenu folder
+(multilevel menu entry). If you want to disable this, do:
+
+SUBMENU="NO" ./openoffice.org.SlackBuild
+
diff --git a/office/openoffice.org/openoffice.org.SlackBuild b/office/openoffice.org/openoffice.org.SlackBuild
index 857e7cdc9f..9f8b2184f4 100644
--- a/office/openoffice.org/openoffice.org.SlackBuild
+++ b/office/openoffice.org/openoffice.org.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openoffice.org
-# Copyright 2018 Donald Cooley South Haven, Indiana USA
+
+# Originally written by Niki Kovacs <info@microlinux.fr)
+# Rewritten for slackbuilds.org by Ryan P.C. McQuen
+# Copyright 2018-2019 Donald Cooley South Haven, Indiana USA
# With help from Ekin Akoglu to fix missing menu icons and script cleanup,
# and a diff from Dominik Drobek to remove unnecessary RPM cruft.
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Originally written by Niki Kovacs <info@microlinux.fr)
-#
-# Rewritten for slackbuilds.org by Ryan P.C. McQuen
+# Copyright 2023 Juan M. Lasca <juanmlasca@gmail.com>
+# Copyright 2024 Dimitris Zlatanidis Orestiada, Greece
+
#
# All rights reserved.
#
@@ -28,12 +31,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=openoffice.org
SRCNAM=openoffice
-VERSION=${VERSION:-4.1.6}
-BUILD_ID=${BUILD_ID:-9790}
+VERSION=${VERSION:-4.1.15}
+BUILD_ID=${BUILD_ID:-9813}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCSHORT=$(echo $VERSION | cut -f1 -d.)
if [ -z "$ARCH" ]; then
@@ -44,14 +50,8 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
# change this if you want to install a different language
OOLANG=${OOLANG:-en-US}
-PKG_LANG=${OOLANG//-/_} # Leave this alone
# Change source package name
if [ "$ARCH" = "x86_64" ]; then
@@ -65,6 +65,15 @@ else
PKGARCH="i586"
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-${VERSION}-$PKGARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
# Building the final name.
@@ -117,12 +126,28 @@ cd $PKG/usr/bin/
done
cd -
+## Correct scripts so that they don't conflict with other soffice derivatives
+cd $PKG/opt/${SRCNAM}${SRCSHORT}/program
+ for FILE in \
+ sbase scalc sdraw simpress smath spadmin swriter unopkg; do
+ sed -i 's/soffice/open-soffice/' $FILE
+ done
+ ln -s soffice.bin open-soffice.bin
+cd -
+
+## By default, replace 'Raleigh' with 'Adwaita' as the default theme,
+## unless the option DEFAULT_TO_RALEIGH is set to 'YES'.
+## Changed based on comments by Petar Petrov
+if [ "$DEFAULT_TO_RALEIGH" = "YES" ]; then
+ patch -p0 $PKG/opt/${SRCNAM}${SRCSHORT}/program/soffice < $CWD/patches/01-gtk2_theme.patch;
+fi
+
## fix desktop files, so they can launch
-cat <<EOT > $PKG/usr/bin/${SRCNAM}4
+cat <<EOT > $PKG/usr/bin/${SRCNAM}${SRCSHORT}
#!/bin/sh
/opt/${SRCNAM}${SRCSHORT}/program/soffice "\$@"
EOT
-chmod 755 $PKG/usr/bin/${SRCNAM}4
+chmod 755 $PKG/usr/bin/${SRCNAM}${SRCSHORT}
## desktop files!
for APP in base calc draw impress math writer; do
@@ -132,6 +157,23 @@ done
## menu icons!
cp -R $TMP/$SOURCEDIR/RPMS/desktop-integration/usr/share/icons $PKG/usr/share/
+# The following was adapted from a patch submitted by Petar Petrov
+# Do we want a submenu? For more info:
+# https://slackalaxy.com/2021/08/08/xfce-multilevel-menu/
+SUBMENU=${SUBMENU:-"YES"}
+if [ "$SUBMENU" = "YES" ]; then
+ # Use a separate "OpenOffice" menu entry within "Office"
+ mkdir -p $PKG/etc/xdg/menus/applications-merged
+ cp $CWD/submenus/openoffice.menu $PKG/etc/xdg/menus/applications-merged
+
+ # Menu directory structure
+ mkdir -p $PKG/usr/share/desktop-directories
+ cp $CWD/submenus/openoffice.directory $PKG/usr/share/desktop-directories
+
+ # The category in the .desktop files is commented out to avoid duplication in menus
+ sed -i "s:Categories:#Categories:" $PKG/usr/share/applications/*.desktop
+fi
+
## Move docs to their expected locations
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/opt/${SRCNAM}${SRCSHORT}
@@ -151,6 +193,7 @@ mv $TMP/$OOLANG $PKG/opt/${SRCNAM}${SRCSHORT}/lang/
# Fix ownership and permissions and make the package
chown -R root:root .
find . -type d -exec chmod 755 {} \;
+find $PKG '(' -name "*.so" -o -name "*.so.*" ')' -exec chmod +x {} \;
chmod -R u+rw,go+r-w,a-s .
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/openoffice.org/openoffice.org.info b/office/openoffice.org/openoffice.org.info
index 26660e98c6..d1e8c94d8c 100644
--- a/office/openoffice.org/openoffice.org.info
+++ b/office/openoffice.org/openoffice.org.info
@@ -1,10 +1,10 @@
PRGNAM="openoffice.org"
-VERSION="4.1.6"
+VERSION="4.1.15"
HOMEPAGE="https://openoffice.org"
-DOWNLOAD="https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.6/binaries/en-US/Apache_OpenOffice_4.1.6_Linux_x86_install-rpm_en-US.tar.gz"
-MD5SUM="bce40d89c33b7fba8ea5a963e1c623cc"
-DOWNLOAD_x86_64="https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.6/binaries/en-US/Apache_OpenOffice_4.1.6_Linux_x86-64_install-rpm_en-US.tar.gz"
-MD5SUM_x86_64="d47fa2274aad8e263eff9b913470d2cb"
+DOWNLOAD="https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.15/binaries/en-US/Apache_OpenOffice_4.1.15_Linux_x86_install-rpm_en-US.tar.gz"
+MD5SUM="27edabecd195b3db78564f76391a4901"
+DOWNLOAD_x86_64="https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.15/binaries/en-US/Apache_OpenOffice_4.1.15_Linux_x86-64_install-rpm_en-US.tar.gz"
+MD5SUM_x86_64="3edb3f95ed26e07cca0e3ba3a01746e6"
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"
diff --git a/office/openoffice.org/patches/01-gtk2_theme.patch b/office/openoffice.org/patches/01-gtk2_theme.patch
new file mode 100644
index 0000000000..9d7b9a2f82
--- /dev/null
+++ b/office/openoffice.org/patches/01-gtk2_theme.patch
@@ -0,0 +1,5 @@
+38a39,42
+> # Any theme would be nicer than the default Raleigh theme.
+> GTK2_RC_FILES=${GTK2_RC_FILES:-/usr/share/themes/Adwaita/gtk-2.0/gtkrc}
+> export GTK2_RC_FILES
+>
diff --git a/office/openoffice.org/submenus/openoffice.directory b/office/openoffice.org/submenus/openoffice.directory
new file mode 100644
index 0000000000..31834069d2
--- /dev/null
+++ b/office/openoffice.org/submenus/openoffice.directory
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Directory
+Name=OpenOffice
+Icon=openoffice4-main
diff --git a/office/openoffice.org/submenus/openoffice.menu b/office/openoffice.org/submenus/openoffice.menu
new file mode 100644
index 0000000000..d41adea78b
--- /dev/null
+++ b/office/openoffice.org/submenus/openoffice.menu
@@ -0,0 +1,23 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
+<Menu>
+ <Name>Applications</Name>
+ <Menu>
+ <Name>Office</Name>
+ <Directory>xfce4-office.directory</Directory>
+ <Menu>
+ <Name>OpenOffice</Name>
+ <Directory>openoffice.directory</Directory>
+ <Include>
+ <Filename>open-base.desktop</Filename>
+ <Filename>open-calc.desktop</Filename>
+ <Filename>open-draw.desktop</Filename>
+ <Filename>open-impress.desktop</Filename>
+ <Filename>open-math.desktop</Filename>
+ <Filename>open-printeradmin.desktop</Filename>
+ <Filename>open-startcenter.desktop</Filename>
+ <Filename>open-writer.desktop</Filename>
+ </Include>
+ </Menu>
+ </Menu>
+</Menu>
diff --git a/office/org-mode/Makefile.patch b/office/org-mode/Makefile.patch
deleted file mode 100644
index 7daae18e01..0000000000
--- a/office/org-mode/Makefile.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- Makefile.back 2011-10-14 00:08:29.754834385 +0400
-+++ Makefile 2011-10-14 00:47:36.227996214 +0400
-@@ -14,7 +14,7 @@
- EMACS=emacs
-
- # Where local software is found
--prefix=/usr/local
-+prefix=${DESTDIR}
-
- # Where local lisp files go.
- lispdir = $(prefix)/share/emacs/site-lisp
-@@ -246,7 +246,7 @@
-
- doc/org.html: doc/org.texi
- (cd doc && $(TEXI2HTML) --no-split -o org.html org.texi)
-- UTILITIES/manfull.pl doc/org.html
-+# UTILITIES/manfull.pl doc/org.html
-
- doc/orgcard.pdf: doc/orgcard.tex
- (cd doc && pdftex orgcard.tex)
-@@ -277,7 +277,7 @@
- $(TEXI2HTML) -o doc/guide doc/orgguide.texi
- UTILITIES/guidesplit.pl doc/guide/*.html
-
--info: doc/org
-+info: doc/org-7.7
-
- pdf: doc/org.pdf doc/orgguide.pdf
-
diff --git a/office/org-mode/README b/office/org-mode/README
deleted file mode 100644
index ca97958eca..0000000000
--- a/office/org-mode/README
+++ /dev/null
@@ -1,18 +0,0 @@
-Org is an Emacs mode for keeping notes, maintaining TODO lists, and
-doing project planning with a fast and effective plain-text system.
-
-Org keeps simple things simple. When first fired up, it should feel
-like a straightforward, easy to use outliner. Complexity is not
-imposed, but a large amount of functionality is available when you
-need it. Org is a toolbox and can be used in different ways, for
-example as:
-
-- an outline extension with visibility cycling and structure editing
-- an ASCII system and table editor for taking structured notes
-- an ASCII table editor with spreadsheet-like capabilities
-- a TODO list editor
-- a full agenda and planner with deadlines and work scheduling
-- an environment to implement David Allen's GTD system
-- a basic database application
-- a simple hypertext system, with HTML and LaTeX export
-- a publishing tool to create a set of interlinked webpages
diff --git a/office/org-mode/org-mode.SlackBuild b/office/org-mode/org-mode.SlackBuild
deleted file mode 100644
index cabce06e4c..0000000000
--- a/office/org-mode/org-mode.SlackBuild
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Org-mode
-
-# Written by Valeriy Timchenko <ValTimchenko@gmail.com>
-
-PRGNAM=org-mode
-VERSION=${VERSION:-7.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH="noarch"
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf org-$VERSION
-tar xvf $CWD/org-$VERSION.tar.gz
-cd org-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-patch Makefile $CWD/Makefile.patch
-DESTDIR=/usr make all html
-mv doc/{org,org-$pkgver}
-DESTDIR=$PKG/usr make install
-DESTDIR=$PKG/usr make install-info
-#DESTDIR=$PKG/usr PKG=$PKG make install-info
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -f $PKG/usr/share/info/dir
-gzip -9 $PKG/usr/share/info/*
-# Move org.gz to org-$VERSION.gz, so EMACS's org.gz won't be overwritten
-mv $PKG/usr/share/info/{org,org-$VERSION}.gz
-mv $PKG/usr/share/info $PKG/usr/info
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README request-assign-future.txt doc/*.pdf doc/*.html \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-# Move contrib/ to /usr/share/org-mode-$VERSION
-mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
-cp -R contrib $PKG/usr/share/$PRGNAM-$VERSION
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-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/office/org-mode/org-mode.info b/office/org-mode/org-mode.info
deleted file mode 100644
index 6cc37ba33c..0000000000
--- a/office/org-mode/org-mode.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="org-mode"
-VERSION="7.7"
-HOMEPAGE="https://orgmode.org"
-DOWNLOAD="https://orgmode.org/org-7.7.tar.gz"
-MD5SUM="236289876d9c33ac47c6383ec738ce6a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Valeriy Timchenko"
-EMAIL="ValTimchenko@gmail.com"
diff --git a/office/osmo-gtk2/README b/office/osmo-gtk2/README
new file mode 100644
index 0000000000..763d9b25c1
--- /dev/null
+++ b/office/osmo-gtk2/README
@@ -0,0 +1,11 @@
+This is the last GTK2 version of Osmo. It will conflict with the latest
+one, so don't install both.
+
+Osmo is a handy personal organizer, which includes calendar, tasks
+manager, contacts and notes modules. It was designed to be a small,
+easy to use and good looking PIM tool to help to manage personal
+information. In its current state the organizer is quite convenient
+to use - for example, the user can perform nearly all operations using
+the keyboard. Also, a lot of parameters are configurable to meet the
+user's preferences. On the technical side, Osmo is GTK+3 based tool
+which uses a plain XML database to store all personal data.
diff --git a/office/osmo-gtk2/doinst.sh b/office/osmo-gtk2/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/osmo-gtk2/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/teapot/teapot.SlackBuild b/office/osmo-gtk2/osmo-gtk2.SlackBuild
index 85d8f4e7d6..326525b01c 100644
--- a/office/teapot/teapot.SlackBuild
+++ b/office/osmo-gtk2/osmo-gtk2.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for teapot
+# Slackware build script for Osmo
-# Copyright 2016 Jostein Berntsen <jbernts@broadpark.no>
+# Modified 2023 Petar Petrov slackalaxy@gmail.com
+# Copyright 2008, 2009 Frank Caraballo <fecaraballo{at}gmail{dot}com>
+# Copyright 2017 Andrzej Telszewski, Banie
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=teapot
-VERSION=${VERSION:-2.3.0}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=osmo-gtk2
+SRCNAM=osmo
+VERSION=${VERSION:-0.2.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,32 +79,31 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_HELP=OFF \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man/ $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-rm -rf $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING FAQ README TRANSLATORS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/osmo-gtk2/osmo-gtk2.info b/office/osmo-gtk2/osmo-gtk2.info
new file mode 100644
index 0000000000..c8314a4b4c
--- /dev/null
+++ b/office/osmo-gtk2/osmo-gtk2.info
@@ -0,0 +1,10 @@
+PRGNAM="osmo-gtk2"
+VERSION="0.2.14"
+HOMEPAGE="https://sourceforge.net/projects/osmo-pim/"
+DOWNLOAD="https://sourceforge.net/projects/osmo-pim/files/osmo-pim/osmo-0.2.14/osmo-0.2.14.tar.gz"
+MD5SUM="712245eaa6c9cee522235b38d529a64c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/office/TaskCoach/slack-desc b/office/osmo-gtk2/slack-desc
index 3fd957ac7d..7267393788 100644
--- a/office/TaskCoach/slack-desc
+++ b/office/osmo-gtk2/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-TaskCoach: TaskCoach (Task Manager)
-TaskCoach:
-TaskCoach: Task Coach is a simple open source todo manager to keep track
-TaskCoach: of personal tasks and todo lists. It is designed for composite
-TaskCoach: tasks, and also offers effort tracking, categories, notes and more.
-TaskCoach:
-TaskCoach: Homepage: http://taskcoach.org/
-TaskCoach:
-TaskCoach:
-TaskCoach:
-TaskCoach:
+osmo-gtk2: osmo-gtk2 (Handy Personal Organizer)
+osmo-gtk2:
+osmo-gtk2: Osmo is a handy personal organizer, which includes calendar, tasks
+osmo-gtk2: manager, contacts and notes modules. It was designed to be a
+osmo-gtk2: small, easy to use and good looking PIM tool to help to manage
+osmo-gtk2: personal information.
+osmo-gtk2:
+osmo-gtk2: Homepage: http://clayo.org/osmo/
+osmo-gtk2:
+osmo-gtk2:
+osmo-gtk2:
diff --git a/office/osmo/osmo.SlackBuild b/office/osmo/osmo.SlackBuild
index 0b7d22046b..4f763f8102 100644
--- a/office/osmo/osmo.SlackBuild
+++ b/office/osmo/osmo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Osmo
@@ -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=osmo
VERSION=${VERSION:-0.4.2}
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}
@@ -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/office/pandoc-bin/README b/office/pandoc-bin/README
index 6a079f58ec..c9bd8189e7 100644
--- a/office/pandoc-bin/README
+++ b/office/pandoc-bin/README
@@ -1,36 +1,44 @@
-If you need to convert files from one markup format into another, pandoc is your swiss-army knife.
+If you need to convert files from one markup format into another, pandoc
+is your swiss-army knife.
-Pandoc can convert documents in (several dialects of) Markdown, reStructuredText, textile, HTML,
-DocBook, LaTeX, MediaWiki markup, TWiki markup, TikiWiki markup, DokuWiki markup, Creole 1.0,
-Vimwiki markup, roff man, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Microsoft Word docx,
-LibreOffice ODT, EPUB, Jupyter notebooks ipynb, or Haddock markup to
+Pandoc can convert documents in (several dialects of) Markdown,
+reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki
+markup, TikiWiki markup, DokuWiki markup, Creole 1.0, Vimwiki markup,
+roff man, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Microsoft Word
+docx, LibreOffice ODT, EPUB, Jupyter notebooks ipynb, or Haddock markup
+to
HTML formats
- XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides
+ XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous,
+ S5, or DZSlides
Word processor formats
- Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML, Microsoft PowerPoint.
+ Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML,
+ Microsoft PowerPoint.
Ebooks
- EPUB version 2 or 3, FictionBook2
+ EPUB version 2 or 3, FictionBook2
Documentation formats
- DocBook version 4 or 5, TEI Simple, GNU TexInfo, roff man, roff ms, Haddock markup
+ DocBook version 4 or 5, TEI Simple, GNU TexInfo, roff man, roff ms,
+ Haddock markup
Archival formats
- JATS
+ JATS
Page layout formats
- InDesign ICML
+ InDesign ICML
Outline formats
- OPML
+ OPML
TeX formats
- LaTeX, ConTeXt, LaTeX Beamer slides
+ LaTeX, ConTeXt, LaTeX Beamer slides
PDF
- via pdflatex, xelatex, lualatex, pdfroff, wkhtml2pdf, prince, or weasyprint.
+ via pdflatex, xelatex, lualatex, pdfroff, wkhtml2pdf, prince, or
+ weasyprint.
Lightweight markup formats
- Markdown (including CommonMark and GitHub-flavored Markdown), reStructuredText, AsciiDoc,
- Emacs Org-Mode, Emacs Muse, Textile, txt2tags, MediaWiki markup, DokuWiki markup,
- TikiWiki markup, TWiki markup, Vimwiki markup, and ZimWiki markup.
+ Markdown (including CommonMark and GitHub-flavored Markdown),
+ reStructuredText, AsciiDoc, Emacs Org-Mode, Emacs Muse, Textile,
+ txt2tags, MediaWiki markup, DokuWiki markup, TikiWiki markup, TWiki
+ markup, Vimwiki markup, and ZimWiki markup.
Interactive notebook formats
- Jupyter notebook (ipynb)
+ Jupyter notebook (ipynb)
Custom formats
- custom writers can be written in lua.
+ custom writers can be written in lua.
NOTE:
This slackbuild repackages the official binary from the Pandoc GitHub.
-There are no additional dependencies. \ No newline at end of file
+There are no additional dependencies.
diff --git a/office/pandoc-bin/pandoc-bin.SlackBuild b/office/pandoc-bin/pandoc-bin.SlackBuild
index fc47c6a070..5da85c5178 100644
--- a/office/pandoc-bin/pandoc-bin.SlackBuild
+++ b/office/pandoc-bin/pandoc-bin.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pandoc-bin
-# Copyright 2019 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2019-2024 Andrew Payne <phalange@komputermatrix.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=pandoc-bin
SRCNAM=pandoc
-VERSION=${VERSION:-2.7.2}
+VERSION=${VERSION:-3.1.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-set -e
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,43 +39,55 @@ if [ -z "$ARCH" ]; then
esac
fi
-if [ "$ARCH" = "x86_64" ]; then
- BIT="64bit"
-else
- echo "$ARCH is not supported."
- exit 1
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
TMP=${TMP:-/tmp/SBo}
-CWD=$(pwd)
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
+else
+ echo "Sorry, the pandoc binary is currently available for x86_64 only."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION-linux.tar.gz
-cd $SRCNAM-$VERSION
+cd $PKG
+ar p $CWD/$SRCNAM-$VERSION-*-$DEBARCH.deb data.tar.gz | tar xvz
chown -R root:root .
-
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-rm -rf $PKG
-mkdir -p $PKG/usr/
-cp -r bin $PKG/usr/
-cp -r share/man $PKG/usr/
+mkdir -p $PKG/opt/$PRGNAM
+mv usr/bin/pandoc $PKG/opt/$PRGNAM
+rm usr/bin/{pandoc-lua,pandoc-server}
+ln -s /opt/$PRGNAM/pandoc $PKG/usr/bin/pandoc
+ln -s /opt/$PRGNAM/pandoc $PKG/usr/bin/pandoc-lua
+ln -s /opt/$PRGNAM/pandoc $PKG/usr/bin/pandoc-server
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/ -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mv usr/share/man $PKG/usr/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-bin.SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv usr/share/doc/pandoc/copyright \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf usr/share
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pandoc-bin/pandoc-bin.info b/office/pandoc-bin/pandoc-bin.info
index 3c2c99d7b8..3d9e21169f 100644
--- a/office/pandoc-bin/pandoc-bin.info
+++ b/office/pandoc-bin/pandoc-bin.info
@@ -1,10 +1,10 @@
PRGNAM="pandoc-bin"
-VERSION="2.7.2"
+VERSION="3.1.13"
HOMEPAGE="https://github.com/jgm/pandoc"
-DOWNLOAD="https://github.com/jgm/pandoc/releases/download/2.7.2/pandoc-2.7.2-linux.tar.gz"
-MD5SUM="9b906a975a31b5dcf9a2d0ecdd2dc77c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/jgm/pandoc/releases/download/3.1.13/pandoc-3.1.13-1-amd64.deb"
+MD5SUM_x86_64="594bf5d14291fe14fa759fa0944f96a5"
REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"
diff --git a/office/pandoc-bin/slack-desc b/office/pandoc-bin/slack-desc
index 4ad318e47f..b8d4cfba69 100644
--- a/office/pandoc-bin/slack-desc
+++ b/office/pandoc-bin/slack-desc
@@ -16,4 +16,4 @@ pandoc-bin: formats, including, but not limited to, various flavors of Markdown,
pandoc-bin: HTML, LaTeX and Word docx.
pandoc-bin:
pandoc-bin:
-pandoc-bin:
+pandoc-bin: Homepage: https://pandoc.org/
diff --git a/office/pandoc/README b/office/pandoc/README
index 0bf6d3d953..f9b6f87c2b 100644
--- a/office/pandoc/README
+++ b/office/pandoc/README
@@ -1,10 +1,10 @@
Pandoc is a command-line tool for converting from one markup format to
another. It can read markdown and (subsets of) reStructuredText, HTML,
and LaTeX, and it can write plain text, markdown, reStructuredText,
-HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML,
-ODT, GNU Texinfo, MediaWiki markup, groff man pages, EPUB ebooks,
-and S5 and Slidy HTML slide shows. PDF output (via LaTeX) is also supported
+HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT,
+GNU Texinfo, MediaWiki markup, groff man pages, EPUB ebooks, and S5
+and Slidy HTML slide shows. PDF output (via LaTeX) is also supported
with the included markdown2pdf wrapper script.
-When uninstalling, run this command to unregister the package from the ghc
-package database: ghc-pkg recache
+When uninstalling, run this command to unregister the package from the
+ghc package database: ghc-pkg recache
diff --git a/office/pandoc/pandoc.SlackBuild b/office/pandoc/pandoc.SlackBuild
index e282b04ef5..8fa46202ac 100644
--- a/office/pandoc/pandoc.SlackBuild
+++ b/office/pandoc/pandoc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pandoc
@@ -6,28 +6,38 @@
# Public domain.
# Updated 2018 David Spencer, Baildon, West Yorkshire, U.K.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pandoc
-VERSION=${VERSION:-2.3.1}
+VERSION=${VERSION:-2.17.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; 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=""
TARARCH=i386
elif [ "$ARCH" = "i686" ]; then
@@ -58,9 +68,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 {} \;
-# Remove upper version constraint on haddock-library
-sed -i -E 's/(haddock-library *>= *[0-9.]+ *)\&\& *<=? *[0-9.]+/\1/' $PRGNAM.cabal
-
# --enable-executable-dynamic seems to only add the build directory to the
# rpath but not /usr/lib*/ghc-*/pandoc-*, so libHSpandoc cannot be loaded if
# the build directory is removed. For now, we build a static executable.
@@ -84,14 +91,13 @@ PKGID=$( grep -E "^id: " $PRGNAM-$VERSION.conf | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $PRGNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
-mv $PKG/usr/share/man $PKG/usr
rmdir --ignore-fail-on-non-empty $PKG/usr/share
+install -Dm644 man/pandoc.1 $PKG/usr/man/man1/pandoc.1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS.md BUGS changelog CONTRIBUTING.md COPYING.md COPYRIGHT MANUAL.txt README.md \
+ AUTHORS.md BUGS CONTRIBUTING.md COPYING.md COPYRIGHT INSTALL.md MANUAL.txt README.md changelog.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -103,4 +109,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pandoc/pandoc.info b/office/pandoc/pandoc.info
index 2f0853d155..8fd4aa3110 100644
--- a/office/pandoc/pandoc.info
+++ b/office/pandoc/pandoc.info
@@ -1,10 +1,10 @@
PRGNAM="pandoc"
-VERSION="2.3.1"
+VERSION="2.17.1.1"
HOMEPAGE="https://pandoc.org/"
-DOWNLOAD="https://hackage.haskell.org/package/pandoc-2.3.1/pandoc-2.3.1.tar.gz"
-MD5SUM="46be88df494a63060de9ead9632ecd58"
+DOWNLOAD="https://hackage.haskell.org/package/pandoc-2.17.1.1/pandoc-2.17.1.1.tar.gz"
+MD5SUM="758fbcf3d9b25dfc31b4d6a5d4a92443"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-Glob haskell-HsYAML haskell-aeson-pretty haskell-cmark-gfm haskell-doctemplates haskell-haddock-library haskell-hslua-module-text haskell-safe haskell-skylighting haskell-aeson haskell-base64-bytestring haskell-blaze-html haskell-blaze-markup haskell-cmark haskell-data-default haskell-deepseq-generics haskell-extensible-exceptions haskell-filemanip haskell-haddock-library haskell-highlighting-kate haskell-hslua haskell-HTTP haskell-http-client haskell-http-client-tls haskell-http-types haskell-JuicyPixels haskell-network haskell-network-uri haskell-pandoc-types haskell-random haskell-scientific haskell-SHA haskell-syb haskell-tagsoup haskell-temporary haskell-texmath haskell-unordered-containers haskell-vector haskell-xml haskell-yaml haskell-zip-archive haskell-zlib"
+REQUIRES="haskell-Glob haskell-aeson-pretty haskell-cmark-gfm haskell-doctemplates haskell-haddock-library haskell-hslua-module-text haskell-skylighting haskell-cmark haskell-filemanip haskell-highlighting-kate haskell-HTTP haskell-http-client-tls haskell-JuicyPixels haskell-SHA haskell-tagsoup haskell-texmath haskell-yaml haskell-zip-archive haskell-citeproc haskell-jira-wiki-markup haskell-ipynb haskell-hslua-module-version haskell-hslua-module-path haskell-hslua-module-system haskell-hslua-aeson haskell-pandoc-lua-marshal haskell-lpeg haskell-commonmark-pandoc"
MAINTAINER="Peter Wang"
EMAIL="novalazy@gmail.com"
diff --git a/office/paps/README b/office/paps/README
index 0f0dd83909..d3f61b8f75 100644
--- a/office/paps/README
+++ b/office/paps/README
@@ -3,3 +3,7 @@ paps (Unicode-aware text to PostScript/PDF/SVG converter)
paps reads a UTF-8 encoded file and generates a PostScript language
(or PDF, or SVG) rendering of it, on standard output. The rendering is
done by creating outline curves through the pango ft2 backend.
+
+Optional runtime dependency: source-highlight. This is only used by
+the src-to-paps command, and can be installed after the fact, without
+rebuilding paps.
diff --git a/office/paps/paps.SlackBuild b/office/paps/paps.SlackBuild
index dbe2e0c7ad..07883a48fb 100644
--- a/office/paps/paps.SlackBuild
+++ b/office/paps/paps.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for paps
@@ -21,7 +21,15 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
+
+# 20230503 bkw: update for v0.8.0.
+# - README.md is back.
+# - fix src-to-paps shebang and path to .outlang file.
+# - document optional dependency source-highlight.
+
+# 20210929 bkw: fix build on -current (--disable-Werror).
+# 20191130 bkw: update for v0.7.1. upstream removed README.md and examples.
# 20180629 bkw:
# - Take over maintenance.
@@ -33,10 +41,13 @@
# - Regenerate slack-desc from updated README.
# - Simplify script a bit.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=paps
-VERSION=${VERSION:-0.7.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.8.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,7 +57,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,34 +89,37 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Fix the shebang: #!/usr/bin/python is still python 2 on Slackware 15.0.
+# Fix the hardcoded path to pango_markup.outlang.
+# Add a few more filename extensions for autodetecting various languages,
+# including ".SlackBuild".
+patch -p1 < $CWD/src-to-paps.diff
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --disable-Werror \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc/paps \
--mandir=/usr/man \
- --enable-static=no \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.LIB ChangeLog README.md NEWS examples/* \
- $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING.LIB ChangeLog NEWS README.md $PKGDOC/
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/paps/paps.info b/office/paps/paps.info
index abee426617..2cd185cf9c 100644
--- a/office/paps/paps.info
+++ b/office/paps/paps.info
@@ -1,10 +1,10 @@
PRGNAM="paps"
-VERSION="0.7.0"
+VERSION="0.8.0"
HOMEPAGE="https://github.com/dov/paps"
-DOWNLOAD="https://github.com/dov/paps/archive/0.7.0/paps-0.7.0.tar.gz"
-MD5SUM="17e97ec3697ca9ec03f36fc20d002b36"
+DOWNLOAD="https://github.com/dov/paps/releases/download/v0.8.0/paps-0.8.0.tar.gz"
+MD5SUM="6bd661b8fd224adc3343a91e6521a4f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="fmt"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/paps/src-to-paps.diff b/office/paps/src-to-paps.diff
new file mode 100644
index 0000000000..794f8d1bcf
--- /dev/null
+++ b/office/paps/src-to-paps.diff
@@ -0,0 +1,31 @@
+diff -Naur paps-0.8.0/scripts/src-to-paps paps-0.8.0.patched/scripts/src-to-paps
+--- paps-0.8.0/scripts/src-to-paps 2023-02-09 02:27:38.000000000 -0500
++++ paps-0.8.0.patched/scripts/src-to-paps 2023-05-03 16:53:01.568348300 -0400
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+
+ ######################################################################
+ # Use GNU source-hightlight to turn source code into pango markup
+@@ -49,7 +49,7 @@
+ # Defaults
+
+ # TBD - Make this a configuration variable
+-pango_outlang_path = '/usr/local/share/paps/pango_markup.outlang'
++pango_outlang_path = '/usr/share/paps/pango_markup.outlang'
+
+ parser = argparse.ArgumentParser(description='Process a file')
+ parser.add_argument('-o', '--output',
+@@ -114,7 +114,11 @@
+ '.cpp' : 'C',
+ '.cxx' : 'C',
+ '.cc' : 'C',
+- '.c' : 'C'
++ '.c' : 'C',
++ '.pl' : 'perl',
++ '.SlackBuild' : 'sh',
++ '.cs' : 'csharp',
++ '.s' : 'asm'
+ }.get(Path(fn).suffix)
+ if args.source_lang is None
+ else args.source_lang)
diff --git a/office/pcal/pcal.SlackBuild b/office/pcal/pcal.SlackBuild
index 8c1a3d4943..a49f1ca57d 100644
--- a/office/pcal/pcal.SlackBuild
+++ b/office/pcal/pcal.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pcal
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pcal
VERSION=${VERSION:-4.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/office/pdf2djvu/README b/office/pdf2djvu/README
index 3ff811e6eb..e5aa356049 100644
--- a/office/pdf2djvu/README
+++ b/office/pdf2djvu/README
@@ -7,6 +7,3 @@ It's able to extract:
* hyperlinks
* document outline (bookmarks)
* metadata (including XMP metadata)
-
-Note: nose is only required to run the python test suite. It is not a
-run-time dependency and can be safely removed after pdf2djvu is built.
diff --git a/office/pdf2djvu/pdf2djvu.SlackBuild b/office/pdf2djvu/pdf2djvu.SlackBuild
index b824453984..f685c67201 100644
--- a/office/pdf2djvu/pdf2djvu.SlackBuild
+++ b/office/pdf2djvu/pdf2djvu.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdf2djvu
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2015-2018 Brenton Earl <brent@exitstatusone.com>
+# Copyright 2023 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdf2djvu
-VERSION=${VERSION:-0.9.10}
+VERSION=${VERSION:-0.9.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,7 +63,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -66,10 +74,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,15 +86,15 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--localedir=/usr/share/locale \
--build=$ARCH-slackware-linux
-make test
make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -95,11 +102,11 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/README doc/COPYING doc/changelog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/README doc/djvudigital doc/changelog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pdf2djvu/pdf2djvu.info b/office/pdf2djvu/pdf2djvu.info
index da282fd4ef..a0c8a1d7f3 100644
--- a/office/pdf2djvu/pdf2djvu.info
+++ b/office/pdf2djvu/pdf2djvu.info
@@ -1,10 +1,10 @@
PRGNAM="pdf2djvu"
-VERSION="0.9.10"
-HOMEPAGE="https://jwilk.net/software/pdf2djvu"
-DOWNLOAD="https://github.com/jwilk/pdf2djvu/releases/download/0.9.10/pdf2djvu-0.9.10.tar.xz"
-MD5SUM="ffe447f9261e27353d101243788f863f"
+VERSION="0.9.19"
+HOMEPAGE="https://github.com/jwilk-archive/pdf2djvu"
+DOWNLOAD="https://github.com/jwilk-archive/pdf2djvu/releases/download/0.9.19/pdf2djvu-0.9.19.tar.xz"
+MD5SUM="b1059b9a915efc81aabcb19fabcbcbcf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="nose GraphicsMagick"
-MAINTAINER="Brenton Earl"
-EMAIL="brent@exitstatusone.com"
+REQUIRES="GraphicsMagick"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/office/pdf2djvu/slack-desc b/office/pdf2djvu/slack-desc
index cc05de4a8b..0dcdd39d1f 100644
--- a/office/pdf2djvu/slack-desc
+++ b/office/pdf2djvu/slack-desc
@@ -15,5 +15,5 @@ pdf2djvu: * hyperlinks
pdf2djvu: * document outline (bookmarks)
pdf2djvu: * metadata (including XMP metadata)
pdf2djvu:
-pdf2djvu: Homepage: https://jwilk.net/software/pdf2djvu
+pdf2djvu: Homepage: https://github.com/jwilk-archive/pdf2djvu
pdf2djvu:
diff --git a/office/pdfarranger/README b/office/pdfarranger/README
new file mode 100644
index 0000000000..8fc6332e3a
--- /dev/null
+++ b/office/pdfarranger/README
@@ -0,0 +1,7 @@
+PDF Arranger is a small python-gtk application, which helps the user
+to merge or split pdf documents and rotate, crop and rearrange their
+pages using an interactive and intuitive graphical interface. It is
+a frontend for pikepdf and a fork of Konstantinos Poulios's
+pdfshuffler.
+
+PDF Arranger supports image file import if img2pdf is installed
diff --git a/office/pdfarranger/doinst.sh b/office/pdfarranger/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/pdfarranger/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/pdfarranger/pdfarranger.SlackBuild b/office/pdfarranger/pdfarranger.SlackBuild
new file mode 100644
index 0000000000..c2aa9cd8a9
--- /dev/null
+++ b/office/pdfarranger/pdfarranger.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for pdfarranger
+
+# Copyright 2020, 2023 Rob van Nues
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pdfarranger
+VERSION=${VERSION:-1.10.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ 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 .
+
+
+#simplify icon name from 'com.github.jeromerobert.pdfarranger' to 'pdfarranger'
+patch -p 1 < $CWD/simplify_icon_name.patch
+
+
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/share/man -type f -exec gzip -9 {} \;
+mv $PKG/usr/share/man $PKG/usr/man
+
+mv $PKG/usr/share/applications/com.github.jeromerobert.pdfarranger.desktop \
+$PKG/usr/share/applications/pdfarranger.desktop
+
+
+mv $PKG/usr/share/metainfo/com.github.jeromerobert.pdfarranger.metainfo.xml \
+$PKG/usr/share/metainfo/pdfarranger.metainfo.xml
+
+find $PKG/usr/share/icons/hicolor/ -iname 'com.github.jeromerobert.pdfarranger*' -exec rename com.github.jeromerobert.pdfarranger pdfarranger '{}' ';'
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.* COPYING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pdfarranger/pdfarranger.info b/office/pdfarranger/pdfarranger.info
new file mode 100644
index 0000000000..e96b105b7c
--- /dev/null
+++ b/office/pdfarranger/pdfarranger.info
@@ -0,0 +1,10 @@
+PRGNAM="pdfarranger"
+VERSION="1.10.1"
+HOMEPAGE="https://github.com/pdfarranger/pdfarranger"
+DOWNLOAD="https://github.com/pdfarranger/pdfarranger/archive/refs/tags/1.10.1/pdfarranger-1.10.1.tar.gz"
+MD5SUM="a9ec7e522082e41818c6337f4931cffe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pikepdf python3-dateutil img2pdf"
+MAINTAINER="Rob van Nues"
+EMAIL="sborg63@disroot.org"
diff --git a/office/pdfarranger/simplify_icon_name.patch b/office/pdfarranger/simplify_icon_name.patch
new file mode 100644
index 0000000000..87317b9226
--- /dev/null
+++ b/office/pdfarranger/simplify_icon_name.patch
@@ -0,0 +1,24 @@
+diff -Naur pdfarranger-1.8.2/data/com.github.jeromerobert.pdfarranger.desktop pdfarranger-1.8.2_icon/data/com.github.jeromerobert.pdfarranger.desktop
+--- pdfarranger-1.8.2/data/com.github.jeromerobert.pdfarranger.desktop 2021-12-25 16:53:29.000000000 +0000
++++ pdfarranger-1.8.2_icon/data/com.github.jeromerobert.pdfarranger.desktop 2022-06-28 00:05:36.510916505 +0100
+@@ -17,7 +17,7 @@
+ Comment[ko]=PDF 합치기, 재정렬, 나누기, 회전 및 잘라내기
+ Type=Application
+ Exec=pdfarranger %U
+-Icon=com.github.jeromerobert.pdfarranger
++Icon=pdfarranger
+ MimeType=application/pdf;application/postscript;application/x-ext-pdf;image/x-bmp;image/bmp;image/gif;image/tiff;image/jp2;image/jpeg;image/jpg;image/png;image/x-icon;image/x-portable-pixmap;image/x-gray;image/x-ico;image/x-png;image/vnd.zbrush.pcx;image/x-pcx;
+ Categories=Office;
+ Terminal=false
+diff -Naur pdfarranger-1.8.2/pdfarranger/pdfarranger.py pdfarranger-1.8.2_icon/pdfarranger/pdfarranger.py
+--- pdfarranger-1.8.2/pdfarranger/pdfarranger.py 2021-12-25 16:53:29.000000000 +0000
++++ pdfarranger-1.8.2_icon/pdfarranger/pdfarranger.py 2022-06-28 00:04:05.856916851 +0100
+@@ -54,7 +54,7 @@
+ pass # Gtk already prints a warning
+
+ DOMAIN = 'pdfarranger'
+-ICON_ID = 'com.github.jeromerobert.' + DOMAIN
++ICON_ID = DOMAIN
+ if hasattr(locale, 'bindtextdomain'):
+ # glibc
+ locale.bindtextdomain(DOMAIN, localedir)
diff --git a/office/pdfarranger/slack-desc b/office/pdfarranger/slack-desc
new file mode 100644
index 0000000000..c984ea725d
--- /dev/null
+++ b/office/pdfarranger/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+pdfarranger: pdfarranger (rearrange pdf pages)
+pdfarranger:
+pdfarranger: pdfarranger is a small python-gtk application, which helps the user to
+pdfarranger: merge or split pdf documents and rotate, crop and rearrange their
+pdfarranger: pages using an interactive and intuitive graphical interface. It is a
+pdfarranger: frontend for pikepdf and a fork of pdfshuffler. PDF Arranger supports
+pdfarranger: image file import if img2pdf is installed
+pdfarranger:
+pdfarranger: Home: https://github.com/pdfarranger/pdfarranger
+pdfarranger:
+pdfarranger:
diff --git a/office/pdfchain/pdfchain.SlackBuild b/office/pdfchain/pdfchain.SlackBuild
index 8528b24149..16d6aeb4c8 100644
--- a/office/pdfchain/pdfchain.SlackBuild
+++ b/office/pdfchain/pdfchain.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdfchain
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfchain
VERSION=${VERSION:-0.4.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,6 +79,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# pdftk is a dependency, and needs the gcc package to build. If we installed
+# that and sourced gcc5.sh, pdfchain won't build. We check for that here and
+# unset the vars.
+if [ "$CC" = "gcc-5" ] ; then
+ unset CC
+ unset CPP
+ unset CXX
+ unset AR
+ unset NM
+ unset RANLIB
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
./configure \
@@ -96,4 +118,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pdfjam/README b/office/pdfjam/README
deleted file mode 100644
index 7d3d58266c..0000000000
--- a/office/pdfjam/README
+++ /dev/null
@@ -1,4 +0,0 @@
-PDFjam is a collection of shell scripts providing a simple interface
-to functionality of the pdfpages package for pdfLaTeX. PDFjam can
-rotate pages, join PDFs, n-up several pages onto one page, generate a
-printer spread for books, and much much more.
diff --git a/office/pdfjam/pdfjam.SlackBuild b/office/pdfjam/pdfjam.SlackBuild
deleted file mode 100644
index 79a862e459..0000000000
--- a/office/pdfjam/pdfjam.SlackBuild
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pdfjam
-# Copyright 2016 Klaatu klaatu@member.fsf.org
-#
-# GNU All-Permissive License
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved. This file is offered as-is,
-# without any warranty.
-
-PRGNAM=pdfjam
-VERSION=${VERSION:-2.08}
-VERTAR=${VERTAR:-latest}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-ARCH='noarch'
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/"$PRGNAM"_"$VERTAR".tgz
-cd $PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# already in PRGNAM
-mkdir $PKG/usr
-mv bin $PKG/usr/bin
-mkdir -p $PKG/usr/man/man1
-mkdir $PKG/etc
-mv pdfjam.conf $PKG/etc
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-
-for i in man1/* ; do gzip -9c "$i" > $PKG/usr/man/"$i".gz ; done
-
-cp -a COPYING VERSION tests.zip PDFjam-README.html pdfdroplets.png \
- $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/office/pdfjam/pdfjam.info b/office/pdfjam/pdfjam.info
deleted file mode 100644
index d97fbbdeed..0000000000
--- a/office/pdfjam/pdfjam.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pdfjam"
-VERSION="2.08"
-HOMEPAGE="https://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam"
-DOWNLOAD="https://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam/pdfjam_latest.tgz"
-MD5SUM="7df075df7f129091f826275ce8c1f374"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Klaatu"
-EMAIL="klaatu@member.fsf.org"
diff --git a/office/pdfjam/slack-desc b/office/pdfjam/slack-desc
deleted file mode 100644
index 8f35a106b2..0000000000
--- a/office/pdfjam/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------------------------------------------------------|
-pdfjam: pdfjam (pdf toolkit)
-pdfjam:
-pdfjam: PDFjam is a collection of shell scripts for PDF manipulation, like
-pdfjam: joining, rotating, modifying page layout, generating printer
-pdfjam: spreads, and more.
-pdfjam:
-pdfjam: https://www2.warwick.ac.uk/fac/sci/statistics/staff/\
-pdfjam: academic-research/firth/software/pdfjam/
-pdfjam:
-pdfjam:
-pdfjam:
diff --git a/office/pdfpc/README b/office/pdfpc/README
index f57e79b7f8..050b8c92ef 100644
--- a/office/pdfpc/README
+++ b/office/pdfpc/README
@@ -1,13 +1,14 @@
A presenter console with multi-monitor support for PDF files.
-pdfpc is a GTK based presentation viewer application which uses Keynote like
-multi-monitor output to provide meta information to the speaker during the
-presentation. It is able to show a normal presentation window on one screen,
-while showing a more sophisticated overview on the other one providing
-information like a picture of the next slide, as well as the left over time
-till the end of the presentation. The input files processed by pdfpc are PDF
-documents, which can be created using nearly any of today's presentation
+pdfpc is a GTK based presentation viewer application which uses
+Keynote like multi-monitor output to provide meta information to
+the speaker during the presentation. It is able to show a normal
+presentation window on one screen, while showing a more sophisticated
+overview on the other one providing information like a picture of
+the next slide, as well as the left over time till the end of the
+presentation. The input files processed by pdfpc are PDF documents,
+which can be created using nearly any of today's presentation
software.
-More information, including screenshots and a demo presentation, can be found
-at https://pdfpc.github.io/
+More information, including screenshots and a demo presentation, can
+be found at https://pdfpc.github.io/
diff --git a/office/pdfpc/pdfpc.SlackBuild b/office/pdfpc/pdfpc.SlackBuild
index 1db71999b5..22b5398372 100644
--- a/office/pdfpc/pdfpc.SlackBuild
+++ b/office/pdfpc/pdfpc.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdfpc
+# Copyright 2018-2021 Gregory J. L. Tourte <artourter@gmail.com>
# Copyright 2013 Markus Hutmacher <email removed>
-# Copyright 2018 Gregory Tourte <artourter@gmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfpc
-VERSION=${VERSION:-4.1.2}
+VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,8 +86,8 @@ cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DSYSCONFDIR=/etc \
- -DMANDIR=/usr/man \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
..
make
@@ -94,7 +104,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m 0644 CHANGELOG.txt README.rst LICENSE.txt FAQ.rst SUPPORT.md CONTRIBUTORS rc/rcfile* \
+install -m 0644 CHANGELOG.rst README.rst LICENSE.txt FAQ.rst SUPPORT.rst CONTRIBUTORS rc/rcfile* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/office/pdfpc/pdfpc.info b/office/pdfpc/pdfpc.info
index ebe589cb97..b75136d847 100644
--- a/office/pdfpc/pdfpc.info
+++ b/office/pdfpc/pdfpc.info
@@ -1,10 +1,10 @@
PRGNAM="pdfpc"
-VERSION="4.1.2"
+VERSION="4.6.0"
HOMEPAGE="https://pdfpc.github.io/"
-DOWNLOAD="https://github.com/pdfpc/pdfpc/archive/v4.1.2/pdfpc-4.1.2.tar.gz"
-MD5SUM="5b5fd7e78966ae604081631f38c6b1a1"
+DOWNLOAD="https://github.com/pdfpc/pdfpc/archive/v4.6.0/pdfpc-4.6.0.tar.gz"
+MD5SUM="6a497c624452232fcd059c55a8a5242f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgee"
+REQUIRES="discount webkit2gtk"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"
diff --git a/office/pdfshuffler/pdfshuffler.SlackBuild b/office/pdfshuffler/pdfshuffler.SlackBuild
index 11485fb642..54fa140d6f 100644
--- a/office/pdfshuffler/pdfshuffler.SlackBuild
+++ b/office/pdfshuffler/pdfshuffler.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdfshuffler.
#
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfshuffler
VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/office/pdfstudio/README b/office/pdfstudio/README
index 23ae686cd2..f3e5937d08 100644
--- a/office/pdfstudio/README
+++ b/office/pdfstudio/README
@@ -23,7 +23,7 @@ Key features of PDF Studio:
* Supports the new PDF 2.0 standards
* Interactive Form Designer
* OCR (Text Recognition)
- * Inline text content editing with reflow
+ * Content Editing (Text and Images)
* Redact & Sanitize PDFs
* Compare PDFs
* Optimize PDFs
@@ -32,6 +32,7 @@ Key features of PDF Studio:
* Batch Process Multiple PDFs
* Tag PDFs for Accessibility (PDF/UA)
* PDF/A Validation / Conversion
+ * Advanced Imposition & Printer
By default PDF Studio uses the system-wide Java.
@@ -40,6 +41,3 @@ OWNJAVA=yes ./pdfstudio.SlackBuild
a version of Java that comes packaged with PDF Studio will be installed
under the PDF Studio installation directory, this Java will not be used
by other programs.
-
-NOTE: The license of the sources don't permit free distribution, so sources
-must be coming from upstream project.
diff --git a/office/pdfstudio/pdfstudio.SlackBuild b/office/pdfstudio/pdfstudio.SlackBuild
index d6cff72dc4..6f17909e1b 100644
--- a/office/pdfstudio/pdfstudio.SlackBuild
+++ b/office/pdfstudio/pdfstudio.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdfstudio
-# Copyright 2017-2019, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2017-2021, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfstudio
-VERSION=${VERSION:-2019.0.0}
+VERSION=${VERSION:-2020.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
YEAR=${VERSION:0:4}
if [ -z "$ARCH" ]; then
@@ -43,7 +46,14 @@ case "$ARCH" in
exit 1 ;;
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}
@@ -69,7 +79,6 @@ MimeType=application/pdf;" \
> usr/share/applications/${PRGNAM}${YEAR}.desktop
mkdir -p usr/doc/$PRGNAM-$VERSION
-cp $CWD/pdfstudio${YEAR}_userguide.pdf usr/doc/$PRGNAM-$VERSION/
if [ "${OWNJAVA:-no}" = "yes" ]; then
cd opt/pdfstudio${YEAR}/jre
@@ -105,4 +114,4 @@ mkdir -p install
cat $CWD/slack-desc > install/slack-desc
cat $CWD/doinst.sh > install/doinst.sh
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pdfstudio/pdfstudio.info b/office/pdfstudio/pdfstudio.info
index 17820f988d..8fdd59f0a2 100644
--- a/office/pdfstudio/pdfstudio.info
+++ b/office/pdfstudio/pdfstudio.info
@@ -1,14 +1,10 @@
PRGNAM="pdfstudio"
-VERSION="2019.0.0"
+VERSION="2020.4.0"
HOMEPAGE="https://www.qoppa.com/pdfstudio/"
-DOWNLOAD="https://download.qoppa.com/pdfstudio/v2019/PDFStudio_v2019_0_0_linux.deb \
- https://www.qoppa.com/files/pdfstudio/guide/pdfstudio2019_userguide.pdf"
-MD5SUM="9d3b39f74bc0bbbe768b27a5755c343d \
- 00449a6878d69dfea660ff210ecfe119"
-DOWNLOAD_x86_64="https://download.qoppa.com/pdfstudio/v2019/PDFStudio_v2019_0_0_linux64.deb \
- https://www.qoppa.com/files/pdfstudio/guide/pdfstudio2019_userguide.pdf"
-MD5SUM_x86_64="876cd0320ad1de369018e7532303beb6 \
- 00449a6878d69dfea660ff210ecfe119"
-REQUIRES="jdk %README%"
+DOWNLOAD="https://download.qoppa.com/pdfstudio/v2020/PDFStudio_v2020_4_0_linux.deb"
+MD5SUM="54b767608e88afdeeeb7292c278624c2"
+DOWNLOAD_x86_64="https://download.qoppa.com/pdfstudio/v2020/PDFStudio_v2020_4_0_linux64.deb"
+MD5SUM_x86_64="d4b8f062f90d191a7fca0b003101e772"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/pdfstudioviewer/README b/office/pdfstudioviewer/README
index 97ff7b3bc4..250390b3ff 100644
--- a/office/pdfstudioviewer/README
+++ b/office/pdfstudioviewer/README
@@ -24,6 +24,3 @@ OWNJAVA=yes ./pdfstudioviewer.SlackBuild
a version of Java that comes packaged with PDF Studio Viewer will be
installed under the PDF Studio Viewer installation directory, this Java
will not be used by other programs.
-
-NOTE: The license of the sources don't permit free distribution, so
-sources must be coming from upstream project.
diff --git a/office/pdfstudioviewer/pdfstudioviewer.SlackBuild b/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
index 7db6703d93..9ac776a7fa 100644
--- a/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
+++ b/office/pdfstudioviewer/pdfstudioviewer.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdfstudioviewer
-# Copyright 2019, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-2021, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdfstudioviewer
-VERSION=${VERSION:-2019.0.0}
+VERSION=${VERSION:-2020.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
YEAR=${VERSION:0:4}
if [ -z "$ARCH" ]; then
@@ -43,7 +46,14 @@ case "$ARCH" in
exit 1 ;;
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}
@@ -69,7 +79,6 @@ MimeType=application/pdf;" \
> usr/share/applications/${PRGNAM}${YEAR}.desktop
mkdir -p usr/doc/$PRGNAM-$VERSION
-cp $CWD/pdfstudioviewer${YEAR}_userguide.pdf usr/doc/$PRGNAM-$VERSION/
if [ "${OWNJAVA:-no}" = "yes" ]; then
cd opt/pdfstudioviewer${YEAR}/jre
@@ -105,4 +114,4 @@ mkdir -p install
cat $CWD/slack-desc > install/slack-desc
cat $CWD/doinst.sh > install/doinst.sh
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pdfstudioviewer/pdfstudioviewer.info b/office/pdfstudioviewer/pdfstudioviewer.info
index 54cb4b9596..9515a0a516 100644
--- a/office/pdfstudioviewer/pdfstudioviewer.info
+++ b/office/pdfstudioviewer/pdfstudioviewer.info
@@ -1,14 +1,10 @@
PRGNAM="pdfstudioviewer"
-VERSION="2019.0.0"
+VERSION="2020.4.0"
HOMEPAGE="https://www.qoppa.com/pdfstudioviewer/"
-DOWNLOAD="https://download.qoppa.com/pdfstudioviewer/v2019/PDFStudioViewer_v2019_0_0_linux.deb \
- https://www.qoppa.com/files/pdfstudioviewer/guide/pdfstudioviewer2019_userguide.pdf"
-MD5SUM="ab6198f40f565a343f6970714dee7ca0 \
- 3db108d0e85311d6ed598a610f7de59e"
-DOWNLOAD_x86_64="https://download.qoppa.com/pdfstudioviewer/v2019/PDFStudioViewer_v2019_0_0_linux64.deb \
- https://www.qoppa.com/files/pdfstudioviewer/guide/pdfstudioviewer2019_userguide.pdf"
-MD5SUM_x86_64="1da8d71deb6db13d0c8d88f2ef7506b8 \
- 3db108d0e85311d6ed598a610f7de59e"
-REQUIRES="jdk"
+DOWNLOAD="https://slackware.uk/~urchlay/src/PDFStudioViewer_v2020_4_0_linux.deb"
+MD5SUM="b00266ac215c57010652919cf5ecd997"
+DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/PDFStudioViewer_v2020_4_0_linux64.deb"
+MD5SUM_x86_64="915bf1db64f138d75c5bb314b44c6c07"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/pdfstudioviewer/slack-desc b/office/pdfstudioviewer/slack-desc
index 4d3aeba81e..127290594d 100644
--- a/office/pdfstudioviewer/slack-desc
+++ b/office/pdfstudioviewer/slack-desc
@@ -11,7 +11,7 @@ pdfstudioviewer:
pdfstudioviewer: PDF Studio Viewer is a cross-platform PDF reader that is reliable and
pdfstudioviewer: easy to use. PDF Studio Viewer can annotate PDF documents and fill
pdfstudioviewer: interactive forms.
-pdfstudioviewer:
+pdfstudioviewer:
pdfstudioviewer: PDF Studio Viewer is a free proprietary Java based program.
pdfstudioviewer:
pdfstudioviewer: Home page: https://www.qoppa.com/pdfstudioviewer/
diff --git a/office/pdftk/README b/office/pdftk/README
index c84c0b6589..f55989c909 100644
--- a/office/pdftk/README
+++ b/office/pdftk/README
@@ -1,6 +1,11 @@
-If PDF is electronic paper, then pdftk is an electronic staple-remover,
-hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a
-command-line tool for doing everyday things with PDF documents. Keep one
-in the top drawer of your desktop and use it to merge PDF documents,
-split PDF documents, apply watermarks, repair corrupt PDF, update PDF
-metadata, and more. pdftk does not require Acrobat and is free software.
+If PDF is electronic paper, then pdftk is an electronic
+staple-remover, hole-punch, binder, secret-decoder-ring, and
+X-Ray-glasses. Pdftk is a command-line tool for doing everyday things
+with PDF documents. Keep one in the top drawer of your desktop and
+use it to merge PDF documents, split PDF documents, apply watermarks,
+repair corrupt PDF, update PDF metadata, and more. pdftk does not
+require Acrobat and is free software.
+
+This SlackBuild repackages the newer Java port of the original pdftk.
+A Java Runtime Environment of version >= 8 is required
+(ex. zulu-openjdk8).
diff --git a/office/pdftk/pdftk-1.44-add_custom_optflags.patch b/office/pdftk/pdftk-1.44-add_custom_optflags.patch
deleted file mode 100644
index 660073115f..0000000000
--- a/office/pdftk/pdftk-1.44-add_custom_optflags.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Nurp pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1
---- pdftk-1.44-dist-orig/pdftk/Makefile.Slackware-13.1 2010-10-25 20:04:51.000000000 +0100
-+++ pdftk-1.44-dist/pdftk/Makefile.Slackware-13.1 2010-10-31 01:44:31.000000000 +0000
-@@ -34,7 +34,7 @@ export CXX= $(TOOLPATH)g++
- export GCJ= $(TOOLPATH)gcj
- export GCJH= $(TOOLPATH)gcjh
- export GJAR= $(TOOLPATH)gjar
--export LIBGCJ= /usr/share/java/libgcj$(VERSUFF).jar
-+export LIBGCJ= /usr/share/java
- export AR= ar
- export RM= rm
- export ARFLAGS= rs
-@@ -71,9 +71,10 @@ export RMFLAGS= -vf
- # only effects libraries following option on the command line
- #
- #
--export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
--export CXXFLAGS= -Wall -Wextra -Weffc++ -O2
--export GCJFLAGS= -Wall -fsource=1.3 -O2
-+export OPT= -O2
-+export CPPFLAGS= $(OPT) -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers
-+export CXXFLAGS= $(OPT) -Wall -Wextra -Weffc++
-+export GCJFLAGS= $(OPT) -Wall -fsource=1.3
- export GCJHFLAGS= -force
- export LDLIBS= -lgcj
-
diff --git a/office/pdftk/pdftk.SlackBuild b/office/pdftk/pdftk.SlackBuild
index aa5bad4885..6de4541cb9 100644
--- a/office/pdftk/pdftk.SlackBuild
+++ b/office/pdftk/pdftk.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdftk
-# Copyright 2010 Gregory J. L. Tourte <artourter@gmail.com>
# Copyright 2006-2009 Yalla-One <yallaone@gmail.com>
+# Copyright 2010 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,72 +24,52 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdftk
-VERSION=${VERSION:-2.02}
+VERSION=${VERSION:-3.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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-dist
-unzip $CWD/$PRGNAM-$VERSION-src.zip
-cd $PRGNAM-$VERSION-dist
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Use our SLKCFLAGS
-patch -p1 < $CWD/pdftk-1.44-add_custom_optflags.patch
+# Copy the binary
+mkdir -p $PKG/usr/share/java/$PRGNAM
+install -Dm644 $CWD/$PRGNAM-all.jar $PKG/usr/share/java/$PRGNAM
+
+# pdftk.sh was taken from the Arch Linux repo:
+# https://gitlab.archlinux.org/archlinux/packaging/packages/pdftk/-/tree/main?ref_type=heads
+mkdir -p $PKG/usr/bin
+install -Dm755 $CWD/$PRGNAM.sh $PKG/usr/bin/$PRGNAM
-cd $PRGNAM
- # Hardcode "-j1" since this fails with multiple make jobs
- make OPT="$SLKCFLAGS" -j1 -f Makefile.Slackware-13.1
- mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION}
- cp -a pdftk $PKG/usr/bin
- strip --strip-unneeded $PKG/usr/bin/pdftk 2> /dev/null
-cd ..
+# Man file
+# Typo fix taken from https://gitlab.com/pdftk-java/pdftk/-/blob/master/pdftk.1
+mkdir -p $PKG/usr/man/man1
+install -Dm644 $CWD/$PRGNAM.1 $PKG/usr/man/man1
+sed -i '198s/fB1\\\\-/fB1\\\-/' $PKG/usr/man/man1/pdftk.1
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-gzip -9c pdftk.1 > $PKG/usr/man/man1/pdftk.1.gz
-cp -a \
- pdftk.1.* changelog.* license_gpl_pdftk \
- $PKG/usr/doc/$PRGNAM-$VERSION/
+# Only pdftk.SlackBuild is copied to /usr/doc/pdftk-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pdftk/pdftk.info b/office/pdftk/pdftk.info
index 01151c62f1..334d15dff3 100644
--- a/office/pdftk/pdftk.info
+++ b/office/pdftk/pdftk.info
@@ -1,10 +1,12 @@
PRGNAM="pdftk"
-VERSION="2.02"
-HOMEPAGE="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/"
-DOWNLOAD="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-2.02-src.zip"
-MD5SUM="6534365fd6727724f288a556ede33faa"
+VERSION="3.3.3"
+HOMEPAGE="https://gitlab.com/pdftk-java/pdftk"
+DOWNLOAD="https://gitlab.com/api/v4/projects/5024297/packages/generic/pdftk-java/v3.3.3/pdftk-all.jar \
+ https://gitlab.com/pdftk-java/pdftk/-/raw/v3.3.3/pdftk.1"
+MD5SUM="59a28bed53b428595d165d52988bf4cf \
+ 7f3b3fee7c84aa2169a37c84939f2577"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="ArTourter"
-EMAIL="artourter@gmail.com"
+REQUIRES="zulu-openjdk8"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/office/pdftk/pdftk.sh b/office/pdftk/pdftk.sh
new file mode 100644
index 0000000000..40fdde27a3
--- /dev/null
+++ b/office/pdftk/pdftk.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+CP='/usr/share/java/pdftk/pdftk-all.jar'
+exec java -cp "$CP" com.gitlab.pdftk_java.pdftk "$@"
+
diff --git a/office/plover/README b/office/plover/README
new file mode 100644
index 0000000000..f54d2b900a
--- /dev/null
+++ b/office/plover/README
@@ -0,0 +1,10 @@
+Plover (rhymes with "lover") is a desktop application that allows
+anyone to use stenography to write on their computer, up to speeds of
+200WPM and beyond.
+
+Plover is part of the Open Steno Project. The Open Steno Project's
+goal is to provide everything you need to learn machine shorthand
+on your own, from free software, to cheap hardware, to learning
+resources.
+
+Plover is GPLv2+ as of version 3.1.0. See the license for details.
diff --git a/office/plover/doinst.sh b/office/plover/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/office/plover/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/hyphen-id/hyphen-id.SlackBuild b/office/plover/plover.SlackBuild
index 42a27e31fd..e775a54583 100644
--- a/office/hyphen-id/hyphen-id.SlackBuild
+++ b/office/plover/plover.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for hyphen-id
+# Slackware build script for plover
-# Copyright 2017 Ali Ahmadi <idnux09@gmail.com>
-# # All rights reserved.
+# Copyright 2020 Alan Aversa USA
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -22,49 +22,59 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Based on the Arch PKGBUILD
+cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=hyphen-id
-VERSION=${VERSION:-2.0}
+PRGNAM=plover
+VERSION=${VERSION:-4.0.0.dev8.66.g685bd33}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH="noarch"
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=${ARCH:-$(uname -m)}
+if [ $ARCH != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-mkdir -p $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cp $CWD/$PRGNAM-$VERSION-x86_64.AppImage $PRGNAM-$VERSION/$PRGNAM
cd $PRGNAM-$VERSION
+chown -R root:root $PRGNAM
+chmod 755 $PRGNAM
-bsdtar -xf $CWD/id_id.oxt
+mkdir -p $PKG/usr/bin
+mv $PRGNAM $PKG/usr/bin/
-# Putting everything in proper place
-install -dm755 $PKG/usr/share/hyphen
-install -m644 hyph_id_ID.dic $PKG/usr/share/hyphen
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-# myspell symlinks
-install -dm755 $PKG/usr/share/myspell/dicts
-pushd $PKG/usr/share/myspell/dicts
- for file in $PKG/usr/share/hyphen/*; do
- ln -sv ../../hyphen/$(basename $file) .
- done
-popd
+mkdir -p $PKG/usr/share/pixmaps
+cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m644 info/long-description.txt $PKG/usr/doc/$PRGNAM-$VERSION/README.txt
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/office/plover/plover.desktop b/office/plover/plover.desktop
new file mode 100644
index 0000000000..519ee5da65
--- /dev/null
+++ b/office/plover/plover.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Plover
+GenericName=Stenography
+Comment=Plover stenotype engine
+Icon=plover
+Exec=plover
+TryExec=Plover
+Terminal=false
+Type=Application
+Categories=Office;
diff --git a/office/plover/plover.info b/office/plover/plover.info
new file mode 100644
index 0000000000..9a671383de
--- /dev/null
+++ b/office/plover/plover.info
@@ -0,0 +1,10 @@
+PRGNAM="plover"
+VERSION="4.0.0.dev8.66.g685bd33"
+HOMEPAGE="https://www.openstenoproject.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/openstenoproject/plover/releases/download/weekly-v4.0.0.dev8%2B66.g685bd33/plover-4.0.0.dev8.66.g685bd33-x86_64.AppImage"
+MD5SUM_x86_64="27253471cec234350ecbcc8cee6071ed"
+REQUIRES=""
+MAINTAINER="Alan Aversa"
+EMAIL="alan.aveNOrsaSP@AMcox.net (remove NO and SPAM)"
diff --git a/office/plover/plover.png b/office/plover/plover.png
new file mode 100644
index 0000000000..dd301f1c3d
--- /dev/null
+++ b/office/plover/plover.png
Binary files differ
diff --git a/office/plover/slack-desc b/office/plover/slack-desc
new file mode 100644
index 0000000000..de7d26b9be
--- /dev/null
+++ b/office/plover/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+plover: plover (Open source stenotype engine)
+plover:
+plover: Plover (rhymes with "lover") is a desktop application that allows
+plover: anyone to use stenography to write on their computer, up to speeds of
+plover: 200WPM and beyond.
+plover:
+plover: Plover is part of the Open Steno Project. The Open Steno Project's
+plover: goal is to provide everything you need to learn machine shorthand on
+plover: your own, from free software, to cheap hardware, to learning
+plover: resources.
+plover:
diff --git a/office/ps2eps/README b/office/ps2eps/README
index 38464c6cf9..0cec7e8abf 100644
--- a/office/ps2eps/README
+++ b/office/ps2eps/README
@@ -1,16 +1,17 @@
-ps2eps is a tool (written in Perl) to produce Encapsulated PostScript
-Files (EPS/EPSF) from usual one-paged Postscript documents. It calculates
-correct Bounding Boxes for those EPS files and filters some special
-postscript command sequences that can produce erroneous results on
-printers. EPS files are often needed for including (scalable) graphics of
-high quality into TeX/LaTeX (or even Word) documents.
+ps2eps is a tool (written in Perl) to produce Encapsulated PostScript
+Files (EPS/EPSF) from usual one-paged Postscript documents. It
+calculates correct Bounding Boxes for those EPS files and filters
+some special postscript command sequences that can produce erroneous
+results on printers. EPS files are often needed for including
+(scalable) graphics of high quality into TeX/LaTeX (or even Word)
+documents.
-Without any argument, ps2eps reads from standard input and writes to
-standard output. If filenames are given as arguments they are processed
-one by one and output files are written to filenames with extension .eps.
-If input filenames have the extension .ps or .prn, this extension is
-replaced with .eps. In all other cases .eps is appended to the input
-filename. Please note that PostScript files for input should contain only
-one single page (you can possibly use the psselect from the psutils
-package to extract a single page from a document that contains multiple
-pages).
+Without any argument, ps2eps reads from standard input and writes
+to standard output. If filenames are given as arguments they are
+processed one by one and output files are written to filenames with
+extension .eps. If input filenames have the extension .ps or .prn,
+this extension is replaced with .eps. In all other cases .eps is
+appended to the input filename. Please note that PostScript files
+for input should contain only one single page (you can possibly use
+the psselect from the psutils package to extract a single page from a
+document that contains multiple pages).
diff --git a/office/ps2eps/ps2eps.SlackBuild b/office/ps2eps/ps2eps.SlackBuild
index a08692eed4..441571c9b0 100644
--- a/office/ps2eps/ps2eps.SlackBuild
+++ b/office/ps2eps/ps2eps.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ps2eps
# written by <pedro@gepasi.org>, hereby put in the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ps2eps
VERSION=${VERSION:-1.64}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -74,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/ps2eps/ps2eps.info b/office/ps2eps/ps2eps.info
index f3d64c9349..d77892eeba 100644
--- a/office/ps2eps/ps2eps.info
+++ b/office/ps2eps/ps2eps.info
@@ -1,7 +1,7 @@
PRGNAM="ps2eps"
VERSION="1.64"
HOMEPAGE="http://www.tm.uka.de/~bless/ps2eps"
-DOWNLOAD="http://www.tm.uka.de/~bless/ps2eps-1.64.tar.gz"
+DOWNLOAD="http://distcache.FreeBSD.org/ports-distfiles/ps2eps-1.64.tar.gz"
MD5SUM="89aec3f075cee662f2367b12337b5c3e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/pstoedit/README b/office/pstoedit/README
index fe5f854345..f9f91a117f 100644
--- a/office/pstoedit/README
+++ b/office/pstoedit/README
@@ -1,9 +1,9 @@
-pstoedit converts PostScript and PDF files to various vector graphic
-formats. The resulting files can be edited or imported into various
-drawing packages. Output formats include: AI, ASY, CGM, DXF, EMF, FIG,
-GMFA, GMFI, GSCHEM, HPGL, IDRAW, KIL, LATEX2E, LWO, MIF, MNA, MPOST,
-NOIXML, PCB, PCL, RIB, RPL, RTF, SK, SVG, SVM, SWF, TGIF, XAML, WMF and
-variants of these. Output is also possible to text in different formats
-and Java or TK code.
+pstoedit converts PostScript and PDF files to various vector graphic
+formats. The resulting files can be edited or imported into various
+drawing packages. Output formats include: AI, ASY, CGM, DXF, EMF, FIG,
+GMFA, GMFI, GSCHEM, HPGL, IDRAW, KIL, LATEX2E, LWO, MIF, MNA, MPOST,
+NOIXML, PCB, PCL, RIB, RPL, RTF, SK, SVG, SVM, SWF, TGIF, XAML, WMF
+and variants of these. Output is also possible to text in different
+formats and Java or TK code.
-libEMF, plotutils, and ming are optional dependencies.
+libEMF, and plotutils are optional dependencies.
diff --git a/office/pstoedit/pstoedit.SlackBuild b/office/pstoedit/pstoedit.SlackBuild
index 1448d71c5f..c42bf1870e 100644
--- a/office/pstoedit/pstoedit.SlackBuild
+++ b/office/pstoedit/pstoedit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pstoedit
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pstoedit
-VERSION=${VERSION:-3.70}
+VERSION=${VERSION:-4.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,13 +77,14 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --without-swf \
--build=$ARCH-slackware-linux
make
@@ -94,9 +102,12 @@ cp -a $TMP/$PRGNAM-$VERSION/examples/*.ps $PKG/usr/share/$PRGNAM-$VERSION/exampl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a readme.install $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share/doc
+
+rm -rf $PKG/usr/lib*/*.la
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/pstoedit/pstoedit.info b/office/pstoedit/pstoedit.info
index c55fece364..9cd853dfcc 100644
--- a/office/pstoedit/pstoedit.info
+++ b/office/pstoedit/pstoedit.info
@@ -1,8 +1,8 @@
PRGNAM="pstoedit"
-VERSION="3.70"
+VERSION="4.01"
HOMEPAGE="http://www.pstoedit.net/"
-DOWNLOAD="https://downloads.sourceforge.net/pstoedit/pstoedit-3.70.tar.gz"
-MD5SUM="d3ad4657b4944a8400f7ca76f78cb943"
+DOWNLOAD="https://downloads.sourceforge.net/pstoedit/pstoedit-4.01.tar.gz"
+MD5SUM="ac1e6b102cd94e9c954bd67ef984636d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/pstoedit/slack-desc b/office/pstoedit/slack-desc
index ac00ed9c07..149e6fec8d 100644
--- a/office/pstoedit/slack-desc
+++ b/office/pstoedit/slack-desc
@@ -12,8 +12,8 @@ pstoedit: pstoedit converts PostScript and PDF files to various vector graphic
pstoedit: formats. The resulting files can be edited or imported into various
pstoedit: drawing packages. Output formats include: AI, ASY, CGM, DXF, EMF,
pstoedit: FIG, GMFA, GMFI, GSCHEM, HPGL, IDRAW, KIL, LATEX2E, LWO, MIF, MNA,
-pstoedit: MPOST, NOIXML, PCB, PCL, RIB, RPL, RTF, SK, SVG, SVM, SWF, TGIF,
-pstoedit: XAML, WMF, and variants of these. Output is also possible to various
-pstoedit: text formats, Java, or TK code.
+pstoedit: MPOST, NOIXML, PCB, PCL, RIB, RPL, RTF, SK, SVG, SVM, TGIF, XAML,
+pstoedit: WMF, and variants of these. Output is also possible to various text
+pstoedit: formats, Java, or TK code.
pstoedit:
pstoedit: Homepage: http://www.pstoedit.net/
diff --git a/office/pstotext/README b/office/pstotext/README
index cc54661c2f..320063ec34 100644
--- a/office/pstotext/README
+++ b/office/pstotext/README
@@ -1,5 +1,7 @@
-Pstotext is a utility to extract plain text from PostScript(tm) files.
-It also works (though, less reliable) for PDFs.
-It was originally created by employees of what was known as DEC (now HP),
-and released to the public in 1995.
+Pstotext is a utility to extract plain text from PostScript(tm) files.
+It also works (though, less reliably) for PDFs.
+
+It was originally created by employees of what was known as DEC (now
+HP), and released to the public in 1995.
+
Recoll, a desktop search engine, uses this to add PostScript files.
diff --git a/office/pstotext/pstotext.SlackBuild b/office/pstotext/pstotext.SlackBuild
index f29fac15d5..f281021e45 100644
--- a/office/pstotext/pstotext.SlackBuild
+++ b/office/pstotext/pstotext.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Written by Ismael Cortés (leamsi.setroc@gmail.com)
# I, as writer and author, give this script and its
@@ -6,10 +6,13 @@
# Modified by Robby Workman - http://rlworkman.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pstotext
VERSION=${VERSION:-1.9}
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}
@@ -67,4 +77,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/office/pyspread/README b/office/pyspread/README
index 4b77a7cf84..8db98496ba 100644
--- a/office/pyspread/README
+++ b/office/pyspread/README
@@ -2,10 +2,10 @@ Pyspread is a non-traditional spreadsheet application that is based on
and written in the programming language Python.
The goal of pyspread is to be the most pythonic spreadsheet. Pyspread
-expects Python expressions in its grid cells, which makes a spreadsheet
-specific language obsolete. Each cell returns a Python object that can be
-accessed from other cells. These objects can represent anything including
-lists or matrices.
+expects Python expressions in its grid cells, which makes a
+spreadsheet specific language obsolete. Each cell returns a Python
+object that can be accessed from other cells. These objects can
+represent anything including lists or matrices.
Pyspread is free software. It is released under the GPL v3.
@@ -18,10 +18,4 @@ Pyspread is free software. It is released under the GPL v3.
for example matrix operations via numpy or fixed point decimal
numbers for business calculations via decimal.
-Optional Dependencies:
-
-- python-xlrd (optional for opening Excel files)
-- python-xlwt (for saving Excel files)
-- python-gnupg (for opening own files without approval)
-- jedi (for tab completion and context help in the entry line)
-- basemap (for the weather example pys file)
+Optional Dependencies: matplotlib, pyenchant, python-dateutil
diff --git a/office/pyspread/pyspread.SlackBuild b/office/pyspread/pyspread.SlackBuild
index dc2d022599..ce8728e180 100644
--- a/office/pyspread/pyspread.SlackBuild
+++ b/office/pyspread/pyspread.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyspread
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyspread
-VERSION=${VERSION:-1.1.3}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -78,10 +88,11 @@ mkdir -p $PKG/usr/share/applications
install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 pyspread/share/icons/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+install -D -m644 pyspread/share/icons/hicolor/64x64/$PRGNAM.png \
+ $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE AUTHORS PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -89,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/office/pyspread/pyspread.info b/office/pyspread/pyspread.info
index 3586ce7397..17597a55c2 100644
--- a/office/pyspread/pyspread.info
+++ b/office/pyspread/pyspread.info
@@ -1,10 +1,10 @@
PRGNAM="pyspread"
-VERSION="1.1.3"
-HOMEPAGE="https://manns.github.io/pyspread/"
-DOWNLOAD="https://files.pythonhosted.org/packages/4b/34/3ce362d78584274da5c418c9712d3cc53b9e19e7d8f22a141baa2a9da6b9/pyspread-1.1.3.tar.gz"
-MD5SUM="854d1330ba8368ffea43107ae5a1329c"
+VERSION="2.2.3"
+HOMEPAGE="https://pyspread.gitlab.io"
+DOWNLOAD="https://files.pythonhosted.org/packages/78/ff/91330b4f876da3dbcc376bdb0bd185050ca863b2b75542ac247267aa13b5/pyspread-2.2.3.tar.gz"
+MD5SUM="24bfaee8776068384159745e0ad638bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython matplotlib numpy"
+REQUIRES="python3-numpy python3-markdown2"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/office/pyspread/slack-desc b/office/pyspread/slack-desc
index 2076e5aaa1..a1a7efdd83 100644
--- a/office/pyspread/slack-desc
+++ b/office/pyspread/slack-desc
@@ -11,7 +11,7 @@ pyspread:
pyspread: Pyspread is a non-traditional spreadsheet application that is based
pyspread: on and written in the programming language Python.
pyspread:
-pyspread: Homepage: https://manns.github.io/pyspread/
+pyspread: Homepage: https://pyspread.gitlab.io
pyspread:
pyspread:
pyspread:
diff --git a/office/python-gcalcli/README b/office/python-gcalcli/README
index 3e86ebdd28..778a6b1c5a 100644
--- a/office/python-gcalcli/README
+++ b/office/python-gcalcli/README
@@ -1,28 +1,13 @@
gcalcli is a Python application that allows you to access your Google
-Calendar from a command line. It's easy to get your agenda, search
-for events, and quickly add new events. Additionally gcalcli can be
-used as a reminder service to execute any application you want.
+Calendar(s) from a command line. It's easy to get your agenda, search
+for events, add new events, delete events, edit events, see recently
+updated events, and even import those annoying ICS/vCal invites from
+Microsoft Exchange and/or other sources. Additionally, gcalcli can be
+used as a reminder service and execute any application you want when an
+event is coming up.
-Features:
+gcalcli uses the Google Calendar API version 3
+(https://developers.google.com/google-apps/calendar/)
-list your calendars
-show an agenda using a specified start/end time and date
-graphical calendar display (my paying homage to the remind application)
-search for past and/or future calendar events
-"quick add" new calendar events to your default calendar
-run as a cron job and execute a command for reminders
-work against specific calendars (by calendar type or calendar name regex)
-config file support for specifying program defaults
-colored output and unicode character support
-easy integration within shell scripts, cron, screen, conky, etc
-
-Not (Yet) Supported:
-
-import meeting.ics Outlook events
-add (non-quick) events with ability to set reminders, repeat, guests, etc
-configurable reminders (i.e. 30 mins before event every 5 mins)
-offline mode working from cached data
-
-The HOWTO here explains options in detail. Taken from:
+The HOWTO here explains options in detail.
http://code.google.com/p/gcalcli/wiki/HowTo
-
diff --git a/office/python-gcalcli/python-gcalcli.SlackBuild b/office/python-gcalcli/python-gcalcli.SlackBuild
index f3a6720d9d..0c9419be27 100644
--- a/office/python-gcalcli/python-gcalcli.SlackBuild
+++ b/office/python-gcalcli/python-gcalcli.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-gcalcli
-# Copyright 2014 David Woodfall <dave@dawoodfall.net>
+# Copyright 2014 David Woodfall <dave@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,11 +21,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=gcalcli
-PRGNAM=python-$SRCNAM
-VERSION=${VERSION:-git20140429}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python-gcalcli
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=gcalcli
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}
@@ -60,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,14 +80,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mv $PKG/usr/share/man $PKG/usr
+gzip -9 $PKG/usr/man/man1/gcalcli.1
+rm -rf $PKG/usr/share
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ChangeLog README.md docs \
+cp -a ChangeLog LICENSE docs/README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -84,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/office/python-gcalcli/python-gcalcli.info b/office/python-gcalcli/python-gcalcli.info
index 27edbd1680..cff8f49153 100644
--- a/office/python-gcalcli/python-gcalcli.info
+++ b/office/python-gcalcli/python-gcalcli.info
@@ -1,10 +1,10 @@
PRGNAM="python-gcalcli"
-VERSION="git20140429"
+VERSION="4.3.0"
HOMEPAGE="https://github.com/insanum/gcalcli"
-DOWNLOAD="http://unrealize.co.uk/source/gcalcli-git20140429.tar.xz"
-MD5SUM="c356c275b9e1b69b79a98aabb545d3c5"
+DOWNLOAD="https://github.com/insanum/gcalcli/archive/v4.3.0/gcalcli-4.3.0.tar.gz"
+MD5SUM="9b2a15bd2c52a59627dc70609b0eded0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gdata python-dateutil python-elementtree"
-MAINTAINER="David Woodfall"
-EMAIL="dave@dawoodfall.net"
+REQUIRES="google-api-python-client python-parsedatetime"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/office/python3-proselint/README b/office/python3-proselint/README
new file mode 100644
index 0000000000..485ab690ee
--- /dev/null
+++ b/office/python3-proselint/README
@@ -0,0 +1,25 @@
+proselint is a turbocharget spellchecker
+
+proselint, a linter for English prose. A linter is a computer program
+that, akin to a spell checker, scans through a file and detects issues
+— like how a real lint roller helps you get unwanted lint off of your
+shirt.
+
+proselint places the world's greatest writers and editors by your
+side, where they whisper suggestions on how to improve your prose.
+You’ll be guided by advice inspired by Bryan Garner, David Foster
+Wallace, Chuck Palahniuk, Steve Pinker, Mary Norris, Mark Twain,
+Elmore Leonard, George Orwell, Matthew Butterick, William Strunk,
+Elwyn White, Philip Corbett, Ernest Gowers, and the editorial staff of
+the world’s finest literary magazines and newspapers, among others.
+Our goal is to aggregate knowledge about best practices in writing and
+to make that knowledge immediately accessible to all authors in the
+form of a linter for prose; all in a neat command-line utility that
+you can integrate into other tools, scripts, and workflows.
+
+Slackware users can access proselint in Emacs with minimal
+configuration, using flymake. (Or install flycheck from MELPA.)
+
+proselint should be extensible. If Slackware users find out that some
+plugins are advisable, feel free to contact the author to package some
+them.
diff --git a/office/aspell6-es/aspell6-es.SlackBuild b/office/python3-proselint/python3-proselint.SlackBuild
index ee2bedce5a..f2471769b9 100644
--- a/office/aspell6-es/aspell6-es.SlackBuild
+++ b/office/python3-proselint/python3-proselint.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for aspell6-es
+# Slackware build script for python3-proselint
-# Copyright 2017 David O'Shaughnessy
+# Copyright 2023, Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=aspell6-es
-VERSION=${VERSION:-1.11_2}
-SRCVER=$(echo $VERSION | tr _ -)
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-proselint
+TGZNAM=proselint
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,7 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,14 +58,26 @@ else
LIBDIRSUFFIX=""
fi
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
-cd $PRGNAM-$SRCVER
+
+rm -rf $TGZNAM-$VERSION
+tar xvf $CWD/$TGZNAM-$VERSION.tar.gz
+cd $TGZNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,16 +85,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./configure
-make
-make install DESTDIR=$PKG
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYING Copyright $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/python3-proselint/python3-proselint.info b/office/python3-proselint/python3-proselint.info
new file mode 100644
index 0000000000..dbd6bde13d
--- /dev/null
+++ b/office/python3-proselint/python3-proselint.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-proselint"
+VERSION="0.13.0"
+HOMEPAGE="https://proselint.com/"
+DOWNLOAD="https://files.pythonhosted.org/packages/a2/be/2c1bcc43d85b23fe97dae02efd3e39b27cd66cca4a9f9c70921718b74ac2/proselint-0.13.0.tar.gz"
+MD5SUM="1f09f9fc6959111d745083b240e8c928"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.python3-proselint_2023-05-29@lockywolf.net"
diff --git a/office/python3-proselint/slack-desc b/office/python3-proselint/slack-desc
new file mode 100644
index 0000000000..1069be45fa
--- /dev/null
+++ b/office/python3-proselint/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-proselint: python3-proselint (a turbocharged stylistic checker spellchecker)
+python3-proselint:
+python3-proselint: proselint is a stylistic checker for English texts. It does no
+python3-proselint: punctuation or orthography checking, and works one step above them.
+python3-proselint:
+python3-proselint:
+python3-proselint:
+python3-proselint:
+python3-proselint:
+python3-proselint:
+python3-proselint:
diff --git a/office/python3-xlsx2csv/README b/office/python3-xlsx2csv/README
new file mode 100644
index 0000000000..795266996e
--- /dev/null
+++ b/office/python3-xlsx2csv/README
@@ -0,0 +1,6 @@
+python3-xlsx2csv (xlsx to csv converter)
+
+Converts xlsx files to csv format. Handles large XLSX files. Fast
+and easy to use.
+
+Note: 0.7.8 is last version that supports 15.0's setuptools
diff --git a/office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild b/office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild
new file mode 100644
index 0000000000..2fcf029600
--- /dev/null
+++ b/office/python3-xlsx2csv/python3-xlsx2csv.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# Slackware build script for python3-xlsx2csv
+
+# Copyright 2023-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-xlsx2csv
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-0.8.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# use newer setuptools
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+
+make -C man
+mkdir -p $PKG/usr/man/man1
+cp -a man/$SRCNAM.1 $PKG/usr/man/man1
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \+
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG LICENSE.txt PKG-INFO README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/python3-xlsx2csv/python3-xlsx2csv.info b/office/python3-xlsx2csv/python3-xlsx2csv.info
new file mode 100644
index 0000000000..d710d88aec
--- /dev/null
+++ b/office/python3-xlsx2csv/python3-xlsx2csv.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-xlsx2csv"
+VERSION="0.8.2"
+HOMEPAGE="https://github.com/dilshod/xlsx2csv"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/x/xlsx2csv/xlsx2csv-0.8.2.tar.gz"
+MD5SUM="ff67d058775773291fbd79286ae41d5d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-setuptools-opt"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/office/python3-xlsx2csv/slack-desc b/office/python3-xlsx2csv/slack-desc
new file mode 100644
index 0000000000..5f106fd42a
--- /dev/null
+++ b/office/python3-xlsx2csv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-xlsx2csv: python3-xlsx2csv (xlsx to csv converter)
+python3-xlsx2csv:
+python3-xlsx2csv: Converts xlsx files to csv format. Handles large XLSX files. Fast and
+python3-xlsx2csv: easy to use.
+python3-xlsx2csv:
+python3-xlsx2csv:
+python3-xlsx2csv:
+python3-xlsx2csv:
+python3-xlsx2csv:
+python3-xlsx2csv: Homepage: https://github.com/dilshod/xlsx2csv
+python3-xlsx2csv:
diff --git a/office/qpdfview-qt5/README b/office/qpdfview-qt5/README
deleted file mode 100644
index e510f80aae..0000000000
--- a/office/qpdfview-qt5/README
+++ /dev/null
@@ -1,2 +0,0 @@
-qpdfview-qt5 is a tabbed document viewer supporting djvu, pdf, and ps.
-This SlackBuild includes support for qt5.
diff --git a/office/qpdfview-qt5/qpdfview-qt5.info b/office/qpdfview-qt5/qpdfview-qt5.info
deleted file mode 100644
index 7c8e6674b3..0000000000
--- a/office/qpdfview-qt5/qpdfview-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qpdfview-qt5"
-VERSION="0.4.18beta1"
-HOMEPAGE="https://launchpad.net/qpdfview"
-DOWNLOAD="https://launchpad.net/qpdfview/trunk/0.4.18beta1/+download/qpdfview-0.4.18beta1.tar.gz"
-MD5SUM="d005a54a0366934a8ee1026bc4d1a17f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="poppler-qt5"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/office/qpdfview-qt5/slack-desc b/office/qpdfview-qt5/slack-desc
deleted file mode 100644
index ea2b0d9d59..0000000000
--- a/office/qpdfview-qt5/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-qpdfview-qt5: qpdfview-qt5 (tabbed document viewer)
-qpdfview-qt5:
-qpdfview-qt5: qpdfview-qt5 is a tabbed document viewer supporting djvu, pdf, and ps.
-qpdfview-qt5:
-qpdfview-qt5: Current features include:
-qpdfview-qt5: Outline, properties, and thumbnail panes, scale, rotate, and fit,
-qpdfview-qt5: continuous and multiple-page layouts, fullscreen and presentation
-qpdfview-qt5: views, search for text and support for links and forms in pdf files,
-qpdfview-qt5: configurable toolbars and keyboard shortcuts, persistent per-file
-qpdfview-qt5: settings, rudimentary annotation and form support and more.
-qpdfview-qt5:
diff --git a/office/qpdfview/README b/office/qpdfview/README
index f91362fb34..b0384ab6b5 100644
--- a/office/qpdfview/README
+++ b/office/qpdfview/README
@@ -1 +1,10 @@
-qpdfview is a tabbed document viewer supporting djvu, pdf, and ps. \ No newline at end of file
+qpdfview (tabbed document viewer)
+
+qpdfview is a tabbed document viewer supporting DjVu, PDF, and PS.
+
+Current features include:
+Outline, properties, and thumbnail panes, scale, rotate, and fit,
+continuous and multiple-page layouts, fullscreen and presentation
+views, search for text and support for links and forms in PDF files,
+configurable toolbars and keyboard shortcuts, persistent per-file
+settings, rudimentary annotation and form support and more.
diff --git a/office/qpdfview/qpdfview.SlackBuild b/office/qpdfview/qpdfview.SlackBuild
index a87f09d0ad..4e16cd0dc8 100644
--- a/office/qpdfview/qpdfview.SlackBuild
+++ b/office/qpdfview/qpdfview.SlackBuild
@@ -1,31 +1,23 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qpdfview
-# Copyright 2017-2018 Donald Cooley South Haven, Indiana USA
-# Copyright 2012 Mark Noman <smithmark347@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.
+# Copyright 2022 B. Watson <urchlay@slackware.uk>.
+# Copyright 2017-2020 Donald Cooley, South Haven, Indiana USA
+# Copyright 2012 Mark Noman
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230630 bkw: update for v0.5.
+# 20220425 bkw: take over maintenance, relicense as WTFPL.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qpdfview
-VERSION=${VERSION:-0.4.16}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +27,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,39 +60,34 @@ rm -rf "$PRGNAM-$VERSION"
tar xfv $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# Add localizations
-lrelease qpdfview.pro
+lrelease-qt5 qpdfview.pro
-#Configure qpdfview. Installation paths are correctly set in qpdfview.pri
-qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro
+qmake-qt5 \
+ QMAKE_CFLAGS="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS="$SLKCFLAGS" \
+ PLUGIN_INSTALL_PATH=/usr/lib$LIBDIRSUFFIX/$PRGNAM \
+ MANUAL_INSTALL_PATH=/usr/man/man1 \
+ qpdfview.pro
make
make INSTALL_ROOT=$PKG install
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+strip $PKG/usr/bin/* $PKG/usr/lib*/$PRGNAM/*.so
-mv -v $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES CONTRIBUTORS COPYING README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a CHANGES CONTRIBUTORS COPYING README TODO $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/qpdfview/qpdfview.info b/office/qpdfview/qpdfview.info
index 0b90b385dc..d3907a23c5 100644
--- a/office/qpdfview/qpdfview.info
+++ b/office/qpdfview/qpdfview.info
@@ -1,10 +1,10 @@
PRGNAM="qpdfview"
-VERSION="0.4.16"
+VERSION="0.5"
HOMEPAGE="https://launchpad.net/qpdfview"
-DOWNLOAD="https://launchpad.net/qpdfview/trunk/0.4.16/+download/qpdfview-0.4.16.tar.gz"
-MD5SUM="4b317c4536332a7fe437abe50eca1716"
+DOWNLOAD="https://launchpad.net/qpdfview/trunk/0.5.0/+download/qpdfview-0.5.tar.gz"
+MD5SUM="820c0f48ec2175355247bb624757867b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/qpdfview/slack-desc b/office/qpdfview/slack-desc
index d8ce7da639..b8218d51d7 100644
--- a/office/qpdfview/slack-desc
+++ b/office/qpdfview/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
qpdfview: qpdfview (tabbed document viewer)
qpdfview:
-qpdfview: qpdfview is a tabbed document viewer supporting djvu, pdf, and ps.
+qpdfview: qpdfview is a tabbed document viewer supporting djvu, PDF, and ps.
qpdfview:
qpdfview: Current features include:
qpdfview: Outline, properties, and thumbnail panes, scale, rotate, and fit,
qpdfview: continuous and multiple-page layouts, fullscreen and presentation
-qpdfview: views, search for text and support for links and forms in pdf files,
+qpdfview: views, search for text and support for links and forms in PDF files,
qpdfview: configurable toolbars and keyboard shortcuts, persistent per-file
qpdfview: settings, rudimentary annotation and form support and more.
qpdfview:
diff --git a/office/qute/qute.SlackBuild b/office/qute/qute.SlackBuild
index af77c5048c..43ae47b402 100644
--- a/office/qute/qute.SlackBuild
+++ b/office/qute/qute.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qute
@@ -22,46 +22,46 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220217 bkw: Modified by SlackBuilds.org:
+# - force ARCH to x86_64 since this is a prebuilt 64-bit binary.
+# - fix weird download filename (CGI params in the name).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qute
SRCNAM=${PRGNAM^}
VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+# 20220217 bkw: prebuilt binary for this platform only:
+ARCH=x86_64
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
+# 20220217 bkw: depending on what was used to download the file, it
+# might have gibberish (CGI params) in the filename, or not. handle
+# either possibility.
+TARBALL=$CWD/$SRCNAM-$VERSION-$(uname | tr '[A-Z]' '[a-z]').tar.gz
+if [ ! -e "$TARBALL" ]; then
+ TARBALL="$( /bin/ls $TARBALL\?* | head -1 )"
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM-$VERSION-$(uname | tr '[A-Z]' '[a-z]').tar.gz
+tar xvf $TARBALL
cd $SRCNAM
chown -R root:root .
find -L . \
@@ -108,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/office/qute/qute.info b/office/qute/qute.info
index 78f49be6b4..890d4593a1 100644
--- a/office/qute/qute.info
+++ b/office/qute/qute.info
@@ -1,10 +1,10 @@
PRGNAM="qute"
VERSION="0.4.1"
HOMEPAGE="https://github.com/fbreuer/qute-html5"
-DOWNLOAD="https://github.com/downloads/fbreuer/qute-html5/Qute-0.4.1-linux.tar.gz"
-MD5SUM="7a3a756285bb0c59d89e440e428b22e5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/downloads/fbreuer/qute-html5/Qute-0.4.1-linux.tar.gz"
+MD5SUM_x86_64="7a3a756285bb0c59d89e440e428b22e5"
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/office/re-typeset/README b/office/re-typeset/README
index 7a3f8e989b..3a8b3aa0ce 100644
--- a/office/re-typeset/README
+++ b/office/re-typeset/README
@@ -3,6 +3,6 @@ re-typeset (resize scanned text images)
This software is a GUI application which re-typesets scanned pages to
smaller sizes without changing font sizes. Words are found on pages and
placed in a new, smaller image with preserved paragraphs, page numbers,
-headers etc.
+headers, etc.
-See the upstream website for documentation
+See the upstream website for documentation.
diff --git a/office/re-typeset/re-typeset.SlackBuild b/office/re-typeset/re-typeset.SlackBuild
index 5fe1fab0c6..e88e46023d 100644
--- a/office/re-typeset/re-typeset.SlackBuild
+++ b/office/re-typeset/re-typeset.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for re-typeset
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=re-typeset
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/re-typeset/re-typeset.info b/office/re-typeset/re-typeset.info
index af055f16b6..7afeb708a9 100644
--- a/office/re-typeset/re-typeset.info
+++ b/office/re-typeset/re-typeset.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/re-typeset/re-typeset/archive/1.2.0/re-typeset-1.2.
MD5SUM="d73e5b25e6ccd7af4f527c78ad351229"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/re-typeset/slack-desc b/office/re-typeset/slack-desc
index 0b4f27fa91..0c97469b2b 100644
--- a/office/re-typeset/slack-desc
+++ b/office/re-typeset/slack-desc
@@ -11,7 +11,7 @@ re-typeset:
re-typeset: This software is a GUI application which re-typesets scanned pages
re-typeset: to smaller sizes without changing font sizes. Words are found on
re-typeset: pages and placed in a new, smaller image with preserved paragraphs,
-re-typeset: page numbers, headers etc.
+re-typeset: page numbers, headers, etc.
re-typeset:
re-typeset:
re-typeset:
diff --git a/office/rednotebook/README b/office/rednotebook/README
deleted file mode 100644
index 23d85987b1..0000000000
--- a/office/rednotebook/README
+++ /dev/null
@@ -1,8 +0,0 @@
-rednotebook (graphical daily journal with calendar)
-
-RedNotebook is a Desktop Diary that makes it very easy for you to
-keep track of the stuff you do and the thoughts you have. This
-journal software helps you to write whole passages or just facts
-and does so in style.
-
-python-chardet is an optional dependency.
diff --git a/office/rednotebook/rednotebook.SlackBuild b/office/rednotebook/rednotebook.SlackBuild
deleted file mode 100644
index 0d5c8aff1c..0000000000
--- a/office/rednotebook/rednotebook.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for rednotebook
-# Copyright 2010 David Woodfall <dave@dawoodfall.net>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=rednotebook
-VERSION=${VERSION:-2.11.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$SRCNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python3 setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-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/office/rednotebook/rednotebook.info b/office/rednotebook/rednotebook.info
deleted file mode 100644
index 8c53f25a59..0000000000
--- a/office/rednotebook/rednotebook.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rednotebook"
-VERSION="2.11.1"
-HOMEPAGE="http://rednotebook.sourceforge.net"
-DOWNLOAD="https://github.com/jendrikseipp/rednotebook/archive/v2.11.1/rednotebook-2.11.1.tar.gz"
-MD5SUM="3689e31f725849e52293b04acc8114af"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3-PyYAML webkitgtk pygobject3-python3 gtksourceview3"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@tty1.uk"
diff --git a/office/referencer/referencer-lib_path.patch b/office/referencer/referencer-lib_path.patch
new file mode 100644
index 0000000000..78a1952089
--- /dev/null
+++ b/office/referencer/referencer-lib_path.patch
@@ -0,0 +1,11 @@
+--- referencer-1.2.2/src/Document.C 2014-01-27 03:43:00.000000000 +0700
++++ referencer-1.2.2_/src/Document.C 2016-11-03 16:25:00.698676538 +0700
+@@ -297,7 +297,7 @@
+
+ lib_path = lib_path->get_parent();
+ up_dir_level += "../";
+- if (lib_path == 0) {
++ if (!lib_path) {
+ doc_is_relative_to_library = false;
+ break;
+ }
diff --git a/office/referencer/referencer.SlackBuild b/office/referencer/referencer.SlackBuild
index 8d279093fd..a4a5508768 100644
--- a/office/referencer/referencer.SlackBuild
+++ b/office/referencer/referencer.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for referencer
-# Copyright 2015-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2015-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=referencer
VERSION=${VERSION:-1.2.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"
@@ -69,6 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix comparison with zero - thanks archlinux
+patch -p1 < $CWD/referencer-lib_path.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
./configure \
@@ -97,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/office/remind/README b/office/remind/README
index 546a65f8f0..2adeec2bc5 100644
--- a/office/remind/README
+++ b/office/remind/README
@@ -22,6 +22,7 @@ See the SlackBuild for more information on these variables.
DEFAULT_PAGE=Letter|A4 (default: Letter), set the default page size
DATESEP=-|/ (default: -), set the date separator character
TIMESEP=:|. (default: :), set the time separator character
+DATETIMESEP=@|/|T (default: @), set the datetime separator character
CHARSET=ASCII|ISOLATIN1|ISOLATIN2|IBMEXTENDED|IBM852
(default: ISOLATIN1), set the character set to use
diff --git a/office/remind/remind.SlackBuild b/office/remind/remind.SlackBuild
index cd7751cea3..c8b0c3c509 100644
--- a/office/remind/remind.SlackBuild
+++ b/office/remind/remind.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Remind
-# Copyright 2016 T3slider <t3slider@gmail.com>
+# Copyright 2019 T3slider <t3slider@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=remind
-VERSION=${VERSION:-03.01.15}
+VERSION=${VERSION:-03.01.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
OUTPUT=${OUTPUT:-/tmp}
@@ -90,6 +100,10 @@ DATESEP=${DATESEP:--}
# Default time separator. Options are : or .
TIMESEP=${TIMESEP:-:}
+# Default datetime separator. Standard options are @ or / but some may
+# prefer T (any single character can be passed).
+DATETIMESEP=${DATETIMESEP:-@}
+
# Character set to use. Options are ASCII, ISOLATIN1, ISOLATIN2,
# IBMEXTENDED, or IBM852.
CHARSET=${CHARSET:-ISOLATIN1}
@@ -145,6 +159,12 @@ if [ "$TIMESEP" = "." ]; then
sed -i "s|^#define TIMESEP ':'|/* & */|" src/custom.h
sed -i "s|^\(/\* \)\(#define TIMESEP '\.'\)\( \*/\)|\2|" src/custom.h
fi
+if [ "$DATETIMESEP" = "/" ]; then
+ sed -i "s|^#define DATETIMESEP '@'|/* & */|" src/custom.h
+ sed -i "s|^\(/\* \)\(#define DATETIMESEP '/'\)\( \*/\)|\2|" src/custom.h
+elif [ "$DATETIMESEP" != "@" ]; then
+ sed -i "s|^\(#define DATETIMESEP '\)\(@\)\('\)|\1${DATETIMESEP}\3|" src/custom.h
+fi
sed -i "s/^\(#define ISOLATIN1 \).*/\1 0/" src/custom.h
if [ "$CHARSET" != "ASCII" ]; then
sed -i "s/^\(#define $CHARSET \).*/\1 1/" src/custom.h
@@ -181,4 +201,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/remind/remind.info b/office/remind/remind.info
index b27fc7b656..f6391946da 100644
--- a/office/remind/remind.info
+++ b/office/remind/remind.info
@@ -1,8 +1,8 @@
PRGNAM="remind"
-VERSION="03.01.15"
-HOMEPAGE="https://www.roaringpenguin.com/products/remind"
-DOWNLOAD="https://www.roaringpenguin.com/files/download/remind-03.01.15.tar.gz"
-MD5SUM="089c51c060fdda2357a833800a5bfe39"
+VERSION="03.01.16"
+HOMEPAGE="https://dianne.skoll.ca/projects/remind/"
+DOWNLOAD="http://distfiles.macports.org/remind/remind-03.01.16.tar.gz"
+MD5SUM="17ba30c2aee7f3156cc8de308be123ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/sc-im/README b/office/sc-im/README
deleted file mode 100644
index d63f9fca91..0000000000
--- a/office/sc-im/README
+++ /dev/null
@@ -1,2 +0,0 @@
-SC-IM - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program
-for terminal. SC-IM is a spreadsheet program that is based on SC.
diff --git a/office/sc-im/sc-im.info b/office/sc-im/sc-im.info
deleted file mode 100644
index 69ea4bfb9b..0000000000
--- a/office/sc-im/sc-im.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sc-im"
-VERSION="0.7.0"
-HOMEPAGE="https://github.com/andmarti1424/sc-im"
-DOWNLOAD="https://github.com/andmarti1424/sc-im/archive/v0.7.0/sc-im-0.7.0.tar.gz"
-MD5SUM="2f270d957a215f0124d15d0a82c5abfa"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libxls libxlsxwriter"
-MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
diff --git a/office/scribus/README b/office/scribus/README
index 2add995c89..981f957720 100644
--- a/office/scribus/README
+++ b/office/scribus/README
@@ -1,5 +1,7 @@
-Scribus is an open-source program that brings award-winning professional page
-layout to Linux/Unix, MacOS X and Windows desktops with a combination of
-"press-ready" output and new approaches to page layout.
+Scribus is an open-source program that brings award-winning
+professional page layout to Linux/Unix, MacOS X and Windows desktops
+with a combination of "press-ready" output and new approaches to page
+layout.
-podofo is an optional dependency used for embedded pdfs in AI files.
+OpenSceneGraph, podofo, libpagemaker, libfreehand, libcdr, libzmf,
+libqxp and libmspub are optional dependencies.
diff --git a/office/scribus/harfbuzz-3.0.0.patch b/office/scribus/harfbuzz-3.0.0.patch
new file mode 100644
index 0000000000..4dc4f0db4a
--- /dev/null
+++ b/office/scribus/harfbuzz-3.0.0.patch
@@ -0,0 +1,68 @@
+From 1b546978bc4ea0b2a73fbe4d7cf947887e865162 Mon Sep 17 00:00:00 2001
+From: Jean Ghali <jghali@libertysurf.fr>
+Date: Sat, 21 Aug 2021 20:05:43 +0000
+Subject: [PATCH] Use new hb-subset api with harfbuzz >= 2.9.0 in order to
+ prepeare for removal of legacy API in 3.0
+
+git-svn-id: svn://scribus.net/trunk/Scribus@24696 11d20701-8431-0410-a711-e3c959e3b870
+---
+ scribus/fonts/sfnt.cpp | 10 +++++++++-
+ 1 file changed, 9 insertions(+), 1 deletion(-)
+
+diff --git a/scribus/fonts/sfnt.cpp b/scribus/fonts/sfnt.cpp
+index 50777f66e3..fca8b39158 100644
+--- a/scribus/fonts/sfnt.cpp
++++ b/scribus/fonts/sfnt.cpp
+@@ -1256,11 +1256,19 @@ namespace sfnt {
+
+ for (int i = 0; i < cids.count(); ++i)
+ hb_set_add(glyphSet, cids.at(i));
+-
++
++#if HB_VERSION_ATLEAST(2, 9, 0)
++ uint32_t subsetFlags = (uint32_t) hb_subset_input_get_flags(hbSubsetInput.get());
++ subsetFlags |= HB_SUBSET_FLAGS_RETAIN_GIDS;
++ subsetFlags &= ~HB_SUBSET_FLAGS_NO_HINTING;
++ subsetFlags |= HB_SUBSET_FLAGS_NAME_LEGACY;
++ hb_subset_input_set_flags(hbSubsetInput.get(), subsetFlags);
++#else
+ hb_subset_input_set_retain_gids(hbSubsetInput.get(), true);
+ hb_subset_input_set_drop_hints(hbSubsetInput.get(), false);
+ #if HB_VERSION_ATLEAST(2, 6, 5)
+ hb_subset_input_set_name_legacy(hbSubsetInput.get(), true);
++#endif
+ #endif
+
+ QScopedPointer<hb_face_t, HbFaceDeleter> hbSubsetFace(hb_subset(hbFullFace.get(), hbSubsetInput.get()));
+
+From 68ec41169eaceea4a6e1d6f359762a191c7e61d5 Mon Sep 17 00:00:00 2001
+From: Jean Ghali <jghali@libertysurf.fr>
+Date: Sun, 19 Sep 2021 11:59:50 +0000
+Subject: [PATCH] #16635: Replace hb_subset, removed in harfbuzz 3.0, by
+ hb_subset_or_fail
+
+git-svn-id: svn://scribus.net/trunk/Scribus@24707 11d20701-8431-0410-a711-e3c959e3b870
+---
+ scribus/fonts/sfnt.cpp | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/scribus/fonts/sfnt.cpp b/scribus/fonts/sfnt.cpp
+index fca8b39158..b3dfa50dc6 100644
+--- a/scribus/fonts/sfnt.cpp
++++ b/scribus/fonts/sfnt.cpp
+@@ -1271,9 +1271,15 @@ namespace sfnt {
+ #endif
+ #endif
+
++#if HB_VERSION_ATLEAST(2, 9, 0)
++ QScopedPointer<hb_face_t, HbFaceDeleter> hbSubsetFace(hb_subset_or_fail(hbFullFace.get(), hbSubsetInput.get()));
++ if (hbSubsetFace.isNull())
++ return QByteArray();
++#else
+ QScopedPointer<hb_face_t, HbFaceDeleter> hbSubsetFace(hb_subset(hbFullFace.get(), hbSubsetInput.get()));
+ if (hbSubsetFace.isNull())
+ return QByteArray();
++#endif
+
+ QScopedPointer<hb_blob_t, HbBlobDeleter> hbSubsetBlob(hb_face_reference_blob(hbSubsetFace.get()));
+ if (hbSubsetBlob.isNull())
diff --git a/office/scribus/scribus.SlackBuild b/office/scribus/scribus.SlackBuild
index 5842344c68..c7e17f62e8 100644
--- a/office/scribus/scribus.SlackBuild
+++ b/office/scribus/scribus.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for scribus
# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
-# Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -12,40 +12,50 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
# Including input by Yalla-One and some code cleanup by rworkman
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scribus
-VERSION=${VERSION:-1.4.6}
+VERSION=${VERSION:-1.5.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -73,12 +83,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# thanks archlinux!
+patch -p1 < $CWD/harfbuzz-3.0.0.patch
+
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DRENDER_LIB=CAIRO
+ -DLIB_SUFFIX=${LIBDIRSUFFIX}
make
make install DESTDIR=$PKG
@@ -106,4 +118,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/office/scribus/scribus.info b/office/scribus/scribus.info
index 10e5f6a05f..f1b56cd8de 100644
--- a/office/scribus/scribus.info
+++ b/office/scribus/scribus.info
@@ -1,10 +1,10 @@
PRGNAM="scribus"
-VERSION="1.4.6"
+VERSION="1.5.7"
HOMEPAGE="https://www.scribus.net"
-DOWNLOAD="https://downloads.sourceforge.net/scribus/scribus-1.4.6.tar.xz"
-MD5SUM="f6161785e24755ea77c8f14b319ff1aa"
+DOWNLOAD="https://downloads.sourceforge.net/scribus/scribus-1.5.7.tar.xz"
+MD5SUM="4d0c63cfdade8a9abf225a4415e43694"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/office/semantik/README b/office/semantik/README
new file mode 100644
index 0000000000..7dd16a0695
--- /dev/null
+++ b/office/semantik/README
@@ -0,0 +1,10 @@
+Semantik is a Mind Mapping software for KDE.
+
+Mind Maps are edited either as Flat trees
+or in two dimensions.Each node on the map can
+be associated with tables,text,pictures or diagrams.
+
+Maps are then converted to "flat" documents such
+as presentations or reports using document generators.
+This enables the rapid creation of technical
+documentation in the LaTeX, OpenOffice or Html format.
diff --git a/office/semantik/changelog b/office/semantik/changelog
new file mode 100644
index 0000000000..d26fd537cc
--- /dev/null
+++ b/office/semantik/changelog
@@ -0,0 +1,10 @@
+Changelog for semantik SlackBuild Script
+--------------------------------------------------------------------
+
+20/08/2022:
+
+Added to SlackBuilds.org
+
+15/05/2023:
+
+Updated to Version 1.2.10
diff --git a/office/kmymoney/doinst.sh b/office/semantik/doinst.sh
index 4f59bd45f1..19ad22754d 100644
--- a/office/kmymoney/doinst.sh
+++ b/office/semantik/doinst.sh
@@ -1,5 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
@@ -7,7 +11,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
diff --git a/office/semantik/semantik.SlackBuild b/office/semantik/semantik.SlackBuild
new file mode 100644
index 0000000000..46409d1bda
--- /dev/null
+++ b/office/semantik/semantik.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for semantik
+
+# Copyright 2022-2023 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=semantik
+VERSION=${VERSION:-1.2.10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.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 {} \;
+
+./waf configure build \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --bindir=/usr/bin \
+ --python=python3
+
+DESTDIR=$PKG ./waf install --nogtkicons
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README TODO ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/semantik/semantik.info b/office/semantik/semantik.info
new file mode 100644
index 0000000000..2cfa9b3465
--- /dev/null
+++ b/office/semantik/semantik.info
@@ -0,0 +1,10 @@
+PRGNAM="semantik"
+VERSION="1.2.10"
+HOMEPAGE="https://waf.io/semantik.html"
+DOWNLOAD="https://waf.io/semantik-1.2.10.tar.bz2"
+MD5SUM="aeabd57ce02b68cb1182a649e8f41924"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/office/org-mode/slack-desc b/office/semantik/slack-desc
index 93d6f3ab85..ce0f91beef 100644
--- a/office/org-mode/slack-desc
+++ b/office/semantik/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-org-mode: org-mode ("An Emacs mode for Notes, Project Planning, and Authoring")
-org-mode:
-org-mode: Org-mode is for keeping notes, maintaining ToDo lists, doing project
-org-mode: planning, and authoring with a fast and effective plain-text system.
-org-mode:
-org-mode:
-org-mode:
-org-mode:
-org-mode: Org-mode home page is: https://orgmode.org
-org-mode:
-org-mode:
+semantik: semantik (Mind Mapping Software)
+semantik:
+semantik: Formerly known as kdissert, semantik is an Mind Mapping
+semantik: Application for KDE.
+semantik:
+semantik:
+semantik: Homepage:https://waf.io/semantik.html
+semantik:
+semantik:
+semantik:
+semantik:
diff --git a/office/sent/README b/office/sent/README
new file mode 100644
index 0000000000..741f5ef07d
--- /dev/null
+++ b/office/sent/README
@@ -0,0 +1,11 @@
+sent (simple plaintext presentation tool)
+
+sent does not need latex, libreoffice or any other fancy file format, it
+uses plaintext files to describe the slides and can also display images.
+The presentation is displayed in a simple X11 window.
+
+If you wish patches:
+ Create 'patches' directory and add patches files on it. Declare
+ variable PATCHES to yes (PATCHES=yes) before run SlackBuild script.
+
+Optional dependencie: - farbfeld (include images).
diff --git a/office/sent/sent.SlackBuild b/office/sent/sent.SlackBuild
new file mode 100644
index 0000000000..4aa3f02911
--- /dev/null
+++ b/office/sent/sent.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for sent
+
+# Copyright 2024 G. Galdini <jake@dioniso.com.br> Brazil
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=sent
+VERSION=${VERSION:-1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+# when unpacked - not create folder
+mkdir $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION
+
+cd $PRGNAM-$VERSION
+
+# apply patches if variable PATCHES is 'yes'
+if [ "${PATCHES:-no}" = "yes" ]; then
+ for p in $CWD/patches/*; do
+ patch --verbose -p1 < $p
+ done
+fi
+
+chown -R root:root .
+chmod 644 *
+
+CFLAGS="$SLKCFLAGS" \
+make
+make install \
+ PREFIX=/usr \
+ MANPREFIX=/usr/man \
+ DESTDIR=$PKG
+
+strip --strip-unneeded $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man?/*.?
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/sent/sent.info b/office/sent/sent.info
new file mode 100644
index 0000000000..f8fc2ff7e7
--- /dev/null
+++ b/office/sent/sent.info
@@ -0,0 +1,10 @@
+PRGNAM="sent"
+VERSION="1"
+HOMEPAGE="https://tools.suckless.org/sent"
+DOWNLOAD="https://dl.suckless.org/tools/sent-1.tar.gz"
+MD5SUM="ad7bd7f9f475826ff6ad00d137a6442c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="G. Galdini"
+EMAIL="jake@dioniso.com.br"
diff --git a/office/sent/slack-desc b/office/sent/slack-desc
new file mode 100644
index 0000000000..9adf5f7e7a
--- /dev/null
+++ b/office/sent/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+sent: sent (simple plaintext presentation tool)
+sent:
+sent: sent does not need latex, libreoffice or any other fancy file
+sent: format, it uses plaintext files to describe the slides and can
+sent: include images via farbfeld.
+sent: The presentation is displayed in a simple X11 window.
+sent:
+sent: Homepage: https://tools.suckless.org/sent
+sent:
+sent:
+sent:
diff --git a/office/siag/siag.SlackBuild b/office/siag/siag.SlackBuild
index 00c5d4d1c9..c3a3c3b1fc 100644
--- a/office/siag/siag.SlackBuild
+++ b/office/siag/siag.SlackBuild
@@ -1,29 +1,36 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for siag
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=siag
VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -47,9 +54,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+SLKCFLAGS+=" -fcommon"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,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/office/sigil/sigil.SlackBuild b/office/sigil/sigil.SlackBuild
index 5f08a2f66f..c8067bad3e 100644
--- a/office/sigil/sigil.SlackBuild
+++ b/office/sigil/sigil.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sigil
@@ -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=sigil
SRCNAM=Sigil
VERSION=${VERSION:-0.9.12}
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}
@@ -108,4 +118,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/sigil/sigil.info b/office/sigil/sigil.info
index 81420125e3..c787a4d414 100644
--- a/office/sigil/sigil.info
+++ b/office/sigil/sigil.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/Sigil-Ebook/Sigil/archive/0.9.12/Sigil-0.9.12.tar.g
MD5SUM="c5f87461bf870da774e09a2d3864eacc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit lxml"
+REQUIRES="python2-lxml python3-lxml"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/office/smoffice2016/smoffice2016.SlackBuild b/office/smoffice2016/smoffice2016.SlackBuild
index 9f766a39ba..7618d3ff7d 100644
--- a/office/smoffice2016/smoffice2016.SlackBuild
+++ b/office/smoffice2016/smoffice2016.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smoffice2016
@@ -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=smoffice2016
VERSION=${VERSION:-2016_765}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +48,14 @@ case "$ARCH" in
exit 1 ;;
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}
@@ -123,4 +133,4 @@ mkdir -p install
cat $CWD/slack-desc > install/slack-desc
cat $CWD/doinst.sh > install/doinst.sh
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/smoffice2016/smoffice2016.info b/office/smoffice2016/smoffice2016.info
index b15803289b..7f2c421189 100644
--- a/office/smoffice2016/smoffice2016.info
+++ b/office/smoffice2016/smoffice2016.info
@@ -6,5 +6,5 @@ MD5SUM="83369f5d044a81732e67ab37a87ca324"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Alexander Verbovetsky"
-EMAIL="alik@ejik.org"
+MAINTAINER="Donald Cooley"
+EMAIL="chytraeu@sdf.org"
diff --git a/office/smoffice2018/smoffice2018.SlackBuild b/office/smoffice2018/smoffice2018.SlackBuild
index 9f41515229..e30bee3fde 100644
--- a/office/smoffice2018/smoffice2018.SlackBuild
+++ b/office/smoffice2018/smoffice2018.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smoffice2018
# Based on the Arch Linux PKGBUILD.
-# Copyright 2018-2019, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2018-2020, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220217 bkw: Modified by SlackBuilds.org: updated for v2018_982.
+# Note: upstream plays a dirty trick on us. When they release a new
+# version, they don't just remove the old download links... they make
+# the old links redirect to the latest version. Which is why I've
+# hosted v2018_982 on slackware.uk.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=smoffice2018
-VERSION=${VERSION:-2018_962}
+VERSION=${VERSION:-2018_982}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +53,14 @@ case "$ARCH" in
exit 1 ;;
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 +122,4 @@ mkdir -p install
cat $CWD/slack-desc > install/slack-desc
cat $CWD/doinst.sh > install/doinst.sh
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/smoffice2018/smoffice2018.info b/office/smoffice2018/smoffice2018.info
index a221804675..5ca6e9bd29 100644
--- a/office/smoffice2018/smoffice2018.info
+++ b/office/smoffice2018/smoffice2018.info
@@ -1,10 +1,10 @@
PRGNAM="smoffice2018"
-VERSION="2018_962"
+VERSION="2018_982"
HOMEPAGE="https://www.softmaker.com/en/softmaker-office-linux"
-DOWNLOAD="https://www.softmaker.net/down/softmaker-office-2018-962-i386.tgz"
-MD5SUM="ddc8260eb4ca18dab45f1efd1dd33e45"
-DOWNLOAD_x86_64="https://www.softmaker.net/down/softmaker-office-2018-962-amd64.tgz"
-MD5SUM_x86_64="9cd912e81787b12802a89f2006c7cd04"
+DOWNLOAD="https://slackware.uk/~urchlay/src/softmaker-office-2018-982-i386.tgz"
+MD5SUM="ca308137a91bbed5c0a3ecc1f9d0f32b"
+DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/softmaker-office-2018-982-amd64.tgz"
+MD5SUM_x86_64="a448a86f5b36cd4a125c31c23e980ced"
REQUIRES=""
-MAINTAINER="Alexander Verbovetsky"
-EMAIL="alik@ejik.org"
+MAINTAINER="Donald Cooley"
+EMAIL="chytraeu@sdf.org"
diff --git a/office/smoffice2021/README b/office/smoffice2021/README
new file mode 100644
index 0000000000..87741fd538
--- /dev/null
+++ b/office/smoffice2021/README
@@ -0,0 +1,11 @@
+SoftMaker Office 2021 is an office suite, it includes
+
+ * TextMaker 2021, a word processor
+ * PlanMaker 2021, a spreadsheet program
+ * Presentations 2021, a presentation software
+
+The main feature of SoftMaker Office 2021 is the extremely high
+compatibility with the MS Office file formats.
+
+SoftMaker Office 2021 is a commercial program. It is available in
+Standard and Pro editions, and also as a free 30 days trial.
diff --git a/office/smoffice2021/doinst.sh b/office/smoffice2021/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/office/smoffice2021/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/smoffice2021/planmaker-2021.desktop b/office/smoffice2021/planmaker-2021.desktop
new file mode 100644
index 0000000000..3ab0beba53
--- /dev/null
+++ b/office/smoffice2021/planmaker-2021.desktop
@@ -0,0 +1,83 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+InitialPreference=10
+GenericName=Spreadsheet
+GenericName[am]=ሠንጠረዥ አስሊ
+GenericName[ar]=جدول
+GenericName[az]=Hesab Cədvəli
+GenericName[bg]=Електронна таблица
+GenericName[bn]=স্প্রেডশিট
+GenericName[bs]=Spreadsheet
+GenericName[ca]=Full de càlcul
+GenericName[cs]=Tabulkový kalkulátor
+GenericName[da]=Regneark
+GenericName[de]=Tabellenkalkulation
+GenericName[dz]=ཤོག་ཁྲམ།
+GenericName[el]=Λογιστικό φύλλο
+GenericName[en_CA]=Spreadsheet
+GenericName[en_GB]=Spreadsheet
+GenericName[en_ZA]=Spreadsheet
+GenericName[es]=Hoja de cálculo
+GenericName[et]=Arvutustabel
+GenericName[eu]=Kalkulu-orria
+GenericName[fi]=Taulukkolaskenta
+GenericName[fil]=Spreadsheet
+GenericName[fr]=Tableur
+GenericName[ga]=Scarbhileog
+GenericName[gl]=Folla de cálculo
+GenericName[gu]=સ્પ્રેડશીટ
+GenericName[he]=גיליון עבודה
+GenericName[hr]=Proračunska tablica
+GenericName[hu]=Táblázatkezelő
+GenericName[is]=Töflureiknir
+GenericName[it]=Foglio di calcolo
+GenericName[ja]=スプレッドシート
+GenericName[ka]=ელცხრილი
+GenericName[ko]=스프레드시트
+GenericName[ku]=Tabloya Hesêb
+GenericName[mk]=Табели
+GenericName[ms]=Hamparan
+GenericName[nb]=Regneark
+GenericName[ne]=स्प्रेडसिट
+GenericName[nl]=Rekenblad
+GenericName[nr]=Spredtjhiti
+GenericName[nso]=Letlakala la go ala tsebišo
+GenericName[oc]=Fuelha de calcul
+GenericName[pa]=ਸਾਰਣੀ
+GenericName[pl]=Arkusz kalkulacyjny
+GenericName[pt]=Folha de Cálculo
+GenericName[pt_BR]=Planilha Eletrônica
+GenericName[ru]=Электронная таблица
+GenericName[rw]=Urupapurorusesuye
+GenericName[sk]=Tabuľka
+GenericName[sq]=Fleta elektronike
+GenericName[sr]=Табеле
+GenericName[sr@Latn]=Tabele
+GenericName[st]=Leqephe la ho ala boitsebiso
+GenericName[sv]=Kalkylark
+GenericName[th]=ตารางคำนวน
+GenericName[tl]=Spreadsheet
+GenericName[tr]=Hesap Çizelgesi
+GenericName[ts]=Xipredxiti
+GenericName[uk]=Електронні таблиці
+GenericName[vi]=Bảng tính
+GenericName[wa]=Tåvleu
+GenericName[xh]=Icwecwe leeseli
+GenericName[zh_CN]=电子表格
+GenericName[zh_TW]=試算表
+GenericName[zu]=Ispredshit
+Comment=PlanMaker lets you create all kinds of spreadsheets -- from simple ones to the most complex ones. Includes a high-caliber charting module.
+Comment[de]=Mit PlanMaker können Sie alle Arten von Arbeitsblättern erstellen -- von ganz einfachen bis zu den komplexesten. Inklusive eines leistungsstarken Diagrammmoduls.
+Comment[ru]=PlanMaker позволяет создавать все виды электронных таблиц, от простых до сложных. Включает в себя мощный модуль для составления диаграмм.
+Terminal=false
+Categories=Application;Office;Spreadsheet;
+MimeType=application/x-pmd;application/x-pmdx;application/x-pmv;application/excel;application/x-excel;application/x-ms-excel;application/x-msexcel;application/x-sylk;application/x-xls;application/xls;application/vnd.ms-excel;application/vnd.stardivision.calc;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/x-dif;text/spreadsheet;text/csv;application/x-prn;application/vnd.ms-excel.sheet.binary.macroenabled.12;
+
+Version=1.0
+Name=PlanMaker 2021
+Icon=application-x-pml21
+TryExec=/usr/bin/planmaker21
+StartupWMClass=pm
+Exec=/usr/bin/planmaker21 %F
+Path=/opt/smoffice2021
diff --git a/office/smoffice2021/planmaker21 b/office/smoffice2021/planmaker21
new file mode 100644
index 0000000000..7786b613fb
--- /dev/null
+++ b/office/smoffice2021/planmaker21
@@ -0,0 +1,3 @@
+#!/bin/sh
+# A script to run PlanMaker.
+/opt/smoffice2021/planmaker "$@"
diff --git a/office/smoffice2021/presentations-2021.desktop b/office/smoffice2021/presentations-2021.desktop
new file mode 100644
index 0000000000..662f175431
--- /dev/null
+++ b/office/smoffice2021/presentations-2021.desktop
@@ -0,0 +1,82 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+InitialPreference=10
+GenericName=Presentation
+GenericName[am]=ትዕይንት
+GenericName[az]=Təqdimat
+GenericName[bg]=Презентация
+GenericName[bn]=প্রেজেন্টেশন
+GenericName[bs]=Prezentacija
+GenericName[ca]=Presentació
+GenericName[cs]=Prezentace
+GenericName[da]=Præsentation
+GenericName[de]=Präsentation
+GenericName[dz]=གསལ་སྟོན།
+GenericName[el]=Παρουσίαση
+GenericName[en_CA]=Presentation
+GenericName[en_GB]=Presentation
+GenericName[en_ZA]=Presentation
+GenericName[es]=Presentación
+GenericName[et]=Esitlus
+GenericName[eu]=Aurkezpena
+GenericName[fi]=Esitys
+GenericName[fil]=Pagtatanghal
+GenericName[fr]=Présentation
+GenericName[ga]=Toirbeathas
+GenericName[gl]=Presentación
+GenericName[gu]=રજૂઆત
+GenericName[he]=מצגות
+GenericName[hr]=Prezentacija
+GenericName[hu]=Bemutatókészítő
+GenericName[is]=Impress framsetning
+GenericName[it]=Presentazione
+GenericName[ja]=プレゼンテーション
+GenericName[ka]=პრეზენტაცია
+GenericName[ko]=프리젠테이션
+GenericName[ku]=Pêşkêşî
+GenericName[mk]=Презентација
+GenericName[ms]=Persembahan
+GenericName[nb]=Presentasjon
+GenericName[ne]=प्रस्तुति
+GenericName[nl]=Presentatie
+GenericName[nr]=Phrizentheyitjhini
+GenericName[nso]=Tlhagišo
+GenericName[oc]=Presentacion
+GenericName[pa]=ਪੇਸ਼ਕਾਰੀ
+GenericName[pl]=Prezentacja
+GenericName[pt]=Apresentação
+GenericName[pt_BR]=Apresentação
+GenericName[ru]=Презентация
+GenericName[rw]=Iyerekana
+GenericName[sk]=Prezentácia
+GenericName[sq]=Prezantime
+GenericName[sr]=Презентација
+GenericName[sr@Latn]=Prezentacija
+GenericName[st]=Nehelano
+GenericName[sv]=Presentation
+GenericName[th]=งานนำเสนอ
+GenericName[tl]=Pagtatanghal
+GenericName[tr]=Sunum
+GenericName[ts]=Nkombiso
+GenericName[uk]=Презентації
+GenericName[vi]=Trình diễn
+GenericName[wa]=Prezintåcion
+GenericName[xh]=Umboniso wenkcazelo
+GenericName[zh_CN]=演示文稿
+GenericName[zh_TW]=簡報
+GenericName[zu]=Iprezenteyshin
+Comment=The Presentations software lets you design any kind of presentation - even including special effects, animations, and transitions.
+Comment[de]=Presentations lässt Sie beliebige Präsentationen gestalten - mit Effekten, Animationen und Transitionen.
+Comment[ru]=Presentations позволяет создавать все виды презентаций и добавлять в них специальные эффекты, анимацию и переходы.
+Terminal=false
+Categories=Application;Office;Presentation;
+MimeType=application/x-prdx;application/x-prvx;application/x-prsx;application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;
+
+Version=1.0
+Name=Presentations 2021
+Icon=application-x-prl21
+TryExec=/usr/bin/presentations21
+StartupWMClass=pr
+Exec=/usr/bin/presentations21 %F
+Path=/opt/smoffice2021
diff --git a/office/smoffice2021/presentations21 b/office/smoffice2021/presentations21
new file mode 100644
index 0000000000..b2b3ad7254
--- /dev/null
+++ b/office/smoffice2021/presentations21
@@ -0,0 +1,10 @@
+#!/bin/sh
+# A script to run Presentations.
+ext="${@##*.}"
+shopt -s nocasematch
+case "$ext" in
+ "prs" ) /opt/smoffice2021/presentations -S\""$@"\";;
+ "pps" ) /opt/smoffice2021/presentations -S\""$@"\";;
+ "ppsx" ) /opt/smoffice2021/presentations -S\""$@"\";;
+ * ) /opt/smoffice2021/presentations "$@";;
+esac
diff --git a/office/smoffice2021/slack-desc b/office/smoffice2021/slack-desc
new file mode 100644
index 0000000000..e0c63f48a0
--- /dev/null
+++ b/office/smoffice2021/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+smoffice2021: smoffice2021 (office suite)
+smoffice2021:
+smoffice2021: SoftMaker Office 2021 includes
+smoffice2021: * TextMaker 2021, a word processor
+smoffice2021: * PlanMaker 2021, a spreadsheet program
+smoffice2021: * Presentations 2021, a presentation software
+smoffice2021:
+smoffice2021: The main feature of SoftMaker Office 2021 is the extremely high
+smoffice2021: compatibility with the MS Office file formats.
+smoffice2021:
+smoffice2021: Home page: https://www.softmaker.com/en/softmaker-office-linux
diff --git a/office/smoffice2021/smoffice2021.SlackBuild b/office/smoffice2021/smoffice2021.SlackBuild
new file mode 100644
index 0000000000..353d40fe3e
--- /dev/null
+++ b/office/smoffice2021/smoffice2021.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for smoffice2021
+
+# Copyright 2023-, Antonio Leal, Porto Salvo, Oeiras, Portugal
+# Copyright 2020-2023, Donald Cooley, South Haven, Indiana, USA
+# Based on the smoffice2018 SlackBuild by Alexander Verbovetsky
+# Based on the Arch Linux PKGBUILD.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=smoffice2021
+VERSION=${VERSION:-2021_1068}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# Abort build if architecture is not 64-bit.
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG/opt/smoffice2021 $OUTPUT
+cd $TMP
+tar xvf $CWD/softmaker-office-${VERSION//_/-}-amd64.tgz
+tar xvf office2021.tar.lzma -C $PKG/opt/smoffice2021
+cd $PKG
+
+mkdir -p usr/bin
+install -m 0755 -o root -g root $CWD/planmaker21 usr/bin
+install -m 0755 -o root -g root $CWD/presentations21 usr/bin
+install -m 0755 -o root -g root $CWD/textmaker21 usr/bin
+
+for s in 16 24 32 48 64 128 256 512 1024; do
+ mkdir -p usr/share/icons/hicolor/${s}x${s}/apps
+ for a in pml prl tml; do
+ cp -a opt/smoffice2021/icons/${a}_${s}.png \
+ usr/share/icons/hicolor/${s}x${s}/apps/application-x-${a}21.png
+ done
+done
+for s in 16 24 32 48 64 128 256 512 1024; do
+ mkdir -p usr/share/icons/hicolor/${s}x${s}/mimetypes
+ for a in pmd pmd_mso pmd_oth prd prd_mso prd_oth tmd tmd_mso tmd_oth; do
+ cp -a opt/smoffice2021/icons/${a}_${s}.png \
+ usr/share/icons/hicolor/${s}x${s}/mimetypes/application-x-${a}.png
+ done
+done
+
+mkdir -p usr/share/applications
+cp -a $CWD/planmaker-2021.desktop usr/share/applications/
+cp -a $CWD/presentations-2021.desktop usr/share/applications/
+cp -a $CWD/textmaker-2021.desktop usr/share/applications/
+
+mkdir -p usr/share/mime/packages/
+cp -a opt/smoffice2021/mime/softmaker-office-2021.xml \
+ usr/share/mime/packages/
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+mv opt/smoffice2021/*.pdf opt/smoffice2021/mime/copyright \
+ usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p install
+cat $CWD/slack-desc > install/slack-desc
+cat $CWD/doinst.sh > install/doinst.sh
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/smoffice2021/smoffice2021.info b/office/smoffice2021/smoffice2021.info
new file mode 100644
index 0000000000..d7d47ed5cf
--- /dev/null
+++ b/office/smoffice2021/smoffice2021.info
@@ -0,0 +1,10 @@
+PRGNAM="smoffice2021"
+VERSION="2021_1068"
+HOMEPAGE="https://www.softmaker.com/en/softmaker-office-linux"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://www.softmaker.net/down/softmaker-office-2021-1068-amd64.tgz"
+MD5SUM_x86_64="b248a85c407100c48fe5a52c85338161"
+REQUIRES=""
+MAINTAINER="Donald Cooley"
+EMAIL="chytraeu@sdf.org"
diff --git a/office/smoffice2021/textmaker-2021.desktop b/office/smoffice2021/textmaker-2021.desktop
new file mode 100644
index 0000000000..5863f0cd04
--- /dev/null
+++ b/office/smoffice2021/textmaker-2021.desktop
@@ -0,0 +1,83 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+InitialPreference=10
+GenericName=Word Processor
+GenericName[am]=ጽሁፍ አቀናጅ
+GenericName[ar]=معالج نصوص
+GenericName[az]=Kəlmə İşlədici
+GenericName[bg]=Текстообработка
+GenericName[bn]=ওয়ার্ড প্রসেসর
+GenericName[bs]=Word Processor
+GenericName[ca]=Processador de textos
+GenericName[cs]=Textový procesor
+GenericName[da]=Tekstbehandler
+GenericName[de]=Textverarbeitung
+GenericName[dz]=ཡིག་སྦྱོར་པ།
+GenericName[el]=Επεξεργαστής κειμένου
+GenericName[en_CA]=Word Processor
+GenericName[en_GB]=Word Processor
+GenericName[en_ZA]=Word Processor
+GenericName[es]=Procesador de textos
+GenericName[et]=Kirjutaja
+GenericName[eu]=Testu-prozesadorea
+GenericName[fi]=Tekstinkäsittely
+GenericName[fil]=Tagaproseso ng Salita
+GenericName[fr]=Traitement de texte
+GenericName[ga]=Próiseálaithe Focal
+GenericName[gl]=Procesador de textos
+GenericName[gu]=વર્ડ પ્રોસેસર
+GenericName[he]=מעבד תמלילים
+GenericName[hr]=Obrada teksta
+GenericName[hu]=Szövegszerkesztő
+GenericName[is]=Ritvinnsla
+GenericName[it]=Word processor
+GenericName[ja]=ワープロ
+GenericName[ka]=ტექსტის რედაქტორი
+GenericName[ko]=워드 프로세서
+GenericName[ku]=Bernameya nivîsandinê
+GenericName[mk]=Процесор за текст
+GenericName[ms]=Pemproses Perkataan
+GenericName[nb]=Tekstbehandling
+GenericName[ne]=शब्द प्रशोधक
+GenericName[nl]=Tekstverwerker
+GenericName[nr]=Isenzi Mitlolo
+GenericName[nso]=Sehlami sa Lentšu
+GenericName[oc]=Tractament de tèxt
+GenericName[pa]=ਸ਼ਬਦਕਾਰ
+GenericName[pl]=Edytor tekstu
+GenericName[pt]=Processador de texto
+GenericName[pt_BR]=Editor de texto
+GenericName[ru]=Текстовый процессор
+GenericName[sk]=Textový editor
+GenericName[sq]=Procesues teksti
+GenericName[sr]=Обрада текста
+GenericName[sr@Latn]=Obrada teksta
+GenericName[st]=Word Processor
+GenericName[sv]=Ordbehandlare
+GenericName[th]=พิมพ์งาน
+GenericName[tl]=Tagaproseso ng Salita
+GenericName[tr]=Kelime İşlemci
+GenericName[ts]=Xitirhisi xa marito
+GenericName[uk]=Текстовий процесор
+GenericName[vi]=Bộ xử lý từ
+GenericName[wa]=Aspougneu d' tecse
+GenericName[xh]=Inkqubo Yokuqhuba Amagama
+GenericName[zh_CN]=文字处理
+GenericName[zh_TW]=文書處理器
+GenericName[zu]=Umshini Ohlela Amagama
+Comment=The TextMaker word processor lets you work on any type of document.
+Comment[de]=Die Textverarbeitung TextMaker ermöglicht es Ihnen, beliebige Arten von Dokumenten zu erstellen und zu bearbeiten.
+Comment[ru]=TextMaker позволяет работать со всеми видами текстовых документов.
+Terminal=false
+Categories=Application;Office;WordProcessor;
+MimeType=application/x-tmdx;application/x-tmvx;application/x-tmd;application/x-tmv;application/msword;application/vnd.ms-word;application/x-doc;text/rtf;application/rtf;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/x-pocket-word;application/x-dbf;application/msword-template;
+
+
+Version=1.0
+Name=TextMaker 2021
+Icon=application-x-tml21
+TryExec=/usr/bin/textmaker21
+StartupWMClass=tm
+Exec=/usr/bin/textmaker21 %F
+Path=/opt/smoffice2021
diff --git a/office/smoffice2021/textmaker21 b/office/smoffice2021/textmaker21
new file mode 100644
index 0000000000..ef526982fb
--- /dev/null
+++ b/office/smoffice2021/textmaker21
@@ -0,0 +1,3 @@
+#!/bin/sh
+# A script to run TextMaker.
+/opt/smoffice2021/textmaker "$@"
diff --git a/office/smoffice2024/README b/office/smoffice2024/README
new file mode 100644
index 0000000000..b706c2760e
--- /dev/null
+++ b/office/smoffice2024/README
@@ -0,0 +1,11 @@
+SoftMaker Office 2024 is an office suite, it includes
+
+ * TextMaker 2024, a word processor
+ * PlanMaker 2024, a spreadsheet program
+ * Presentations 2024, a presentation software
+
+The main feature of SoftMaker Office 2024 is the extremely high
+compatibility with the MS Office file formats.
+
+SoftMaker Office 2024 is a commercial program. It is available in
+Standard and Pro editions, and also as a free 30 days trial.
diff --git a/office/smoffice2024/doinst.sh b/office/smoffice2024/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/office/smoffice2024/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/smoffice2024/planmaker-2024.desktop b/office/smoffice2024/planmaker-2024.desktop
new file mode 100644
index 0000000000..b3e06eadaa
--- /dev/null
+++ b/office/smoffice2024/planmaker-2024.desktop
@@ -0,0 +1,82 @@
+[Desktop Entry]
+Type=Application
+InitialPreference=10
+GenericName=Spreadsheet
+GenericName[am]=ሠንጠረዥ አስሊ
+GenericName[ar]=جدول
+GenericName[az]=Hesab Cədvəli
+GenericName[bg]=Електронна таблица
+GenericName[bn]=স্প্রেডশিট
+GenericName[bs]=Spreadsheet
+GenericName[ca]=Full de càlcul
+GenericName[cs]=Tabulkový kalkulátor
+GenericName[da]=Regneark
+GenericName[de]=Tabellenkalkulation
+GenericName[dz]=ཤོག་ཁྲམ།
+GenericName[el]=Λογιστικό φύλλο
+GenericName[en_CA]=Spreadsheet
+GenericName[en_GB]=Spreadsheet
+GenericName[en_ZA]=Spreadsheet
+GenericName[es]=Hoja de cálculo
+GenericName[et]=Arvutustabel
+GenericName[eu]=Kalkulu-orria
+GenericName[fi]=Taulukkolaskenta
+GenericName[fil]=Spreadsheet
+GenericName[fr]=Tableur
+GenericName[ga]=Scarbhileog
+GenericName[gl]=Folla de cálculo
+GenericName[gu]=સ્પ્રેડશીટ
+GenericName[he]=גיליון עבודה
+GenericName[hr]=Proračunska tablica
+GenericName[hu]=Táblázatkezelő
+GenericName[is]=Töflureiknir
+GenericName[it]=Foglio di calcolo
+GenericName[ja]=スプレッドシート
+GenericName[ka]=ელცხრილი
+GenericName[ko]=스프레드시트
+GenericName[ku]=Tabloya Hesêb
+GenericName[mk]=Табели
+GenericName[ms]=Hamparan
+GenericName[nb]=Regneark
+GenericName[ne]=स्प्रेडसिट
+GenericName[nl]=Rekenblad
+GenericName[nr]=Spredtjhiti
+GenericName[nso]=Letlakala la go ala tsebišo
+GenericName[oc]=Fuelha de calcul
+GenericName[pa]=ਸਾਰਣੀ
+GenericName[pl]=Arkusz kalkulacyjny
+GenericName[pt]=Folha de Cálculo
+GenericName[pt_BR]=Planilha Eletrônica
+GenericName[ru]=Электронная таблица
+GenericName[rw]=Urupapurorusesuye
+GenericName[sk]=Tabuľka
+GenericName[sq]=Fleta elektronike
+GenericName[sr]=Табеле
+GenericName[sr@Latn]=Tabele
+GenericName[st]=Leqephe la ho ala boitsebiso
+GenericName[sv]=Kalkylark
+GenericName[th]=ตารางคำนวน
+GenericName[tl]=Spreadsheet
+GenericName[tr]=Hesap Çizelgesi
+GenericName[ts]=Xipredxiti
+GenericName[uk]=Електронні таблиці
+GenericName[vi]=Bảng tính
+GenericName[wa]=Tåvleu
+GenericName[xh]=Icwecwe leeseli
+GenericName[zh_CN]=电子表格
+GenericName[zh_TW]=試算表
+GenericName[zu]=Ispredshit
+Comment=PlanMaker lets you create all kinds of spreadsheets -- from simple ones to the most complex ones. Includes a high-caliber charting module.
+Comment[de]=Mit PlanMaker können Sie alle Arten von Arbeitsblättern erstellen -- von ganz einfachen bis zu den komplexesten. Inklusive eines leistungsstarken Diagrammmoduls.
+Comment[ru]=PlanMaker позволяет создавать все виды электронных таблиц, от простых до сложных. Включает в себя мощный модуль для составления диаграмм.
+Terminal=false
+Categories=Office;Spreadsheet;
+MimeType=application/x-pmd;application/x-pmdx;application/x-pmv;application/excel;application/x-excel;application/x-ms-excel;application/x-msexcel;application/x-sylk;application/x-xls;application/xls;application/vnd.ms-excel;application/vnd.stardivision.calc;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/x-dif;text/spreadsheet;text/csv;application/x-prn;application/vnd.ms-excel.sheet.binary.macroenabled.12;
+
+Version=1.0
+Name=PlanMaker 2024
+Icon=application-x-pml24
+TryExec=/usr/bin/planmaker24
+StartupWMClass=pm
+Exec=/usr/bin/planmaker24 %F
+Path=/opt/smoffice2024
diff --git a/office/smoffice2024/planmaker24 b/office/smoffice2024/planmaker24
new file mode 100644
index 0000000000..a387613ff9
--- /dev/null
+++ b/office/smoffice2024/planmaker24
@@ -0,0 +1,3 @@
+#!/bin/sh
+# A script to run PlanMaker.
+/opt/smoffice2024/planmaker "$@"
diff --git a/office/smoffice2024/presentations-2024.desktop b/office/smoffice2024/presentations-2024.desktop
new file mode 100644
index 0000000000..4d391ea0dd
--- /dev/null
+++ b/office/smoffice2024/presentations-2024.desktop
@@ -0,0 +1,81 @@
+[Desktop Entry]
+Type=Application
+InitialPreference=10
+GenericName=Presentation
+GenericName[am]=ትዕይንት
+GenericName[az]=Təqdimat
+GenericName[bg]=Презентация
+GenericName[bn]=প্রেজেন্টেশন
+GenericName[bs]=Prezentacija
+GenericName[ca]=Presentació
+GenericName[cs]=Prezentace
+GenericName[da]=Præsentation
+GenericName[de]=Präsentation
+GenericName[dz]=གསལ་སྟོན།
+GenericName[el]=Παρουσίαση
+GenericName[en_CA]=Presentation
+GenericName[en_GB]=Presentation
+GenericName[en_ZA]=Presentation
+GenericName[es]=Presentación
+GenericName[et]=Esitlus
+GenericName[eu]=Aurkezpena
+GenericName[fi]=Esitys
+GenericName[fil]=Pagtatanghal
+GenericName[fr]=Présentation
+GenericName[ga]=Toirbeathas
+GenericName[gl]=Presentación
+GenericName[gu]=રજૂઆત
+GenericName[he]=מצגות
+GenericName[hr]=Prezentacija
+GenericName[hu]=Bemutatókészítő
+GenericName[is]=Impress framsetning
+GenericName[it]=Presentazione
+GenericName[ja]=プレゼンテーション
+GenericName[ka]=პრეზენტაცია
+GenericName[ko]=프리젠테이션
+GenericName[ku]=Pêşkêşî
+GenericName[mk]=Презентација
+GenericName[ms]=Persembahan
+GenericName[nb]=Presentasjon
+GenericName[ne]=प्रस्तुति
+GenericName[nl]=Presentatie
+GenericName[nr]=Phrizentheyitjhini
+GenericName[nso]=Tlhagišo
+GenericName[oc]=Presentacion
+GenericName[pa]=ਪੇਸ਼ਕਾਰੀ
+GenericName[pl]=Prezentacja
+GenericName[pt]=Apresentação
+GenericName[pt_BR]=Apresentação
+GenericName[ru]=Презентация
+GenericName[rw]=Iyerekana
+GenericName[sk]=Prezentácia
+GenericName[sq]=Prezantime
+GenericName[sr]=Презентација
+GenericName[sr@Latn]=Prezentacija
+GenericName[st]=Nehelano
+GenericName[sv]=Presentation
+GenericName[th]=งานนำเสนอ
+GenericName[tl]=Pagtatanghal
+GenericName[tr]=Sunum
+GenericName[ts]=Nkombiso
+GenericName[uk]=Презентації
+GenericName[vi]=Trình diễn
+GenericName[wa]=Prezintåcion
+GenericName[xh]=Umboniso wenkcazelo
+GenericName[zh_CN]=演示文稿
+GenericName[zh_TW]=簡報
+GenericName[zu]=Iprezenteyshin
+Comment=The Presentations software lets you design any kind of presentation - even including special effects, animations, and transitions.
+Comment[de]=Presentations lässt Sie beliebige Präsentationen gestalten - mit Effekten, Animationen und Transitionen.
+Comment[ru]=Presentations позволяет создавать все виды презентаций и добавлять в них специальные эффекты, анимацию и переходы.
+Terminal=false
+Categories=Office;Presentation;
+MimeType=application/x-prdx;application/x-prvx;application/x-prsx;application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;
+
+Version=1.0
+Name=Presentations 2024
+Icon=application-x-prl24
+TryExec=/usr/bin/presentations24
+StartupWMClass=pr
+Exec=/usr/bin/presentations24 %F
+Path=/opt/smoffice2024
diff --git a/office/smoffice2024/presentations24 b/office/smoffice2024/presentations24
new file mode 100644
index 0000000000..68179c641e
--- /dev/null
+++ b/office/smoffice2024/presentations24
@@ -0,0 +1,10 @@
+#!/bin/sh
+# A script to run Presentations.
+ext="${@##*.}"
+shopt -s nocasematch
+case "$ext" in
+ "prs" ) /opt/smoffice2024/presentations -S\""$@"\";;
+ "pps" ) /opt/smoffice2024/presentations -S\""$@"\";;
+ "ppsx" ) /opt/smoffice2024/presentations -S\""$@"\";;
+ * ) /opt/smoffice2024/presentations "$@";;
+esac
diff --git a/office/smoffice2024/slack-desc b/office/smoffice2024/slack-desc
new file mode 100644
index 0000000000..319150800b
--- /dev/null
+++ b/office/smoffice2024/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+smoffice2024: smoffice2024 (office suite)
+smoffice2024:
+smoffice2024: SoftMaker Office 2024 includes
+smoffice2024: * TextMaker 2024, a word processor
+smoffice2024: * PlanMaker 2024, a spreadsheet program
+smoffice2024: * Presentations 2024, a presentation software
+smoffice2024:
+smoffice2024: The main feature of SoftMaker Office 2024 is the extremely high
+smoffice2024: compatibility with the MS Office file formats.
+smoffice2024:
+smoffice2024: Home page: https://www.softmaker.com/en/softmaker-office-linux
diff --git a/office/smoffice2024/smoffice2024.SlackBuild b/office/smoffice2024/smoffice2024.SlackBuild
new file mode 100644
index 0000000000..4f346f402f
--- /dev/null
+++ b/office/smoffice2024/smoffice2024.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for smoffice2024
+
+# Copyright 2023-, Antonio Leal, Porto Salvo, Oeiras, Portugal
+# Copyright 2020-2023, Donald Cooley, South Haven, Indiana, USA
+# Based on the smoffice2018 SlackBuild by Alexander Verbovetsky
+# Based on the Arch Linux PKGBUILD.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=smoffice2024
+VERSION=${VERSION:-2024_1211}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# Abort build if architecture is not 64-bit.
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG/opt/smoffice2024 $OUTPUT
+cd $TMP
+tar xvf $CWD/softmaker-office-${VERSION//_/-}-amd64.tgz
+tar xvf office2024.tar.lzma -C $PKG/opt/smoffice2024
+cd $PKG
+
+mkdir -p usr/bin
+install -m 0755 -o root -g root $CWD/planmaker24 usr/bin
+install -m 0755 -o root -g root $CWD/presentations24 usr/bin
+install -m 0755 -o root -g root $CWD/textmaker24 usr/bin
+
+for s in 16 24 32 48 64 128 256 512 1024; do
+ mkdir -p usr/share/icons/hicolor/${s}x${s}/apps
+ for a in pml prl tml; do
+ cp -a opt/smoffice2024/icons/${a}_${s}.png \
+ usr/share/icons/hicolor/${s}x${s}/apps/application-x-${a}24.png
+ done
+done
+for s in 16 24 32 48 64 128 256 512 1024; do
+ mkdir -p usr/share/icons/hicolor/${s}x${s}/mimetypes
+ for a in pmd pmd_mso pmd_oth prd prd_mso prd_oth tmd tmd_mso tmd_oth; do
+ cp -a opt/smoffice2024/icons/${a}_${s}.png \
+ usr/share/icons/hicolor/${s}x${s}/mimetypes/application-x-${a}.png
+ done
+done
+
+mkdir -p usr/share/applications
+cp -a $CWD/planmaker-2024.desktop usr/share/applications/
+cp -a $CWD/presentations-2024.desktop usr/share/applications/
+cp -a $CWD/textmaker-2024.desktop usr/share/applications/
+
+mkdir -p usr/share/mime/packages/
+cp -a opt/smoffice2024/mime/softmaker-office-2024.xml \
+ usr/share/mime/packages/
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+mv opt/smoffice2024/*.pdf opt/smoffice2024/mime/copyright \
+ usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p install
+cat $CWD/slack-desc > install/slack-desc
+cat $CWD/doinst.sh > install/doinst.sh
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/smoffice2024/smoffice2024.info b/office/smoffice2024/smoffice2024.info
new file mode 100644
index 0000000000..ef7969edb0
--- /dev/null
+++ b/office/smoffice2024/smoffice2024.info
@@ -0,0 +1,10 @@
+PRGNAM="smoffice2024"
+VERSION="2024_1211"
+HOMEPAGE="https://www.softmaker.com/en/softmaker-office-linux"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://www.softmaker.net/down/softmaker-office-2024-1211-amd64.tgz"
+MD5SUM_x86_64="a85b49af80cbd5e9ee14d389f10e8cf1"
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/office/smoffice2024/textmaker-2024.desktop b/office/smoffice2024/textmaker-2024.desktop
new file mode 100644
index 0000000000..385550612e
--- /dev/null
+++ b/office/smoffice2024/textmaker-2024.desktop
@@ -0,0 +1,82 @@
+[Desktop Entry]
+Type=Application
+InitialPreference=10
+GenericName=Word Processor
+GenericName[am]=ጽሁፍ አቀናጅ
+GenericName[ar]=معالج نصوص
+GenericName[az]=Kəlmə İşlədici
+GenericName[bg]=Текстообработка
+GenericName[bn]=ওয়ার্ড প্রসেসর
+GenericName[bs]=Word Processor
+GenericName[ca]=Processador de textos
+GenericName[cs]=Textový procesor
+GenericName[da]=Tekstbehandler
+GenericName[de]=Textverarbeitung
+GenericName[dz]=ཡིག་སྦྱོར་པ།
+GenericName[el]=Επεξεργαστής κειμένου
+GenericName[en_CA]=Word Processor
+GenericName[en_GB]=Word Processor
+GenericName[en_ZA]=Word Processor
+GenericName[es]=Procesador de textos
+GenericName[et]=Kirjutaja
+GenericName[eu]=Testu-prozesadorea
+GenericName[fi]=Tekstinkäsittely
+GenericName[fil]=Tagaproseso ng Salita
+GenericName[fr]=Traitement de texte
+GenericName[ga]=Próiseálaithe Focal
+GenericName[gl]=Procesador de textos
+GenericName[gu]=વર્ડ પ્રોસેસર
+GenericName[he]=מעבד תמלילים
+GenericName[hr]=Obrada teksta
+GenericName[hu]=Szövegszerkesztő
+GenericName[is]=Ritvinnsla
+GenericName[it]=Word processor
+GenericName[ja]=ワープロ
+GenericName[ka]=ტექსტის რედაქტორი
+GenericName[ko]=워드 프로세서
+GenericName[ku]=Bernameya nivîsandinê
+GenericName[mk]=Процесор за текст
+GenericName[ms]=Pemproses Perkataan
+GenericName[nb]=Tekstbehandling
+GenericName[ne]=शब्द प्रशोधक
+GenericName[nl]=Tekstverwerker
+GenericName[nr]=Isenzi Mitlolo
+GenericName[nso]=Sehlami sa Lentšu
+GenericName[oc]=Tractament de tèxt
+GenericName[pa]=ਸ਼ਬਦਕਾਰ
+GenericName[pl]=Edytor tekstu
+GenericName[pt]=Processador de texto
+GenericName[pt_BR]=Editor de texto
+GenericName[ru]=Текстовый процессор
+GenericName[sk]=Textový editor
+GenericName[sq]=Procesues teksti
+GenericName[sr]=Обрада текста
+GenericName[sr@Latn]=Obrada teksta
+GenericName[st]=Word Processor
+GenericName[sv]=Ordbehandlare
+GenericName[th]=พิมพ์งาน
+GenericName[tl]=Tagaproseso ng Salita
+GenericName[tr]=Kelime İşlemci
+GenericName[ts]=Xitirhisi xa marito
+GenericName[uk]=Текстовий процесор
+GenericName[vi]=Bộ xử lý từ
+GenericName[wa]=Aspougneu d' tecse
+GenericName[xh]=Inkqubo Yokuqhuba Amagama
+GenericName[zh_CN]=文字处理
+GenericName[zh_TW]=文書處理器
+GenericName[zu]=Umshini Ohlela Amagama
+Comment=The TextMaker word processor lets you work on any type of document.
+Comment[de]=Die Textverarbeitung TextMaker ermöglicht es Ihnen, beliebige Arten von Dokumenten zu erstellen und zu bearbeiten.
+Comment[ru]=TextMaker позволяет работать со всеми видами текстовых документов.
+Terminal=false
+Categories=Office;WordProcessor;
+MimeType=application/x-tmdx;application/x-tmvx;application/x-tmd;application/x-tmv;application/msword;application/vnd.ms-word;application/x-doc;text/rtf;application/rtf;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/x-pocket-word;application/x-dbf;application/msword-template;
+
+
+Version=1.0
+Name=TextMaker 2024
+Icon=application-x-tml24
+TryExec=/usr/bin/textmaker24
+StartupWMClass=tm
+Exec=/usr/bin/textmaker24 %F
+Path=/opt/smoffice2024
diff --git a/office/smoffice2024/textmaker24 b/office/smoffice2024/textmaker24
new file mode 100644
index 0000000000..767d86cffb
--- /dev/null
+++ b/office/smoffice2024/textmaker24
@@ -0,0 +1,3 @@
+#!/bin/sh
+# A script to run TextMaker.
+/opt/smoffice2024/textmaker "$@"
diff --git a/office/sofastats/README b/office/sofastats/README
deleted file mode 100644
index 64b59f2f6c..0000000000
--- a/office/sofastats/README
+++ /dev/null
@@ -1,9 +0,0 @@
-SOFA is a user-friendly statistics, analysis, & reporting program. It is free,
-with an emphasis on ease of use, learn as you go, and beautiful output.
-
-SOFA lets you display results in an attractive format ready to share. And SOFA
-will help you learn as you go.
-
-Optional packages to install can be:
- - psycopg2, to support reading data from PostgreSQL databases
- - MySQL-python, to support reading data from MySQL databases
diff --git a/office/sofastats/sofastats.SlackBuild b/office/sofastats/sofastats.SlackBuild
deleted file mode 100644
index 5da8062475..0000000000
--- a/office/sofastats/sofastats.SlackBuild
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sofa
-
-# Copyright (c) 2012 Alan Alberghini <414N@slacky.it>
-# All rights reserved.
-#
-# Permission to use, copy, modify, and distribute this software for
-# any purpose with or without fee is hereby granted, provided that
-# the above copyright notice and this permission notice appear in all
-# copies.
-#
-# THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-# SUCH DAMAGE.
-# -----------------------------------------------------------------------------
-
-PRGNAM=sofastats
-VERSION=${VERSION:-1.4.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-DOCS="README.txt copyright"
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf "$CWD/${PRGNAM}-${VERSION}.tar.gz"
-cd ${PRGNAM}-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/share/$PRGNAM $PKG/usr/bin $PKG/usr/share/applications
-
-cp -r sofa_main/* $PKG/usr/share/$PRGNAM
-ln -sf /usr/share/$PRGNAM/start.py $PKG/usr/bin/$PRGNAM
-
-install -m0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/office/sofastats/sofastats.desktop b/office/sofastats/sofastats.desktop
deleted file mode 100644
index b9f1d56bc2..0000000000
--- a/office/sofastats/sofastats.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Exec=python /usr/share/sofastats/start.py
-GenericName=Analysis package
-Icon=/usr/share/sofastats/images/sofastats_48.xpm
-Name=SOFA Statistics
-StartupNotify=true
-Terminal=false
-Type=Application
diff --git a/office/sofastats/sofastats.info b/office/sofastats/sofastats.info
deleted file mode 100644
index 4666d48b3b..0000000000
--- a/office/sofastats/sofastats.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sofastats"
-VERSION="1.4.6"
-HOMEPAGE="http://www.sofastatistics.com"
-DOWNLOAD="http://sourceforge.net/projects/sofastatistics/files/sofastatistics/1.4.6/sofastats-1.4.6.tar.gz"
-MD5SUM="c39880daebead5247b78b6550cb4e2c4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="matplotlib pywebkitgtk wkhtmltopdf python-requests pyPdf"
-MAINTAINER="Alan Alberghini"
-EMAIL="414N@slacky.it"
diff --git a/office/t-prot/README b/office/t-prot/README
index 3a37e27c8c..d6397988dc 100644
--- a/office/t-prot/README
+++ b/office/t-prot/README
@@ -1,5 +1,6 @@
t-prot, a TOFU protection script
-You know these misformatted mail or news messages, with full quotes, too long
-signatures, and lots of exclamation marks? They get on your nerves day by day?
-That's what this script is for. Please see the documentation for the details.
+You know these misformatted mail or news messages, with full quotes,
+too long signatures, and lots of exclamation marks? They get on your
+nerves day by day? That's what this script is for. Please see the
+documentation for the details.
diff --git a/office/t-prot/slack-desc b/office/t-prot/slack-desc
index 54b2d0da59..4d740b36e5 100644
--- a/office/t-prot/slack-desc
+++ b/office/t-prot/slack-desc
@@ -13,7 +13,7 @@ t-prot: too long signatures, and lots of exclamation marks? They get on your
t-prot: nerves day by day? That's what this script is for. Please see the
t-prot: documentation for the details.
t-prot:
-t-prot: http://www.escape.de/~tolot/mutt/
+t-prot: https://github.com/kdave/t-prot
t-prot:
t-prot:
t-prot:
diff --git a/office/t-prot/t-prot.SlackBuild b/office/t-prot/t-prot.SlackBuild
index 40e5c3c35a..766423de6a 100644
--- a/office/t-prot/t-prot.SlackBuild
+++ b/office/t-prot/t-prot.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for t-prot
# Copyright 2013, Andrew Clemons, Wellington, New Zealand
# Copyright 2015, Andrew Clemons, Leimen, Germany
# Copyright 2016, Andrew Clemons, Wellington, New Zealand
+# Copyright 2023, Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,14 +25,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=t-prot
VERSION=${VERSION:-3.4}
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}
@@ -42,7 +53,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/"$PRGNAM"-"$VERSION".tar.gz
+tar xvf $CWD/"$PRGNAM"_"$VERSION".orig.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -64,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/t-prot/t-prot.info b/office/t-prot/t-prot.info
index fa852a519b..2706bee8fe 100644
--- a/office/t-prot/t-prot.info
+++ b/office/t-prot/t-prot.info
@@ -1,7 +1,7 @@
PRGNAM="t-prot"
VERSION="3.4"
-HOMEPAGE="http://www.escape.de/~tolot/mutt/"
-DOWNLOAD="http://www.escape.de/~tolot/mutt/t-prot/downloads/t-prot-3.4.tar.gz"
+HOMEPAGE="https://github.com/kdave/t-prot"
+DOWNLOAD="http://deb.debian.org/debian/pool/main/t/t-prot/t-prot_3.4.orig.tar.gz"
MD5SUM="c075489f1bd7063d589dcfb2536989b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/tapecalc/README b/office/tapecalc/README
new file mode 100644
index 0000000000..5b2ef10263
--- /dev/null
+++ b/office/tapecalc/README
@@ -0,0 +1,13 @@
+tapecalc (calculator with curses 'register tape' UI)
+
+tapecalc (aka "add") is a full-screen tape editor that lets the user
+edit a calculation. It is a curses application.
+
+It's more suitable for balancing a checkbook than a spreadsheet or any
+of the various hand-calculator clones.
+
+Note: the colors of the user interface (white on blue) can't be
+configured. However, tapecalc can be tricked into running in
+monochrome, with a command like:
+
+ $ TERM=vt100 tapecalc
diff --git a/office/tapecalc/slack-desc b/office/tapecalc/slack-desc
new file mode 100644
index 0000000000..6d17fcbfda
--- /dev/null
+++ b/office/tapecalc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tapecalc: tapecalc (calculator with curses 'register tape' UI)
+tapecalc:
+tapecalc: tapecalc (aka "add") is a full-screen tape editor that lets the user
+tapecalc: edit a calculation. It is a curses application.
+tapecalc:
+tapecalc: It's more suitable for balancing a checkbook than a spreadsheet or any
+tapecalc: of the various hand-calculator clones.
+tapecalc:
+tapecalc:
+tapecalc:
+tapecalc:
diff --git a/office/tapecalc/tapecalc.SlackBuild b/office/tapecalc/tapecalc.SlackBuild
new file mode 100644
index 0000000000..94b3b87bab
--- /dev/null
+++ b/office/tapecalc/tapecalc.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for tapecalc
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Note: the original name for this is "add". This seems *awfully*
+# generic (there's no /usr/bin/add in Slackware, but I can imagine
+# some other SBo package using that name for something). When this
+# got packaged for Debian, their maintainer renamed it to 'tapecalc'.
+# I'll use their name. As a nice side effect, it's easier to search
+# for under this name.
+
+# 20240208 bkw: update for v20240110.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tapecalc
+SRCNAM=add
+VERSION=${VERSION:-20240110}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tgz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --program-transform-name='s/add/tapecalc/' \
+ --datadir=/usr/share/$PRGNAM \
+ --build=$ARCH-slackware-linux
+
+make
+strip $SRCNAM
+make install DESTDIR=$PKG
+gzip $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a CHANGES COPYING README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/tapecalc/tapecalc.info b/office/tapecalc/tapecalc.info
new file mode 100644
index 0000000000..96c4496a8a
--- /dev/null
+++ b/office/tapecalc/tapecalc.info
@@ -0,0 +1,10 @@
+PRGNAM="tapecalc"
+VERSION="20240110"
+HOMEPAGE="https://invisible-island.net/add/add.html"
+DOWNLOAD="https://invisible-island.net/archives/add/add-20240110.tgz"
+MD5SUM="81a284a0e728b13738076ad5febb8f2a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/task/README b/office/task/README
index 492df083fc..8c4fafc6fa 100644
--- a/office/task/README
+++ b/office/task/README
@@ -1,4 +1,6 @@
-task (a.k.a taskwarrior) is an advanced task manager for the console with an
-extensive set of features. task manages your TODO list from the command line.
-It is flexible, fast, and unobtrusive. It does its job then gets out of your
-way.
+task (a.k.a taskwarrior) is an advanced task manager for the console
+with an extensive set of features. task manages your TODO list from the
+command line.
+
+It is flexible, fast, and unobtrusive. It does its job then gets out of
+your way.
diff --git a/office/task/task.SlackBuild b/office/task/task.SlackBuild
index 672c63caef..65511ff223 100644
--- a/office/task/task.SlackBuild
+++ b/office/task/task.SlackBuild
@@ -1,13 +1,36 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for task
-# Written by Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2018-2022 by Jostein Berntsen <jvbernts@online.no>
+
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=task
-VERSION=${VERSION:-2.5.1}
+VERSION=${VERSION:-2.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,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,7 +101,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CMakeLists.txt COPYING ChangeLog DEVELOPER EXPOSITION INSTALL LICENSE NEWS README.md \
+cp -a AUTHORS CMakeLists.txt COPYING ChangeLog INSTALL LICENSE NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -79,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/office/task/task.info b/office/task/task.info
index a92e20c587..fb9f01efd5 100644
--- a/office/task/task.info
+++ b/office/task/task.info
@@ -1,10 +1,10 @@
PRGNAM="task"
-VERSION="2.5.1"
+VERSION="2.6.2"
HOMEPAGE="http://www.taskwarrior.org"
-DOWNLOAD="https://taskwarrior.org/download/task-2.5.1.tar.gz"
-MD5SUM="bcd984a00d6d1eb6b40faf567419f784"
+DOWNLOAD="https://taskwarrior.org/download/task-2.6.2.tar.gz"
+MD5SUM="a9e69fd612e8ad538b9f512c80b18122"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/taskd/taskd.SlackBuild b/office/taskd/taskd.SlackBuild
index 72007f2d07..fb7b1fcb2c 100644
--- a/office/taskd/taskd.SlackBuild
+++ b/office/taskd/taskd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for taskd
@@ -46,10 +46,13 @@
#
################################################################
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=taskd
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -59,7 +62,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -146,4 +156,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/office/taskjuggler/README b/office/taskjuggler/README
index ae7457c0cf..6e02a6cc77 100644
--- a/office/taskjuggler/README
+++ b/office/taskjuggler/README
@@ -10,6 +10,6 @@ constraints that you have provided. The built-in resource balancer and
consistency checker offload you from having to worry about irrelevant
details and ring the alarm if the project gets out of hand.
-The flexible as-many-details-as-necessary approach allows you to plan
-your project as you go, making it also ideal for new management strategies
-such as Extreme Programming and Agile Project Management.
+The flexible as-many-details-as-necessary approach allows you to
+plan your project as you go, making it also ideal for new management
+strategies such as Extreme Programming and Agile Project Management.
diff --git a/office/taskjuggler/taskjuggler.SlackBuild b/office/taskjuggler/taskjuggler.SlackBuild
index ad767d8338..7a5a1c0d09 100644
--- a/office/taskjuggler/taskjuggler.SlackBuild
+++ b/office/taskjuggler/taskjuggler.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for taskjuggler
-# Copyright 2015-02-10 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2015-2020 Jostein Berntsen <jvbernts@online.no>
# 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=taskjuggler
-VERSION=${VERSION:-3.6.0}
+VERSION=${VERSION:-3.7.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}
@@ -108,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/taskjuggler/taskjuggler.info b/office/taskjuggler/taskjuggler.info
index 995f751e58..633e382ec2 100644
--- a/office/taskjuggler/taskjuggler.info
+++ b/office/taskjuggler/taskjuggler.info
@@ -1,10 +1,10 @@
PRGNAM="taskjuggler"
-VERSION="3.6.0"
+VERSION="3.7.1"
HOMEPAGE="http://www.taskjuggler.org/"
-DOWNLOAD="http://rubygems.org/downloads/taskjuggler-3.6.0.gem"
-MD5SUM="dc10e48e806a7dfc01ae6233dc055382"
+DOWNLOAD="http://rubygems.org/downloads/taskjuggler-3.7.1.gem"
+MD5SUM="fe1b4ce6ee42605b20ea2ac4aed9e85a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-term-ansicolor rubygem-mail"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/taskopen/README b/office/taskopen/README
index 2d0a23f73e..3666b15bb0 100644
--- a/office/taskopen/README
+++ b/office/taskopen/README
@@ -1 +1,7 @@
-Script for taking notes and open urls with taskwarrior
+Taskopen allows you to link almost any file, webpage or command
+to a taskwarrior task by adding a filepath, web-link or uri as an
+annotation. Text notes, images, PDF files, web addresses, spreadsheets
+and many other types of links can then be filtered, listed and
+opened by using taskopen. Some actions are sane defaults, others
+can be custom-configured, and everything else will use your systems
+mime-types to open the link.
diff --git a/office/taskopen/taskopen.SlackBuild b/office/taskopen/taskopen.SlackBuild
index 70541c62b0..ae59492de4 100644
--- a/office/taskopen/taskopen.SlackBuild
+++ b/office/taskopen/taskopen.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for taskopen
-# Copyright 2017 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017-2021 Jostein Berntsen <jvbernts@online.no>
# 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=taskopen
-VERSION=${VERSION:-1.1.4}
+VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,5 +100,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/office/taskopen/taskopen.info b/office/taskopen/taskopen.info
index b3d6e7b45b..abbc667d5c 100644
--- a/office/taskopen/taskopen.info
+++ b/office/taskopen/taskopen.info
@@ -1,10 +1,10 @@
PRGNAM="taskopen"
-VERSION="1.1.4"
+VERSION="1.1.5"
HOMEPAGE="https://github.com/ValiValpas/taskopen"
-DOWNLOAD="https://github.com/ValiValpas/taskopen/archive/v1.1.4/taskopen-1.1.4.tar.gz"
-MD5SUM="30180c36eef119a5f9e62c1eea75ce3c"
+DOWNLOAD="https://github.com/ValiValpas/taskopen/archive/v1.1.5/taskopen-1.1.5.tar.gz"
+MD5SUM="78a6eb6b823af85c457fedff79417953"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-JSON"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/tasksh/tasksh.SlackBuild b/office/tasksh/tasksh.SlackBuild
index ac5fa5213e..066cce2b65 100644
--- a/office/tasksh/tasksh.SlackBuild
+++ b/office/tasksh/tasksh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tasksh
@@ -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=tasksh
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/teapot/README b/office/teapot/README
deleted file mode 100644
index c53540a1cb..0000000000
--- a/office/teapot/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Teapot is a compact spreadsheet software originally written by Michael Haardt.
-It features a (n)curses-based text terminal interface, and recently also a
-FLTK-based GUI.
-
-Another interesting feature is its modern approach to spread sheet theory: It
-sports true three-dimensional tables and iterative expressions. And since it
-breaks compatibility with the usual notions of big spreadsheet packages, it
-can also throw old syntactic cruft over board which many spreadsheets still
-inherit from the days of VisiCalc on ancient CP/M systems.
-
-Optional dependency: fltk
diff --git a/office/teapot/teapot.info b/office/teapot/teapot.info
deleted file mode 100644
index fc3da8e61d..0000000000
--- a/office/teapot/teapot.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="teapot"
-VERSION="2.3.0"
-HOMEPAGE="https://web.archive.org/web/20171230003025/http://www.syntax-k.de/projekte/teapot/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/teapot-2.3.0.tar.gz"
-MD5SUM="ae59f90a5f70971703abccf0991dbd58"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
diff --git a/office/tellico/README b/office/tellico/README
index 3b5bac79ba..a53a6cf0dc 100644
--- a/office/tellico/README
+++ b/office/tellico/README
@@ -1,16 +1,17 @@
-Tellico is a KDE application for keeping track of your collections. It
-provides default templates for books, bibliographies, videos, music, coins,
-stamps, trading cards, comic books, and wines. Ultimately, the goal is for
-it to be similar in capability to AVCataloger or Readerware, although it's
-still got a ways to go.
+Tellico is a KDE application for keeping track of your collections.
+It provides default templates for books, bibliographies, videos,
+music, coins, stamps, trading cards, comic books, and wines.
+Ultimately, the goal is for it to be similar in capability to
+AVCataloger or Readerware, although it's still got a ways to go.
-Tellico allows you to enter your collection in a catalogue database, saving
-many different properties like title, author, etc. Two different views of
-your collection are shown. On the left, your entries are grouped together
-by any field you like, allowing you to see how many are in each group. On
-the right, selected fields are shown in column format, allowing you to sort
-by any field. On the bottom is a customizable HTML view of the current
-entry. The entry editor is a dialog box where you enter the data. You can
-even read barcodes with a webcam.
+Tellico allows you to enter your collection in a catalogue
+database, saving many different properties like title, author, etc.
+Two different views of your collection are shown. On the left, your
+entries are grouped together by any field you like, allowing you to
+see how many are in each group. On the right, selected fields are
+shown in column format, allowing you to sort by any field. On the
+bottom is a customizable HTML view of the current entry. The entry
+editor is a dialog box where you enter the data. You can even read
+barcodes with a webcam.
-yaz, and exempi are optional (but recommended) dependencies.
+yaz and exempi are optional (but recommended) dependencies.
diff --git a/office/tellico/tellico.SlackBuild b/office/tellico/tellico.SlackBuild
index 87b35d67d7..2ae31ff1d0 100644
--- a/office/tellico/tellico.SlackBuild
+++ b/office/tellico/tellico.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for tellico
@@ -26,10 +26,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tellico
-VERSION=${VERSION:-2.3.12}
+VERSION=${VERSION:-3.4}
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}
@@ -64,7 +74,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -92,7 +102,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 COMPILING COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COMPILING COPYING ChangeLog README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install
@@ -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/office/tellico/tellico.info b/office/tellico/tellico.info
index 3a7d9986e0..bb95fec8cb 100644
--- a/office/tellico/tellico.info
+++ b/office/tellico/tellico.info
@@ -1,8 +1,8 @@
PRGNAM="tellico"
-VERSION="2.3.12"
-HOMEPAGE="http://tellico-project.org/"
-DOWNLOAD="http://tellico-project.org/files/tellico-2.3.12.tar.bz2"
-MD5SUM="607e94e0141aadf741aab7fa6db15a5c"
+VERSION="3.4"
+HOMEPAGE="https://tellico-project.org/"
+DOWNLOAD="https://tellico-project.org/files/tellico-3.4.tar.xz"
+MD5SUM="f46ab546ac335a9107c2130faea1fb9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/texlive-docs/README b/office/texlive-docs/README
index 772305392b..7057eff92f 100644
--- a/office/texlive-docs/README
+++ b/office/texlive-docs/README
@@ -1,4 +1,4 @@
-texlive-docs (TeXLive -base Documentation)
+texlive-docs (TeXLive Documentation)
This package contains the documentation appropriate
-to the texlive base package.
+to the texlive package shipped by slackware.
diff --git a/office/texlive-docs/doinst.sh b/office/texlive-docs/doinst.sh
index a6076ff24f..a660c34671 100644
--- a/office/texlive-docs/doinst.sh
+++ b/office/texlive-docs/doinst.sh
@@ -1 +1,3 @@
-chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
+if [ -x /usr/bin/mktexlsr ]; then
+ chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
+fi
diff --git a/office/texlive-docs/slack-desc b/office/texlive-docs/slack-desc
index 2a3f1b03ad..54a5fa0835 100644
--- a/office/texlive-docs/slack-desc
+++ b/office/texlive-docs/slack-desc
@@ -6,10 +6,10 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-texlive-docs: texlive-docs (TeXLive -base Documentation)
+texlive-docs: texlive-docs (TeXLive Documentation)
texlive-docs:
texlive-docs: This package contains the documentation appropriate
-texlive-docs: to the texlive base package.
+texlive-docs: to the texlive package shipped by Slackware.
texlive-docs:
texlive-docs:
texlive-docs:
diff --git a/office/texlive-docs/texlive-docs.SlackBuild b/office/texlive-docs/texlive-docs.SlackBuild
index 972fe2cb60..fcbda13fa1 100644
--- a/office/texlive-docs/texlive-docs.SlackBuild
+++ b/office/texlive-docs/texlive-docs.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
-# texlive-docs build script for Slackware
+# Slackware build script for texlive-docs
# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2009 - 2014 Robby Workman, Northport, AL, USA
-# Copyright 2016 - 2018 Johannes Schoepfer, Germany
+# Copyright 2016 - 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,35 +24,45 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texlive-docs
-VERSION=${VERSION:-2018.180822}
+TEXMFVERSION=${TEXMFVERSION:-230322}
+VERSION=${VERSION:-2023.230322}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
ARCH=noarch
+TEXMFROOT=/usr/share
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/share $OUTPUT $PKG/usr/doc/texlive-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/share
+mkdir -p $TMP $PKG$TEXMFROOT $OUTPUT $PKG/usr/doc/texlive-$VERSION
+tar xvf $CWD/$PRGNAM-$TEXMFVERSION.tar.xz -C $PKG$TEXMFROOT
chown -R root:root $PKG
chmod -R u+w,go-w,a+rX-st $PKG
# No, we don't care about the pdf versions of the manual pages
-rm -rf $PKG/usr/share/texmf-dist/doc/man
+rm -rf $PKG$TEXMFROOT/texmf-dist/doc/man
# Install index of provided tex packages to the docs
-mv $PKG/usr/share/texmf-dist/packages.docs.gz $PKG/usr/doc/texlive-$VERSION
+mv $PKG$TEXMFROOT/texmf-dist/packages.docs.gz $PKG/usr/doc/texlive-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -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/office/texlive-docs/texlive-docs.info b/office/texlive-docs/texlive-docs.info
index 46ce34fe1d..f5ad636191 100644
--- a/office/texlive-docs/texlive-docs.info
+++ b/office/texlive-docs/texlive-docs.info
@@ -1,10 +1,10 @@
PRGNAM="texlive-docs"
-VERSION="2018.180822"
-HOMEPAGE="http://tug.org/texlive/"
-DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/2018/texlive-docs/texlive-docs-2018.180822.tar.xz"
-MD5SUM="15ff1c22c970b82150d84e92869acffd"
+VERSION="2023.230322"
+HOMEPAGE="https://tug.org/texlive/"
+DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-docs-230322.tar.xz"
+MD5SUM="d9bc0e3c7da9c5ee5b96157166c9c2fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="texlive"
+REQUIRES=""
MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds[at]schoepfer[dot]info"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/texlive-extra/README b/office/texlive-extra/README
index 081fb60fde..519fce7046 100644
--- a/office/texlive-extra/README
+++ b/office/texlive-extra/README
@@ -1,4 +1,18 @@
-texlive-extra (extra texmf files for TeXLive)
-
This package contains texmf files which don't fit in the
-texlive base package. Appropriate docs are included as well.
+texlive package shipped by Slackware.
+Appropriate docs are included as well.
+
+Optional dependency: openjdk8
+
+To integrate this package, you have to do the following steps
+as root user:
+
+mktexlsr
+printf "y\n" | updmap-sys --syncwithtrees
+cp /usr/share/texmf-dist/web2c/updmap.cfg.extra \
+ /usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp
+updmap-sys \
+ --cnffile /usr/share/texmf-dist/web2c/updmap.cfg \
+ --cnffile /usr/share/texmf-dist/web2c/updmap.cfg.extra
+mv /usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp \
+ /usr/share/texmf-dist/web2c/updmap.cfg.extra
diff --git a/office/texlive-extra/doinst.sh b/office/texlive-extra/doinst.sh
deleted file mode 100644
index 6bd3d2a58e..0000000000
--- a/office/texlive-extra/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
-printf "y\n" | chroot . /usr/bin/updmap-sys --syncwithtrees 1>/dev/null 2>/dev/null
-chroot . /usr/bin/updmap-sys 1>/dev/null 2>/dev/null
diff --git a/office/texlive-extra/slack-desc b/office/texlive-extra/slack-desc
index aaafe2ace0..021d55cf6f 100644
--- a/office/texlive-extra/slack-desc
+++ b/office/texlive-extra/slack-desc
@@ -9,8 +9,8 @@
texlive-extra: texlive-extra (extra texmf files for TeXLive)
texlive-extra:
texlive-extra: This package contains texmf files which don't fit in the
-texlive-extra: texlive base package. Appropriate docs are included as well.
-texlive-extra:
+texlive-extra: texlive package shipped by Slackware.
+texlive-extra: Appropriate docs are included as well.
texlive-extra:
texlive-extra:
texlive-extra:
diff --git a/office/texlive-extra/texlive-extra.SlackBuild b/office/texlive-extra/texlive-extra.SlackBuild
index 9cb48640b0..653de6acfb 100644
--- a/office/texlive-extra/texlive-extra.SlackBuild
+++ b/office/texlive-extra/texlive-extra.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
-# texlive-extra build script for Slackware
+# Slackware build script for texlive-extra
# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2009 - 2014 Robby Workman, Northport, AL, USA
-# Copyright 2016 - 2018 Johannes Schoepfer, Germany
+# Copyright 2016 - 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,16 +24,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texlive-extra
-VERSION=${VERSION:-2018.180822}
+TEXMFVERSION=${TEXMFVERSION:-230322}
+VERSION=${VERSION:-2023.230322}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -42,31 +47,37 @@ if [ -z "$ARCH" ]; then
esac
fi
-set -e
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TEXMFROOT=/usr/share
rm -rf $PKG
-mkdir -p $TMP $PKG/usr/share $OUTPUT $PKG/usr/bin $PKG/usr/doc/texlive-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PKG/usr/share
+mkdir -p $TMP $PKG$TEXMFROOT $OUTPUT $PKG/usr/bin $PKG/usr/doc/texlive-$VERSION
+tar xvf $CWD/$PRGNAM-$TEXMFVERSION.tar.xz -C $PKG$TEXMFROOT
chown -R root:root $PKG
chmod -R u+w,go-w,a+rX-st $PKG
# Put symlinks/scripts from tlnet in place
-mv $PKG/usr/share/texmf-dist/linked_scripts/* $PKG/usr/bin
-rmdir $PKG/usr/share/texmf-dist/linked_scripts
+mv $PKG$TEXMFROOT/texmf-dist/linked_scripts/* $PKG/usr/bin
+rmdir $PKG$TEXMFROOT/texmf-dist/linked_scripts
# Move biber binary to $PATH
case $ARCH in
- "x86_64") mv $PKG/usr/share/texmf-dist/bin/x86_64-linux/biber $PKG/usr/bin ;;
- "i586") mv $PKG/usr/share/texmf-dist/bin/i386-linux/biber $PKG/usr/bin ;;
+ "x86_64") mv $PKG$TEXMFROOT/texmf-dist/bin/x86_64-linux/biber $PKG/usr/bin ;;
+ "i586") mv $PKG$TEXMFROOT/texmf-dist/bin/i386-linux/biber $PKG/usr/bin ;;
esac
-rm -rf $PKG/usr/share/texmf-dist/bin
+rm -rf $PKG$TEXMFROOT/texmf-dist/bin
# Install index of provided tex packages to the docs
-mv $PKG/usr/share/texmf-dist/packages.extra.gz $PKG/usr/doc/texlive-$VERSION
+mv $PKG$TEXMFROOT/texmf-dist/packages.extra.gz $PKG/usr/doc/texlive-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -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/office/texlive-extra/texlive-extra.info b/office/texlive-extra/texlive-extra.info
index 237880151d..287ea7cc11 100644
--- a/office/texlive-extra/texlive-extra.info
+++ b/office/texlive-extra/texlive-extra.info
@@ -1,10 +1,10 @@
PRGNAM="texlive-extra"
-VERSION="2018.180822"
-HOMEPAGE="http://tug.org/texlive/"
-DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/2018/texlive-extra/texlive-extra-2018.180822.tar.xz"
-MD5SUM="6e40bc7ed4d73efa747ada7a45289c73"
+VERSION="2023.230322"
+HOMEPAGE="https://tug.org/texlive/"
+DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-extra-230322.tar.xz"
+MD5SUM="2a6406b9fca2625cb1d4306e33fe4a3e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="texlive"
+REQUIRES="%README%"
MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds[at]schoepfer[dot]info"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/texlive/README b/office/texlive/README
deleted file mode 100644
index d08796d591..0000000000
--- a/office/texlive/README
+++ /dev/null
@@ -1,14 +0,0 @@
-TeXLive (TeXLive binaries, support files, TeX formats)
-
-This package contains binaries and many support files, TeX formats and
-packages, and other files included in the TeXLive TeX distribution.
-This should be adequate for the needs of most TeX users.
-
-The remaining stuff can be found in texlive-extra and texlive-docs,
-all of which are also available at SlackBuilds.org.
-
-Have a look at the scripts in the prep/ directory to see how the texmf
-archives were created from the original Texlive netarchives.
-
-Note that this package conflicts with the tetex packages in Slackware,
-so you'll need to remove tetex and tetex-doc before installing TeXLive.
diff --git a/office/texlive/README.tlpkg b/office/texlive/README.tlpkg
deleted file mode 100644
index 7a6f790ca8..0000000000
--- a/office/texlive/README.tlpkg
+++ /dev/null
@@ -1,17 +0,0 @@
-The TeXLive Package Manager, i.e. tlmgr(1), is not shipped with this
-TeXLive package, as it's not expected to work properly (if at all).
-The general consensus from the TeXLive users mailing list is that
-distributions should not be shipping tlpkg.
-
-The *proper* way to upgrade the TeXLive Slackware package (or any
-part of it) is through your Slackware's package manager. If you
-elect to try tlmgr(1), and it doesn't work at all, or worse, it messes
-up part of your TeXLive installation, too bad. On the other hand,
-if you are able to document exactly what we need to do in order to
-make it:
- 1) work
- 2) put updates and such in a user-specific directory, i.e.
- *not* alter/replace system package contents
-then we would love to hear from you. :-)
-
---rworkman :-)
diff --git a/office/texlive/doinst.sh b/office/texlive/doinst.sh
deleted file mode 100644
index d7af8f55c1..0000000000
--- a/office/texlive/doinst.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
-printf "y\n" | chroot . /usr/bin/updmap-sys --syncwithtrees 1>/dev/null 2>/dev/null
-chroot . /usr/bin/updmap-sys 1>/dev/null 2>/dev/null
-chroot . /usr/bin/fmtutil-sys --missing 1>/dev/null 2>/dev/null
-chroot . /usr/bin/mtxrun --generate 1>/dev/null 2>/dev/null
diff --git a/office/texlive/patches/20180625.diff b/office/texlive/patches/20180625.diff
deleted file mode 100644
index 583d99486d..0000000000
--- a/office/texlive/patches/20180625.diff
+++ /dev/null
@@ -1,688 +0,0 @@
-diff -ur ./texk/dvipdfm-x/ChangeLog ../b18/texk/dvipdfm-x/ChangeLog
---- ./texk/dvipdfm-x/ChangeLog 2018-03-03 11:27:37.000000000 +0100
-+++ ../b18/texk/dvipdfm-x/ChangeLog 2018-06-25 22:07:46.343277185 +0200
-@@ -1,3 +1,16 @@
-+2018-05-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
-+
-+ * tt_cmap.c: Revert a part of changes in 2017-12-09,
-+ which breaks to give tounicode entries for ligatures.
-+ http://tug.org/pipermail/tex-live/2018-May/041608.html.
-+ * configure.ac: Version 20180506.
-+
-+ 2018-04-28 Stefan Br\"uns <stefan.bruens@rwth-aachen.de>
-+
-+ * pngimage.c: Fix a bug which causes a segfault with 1/2/4-bit
-+ transparent indexed PNGs.
-+ * configure.ac: Version 20180428.
-+
- 2018-03-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
-
- * xbb.c: Remove unused lines.
-diff -ur ./texk/dvipdfm-x/configure ../b18/texk/dvipdfm-x/configure
---- ./texk/dvipdfm-x/configure 2018-02-17 09:41:35.000000000 +0100
-+++ ../b18/texk/dvipdfm-x/configure 2018-06-25 22:07:47.183276612 +0200
-@@ -1,6 +1,6 @@
- #! /bin/sh
- # Guess values for system-dependent variables and create Makefiles.
--# Generated by GNU Autoconf 2.69 for dvipdfm-x (TeX Live) 20180217.
-+# Generated by GNU Autoconf 2.69 for dvipdfm-x (TeX Live) 20180506.
- #
- # Report bugs to <tex-k@tug.org>.
- #
-@@ -590,8 +590,8 @@
- # Identity of this package.
- PACKAGE_NAME='dvipdfm-x (TeX Live)'
- PACKAGE_TARNAME='dvipdfm-x--tex-live-'
--PACKAGE_VERSION='20180217'
--PACKAGE_STRING='dvipdfm-x (TeX Live) 20180217'
-+PACKAGE_VERSION='20180506'
-+PACKAGE_STRING='dvipdfm-x (TeX Live) 20180506'
- PACKAGE_BUGREPORT='tex-k@tug.org'
- PACKAGE_URL=''
-
-@@ -1350,7 +1350,7 @@
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
--\`configure' configures dvipdfm-x (TeX Live) 20180217 to adapt to many kinds of systems.
-+\`configure' configures dvipdfm-x (TeX Live) 20180506 to adapt to many kinds of systems.
-
- Usage: $0 [OPTION]... [VAR=VALUE]...
-
-@@ -1421,7 +1421,7 @@
-
- if test -n "$ac_init_help"; then
- case $ac_init_help in
-- short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20180217:";;
-+ short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20180506:";;
- esac
- cat <<\_ACEOF
-
-@@ -1551,7 +1551,7 @@
- test -n "$ac_init_help" && exit $ac_status
- if $ac_init_version; then
- cat <<\_ACEOF
--dvipdfm-x (TeX Live) configure 20180217
-+dvipdfm-x (TeX Live) configure 20180506
- generated by GNU Autoconf 2.69
-
- Copyright (C) 2012 Free Software Foundation, Inc.
-@@ -2390,7 +2390,7 @@
- This file contains any messages produced by compilers while
- running configure, to aid debugging if configure makes a mistake.
-
--It was created by dvipdfm-x (TeX Live) $as_me 20180217, which was
-+It was created by dvipdfm-x (TeX Live) $as_me 20180506, which was
- generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-@@ -8075,7 +8075,7 @@
-
- # Define the identity of the package.
- PACKAGE='dvipdfm-x--tex-live-'
-- VERSION='20180217'
-+ VERSION='20180506'
-
-
- cat >>confdefs.h <<_ACEOF
-@@ -14744,7 +14744,7 @@
- Report bugs to <bug-libtool@gnu.org>."
-
- lt_cl_version="\
--dvipdfm-x (TeX Live) config.lt 20180217
-+dvipdfm-x (TeX Live) config.lt 20180506
- configured by $0, generated by GNU Autoconf 2.69.
-
- Copyright (C) 2011 Free Software Foundation, Inc.
-@@ -16624,7 +16624,7 @@
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.
- ac_log="
--This file was extended by dvipdfm-x (TeX Live) $as_me 20180217, which was
-+This file was extended by dvipdfm-x (TeX Live) $as_me 20180506, which was
- generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
-@@ -16694,7 +16694,7 @@
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
- ac_cs_version="\\
--dvipdfm-x (TeX Live) config.status 20180217
-+dvipdfm-x (TeX Live) config.status 20180506
- configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-diff -ur ./texk/dvipdfm-x/configure.ac ../b18/texk/dvipdfm-x/configure.ac
---- ./texk/dvipdfm-x/configure.ac 2018-02-28 00:14:55.000000000 +0100
-+++ ../b18/texk/dvipdfm-x/configure.ac 2018-06-25 22:07:47.183276612 +0200
-@@ -7,7 +7,7 @@
- dnl gives unlimited permission to copy and/or distribute it,
- dnl with or without modifications, as long as this notice is preserved.
- dnl
--AC_INIT([dvipdfm-x (TeX Live)], [20180217], [tex-k@tug.org])
-+AC_INIT([dvipdfm-x (TeX Live)], [20180506], [tex-k@tug.org])
- AC_PREREQ([2.65])
- AC_CONFIG_SRCDIR([agl.c])
- AC_CONFIG_AUX_DIR([../../build-aux])
-diff -ur ./texk/dvipdfm-x/pngimage.c ../b18/texk/dvipdfm-x/pngimage.c
---- ./texk/dvipdfm-x/pngimage.c 2018-02-17 09:41:35.000000000 +0100
-+++ ../b18/texk/dvipdfm-x/pngimage.c 2018-06-25 22:07:49.306275165 +0200
-@@ -964,12 +964,16 @@
- png_bytep trans;
- int num_trans;
- png_uint_32 i;
-+ png_byte bpc, mask, shift;
-
- if (!png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) ||
- !png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, NULL)) {
- WARN("%s: PNG does not have valid tRNS chunk but tRNS is requested.", PNG_DEBUG_STR);
- return NULL;
- }
-+ bpc = png_get_bit_depth(png_ptr, info_ptr);
-+ mask = 0xff >> (8 - bpc);
-+ shift = 8 - bpc;
-
- smask = pdf_new_stream(STREAM_COMPRESS);
- dict = pdf_stream_dict(smask);
-@@ -981,7 +985,8 @@
- pdf_add_dict(dict, pdf_new_name("ColorSpace"), pdf_new_name("DeviceGray"));
- pdf_add_dict(dict, pdf_new_name("BitsPerComponent"), pdf_new_number(8));
- for (i = 0; i < width*height; i++) {
-- png_byte idx = image_data_ptr[i];
-+ /* data is packed for 1/2/4 bpc formats, msb first */
-+ png_byte idx = (image_data_ptr[bpc * i / 8] >> (shift - bpc * i % 8)) & mask;
- smask_data_ptr[i] = (idx < num_trans) ? trans[idx] : 0xff;
- }
- pdf_add_stream(smask, (char *)smask_data_ptr, width*height);
-diff -ur ./texk/dvipdfm-x/tt_cmap.c ../b18/texk/dvipdfm-x/tt_cmap.c
---- ./texk/dvipdfm-x/tt_cmap.c 2017-12-09 15:07:09.000000000 +0100
-+++ ../b18/texk/dvipdfm-x/tt_cmap.c 2018-06-25 22:07:49.617274953 +0200
-@@ -1,6 +1,6 @@
- /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
-
-- Copyright (C) 2007-2017 by Jin-Hwan Cho and Shunsaku Hirata,
-+ Copyright (C) 2007-2018 by Jin-Hwan Cho and Shunsaku Hirata,
- the dvipdfmx project team.
-
- This program is free software; you can redistribute it and/or modify
-@@ -928,19 +928,12 @@
- }
- #undef MAX_UNICODES
- if (unicode_count == -1) {
--#if defined(LIBDPX)
- if(verbose > VERBOSE_LEVEL_MIN) {
- if (name)
- MESG("No Unicode mapping available: GID=%u, name=%s\n", gid, name);
- else
- MESG("No Unicode mapping available: GID=%u\n", gid);
- }
--#else
-- if (name)
-- MESG("No Unicode mapping available: GID=%u, name=%s\n", gid, name);
-- else
-- MESG("No Unicode mapping available: GID=%u\n", gid);
--#endif /* LIBDPX */
- } else {
- /* the Unicode characters go into wbuf[2] and following, in UTF16BE */
- /* we rely on WBUF_SIZE being more than adequate for MAX_UNICODES */
-@@ -1021,13 +1014,7 @@
- {
- USHORT count = 0;
- USHORT cid = cffont ? cff_charsets_lookup_inverse(cffont, gid) : gid;
--
-- /* Skip PUA characters and alphabetic presentation forms, allowing
-- * handle_subst_glyphs() as it might find better mapping. Fixes the
-- * mapping of ligatures encoded in PUA in fonts like Linux Libertine
-- * and old Adobe fonts.
-- */
-- if (is_used_char2(used_chars, cid) && !is_PUA_or_presentation(ch)) {
-+ if (is_used_char2(used_chars, cid)) {
- int len;
- unsigned char *p = wbuf + 2;
-
-@@ -1038,11 +1025,18 @@
- len = UC_UTF16BE_encode_char((int32_t) ch, &p, wbuf + WBUF_SIZE);
- CMap_add_bfchar(cmap, wbuf, 2, wbuf + 2, len);
-
-- /* Avoid duplicate entry
-- * There are problem when two Unicode code is mapped to
-- * single glyph...
-+ /* Skip PUA characters and alphabetic presentation forms, allowing
-+ * handle_subst_glyphs() as it might find better mapping. Fixes the
-+ * mapping of ligatures encoded in PUA in fonts like Linux Libertine
-+ * and old Adobe fonts.
- */
-- used_chars[cid / 8] &= ~(1 << (7 - (cid % 8)));
-+ if (!is_PUA_or_presentation(ch)) {
-+ /* Avoid duplicate entry
-+ * There are problem when two Unicode code is mapped to
-+ * single glyph...
-+ */
-+ used_chars[cid / 8] &= ~(1 << (7 - (cid % 8)));
-+ }
- }
-
- return count;
-diff -ur ./texk/web2c/ptexdir/ChangeLog ../b18/texk/web2c/ptexdir/ChangeLog
---- ./texk/web2c/ptexdir/ChangeLog 2018-02-05 13:35:05.000000000 +0100
-+++ ../b18/texk/web2c/ptexdir/ChangeLog 2018-06-25 22:08:39.566240911 +0200
-@@ -1,3 +1,16 @@
-+2018-05-06 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
-+
-+ * kanji.c: More strict check kanji token.
-+
-+2018-04-14 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
-+
-+ * ptex-base.ch: Fix issue GitHub:texjporg/tex-jp-build#57
-+ that discontinuous KINSOKU/INHIBIT table cannot be
-+ searched properly.
-+ (regression caused by a commmit of 2017-09-11)
-+ * tests/free_pena.tex, tests/free_ixsp.tex: Added.
-+ * ptex_version.h: pTeX version p3.8.1.
-+
- 2018-02-05 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
-
- * ptex-base.ch: Set subtype for JFM glue in math list.
-diff -ur ./texk/web2c/ptexdir/kanji.c ../b18/texk/web2c/ptexdir/kanji.c
---- ./texk/web2c/ptexdir/kanji.c 2016-11-25 19:24:38.000000000 +0100
-+++ ../b18/texk/web2c/ptexdir/kanji.c 2018-06-25 22:08:39.675240837 +0200
-@@ -4,6 +4,7 @@
- */
-
- #include "kanji.h"
-+#define CS_TOKEN_FLAG 0xFFFF
-
- #if !defined(WIN32)
- int sjisterminal;
-@@ -12,7 +13,8 @@
- /* TOKEN */
- boolean check_kanji(integer c)
- {
-- return is_char_kanji(c);
-+ if (c >= CS_TOKEN_FLAG) return false;
-+ else return is_char_kanji(c);
- }
-
- boolean is_char_ascii(integer c)
-diff -ur ./texk/web2c/ptexdir/ptex-base.ch ../b18/texk/web2c/ptexdir/ptex-base.ch
---- ./texk/web2c/ptexdir/ptex-base.ch 2018-02-05 13:35:05.000000000 +0100
-+++ ../b18/texk/web2c/ptexdir/ptex-base.ch 2018-06-25 22:08:39.677240836 +0200
-@@ -58,6 +58,7 @@
- % pTeX p3.7.1.
- % (2017-09-07) HK pTeX p3.7.2 More restrictions on direction change commands.
- % (2018-01-21) HK Added \ptexversion primitive and co. pTeX p3.8.
-+% (2018-04-14) HK pTeX p3.8.1 Bug fix for discontinuous KINSOKU table.
- %
-
- @x
-@@ -73,8 +74,8 @@
- @y
- @d pTeX_version=3
- @d pTeX_minor_version=8
--@d pTeX_revision==".0"
--@d pTeX_version_string=='-p3.8.0' {current \pTeX\ version}
-+@d pTeX_revision==".1"
-+@d pTeX_version_string=='-p3.8.1' {current \pTeX\ version}
- @#
- @d pTeX_banner=='This is pTeX, Version 3.14159265',pTeX_version_string
- @d pTeX_banner_k==pTeX_banner
-@@ -6397,6 +6398,8 @@
- @d inhibit_both=0 {disable to insert space before 2byte-char and after it}
- @d inhibit_previous=1 {disable to insert space before 2byte-char}
- @d inhibit_after=2 {disable to insert space after 2byte-char}
-+@d inhibit_none=3 {enable to insert space before/after 2byte-char}
-+@d inhibit_unused=4 {unused entry}
- @d no_entry=1000
- @d new_pos=0
- @d cur_pos=1
-@@ -6427,14 +6430,15 @@
- begin s:=calc_pos(c); p:=s;
- if n=new_pos then
- begin repeat
-- if (inhibit_xsp_code(p)=0)or(inhibit_xsp_code(p)=c) then goto done;
-+ if (inhibit_xsp_type(p)=inhibit_unused)or(inhibit_xsp_code(p)=0)
-+ or(inhibit_xsp_code(p)=c) then goto done;
- incr(p); if p>255 then p:=0;
- until s=p; p:=no_entry;
- end
- else
- begin repeat
-- if inhibit_xsp_code(p)=0 then goto done1;
-- if inhibit_xsp_code(p)=c then goto done;
-+ if inhibit_xsp_code(p)=0 then goto done1
-+ else if (inhibit_xsp_type(p)<>inhibit_unused)and(inhibit_xsp_code(p)=c) then goto done;
- incr(p); if p>255 then p:=0;
- until s=p;
- done1: p:=no_entry;
-@@ -6447,9 +6451,10 @@
- begin p:=cur_chr; scan_int; n:=cur_val; scan_optional_equals; scan_int;
- if is_char_kanji(n) then
- begin j:=get_inhibit_pos(tokanji(n),new_pos);
-- if (j<>no_entry)and(cur_val>inhibit_after)and(global or cur_level=level_one) then
-- begin n:=0; cur_val:=0 end
-- { remove the entry from inhibit table }
-+ if (j<>no_entry)and(cur_val>inhibit_after) then
-+ begin if global or(cur_level=level_one) then cur_val:=inhibit_unused
-+ { remove the entry from inhibit table }
-+ else cur_val:=inhibit_none; end
- else if j=no_entry then
- begin print_err("Inhibit table is full!!");
- help1("I'm skipping this control sequences.");@/
-@@ -6466,7 +6471,7 @@
-
- @ @<Fetch inhibit type from some table@>=
- begin scan_int; q:=get_inhibit_pos(tokanji(cur_val),cur_pos);
--cur_val_level:=int_val; cur_val:=3;
-+cur_val_level:=int_val; cur_val:=inhibit_none;
- if q<>no_entry then cur_val:=inhibit_xsp_type(q);
- end
-
-@@ -6476,6 +6481,7 @@
-
- @d pre_break_penalty_code=1
- @d post_break_penalty_code=2
-+@d kinsoku_unused_code=3
-
- @<Put each...@>=
- primitive("prebreakpenalty",assign_kinsoku,pre_break_penalty_code);
-@@ -6502,15 +6508,16 @@
- gubed
- if n=new_pos then
- begin repeat
-- if (kinsoku_type(p)=0)or(kinsoku_code(p)=c) then goto done;
-+ if (kinsoku_type(p)=0)or(kinsoku_type(p)=kinsoku_unused_code)
-+ or(kinsoku_code(p)=c) then goto done;
- incr(p); if p>255 then p:=0;
- until s=p;
- p:=no_entry;
- end
- else
- begin repeat
-- if kinsoku_type(p)=0 then goto done1;
-- if kinsoku_code(p)=c then goto done;
-+ if kinsoku_type(p)=0 then goto done1
-+ else if (kinsoku_type(p)<>kinsoku_unused_code)and(kinsoku_code(p)=c) then goto done;
- incr(p); if p>255 then p:=0;
- until s=p;
- done1: p:=no_entry;
-@@ -6523,8 +6530,8 @@
- begin p:=cur_chr; scan_int; n:=cur_val; scan_optional_equals; scan_int;
- if is_char_ascii(n) or is_char_kanji(n) then
- begin j:=get_kinsoku_pos(tokanji(n),new_pos);
-- if (j<>no_entry)and(cur_val=0)and(global or cur_level=level_one) then
-- define(kinsoku_base+j,0,0) { remove the entry from KINSOKU table }
-+ if (j<>no_entry)and(cur_val=0)and(global or(cur_level=level_one)) then
-+ define(kinsoku_base+j,kinsoku_unused_code,0) { remove the entry from KINSOKU table }
- else begin
- if j=no_entry then begin
- print_err("KINSOKU table is full!!");
-diff -ur ./texk/web2c/ptexdir/ptex_version.h ../b18/texk/web2c/ptexdir/ptex_version.h
---- ./texk/web2c/ptexdir/ptex_version.h 2018-01-21 04:48:06.000000000 +0100
-+++ ../b18/texk/web2c/ptexdir/ptex_version.h 2018-06-25 22:08:39.678240835 +0200
-@@ -1 +1 @@
--#define PTEX_VERSION "p3.8.0"
-+#define PTEX_VERSION "p3.8.1"
-diff -ur ./texk/web2c/uptexdir/kanji.c ../b18/texk/web2c/uptexdir/kanji.c
---- ./texk/web2c/uptexdir/kanji.c 2018-02-25 01:31:25.000000000 +0100
-+++ ../b18/texk/web2c/uptexdir/kanji.c 2018-06-25 22:08:41.864239345 +0200
-@@ -18,7 +18,7 @@
- /* TOKEN */
- boolean check_kanji (integer c)
- {
-- if (c > CS_TOKEN_FLAG) return false;
-+ if (c >= CS_TOKEN_FLAG) return false;
- else if (!(XXHi(c)>=KCAT_KANJI && XXHi(c)<=KCAT_HANGUL)) return false;
- else return is_char_kanji(c);
- }
-diff -ur ./utils/README ../b18/utils/README
---- ./utils/README 2018-04-08 22:08:33.000000000 +0200
-+++ ../b18/utils/README 2018-06-25 22:08:45.738236705 +0200
-@@ -1,4 +1,4 @@
--$Id: README 47384 2018-04-08 20:08:33Z karl $
-+$Id: README 47642 2018-05-08 16:06:43Z karl $
- Public domain. Originally written 2005 by Karl Berry.
-
- Extra utilities we (optionally) compile for TeX Live.
-@@ -16,7 +16,7 @@
-
- lacheck - maintained here, by us
-
--m-tx 0.63 - checked 09jan18
-+m-tx 0.63a - checked 29apr18
- http://ctan.org/pkg/m-tx/
-
- pmx 2.8.4 - checked 14feb18
-diff -ur ./utils/m-tx/ChangeLog ../b18/utils/m-tx/ChangeLog
---- ./utils/m-tx/ChangeLog 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/ChangeLog 2018-06-25 22:08:49.771233956 +0200
-@@ -1,3 +1,7 @@
-+2018-04-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
-+
-+ * Import m-tx 0.63a.
-+
- 2018-01-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
-
- * Import m-tx 0.63.
-diff -ur ./utils/m-tx/TLpatches/ChangeLog ../b18/utils/m-tx/TLpatches/ChangeLog
---- ./utils/m-tx/TLpatches/ChangeLog 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/TLpatches/ChangeLog 2018-06-25 22:08:49.772233956 +0200
-@@ -1,3 +1,7 @@
-+2018-04-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
-+
-+ * patch-01-write-bin: Update for 0.63a.
-+
- 2018-01-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
-
- * patch-01-write-bin: Update for 0.63.
-diff -ur ./utils/m-tx/TLpatches/TL-Changes ../b18/utils/m-tx/TLpatches/TL-Changes
---- ./utils/m-tx/TLpatches/TL-Changes 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/TLpatches/TL-Changes 2018-06-25 22:08:49.772233956 +0200
-@@ -1,4 +1,4 @@
--Changes applied to the mtx-0.63 tree as obtained from:
-+Changes applied to the mtx-0.63a tree as obtained from:
- http://www.ctan.org/tex-archive/support/m-tx/
-
- Remove:
-diff -ur ./utils/m-tx/TLpatches/patch-01-write-bin ../b18/utils/m-tx/TLpatches/patch-01-write-bin
---- ./utils/m-tx/TLpatches/patch-01-write-bin 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/TLpatches/patch-01-write-bin 2018-06-25 22:08:49.772233956 +0200
-@@ -1,6 +1,21 @@
--diff -ur mtx-0.63.orig/globals.c mtx-0.63/globals.c
----- mtx-0.63.orig/globals.c Tue Jan 09 01:39:42 2018
--+++ mtx-0.63/globals.c Tue Jan 09 08:46:40 2018
-+diff -ur mtx-0.63a/files.c mtx-src/files.c
-+--- mtx-0.63a/files.c Tue Jan 09 01:39:42 2018
-++++ mtx-src/files.c Wed Apr 25 18:07:12 2018
-+@@ -289,9 +289,9 @@
-+ pushFile(infilename);
-+ strcpy(outfile_NAME, outfilename);
-+ if (outfile != NULL)
-+- outfile = freopen(outfile_NAME, "w", outfile);
-++ outfile = freopen(outfile_NAME, "wb", outfile);
-+ else
-+- outfile = fopen(outfile_NAME, "w");
-++ outfile = fopen(outfile_NAME, "wb");
-+ _SETIO(outfile != NULL, FileNotFound);
-+ strcpy(stylefile_NAME, stylefilename);
-+ if (stylefile != NULL)
-+diff -ur mtx-0.63a/globals.c mtx-src/globals.c
-+--- mtx-0.63a/globals.c Tue Jan 09 01:39:42 2018
-++++ mtx-src/globals.c Wed Apr 25 18:07:37 2018
- @@ -230,7 +230,7 @@
- if (outfile != NULL)
- fclose(outfile);
-diff -ur ./utils/m-tx/configure ../b18/utils/m-tx/configure
---- ./utils/m-tx/configure 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/configure 2018-06-25 22:08:49.879233883 +0200
-@@ -1,6 +1,6 @@
- #! /bin/sh
- # Guess values for system-dependent variables and create Makefiles.
--# Generated by GNU Autoconf 2.69 for m-tx (TeX Live) 0.63.
-+# Generated by GNU Autoconf 2.69 for m-tx (TeX Live) 0.63a.
- #
- # Report bugs to <tex-k@tug.org>.
- #
-@@ -580,8 +580,8 @@
- # Identity of this package.
- PACKAGE_NAME='m-tx (TeX Live)'
- PACKAGE_TARNAME='m-tx--tex-live-'
--PACKAGE_VERSION='0.63'
--PACKAGE_STRING='m-tx (TeX Live) 0.63'
-+PACKAGE_VERSION='0.63a'
-+PACKAGE_STRING='m-tx (TeX Live) 0.63a'
- PACKAGE_BUGREPORT='tex-k@tug.org'
- PACKAGE_URL=''
-
-@@ -1275,7 +1275,7 @@
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
--\`configure' configures m-tx (TeX Live) 0.63 to adapt to many kinds of systems.
-+\`configure' configures m-tx (TeX Live) 0.63a to adapt to many kinds of systems.
-
- Usage: $0 [OPTION]... [VAR=VALUE]...
-
-@@ -1341,7 +1341,7 @@
-
- if test -n "$ac_init_help"; then
- case $ac_init_help in
-- short | recursive ) echo "Configuration of m-tx (TeX Live) 0.63:";;
-+ short | recursive ) echo "Configuration of m-tx (TeX Live) 0.63a:";;
- esac
- cat <<\_ACEOF
-
-@@ -1438,7 +1438,7 @@
- test -n "$ac_init_help" && exit $ac_status
- if $ac_init_version; then
- cat <<\_ACEOF
--m-tx (TeX Live) configure 0.63
-+m-tx (TeX Live) configure 0.63a
- generated by GNU Autoconf 2.69
-
- Copyright (C) 2012 Free Software Foundation, Inc.
-@@ -1861,7 +1861,7 @@
- This file contains any messages produced by compilers while
- running configure, to aid debugging if configure makes a mistake.
-
--It was created by m-tx (TeX Live) $as_me 0.63, which was
-+It was created by m-tx (TeX Live) $as_me 0.63a, which was
- generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-@@ -3784,7 +3784,7 @@
-
- # Define the identity of the package.
- PACKAGE='m-tx--tex-live-'
-- VERSION='0.63'
-+ VERSION='0.63a'
-
-
- cat >>confdefs.h <<_ACEOF
-@@ -5868,7 +5868,7 @@
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.
- ac_log="
--This file was extended by m-tx (TeX Live) $as_me 0.63, which was
-+This file was extended by m-tx (TeX Live) $as_me 0.63a, which was
- generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
-@@ -5925,7 +5925,7 @@
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
- ac_cs_version="\\
--m-tx (TeX Live) config.status 0.63
-+m-tx (TeX Live) config.status 0.63a
- configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-diff -ur ./utils/m-tx/mtx-src/Corrections ../b18/utils/m-tx/mtx-src/Corrections
---- ./utils/m-tx/mtx-src/Corrections 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/mtx-src/Corrections 2018-06-25 22:08:49.880233882 +0200
-@@ -3,6 +3,12 @@
-
- Newest items at top. You might also want to look at file `MAINTENANCE`.
-
-+Version 0.63a
-+-------------
-+
-+Commented out apparently spurious begin...end block in preambleDefaults
-+in preamble.pas. (RDT)
-+
- Version 0.63
- ------------
-
-diff -ur ./utils/m-tx/mtx-src/files.c ../b18/utils/m-tx/mtx-src/files.c
---- ./utils/m-tx/mtx-src/files.c 2016-11-25 19:24:43.000000000 +0100
-+++ ../b18/utils/m-tx/mtx-src/files.c 2018-06-25 22:08:49.882233881 +0200
-@@ -289,9 +289,9 @@
- pushFile(infilename);
- strcpy(outfile_NAME, outfilename);
- if (outfile != NULL)
-- outfile = freopen(outfile_NAME, "w", outfile);
-+ outfile = freopen(outfile_NAME, "wb", outfile);
- else
-- outfile = fopen(outfile_NAME, "w");
-+ outfile = fopen(outfile_NAME, "wb");
- _SETIO(outfile != NULL, FileNotFound);
- strcpy(stylefile_NAME, stylefilename);
- if (stylefile != NULL)
-diff -ur ./utils/m-tx/mtx-src/libp2c/p2clib.c ../b18/utils/m-tx/mtx-src/libp2c/p2clib.c
---- ./utils/m-tx/mtx-src/libp2c/p2clib.c 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/mtx-src/libp2c/p2clib.c 2018-06-25 22:08:49.883233880 +0200
-@@ -73,8 +73,8 @@
- {
- register char *dd = (char *)d, *ss = (char *)s;
- if (dd < ss || dd - ss >= n) {
--#if defined(bcopy) && defined(memcpy)
-- my_memcpy(dd, ss, n);
-+#if defined(bcopy) && defined(memcpy)
-+ Anyptr my_memcpy(Anyptr d, Const Anyptr s, size_t n);
- #else
- memcpy(dd, ss, n);
- #endif
-diff -ur ./utils/m-tx/mtx-src/preamble.c ../b18/utils/m-tx/mtx-src/preamble.c
---- ./utils/m-tx/mtx-src/preamble.c 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/mtx-src/preamble.c 2018-06-25 22:08:49.953233832 +0200
-@@ -801,8 +801,8 @@
- stave_size[i] = unspec;
- for (i = 0; i <= maxstaves; i++)
- nspace[i] = unspec;
-- nspace[i] = unspec;
-- stave_size[i-1] = unspec;
-+ /* next line seems to be spurious. 0.63a RDT */
-+ /* begin nspace[i]:=unspec; stave_size[i]:=unspec; end; */
- n_pages = 1;
- n_systems = 1;
- readStyles();
-diff -ur ./utils/m-tx/mtx-src/preamble.pas ../b18/utils/m-tx/mtx-src/preamble.pas
---- ./utils/m-tx/mtx-src/preamble.pas 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/mtx-src/preamble.pas 2018-06-25 22:08:49.953233832 +0200
-@@ -501,7 +501,8 @@
- for i:=1 to maxvoices do setVocal(i,false);
- for i:=1 to maxstaves do stave_size[i]:=unspec;
- for i:=0 to maxstaves do nspace[i]:=unspec;
-- begin nspace[i]:=unspec; stave_size[i]:=unspec; end;
-+ { next line seems to be spurious. 0.63a RDT }
-+ { begin nspace[i]:=unspec; stave_size[i]:=unspec; end; }
- n_pages:=1; n_systems:=1;
- readStyles; old_known_styles := known_styles;
- for i:=1 to lines_in_paragraph do omit_line[i]:=false;
-diff -ur ./utils/m-tx/mtx-src/prepmx.c ../b18/utils/m-tx/mtx-src/prepmx.c
---- ./utils/m-tx/mtx-src/prepmx.c 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/mtx-src/prepmx.c 2018-06-25 22:08:49.954233832 +0200
-@@ -66,8 +66,8 @@
-
- /** M-Tx preprocessor to PMX Dirk Laurie */
-
--#define version "0.63"
--#define version_date "<7 January 2018>"
-+#define version "0.63a"
-+#define version_date "<8 April 2018>"
-
- /** See file "Corrections" for updates */
-
-@@ -758,7 +758,7 @@
- Static void topOfPMXfile(void)
- {
- Char STR2[24];
-- Char STR3[32];
-+ Char STR3[30];
-
- putLine("---");
- sprintf(STR2, "\\def\\mtxversion{%s}", version);
-diff -ur ./utils/m-tx/mtx-src/prepmx.pas ../b18/utils/m-tx/mtx-src/prepmx.pas
---- ./utils/m-tx/mtx-src/prepmx.pas 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/mtx-src/prepmx.pas 2018-06-25 22:08:49.954233832 +0200
-@@ -5,8 +5,8 @@
- { CMO: addition/change by Christian Mondrup }
-
- {* M-Tx preprocessor to PMX Dirk Laurie }
--const version = '0.63';
-- version_date = '<7 January 2018>';
-+const version = '0.63a';
-+ version_date = '<8 April 2018>';
-
- {* See file "Corrections" for updates }
-
-diff -ur ./utils/m-tx/tests/mozart.pmx ../b18/utils/m-tx/tests/mozart.pmx
---- ./utils/m-tx/tests/mozart.pmx 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/tests/mozart.pmx 2018-06-25 22:08:50.059233760 +0200
-@@ -1,6 +1,6 @@
- ---
--\def\mtxversion{0.63}
--\def\mtxdate{<7 January 2018>}
-+\def\mtxversion{0.63a}
-+\def\mtxdate{<8 April 2018>}
- \input mtx
- \mtxComposerLine{}{W. A. Mozart (1756--1791)}
- \mtxTitleLine{Riff in C}
-diff -ur ./utils/m-tx/version.ac ../b18/utils/m-tx/version.ac
---- ./utils/m-tx/version.ac 2018-01-09 04:41:12.000000000 +0100
-+++ ../b18/utils/m-tx/version.ac 2018-06-25 22:08:50.059233760 +0200
-@@ -8,4 +8,4 @@
- dnl --------------------------------------------------------
- dnl
- dnl m4-include this file to define the current mtx version
--m4_define([mtx_version], [0.63])
-+m4_define([mtx_version], [0.63a])
diff --git a/office/texlive/patches/synctex-missing-header.patch b/office/texlive/patches/synctex-missing-header.patch
deleted file mode 100644
index e783bd0bc1..0000000000
--- a/office/texlive/patches/synctex-missing-header.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- texk/web2c/Makefile.in.orig 2018-07-23 11:03:30.763277046 +0200
-+++ texk/web2c/Makefile.in 2018-07-23 11:04:53.940224054 +0200
-@@ -1762,6 +1762,7 @@
- MANS = $(dist_man_MANS) $(nodist_man_MANS)
- DATA = $(pkgconfig_DATA)
- am__syncinclude_HEADERS_DIST = synctexdir/synctex_parser.h \
-+ synctexdir/synctex_version.h \
- synctexdir/synctex_parser_utils.h
- HEADERS = $(syncinclude_HEADERS)
- RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
-@@ -4021,6 +4022,7 @@
- pkgconfigdir = ${libdir}/pkgconfig
- @SYNCTEX_TRUE@syncinclude_HEADERS = \
- @SYNCTEX_TRUE@ synctexdir/synctex_parser.h \
-+@SYNCTEX_TRUE@ synctexdir/synctex_version.h \
- @SYNCTEX_TRUE@ synctexdir/synctex_parser_utils.h
-
- @SYNCTEX_TRUE@pkgconfig_DATA = synctexdir/synctex.pc
diff --git a/office/texlive/prep/texmf_get.sh b/office/texlive/prep/texmf_get.sh
deleted file mode 100644
index fa4f3f752d..0000000000
--- a/office/texlive/prep/texmf_get.sh
+++ /dev/null
@@ -1,1076 +0,0 @@
-#!/bin/bash
-
-# texmf_get.sh (c) 2016 - 2018 Johannes Schoepfer, Germany, slackbuilds[at]schoepfer[dot]info
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# V 15.0.2
-#
-# Prepare xz-compressed tarballs of texlive-texmf-trees based on texlive.tlpdb
-# This script takes care of dependencies(as far as these are present in texlive.tlpdb)
-# of collections and packages, and that every texlive-package is included only once.
-# The editions(base/extra/docs) should contain no binaries(exception biber)
-# -base: the most usefull stuff, most binaries/scripts,
-# manpages for compiled binaries 65mb 2017-11-07
-# -docs: -base documentation only, no manpages/GNU infofiles
-# -extra: remaining stuff and corresponding docs
-#
-# texlive netarchive policy: Every package is included as dependency
-# in exactly one collection. A package may have dependencies on other
-# packages from any collection.
-
-# package source: http://mirror.ctan.org/systems/texlive/tlnet/archive/
-
-#set -e
-MAJORVERSION=2018
-mirror="http://mirror.ctan.org/systems/texlive/tlnet/"
-TMP=$PWD/tmp
-
-# Globally excluded packages, which are/contain
-# -useless without tlmgr-installer
-# -non-linux
-# -covered by an external package, e.g. asymptote on SBo
-# -obsolete, e.g. omega
-# -java dependend packages
-# -binaries provided already by texlive.Slackbuild
-# -binaries provided already other system packages, e.g. texlive-scripts.ARCH
-# -only sources, or hyphen directives, e.g. metatype1, patch, ...
-# -only hyphen directives, e.g. hyphen-farsi ...
-
-global_exclude="
- aleph
- antomega
- asymptote
- bibtexu
- cslatex
- dviout.win32
- hyphen-arabic
- hyphen-farsi
- lambda
- metatype1
- ocherokee
- oinuit
- omega
- omegaware
- otibet
- patch
- texlive-common
- texlive-docindex
- texlive-msg-translations
- texlive-scripts
- texlive.infra
- texliveonfly
- texosquery
- texworks
- tlcockpit
- tlshell
- wintools.win32
- "
-
- # special packages, move their type1 fonts(if metafonts are present)
- # and/or docs to -extra
-special_packages="
- koma-script
- velthuis
- armtex
- montex
- vntex
- pl
- cc-pl
- cs
- musixtex-fonts
- tipa
- cbfonts
- ptex-fonts
- uptex-fonts
- "
-#Todo: split type1 fonts, or keep subset of type1 fonts in base
-# cm-super
-
-# keep precompiled binaries, list binary, not package name
-keep_precompiled="
- biber
- "
-
-texmf_editions () {
-
- # "excludes from -base", also dependencies are excluded
- PACKAGES="
- cm-super
- biber
- bib2gls
- knitting
- pgfornament
- pgfplots
- pst-cox
- pst-poker
- pst-vectorian
- pst-geo
- bclogo
- $(grep ^"name .*biblatex" $db | cut -d' ' -f2 )
- " texmfget extra || exit 1
-
- # packages/collections and their dependencies for -base
- PACKAGES="
- $(cat $corepackages)
- etoolbox
- xcolor
- memoir
- velthuis
- wasy
- ptex
- platex
- revtex
- uptex
- uplatex
- collection-basic
- collection-latex
- collection-metapost
- collection-plaingeneric
- collection-luatex
- collection-context
- collection-fontutils
- collection-langczechslovak
- collection-langeuropean
- collection-langenglish
- collection-langfrench
- collection-langitalian
- collection-langpolish
- collection-langportuguese
- collection-langspanish
- collection-latexrecommended
- $(collection_by_size fontsextra 70000 || exit 1)
- $(collection_by_size publishers 10000 || exit 1)
- " texmfget base
-
- # packages/collections and their dependencies for -extra
- PACKAGES="
- amiri
- arabi
- arabi-add
- arara
- arev
- bangorcsthesis
- beamer2thesis
- beamertheme-detlevcm
- beamertheme-epyt
- beamertheme-saintpetersburg
- beebe
- bhcexam
- bxtexlogo
- churchslavonic
- collection-fontsextra
- collection-langchinese
- collection-langcjk
- collection-langjapanese
- collection-langkorean
- collection-publishers
- collection-texworks
- collection-wintools
- ctan-o-mat
- ctanify
- ctanupload
- dad
- ethiop-t1
- fibeamer
- fithesis
- ghsystem
- gregoriotex
- hustthesis
- ijsra
- iwhdp
- jpsj
- kerkis
- ketcindy
- kpfonts
- langsci
- latex2nemeth
- libertine
- lilyglyphs
- lni
- luatexko
- media9
- musuos
- mwe
- newtx
- nwejm
- padauk
- pdfwin
- pdfx
- powerdot-tuliplab
- powerdot-FUBerlin
- quran
- resumecls
- sanskrit-t1
- sapthesis
- sduthesis
- seuthesix
- simurgh
- skaknew
- stellenbosch
- suanpan
- tudscr
- uantwerpendocs
- ucs
- udesoftec
- universalis
- uowthesis
- wasy2-ps
- xduthesis
- xetexko
- xq
- " texmfget extra || exit 1
-
- # What's left, for base again
- PACKAGES="
- collection-fontsrecommended
- collection-xetex
- collection-langcyrillic
- collection-langarabic
- collection-langgerman
- collection-langgreek
- collection-langother
- collection-humanities
- collection-mathscience
- collection-pictures
- collection-pstricks
- collection-music
- collection-games
- collection-binextra
- collection-bibtexextra
- collection-formatsextra
- collection-latexextra
- " texmfget base || exit 1
-
-}
-
-# ==== Nothing to edit beyond this line ====
-
-usage () {
- echo
- echo "Generate texmf trees/editions based on collections/packages"
- echo "and their (hard)dependencies."
- echo "./texmf_get.sh [base|docs|extra|lint]"
- echo
- echo "-base: texfiles, no docs"
- echo "-docs: docs of -base"
- echo "-extra: remaining texfiles and docs"
- echo "[lint]: compare filename contents of all generated editions,"
- echo " to detect overlapping files"
- echo
- echo "Only new/updated/missing tex packages are downloaded."
- echo "The first run takes \"long\", tex packages(about 2500Mb)"
- echo "need to be downloaded."
- echo "To check out a new version/release, delete"
- echo "$db"
- echo "A new ascii index file/database(texlive.tlpdb) is will be"
- echo "pulled on the next run, and a new version yymmdd will be set."
- echo
- echo "All generated tarballs, logs etc. are going to"
- echo "$TMP"
- echo
-}
-
-collection_by_size () {
- # from collection $1, pull packages smaller $2 bytes
- start_n="$(grep -n ^"name collection-$1"$ $db | cut -d':' -f1)"
- # find end of package/collection
- for emptyline in $emptylines
- do
- if [ "$emptyline" -gt "$start_n" ]
- then
- end_n=$emptyline
- break
- fi
- done
- extrapackages="$(sed "${start_n},${end_n}!d" $db | grep ^"depend " | grep -v ^"depend collection" | sed "s/^depend//g" )"
-
- # add if smaller than ...
- for checksize in $extrapackages
- do
- package_meta $checksize || exit 1
- size=$(grep ^"containersize " $texmf/$checksize.meta | cut -d' ' -f2)
- # for $2, e.g. 3000 means 3kb
- [ $size -lt $2 ] && echo $checksize
- done
-}
-
-package_meta () {
- if [ ! -s "$texmf/$1.meta" ]
- then
- # collection start linenumer
- start_n="$(grep -n ^"name ${1}"$ $db | cut -d':' -f1)"
- [ -z "$start_n" ] && echo "$1 was not found in $db, bye." && exit 1
- # find end of package/collection
- for emptyline in $emptylines
- do
- if [ "$emptyline" -gt "$start_n" ]
- then
- end_n=$emptyline
- break
- fi
- done
- # Don't handle collections as dependency of other collections
- sed "${start_n},${end_n}!d;/^depend collection/d" $db > $texmf/$1.meta
- fi
-}
-
-download () {
- # Download packages, if not already available. Not every packages has a corresponding .doc package.
- # Try three times if package isn't present, with -t1 to get another mirror the second time
- cd $texmf
- if [ ! -s "${1}${flavour}.tar.xz" ]
- then
- for run in {1..10}
- do
- wget -t1 -c ${mirror}archive/${1}${flavour}.tar.xz
- [ -s "${1}${flavour}.tar.xz" ] && break
- done
- fi
- # If no success by downloading, write error log
- [ ! -s ${1}${flavour}.tar.xz ] && echo "Downloading ${1}${flavour}.tar.xz did not work, writing to $errorlog" && echo "$VERSION" >> $errorlog && echo "Error downloading ${1}${flavour}.tar.xz" >> $errorlog && exit 1
-
- # check sha512, give three tries for downloading again(diffrent mirrors are used automatically)
- if [ "$flavour" = ".doc" ]
- then
- sha512="$(grep ^doccontainerchecksum $texmf/$1.meta | cut -d' ' -f2 )"
- else
- sha512="$(grep ^containerchecksum $texmf/$1.meta | cut -d' ' -f2 )"
- fi
-
- for run in {1..10}
- do
- if [ "$(sha512sum ${1}${flavour}.tar.xz | cut -d' ' -f1 )" != "$sha512" ]
- then
- # Download (hopefully) newer file
- rm ${1}${flavour}.tar.xz
- wget -t1 -c ${mirror}archive/${1}${flavour}.tar.xz
- else
- break
- fi
- done
- # check sha512 again, exit if it fails
- if [ "$(sha512sum ${1}${flavour}.tar.xz | cut -d' ' -f1 )" != "$sha512" ]
- then
- echo "sha512sum $(sha512sum ${1}${flavour}.tar.xz | cut -d' ' -f1 ) of"
- echo "${package}${flavour}.tar.xz doesn't match with $db"
- # delete metafile on failure to get generated again on next run, where new $db may be in use
- rm $texmf/$1.meta
- echo "sha512sum $sha512"
- echo "Delete ${db}* to be current again, and try again."
- exit 1
- fi
-}
-
-untar () {
- # leave if $1 has no content
- if [ -s "$1" ]
- then
- while read package
- do
- echo "untar $package"
- # untar all packages, check for relocation, "relocate 1" -> untar in texmf-dist
- download $package || exit 1
- # untar the tex package, relocate to texmf-dist if necessary, binpackages always need relocation
- relocated='.'
- [ -n "$(grep -w ^"relocated 1" $texmf/$package.meta)" -o -n "$(grep ^"binfiles " $texmf/$package.meta)" ] && relocated="texmf-dist"
- # if not .doc package, investigate files for dependencies/provides
- if [ -n "$flavour" ]
- then
- tar xf ${package}${flavour}.tar.xz --exclude tlpkg -C $relocated || exit 1
- else
- #tar vxf ${package}${flavour}.tar.xz --exclude tlpkg -C $relocated
- tar vxf ${package}${flavour}.tar.xz --exclude tlpkg -C $relocated | egrep '\.sty$|\.bbx$|\.cls$' > $texmf/$package.deps
- if [ -n "$texmf/$package.deps" ]
- then
- unset provide
- unset depends
- for depfile in $(cat $texmf/$package.deps)
- do
- filename="$( echo $depfile | rev | cut -d'.' -f2- | cut -d'/' -f1 | rev)"
- # always add $filename as "ProvidesPackage", if it's a .sty
- echo $depfile | grep '\.sty'$ &>/dev/null
- [ $? = 0 ] && provide+="${filename},"
- # remove comments, if there are backslashes ignore that content, except it is \filename
- #provide+="$(sed "s/%.*//g" $texmf/$relocated/$depfile | sed -n "s/.*\\\ProvidesPackage{\([^}]*\)}.*/\1/p" | sed "s/\\\filename/$filename/g;/\\\/d" | sort -u | tr '\n' ',')"
- #sed -z "s/.*\\\Provides\(Package\|ExplPackage\|File\|Class\)*.\n//g" | sed "s/[[:space:]]//
- #provide+="$(sed "s/%.*//g" $texmf/$relocated/$depfile | sed -z "s/.*\\\Provides\(Package\|ExplPackage\|File\|Class\)*.\n//g" | sed "s/[[:space:]]// | sed -n "s/.*\\\Provides\(Package\|ExplPackage\|File\|Class\){\([^}]*\)}.*/\2/p" | sed "s/\\\filename/$filename/g;s/\\\ExplFileName/$filename/g;/\\\/d" | sed "s/\(\.sty$\|\.cls$\)//g" | sort -u | tr '\n' ',')"
- provide+="$(sed "s/%.*//g" $texmf/$relocated/$depfile | sed -z "s/\(Package\|ExplPackage\|File\|Class\)\n/\1/g" | sed "s/[[:space:]]//" | sed -n "s/.*\\\Provides\(Package\|ExplPackage\|File\|Class\){\([^}]*\)}.*/\2/p" | sed "s/\\\filename/$filename/g;s/\\\ExplFileName/$filename/g" | sed "s/\(\.sty$\|\.cls$\)//g" | sort -u | tr '\n' ',')"
- #depends+="$(sed "s/%.*//g" $texmf/$relocated/$depfile | sed -n "s/.*\(\\\require\|\\\use\)package{\([^}]*\)}.*/\2/p" | sed "/\\\/d" | sort -u | tr '\n' ',')"
- depends+="$(sed "s/%.*//g" $texmf/$relocated/$depfile | sed -n "s/.*\(\\\require\|\\\use\)package{\([^}]*\)}.*/\2/p" | sort -u | tr '\n' ',')"
- #depends+="$(sed "s/%.*//g" $texmf/$relocated/$depfile | sed -n "s/.*\\\\(require\|use\)package{\([^}]*\)}.*/\2/p" | sed "/\\\/d" | sort -u | tr '\n' ',')"
- done
- if [ -n "$provide" ]
- then
- #echo "$package $provide | sort -u | tr '\n' ',' " >> $TMP/provides.run.$edition
- echo "$package $provide" >> $TMP/provides.run.$edition
- fi
- if [ -n "$depends" ]
- then
- echo "$package $depends" >> $TMP/depends.run.$edition
- fi
- fi
- fi
-
- # Delete binaries, these are provided
- # by texlive.Slackbuild, keep symlinks and scripts
-
- for arch in $platforms
- do
- if [ -d $texmf/texmf-dist/bin/$arch ]
- then
- [ ! -d $texmf/texmf-dist/linked_scripts ] \
- && mkdir $texmf/texmf-dist/linked_scripts
- # rewrite link target to fit systemwide installation
- for link in $(find $texmf/texmf-dist/bin/$arch -type l)
- do
- ln -sf $(readlink $link | sed "s/^..\/..\(.*\)/..\/share\1/" ) $link || exit 1
- done
- # move symlinks to linked_scripts
- find $texmf/texmf-dist/bin/$arch -type l -exec mv '{}' $texmf/texmf-dist/linked_scripts/ \;
-
- # keep only binaries of special packages
- # remove xindy.mem(gzip compresses data) to prevent overwriting
- for bin in $(find $texmf/texmf-dist/bin/$arch \
- -type f -exec file '{}' + | \
- grep -e "executable" -e "shared object" -e "gzip compressed data" | \
- grep -e ELF -e "gzip compressed data" | cut -f 1 -d : )
- do
- for binary in $keep_precompiled
- do
- if [ "$(echo $bin | rev | cut -d'/' -f1 | rev)" != "$binary" ]
- then
- rm $bin
- echo $bin | rev | cut -d'/' -f1 | rev >> $binary_removed.$edition
- fi
- done
- done
- # move scripts to linked-scripts
- scripts="$(find $texmf/texmf-dist/bin/$arch -type f -exec file '{}' + | grep -wv ELF | cut -f 1 -d : )"
- for script in $scripts
- do
- mv $script $texmf/texmf-dist/linked_scripts/
- done
- fi
- done
-
- if [ "$flavour" = ".doc" ]
- then
- size=$(grep ^doccontainersize $texmf/$package.meta | cut -d' ' -f2)
- else
- size=$(grep ^containersize $texmf/$package.meta | cut -d' ' -f2)
- fi
- shortdesc="$(grep ^shortdesc $texmf/$package.meta | cut -d' ' -f2- )"
- echo "$size byte, $package$flavour: $shortdesc" >> $output.meta
- # make index of uncompressed size of each package
- echo "$(xz -l --verbose ${package}${flavour}.tar.xz | grep "Uncompressed size" | cut -d'(' -f2 | cut -d' ' -f1 ) byte, $package$flavour: $shortdesc" >> $output.meta.uncompressed
- done < $1
-
- # copy packages index to texmf-dist, so included packages are known in later installation
- # don't list binary packages, as the binaries itself are not contained, only the symlinks.
- cat $output.meta | grep -v '\-linux:' >> $output.$edition.meta
- cat $output.meta.uncompressed | grep -v '\-linux:' >> $output.$edition.meta.uncompressed
-
- # cleanup
- [ -f $output.meta ] && rm $output.meta
- [ -f $output.meta.uncompressed ] && rm $output.meta.uncompressed
- fi
-}
-
-remove_cruft () {
- # Remove m$-stuff, ConTeXt single-user-system stuff, source leftovers and pdf-versions of manpages
- rm -rf texmf-dist/source
- rm -rf texmf-dist/scripts/context/stubs/source/
- find texmf-dist/ -type d -name 'win32' -exec rm -rf {} +
- find texmf-dist/ -type d -name 'win64' -exec rm -rf {} +
- find texmf-dist/ -type d -name 'mswin' -exec rm -rf {} +
- find texmf-dist/ -type d -name 'win' -exec rm -rf {} +
- find texmf-dist/ -type d -name 'setup' -exec rm -rf {} +
- find texmf-dist/ -type d -name 'install' -exec rm -rf {} +
- find texmf-dist/ -type f -name 'uninstall*.sh' -delete
- find texmf-dist/ -type f -name '*.bat' -delete
- find texmf-dist/ -type f -name '*.bat.w95' -delete
- find texmf-dist/ -type f -name '*win32*' -delete
- find texmf-dist/ -type f -name 'winansi*' -delete
- find texmf-dist/ -type f -name '*man1.pdf' -delete
- find texmf-dist/ -type f -name '*man5.pdf' -delete
- # Remove zero-length files, as these appear e.g. in hyph-utf8 tex-package.
- # find texmf-dist/ -type f -size 0c -delete
- find texmf-dist/ -type f -empty -delete
- # Remove empty directories recursively
- find texmf-dist/ -type d -empty -delete
-}
-
-texmfget () {
- # make sure no package is added more than once.
- echo "Preparing index of packages to be added to -${1} ..."
- echo "$PACKAGES" | sed "s/[[:space:]]//g;/^$/d" > $collections_tobedone
- # Remove outputfile if already present
- >$output
- >$output_doc
-
- # Only do something if $collection wasn't already done before
- while [ -s $collections_tobedone ]
- do
- collection=$(tail -n1 $collections_tobedone)
-
- # continue with next collection if collection was already done
- if [ -s "$collections_done" ]
- then
- grep -w "^${collection}$" $collections_done &> /dev/null
- if [ $? = 0 ]
- then
- # remove from $collections_tobedone
- sed -i "/^$collection$/d" $collections_tobedone
- if [ -n "$(grep "^${collection} added to" $logfile)" ]
- then
- echo "$collection already added " >> $logfile
- fi
- continue
- fi
- fi
-
- package_meta $collection || exit 1
-
- # If $collection is a singel package(not a collection-), add it here
- if [ -n "$(head -n1 $texmf/$collection.meta | fgrep -v "name collection" )" ]
- then
- addpackage=no
- # if package contains docs, add to docpackages
- if [ -n "$(grep ^docfiles $texmf/$collection.meta)" ]
- then
- echo "$collection" >> $output_doc
- echo "$collection added to docs $1" >> $logfile
- addpackage=yes
- fi
- if [ -n "$(grep ^runfiles $texmf/$collection.meta)" -o -n "$(grep ^binfiles $texmf/$collection.meta)" ]
- then
- echo "$collection" >> $output
- echo "$collection added to -$1" >> $logfile
- addpackage=yes
- fi
- # very package should be added to one edition, abort if that didn't work
- if [ $addpackage = no ]
- then
- echo "$collection doesn't contain any docfiles/runfiles/binfiles"
- echo "Please exclude package/report to upstream mailinglist tex-live@tug.org, bye."
- exit 1
- fi
- fi
-
- # Don't handle collections as dependency of other collections, as this destroys control over what packages to be added
- # add dependend packages, but no binary(ARCH) and no packages conataining a '.'. Packges with dot indicate binary/texlive-manager/windows packages
-
- grep ^"depend " $texmf/$collection.meta | cut -d' ' -f2- > $dependencies
-
- if [ -s "$dependencies" ]
- then
- # check for .ARCH packages which may be binaries, scripts or links
- # Binaries should all come from the sourcebuild(exception biber)
- for dependency in $(cat $dependencies)
- do
- echo $dependency | grep '\.ARCH'$ &>/dev/null
- if [ $? = 0 ]
- then
- for arch in $platforms
- do
- archpackage="$(echo $dependency | sed "s/\.ARCH$/\.$arch/")"
- grep ^"name $archpackage"$ $db &>/dev/null && echo "$archpackage" >> $dependencies.verified_arch
- done
- else
- echo $dependency >> $dependencies.verified_arch
- fi
- done
- if [ -f $dependencies.verified_arch ]
- then
- mv $dependencies.verified_arch $dependencies
- else
- rm $dependencies
- fi
- fi
-
- if [ -s "$dependencies" ]
- then
- echo "----------------" >> $logfile
- echo "Dependencies of $collection: $(cat $dependencies | tr '\n' ' ')" >> $logfile
- for dependency in $(cat $dependencies)
- do
- if [ -n "$(grep ^"${dependency}"$ $collections_done)" ]
- then
- sed -i "/^${dependency}$/d" $dependencies
- continue
- else
- for exclude in $global_exclude
- do
- if [ "$exclude" = "$dependency" ]
- then
- sed -i "/^${exclude}$/d" $dependencies
- echo "$exclude excluded, see \$global_exclude" >> $logfile
- fi
- done
- fi
- done
- cat $dependencies >> $collections_tobedone
- echo "----------------" >> $logfile
- fi
-
- sed -i "/^${collection}$/d" $collections_tobedone
- echo "$collection" >> $collections_done
- done
- # handle package index list per edition
- cat $output >> $TMP/packages.$1
- # handle doc package index, one for each edition
- cat $output_doc >> $TMP/packages.$1.doc
-
- # untar only one $edition, untar docs together with -extra edition
- if [ "$1" = $edition -o docs = $edition ]
- then
- cd $texmf
-
- # Cleanup tar-directory
- [ -d $texmf/texmf-dist ] && rm -rf $texmf/texmf-dist
- mkdir $texmf/texmf-dist
-
- # Make tarball/checksum reproducible by setting mtime(clamp-mtime), owner, group and sort content
- # --clamp-mtime --mtime doesn't work with tar 1.13, when makepkg creates the tarball:
- # tar-1.13: time_t value 9223372036854775808 too large (max=68719476735)
- echo "Adding files to $( echo $tarball | rev | cut -d'/' -f1 | rev ) ..."
- case $edition in
- base)
- unset flavour
- untar $output || exit 1
- remove_cruft || exit 1
- tar rf $tarball --owner=0 --group=0 --sort=name texmf-dist || exit 1
- rm -rf texmf-dist
- ;;
- extra)
- unset flavour
- untar $output || exit 1
- export flavour=".doc"
- untar $output_doc || exit 1
- remove_cruft || exit 1
- #tar vrf $tarball --clamp-mtime --mtime --owner=0 --group=0 --sort=name texmf-dist || exit 1
- tar rf $tarball --owner=0 --group=0 --sort=name texmf-dist || exit 1
- rm -rf texmf-dist
- ;;
- docs)
- export flavour=".doc"
- # only add -base docs to -docs
- if [ $1 = base ]
- then
- untar $output_doc || exit 1
- remove_cruft || exit 1
- #tar vrf $tarball --clamp-mtime --mtime --owner=0 --group=0 --sort=name texmf-dist || exit 1
- tar rf $tarball --owner=0 --group=0 --sort=name texmf-dist || exit 1
- rm -rf texmf-dist
- fi
- ;;
- esac
- fi
-}
-
-lint () {
-
-echo "Comparing content of all editions, this may take a while ...";
-cd $TMP
-# check if all editions of same VERSION are there, take -base as reference
-lint_version=$( ls texlive-base-*tar.xz | head -n1 | cut -d'.' -f2 || exit 1)
-if [ -s texlive-extra-$MAJORVERSION.$lint_version.tar.xz \
- -a -s texlive-docs-$MAJORVERSION.$lint_version.tar.xz ]
-then
- for edition in base extra docs
- do
- echo "Extracting index of texlive-${edition}-$MAJORVERSION.$lint_version.tar.xz ..."
- # don't list directories
- tar tf texlive-${edition}-$MAJORVERSION.$lint_version.tar.xz | grep -v '/'$ > $TMP/packages.$edition.lint
- done
-
- # compare content
- for edition in base extra docs
- do
- >$TMP/packages.$edition.lint.dup
- case $edition in
- base)
- echo "check if files of base are present in another edition"
- while read line
- do
- grep ^"$line"$ $TMP/packages.extra.lint >> $TMP/packages.base.lint.dup
- grep ^"$line"$ $TMP/packages.docs.lint >> $TMP/packages.base.lint.dup
- done < $TMP/packages.$edition.lint
- ;;
- esac
- done
-else
- echo "Not all editions are present to lint them. Create them first by"
- echo "$0 [base|docs|extra]"
- echo "bye."
- exit 1
-fi
-
-exit 0
-
-}
-
-# Main
-
-LANG=C
-output=$TMP/packages
-output_doc=$TMP/packages.doc.tmp
-errorlog=$TMP/error.log
-texmf=$TMP/texmf
-db=$TMP/texlive.tlpdb
-tmpfile=$TMP/tmpfile
-collections_done=$TMP/done
-collections_tobedone=$TMP/tobedone
-corepackages=$TMP/corepackages
-allcollections=$TMP/allcollections
-binary_removed=$TMP/binaries.removed
-manpages=$TMP/manpages
-dependencies=$TMP/deps
-packages_base=$TMP/packages.base
-packages_extra=$TMP/packages.extra
-packages_manpages=$TMP/packages.manpages
-files_split=$TMP/files.split
-platforms="x86_64-linux i386-linux"
-
-mkdir -p $texmf
-cd $TMP
-
-case "$1" in
- base|docs|extra) edition=$1;;
- lint) lint ;;
- *) usage; exit 0 ;;
-esac
-
-echo "Building $edition tarball ..."
-
-# Set VERSION, get texlive.tlpdb and keep unshorten $db.orig
-if [ ! -s ${db}.orig -o ! -s $db -o ! -s VERSION ]
-then
- echo $MAJORVERSION.$(date +%y%m%d) > VERSION
- wget -c -O ${db}.orig ${mirror}tlpkg/texlive.tlpdb
- # remove most content from $db to be faster on later processing.
- # keep dependencies/manpages/binfiles/shortdesc/sizes
- egrep \
- '^\S|^ RELOC/doc/man|^ texmf-dist/doc/man/man|^ RELOC/doc/info/|^ texmf-dist/doc/info/|^ bin|^$' \
- ${db}.orig | grep -v ^longdesc > $db
-
- # As $db (might be)/is new, remove the meta-files, might created again with (pontentionally) new content
- rm -rf $texmf/*.meta
-fi
-
-# Get linenumbers of empty lines from $db
-emptylines="$(grep -n ^$ $db | cut -d':' -f1)"
-
-# Provide TLCore packages for -base, as these packages(and their dependencies) should be present in any case.
-grep -B1 ^'category TLCore' $db | grep -v ^'category TLCore' | grep -v ^-- | grep -v '\.' | cut -d' ' -f2 > $corepackages
-
-# Make a list of all collections
-grep ^"name collection-" $db | cut -d' ' -f2 > $allcollections
-
-# translate .ARCH to platforms in excludes, to make .ARCH packages excludeable by $global_exclude
-for exclude in $global_exclude
-do
- if [ -n "$(echo $exclude | grep '\.ARCH'$ )" ]
- then
- for arch in $platforms
- do
- global_exclude+=" $(echo $exclude | sed "s/\.ARCH$/\.$arch/")"
- done
- global_exclude=${global_exclude/$exclude/}
- fi
-done
-# globally exclude from $corepackages
-for exclude in $global_exclude
-do
- sed -i "/^${exclude}$/d" $corepackages
-done
-
-VERSION=$(cat $TMP/VERSION)
-tarball=$TMP/texlive-$edition-$VERSION.tar
-# set logfile
-logfile=$TMP/$VERSION.log
-
-# reset some files
->$logfile
->$tarball
->$collections_done
->$files_split
->$manpages
->$packages_manpages
->$packages_base
->$packages_extra
->$packages_base.doc
->$packages_extra.doc
->$TMP/packages.$edition.meta
->$TMP/packages.$edition.meta.uncompressed
->$TMP/provides.run.$edition
->$TMP/depends.run.$edition
->$binary_removed.$edition
-
-# put the editions base/extra together
-texmf_editions || exit 1
-
-# Check if all collections are part in at least one edition
-while read collection
-do
- grep -w "$collection" $collections_done &> /dev/null
- if [ $? != 0 ]
- then
- echo "Error: $collection was not handled."
- echo "Edit packages/collections in the texmfget function." | tee -a $logfile
- exit 1
- fi
-done < $allcollections
-
-# cleanup
-rm $allcollections
-rm $corepackages
-rm $collections_done
-rm $collections_tobedone
-rm $output
-rm $output_doc
-rm $dependencies
-
-# untar special- and manpage packages to be splitted/moved to other editions
-# splitting special packages, files index
-echo "Prepare index of to be splitted/moved files from -base"
-[ ! -d texmf-dist ] && mkdir texmf-dist
-for package in $special_packages
-do
- echo "Splitting $package"
- # special packages have to be in -base, as only here are special
- # tasks done to reduce size of -base edition
- if [ -z "$( grep ^"$package"$ $packages_base )" ]
- then
- echo "$package was not found to be part of -base"
- echo "Edit \$special_packages in $0"
- echo "to contain only packages from -base, bye."
- exit 1
- fi
- unset relocated
- pathprefix="texmf-dist/"
- [ -n "$(grep -w ^"relocated 1" $texmf/$package.meta)" ] && \
- relocated="-C texmf-dist" && unset pathprefix
- # avoid big pdf docs which are also present as html
- # move (big)type1 fonts to -extra
- # $files_split lists files to be moved from -base -extra
- if [ $package = "cm-super" ]
- then
- # cm-super minimal for -base, create index of extended cm-super
- tar tf $texmf/$package.tar.xz | sed \
- "/1000\.pfb$/d;/^tlpkg/d;/\.sty$/d;/\.enc$/d;/\.GS$/d" \
- | tee -a $files_split > $files_split.tmp
- else
- tar tf $texmf/${package}.tar.xz | sed \
- -ne "/.*doc\/latex\/.*\.pdf$/p" \
- -ne "/.*fonts\/map\/.*\.map$/p" \
- -ne "/.*fonts\/enc\/.*\.enc$/p" \
- -ne "/.*fonts\/afm\/.*\.\(afm\|afm\.gz\)$/p" \
- -ne "/.*fonts\/type1\/.*\.pfb$/p" \
- -ne "/.*fonts\/vf\/.*\.vf$/p" \
- | tee -a $files_split > $files_split.tmp
- fi
-
- if [ $edition = base ]
- then
- # Calculate package-minimal size, uncompressed and compressed
- mkdir -p calculate/texmf-dist
- tar xf $texmf/$package.tar.xz -C calculate/texmf-dist --exclude-from=$files_split.tmp
- tar cf calculate/calc.tar.xz -I 'xz -9' calculate/texmf-dist
- size_minimal=$(du -bc calculate/calc.tar.xz | tail -n1 | sed "s/[[:space:]].*//")
- size_minimal_uncompressed="$(xz -l --verbose calculate/calc.tar.xz | grep "Uncompressed size" | cut -d'(' -f2 | cut -d' ' -f1 )"
- sed -i \
- -e "s/^[0-9]* byte, $package: /$size_minimal byte, $package-minimal: /" \
- $output.base.meta
- sed -i \
- -e "s/^[0-9]* byte, $package: /$size_minimal_uncompressed byte, $package-minimal: /" \
- $output.base.meta.uncompressed
- rm -rf calculate
- fi
-
- if [ $edition = extra ]
- then
- mkdir -p calculate/texmf-dist
- tar xf $texmf/${package}.tar.xz -C calculate/texmf-dist $(paste $files_split.tmp)
- tar cf calculate/calc.tar.xz -I 'xz -9' calculate/texmf-dist
- size_extended=$(du -bc calculate/calc.tar.xz | tail -n1 | sed "s/[[:space:]].*//")
- size_extended_uncompressed="$(xz -l --verbose calculate/calc.tar.xz | \
- grep "Uncompressed size" | cut -d'(' -f2 | cut -d' ' -f1 )"
-
- # put new sizes in package index uncompressed
- sed -i \
- -e "s/^[0-9]* byte, $package: /$size_extended byte, $package-extended: /" \
- $output.extra.meta
- sed -i \
- -e "s/^[0-9]* byte, $package: /$size_extended_uncompressed byte, $package-extended: /" \
- $output.extra.meta.uncompressed
- rm -rf calculate
- fi
-
- # untar to provide files for -extra
- tar xf $texmf/${package}.tar.xz $relocated $(paste $files_split.tmp)
- if [ $package = "cm-super" ]
- then
- # create cm-super- minimal config/maps with 10pt glyphs only
- sed "s/cm-super/cm-super-minimal/g" $texmf/texmf-dist/dvips/cm-super/config.cm-super \
- > $texmf/texmf-dist/dvips/cm-super/config-minimal.cm-super
- for map in t1 t2a t2b t2c ts1 x2
- do
- grep 1000 $texmf/texmf-dist/fonts/map/dvips/cm-super/cm-super-$map.map \
- > $texmf/texmf-dist/fonts/map/dvips/cm-super/cm-super-minimal-$map.map
- sed -i "/.*1000\.pfb/d" $texmf/texmf-dist/fonts/map/dvips/cm-super/cm-super-$map.map
- done
- fi
-
-done
-
-
-# cleanup
-rm $files_split.tmp
-# fix relocation in index for splitted packages
-sed -i \
- -e "s|^doc|texmf-dist\/doc|g" \
- -e "s|^fonts|texmf-dist\/fonts|g" \
- -e "s|^dvips|texmf-dist\/dvips|g" \
- $files_split
-
-# sort meta data about added packages
-sort -n $output.$edition.meta > $tmpfile
-mv $tmpfile $output.$edition.meta
-sort -n $output.$edition.meta.uncompressed > $tmpfile
-mv $tmpfile $output.$edition.meta.uncompressed
-
-sort -u $binary_removed.$edition > $tmpfile
-mv $tmpfile $binary_removed.$edition
-
-# include manpages/GNU infofiles in -base, write index for later exclution from other editions.
-# In -extra/-docs there should not be any manpage left.
-echo "Looking for manpages/GNU infofiles to be included in -base ..."
-for package in $(paste -s $packages_base.doc | sort -u)
-do
- if [ -n "$(egrep "(doc/man/man|doc/info/)" $texmf/$package.meta )" ]
- then
- echo "Adding manpage from $package.doc to -base"
- flavour=".doc" download $package || exit 1
- unset relocated
- pathprefix="texmf-dist/"
- [ -n "$(grep -w ^"relocated 1" $texmf/$package.meta)" ] \
- && relocated="-C texmf-dist" && unset pathprefix
- tar tf $texmf/${package}.doc.tar.xz | sed \
- -ne "/.*doc\/man\/.*\.1$/p" \
- -ne "/.*doc\/man\/.*\.5$/p" \
- -ne "/.*doc\/info\/.*\.info$/p" \
- | tee -a $manpages > $manpages.tmp
- # untar to provide files for -/extra/-docs
- tar xf $texmf/${package}.doc.tar.xz $relocated $(paste $manpages.tmp)
- echo "$package" >> $packages_manpages
- fi
-done
-# cleanup
-rm $manpages.tmp
-sed -i \
- -e "s/^doc/texmf-dist\/doc/g" \
- $manpages
-
-case $edition in
- base)
- # Content info
- cat << EOF | gzip -9 >> $texmf/texmf-dist/packages.$edition.gz
-Content of -$edition:
-$(sed "/-linux$/d" $packages_base | sort)
-EOF
- # add texdoc cache file
- if [ $(command -v texdoc) ]
- then
- mkdir -p $texmf/texmf-dist/tlpkg
- mkdir -p texmf-dist/scripts/texdoc
- ln -s ${db}.orig $texmf/texmf-dist/tlpkg/texlive.tlpdb
- TEXMFVAR=$texmf/texmf-dist \
- texdoc -lM texlive-en >/dev/null
- mv texmf-dist/texdoc/cache-tlpdb.lua \
- texmf-dist/scripts/texdoc/Data.tlpdb.lua
- rm -rf $texmf/texmf-dist/tlpkg
- else
- echo "WARNING: texdoc/texlive is not installed, the texdoc cache"
- echo "Data.tlpdb.lua can't be created and wont't be available."
- echo "texdoc will not wotk without this."
- echo ""
- echo "Continue with any key or abort with ctrl-c"
- read -n1
- fi
-
-#Splitted packages, type1 fonts/docs moved to -extra:
-#$(echo $special_packages)
-#EOF
-
-# add manpages/GNU infofiles to the tarball
- tar rf $tarball --owner=0 --group=0 --sort=name \
- texmf-dist/doc/man/ texmf-dist/doc/info/ \
- texmf-dist/packages.$edition.gz \
- texmf-dist/scripts/texdoc/Data.tlpdb.lua \
- || exit 1
-# # add cm-super minimal maps/config
-# tar rf $tarball --owner=0 --group=0 --sort=name \
-# texmf-dist/dvips/cm-super/config-minimal.cm-super \
-# --wildcards texmf-dist/fonts/map/dvips/cm-super/cm-super-minimal-*.map \
-# || exit 1
- echo "Removing files -from base, splitted from special packages to be included in -extra"
- tar f $tarball --delete $(paste $files_split) || exit 1
- ;;
- extra)
- echo "Removing manpages from $edition which now reside in -base"
- tar f $tarball --delete $(paste $manpages) 2>/dev/null
- # content info
- echo "Content of -$edition, including documentation:" > $texmf/texmf-dist/packages.$edition
- sed "/-linux$/d" $TMP/packages.$edition | sort >> $texmf/texmf-dist/packages.$edition
- gzip -9 $texmf/texmf-dist/packages.$edition
-# # remove cm-super minimal config, which resides in -base
-# rm \
-# $texmf/texmf-dist/dvips/cm-super/config-minimal.cm-super \
-# $texmf/texmf-dist/fonts/map/dvips/cm-super/cm-super-minimal-*.map
- tar rf $tarball --owner=0 --group=0 --sort=name \
- --exclude texmf-dist/doc \
- texmf-dist \
- || exit 1
- ;;
- docs)
- # add docs splittet from base from special packages, add packages index
- # content info, this edition contains all docs from -base
- echo "Content of -$edition, documentation for -base:" > $texmf/texmf-dist/packages.$edition
- sort $packages_base.doc >> $texmf/texmf-dist/packages.$edition
- gzip -9 $texmf/texmf-dist/packages.$edition
- tar rf $tarball --owner=0 --group=0 --sort=name \
- texmf-dist/doc/ \
- texmf-dist/packages.$edition.gz \
- || exit 1
- echo "Removing manpages from $edition which now reside in -base"
- tar f $tarball --delete $(paste $manpages) || exit 1
- ;;
-esac
-
-rm -rf texmf-dist
-
-# compress the tarball as everything is in place now
-echo "Compressing $tarball ..."
-[ -f $tarball.xz ] && rm $tarball.xz
-xz -9 -T0 $tarball || exit 1
-md5sum $tarball.xz
-ls -lh $tarball.xz
-echo "Logfile: $logfile"
diff --git a/office/texlive/slack-desc b/office/texlive/slack-desc
deleted file mode 100644
index 4e573a1608..0000000000
--- a/office/texlive/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------------------------------------------------------|
-texlive: texlive (TeX binaries, support files, and formats)
-texlive:
-texlive: This package contains binaries, support files, TeX formats and
-texlive: packages,and other files included in the TeXLive TeX distribution.
-texlive: Included are input files for TeX, runtime configuration files,
-texlive: hyphenation tables, manpages, and the computer modern fonts.
-texlive:
-texlive: SlackBuilds.org has more texmf files and documentation in the
-texlive: texlive-extra and texlive-docs packages.
-texlive:
-texlive:
diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild
deleted file mode 100644
index 527747254d..0000000000
--- a/office/texlive/texlive.SlackBuild
+++ /dev/null
@@ -1,254 +0,0 @@
-#!/bin/sh
-
-# TeXLive build script for Slackware
-
-# Copyright 2009, 2017 - 2018 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2009 - 2014 Robby Workman, Northport, AL, USA
-# Copyright 2016 - 2017 Johannes Schoepfer, Germany
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# URL: ftp://tug.org/historic/systems/texlive/
-# Testrelease: ftp://tug.org/texlive/Images/test/
-# Upstream stable fixes: svn://tug.org/texlive/branches/branch2018/Build/source
-
-PRGNAM=texlive
-SOURCEVERSION=20180414
-VERSION=${VERSION:-2018.180822}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-texlive
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# NOTE: Using the system version of poppler will require texlive to be
-# recompiled with pretty much every poppler update, as they almost always
-# bump the shared library version. But sometimes you do what you have
-# to do...
-SYSTEMPOPPLER=${SYSTEMPOPPLER:-NO}
-if [ "$SYSTEMPOPPLER" = "NO" ]; then
- POPPLER="--without-system-poppler --without-system-xpdf"
-else
- POPPLER="--with-system-poppler --with-system-xpdf"
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf texlive-$SOURCEVERSION-source
-tar xvf $CWD/texlive-${SOURCEVERSION}-source.tar.xz || exit 1
-cd texlive-$SOURCEVERSION-source || exit 1
-chown -R root:root .
-chmod -R u+w,go-w,a+rX-st .
-
-export LANG=C
-export PATH="$PKG/usr/bin:$PATH"
-export LD_LIBRARY_PATH="$PKG/usr/lib${LIBDIRSUFFIX}:$LD_LIBRARY_PATH"
-
-# set TEXMFROOT and TEXMFLOCAL
-sed -i \
- -e 's|^TEXMFROOT.*|TEXMFROOT = $SELFAUTODIR/share|' \
- -e 's|^TEXMFLOCAL.*|TEXMFLOCAL = $TEXMFROOT/texmf-local|' \
- texk/kpathsea/texmf.cnf
-
-# Upstream stable fixes
-patch -Np0 -i $CWD/patches/20180625.diff || exit 1
-# Add missing synctex header
-patch -Np0 -i $CWD/patches/synctex-missing-header.patch || exit 1
-
-# prevent compiling Xdvi with libXp
-sed -i 's|-lXp ||' texk/xdvik/configure
-
-# Needed on -current, 2018-05-06
-# The 2018 version of texlive ships with support for poppler-0.57.0 and older,
-# but it includes alternative newpoppler files which enable building with
-# poppler-0.62.0 or newer.
-#if [ ! "$SYSTEMPOPPLER" = "NO" ]; then
-# mv -v texk/web2c/pdftexdir/pdftoepdf{-newpoppler,}.cc || exit 1
-# mv -v texk/web2c/pdftexdir/pdftosrc{-newpoppler,}.cc || exit 1
-#fi
-
-# --with-system-harfbuzz requires graphite2 (and harfbuzz linked to it)
-mkdir build
-cd build
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS -fpermissive" \
- ../configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --with-banner-add=' on Slackware (SlackBuilds.org)' \
- --disable-native-texlive-build \
- --enable-largefile \
- --enable-shared \
- --disable-static \
- --disable-missing \
- --disable-multiplatform \
- --disable-debug \
- --disable-dialog \
- --disable-bibtexu \
- --disable-xz \
- --with-x \
- --enable-xindy \
- --disable-xindy-docs \
- --disable-xindy-rules \
- --with-clisp-runtime=system \
- --enable-gc=system \
- --with-system-zlib \
- --with-system-libpng \
- --with-system-t1lib \
- --with-system-gd \
- --with-system-freetype2 \
- --with-system-libgs \
- --with-system-icu \
- --with-system-pixman \
- --with-system-cairo \
- --with-system-gmp \
- --with-system-mpfr \
- --with-system-fontconfig \
- --with-system-ncurses \
- --without-system-harfbuzz \
- --disable-aleph \
- --disable-dump-share \
- --disable-linked-scripts \
- $POPPLER \
- --build=$ARCH-slackware-linux || exit 1
-
- make || exit 1
- # make check || exit 1
- make install-strip DESTDIR=$PKG || exit 1
-
-cd ..
-
-# Don't ship .la files:
-rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
-
-# Remove all files which are covered by tlnet
-rm -rf $PKG/usr/share $PKG/usr/man $PKG/usr/info
-
-# install the tlnet stuff
-mkdir -p $PKG/usr/share
-tar xvf $CWD/texlive-base-$VERSION.tar.xz -C $PKG/usr/share || exit 1
-chown -R root:root $PKG
-chmod -R u+w,go-w,a+rX-st $PKG
-
-# use symlinks/scripts from tlnet
-mv $PKG/usr/share/texmf-dist/linked_scripts/* $PKG/usr/bin
-rmdir $PKG/usr/share/texmf-dist/linked_scripts
-
-# set some paths
-sed -i \
- -e 's|^TEXMFROOT.*|TEXMFROOT = $SELFAUTODIR/share|' \
- -e 's|^TEXMFLOCAL.*|TEXMFLOCAL = $TEXMFROOT/texmf-local|' \
- -e 's|^OSFONTDIR.*|OSFONTDIR = ~/.fonts:/usr/share/fonts|' \
- $PKG/usr/share/texmf-dist/web2c/texmf.cnf
-
-# disable obsolete aleph/lamed/cslatex/pdfcslatex
-sed -i \
- -e 's|^aleph|#! aleph|' \
- -e 's|^lamed|#! lamed|' \
- -e 's|^cslatex|#! cslatex|' \
- -e 's|^pdfcslatex|#! pdfcslatex|' \
- $PKG/usr/share/texmf-dist/web2c/fmtutil.cnf
-
-# make ConTeXt work, and remove unused settings
-sed -i \
- -e 's|selfautoparent:|/usr/share/|g' \
- -e 's|\(TEXMFLOCAL[ ]*=[ ]*\)[^,]*|\1"/usr/share/texmf-local"|' \
- -e '/selfautodir/d' \
- -e '/texmflocal/d' \
- $PKG/usr/share/texmf-dist/web2c/texmfcnf.lua
-
-# provide texlive fonts optionally for other system apps
-mkdir -p $PKG/etc/fonts/conf.avail
-cat > $PKG/etc/fonts/conf.avail/09-texlive.conf << EOF
-<?xml version='1.0'?>
-<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
-<fontconfig>
- <dir>/usr/share/texmf-dist/fonts/opentype</dir>
- <dir>/usr/share/texmf-dist/fonts/truetype</dir>
-</fontconfig>
-EOF
-
-# Install the docs while we're still here
-mkdir -p $PKG/usr/doc/texlive-$VERSION
-cp -a ChangeLog README* $PKG/usr/doc/texlive-$VERSION
-# Install index of provided tex packages to the docs
-mv $PKG/usr/share/texmf-dist/packages.base.gz $PKG/usr/doc/texlive-$VERSION
-
-# Put a symlink to /usr/share/texmf-dist/doc in our Slackware docdir
-ln -s ../../share/texmf-dist/doc $PKG/usr/doc/texlive-$VERSION/doc
-
-# We won't make tlmgr easily available; it's still there, but
-# we'll make it harder to void the warranty :-)
-rm -f $PKG/usr/bin/tlmgr
-cat $CWD/README.tlpkg > $PKG/usr/doc/texlive-$VERSION/README.tlpkg
-
-# Create some directories to make it clear that they're owned by this package
-mkdir -p $PKG/usr/share/{texmf-config,texmf-var,texmf-local}
-
-# Add some perl modules, at least one of which is required by updmap
-mkdir -p $PKG/usr/share/perl5
-mv texk/tests/TeXLive $PKG/usr/share/perl5/
-
-# Move manual pages to the correct place
-mkdir $PKG/usr/man
-mv $PKG/usr/share/texmf-dist/doc/man/man1 $PKG/usr/man
-mv $PKG/usr/share/texmf-dist/doc/man/man5 $PKG/usr/man
-rmdir $PKG/usr/share/texmf-dist/doc/man
-mv $PKG/usr/share/texmf-dist/doc/info $PKG/usr
-
-# Handle the man pages
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-
-# Handle the GNU info pages
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*
-
-mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/office/texlive/texlive.info b/office/texlive/texlive.info
deleted file mode 100644
index 616d092ddc..0000000000
--- a/office/texlive/texlive.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="texlive"
-VERSION="2018.180822"
-HOMEPAGE="http://tug.org/texlive/"
-DOWNLOAD="http://mirrors.ctan.org/systems/texlive/Source/texlive-20180414-source.tar.xz \
- http://slackware.schoepfer.info/slackbuilds/texlive/2018/texlive/texlive-base-2018.180822.tar.xz"
-MD5SUM="41d1e8874d266935c656fe51b440a413 \
- ad0cf3240342615167baf2c119bb3063"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds[at]schoepfer[dot]info"
diff --git a/office/texmacs/texmacs.SlackBuild b/office/texmacs/texmacs.SlackBuild
index 13f1224901..639297e8b3 100644
--- a/office/texmacs/texmacs.SlackBuild
+++ b/office/texmacs/texmacs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Texmacs
-# Copyright 2013-2018 Zhu Qun-Ying
+# Copyright 2013-2022 Zhu Qun-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=texmacs
-VERSION=${VERSION:-1.99.9}
+VERSION=${VERSION:-2.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=TeXmacs
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,9 +71,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION-src
-tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz
-cd $SRCNAM-$VERSION-src
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+tar -xvf $CWD/$SRCNAM-$VERSION-src.tar.gz --strip-components=1 -C $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -96,7 +107,6 @@ CXX="g++" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
sed -i -e "s|-lfreetype|-lfreetype -lz|" src/makefile
@@ -116,4 +126,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/office/texmacs/texmacs.info b/office/texmacs/texmacs.info
index 347cc79fd0..fb43774859 100644
--- a/office/texmacs/texmacs.info
+++ b/office/texmacs/texmacs.info
@@ -1,8 +1,8 @@
PRGNAM="texmacs"
-VERSION="1.99.9"
+VERSION="2.1.4"
HOMEPAGE="http://www.texmacs.org"
-DOWNLOAD="http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-1.99.9-src.tar.gz"
-MD5SUM="9b3417efd46b9c8d538697074abca291"
+DOWNLOAD="https://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-2.1.4-src.tar.gz"
+MD5SUM="af693207d18781c4832560ee6cf09aa1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="guile1.8"
diff --git a/office/texmaker/texmaker.SlackBuild b/office/texmaker/texmaker.SlackBuild
index 20bdda9aab..6cf8bc0a3a 100644
--- a/office/texmaker/texmaker.SlackBuild
+++ b/office/texmaker/texmaker.SlackBuild
@@ -1,8 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for texmaker
-# Copyright 2013-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2013-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
+# All rights reserved.
+#
+# Copyright 2024 Emmanuel N. Millan, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=texmaker
-VERSION=${VERSION:-5.0.3}
+VERSION=${VERSION:-5.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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 +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/office/texmaker/texmaker.info b/office/texmaker/texmaker.info
index 8e1d8bda0e..9e3d160bd5 100644
--- a/office/texmaker/texmaker.info
+++ b/office/texmaker/texmaker.info
@@ -1,10 +1,10 @@
PRGNAM="texmaker"
-VERSION="5.0.3"
-HOMEPAGE="http://www.xm1math.net/texmaker/index.html"
-DOWNLOAD="http://www.xm1math.net/texmaker/texmaker-5.0.3.tar.bz2"
-MD5SUM="75beb11c4f5cfdd2a73dc5737cfcd61f"
+VERSION="5.1.4"
+HOMEPAGE="https://www.xm1math.net/texmaker/index.html"
+DOWNLOAD="https://www.xm1math.net/texmaker/texmaker-5.1.4.tar.bz2"
+MD5SUM="8730de999918c95061949a480fa2265a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES=""
+MAINTAINER="Emmanuel N. Millan"
+EMAIL="emmanueln@gmail.com"
diff --git a/office/texstudio/README b/office/texstudio/README
index 401134bcc7..1aa94dc615 100644
--- a/office/texstudio/README
+++ b/office/texstudio/README
@@ -1,8 +1,3 @@
Texstudio is a free LaTeX editor that integrates many
tools needed to develop documents with LaTeX in just
one application.
-
-Note: Texstudio can be optionally compiled with
-poppler-qt5 by passing the argument QT5GUI=yes.
-
- QT5GUI=yes ./texstudio.SlackBuild
diff --git a/office/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild
index 9b8dd61ef7..e2896b61b8 100644
--- a/office/texstudio/texstudio.SlackBuild
+++ b/office/texstudio/texstudio.SlackBuild
@@ -1,10 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for texstudio
-# Copyright 2013-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2013-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
-#
+#
+# Copyright 2024 Emmanuel N. Millan, Mendoza, Argentina.
+# All rights reserved.
+#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -22,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=texstudio
-VERSION=${VERSION:-2.12.14}
+VERSION=${VERSION:-4.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,17 +85,18 @@ find -L . \
# Fix .desktop item.
sed -i -e '/^Encoding/d' -e "/^Icon/s|=.*|=$PRGNAM|" utilities/texstudio.desktop
-# Use Qt5 if QT5GUI is yes, otherwise, default to Qt4.
-if [ "${QT5GUI:-no}" == "yes" ]; then
- qmake-qt5 LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" CONFIG-=debug -o Makefile $PRGNAM.pro
-else
- qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
- PHONON=true INCLUDEPATH+="/usr/include/KDE" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- CONFIG-=debug -o Makefile $PRGNAM.pro
-fi
+mkdir -p build
+cd build
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
make
-make install INSTALL_ROOT=$PKG
+make install/strip DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -108,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/office/texstudio/texstudio.info b/office/texstudio/texstudio.info
index 9b549d5fd5..3fbd240556 100644
--- a/office/texstudio/texstudio.info
+++ b/office/texstudio/texstudio.info
@@ -1,10 +1,10 @@
PRGNAM="texstudio"
-VERSION="2.12.14"
+VERSION="4.7.3"
HOMEPAGE="http://texstudio.sourceforge.net/"
-DOWNLOAD="https://github.com/texstudio-org/texstudio/archive/2.12.14/texstudio-2.12.14.tar.gz"
-MD5SUM="3bee209555bfa10f225a9ff56d6c62a4"
+DOWNLOAD="https://github.com/texstudio-org/texstudio/archive/4.7.3/texstudio-4.7.3.tar.gz"
+MD5SUM="5e064bb219c2d9d07bc812aa0798ae73"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+MAINTAINER="Emmanuel N. Millan"
+EMAIL="emmanueln@gmail.com"
diff --git a/office/text2pdf/README b/office/text2pdf/README
index d7fd3e114d..3b653b1bba 100644
--- a/office/text2pdf/README
+++ b/office/text2pdf/README
@@ -1,7 +1,8 @@
text2pdf (Converts text files to PDF)
-text2pdf makes a 7-bit clean PDF file (version 1.1) from any input file. It
-reads from standard input or a named file, and writes the PDF file to
-standard output. You can specify the font, number of lines and columns,
-paper size and various other options from the command line. By default, long
-lines will be wrapped, and a formfeed character (^L) will cause a page break.
+text2pdf makes a 7-bit clean PDF file (version 1.1) from any input
+file. It reads from standard input or a named file, and writes the PDF
+file to standard output. You can specify the font, number of lines
+and columns, paper size and various other options from the command
+line. By default, long lines will be wrapped, and a formfeed character
+(^L) will cause a page break.
diff --git a/office/text2pdf/text2pdf.SlackBuild b/office/text2pdf/text2pdf.SlackBuild
index 57c054a566..986a34a902 100644
--- a/office/text2pdf/text2pdf.SlackBuild
+++ b/office/text2pdf/text2pdf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for text2pdf
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=text2pdf
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/office/texworks/doinst.sh b/office/texworks/doinst.sh
index 4e8ba7071d..65c7e2eeb9 100644
--- a/office/texworks/doinst.sh
+++ b/office/texworks/doinst.sh
@@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/texworks/slack-desc b/office/texworks/slack-desc
index 3d9cc0bf43..3736cd4630 100644
--- a/office/texworks/slack-desc
+++ b/office/texworks/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-texworks: texworks (A TeX IDE)
+texworks: texworks (lowering the entry barrier to the TeX world)
texworks:
texworks: TeXworks is an effort to build a simple TeX front-end. The
texworks: integrated PDF viewer supports control-clicking within the source
texworks: text to locate the corresponding position in the PDF, and vice versa.
texworks:
-texworks: Homepage: http://tug.org/texworks/
+texworks: https://tug.org/texworks/
texworks:
texworks:
texworks:
diff --git a/office/texworks/texworks.SlackBuild b/office/texworks/texworks.SlackBuild
index 7fb4fb4a7c..b33ee321f6 100644
--- a/office/texworks/texworks.SlackBuild
+++ b/office/texworks/texworks.SlackBuild
@@ -1,10 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for TeXworks
-# Written by digwtx (wtx358@qq.com)
-# Updated by Willy Sudiarto Raharjo
-# Copyright 2016 - 2017 Johannes Schoepfer
+# Written by digwtx
+# Copyright 2016-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,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=texworks
-VERSION=${VERSION:-0.6.2}
+VERSION=${VERSION:-0.6.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,38 +73,35 @@ cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-( mkdir build
- cd build
- #-DWITH_LUA='ON' \
+mkdir build
+cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DTeXworks_PLUGIN_DIR="/usr/lib$LIBDIRSUFFIX/texworks" \
- -DTW_BUILD_ID='slackbuilds.org' \
- -DWITH_PYTHON='ON' \
- -DDESIRED_QT_VERSION:STRING=4 \
- -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DTeXworks_PLUGIN_DIR="/usr/lib$LIBDIRSUFFIX/texworks" \
+ -DTW_BUILD_ID='slackbuilds.org' \
+ -DWITH_PYTHON='Off' \
+ -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 \
+ -DBUILD_SHARED_LIBS='ON' \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
make
make install DESTDIR=$PKG
-)
+cd ..
-#-DMAN_INSTALL_DIR=/usr/man doesn't work here
mkdir -p $PKG/usr/man/man1
cat $PKG/usr/share/man/man1/texworks.1 | gzip > $PKG/usr/man/man1/texworks.1.gz
rm -rf $PKG/usr/share/man
-( mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
- cd $PKG/usr/share/doc/texworks
- mv COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
-)
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp $PKG/usr/share/doc/texworks/{COPYING,NEWS,README.md} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
-
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG | xargs file | grep -e "executable" -e "shared object" \
@@ -109,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/office/texworks/texworks.info b/office/texworks/texworks.info
index 7f44a787ed..b429d3d677 100644
--- a/office/texworks/texworks.info
+++ b/office/texworks/texworks.info
@@ -1,10 +1,10 @@
PRGNAM="texworks"
-VERSION="0.6.2"
-HOMEPAGE="http://tug.org/texworks/"
-DOWNLOAD="https://github.com/TeXworks/texworks/archive/release-0.6.2/texworks-release-0.6.2.tar.gz"
-MD5SUM="0a7ef804e613255d099c62d1d69d788d"
+VERSION="0.6.9"
+HOMEPAGE="https://tug.org/texworks/"
+DOWNLOAD="https://github.com/TeXworks/texworks/archive/release-0.6.9/texworks-release-0.6.9.tar.gz"
+MD5SUM="a0b440da408100f940ccf8a985d9b773"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="texlive"
+REQUIRES=""
MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds[at]schoepfer[dot]info"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/timetrap/remove_hardcoded_versions.diff b/office/timetrap/remove_hardcoded_versions.diff
new file mode 100644
index 0000000000..80f53082ff
--- /dev/null
+++ b/office/timetrap/remove_hardcoded_versions.diff
@@ -0,0 +1,43 @@
+diff -Naur package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec package-timetrap/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec
+--- package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec 2022-03-03 12:47:47.581366263 -0500
++++ package-timetrap/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec 2022-03-03 12:49:43.847293432 -0500
+@@ -25,8 +25,8 @@
+ # More recent versions of icalendar drop support for Ruby 1.8.7
+ spec.add_development_dependency "icalendar", "~> 1.3.0"
+ spec.add_development_dependency "json", "~> 2.3"
+- spec.add_dependency "sequel", "~> 5.30.0"
+- spec.add_dependency "sqlite3", "~> 1.4.2"
++ spec.add_dependency "sequel"
++ spec.add_dependency "sqlite3"
+
+- spec.add_dependency "chronic", "~> 0.10.2"
++ spec.add_dependency "chronic"
+ end
+diff -Naur package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec package-timetrap/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec
+--- package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec 2022-03-03 12:47:47.618366877 -0500
++++ package-timetrap/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec 2022-03-03 12:54:37.636163127 -0500
+@@ -31,9 +31,9 @@
+ s.add_development_dependency(%q<fakefs>.freeze, ["~> 0.20"])
+ s.add_development_dependency(%q<icalendar>.freeze, ["~> 1.3.0"])
+ s.add_development_dependency(%q<json>.freeze, ["~> 2.3"])
+- s.add_runtime_dependency(%q<sequel>.freeze, ["~> 5.30.0"])
+- s.add_runtime_dependency(%q<sqlite3>.freeze, ["~> 1.4.2"])
+- s.add_runtime_dependency(%q<chronic>.freeze, ["~> 0.10.2"])
++ s.add_runtime_dependency(%q<sequel>)
++ s.add_runtime_dependency(%q<sqlite3>)
++ s.add_runtime_dependency(%q<chronic>)
+ else
+ s.add_dependency(%q<bundler>.freeze, ["~> 2.1"])
+ s.add_dependency(%q<rake>.freeze, ["~> 13.0"])
+@@ -41,8 +41,8 @@
+ s.add_dependency(%q<fakefs>.freeze, ["~> 0.20"])
+ s.add_dependency(%q<icalendar>.freeze, ["~> 1.3.0"])
+ s.add_dependency(%q<json>.freeze, ["~> 2.3"])
+- s.add_dependency(%q<sequel>.freeze, ["~> 5.30.0"])
+- s.add_dependency(%q<sqlite3>.freeze, ["~> 1.4.2"])
+- s.add_dependency(%q<chronic>.freeze, ["~> 0.10.2"])
++ s.add_dependency(%q<sequel>)
++ s.add_dependency(%q<sqlite3>)
++ s.add_dependency(%q<chronic>)
+ end
+ end
diff --git a/office/timetrap/timetrap.SlackBuild b/office/timetrap/timetrap.SlackBuild
index 3751674657..a93f30c42f 100644
--- a/office/timetrap/timetrap.SlackBuild
+++ b/office/timetrap/timetrap.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for timetrap
-# Copyright 2013-2016 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2013-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220303 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix REQUIRES: sequel, not sequel4.
+# - get rid of hardcoded dependency versions in the gemspec.
+# - remove redundant t and dev_t scripts from /usr/bin.
+
+# 20220520 bkw: Modified by Jostein Berntsen, BUILD=3:
+# - fix: Update removal line so the executable t is retained
+# - Added variable to check for Ruby version and sed line to ensure compatibility
+# for newer Ruby versions than 3.0.0
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=timetrap
-VERSION=${VERSION:-1.15.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.15.2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,30 +48,25 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
+# 20220303 bkw: no SLKCFLAGS needed: there's no compiled C/C++ code.
+# No LIBDIRSUFFIX needed, 'gem install' knows the right path to use.
+# The only reason this isn't noarch is that the install path includes
+# lib or lib64 (like pure python modules do).
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+mkdir -p $TMP/$PRGNAM-$VERSION $PKG $OUTPUT
+cd $TMP/$PRGNAM-$VERSION
DESTDIR=$( ruby -r rbconfig -e '
include RbConfig
@@ -98,8 +106,27 @@ gem install \
--bindir $PKG/usr/bin \
$CWD/$PRGNAM-$VERSION.gem
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20220303 bkw: don't need these extra almost-identical scripts in /usr/bin:
+rm -f $PKG/usr/bin/{dev_t}
+
+# 20220303 bkw: the version numbers of the deps are hardcoded in the
+# .gemspec. Any time someone updates one of them, it would break
+# timetrap. So get rid of the version numbers. This may lead to
+# breakage at some point, but right now it fixes timetrap complaining
+# that it can't find its sequel dep at runtime (it wants 5.30.0,
+# we actually have 5.42.0, and it seems to work fine). This diff is
+# unusual as it patches $PKG after the build, because picking apart
+# the .gem file, patching it, and reassembling it (and fixing the
+# checksum) is more work than I care to do.
+
+# Note that the patch has hardcoded lib64 paths, so we sed it.
+cd $PKG
+cp $CWD/remove_hardcoded_versions.diff tmp.diff
+[ "$ARCH" = "x86_64" ] || sed -i 's,usr/lib64,usr/lib,g' tmp.diff
+RUBYVERSION=$(ls /usr/lib*/ruby/gems)
+sed -i "s/gems\/3\.[0-9]\.[0-9]\//gems\/$RUBYVERSION\//g" *.diff
+patch -p1 < tmp.diff
+rm -f tmp.diff
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -108,4 +135,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/timetrap/timetrap.info b/office/timetrap/timetrap.info
index 0a31d07137..202f7214b5 100644
--- a/office/timetrap/timetrap.info
+++ b/office/timetrap/timetrap.info
@@ -1,10 +1,10 @@
PRGNAM="timetrap"
-VERSION="1.15.1"
+VERSION="1.15.2"
HOMEPAGE="https://github.com/samg/timetrap"
-DOWNLOAD="http://rubygems.org/downloads/timetrap-1.15.1.gem"
-MD5SUM="9774a155ed5a6f454739e397929b51dd"
+DOWNLOAD="http://rubygems.org/downloads/timetrap-1.15.2.gem"
+MD5SUM="c7c84dc593201b1764268ca46dc06c2c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="sequel4 sqlite3 chronic"
+REQUIRES="sequel sqlite3 chronic"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/timew/README b/office/timew/README
new file mode 100644
index 0000000000..20d80ed8b6
--- /dev/null
+++ b/office/timew/README
@@ -0,0 +1,3 @@
+timew (a.k.a Timewarrior) is a command line time tracking application
+which allows you to record time spent on activities. You may
+be tracking your time for curiosity, or because your work requires it.
diff --git a/office/timew/slack-desc b/office/timew/slack-desc
new file mode 100644
index 0000000000..922f46bfa0
--- /dev/null
+++ b/office/timew/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+timew: timew (command-line time tracker)
+timew:
+timew: Timewarrior is a command line time tracking application, which allows
+timew: you to record time spent on activities. You may be tracking your time
+timew: for curiosity, or because your work requires it.
+timew:
+timew: Home: https://taskwarrior.org/docs/timewarrior/
+timew:
+timew:
+timew:
+timew:
diff --git a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild b/office/timew/timew.SlackBuild
index 19fce1209d..f8242aa440 100644
--- a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
+++ b/office/timew/timew.SlackBuild
@@ -1,8 +1,6 @@
-#!/bin/sh
-# Slackware build script for qpdfview
-
-# Copyright 2017-2018 Donald Cooley South Haven, Indiana USA
-# Copyright 2012 Mark Noman <smithmark347@gmail.com>
+#!/bin/bash -e
+# Slackware build script for timewarrior
+# Copyright <2019> <Christian Schneider> <Austria>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +20,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#Set initial variables
+cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=qpdfview-qt5
-SRCNAM=qpdfview
-VERSION=${VERSION:-0.4.18beta1}
+PRGNAM=timew
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,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}
@@ -52,19 +59,18 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLCKCFLAGS="-O2"
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
-echo $PKG
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf "$SRCNAM-$VERSION"
-tar xfv $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,35 +78,33 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri
-
-# Add localizations
-lrelease-qt5 qpdfview.pro
-
-#Configure qpdfview. Installation paths are correctly set in qpdfview.pri
-qmake-qt5 QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro
+# Build
+cmake \
+ -DCMAKE_BUILD_TYPE=release . \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr
+make clean
make
-make INSTALL_ROOT=$PKG install
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv -v $PKG/usr/share/man $PKG/usr/man
+mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+find $PKG -depth -type d -empty -delete || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES CONTRIBUTORS COPYING README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-#find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+cp -a AUTHORS CMakeLists.txt COPYING ChangeLog INSTALL LICENSE NEWS README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-#/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/timew/timew.info b/office/timew/timew.info
new file mode 100644
index 0000000000..919edf0a31
--- /dev/null
+++ b/office/timew/timew.info
@@ -0,0 +1,10 @@
+PRGNAM="timew"
+VERSION="1.3.0"
+HOMEPAGE="https://timewarrior.net/"
+DOWNLOAD="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v1.3.0/timew-1.3.0.tar.gz"
+MD5SUM="06b08fb9f256818d95d6b9572333dfd9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Christian Schneider"
+EMAIL="christian_schneider@gmx.at"
diff --git a/office/tnote/tnote.SlackBuild b/office/tnote/tnote.SlackBuild
index bda3da73ed..5a3a3b9da6 100644
--- a/office/tnote/tnote.SlackBuild
+++ b/office/tnote/tnote.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tnote
-# Written by Jostein Berntsen <jbernts@broadpark.no>
+# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tnote
VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,5 +81,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/office/tnote/tnote.info b/office/tnote/tnote.info
index 31b030c351..006934824a 100644
--- a/office/tnote/tnote.info
+++ b/office/tnote/tnote.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/todo.txt-cli/README b/office/todo.txt-cli/README
new file mode 100644
index 0000000000..5dbb331bc2
--- /dev/null
+++ b/office/todo.txt-cli/README
@@ -0,0 +1,13 @@
+A simple and extensible shell script for managing your todo.txt file.
+
+After installing the package, copy the default config file to your home
+directory and adjust it accordingly, otherwise todo.txt-cli will
+misbehave:
+
+$ mkdir ~/.todo
+$ cp /etc/todo.cfg ~/.todo/config
+$ mkdir ~/todo
+
+Then edit ~/.todo/config:
+
+export TODO_DIR=/home/$USER/todo
diff --git a/office/todo.txt-cli/slack-desc b/office/todo.txt-cli/slack-desc
new file mode 100644
index 0000000000..ca569b6708
--- /dev/null
+++ b/office/todo.txt-cli/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+todo.txt-cli: todo.txt-cli (CLI frontend for todo.txt)
+todo.txt-cli:
+todo.txt-cli: A simple and extensible shell script for managing your todo.txt file.
+todo.txt-cli:
+todo.txt-cli:
+todo.txt-cli:
+todo.txt-cli:
+todo.txt-cli:
+todo.txt-cli:
+todo.txt-cli:
+todo.txt-cli:
diff --git a/office/todo.txt-cli/todo.txt-cli.SlackBuild b/office/todo.txt-cli/todo.txt-cli.SlackBuild
new file mode 100644
index 0000000000..56c73c0fc4
--- /dev/null
+++ b/office/todo.txt-cli/todo.txt-cli.SlackBuild
@@ -0,0 +1,76 @@
+#!/bin/bash
+
+# Slackware build script for todo.txt-cli
+
+# Copyright 2021 toolonely <lonely_@tutanota.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=todo.txt-cli
+VERSION=${VERSION:-2.12.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+install -D -m 0644 todo.cfg $PKG/etc/todo.cfg
+install -D -m 0755 todo.sh $PKG/usr/bin/todo.sh
+install -D -m 0644 todo_completion $PKG/usr/share/bash-completion/completions/todo_completion
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md LICENSE README.md USAGE.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/todo.txt-cli/todo.txt-cli.info b/office/todo.txt-cli/todo.txt-cli.info
new file mode 100644
index 0000000000..aafacea2f3
--- /dev/null
+++ b/office/todo.txt-cli/todo.txt-cli.info
@@ -0,0 +1,10 @@
+PRGNAM="todo.txt-cli"
+VERSION="2.12.0"
+HOMEPAGE="https://github.com/todotxt/todo.txt-cli/"
+DOWNLOAD="https://github.com/todotxt/todo.txt-cli/archive/v2.12.0/todo.txt-cli-2.12.0.tar.gz"
+MD5SUM="e8d4edd8214b0d1df68667caa449a28c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="toolonely"
+EMAIL="lonely_@tutanota.com"
diff --git a/office/tpp/README b/office/tpp/README
index 6b2420a1e8..09f6420fa8 100644
--- a/office/tpp/README
+++ b/office/tpp/README
@@ -1,4 +1,5 @@
-tpp stands for text presentation program and is an ncurses-based presentation
-tool. The presentation can be written with your favorite editor in a simple
-description format and then shown on any text terminal that is supported by
-ncurses - ranging from an old VT100 to the Linux framebuffer to an xterm.
+tpp stands for text presentation program and is an ncurses-based
+presentation tool. The presentation can be written with your favorite
+editor in a simple description format and then shown on any text
+terminal that is supported by ncurses - ranging from an old VT100 to
+the Linux framebuffer to an xterm.
diff --git a/office/tpp/tpp.SlackBuild b/office/tpp/tpp.SlackBuild
index ca39ac7d10..769bd3812b 100644
--- a/office/tpp/tpp.SlackBuild
+++ b/office/tpp/tpp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tpp
-# Copyright 2016 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2016 Jostein Berntsen <jvbernts@online.no>
# 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=tpp
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=tpp
@@ -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}
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/tpp/tpp.info b/office/tpp/tpp.info
index e37db1ec65..1802c0e903 100644
--- a/office/tpp/tpp.info
+++ b/office/tpp/tpp.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ncurses-ruby"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/traduisons/README b/office/traduisons/README
index 51d234bbc5..c25f8983f3 100644
--- a/office/traduisons/README
+++ b/office/traduisons/README
@@ -1,16 +1,17 @@
Traduisons! (French for "Let's Translate!") is a front-end for google
-translate, allowing translation of words and sentences without opening the
-browser. It is written in python and optionally uses a gtk-based gui.
+translate, allowing translation of words and sentences without opening
+the browser. It is written in python and optionally uses a gtk-based
+gui.
-Traduisons! is focused on being as streamlined and fast as possible. It is
-designed to be a quick, reference tool, not a large-scale document translator.
+Traduisons! is focused on being as streamlined and fast as
+possible. It is designed to be a quick, reference tool, not a
+large-scale document translator.
-Traduisons! itself is not a translator. It works by sending a query string to
-Google's web-based translation service and copying the result to the clipboard
-and screen.
+Traduisons! itself is not a translator. It works by sending a query
+string to Google's web-based translation service and copying the
+result to the clipboard and screen.
All operations are performed with keyboard shortcuts or specific input
characters such as '`/`' and '`.`'.
Internet access is required to use Traduisons!
-
diff --git a/office/traduisons/traduisons.SlackBuild b/office/traduisons/traduisons.SlackBuild
index 4332c7f1aa..441ded6009 100644
--- a/office/traduisons/traduisons.SlackBuild
+++ b/office/traduisons/traduisons.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for traduisons
# Written by John Tyree johntyree@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=traduisons
VERSION=${VERSION:-0.6.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}
@@ -47,4 +57,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/treesheets/treesheets.SlackBuild b/office/treesheets/treesheets.SlackBuild
index f1677db5da..58d3596314 100644
--- a/office/treesheets/treesheets.SlackBuild
+++ b/office/treesheets/treesheets.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for TreeSheets
# Builds a Slackware package from the TreeSheets binary tarball.
@@ -6,20 +6,30 @@
# Written by Luke Williams ( xocel@iquidus.org )
# license: WTFPL <http://sam.zoy.org/wtfpl/COPYING>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=treesheets
VERSION=${VERSION:-150616}
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}
@@ -72,4 +82,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/office/treesheets/treesheets.info b/office/treesheets/treesheets.info
index 1cf26da34f..c444aadebd 100644
--- a/office/treesheets/treesheets.info
+++ b/office/treesheets/treesheets.info
@@ -2,9 +2,9 @@ PRGNAM="treesheets"
VERSION="150616"
HOMEPAGE="http://strlen.com/treesheets/"
DOWNLOAD="http://strlen.com/treesheets/treesheets_linux.tar.gz"
-MD5SUM="ca54da21fbdc1aa2146f5bf77bbb6687"
+MD5SUM="571fbe78a752e28d2d0458f6748e5788"
DOWNLOAD_x86_64="http://strlen.com/treesheets/treesheets_linux64.tar.gz"
-MD5SUM_x86_64="1c2485fec9a564f222843a2df196eccd"
+MD5SUM_x86_64="818d5f67f13c66fe5a299bb011733d55"
REQUIRES=""
-MAINTAINER="Luke Williams"
-EMAIL="xocel@iquidus.org"
+MAINTAINER="Glenn Becker"
+EMAIL="glenn.becker@gmail.com"
diff --git a/office/trelby/trelby.SlackBuild b/office/trelby/trelby.SlackBuild
index bb3dc1b9ee..7957c7b3cf 100644
--- a/office/trelby/trelby.SlackBuild
+++ b/office/trelby/trelby.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for trelby
@@ -22,13 +22,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=trelby
VERSION=${VERSION:-2.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}
@@ -69,4 +79,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/office/trelby/trelby.info b/office/trelby/trelby.info
index 75dc5e22a3..6ab01b96c6 100644
--- a/office/trelby/trelby.info
+++ b/office/trelby/trelby.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/trelby-2.2.tar.gz"
MD5SUM="86579f0c19f1070a068c8fbcc4d4f541"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython lxml"
+REQUIRES="wxPython python2-lxml"
MAINTAINER="Zach Gardner"
EMAIL="zach.gardner@gmail.com"
diff --git a/office/trello-cli/README b/office/trello-cli/README
new file mode 100644
index 0000000000..220b3c987f
--- /dev/null
+++ b/office/trello-cli/README
@@ -0,0 +1,5 @@
+trello-cli is a CLI tool for [Trello]
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/office/trello-cli/slack-desc b/office/trello-cli/slack-desc
new file mode 100644
index 0000000000..1263125f61
--- /dev/null
+++ b/office/trello-cli/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+trello-cli: trello-cli (cli tool for trello)
+trello-cli:
+trello-cli:
+trello-cli: trello-cli is a CLI tool for Trello
+trello-cli:
+trello-cli:
+trello-cli:
+trello-cli:
+trello-cli:
+trello-cli:
+trello-cli:
diff --git a/office/color-theme/color-theme.SlackBuild b/office/trello-cli/trello-cli.SlackBuild
index 282f632ff6..09d69645f5 100644
--- a/office/color-theme/color-theme.SlackBuild
+++ b/office/trello-cli/trello-cli.SlackBuild
@@ -1,9 +1,8 @@
-#!/bin/sh
-# Slackware build script for color-theme 6.6.0
-# Written by Asaf Ohaion <asaf at hadasa-oss net>
+#!/bin/bash
-#
-## Copyright 2010 Asaf Ohaion, <asaf at hadasa-oss net>
+# Slackware build script for trello-cli
+
+# Copyright 2020 Tonus
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -12,7 +11,7 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
@@ -23,21 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=color-theme
-VERSION=${VERSION:-6.6.0}
+PRGNAM=trello-cli
+VERSION=${VERSION:-0.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,29 +60,21 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fix location of info files
-sed "s|share/info|info|g" -i Makefile
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/fix_makefile.diff
-# make
-make install PREFIX=/usr DESTDIR=$PKG
+DESTDIR=$PKG npm install -g $CWD/$PRGNAM-$VERSION.tar.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING AUTHORS BUGS HACKING README ChangeLog \
+ LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-# remove unused /etc/emacs
-rm -rf $PKG/etc/emacs
-
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/trello-cli/trello-cli.info b/office/trello-cli/trello-cli.info
new file mode 100644
index 0000000000..e0db59b2b1
--- /dev/null
+++ b/office/trello-cli/trello-cli.info
@@ -0,0 +1,10 @@
+PRGNAM="trello-cli"
+VERSION="0.6.3"
+HOMEPAGE="https://github.com/mheap/trello-cli/"
+DOWNLOAD="https://github.com/mheap/trello-cli/archive/v0.6.3/trello-cli-0.6.3.tar.gz"
+MD5SUM="c47e018ce99810a6a88768ecff18ed51"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang nodejs"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/office/tudu/README b/office/tudu/README
index ec4a440ce4..4eb30f017b 100644
--- a/office/tudu/README
+++ b/office/tudu/README
@@ -1,3 +1,4 @@
-TuDu is a comand line interface to manage hierarchical todos. Each task has a
-title, a long text description, a deadline (tudu warns you when the date is
-close), and a scheduled date. There are categories and priorities.
+TuDu is a comand line interface to manage hierarchical todos. Each
+task has a title, a long text description, a deadline (tudu warns you
+when the date is close), and a scheduled date. There are categories
+and priorities.
diff --git a/office/tudu/tudu.SlackBuild b/office/tudu/tudu.SlackBuild
index 947b42762a..41041e0f3d 100644
--- a/office/tudu/tudu.SlackBuild
+++ b/office/tudu/tudu.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tudu
-# Copyright 2016 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2016-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220217 bkw: Modified by SlackBuilds.org: fix build if PDCurses happens
+# to be installed on the build host.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tudu
-VERSION=${VERSION:-0.10.2}
+VERSION=${VERSION:-0.10.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,9 +75,20 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 {} \+
+
+# 20220217 bkw: PDCurses installs a /usr/include/xcurses.h that
+# lacks support for wide characters. Forcing HAVE_XCURSES_H=0
+# prevents this build from failing if PDCurses happens to
+# be installed. Note to fellow admins: this is why you have to also
+# test SlackBuilds on a 'polluted' system with lots of packages
+# installed. If you only ever tested on a clean VM with no SBo
+# packages, you'd never find this issue (but our users would, because
+# they don't do the clean VM thing).
+
+sed -i '/^check_include *HAVE_XCURSES_H/aHAVE_XCURSES_H=0' configure
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -97,4 +117,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/tudu/tudu.info b/office/tudu/tudu.info
index 6441844fc8..580a111440 100644
--- a/office/tudu/tudu.info
+++ b/office/tudu/tudu.info
@@ -1,10 +1,10 @@
PRGNAM="tudu"
-VERSION="0.10.2"
+VERSION="0.10.4"
HOMEPAGE="https://code.meskio.net/tudu/"
-DOWNLOAD="http://code.meskio.net/tudu/tudu-0.10.2.tar.gz"
-MD5SUM="8c2573d7d04e41b78dde1e50049feaf8"
+DOWNLOAD="https://code.meskio.net/tudu/tudu-0.10.4.tar.gz"
+MD5SUM="26f061c23ac5f926ceb2dd5e205aba30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/turtl/turtl.SlackBuild b/office/turtl/turtl.SlackBuild
index 6b98c0eccb..4c9f5e1a4c 100644
--- a/office/turtl/turtl.SlackBuild
+++ b/office/turtl/turtl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for turtl
@@ -22,17 +22,34 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=turtl
-VERSION=${VERSION:-0.7.2.5}
+VERSION=${VERSION:-0.7.2.6}
+SUFFIX=-pre-sync-fix
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
- x86_64) OS="linux64" ;;
- i?86) OS="linux32" ;;
+ x86_64)
+ OS="linux64"
+ ARCH="x86_64"
+ ;;
+ i?86)
+ OS="linux32"
+ ARCH="i586"
+ ;;
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}
@@ -44,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-$OS
-tar xvf $CWD/$PRGNAM-$VERSION-$OS.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION$SUFFIX-$OS.tar.bz2
cd $PRGNAM-$OS
HERE=$(dirname $(readlink -e ./install.sh))
@@ -115,4 +132,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
echo "Making package"
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/turtl/turtl.info b/office/turtl/turtl.info
index ee8f6ae988..18041c6bd3 100644
--- a/office/turtl/turtl.info
+++ b/office/turtl/turtl.info
@@ -1,10 +1,10 @@
PRGNAM="turtl"
-VERSION="0.7.2.5"
+VERSION="0.7.2.6"
HOMEPAGE="https://turtlapp.com"
-DOWNLOAD="https://github.com/turtl/desktop/releases/download/v0.7.2.5/turtl-0.7.2.5-linux32.tar.bz2"
-MD5SUM="e85d853dccadcb5a8f6a5478cd038690"
-DOWNLOAD_x86_64="https://github.com/turtl/desktop/releases/download/v0.7.2.5/turtl-0.7.2.5-linux64.tar.bz2"
-MD5SUM_x86_64="771ac3060d5e6d13fcd1bb4644772999"
+DOWNLOAD="https://github.com/turtl/desktop/releases/download/v0.7.2.6-pre-sync-fix/turtl-0.7.2.6-pre-sync-fix-linux32.tar.bz2"
+MD5SUM="83f0727e4588dc6a59b5eb8b1c9b01e1"
+DOWNLOAD_x86_64="https://github.com/turtl/desktop/releases/download/v0.7.2.6-pre-sync-fix/turtl-0.7.2.6-pre-sync-fix-linux64.tar.bz2"
+MD5SUM_x86_64="f230de6e01bcdbe4ac38dfb0359a2b8a"
REQUIRES=""
MAINTAINER="Jeff Parent"
EMAIL="jeff+SBo@sh0.xyz"
diff --git a/office/unaesgcm/README b/office/unaesgcm/README
new file mode 100644
index 0000000000..b5c7649c9b
--- /dev/null
+++ b/office/unaesgcm/README
@@ -0,0 +1,18 @@
+unaesgcm is An AES-256-GCM de-/encryption utility specializing on
+`aesgcm`-scheme URLs as described in the [OMEMO media sharing XMPP
+extension (XEP-0454)](https://xmpp.org/extensions/xep-0454.html) and as
+implemented in modern XMPP clients. The latter meaning, in particular,
+that the initialization vector size is not restricted to 96 bits.
+
+The utility consists of:
+
+* `unaesgcm` command for decrypting local files;
+* `aesgcm-open` command for fetching URLs, decrypting and opening files
+ with associated applications;
+* a desktop entry handling `aesgcm` URLs using a GUI-friendly flavor of
+ the above command;
+* `aesgcm` command for encrypting local files that exists mostly for
+ symmetry.
+
+The utility is intended mainly for development/debugging, as the URLs
+with this scheme are supposed to be invisible to XMPP users, in ideal.
diff --git a/office/unaesgcm/doinst.sh b/office/unaesgcm/doinst.sh
new file mode 100644
index 0000000000..c114fdf1ea
--- /dev/null
+++ b/office/unaesgcm/doinst.sh
@@ -0,0 +1,6 @@
+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/office/unaesgcm/slack-desc b/office/unaesgcm/slack-desc
new file mode 100644
index 0000000000..50a1b30ac9
--- /dev/null
+++ b/office/unaesgcm/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+unaesgcm: unaesgcm (unaesgcm is for aesgcm:// links decryption)
+unaesgcm:
+unaesgcm: unaesgcm is An AES-256-GCM de-/encryption utility specializing on
+unaesgcm: aesgcm://-scheme URLs as described in the [OMEMO media sharing XMPP
+unaesgcm: extension (XEP-0454)](https://xmpp.org/extensions/xep-0454.html) and
+unaesgcm: implemented in modern XMPP clients.
+unaesgcm:
+unaesgcm:
+unaesgcm:
+unaesgcm:
+unaesgcm:
diff --git a/office/unaesgcm/unaesgcm.SlackBuild b/office/unaesgcm/unaesgcm.SlackBuild
new file mode 100644
index 0000000000..94b8658776
--- /dev/null
+++ b/office/unaesgcm/unaesgcm.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Copyright Lockywolf 2023
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=unaesgcm
+VERSION=${VERSION:-0.4.1.20220827_0cf9cb}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+COMMIT=0cf9cb6e37c5944b1f441cb6295ecf35329d821f
+
+ARCH=${ARCH:-}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+PRINT_PACKAGE_NAME=${PRINT_PACKAGE_NAME:-}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.?z || exit 1
+cd $PRGNAM-$COMMIT || exit 1
+
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+
+#sed -i "s|/usr/local|$PKG/usr|g" Makefile
+sed -i "s|/usr/local|/usr|g" Makefile
+# sed -i 's|ln -sf /usr/local/bin/aesgcm-open /usr/local/libexec/unaesgcm/aesgcm-open-gui/||g' Makefile
+sed -i '/update-desktop-database/d' Makefile
+
+make || make || exit 1
+make install DESTDIR=$PKG || exit 1
+#rm $PKG/usr/share/applications/mimeinfo.cache
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+)
+
+
+mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
+
+
+cat "$CWD/$PRGNAM.SlackBuild" > $PKG/usr/doc/${PRGNAM}-$VERSION/$PRGNAM.SlackBuild
+cp -ar \
+ LICENSE.md README.md \
+ $PKG/usr/doc/${PRGNAM}-$VERSION
+
+
+mkdir -p $PKG/install
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/office/unaesgcm/unaesgcm.info b/office/unaesgcm/unaesgcm.info
new file mode 100644
index 0000000000..6f68b028dd
--- /dev/null
+++ b/office/unaesgcm/unaesgcm.info
@@ -0,0 +1,10 @@
+PRGNAM="unaesgcm"
+VERSION="0.4.1.20220827_0cf9cb"
+HOMEPAGE="https://github.com/Yuubi-san/unaesgcm/"
+DOWNLOAD="https://github.com/Yuubi-san/unaesgcm/archive/0cf9cb6e37c5944b1f441cb6295ecf35329d821f/unaesgcm-0cf9cb6e37c5944b1f441cb6295ecf35329d821f.tar.gz"
+MD5SUM="0d77b478101ae2b3cbce46b5efd18114"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.unaesgcm_2023-05-16@lockywolf.net"
diff --git a/office/uncsv/README b/office/uncsv/README
new file mode 100644
index 0000000000..ae0a234860
--- /dev/null
+++ b/office/uncsv/README
@@ -0,0 +1,11 @@
+uncsv (convert to or from CSV streams)
+
+uncsv is a filter command converting the lines of a CSV file into
+non-escaped, non-quoted delimited file (pipe by default). This program
+will error out if it encounters a character matching the delimiter, it
+will also replace the carriage return and new-line characters found in
+quoted values allowing you to use awk to play with your CSVs.
+
+csv is the opposite of this command. It takes an unquoted stream of
+values, separated by the delimiter of your choice (default: pipe '|')
+and produces a "standard" CSV file.
diff --git a/office/uncsv/slack-desc b/office/uncsv/slack-desc
new file mode 100644
index 0000000000..f53a93d44b
--- /dev/null
+++ b/office/uncsv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+uncsv: uncsv (convert to or from CSV streams)
+uncsv:
+uncsv: uncsv is a filter command converting the lines of a CSV file into
+uncsv: non-escaped, non-quoted delimited file (pipe by default). This program
+uncsv: will error out if it encounters a character matching the delimiter, it
+uncsv: will also replace the carriage return and new-line characters found in
+uncsv: quoted values allowing you to use awk to play with your CSVs.
+uncsv:
+uncsv: csv is the opposite of this command. It takes an unquoted stream of
+uncsv: values, separated by the delimiter of your choice (default: pipe '|')
+uncsv: and produces a "standard" CSV file.
diff --git a/office/uncsv/uncsv.SlackBuild b/office/uncsv/uncsv.SlackBuild
new file mode 100644
index 0000000000..d455014ffa
--- /dev/null
+++ b/office/uncsv/uncsv.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for uncsv
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=uncsv
+VERSION=${VERSION:-0.9.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+sed -i "s|-O2|$SLKCFLAGS|" configure
+
+# NOT a standard autoconf configure script, doesn't take all args.
+./configure
+make PREFIX=/usr LDFLAGS=-s
+make PREFIX=$PKG/usr MANDEST=man install
+
+# same man page gets installed under 2 names
+rm -f $PKG/usr/man/man1/csv.1
+gzip -9 $PKG/usr/man/man?/*.?
+ln -s $PRGNAM.1.gz $PKG/usr/man/man1/csv.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog* LICENSE* README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/uncsv/uncsv.info b/office/uncsv/uncsv.info
new file mode 100644
index 0000000000..fcce52b8e1
--- /dev/null
+++ b/office/uncsv/uncsv.info
@@ -0,0 +1,10 @@
+PRGNAM="uncsv"
+VERSION="0.9.1"
+HOMEPAGE="https://tamentis.com/projects/uncsv/"
+DOWNLOAD="https://tamentis.com/projects/uncsv/files/uncsv-0.9.1.tar.gz"
+MD5SUM="35e68764e9933754a70ebc233e42c07f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/unoconv/unoconv.SlackBuild b/office/unoconv/unoconv.SlackBuild
index d6d255dda1..9de5c880ce 100644
--- a/office/unoconv/unoconv.SlackBuild
+++ b/office/unoconv/unoconv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for unoconv
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230922 bkw: Modified by SlackBuilds.org: get rid of /usr/man1 in
+# the package (it was an empty dir, but it shouldn't be there at all).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unoconv
VERSION=${VERSION:-0.8.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin $PKG/usr/man1
+mkdir -p $PKG/usr/bin
install -D -m0755 unoconv $PKG/usr/bin
gzip -9 doc/$PRGNAM.1
@@ -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/office/verbiste/README b/office/verbiste/README
index 354f466160..af6d1d22d8 100644
--- a/office/verbiste/README
+++ b/office/verbiste/README
@@ -1,8 +1,8 @@
Verbiste is a French conjugation system.
-Verbiste contains a C++ library, two programs (a french-conjugator and a
-french-deconjugator) that can be run from the command line or from another
-program, and a GTK application (verbiste-gtk). The knowledge base is
-represented in XML and contains over 7000 verbs There is also a small
-Italian dictionary of 120 verbs. The graphical interface lets the user
-look up a verb in one or both languages.
+Verbiste contains a C++ library, two programs (a french-conjugator and
+a french-deconjugator) that can be run from the command line or from
+another program, and a GTK application (verbiste-gtk). The knowledge
+base is represented in XML and contains over 7000 verbs There is also
+a small Italian dictionary of 120 verbs. The graphical interface lets
+the user look up a verb in one or both languages.
diff --git a/office/verbiste/verbiste.SlackBuild b/office/verbiste/verbiste.SlackBuild
index ed3c87e6cd..103189c32a 100644
--- a/office/verbiste/verbiste.SlackBuild
+++ b/office/verbiste/verbiste.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Didier Charles 2011.05.21
# dcharles@alumni.concordia.ca
@@ -9,12 +9,14 @@
# http://slackbuilds.org/templates/
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=verbiste
VERSION=${VERSION:-0.1.40}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -27,6 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -52,11 +59,12 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++11" \
./configure \
--prefix=/usr/ \
--sysconfdir=/etc \
@@ -79,9 +87,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/share/man $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/visidata/README b/office/visidata/README
new file mode 100644
index 0000000000..804993aab9
--- /dev/null
+++ b/office/visidata/README
@@ -0,0 +1,10 @@
+ VisiData is an interactive multitool for tabular data. It combines
+the clarity of a spreadsheet, the efficiency of the terminal, and
+the power of Python, into a lightweight utility which can handle
+millions of rows with ease.
+
+Optional dependences:
+ - python3-openpyxl
+ - python3-pypng
+ - python3-tabulate
+ - python3-arrow
diff --git a/office/visidata/slack-desc b/office/visidata/slack-desc
new file mode 100644
index 0000000000..b12d50bea8
--- /dev/null
+++ b/office/visidata/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+visidata: visidata (open-source data multitool for tabular data)
+visidata:
+visidata:
+visidata: VisiData is an interactive multitool for tabular data. It combines
+visidata: the clarity of a spreadsheet, the efficiency of the terminal, and
+visidata: the power of Python, into a lightweight utility which can handle
+visidata: millions of rows with ease.
+visidata:
+visidata:
+visidata:
+visidata:
diff --git a/office/visidata/visidata.SlackBuild b/office/visidata/visidata.SlackBuild
new file mode 100644
index 0000000000..ac26d7f349
--- /dev/null
+++ b/office/visidata/visidata.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for visidata
+
+# Copyright 2023 William PC - Seattle, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=visidata
+VERSION=${VERSION:-2.11}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+# fix man install
+sed -i 's#share/man#man#' setup.py
+python3 setup.py install --root=$PKG
+
+install -d $PKG/usr/doc/$PRGNAM-$VERSION
+cp -av docs $PKG/usr/doc/$PRGNAM-$VERSION
+# prune empty files/dirs
+find $PKG/usr/doc/$PRGNAM-$VERSION \
+ -size 0 -exec rm -fr '{}' \;
+
+# fix man files
+sed -i '10i.TP' $PKG/usr/man/man1/vd.1
+sed -i '10i.TP' $PKG/usr/man/man1/visidata.1
+
+install -d $PKG/usr/share/$PRGNAM
+cp -av sample_data $PKG/usr/share/$PRGNAM
+cp -av snippets $PKG/usr/share/$PRGNAM
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE.gpl3 \
+ MANIFEST.in README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/visidata/visidata.info b/office/visidata/visidata.info
new file mode 100644
index 0000000000..36fe91c2a0
--- /dev/null
+++ b/office/visidata/visidata.info
@@ -0,0 +1,10 @@
+PRGNAM="visidata"
+VERSION="2.11"
+HOMEPAGE="https://www.visidata.org"
+DOWNLOAD="https://github.com/saulpw/visidata/archive/v2.11/visidata-2.11.tar.gz"
+MD5SUM="a310c6ef1b459103b8ea16d97590d4b4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python-importlib_metadata python3-dateutil"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/office/vlna/vlna.SlackBuild b/office/vlna/vlna.SlackBuild
index 90ae6e6f20..bc5c922b99 100644
--- a/office/vlna/vlna.SlackBuild
+++ b/office/vlna/vlna.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vlna
# Petr Kletecka petr@kle.cz <2014>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vlna
VERSION=${VERSION:-1.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}
@@ -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/office/vlna/vlna.info b/office/vlna/vlna.info
index 7feb8db6af..053f20f6c0 100644
--- a/office/vlna/vlna.info
+++ b/office/vlna/vlna.info
@@ -1,7 +1,7 @@
PRGNAM="vlna"
VERSION="1.5"
HOMEPAGE="http://math.feld.cvut.cz/olsak/ftp/olsak/vlna/"
-DOWNLOAD="http://math.feld.cvut.cz/olsak/ftp/olsak/vlna/vlna-1.5.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/vlna-1.5.tar.gz"
MD5SUM="82f975d59692e159794cc6a717e0f75d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/vmd/README b/office/vmd/README
new file mode 100644
index 0000000000..9c2e5bcd1f
--- /dev/null
+++ b/office/vmd/README
@@ -0,0 +1,13 @@
+vmd (Terminal Markdown Viewer)
+
+Render markdown in a terminal! Why? Because although Markdown is still
+readable as-is, if you use Markdown a lot, it's nice to have something
+to render it with the proper formatting - with bold text and emphasis,
+etc.
+
+This version is patched to ignore img tags, which makes vmd fail to
+parse certain markdown documents.
+
+Note: this works great in the Linux console, konsole, xfce4-terminal,
+and kitty; acceptably well in xterm; and badly in rxvt-unicode. Your
+mileage may vary.
diff --git a/office/vmd/slack-desc b/office/vmd/slack-desc
new file mode 100644
index 0000000000..72cf8197ee
--- /dev/null
+++ b/office/vmd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+vmd: vmd (Terminal Markdown Viewer)
+vmd:
+vmd: Render markdown in a terminal! Why? Because although Markdown is
+vmd: still readable as-is, if you use Markdown a lot, it's nice to have
+vmd: something to render it with the proper formatting - with bold text
+vmd: and emphasis, etc.
+vmd:
+vmd: Homegage: https://github.com/cpascoe95/vmd
+vmd:
+vmd:
+vmd:
diff --git a/office/vmd/vmd.SlackBuild b/office/vmd/vmd.SlackBuild
new file mode 100644
index 0000000000..568e38eeb9
--- /dev/null
+++ b/office/vmd/vmd.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for vmd
+
+# Copyright 2019 Ricardo J. Barberis
+# Copyright 2023 B. Watson
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20230807 bkw:
+# - take over maintenance.
+# - simplify script a bit (no package changes so BUILD=1 still).
+# - add note to README about supported terminals.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=vmd
+VERSION=${VERSION:-0.1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# 20230807 bkw: No flags or libdirsuffix needed here.
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# Fix required Markdown version
+sed -i -e 's/Markdown==2.6.8/Markdown>=2.6.8, <3/' requirements.txt setup.py
+
+# Fix, or rather skip, img tags
+patch -p1 < $CWD/vmd.img.patch
+
+python3 setup.py install --root=$PKG
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE README.md requirements.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/vmd/vmd.img.patch b/office/vmd/vmd.img.patch
new file mode 100644
index 0000000000..3747468550
--- /dev/null
+++ b/office/vmd/vmd.img.patch
@@ -0,0 +1,13 @@
+diff --git a/vmd/parser.py b/vmd/parser.py
+index 2f4f992..df18d07 100644
+--- a/vmd/parser.py
++++ b/vmd/parser.py
+@@ -81,6 +81,8 @@ class TreeBuilder(HTMLParser):
+ self.current_element.add_child(HorizontalRule())
+ elif tag == 'blockquote':
+ self.new_element(tag, Blockquote())
++ elif tag == 'img':
++ pass
+ else:
+ self.logger.warning('Unhandled tag type \'%s\' found in %s', tag, self.current_element.tag_ancestry())
+ self.unknown_tag_stack.append(tag)
diff --git a/office/vmd/vmd.info b/office/vmd/vmd.info
new file mode 100644
index 0000000000..68916b4034
--- /dev/null
+++ b/office/vmd/vmd.info
@@ -0,0 +1,10 @@
+PRGNAM="vmd"
+VERSION="0.1.1"
+HOMEPAGE="https://github.com/cpascoe95/vmd"
+DOWNLOAD="https://github.com/cpascoe95/vmd/archive/v0.1.1/vmd-0.1.1.tar.gz"
+MD5SUM="5dba1bf366780eb2e6bd1ce87e664517"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="Markdown"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/vym/vym.SlackBuild b/office/vym/vym.SlackBuild
index 7402b25d3b..00be142f7c 100644
--- a/office/vym/vym.SlackBuild
+++ b/office/vym/vym.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vym
-# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,24 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vym
-VERSION=${VERSION:-2.2.4}
+VERSION=${VERSION:-2.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,13 +83,17 @@ qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
PREFIX=/usr \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ DATADIR=/usr/share/vym
make
make install INSTALL_ROOT=$PKG
-mkdir -p $PKG/usr/share/{pixmaps,applications,mimelnk/application}
-install -m 0644 icons/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+mkdir -p $PKG/usr/man/man1
+install -m644 doc/vym.1.gz $PKG/usr/man/man1/
+
+ mkdir -p $PKG/usr/share/{pixmaps,applications,mimelnk/application}
+install -m 0644 icons/$PRGNAM-128x128.png $PKG/usr/share/pixmaps/$PRGNAM.png
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
install -m 0644 $CWD/x-$PRGNAM.desktop $PKG/usr/share/mimelnk/application/
@@ -87,8 +101,7 @@ 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 -r doc INSTALL.txt LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/vym.pdf
+cp -r doc/*.pdf LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -96,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/vym/vym.info b/office/vym/vym.info
index 081144ac3c..bef8e0e5ba 100644
--- a/office/vym/vym.info
+++ b/office/vym/vym.info
@@ -1,10 +1,10 @@
PRGNAM="vym"
-VERSION="2.2.4"
+VERSION="2.8.8"
HOMEPAGE="http://www.insilmaril.de/vym/"
-DOWNLOAD="http://downloads.sourceforge.net/vym/vym-2.2.4.tar.bz2"
-MD5SUM="8cc2bc61b337202eb5ec6c331d87bbae"
+DOWNLOAD="http://downloads.sourceforge.net/vym/vym-2.8.8.tar.bz2"
+MD5SUM="00df3283af5e3451348edcc6f3b00427"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/office/wammu/README b/office/wammu/README
index 8f56f6c05d..2340e2d541 100644
--- a/office/wammu/README
+++ b/office/wammu/README
@@ -1,4 +1,4 @@
-Mobile phone manager using Gammu as it's backend. It works with any
+Mobile phone manager using Gammu as its backend. It works with any
phone Gammu supports - many Nokias, Siemens, Alcatel, ...
-pybluez is an optional dependency (for bluetooth support).
+python2-pybluez is an optional dependency (for bluetooth support).
diff --git a/office/wammu/slack-desc b/office/wammu/slack-desc
index f2ebc861aa..dcb2222616 100644
--- a/office/wammu/slack-desc
+++ b/office/wammu/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
wammu: wammu (Mobile-phone manager)
wammu:
-wammu: Mobile phone manager using Gammu as it's backend. It works with any
+wammu: Mobile phone manager using Gammu as its backend. It works with any
wammu: phone Gammu supports - many Nokias, Siemens, Alcatel, ...
wammu:
wammu: Homepage: https://wammu.eu/wammu/
diff --git a/office/wammu/wammu.SlackBuild b/office/wammu/wammu.SlackBuild
index 284b1d3490..28cd6bed6b 100644
--- a/office/wammu/wammu.SlackBuild
+++ b/office/wammu/wammu.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wammu
-# Copyright 2009-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,24 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wammu
-VERSION=${VERSION:-0.43}
+VERSION=${VERSION:-0.44}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr/man
@@ -88,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/wammu/wammu.info b/office/wammu/wammu.info
index 9b3dcd105c..d4571a7025 100644
--- a/office/wammu/wammu.info
+++ b/office/wammu/wammu.info
@@ -1,10 +1,10 @@
PRGNAM="wammu"
-VERSION="0.43"
+VERSION="0.44"
HOMEPAGE="https://wammu.eu/wammu/"
-DOWNLOAD="https://dl.cihar.com/wammu/v0/wammu-0.43.tar.xz"
-MD5SUM="b4adfb54323e0baeddb5775511320ae4"
+DOWNLOAD="https://dl.cihar.com/wammu/v0/wammu-0.44.tar.xz"
+MD5SUM="81bfecf96c53ac7fc61878bd0acb5215"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-gammu wxPython3"
+REQUIRES="python2-gammu wxPython3"
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/office/watson/README b/office/watson/README
index 22aad37a25..f8d905b6f0 100644
--- a/office/watson/README
+++ b/office/watson/README
@@ -1,14 +1,16 @@
-Watson is here to help you monitor your time. You want to know how much time
-you are spending on your projects? You want to generate a nice report for
-your client? Watson is here for you.
+Watson is here to help you monitor your time. You want to know how
+much time you are spending on your projects? You want to generate a
+nice report for your client? Watson is here for you.
-Tell Watson when you start working on a task with the start command. Then,
-when you are done with this task, stop the timer with the stop command. This
-will create what we call a frame. That’s pretty much everything you need to
-know to start using Watson.
+Tell Watson when you start working on a task with the start
+command. Then, when you are done with this task, stop the timer with
+the stop command. This will create what we call a frame. That’s
+pretty much everything you need to know to start using Watson.
-Each frame consists of the name of a project and some tags. Your tags can be
-shared across projects and can be used to generate detailed reports.
+Each frame consists of the name of a project and some tags. Your tags
+can be shared across projects and can be used to generate detailed
+reports.
-Watson stores everything on your computer, but you can go wild and use
-crick.io to store your sessions remotely and share it with your colleagues.
+Watson stores everything on your computer, but you can go wild and
+use crick.io to store your sessions remotely and share it with your
+colleagues.
diff --git a/office/watson/watson.SlackBuild b/office/watson/watson.SlackBuild
index ca5e85b745..094ea8bb68 100644
--- a/office/watson/watson.SlackBuild
+++ b/office/watson/watson.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for watson
-# Copyright 2017-2018 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2017-2019 Jostein Berntsen <jvbernts@online.no>
# 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.
-# Written by Jostein Berntsen <jbernts@broadpark.no>
+# Written by Jostein Berntsen <jvbernts@online.no>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=watson
SRCNAM=Watson
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.8.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}
@@ -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/office/watson/watson.info b/office/watson/watson.info
index ca63339a7a..7c1a60b9fb 100644
--- a/office/watson/watson.info
+++ b/office/watson/watson.info
@@ -1,10 +1,10 @@
PRGNAM="watson"
-VERSION="1.6.0"
+VERSION="1.8.0"
HOMEPAGE="http://tailordev.github.io/Watson/"
-DOWNLOAD="https://github.com/TailorDev/Watson/archive/1.6.0/Watson-1.6.0.tar.gz"
-MD5SUM="6d6479915a19fd3143e27372fb27e219"
+DOWNLOAD="https://github.com/TailorDev/Watson/archive/1.8.0/Watson-1.8.0.tar.gz"
+MD5SUM="4352a8ae25a37270f30b1aa6e034fa1f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="arrow click"
+REQUIRES="arrow click-legacy7"
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/office/when/README b/office/when/README
new file mode 100644
index 0000000000..0cfa8e4ce7
--- /dev/null
+++ b/office/when/README
@@ -0,0 +1,13 @@
+When is an extremely simple personal calendar program, aimed at the Unix
+geek who wants something minimalistic. It can keep track of things you
+need to do on particular dates. There are a lot of calendar and
+"personal information manager" programs out there, so what reasons are
+there to use When?
+
+- It's a very short and simple program, so you can easily tinker with it
+ yourself.
+- It doesn't depend on any libraries, so it's easy to install. You
+ should be able to install it on any system where Perl is available,
+ even if you don't have privileges for installing libraries.
+- Its file format is a simple text file, which you can edit in your
+ favorite editor.
diff --git a/office/when/slack-desc b/office/when/slack-desc
new file mode 100644
index 0000000000..66936e9cd1
--- /dev/null
+++ b/office/when/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+when: when (an extremely simple personal calendar program)
+when:
+when: When is an extremely simple personal calendar program, aimed at the
+when: Unix geek who wants something minimalistic. It can keep track of
+when: things you need to do on particular dates.
+when:
+when: Homepage: http://www.lightandmatter.com/when/when.html
+when:
+when:
+when:
+when:
diff --git a/office/when/when.SlackBuild b/office/when/when.SlackBuild
new file mode 100644
index 0000000000..afa313bb0d
--- /dev/null
+++ b/office/when/when.SlackBuild
@@ -0,0 +1,81 @@
+#!/bin/bash
+
+# Slackware build script for when
+
+# Copyright 2020 Ján Sučan, Stará Turá, Slovakia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Modified by slackbuilds.org
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=when
+VERSION=${VERSION:-1.1.45}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}_$VERSION.orig.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 {} \;
+
+make install DESTDIR=$PKG MANDIR=/usr/man/man1
+install -m 755 $PRGNAM $PKG/usr/bin/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/when/when.info b/office/when/when.info
new file mode 100644
index 0000000000..2387a39d55
--- /dev/null
+++ b/office/when/when.info
@@ -0,0 +1,10 @@
+PRGNAM="when"
+VERSION="1.1.45"
+HOMEPAGE="http://www.lightandmatter.com/when/when.html"
+DOWNLOAD="http://deb.debian.org/debian/pool/main/w/when/when_1.1.45.orig.tar.xz"
+MD5SUM="966549c8743c380dfc8a50b155f2cd9e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ján Sučan"
+EMAIL="jan@jansucan.com"
diff --git a/office/wink/wink.SlackBuild b/office/wink/wink.SlackBuild
index 7e79a5b7d6..90989b4e69 100644
--- a/office/wink/wink.SlackBuild
+++ b/office/wink/wink.SlackBuild
@@ -1,8 +1,11 @@
-#!/bin/sh
+#!/bin/bash
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wink
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -12,7 +15,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/wink/wink.info b/office/wink/wink.info
index b6f60c65ec..860d5c7a9a 100644
--- a/office/wink/wink.info
+++ b/office/wink/wink.info
@@ -1,7 +1,7 @@
PRGNAM="wink"
VERSION="1.5"
HOMEPAGE="http://www.debugmode.com/wink/"
-DOWNLOAD="http://fossies.org/linux/misc/wink15.tar.gz"
+DOWNLOAD="http://downloads.sourceforge.net/project/slackbuildsdirectlinks/wink/wink15.tar.gz"
MD5SUM="be2d80bcf3fdfe1a403674d789aed9db"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/wordgrinder/README b/office/wordgrinder/README
index edb1b46738..08ed511b93 100644
--- a/office/wordgrinder/README
+++ b/office/wordgrinder/README
@@ -1,7 +1,8 @@
-WordGrinder is a simple, Unicode-aware word processor that runs on the
-console. It's designed to get the hell out of your way and let you write;
-it does very little, but what it does it does well.
+WordGrinder is a simple, Unicode-aware word processor that runs on
+the console. It's designed to get the hell out of your way and let you
+write; it does very little, but what it does it does well.
-It supports basic paragraph styles, basic character styles, basic screen
-markup, a menu interface that means you don't have to remember complex
-key sequences, HTML import and export, and some other useful features.
+It supports basic paragraph styles, basic character styles, basic
+screen markup, a menu interface that means you don't have to remember
+complex key sequences, HTML import and export, and some other useful
+features.
diff --git a/office/wordgrinder/wordgrinder.SlackBuild b/office/wordgrinder/wordgrinder.SlackBuild
index d9b19328cc..f664061b05 100644
--- a/office/wordgrinder/wordgrinder.SlackBuild
+++ b/office/wordgrinder/wordgrinder.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wordgrinder
-# Copyright 2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2018-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220218 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix 15.0 build.
+# - use correct icon path in .desktop file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wordgrinder
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,25 +76,31 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fix of paths for Slackware
sed -i '7s!$(HOME)!'$PKG'/usr!' Makefile
-sed -i 's!share\/!!' Makefile
+sed -i '10s!SHAREDIR!PREFIX!' Makefile
+sed -i '11s!SHAREDIR!PREFIX!' Makefile
+
+# 20220218 bkw: Slackware 15.0's ncurses headers don't define KEY_EVENT,
+# and wordgrinder doesn't seem to actually use it anyway.
+sed -i '/KEY_EVENT/d' src/c/arch/unix/cursesw/dpy.c
-make
+make CFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man1/*
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Fix doc and mime paths
+mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/mime-info $PKG/usr/share/mime/
-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
+# 20220218 bkw: binaries are stripped by default
mkdir -p $PKG/usr/share/applications
-install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+install -D -m644 extras/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 extras/icon.png $PKG/usr/share/pixmaps/${PRGNAM}.png
@@ -97,4 +114,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/office/wordgrinder/wordgrinder.desktop b/office/wordgrinder/wordgrinder.desktop
deleted file mode 100644
index 0c75cfee95..0000000000
--- a/office/wordgrinder/wordgrinder.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=WordGrinder
-Comment= A word processor for processing words
-Exec=xwordgrinder
-Icon=wordgrinder
-Terminal=false
-Type=Application
-Categories=Office;
diff --git a/office/wordgrinder/wordgrinder.info b/office/wordgrinder/wordgrinder.info
index 24ccfcdce3..fc65ac9f14 100644
--- a/office/wordgrinder/wordgrinder.info
+++ b/office/wordgrinder/wordgrinder.info
@@ -1,10 +1,10 @@
PRGNAM="wordgrinder"
-VERSION="0.7.2"
+VERSION="0.8"
HOMEPAGE="https://cowlark.com/wordgrinder/"
-DOWNLOAD="https://github.com/davidgiven/wordgrinder/archive/0.7.2/wordgrinder-0.7.2.tar.gz"
-MD5SUM="4c754fddfe29c2038a1c96d38ba49c74"
+DOWNLOAD="https://github.com/davidgiven/wordgrinder/archive/0.8/wordgrinder-0.8.tar.gz"
+MD5SUM="8a21e2ee18a9372741bb80b270588817"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ninja lua52 lua-filesystem"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/office/wordtsar/README b/office/wordtsar/README
new file mode 100644
index 0000000000..0e06fa45de
--- /dev/null
+++ b/office/wordtsar/README
@@ -0,0 +1,13 @@
+wordtsar (wordstar clone)
+
+WordTsar is a clone of WordStar 7.0D, with a look and feel very
+similar to the original, including the standard set of keystrokes.
+It loads Wordstar 4, Wordstar 7, RTF (partial), and DOCX (partial)
+files, and saves in Wordstar 7 and RTF format.
+
+Note that WordTsar is alpha-quality software.
+
+If you're looking for a clone of the old MS-DOS textmode WordStar,
+Slackware already ships "jstar" (part of the "joe" package).
+
+Command-line users, the executable is called WordTsar, not wordtsar.
diff --git a/office/wordtsar/doinst.sh b/office/wordtsar/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/wordtsar/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/wordtsar/slack-desc b/office/wordtsar/slack-desc
new file mode 100644
index 0000000000..eb7b191ad6
--- /dev/null
+++ b/office/wordtsar/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+wordtsar: wordtsar (wordstar clone)
+wordtsar:
+wordtsar: WordTsar is a clone of WordStar 7.0D, with a look and feel very
+wordtsar: similar to the original, including the standard set of keystrokes.
+wordtsar: It loads Wordstar 4, Wordstar 7, RTF (partial), and DOCX (partial)
+wordtsar: files, and saves in Wordstar 7 and RTF format.
+wordtsar:
+wordtsar: Note that WordTsar is alpha-quality software.
+wordtsar:
+wordtsar:
+wordtsar:
diff --git a/office/wordtsar/wordtsar.SlackBuild b/office/wordtsar/wordtsar.SlackBuild
new file mode 100644
index 0000000000..2508308004
--- /dev/null
+++ b/office/wordtsar/wordtsar.SlackBuild
@@ -0,0 +1,82 @@
+#!/bin/bash
+
+# Slackware build script for wordtsar
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Note: building.txt appears to be horribly out of date; it refers
+# to wxWidgets and CodeLite... but this is a Qt app, built with
+# qmake. *shrug*.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=wordtsar
+SRCNAM=WordTsar
+VERSION=${VERSION:-0.3.719}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# no flags or libdir stuffs here, qmake knows what to do.
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION-src
+unzip $CWD/$SRCNAM-$VERSION-src.zip
+cd $SRCNAM-$VERSION-src
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# weirdness, refers to ../src/<whatever>
+sed -i.bak 's,\.\./,,g' *.pro
+
+qmake-qt5
+make
+
+# no 'make install'.
+mkdir -p $PKG/usr/{bin,share/{applications,pixmaps}}
+install -s -m0755 $SRCNAM $PKG/usr/bin
+install -m0644 linuxdeploy/$SRCNAM.desktop $PKG/usr/share/applications/$SRCNAM.desktop
+
+for px in 16 22 32 48 64 128; do
+ sz=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$sz/apps
+ mkdir -p $dir
+ convert -resize $sz linuxdeploy/$PRGNAM.png $dir/$PRGNAM.png
+done
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE* implemented.xlsx $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/wordtsar/wordtsar.info b/office/wordtsar/wordtsar.info
new file mode 100644
index 0000000000..0a189fa4a4
--- /dev/null
+++ b/office/wordtsar/wordtsar.info
@@ -0,0 +1,10 @@
+PRGNAM="wordtsar"
+VERSION="0.3.719"
+HOMEPAGE="http://wordtsar.ca/"
+DOWNLOAD="https://downloads.sourceforge.net/project/wordtsar/Releases/WordTsar-0.3.719/WordTsar-0.3.719-src.zip"
+MD5SUM="395dbbdaeb16d9a5fad3bd6f27d41e55"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/wps-office-dicts/DICTIONARIES b/office/wps-office-dicts/DICTIONARIES
new file mode 100644
index 0000000000..9094ed21bd
--- /dev/null
+++ b/office/wps-office-dicts/DICTIONARIES
@@ -0,0 +1,90 @@
+af_ZA Afrikaans
+an_ES Aragonese
+ar Arabic
+be_BY Belarusian
+bg_BG Bulgarian
+bn_BD Bengali
+bo Tibetan
+br_FR Breton
+bs_BA Bosnian
+ca Catalan
+ckb Kurdish_(Sorani)
+cs_CZ Czech
+da_DK Danish
+de_AT German_(Austrian)
+de_CH German_(Swiss)
+de_DE German
+el_GR Greek
+en_AU English_(Australian)
+en_CA English_(Canada)
+en_GB English_(Great_Britain)
+en_ZA English_(South_African)
+eo Esperanto
+es Spanish_(international)
+es_AR Spanish_(Argentina)
+es_BO Spanish_(Bolivia)
+es_CL Spanish_(Chile)
+es_CO Spanish_(Colombia)
+es_CR Spanish_(Costa_Rica)
+es_CU Spanish_(Cuba)
+es_DO Spanish_(República_Dominicana)
+es_EC Spanish_(Ecuador)
+es_ES Spanish_(España)
+es_GQ Spanish_(Guinea_Ecuatorial)
+es_GT Spanish_(Guatemala)
+es_HN Spanish_(Honduras)
+es_MX Spanish_(México)
+es_NI Spanish_(Nicaragua)
+es_PA Spanish_(Panamá)
+es_PE Spanish_(Perú)
+es_PH Spanish_(Filipinas)
+es_PR Spanish_(Puerto_Rico)
+es_PY Spanish_(Paraguay)
+es_SV Spanish_(El_Salvador)
+es_US Spanish_(Estados_Unidos)
+es_UY Spanish_(Uruguay)
+es_VE Spanish_(Venezuela)
+et_EE Estonian
+fa_IR Farsi
+fr French
+gd_GB Scottish_Gaelic
+gl_ES Galician
+gu_IN Gujarati
+gug Guarani
+he_IL Hebrew
+hi_IN Hindi
+hr_HR Croatian
+hu_HU Hungarian
+id_ID Indonesian
+is Icelandic
+it_IT Italian
+kmr_Latn Kurdish_(Turkey)
+ko_KR Korean
+lo_LA Lao
+lt Lithuanian
+lv_LV Latvian
+mn_MN Mongolian
+ne_NP Nepali
+nl_NL Netherlands
+nb_NO Norwegian_(Bokmål)
+nn_NO Norwegian_(Nynorsk)
+oc_FR Occitan
+pl_PL Polish
+pt_BR Brazilian_Portuguese
+pt_PT Portuguese
+ro_RO Romanian
+ru_RU Russian
+si_LK Sinhala
+sk_SK Slovak
+sl_SI Slovenian
+sq_AL Albanian
+sr Serbian_(Cyrillic)
+sr_Latn Serbian_(Latin)
+sv_SE Swedish
+sv_FI Swedish_(Finland)
+sw_TZ Swahili
+te_IN Telugu
+th_TH Thai
+tr_TR Turkish
+uk_UA Ukrainian
+vi_VN Vietnamese
diff --git a/office/wps-office-dicts/README b/office/wps-office-dicts/README
new file mode 100644
index 0000000000..63e98d7d69
--- /dev/null
+++ b/office/wps-office-dicts/README
@@ -0,0 +1,107 @@
+Spell check dictionaries for WPS Office. The language files are adapted
+from the LibreOffice Dictionaries project.
+
+By default, all languages are packaged. To select only a specific one
+(or a combination), pass the respective code(s) to the script by the
+LANGS="" option (note codes below). For example, I use Bulgarian and
+British English, so to install only these two, I would run:
+
+ LANGS="bg_BG en_GB" ./wps-office-dicts.SlackBuild
+
+Or, you can just edit the "DICTIONARIES" list file, distributed with the
+script, and leave the ones you want. Note, that I cannot test all these,
+so if there are issues with a language you speak, let me know. Languages
+included:
+
+code
+-----
+af_ZA Afrikaans
+an_ES Aragonese
+ar Arabic
+be_BY Belarusian
+bg_BG Bulgarian
+bn_BD Bengali
+bo Tibetan
+br_FR Breton
+bs_BA Bosnian
+ca Catalan
+ckb Kurdish (Sorani)
+cs_CZ Czech
+da_DK Danish
+de_AT German (Austrian)
+de_CH German (Swiss)
+de_DE German
+el_GR Greek
+en_AU English (Australian)
+en_CA English (Canada)
+en_GB English (Great Britain)
+en_ZA English (South African)
+eo Esperanto
+es Spanish (international)
+es_AR Spanish (Argentina)
+es_BO Spanish (Bolivia)
+es_CL Spanish (Chile)
+es_CO Spanish (Colombia)
+es_CR Spanish (Costa Rica)
+es_CU Spanish (Cuba)
+es_DO Spanish (República Dominicana)
+es_EC Spanish (Ecuador)
+es_ES Spanish (España)
+es_GQ Spanish (Guinea Ecuatorial)
+es_GT Spanish (Guatemala)
+es_HN Spanish (Honduras)
+es_MX Spanish (México)
+es_NI Spanish (Nicaragua)
+es_PA Spanish (Panamá)
+es_PE Spanish (Perú)
+es_PH Spanish (Filipinas)
+es_PR Spanish (Puerto Rico)
+es_PY Spanish (Paraguay)
+es_SV Spanish (El Salvador)
+es_US Spanish (Estados Unidos)
+es_UY Spanish (Uruguay)
+es_VE Spanish (Venezuela)
+et_EE Estonian
+fa_IR Farsi
+fr French
+gd_GB Scottish Gaelic
+gl_ES Galician
+gu_IN Gujarati
+gug Guarani
+he_IL Hebrew
+hi_IN Hindi
+hr_HR Croatian
+hu_HU Hungarian
+id_ID Indonesian
+is Icelandic
+it_IT Italian
+kmr_Latn Kurdish (Turkey)
+ko_KR Korean
+lo_LA Lao
+lt Lithuanian
+lv_LV Latvian
+mn_MN Mongolian
+ne_NP Nepali
+nl_NL Netherlands
+nb_NO Norwegian (Bokmål)
+nn_NO Norwegian (Nynorsk)
+oc_FR Occitan
+pl_PL Polish
+pt_BR Brazilian Portuguese
+pt_PT Portuguese
+ro_RO Romanian
+ru_RU Russian
+si_LK Sinhala
+sk_SK Slovak
+sl_SI Slovenian
+sq_AL Albanian
+sr Serbian (Cyrillic)
+sr_Latn Serbian (Latin)
+sv_SE Swedish
+sv_FI Swedish (Finland)
+sw_TZ Swahili
+te_IN Telugu
+th_TH Thai
+tr_TR Turkish
+uk_UA Ukrainian
+vi_VN Vietnamese
diff --git a/office/wps-office-dicts/slack-desc b/office/wps-office-dicts/slack-desc
new file mode 100644
index 0000000000..4a93dffa45
--- /dev/null
+++ b/office/wps-office-dicts/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+wps-office-dicts: wps-office-dicts (Spell check dictionaries for WPS Office)
+wps-office-dicts:
+wps-office-dicts: Spell check dictionaries for WPS Office. The language files are
+wps-office-dicts: adapted from the LibreOffice Dictionaries project.
+wps-office-dicts:
+wps-office-dicts: https://github.com/LibreOffice/dictionaries/
+wps-office-dicts:
+wps-office-dicts:
+wps-office-dicts:
+wps-office-dicts:
+wps-office-dicts:
diff --git a/office/wps-office-dicts/wps-office-dicts.SlackBuild b/office/wps-office-dicts/wps-office-dicts.SlackBuild
new file mode 100644
index 0000000000..72842bfcf3
--- /dev/null
+++ b/office/wps-office-dicts/wps-office-dicts.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for <wps-office-dicts>
+
+# Copyright 2023 Petar Petrov slackalaxy at gmail dot com
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=wps-office-dicts
+VERSION=${VERSION:-7.5.4.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf dictionaries-libreoffice-$VERSION
+tar xvf $CWD/dictionaries-libreoffice-$VERSION.tar.gz
+cd dictionaries-libreoffice-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Do we use the default list or a user specified one?
+if [ -z $LANGS ]; then
+ LANGS=$(awk '{print $1}' $CWD/DICTIONARIES | tr '\n' ' ')
+fi
+
+DICTDIR="$PKG/opt/kingsoft/wps-office/office6/dicts/spellcheck/"
+
+for i in ${LANGS[@]} ; do
+ # get the description
+ d=$(grep "$i" $CWD/DICTIONARIES | awk '{print $2}')
+ mkdir -p $DICTDIR/$i
+
+ # create the dictionary config
+ echo "[Dictionary]" >> $DICTDIR/$i/dict.conf
+ echo "DisplayName=${d//_/ }" >> $DICTDIR/$i/dict.conf
+ echo "DisplayName[$i]=${d//_/ }" >> $DICTDIR/$i/dict.conf
+
+ # This is the most common case
+ find . -name "$i.aff" -exec cp {} $DICTDIR/$i/main.aff \;
+ find . -name "$i.dic" -exec cp {} $DICTDIR/$i/main.dic \;
+
+ # But these also exist for de_CH, de_DE
+ find . -name "${i}_frami.aff" -exec cp {} $DICTDIR/$i/main.aff \;
+ find . -name "${i}_frami.dic" -exec cp {} $DICTDIR/$i/main.dic \;
+
+ # this is needed for be_BY
+ find . -name "${i:0:2}-official.aff" -exec cp {} $DICTDIR/$i/main.aff \;
+ find . -name "${i:0:2}-official.dic" -exec cp {} $DICTDIR/$i/main.dic \;
+
+ # this is needed for fa_IR abd sr_Latn
+ find . -name "${i/_/-}.aff" -exec cp {} $DICTDIR/$i/main.aff \;
+ find . -name "${i/_/-}.dic" -exec cp {} $DICTDIR/$i/main.dic \;
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+echo $CWD/DICTIONARIES > $PKG/usr/doc/$PRGNAM-$VERSION/DICTIONARIES
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/wps-office-dicts/wps-office-dicts.info b/office/wps-office-dicts/wps-office-dicts.info
new file mode 100644
index 0000000000..6639b228c4
--- /dev/null
+++ b/office/wps-office-dicts/wps-office-dicts.info
@@ -0,0 +1,10 @@
+PRGNAM="wps-office-dicts"
+VERSION="7.5.4.1"
+HOMEPAGE="https://github.com/LibreOffice/dictionaries/"
+DOWNLOAD="https://github.com/LibreOffice/dictionaries/archive/libreoffice-7.5.4.1/dictionaries-libreoffice-7.5.4.1.tar.gz"
+MD5SUM="e75ffce187ca7521b24e31ec7d414fe5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="wps-office"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/office/wps-office/README b/office/wps-office/README
index 83be8d58ea..5f97be812f 100644
--- a/office/wps-office/README
+++ b/office/wps-office/README
@@ -1,6 +1,37 @@
-WPS Office (an office productivity suite for Linux)
+WPS Office: One of the Best Office Solutions for Linux
-WPS Office, including Writer, Presentation and spreadsheets, is a
-powerful office suite. It is deeply compatible with all of the
-latest Microsoft Office file formats. It can easily open and read
-the documents created with Microsoft Office.
+* Free All-in-One Office Suite
+Writer, Spreadsheet, Presentation, and the PDF Toolkit can help you
+solve issues in viewing and editing common document types. Meanwhile,
+the small but feature-rich PDF toolkit can help you convert PDFs from
+and to Word, Excel, PPT, and image files with ease.
+
+Compatible with Various File Formats
+WPS Office supports common document formats. The four components of WPS
+Office will boost your productivity in text processing, data analysis,
+and animation creation.
+
+Excellent Productivity Application for Free
+Writer provides powerful solutions for setting the layout of graphics
+and texts. Spreadsheet possesses an accurate and efficient calculation
+engine. Presentation delivers professional animations and exquisite
+online templates.
+
+NOTE: webcore-fonts
+Having webcore-fonts installed is recommended, otherwise the program
+will complain about missing fonts upon start.
+
+NOTE: themes
+The button for changing themes does not work at the moment.
+
+TROUBLESHOOTING: WPS Office Overriding/Breaks Mime
+* Close all WPS Office programs
+* Open ~/.config/Kingsoft/Office.conf
+* Add the following, just before [kdcsdk]:
+
+ common\do_not_detect_file_association_while_startup=true
+
+* Save the file
+* You may need to also clean WPS Office associated stuff from:
+
+ ~/.local/share/mime/
diff --git a/office/wps-office/desktop/et.desktop b/office/wps-office/desktop/et.desktop
new file mode 100644
index 0000000000..23333c2306
--- /dev/null
+++ b/office/wps-office/desktop/et.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WPS Spreadsheet
+Comment=WPS Office Spreadsheet
+Exec=et
+Icon=wps-office2019-etmain
+StartupNotify=false
+Type=Application
+Categories=Office
diff --git a/office/wps-office/desktop/wpdf.desktop b/office/wps-office/desktop/wpdf.desktop
new file mode 100644
index 0000000000..009652e8a7
--- /dev/null
+++ b/office/wps-office/desktop/wpdf.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WPS PDF
+Comment=WPS Office PDF
+Exec=wpspdf
+Icon=wps-office2019-pdfmain
+StartupNotify=false
+Type=Application
+Categories=Office
diff --git a/office/wps-office/desktop/wpp.desktop b/office/wps-office/desktop/wpp.desktop
new file mode 100644
index 0000000000..a053b07809
--- /dev/null
+++ b/office/wps-office/desktop/wpp.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WPS Presentations
+Comment=WPS Office Presentations
+Exec=wpp
+Icon=wps-office2019-wppmain
+StartupNotify=false
+Type=Application
+Categories=Office
diff --git a/office/wps-office/desktop/wps.desktop b/office/wps-office/desktop/wps.desktop
new file mode 100644
index 0000000000..40b2a3f802
--- /dev/null
+++ b/office/wps-office/desktop/wps.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WPS Writer
+Comment=WPS Office Writer
+Exec=wps
+Icon=wps-office2019-wpsmain
+StartupNotify=false
+Type=Application
+Categories=Office
diff --git a/office/wps-office/slack-desc b/office/wps-office/slack-desc
index 6835588a52..9965fe408d 100644
--- a/office/wps-office/slack-desc
+++ b/office/wps-office/slack-desc
@@ -13,7 +13,7 @@ wps-office: powerful office suite. It is deeply compatible with all of the
wps-office: latest Microsoft Office file formats. It can easily open and read
wps-office: the documents created with Microsoft Office.
wps-office:
+wps-office: Homepage: https://linux.wps.com/
wps-office:
wps-office:
-wps-office: Homepage: http://www.wps.com/linux
wps-office:
diff --git a/office/wps-office/wps-office.SlackBuild b/office/wps-office/wps-office.SlackBuild
index 1f1ef95ecc..e77d76e0f5 100644
--- a/office/wps-office/wps-office.SlackBuild
+++ b/office/wps-office/wps-office.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wps-office
+# Copyright 2023 Petar Petrov, slackalaxy at gmail dot com
# Copyright 2016 Andre Fernando, Indonesia
# All rights reserved.
#
@@ -22,62 +23,81 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230627 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install all shared libaries with +x permission.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wps-office
-VERSION=${VERSION:-10.1.0.6757}
+VERSION=${VERSION:-11.1.0.11711.XA}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-ARCH=${ARCH:-$(uname -m)}
-case "$ARCH" in
- i?86) ARCH=i586; SRCARCH=x86 ;;
- x86_64) SRCARCH=x86_64 ;;
- *) echo "$ARCH is not supported"; exit 1 ;;
-esac
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=x86_64 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" != "x86_64" ]; then
+ printf "\n\n$ARCH is not supported... \n"
+ exit 1
+fi
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-
-SRCNAM=wps-office
-SRCVER=_10.1.0.6757_$SRCARCH
-DESTDIR=$PKG/opt/kingsoft
-
-mkdir -p $DESTDIR/$PRGNAM
cd $TMP
-tar xJvf $CWD/$PRGNAM$SRCVER.tar.xz
-chown -R root:root $PRGNAM$SRCVER
-find -L $PRGNAM$SRCVER \
+rm -rf $PRGNAM
+mkdir -p $PRGNAM
+cd $PRGNAM
+ar -x $CWD/${PRGNAM}_${VERSION}_amd64.deb
+tar xvf data.tar.xz
+
+chown -R root:root .
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -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 {} +
+
+# No WPS submenus, automatic file associations or redundant fonts (DejaVuMathTeXGyre.ttf)
+cp -a opt $PKG
-mkdir -p $PKG/usr/bin/
-install -D -m 0755 $PRGNAM$SRCVER/wps $PKG/usr/bin/wps
-install -D -m 0755 $PRGNAM$SRCVER/wpp $PKG/usr/bin/wpp
-install -D -m 0755 $PRGNAM$SRCVER/et $PKG/usr/bin/et
+mkdir -p $PKG/usr
+cp -a usr/bin $PKG/usr
-mkdir -p $PKG/usr/share/applications
-mv $PRGNAM$SRCVER/resource/applications/* $PKG/usr/share/applications
+# use our desktop files
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+cp --no-preserve=mode,ownership $CWD/desktop/*.desktop $PKG/usr/share/applications
+cp -a usr/share/icons/hicolor/48x48/mimetypes/wps-office2019-* $PKG/usr/share/pixmaps
-mkdir -p $PKG/usr/share/icons
-mv $PRGNAM$SRCVER/resource/icons/* $PKG/usr/share/icons
+chmod 0644 $PKG/usr/share/pixmaps/wps-office2019-*
-mkdir -p $PKG/usr/share/mime
-mv $PRGNAM$SRCVER/resource/mime/* $PKG/usr/share/mime
+find $PKG -print0 | xargs -0 file -m /etc/file/magic/elf \
+ | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : > .tmpfind.$$
+xargs strip --strip-unneeded < .tmpfind.$$ 2> /dev/null || true
+xargs chmod 755 < .tmpfind.$$ 2> /dev/null || true
-mkdir -p $PKG/usr/share/licenses/$PRGNAM-$VERSION
-install -D -m 0644 $PRGNAM$SRCVER/office6/mui/default/EULA.txt $PKG/usr/share/licenses/$PRGNAM-$VERSION/EULA.txt
-mv $PRGNAM$SRCVER/office6 $DESTDIR/$PRGNAM
+# Thanks to NixOS (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/office/wpsoffice/default.nix)
+# distribution is missing libkappessframework.so, so remove the following dead libraries
+rm -r $PKG/opt/kingsoft/wps-office/office6/addons/pdfbatchcompression
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $PRGNAM$SRCVER/README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -85,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/office/wps-office/wps-office.info b/office/wps-office/wps-office.info
index 71f2125154..4f9a82beac 100644
--- a/office/wps-office/wps-office.info
+++ b/office/wps-office/wps-office.info
@@ -1,10 +1,10 @@
PRGNAM="wps-office"
-VERSION="10.1.0.6757"
-HOMEPAGE="http://wps-community.org/"
-DOWNLOAD="http://kdl.cc.ksosoft.com/wps-community/download/6757/wps-office_10.1.0.6757_x86.tar.xz"
-MD5SUM="d327c8761ad79b125889ade867651f28"
-DOWNLOAD_x86_64="http://kdl.cc.ksosoft.com/wps-community/download/6757/wps-office_10.1.0.6757_x86_64.tar.xz"
-MD5SUM_x86_64="f51334a6f524b903eb396d6fe3782863"
-REQUIRES="libpng-legacy12"
-MAINTAINER="Andre Fernando"
-EMAIL="ando344@gmail.com"
+VERSION="11.1.0.11711.XA"
+HOMEPAGE="https://linux.wps.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/11711/wps-office_11.1.0.11711.XA_amd64.deb"
+MD5SUM_x86_64="0b9546537df86d63c1f08e0d2ae20b5e"
+REQUIRES=""
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/office/wyrd/README b/office/wyrd/README
deleted file mode 100644
index 58b9da42a5..0000000000
--- a/office/wyrd/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Wyrd is a text-based front-end to Remind, a sophisticated calendar
-and alarm program. Remind's power lies in its programmability, and
-Wyrd does not hide this capability behind flashy GUI dialogs. Rather,
-Wyrd is designed to make you more efficient at editing your reminder
-files directly. It also offers a scrollable timetable suitable for
-visualizing your schedule at a glance.
diff --git a/office/wyrd/doinst.sh b/office/wyrd/doinst.sh
deleted file mode 100644
index 8af25febd8..0000000000
--- a/office/wyrd/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/wyrdrc.new
-
diff --git a/office/wyrd/slack-desc b/office/wyrd/slack-desc
deleted file mode 100644
index 5b2ce3c8c4..0000000000
--- a/office/wyrd/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------------------------------------------------------|
-wyrd: wyrd (an ncurses-based remind front-end)
-wyrd:
-wyrd: Wyrd is a text-based front-end to Remind, a sophisticated calendar
-wyrd: and alarm program. Remind's power lies in its programmability, and
-wyrd: Wyrd does not hide this capability behind flashy GUI dialogs. Rather,
-wyrd: Wyrd is designed to make you more efficient at editing your reminder
-wyrd: files directly. It also offers a scrollable timetable suitable for
-wyrd: visualizing your schedule at a glance.
-wyrd:
-wyrd: https://launchpad.net/wyrd
-wyrd:
diff --git a/office/wyrd/wyrd.info b/office/wyrd/wyrd.info
deleted file mode 100644
index 3a0f912ac5..0000000000
--- a/office/wyrd/wyrd.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wyrd"
-VERSION="1.4.6"
-HOMEPAGE="https://launchpad.net/wyrd"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/wyrd/wyrd-1.4.6.tar.gz"
-MD5SUM="2fc561482fdac4daac0cb6735d934ebe"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="camlp4 remind"
-MAINTAINER="T3slider"
-EMAIL="t3slider@gmail.com"
diff --git a/office/x_x/README b/office/x_x/README
new file mode 100644
index 0000000000..19e1b60990
--- /dev/null
+++ b/office/x_x/README
@@ -0,0 +1,12 @@
+x_x (view Excel or CSV files in the terminal)
+
+x_x (The Dead Guy CLI) is a command line reader that displays either
+Excel files or CSVs in your terminal. The purpose of this is to not
+break the workflow of people who live on the command line and need to
+access a spreadsheet generated using Microsoft Excel.
+
+By default, x_x is built for python2. If you prefer to use python3,
+run the script with 'export PYVER=3' in the environment. There's
+apparently no functional difference in x_x between the python 2
+and python3 builds, although the python2 version emits warnings
+about unicode_literals.
diff --git a/office/x_x/git2tarxz.sh b/office/x_x/git2tarxz.sh
new file mode 100644
index 0000000000..3fc5993f69
--- /dev/null
+++ b/office/x_x/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+PRGNAM=x_x
+CLONE_URL=https://github.com/krockode/x_x
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/office/x_x/slack-desc b/office/x_x/slack-desc
new file mode 100644
index 0000000000..233f66cba1
--- /dev/null
+++ b/office/x_x/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+x_x: x_x (view Excel or CSV files in the terminal)
+x_x:
+x_x: x_x (The Dead Guy CLI) is a command line reader that displays either
+x_x: Excel files or CSVs in your terminal. The purpose of this is to not
+x_x: break the workflow of people who live on the command line and need to
+x_x: access a spreadsheet generated using Microsoft Excel.
+x_x:
+x_x:
+x_x:
+x_x:
+x_x:
diff --git a/office/x_x/x_x.1 b/office/x_x/x_x.1
new file mode 100644
index 0000000000..fb7529c462
--- /dev/null
+++ b/office/x_x/x_x.1
@@ -0,0 +1,184 @@
+.\" Man page generated from reStructuredText.
+.
+.TH X_X 1 "2020-11-15" "20150330_d236f8f" "SlackBuilds.org"
+.SH NAME
+x_x \- display Excel and CSV files on a terminal
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.\" RST source for x_x(1) man page. Convert with:
+.
+.\" rst2man.py x_x.rst > x_x.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.\" converting from pod:
+.
+.\" s/B<\([^>]*\)>/**\1**/g
+.
+.\" s/I<\([^>]*\)>/*\1*/g
+.
+.SH SYNOPSIS
+.sp
+x_x [\fB\-h\fP \fIrow\fP] [\fB\-f\fP \fIcsv|excel\fP] [\fB\-d\fP \fIdelimiter\fP] [\fB\-q\fP \fIquotechar\fP] [\fB\-e\fP \fIencoding\fP]
+.SH DESCRIPTION
+.sp
+x_x (the Dead Guy CLI) is a command line reader that displays either
+Excel files or CSVs in your terminal. The purpose of this is to not
+break the workflow of people who live on the command line and need to
+access a spreadsheet generated using Microsoft Excel.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \fB\-h\fP, \fB\-\-heading\fP \fIrow\fP
+Row number containing the headings (default: none). Note: the first row is
+numbered 0, not 1!
+.TP
+.B \fB\-f\fP, \fB\-\-file\-type\fP \fIcsv|excel\fP
+Override autodetection of input file type.
+.TP
+.B \fB\-d\fP, \fB\-\-delimiter\fP \fIcharacter\fP
+Delimiter (only applicable to CSV files) [default: \(aq,\(aq].
+.TP
+.B \fB\-q\fP, \fB\-\-quotechar\fP
+Quote character (only applicable to CSV files) [default: \(aq"\(aq].
+.TP
+.B \fB\-e\fP, \fB\-\-encoding\fP \fIencoding\fP
+Encoding [default: UTF\-8].
+.TP
+.B \fB\-\-version\fP
+Show the version and exit.
+.TP
+.B \fB\-\-help\fP
+Show built\-in help and exit.
+.UNINDENT
+.SH EXAMPLES
+.sp
+So, for example:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+$ x_x dead_guys.xlsx
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| A | B |
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| Person | Age at Death |
+| Harrold Holt | 59.0 |
+| Harry Houdini | 52.0 |
+| Howard Hughes | 70.0 |
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Or to specify a specific row as the header which will be visible on each page:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+$ x_x \-h 0 dead_guys.xlsx
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| Person | Age at Death |
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| Harrold Holt | 59.0 |
+| Harry Houdini | 52.0 |
+| Howard Hughes | 70.0 |
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Weird CSVs? No problem!
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+$ cat dead_guys.csv
+person;age_at_death
+Harrold Holt;59
+Harry Houdini;52
+Howard Hughes;70
+|Not some guy, but just a string with ; in it|;0
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+$ x_x \-h 0 \-\-delimiter=\(aq;\(aq \-\-quotechar=\(aq|\(aq dead_guys.csv
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| person | age_at_death |
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| Harrold Holt | 59 |
+| Harry Houdini | 52 |
+| Howard Hughes | 70 |
+| Not some guy, but just a string with ; in it | 0 |
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Does your CSV file not end in "csv"? Again, no problem:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+$ mv dead_guys.csv dead_guys.some_other_extension
+$ x_x \-h 0 \-\-file\-type=csv \-\-delimiter=\(aq;\(aq \-\-quotechar=\(aq|\(aq dead_guys.some_other_extension
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| person | age_at_death |
++\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-+
+| Harrold Holt | 59 |
+| Harry Houdini | 52 |
+| Howard Hughes | 70 |
+| Not some guy, but just a string with ; in it | 0 |
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/x_x\-20150330_d236f8f/LICENSE for license information.
+.SH AUTHORS
+.sp
+x_x was written by krockode.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The x_x homepage: \fI\%https://github.com/krockode/x_x\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/office/x_x/x_x.SlackBuild b/office/x_x/x_x.SlackBuild
new file mode 100644
index 0000000000..929eaf0c57
--- /dev/null
+++ b/office/x_x/x_x.SlackBuild
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+# Slackware build script for x_x
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20231005 bkw: BUILD=2, force use of python 3. apparently my previous
+# comment was wrong: this does run under python 3. and it now has to,
+# because click no longer supports python 2.
+
+# 20210929 bkw: force use of python 2. this doesn't run under 3.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=x_x
+VERSION=${VERSION:-20150330_d236f8f}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+python3 setup.py install --root=$PKG
+
+# man page manually converted from README.rst by SlackBuild author.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/x_x/x_x.info b/office/x_x/x_x.info
new file mode 100644
index 0000000000..85a31b7e0b
--- /dev/null
+++ b/office/x_x/x_x.info
@@ -0,0 +1,10 @@
+PRGNAM="x_x"
+VERSION="20150330_d236f8f"
+HOMEPAGE="https://github.com/krockode/x_x"
+DOWNLOAD="https://slackware.uk/~urchlay/src/x_x-20150330_d236f8f.tar.xz"
+MD5SUM="ebde396990ac5197e59f658eafdecb76"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="click python-xlrd"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/x_x/x_x.rst b/office/x_x/x_x.rst
new file mode 100644
index 0000000000..8ff6e18a9b
--- /dev/null
+++ b/office/x_x/x_x.rst
@@ -0,0 +1,143 @@
+.. RST source for x_x(1) man page. Convert with:
+.. rst2man.py x_x.rst > x_x.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 20150330_d236f8f
+.. |date| date::
+
+.. converting from pod:
+.. s/B<\([^>]*\)>/**\1**/g
+.. s/I<\([^>]*\)>/*\1*/g
+
+===
+x_x
+===
+
+-----------------------------------------
+display Excel and CSV files on a terminal
+-----------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+x_x [**-h** *row*] [**-f** *csv|excel*] [**-d** *delimiter*] [**-q** *quotechar*] [**-e** *encoding*]
+
+DESCRIPTION
+===========
+
+x_x (the Dead Guy CLI) is a command line reader that displays either
+Excel files or CSVs in your terminal. The purpose of this is to not
+break the workflow of people who live on the command line and need to
+access a spreadsheet generated using Microsoft Excel.
+
+OPTIONS
+=======
+
+**-h**, **--heading** *row*
+ Row number containing the headings (default: none). Note: the first row is
+ numbered 0, not 1!
+
+**-f**, **--file-type** *csv|excel*
+ Override autodetection of input file type.
+
+**-d**, **--delimiter** *character*
+ Delimiter (only applicable to CSV files) [default: ','].
+
+**-q**, **--quotechar**
+ Quote character (only applicable to CSV files) [default: '"'].
+
+**-e**, **--encoding** *encoding*
+ Encoding [default: UTF-8].
+
+**--version**
+ Show the version and exit.
+
+**--help**
+ Show built-in help and exit.
+
+EXAMPLES
+========
+
+So, for example:
+
+::
+
+ $ x_x dead_guys.xlsx
+ +---------------+--------------+
+ | A | B |
+ +---------------+--------------+
+ | Person | Age at Death |
+ | Harrold Holt | 59.0 |
+ | Harry Houdini | 52.0 |
+ | Howard Hughes | 70.0 |
+
+Or to specify a specific row as the header which will be visible on each page:
+
+::
+
+ $ x_x -h 0 dead_guys.xlsx
+ +---------------+--------------+
+ | Person | Age at Death |
+ +---------------+--------------+
+ | Harrold Holt | 59.0 |
+ | Harry Houdini | 52.0 |
+ | Howard Hughes | 70.0 |
+
+Weird CSVs? No problem!
+
+::
+
+ $ cat dead_guys.csv
+ person;age_at_death
+ Harrold Holt;59
+ Harry Houdini;52
+ Howard Hughes;70
+ |Not some guy, but just a string with ; in it|;0
+
+::
+
+ $ x_x -h 0 --delimiter=';' --quotechar='|' dead_guys.csv
+ +----------------------------------------------+--------------+
+ | person | age_at_death |
+ +----------------------------------------------+--------------+
+ | Harrold Holt | 59 |
+ | Harry Houdini | 52 |
+ | Howard Hughes | 70 |
+ | Not some guy, but just a string with ; in it | 0 |
+
+Does your CSV file not end in "csv"? Again, no problem:
+
+::
+
+ $ mv dead_guys.csv dead_guys.some_other_extension
+ $ x_x -h 0 --file-type=csv --delimiter=';' --quotechar='|' dead_guys.some_other_extension
+ +----------------------------------------------+--------------+
+ | person | age_at_death |
+ +----------------------------------------------+--------------+
+ | Harrold Holt | 59 |
+ | Harry Houdini | 52 |
+ | Howard Hughes | 70 |
+ | Not some guy, but just a string with ; in it | 0 |
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/x_x-|version|/LICENSE for license information.
+
+AUTHORS
+=======
+
+x_x was written by krockode.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The x_x homepage: https://github.com/krockode/x_x
diff --git a/office/xmind/README b/office/xmind/README
index 5a60c488b4..f794de6a11 100644
--- a/office/xmind/README
+++ b/office/xmind/README
@@ -14,7 +14,8 @@ product, store data into XMind files, or even build your own mind
mapping software based on XMind.
NOTE:
-If you upgrade xmind from a older version, keep a backup of your settings:
+If you upgrade xmind from a older version, keep a backup of your
+settings:
~/.xmind/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/
-then remove the old file ~/.xmind and finally restore your settings after
-the first launch of the upgraded xmind.
+then remove the old file ~/.xmind and finally restore your settings
+after the first launch of the upgraded xmind.
diff --git a/office/xmind/xmind.SlackBuild b/office/xmind/xmind.SlackBuild
index 7f8231140c..cc9484c376 100644
--- a/office/xmind/xmind.SlackBuild
+++ b/office/xmind/xmind.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for XMind
# Copyright 2017 Panagiotis Nikolaou, Culver City, CA
@@ -21,11 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmind
VERSION=${VERSION:-8update5}
SRCVERSION=${SRCVERSION:-8-update5}
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}
@@ -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/office/xmind/xmind.info b/office/xmind/xmind.info
index 26ae2bf053..7d24b890a9 100644
--- a/office/xmind/xmind.info
+++ b/office/xmind/xmind.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/xmind-8-update5-linux.zip"
MD5SUM="1884b0bb8f520a480fc6af44da087277"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Panagiotis Nikolaou"
EMAIL="hostmaster@slackonly.com"
diff --git a/office/xournal/xournal.SlackBuild b/office/xournal/xournal.SlackBuild
index a74ddd439a..23c177c011 100644
--- a/office/xournal/xournal.SlackBuild
+++ b/office/xournal/xournal.SlackBuild
@@ -1,12 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xournal
# Written by Michael Filz <the_emmel@gmx.net>
+# Updated 2020-2021 by Rob van Nues <sborg63@disroot.org>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xournal
-VERSION=${VERSION:-0.4.7}
+VERSION=${VERSION:-0.4.8.2016}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,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}
@@ -76,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/office/xournal/xournal.info b/office/xournal/xournal.info
index eac8134ee0..270db3bcc2 100644
--- a/office/xournal/xournal.info
+++ b/office/xournal/xournal.info
@@ -1,10 +1,10 @@
PRGNAM="xournal"
-VERSION="0.4.7"
-HOMEPAGE="http://xournal.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/xournal/xournal-0.4.7.tar.gz"
-MD5SUM="ad3e8e6c3a8c707e777806bca05c0cd1"
+VERSION="0.4.8.2016"
+HOMEPAGE="https://sourceforge.net/p/xournal/wiki/Home/"
+DOWNLOAD="https://downloads.sourceforge.net/xournal/xournal-0.4.8.2016.tar.gz"
+MD5SUM="a594f475d9b93fbca0aac43d47c2de22"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgnomecanvas"
-MAINTAINER="Michael Filz"
-EMAIL="the_emmel@gmx.net"
+MAINTAINER="Rob van Nues"
+EMAIL="sborg63@disroot.org"
diff --git a/office/xournalpp/README b/office/xournalpp/README
new file mode 100644
index 0000000000..0305e412e1
--- /dev/null
+++ b/office/xournalpp/README
@@ -0,0 +1,5 @@
+Xournal++ is a handwriting notetaking software with PDF annotation
+support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu,
+Debian, Arch, Suse), macOS and Windows 10.
+
+Supports pen input from devices such as Wacom Tablets.
diff --git a/office/xournalpp/doinst.sh b/office/xournalpp/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/office/xournalpp/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/sofastats/slack-desc b/office/xournalpp/slack-desc
index de422de2d9..36aa17fbd4 100644
--- a/office/sofastats/slack-desc
+++ b/office/xournalpp/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-sofastats: sofastats (Statistics Open For All)
-sofastats:
-sofastats: SOFA is a user-friendly statistics, analysis, & reporting program. It
-sofastats: is free, with an emphasis on ease of use, learn as you go, and
-sofastats: beautiful output.
-sofastats:
-sofastats: Homepage: http://www.sofastatistics.com
-sofastats:
-sofastats:
-sofastats:
-sofastats:
+xournalpp: xournalpp (handwriting software)
+xournalpp:
+xournalpp: Xournal++ is a handwriting notetaking software with PDF annotation
+xournalpp: support.
+xournalpp: Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian,
+xournalpp: Arch, Suse), macOS and Windows 10.
+xournalpp: Supports pen input from devices such as Wacom Tablets.
+xournalpp:
+xournalpp: Homepage: https://github.com/xournalpp/xournalpp
+xournalpp:
+xournalpp:
diff --git a/office/xournalpp/xournalpp.SlackBuild b/office/xournalpp/xournalpp.SlackBuild
new file mode 100644
index 0000000000..90792edb9a
--- /dev/null
+++ b/office/xournalpp/xournalpp.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for xournalpp
+
+# Copyright (c) 2019 Cristiano Urban, Gonars, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=xournalpp
+VERSION=${VERSION:-1.2.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Set the right Lua version to use, otherwise it will use an older
+# version, if more than one installed.
+# Thanks to fourtysixandtwo (fourtysixandtwo@sliderr.net)
+sed -i 's/^find_package(Lua/find_package(Lua 5.3/' CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ cmake --build . --target pot
+ cmake --build . --target translations
+ cmake --build .
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/xournalpp/xournalpp.info b/office/xournalpp/xournalpp.info
new file mode 100644
index 0000000000..d9fc0069ac
--- /dev/null
+++ b/office/xournalpp/xournalpp.info
@@ -0,0 +1,10 @@
+PRGNAM="xournalpp"
+VERSION="1.2.3"
+HOMEPAGE="https://github.com/xournalpp/xournalpp"
+DOWNLOAD="https://github.com/xournalpp/xournalpp/archive/v1.2.3/xournalpp-1.2.3.tar.gz"
+MD5SUM="e997ff88e5dbfeab538b8d3f26f2dff7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="graphviz lua53 portaudio"
+MAINTAINER="Cristiano Urban"
+EMAIL="cristiano.urban.slack@gmail.com"
diff --git a/office/xpad/xpad.SlackBuild b/office/xpad/xpad.SlackBuild
index 777d0141bc..b73c5c208c 100644
--- a/office/xpad/xpad.SlackBuild
+++ b/office/xpad/xpad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xpad
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
@@ -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=xpad
VERSION=${VERSION:-4.8.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}
@@ -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/office/xpad/xpad.info b/office/xpad/xpad.info
index f0af7eae65..a95ded7363 100644
--- a/office/xpad/xpad.info
+++ b/office/xpad/xpad.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://launchpad.net/xpad/trunk/4.8.0/+download/xpad-4.8.0.tar.bz2"
MD5SUM="edb3c9b109bf3f7d5006264eecdbf79f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtksourceview3"
+REQUIRES=""
MAINTAINER="Brenton Earl"
EMAIL="brent@exitstatusone.com"
diff --git a/office/xreader/xreader.SlackBuild b/office/xreader/xreader.SlackBuild
index 5422e057d6..20d49b7dbf 100644
--- a/office/xreader/xreader.SlackBuild
+++ b/office/xreader/xreader.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xreader
@@ -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=xreader
VERSION=${VERSION:-1.4.4}
# To configure the source we need macros that exist in mate-common
# This defines the version of mate-common we'll use
MATECOMMONVERSION=1.18.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -102,10 +112,12 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index ce06f4f461..33804d3c70 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xtrkcad
-# Copyright 2013-2017 Heiko Rosemann Germany
+# Copyright 2013-2022 Heiko Rosemann Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xtrkcad
-VERSION=${VERSION:-5.1.2a}
-SRCVERSION=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-5.2.2GA}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,10 +38,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SRCNAM=${PRGNAM}-source-$VERSION
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -60,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-source-$SRCVERSION
-tar xvzf $CWD/$PRGNAM-source-$SRCVERSION.tar.gz
-cd $PRGNAM-source-$SRCVERSION
+rm -rf $SRCNAM
+tar xvzf $CWD/$SRCNAM.tar.gz
+cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -104,4 +114,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/office/xtrkcad/xtrkcad.info b/office/xtrkcad/xtrkcad.info
index d463f0a9d7..24b3c50293 100644
--- a/office/xtrkcad/xtrkcad.info
+++ b/office/xtrkcad/xtrkcad.info
@@ -1,10 +1,10 @@
PRGNAM="xtrkcad"
-VERSION="5.1.2a"
+VERSION="5.2.2GA"
HOMEPAGE="http://www.xtrkcad.org"
-DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%205.1.2/xtrkcad-source-5.1.2a.tar.gz"
-MD5SUM="e7e1c7a9cb4572b88a1dfa222861fcf1"
+DOWNLOAD="http://sourceforge.net/projects/xtrkcad-fork/files/XTrackCad/Version%205.2.2/xtrkcad-source-5.2.2GA.tar.gz"
+MD5SUM="a91da56b9e509eab1ceab0b8fee92b2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="webkitgtk"
+REQUIRES=""
MAINTAINER="Heiko Rosemann"
EMAIL="heiko.rosemann@web.de"
diff --git a/office/zathura-cb/README b/office/zathura-cb/README
index 148966325c..f49e560b3f 100644
--- a/office/zathura-cb/README
+++ b/office/zathura-cb/README
@@ -1,6 +1,4 @@
zathura-cb (comic book plugin for zathura)
-Adds support for cbz, cbr, cb7, cbt files to the zathura document viewer.
-
-zathura-cb 0.1.7 is the last possible update for Slackware 14.2. Newer
-versions would require a newer gtk+3.
+Adds support for comic book (cbz, cbr, cb7, cbt) files to the zathura
+document viewer.
diff --git a/office/zathura-cb/doinst.sh b/office/zathura-cb/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/office/zathura-cb/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/office/zathura-cb/slack-desc b/office/zathura-cb/slack-desc
index 27990bda4c..54235aeb65 100644
--- a/office/zathura-cb/slack-desc
+++ b/office/zathura-cb/slack-desc
@@ -8,8 +8,8 @@
|-----handy-ruler------------------------------------------------------|
zathura-cb: zathura-cb (comic book plugin for zathura)
zathura-cb:
-zathura-cb: Adds support for cbz, cbr, cb7, cbt files to the zathura document
-zathura-cb: viewer.
+zathura-cb: Adds support for comic book (cbz, cbr, cb7, cbt) files to the zathura
+zathura-cb: document viewer.
zathura-cb:
zathura-cb:
zathura-cb:
diff --git a/office/zathura-cb/zathura-cb.SlackBuild b/office/zathura-cb/zathura-cb.SlackBuild
index 2abd667972..62c03c5315 100644
--- a/office/zathura-cb/zathura-cb.SlackBuild
+++ b/office/zathura-cb/zathura-cb.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zathura-cb
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20221114 bkw: update for v0.1.10, add doinst.sh.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-cb
-VERSION=${VERSION:-0.1.7}
+VERSION=${VERSION:-0.1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +24,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,24 +56,33 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-sed -i "s,-fPIC,$SLKCFLAGS," config.mk
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-make VERBOSE=1
-strip *.so
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+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/office/zathura-cb/zathura-cb.info b/office/zathura-cb/zathura-cb.info
index 96cdee126d..65d49e8b94 100644
--- a/office/zathura-cb/zathura-cb.info
+++ b/office/zathura-cb/zathura-cb.info
@@ -1,10 +1,10 @@
PRGNAM="zathura-cb"
-VERSION="0.1.7"
+VERSION="0.1.10"
HOMEPAGE="https://github.com/pwmt/zathura-cb"
-DOWNLOAD="https://github.com/pwmt/zathura-cb/archive/0.1.7/zathura-cb-0.1.7.tar.gz"
-MD5SUM="909c74071104ce8a72bc1e5bc9df287b"
+DOWNLOAD="https://github.com/pwmt/zathura-cb/archive/0.1.10/zathura-cb-0.1.10.tar.gz"
+MD5SUM="7e212bcb88fdff5aba30e7693a2ca461"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zathura"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/zathura-djvu/README b/office/zathura-djvu/README
index eba82aa01d..338ed64271 100644
--- a/office/zathura-djvu/README
+++ b/office/zathura-djvu/README
@@ -2,6 +2,3 @@ zathura-djvu (zathura support for DjVu format documents)
The zathura-djvu plugin adds DjVu support to zathura by using the
djvulibre library.
-
-zathura-djvu 0.2.7 is the last possible update for Slackware 14.2. Newer
-versions would require a newer gtk+3.
diff --git a/office/zathura-djvu/zathura-djvu.SlackBuild b/office/zathura-djvu/zathura-djvu.SlackBuild
index 3d7e74f612..602eeea62e 100644
--- a/office/zathura-djvu/zathura-djvu.SlackBuild
+++ b/office/zathura-djvu/zathura-djvu.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zathura-djvu
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-djvu
-VERSION=${VERSION:-0.2.7}
+VERSION=${VERSION:-0.2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,17 +54,25 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-sed -i "s,-fPIC,$SLKCFLAGS," config.mk
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-make
-strip *.so
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
@@ -68,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/office/zathura-djvu/zathura-djvu.info b/office/zathura-djvu/zathura-djvu.info
index 7d30ac7226..bbb162bdac 100644
--- a/office/zathura-djvu/zathura-djvu.info
+++ b/office/zathura-djvu/zathura-djvu.info
@@ -1,10 +1,10 @@
PRGNAM="zathura-djvu"
-VERSION="0.2.7"
+VERSION="0.2.9"
HOMEPAGE="https://github.com/pwmt/zathura-djvu"
-DOWNLOAD="https://github.com/pwmt/zathura-djvu/archive/0.2.7/zathura-djvu-0.2.7.tar.gz"
-MD5SUM="a110cd8555ce678cf74f9a20c0f65670"
+DOWNLOAD="https://github.com/pwmt/zathura-djvu/archive/0.2.9/zathura-djvu-0.2.9.tar.gz"
+MD5SUM="d2b3141f200391e609f6fc4fc012ea86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zathura"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/zathura-pdf-mupdf/README b/office/zathura-pdf-mupdf/README
index e573ded57c..74639e4188 100644
--- a/office/zathura-pdf-mupdf/README
+++ b/office/zathura-pdf-mupdf/README
@@ -5,11 +5,8 @@ mupdf rendering library (replacing the poppler-based PDF support from
the zathura package).
To switch between the mupdf and poppler backends without reinstalling
-packages, adjust the symlink at /usr/lib(64)/zathura/pdf.so. It
-should point to either pdf-mupdf/pdf.so or pdf-poppler/pdf.so. You can
-also reinstall zathura to switch to the poppler backend, or reinstall
-zathura-pdf-mupdf to switch to the mupdf backend (whichever was installed
-last "wins").
-
-zathura-pdf-mupdf 0.3.2 is the last possible update for Slackware
-14.2. Newer versions would require a newer gtk+3.
+packages, adjust the symlink at /usr/lib(64)/zathura/libpdf.so. It
+should point to either pdf/libpdf-mupdf.so or pdf/libpdf-poppler.so.
+You can also reinstall zathura to switch to the poppler backend, or
+reinstall zathura-pdf-mupdf to switch to the mupdf backend (whichever
+was installed last "wins").
diff --git a/office/zathura-pdf-mupdf/mupdf19.diff b/office/zathura-pdf-mupdf/mupdf19.diff
deleted file mode 100644
index 83437093f9..0000000000
--- a/office/zathura-pdf-mupdf/mupdf19.diff
+++ /dev/null
@@ -1,131 +0,0 @@
-diff --git a/AUTHORS b/AUTHORS
-index f5f8430..371ebf1 100644
---- a/AUTHORS
-+++ b/AUTHORS
-@@ -5,5 +5,6 @@ Sebastian Ramacher <s.ramacher@gmx.at>
-
- Other contributors are (in alphabetical order):
-
-+Christian Hesse <mail@eworm.de>
- Pavel Borzenkov <pavel.borzenkov@gmail.com>
- William Skeith <wes@cs.ccny.cuny.edu>
-diff --git a/config.mk b/config.mk
-index cba8d40..6407ae6 100644
---- a/config.mk
-+++ b/config.mk
-@@ -32,7 +32,7 @@ endif
- OPENSSL_INC ?= $(shell pkg-config --cflags libcrypto)
- OPENSSL_LIB ?= $(shell pkg-config --libs libcrypto)
-
--MUPDF_LIB ?= -lmupdf -lmujs
-+MUPDF_LIB ?= -lmupdf -lmupdfthird
-
- INCS = ${GTK_INC} ${GIRARA_INC} ${OPENSSL_INC} ${ZATHURA_INC}
- LIBS = ${GTK_LIB} ${GIRARA_LIB} ${MUPDF_LIB} ${OPENSSL_LIB} -ljbig2dec -lopenjp2 -ljpeg
-diff --git a/document.c b/document.c
-index 873866c..548f4ff 100644
---- a/document.c
-+++ b/document.c
-@@ -109,12 +109,12 @@ pdf_document_save_as(zathura_document_t* document, mupdf_document_t*
- }
-
- fz_try (mupdf_document->ctx) {
-- /* fz_write_document claims to accepts NULL as third argument but doesn't.
-+ /* pdf_save_document claims to accepts NULL as third argument but doesn't.
- * pdf_write_document does not check if the third arguments is NULL for some
- * options. */
-
-- fz_write_options opts = { 0 }; /* just use the default options */
-- fz_write_document(mupdf_document->ctx, mupdf_document->document, (char*) path, &opts);
-+ pdf_write_options opts = { 0 }; /* just use the default options */
-+ pdf_save_document(mupdf_document->ctx, (pdf_document*) mupdf_document->document, (char*) path, &opts);
- } fz_catch (mupdf_document->ctx) {
- return ZATHURA_ERROR_UNKNOWN;
- }
-diff --git a/image.c b/image.c
-index 97d4143..8f6912b 100644
---- a/image.c
-+++ b/image.c
-@@ -93,7 +93,7 @@ pdf_page_image_get_cairo(zathura_page_t* page, mupdf_page_t* mupdf_page,
- fz_pixmap* pixmap = NULL;
- cairo_surface_t* surface = NULL;
-
-- pixmap = fz_new_pixmap_from_image(mupdf_page->ctx, mupdf_image, 0, 0);
-+ pixmap = fz_get_pixmap_from_image(mupdf_page->ctx, mupdf_image, 0, 0);
- if (pixmap == NULL) {
- goto error_free;
- }
-diff --git a/page.c b/page.c
-index beb0351..219fc2a 100644
---- a/page.c
-+++ b/page.c
-@@ -43,12 +43,12 @@ pdf_page_init(zathura_page_t* page)
- /* setup text */
- mupdf_page->extracted_text = false;
-
-- mupdf_page->text = fz_new_text_page(mupdf_page->ctx);
-+ mupdf_page->text = fz_new_stext_page(mupdf_page->ctx);
- if (mupdf_page->text == NULL) {
- goto error_free;
- }
-
-- mupdf_page->sheet = fz_new_text_sheet(mupdf_page->ctx);
-+ mupdf_page->sheet = fz_new_stext_sheet(mupdf_page->ctx);
- if (mupdf_page->sheet == NULL) {
- goto error_free;
- }
-@@ -74,11 +74,11 @@ pdf_page_clear(zathura_page_t* page, mupdf_page_t* mupdf_page)
-
- if (mupdf_page != NULL) {
- if (mupdf_page->text != NULL) {
-- fz_drop_text_page(mupdf_page->ctx, mupdf_page->text);
-+ fz_drop_stext_page(mupdf_page->ctx, mupdf_page->text);
- }
-
- if (mupdf_page->sheet != NULL) {
-- fz_drop_text_sheet(mupdf_page->ctx, mupdf_page->sheet);
-+ fz_drop_stext_sheet(mupdf_page->ctx, mupdf_page->sheet);
- }
-
- if (mupdf_page->page != NULL) {
-diff --git a/plugin.h b/plugin.h
-index f2fb4a0..84c5e53 100644
---- a/plugin.h
-+++ b/plugin.h
-@@ -21,8 +21,8 @@ typedef struct mupdf_page_s
- {
- fz_page* page; /**< Reference to the mupdf page */
- fz_context* ctx; /**< Context */
-- fz_text_sheet* sheet; /**< Text sheet */
-- fz_text_page* text; /**< Page text */
-+ fz_stext_sheet* sheet; /**< Text sheet */
-+ fz_stext_page* text; /**< Page text */
- fz_rect bbox; /**< Bbox */
- bool extracted_text; /**< If text has already been extracted */
- } mupdf_page_t;
-diff --git a/search.c b/search.c
-index 3a9fad4..c672b9f 100644
---- a/search.c
-+++ b/search.c
-@@ -40,7 +40,7 @@ pdf_page_search_text(zathura_page_t* page, mupdf_page_t* mupdf_page, const char*
- }
-
- fz_rect* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, sizeof(fz_rect));
-- int num_results = fz_search_text_page(mupdf_page->ctx, mupdf_page->text,
-+ int num_results = fz_search_stext_page(mupdf_page->ctx, mupdf_page->text,
- (char*) text, hit_bbox, N_SEARCH_RESULTS);
-
- for (int i = 0; i < num_results; i++) {
-diff --git a/utils.c b/utils.c
-index 4a003b9..a4b9320 100644
---- a/utils.c
-+++ b/utils.c
-@@ -14,7 +14,7 @@ mupdf_page_extract_text(mupdf_document_t* mupdf_document, mupdf_page_t* mupdf_pa
- fz_device* text_device = NULL;
-
- fz_try (mupdf_page->ctx) {
-- text_device = fz_new_text_device(mupdf_page->ctx, mupdf_page->sheet, mupdf_page->text);
-+ text_device = fz_new_stext_device(mupdf_page->ctx, mupdf_page->sheet, mupdf_page->text);
-
- /* Disable FZ_IGNORE_IMAGE to collect image blocks */
- fz_disable_device_hints(mupdf_page->ctx, text_device, FZ_IGNORE_IMAGE);
diff --git a/office/zathura-pdf-mupdf/upstream.README b/office/zathura-pdf-mupdf/upstream.README
deleted file mode 100644
index 34db54affd..0000000000
--- a/office/zathura-pdf-mupdf/upstream.README
+++ /dev/null
@@ -1,23 +0,0 @@
-zathura-pdf-mupdf
-=================
-The zathura-pdf-mupdf plugin adds PDF support to zathura by using the mupdf
-rendering library.
-
-Requirements
-------------
-zathura (>= 0.2.0)
-girara
-mupdf (>= 1.7)
-openjpeg (>= 2.0)
-
-Installation
-------------
-To build and install the plugin:
-
- make install
-
-Uninstall:
-----------
-To delete the plugin from your system, just type:
-
- make uninstall
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
index 76d6f5d09b..673863ce20 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
@@ -1,15 +1,25 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zathura-pdf-mupdf
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230117 bkw: update for v0.4.0. users will have to update mupdf to 1.21.1.
+# 20221114 bkw:
+# - update for v0.3.8. I know there's a 0.3.9, but it needs a newer
+# mupdf and I need to fix this script *today*.
+# - rename pdf.so symlink to libpdf.so, needed for shell completion
+# in the zathura package.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-pdf-mupdf
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,32 +61,31 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 {} \;
-
-# Upstream left the README out of the release tarball for some reason.
-cat $CWD/upstream.README > README
-
-# mupdf 1.4 and later no longer have libmupdf-js-none (moved to libmupdf).
-# Anyway it's better to use pkg-config now that mupdf supports it.
-sed -i \
- -e "s,-fPIC,$SLKCFLAGS," \
- -e '/^MUPDF_LIB/s,-.*,$(shell pkg-config --libs mupdf),' \
- config.mk
-
-PLUGDIR=/usr/lib$LIBDIRSUFFIX/zathura
-
-make
-strip *.so
-make install DESTDIR=$PKG PLUGINDIR="$PLUGDIR/pdf-mupdf"
-
-ln -s pdf-mupdf/pdf.so $PKG/$PLUGDIR/pdf.so
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dplugindir=/usr/lib$LIBDIRSUFFIX/zathura/pdf
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+ln -s pdf/libpdf-mupdf.so $PKG/usr/lib$LIBDIRSUFFIX/zathura/libpdf.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* AUTHORS* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -81,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/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
index 61fee92bf3..8bbb7c4bf3 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
@@ -1,10 +1,10 @@
PRGNAM="zathura-pdf-mupdf"
-VERSION="0.3.2"
+VERSION="0.4.0"
HOMEPAGE="https://github.com/pwmt/zathura-pdf-mupdf"
-DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.2/zathura-pdf-mupdf-0.3.2.tar.gz"
-MD5SUM="b9659efbc5c04c06c5e986248d3dec19"
+DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.4.0/zathura-pdf-mupdf-0.4.0.tar.gz"
+MD5SUM="0de569ba18eeb82e5f276c332faf7a09"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mupdf zathura"
+REQUIRES="mupdf zathura mujs tesseract"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/zathura-ps/README b/office/zathura-ps/README
index 4a511920e4..c1f4413529 100644
--- a/office/zathura-ps/README
+++ b/office/zathura-ps/README
@@ -1,4 +1,3 @@
zathura-ps (zathura plugin, provides PostScript support)
-zathura-ps 0.2.5 is the last possible update for Slackware
-14.2. Newer versions would require a newer gtk+3.
+zathura-ps adds PostScript support to the zathura document viewer.
diff --git a/office/zathura-ps/slack-desc b/office/zathura-ps/slack-desc
index 6c14995977..6a3075dc65 100644
--- a/office/zathura-ps/slack-desc
+++ b/office/zathura-ps/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
zathura-ps: zathura-ps (zathura plugin, provides PostScript support)
zathura-ps:
-zathura-ps: libspectre is used for PostScript support.
+zathura-ps: zathura-ps adds PostScript support to the zathura document viewer.
zathura-ps:
zathura-ps:
zathura-ps:
diff --git a/office/zathura-ps/zathura-ps.SlackBuild b/office/zathura-ps/zathura-ps.SlackBuild
index d860a8d74b..0339b95e7f 100644
--- a/office/zathura-ps/zathura-ps.SlackBuild
+++ b/office/zathura-ps/zathura-ps.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zathura-ps
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zathura-ps
-VERSION=${VERSION:-0.2.5}
+VERSION=${VERSION:-0.2.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,17 +54,25 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-sed -i "s,-fPIC,$SLKCFLAGS," config.mk
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-make
-strip *.so
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
@@ -68,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/office/zathura-ps/zathura-ps.info b/office/zathura-ps/zathura-ps.info
index 0ecd8c70d4..eecc1e1af2 100644
--- a/office/zathura-ps/zathura-ps.info
+++ b/office/zathura-ps/zathura-ps.info
@@ -1,10 +1,10 @@
PRGNAM="zathura-ps"
-VERSION="0.2.5"
+VERSION="0.2.7"
HOMEPAGE="https://github.com/pwmt/zathura-ps"
-DOWNLOAD="https://github.com/pwmt/zathura-ps/archive/0.2.5/zathura-ps-0.2.5.tar.gz"
-MD5SUM="424c5009891c58bb5aa592aa783bc84a"
+DOWNLOAD="https://github.com/pwmt/zathura-ps/archive/0.2.7/zathura-ps-0.2.7.tar.gz"
+MD5SUM="191bfb07de675bf9427b3d0364fd57fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zathura"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/zathura/ChangeLog.old b/office/zathura/ChangeLog.old
new file mode 100644
index 0000000000..1ff6f4c217
--- /dev/null
+++ b/office/zathura/ChangeLog.old
@@ -0,0 +1,55 @@
+# 20180909 bkw:
+# - Re-enable building with synctex, since texlive has been fixed. This
+# requires a patch, since this version of zathura was written for an
+# older version of texlive.
+
+# 20180903 bkw:
+# - Disable building with synctex, since it currently doesn't work due
+# to a bug in the texlive package. Will be re-enabled when the texlive
+# issue is fixed.
+# - Really get rid of color output from the Makefile. I know it's cute,
+# but it confuses less when redirecting to a file.
+
+# 20180102 bkw:
+# - Updated for v0.3.8. Have to do some fudging to get it to build with
+# Slack 14.2's older glib2: upstream claims they need 2.50, but the
+# only thing they seem to need it for is the --dependency-file option
+# to glib-compile-resources, which turns out to be unneeded.
+
+# 20170711 bkw:
+# - BUILD=2
+# - Include API docs in package
+# - Switch to github URLs since upstream's site has been broken for 3-4
+# days now. Side effect is, it makes it easier for my update script to
+# let me know when there's a new release. This means adding the built
+# man pages to SBo git (otherwise I'd have Sphinx as a dep, yuck).
+
+# 20170125 bkw:
+# - Updated for v0.3.7, poppler plugin v0.2.7
+
+# 20160725 bkw:
+# - Updated for v0.3.6
+
+# 20150511 bkw:
+# - Version bump 0.3.3. The poppler plugin is still on 0.2.5.
+# - Make the poppler plugin's pdf.so a symlink. Will do the same
+# for zathura-pdf-mupdf, to allow switching between the two without
+# reinstalling packages. This wouldn't have worked with older versions,
+# due to changes in glib's g_file_test() between glib 1.x and 2.x.
+# - Upstream started using -fdiagnostics-color=always, which is only
+# supported in newer gcc versions. Get rid of it.
+
+# Updated 20130617 by B. Watson <urchlay@slackware.uk>:
+# - Updated for v0.2.3
+
+# Updated 20120721 by B. Watson <urchlay@slackware.uk>:
+# - Updated for v0.2.0
+# - generated man pages now included by upstream, get rid of ours
+
+# Updated 20120312 by B. Watson <urchlay@slackware.uk>:
+# - Updated for v0.1.1, including poppler plugin
+# - Restore missing .desktop file and AUTHORS doc
+# - Add an icon
+# - Include generated man pages
+# - fix homepage URL
+
diff --git a/office/zathura/README b/office/zathura/README
index 27f9f8301d..e13e1e811a 100644
--- a/office/zathura/README
+++ b/office/zathura/README
@@ -1,9 +1,16 @@
-zathura is a highly customizable and functional PDF viewer based on the
-poppler rendering library and the gtk+ toolkit. The idea behind zathura
-is an application that provides a minimalistic and space saving interface
-as well as an easy usage that mainly focuses on keyboard interaction.
+zathura (a PDF viewer focusing on keyboard interaction)
-This build includes the zathura core and the zathura-pdf-poppler plugin.
+zathura is a highly customizable and functional PDF viewer based on
+the poppler rendering library and the gtk+ toolkit. The idea behind
+zathura is an application that provides a minimalistic and space
+saving interface as well as an easy usage that mainly focuses on
+keyboard interaction.
+
+This build includes the zathura core and the zathura-pdf-poppler
+plugin, by default. If you don't want zathura-pdf-poppler, you can
+run the script with POPPLER=no set in the environment. In this case,
+zathura will be useless until you install at least one of the plugins
+listed below.
Other plugins exist to support other file types:
@@ -16,12 +23,11 @@ When upgrading zathura, you must rebuild all its plugins
against the new version of zathura, even if the version numbers
are the same.
-zathura 0.3.8 is the last possible update for Slackware
-14.2. Newer versions would require a newer gtk+3.
-
-Optional dependency: office/texlive. If zathura is built on a system
-with texlive installed, synctex support will be included. Documentation
-on zathura's synctex support is poor; for some hints on using synctex
-with zathura, see:
+Documentation on zathura's synctex support is poor; for some hints on
+using synctex with zathura, see:
http://www.math.cmu.edu/~gautam/sj/blog/20140310-zathura-fsearch.html
+
+Note: This is not the latest version of zathura; it is the latest
+version that will build on Slackware 15.0. Don't expect this to be
+upgraded until after the next Slackware release.
diff --git a/office/zathura/dlopen_hack.diff b/office/zathura/dlopen_hack.diff
deleted file mode 100644
index 457d08ced9..0000000000
--- a/office/zathura/dlopen_hack.diff
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur zathura-0.3.3/zathura/zathura.c zathura-0.3.3.patched/zathura/zathura.c
---- zathura-0.3.3/zathura/zathura.c 2015-04-13 16:54:30.000000000 -0400
-+++ zathura-0.3.3.patched/zathura/zathura.c 2015-05-11 14:45:31.000000000 -0400
-@@ -3,6 +3,7 @@
- #define _DEFAULT_SOURCE
- #define _XOPEN_SOURCE 700
-
-+#include <dlfcn.h>
- #include <errno.h>
- #include <stdlib.h>
- #include <unistd.h>
-@@ -116,6 +117,7 @@
- }
-
- /* load plugins */
-+ dlopen("libjpeg.so", RTLD_NOW | RTLD_GLOBAL); /* dirty hack! */
- zathura_plugin_manager_load(zathura->plugins.manager);
-
- /* configuration */
diff --git a/office/zathura/doinst.sh b/office/zathura/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/office/zathura/doinst.sh
+++ b/office/zathura/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/zathura/fix_completion.diff b/office/zathura/fix_completion.diff
new file mode 100644
index 0000000000..1e12927fa4
--- /dev/null
+++ b/office/zathura/fix_completion.diff
@@ -0,0 +1,33 @@
+diff -Naur zathura-0.5.1/data/bash-completion.in zathura-0.5.1.patched/data/bash-completion.in
+--- zathura-0.5.1/data/bash-completion.in 2022-09-08 18:17:27.000000000 -0400
++++ zathura-0.5.1.patched/data/bash-completion.in 2022-11-14 14:00:24.545471924 -0500
+@@ -4,6 +4,7 @@
+
+ local EXTS=""
+ for PLUGIN in @PLUGINDIR@/lib*.so; do
++ PLUGIN="$( realpath "$PLUGIN" )"
+ case ${PLUGIN##*/} in
+ libpdf-poppler.so)
+ EXTS="$EXTS|pdf|PDF"
+diff -Naur zathura-0.5.1/data/fish-completion.in zathura-0.5.1.patched/data/fish-completion.in
+--- zathura-0.5.1/data/fish-completion.in 2022-09-08 18:17:27.000000000 -0400
++++ zathura-0.5.1.patched/data/fish-completion.in 2022-11-14 14:02:01.958086580 -0500
+@@ -1,6 +1,7 @@
+ # Complete custom suffix based on libraries installed
+ function __fish_complete_zathura
+ for plugin in @PLUGINDIR@/*.so
++ set plugin (realpath $plugin)
+ switch (basename $plugin)
+ case libpdf-poppler.so
+ __fish_complete_suffix .pdf
+diff -Naur zathura-0.5.1/data/zsh-completion.in zathura-0.5.1.patched/data/zsh-completion.in
+--- zathura-0.5.1/data/zsh-completion.in 2022-09-08 18:17:27.000000000 -0400
++++ zathura-0.5.1.patched/data/zsh-completion.in 2022-11-14 14:00:17.978363071 -0500
+@@ -27,6 +27,7 @@
+ local PLUGIN
+ local -a exts
+ for PLUGIN in @PLUGINDIR@/lib*.so; do
++ PLUGIN="$( realpath "$PLUGIN" )"
+ case ${PLUGIN##*/} in
+ libpdf-poppler.so)
+ exts+=( pdf PDF )
diff --git a/office/zathura/man/zathura.1 b/office/zathura/man/zathura.1
index fd49b0449b..dd5b216ebb 100644
--- a/office/zathura/man/zathura.1
+++ b/office/zathura/man/zathura.1
@@ -1,8 +1,5 @@
.\" Man page generated from reStructuredText.
.
-.TH "ZATHURA" "1" "2017-01-11" "0.2.7" "zathura"
-.SH NAME
-zathura \- a document viewer
.
.nr rst2man-indent-level 0
.
@@ -30,10 +27,14 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
+.TH "ZATHURA" "1" "2022-09-08" "0.5.1" "zathura"
+.SH NAME
+zathura \- a document viewer
.SH SYNOPSIS
.sp
zathura [\-e XID] [\-c PATH] [\-d PATH] [\-p PATH] [\-w PASSWORD] [\-P NUMBER]
[\-\-fork] [\-l LEVEL] [\-s] [\-x CMD] [\-\-synctex\-forward INPUT] [\-\-synctex\-pid PID]
+[\-find STRING]
<files>
.SH DESCRIPTION
.sp
@@ -57,14 +58,17 @@ Path to the directory containing plugins
.TP
.BI \-w\fP,\fB \-\-password\fB= password
The documents password. If multiple documents are opened at once, the
-password will be used for the first one and zathura will ask for the
-passwords of the remaining files if needed .
+password will be used for the first one and zathura will ask for the
+passwords of the remaining files if needed.
.TP
.BI \-P\fP,\fB \-\-page\fB= number
Opens the document at the given page number. Pages are numbered starting
with 1, and negative numbers indicate page numbers starting from the end
of the document, \-1 being the last page.
.TP
+.BI \-f\fP,\fB \-\-find\fB= string
+Opens the document and searches for the given string.
+.TP
.BI \-l\fP,\fB \-\-log\-level\fB= level
Set log level (debug, info, warning, error)
.TP
@@ -81,13 +85,16 @@ Instead of looking for an instance having the correct file opened, try only
the instance with the given PID. Note that if the given PID does not have the
correct file open or does not exist, no new instance will be spanned.
.TP
-.B \-\-fork
+.BI \-\-mode\fB= mode
+Start in a non\-default mode
+.TP
+.B \-\-fork
Fork into background
.TP
-.B \-\-version
+.B \-\-version
Display version string and exit
.TP
-.B \-\-help
+.B \-\-help
Display help and exit
.UNINDENT
.SH MOUSE AND KEY BINDINGS
@@ -118,6 +125,9 @@ Scroll a full page left, down, up or right
.B gg, G, nG
Goto to the first, the last or to the nth page
.TP
+.B P
+Snaps to the current page
+.TP
.B H, L
Goto top or bottom of the current page
.TP
@@ -148,6 +158,9 @@ Follow links
.B F
Display link target
.TP
+.B c
+Copy link target into the clipboard
+.TP
.B :
Enter command
.TP
@@ -155,7 +168,7 @@ Enter command
Rotate by 90 degrees
.TP
.B ^r
-Recolor
+Recolor (grayscale and invert colors)
.TP
.B R
Reload document
@@ -315,7 +328,8 @@ List bookmarks
Close document
.TP
.B exec
-Execute an external command
+Execute an external command. \fB$FILE\fP expands to the current document path,
+and \fB$PAGE\fP to the current page number
.TP
.B info
Show document information
@@ -352,8 +366,53 @@ interface. To support synctex backwards synchronization, zathura provides a
D\-Bus interface that can be called by the editor. For convince zathura also
knows how to parse the output of the \fIsynctex view\fP command. It is enough to
pass the arguments to \fIsynctex view\fP\(aqs \fI\-i\fP option to zathura via
-\fI\-\-syntex\-forward\fP and zathura will pass the information to the correct
+\fI\-\-synctex\-forward\fP and zathura will pass the information to the correct
instance.
+.sp
+For gvim forward and backwards synchronization support can be set up as follows:
+First add the following to the vim configuration:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+function! Synctex()
+ execute "silent !zathura \-\-synctex\-forward " . line(\(aq.\(aq) . ":" . col(\(aq.\(aq) . ":" . bufname(\(aq%\(aq) . " " . g:syncpdf
+ redraw!
+endfunction
+map <C\-enter> :call Synctex()<cr>
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Then launch \fIzathura\fP with
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+zathura \-x "gvim \-\-servername vim \-c \e"let g:syncpdf=\(aq$1\(aq\e" \-\-remote +%{line} %{input}" $file
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Some editors support zathura as viewer out of the box:
+.INDENT 0.0
+.IP \(bu 2
+LaTeXTools for SublimeText
+(\fI\%https://latextools.readthedocs.io/en/latest/available\-viewers/#zathura\fP)
+.IP \(bu 2
+LaTeX for Atom (\fI\%https://atom.io/packages/latex\fP)
+.UNINDENT
+.SH ENVIRONMENT VARIABLES
+.INDENT 0.0
+.TP
+.B ZATHURA_PLUGINS_PATH
+Path to the directory containing plugins. This directory is only considered if
+no other directory was specified using \-\-plugins\-dir.
+.UNINDENT
.SH KNOWN BUGS
.sp
If GDK_NATIVE_WINDOWS is enabled you will experience problems with large
@@ -366,6 +425,6 @@ appear, if overlay\-scrollbar is enabled in GTK_MODULES.
.SH AUTHOR
pwmt.org
.SH COPYRIGHT
-2009-2015, pwmt.org
+2009-2018, pwmt.org
.\" Generated by docutils manpage writer.
.
diff --git a/office/zathura/man/zathurarc.5 b/office/zathura/man/zathurarc.5
index 93b42be0a8..e165c7cd58 100644
--- a/office/zathura/man/zathurarc.5
+++ b/office/zathura/man/zathurarc.5
@@ -1,8 +1,5 @@
.\" Man page generated from reStructuredText.
.
-.TH "ZATHURARC" "5" "2017-01-11" "0.2.7" "zathura"
-.SH NAME
-zathurarc \- zathura configuration file
.
.nr rst2man-indent-level 0
.
@@ -30,6 +27,9 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
+.TH "ZATHURARC" "5" "2022-09-08" "0.5.1" "zathura"
+.SH NAME
+zathurarc \- zathura configuration file
.SH SYNOPSIS
.sp
/etc/zathurarc, $XDG_CONFIG_HOME/zathura/zathurarc
@@ -91,8 +91,13 @@ set option5 "hello world"
.UNINDENT
.UNINDENT
.sp
-If you want to use \fBcolor codes\fP for some options, make sure to quote them
-accordingly or to escape the hash symbol.
+Especially for options with strings as values, note that escaping of special characters and white
+spaces is necessary. In the above example, \fBoption4\fP and \fBoption5\fP are both set to \fBhello
+world\fP, but \fBset option6 hello world\fP would set \fBoption6\fP only to \fBhello\fP\&.
+.sp
+For colors, zathura supports HTML color codes and CSS3\-style \fBrgb(r,g,b)\fP and \fBrgba(r,g,b,a)\fP
+values. If you want to use color codes for some options, make sure to quote them accordingly or
+to escape the hash symbol.
.INDENT 0.0
.INDENT 3.5
.sp
@@ -104,79 +109,85 @@ set default\-fg \e#CCBBCC
.fi
.UNINDENT
.UNINDENT
-.SS map \- Mapping a shortcut
.sp
-It is possible to map or remap new key bindings to shortcut functions which
-allows a high level of customization. The \fB:map\fP command can also be used in
-the \fIzathurarc\fP file to make those changes permanent:
+For \fBrgba\fP, note that it parses the color components as integers between 0 and 255 and the alpha
+component as float between 0 and 1.
+.SS include \- Including another config file
+.sp
+This commands allows one to include other configuration files. If a relative
+path is given, the path will be resolved relative to the configuration file that
+is currently processed.
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
-map [mode] <binding> <shortcut function> <argument>
+include another\-config
.ft P
.fi
.UNINDENT
.UNINDENT
-.SS include \- Including another config file
+.SS map \- Mapping a shortcut
.sp
-This commands allows one to include other configuration files. If a relative
-path is given, the path will be resolved relative to the configuration file that
-is currently processed.
+It is possible to map or remap new key bindings to shortcut functions which
+allows a high level of customization. The \fB:map\fP command can also be used in
+the \fIzathurarc\fP file to make those changes permanent:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
-include another\-config
+map [mode] <binding> <shortcut function> <argument>
.ft P
.fi
.UNINDENT
.UNINDENT
-.SS Mode
-.sp
+.INDENT 0.0
+.TP
+.B \fIMode\fP
The \fBmap\fP command expects several arguments where only the \fBbinding\fP as well as
the \fBshortcut\-function\fP argument is required. Since zathura uses several modes
it is possible to map bindings only for a specific mode by passing the \fBmode\fP
argument which can take one of the following values:
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
normal (default)
.IP \(bu 2
fullscreen
.IP \(bu 2
+presentation
+.IP \(bu 2
index
.UNINDENT
.sp
The brackets around the value are mandatory.
-.SS Single key binding
-.sp
+.TP
+.B \fISingle key binding\fP
The (possible) second argument defines the used key binding that should be
mapped to the shortcut function and is structured like the following. On the one
hand it is possible to just assign single letters, numbers or signs to it:
-.INDENT 0.0
+.INDENT 7.0
.INDENT 3.5
.sp
.nf
.ft C
-map a shortcut_function
-map b shortcut_function
-map c shortcut_function
-map 1 shortcut_function
-map 2 shortcut_function
-map 3 shortcut_function
-map ! shortcut_function
-map ? shortcut_function
+map a shortcut_function optional_argument
+map b shortcut_function optional_argument
+map c shortcut_function optional_argument
+map 1 shortcut_function optional_argument
+map 2 shortcut_function optional_argument
+map 3 shortcut_function optional_argument
+map ! shortcut_function optional_argument
+map ? shortcut_function optional_argument
.ft P
.fi
.UNINDENT
.UNINDENT
-.SS Using modifiers
-.sp
+.TP
+.B \fIUsing modifiers\fP
It is also possible to use modifiers like the Control or Alt button on the
keyboard. It is possible to use the following modifiers:
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
A \- Alt
.IP \(bu 2
@@ -185,8 +196,9 @@ C \- Control
S \- Shift
.UNINDENT
.sp
-Now it is required to define the \fBbinding\fP with the following structure:
-.INDENT 0.0
+If any of the modifiers should be used for a binding, it is required to define
+the \fBbinding\fP with the following structure:
+.INDENT 7.0
.INDENT 3.5
.sp
.nf
@@ -197,12 +209,12 @@ map <C\-a> shortcut_function
.fi
.UNINDENT
.UNINDENT
-.SS Special keys
-.sp
+.TP
+.B \fISpecial keys\fP
zathura allows it also to assign keys like the space bar or the tab button which
also have to be written in between angle brackets. The following special keys
are currently available:
-.INDENT 0.0
+.INDENT 7.0
.INDENT 3.5
.sp
.nf
@@ -242,7 +254,7 @@ Print Print key
.sp
Of course it is possible to combine those special keys with a modifier. The
usage of those keys should be explained by the following examples:
-.INDENT 0.0
+.INDENT 7.0
.INDENT 3.5
.sp
.nf
@@ -253,11 +265,11 @@ map <C\-Space> shortcut_function
.fi
.UNINDENT
.UNINDENT
-.SS Mouse buttons
-.sp
+.TP
+.B \fIMouse buttons\fP
It is also possible to map mouse buttons to shortcuts by using the following
special keys:
-.INDENT 0.0
+.INDENT 7.0
.INDENT 3.5
.sp
.nf
@@ -273,6 +285,7 @@ Button5 Mouse button 5
.fi
.UNINDENT
.UNINDENT
+.UNINDENT
.sp
They can also be combined with modifiers:
.INDENT 0.0
@@ -286,11 +299,12 @@ map <C\-Button1> shortcut_function
.fi
.UNINDENT
.UNINDENT
-.SS Buffer commands
-.sp
+.INDENT 0.0
+.TP
+.B \fIBuffer commands\fP
If a mapping does not match one of the previous definition but is still a valid
mapping it will be mapped as a buffer command:
-.INDENT 0.0
+.INDENT 7.0
.INDENT 3.5
.sp
.nf
@@ -301,10 +315,10 @@ map test quit
.fi
.UNINDENT
.UNINDENT
-.SS Shortcut functions
-.sp
+.TP
+.B \fIShortcut functions\fP
The following shortcut functions can be mapped:
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
\fBabort\fP
.sp
@@ -322,6 +336,11 @@ Change current mode. Pass the desired mode as argument.
.sp
Display link target.
.IP \(bu 2
+\fBexec\fP:
+.sp
+Execute an external command. \fB$FILE\fP expands to the current document path,
+and \fB$PAGE\fP to the current page number.
+.IP \(bu 2
\fBfocus_inputbar\fP
.sp
Focus inputbar.
@@ -336,7 +355,8 @@ Go to a certain page.
.IP \(bu 2
\fBjumplist\fP
.sp
-Move forwards/backwards in the jumplist.
+Move forwards/backwards in the jumplist. Pass \fBforward\fP as argument to
+move to the next entry and \fBbackward\fP to move to the previous one.
.IP \(bu 2
\fBnavigate\fP
.sp
@@ -380,6 +400,10 @@ hit and \fBbackward\fP to search for the previous hit.
.sp
Set an option.
.IP \(bu 2
+\fBsnap_to_page\fP
+.sp
+Snaps to the current page. Equivalent to \fBgoto <current_page>\fP
+.IP \(bu 2
\fBtoggle_fullscreen\fP
.sp
Toggle fullscreen.
@@ -405,29 +429,44 @@ Show or hide statusbar.
Zoom in or out.
.IP \(bu 2
\fBmark_add\fP
+.sp
Set a quickmark.
.IP \(bu 2
\fBmark_evaluate\fP
+.sp
Go to a quickmark.
-.UNINDENT
-.SS Pass arguments
+.IP \(bu 2
+\fBfeedkeys\fP
.sp
+Simulate key presses. Note that all keys will be interpreted as if pressing a
+key on the keyboard. To input uppercase letters, follow the same convention as
+for key bindings, i.e. for \fBX\fP, use \fB<S\-X>\fP\&.
+.UNINDENT
+.TP
+.B \fIPass arguments\fP
Some shortcut function require or have optional arguments which influence the
behaviour of them. Those can be passed as the last argument:
-.INDENT 0.0
+.INDENT 7.0
.INDENT 3.5
+.sp
+.nf
+.ft C
map <C\-i> zoom in
map <C\-o> zoom out
+.ft P
+.fi
.UNINDENT
.UNINDENT
.sp
Possible arguments are:
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
best\-fit
.IP \(bu 2
bottom
.IP \(bu 2
+backward
+.IP \(bu 2
collapse
.IP \(bu 2
collapse\-all
@@ -440,6 +479,8 @@ expand
.IP \(bu 2
expand\-all
.IP \(bu 2
+forward
+.IP \(bu 2
full\-down
.IP \(bu 2
full\-up
@@ -480,6 +521,7 @@ up
.IP \(bu 2
width
.UNINDENT
+.UNINDENT
.SS unmap \- Removing a shortcut
.sp
In addition to mapping or remaping custom key bindings it is possible to remove
@@ -497,836 +539,872 @@ unmap [mode] <binding>
.UNINDENT
.UNINDENT
.SH OPTIONS
-.SS girara
.sp
-This section describes settings concerning the behaviour of libgirara and
+This section describes settings concerning the behaviour of girara and
zathura. The settings described here can be changed with \fBset\fP\&.
-.SS n\-completion\-items
-.sp
-Defines the maximum number of displayed completion entries.
+.SS girara
.INDENT 0.0
+.TP
+.B \fIn\-completion\-items\fP
+Defines the maximum number of displayed completion entries.
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 15
.UNINDENT
-.SS completion\-bg
-.sp
+.TP
+.B \fIcompletion\-bg\fP
Defines the background color that is used for command line completion
entries
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #232323
.UNINDENT
-.SS completion\-fg
-.sp
+.TP
+.B \fIcompletion\-fg\fP
Defines the foreground color that is used for command line completion
entries
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #DDDDDD
.UNINDENT
-.SS completion\-group\-bg
-.sp
+.TP
+.B \fIcompletion\-group\-bg\fP
Defines the background color that is used for command line completion
group elements
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #000000
.UNINDENT
-.SS completion\-group\-fg
-.sp
+.TP
+.B \fIcompletion\-group\-fg\fP
Defines the foreground color that is used for command line completion
group elements
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #DEDEDE
.UNINDENT
-.SS completion\-highlight\-bg
-.sp
+.TP
+.B \fIcompletion\-highlight\-bg\fP
Defines the background color that is used for the current command line
completion element
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #9FBC00
.UNINDENT
-.SS completion\-highlight\-fg
-.sp
+.TP
+.B \fIcompletion\-highlight\-fg\fP
Defines the foreground color that is used for the current command line
completion element
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #232323
.UNINDENT
-.SS default\-fg
-.sp
+.TP
+.B \fIdefault\-fg\fP
Defines the default foreground color
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #DDDDDD
.UNINDENT
-.SS default\-bg
-.sp
+.TP
+.B \fIdefault\-bg\fP
Defines the default background color
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #000000
.UNINDENT
-.SS exec\-command
-.sp
-Defines a command the should be prepanded to any command run with exec.
-.INDENT 0.0
+.TP
+.B \fIexec\-command\fP
+Defines a command the should be prepended to any command run with exec.
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value:
.UNINDENT
-.SS font
-.sp
+.TP
+.B \fIfont\fP
Defines the font that will be used
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: monospace normal 9
.UNINDENT
-.SS guioptions
-.sp
+.TP
+.B \fIguioptions\fP
Shows or hides GUI elements.
If it contains \(aqc\(aq, the command line is displayed.
If it contains \(aqs\(aq, the statusbar is displayed.
If it contains \(aqh\(aq, the horizontal scrollbar is displayed.
If it contains \(aqv\(aq, the vertical scrollbar is displayed.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: s
.UNINDENT
-.SS inputbar\-bg
-.sp
+.TP
+.B \fIinputbar\-bg\fP
Defines the background color for the inputbar
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #131313
.UNINDENT
-.SS inputbar\-fg
-.sp
+.TP
+.B \fIinputbar\-fg\fP
Defines the foreground color for the inputbar
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #9FBC00
.UNINDENT
-.SS notification\-bg
-.sp
+.TP
+.B \fInotification\-bg\fP
Defines the background color for a notification
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FFFFFF
.UNINDENT
-.SS notification\-fg
-.sp
+.TP
+.B \fInotification\-fg\fP
Defines the foreground color for a notification
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #000000
.UNINDENT
-.SS notification\-error\-bg
-.sp
+.TP
+.B \fInotification\-error\-bg\fP
Defines the background color for an error notification
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FFFFFF
.UNINDENT
-.SS notification\-error\-fg
-.sp
+.TP
+.B \fInotification\-error\-fg\fP
Defines the foreground color for an error notification
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FF1212
.UNINDENT
-.SS notification\-warning\-bg
-.sp
+.TP
+.B \fInotification\-warning\-bg\fP
Defines the background color for a warning notification
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FFFFFF
.UNINDENT
-.SS notification\-warning\-fg
-.sp
+.TP
+.B \fInotification\-warning\-fg\fP
Defines the foreground color for a warning notification
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FFF712
.UNINDENT
-.SS tabbar\-fg
-.sp
-Defines the foreground color for a tab
-.INDENT 0.0
-.IP \(bu 2
-Value type: String
-.IP \(bu 2
-Default value: #FFFFFF
-.UNINDENT
-.SS tabbar\-bg
-.sp
-Defines the background color for a tab
-.INDENT 0.0
-.IP \(bu 2
-Value type: String
-.IP \(bu 2
-Default value: #000000
-.UNINDENT
-.SS tabbar\-focus\-fg
-.sp
-Defines the foreground color for the focused tab
-.INDENT 0.0
-.IP \(bu 2
-Value type: String
-.IP \(bu 2
-Default value: #9FBC00
-.UNINDENT
-.SS tabbar\-focus\-bg
-.sp
-Defines the background color for the focused tab
-.INDENT 0.0
-.IP \(bu 2
-Value type: String
-.IP \(bu 2
-Default value: #000000
-.UNINDENT
-.SS show\-scrollbars
-.sp
-Defines if both the horizontal and vertical scrollbars should be shown or not.
-Deprecated, use \(aqguioptions\(aq instead.
-.INDENT 0.0
-.IP \(bu 2
-Value type: Boolean
-.IP \(bu 2
-Default value: false
-.UNINDENT
-.SS show\-h\-scrollbar
-.sp
-Defines whether to show/hide the horizontal scrollbar. Deprecated, use
-\(aqguioptions\(aq instead.
-.INDENT 0.0
-.IP \(bu 2
-Value type: Boolean
-.IP \(bu 2
-Default value: false
-.UNINDENT
-.SS show\-v\-scrollbar
-.sp
-Defines whether to show/hide the vertical scrollbar. Deprecated, use
-\(aqguioptions\(aq instead.
-.INDENT 0.0
-.IP \(bu 2
-Value type: Boolean
-.IP \(bu 2
-Default value: false
-.UNINDENT
-.SS statusbar\-bg
-.sp
+.TP
+.B \fIstatusbar\-bg\fP
Defines the background color of the statusbar
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #000000
.UNINDENT
-.SS statusbar\-fg
-.sp
+.TP
+.B \fIstatusbar\-fg\fP
Defines the foreground color of the statusbar
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FFFFFF
.UNINDENT
-.SS statusbar\-h\-padding
-.sp
+.TP
+.B \fIstatusbar\-h\-padding\fP
Defines the horizontal padding of the statusbar and notificationbar
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 8
.UNINDENT
-.SS statusbar\-v\-padding
-.sp
+.TP
+.B \fIstatusbar\-v\-padding\fP
Defines the vertical padding of the statusbar and notificationbar
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 2
.UNINDENT
-.SS window\-icon
-.sp
+.TP
+.B \fIwindow\-icon\fP
Defines the path for a icon to be used as window icon.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value:
.UNINDENT
-.SS window\-height
-.sp
+.TP
+.B \fIwindow\-height\fP
Defines the window height on startup
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 600
.UNINDENT
-.SS window\-width
-.sp
+.TP
+.B \fIwindow\-width\fP
Defines the window width on startup
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 800
.UNINDENT
+.UNINDENT
.SS zathura
-.sp
+.INDENT 0.0
+.INDENT 3.5
This section describes settings concerning the behaviour of zathura.
-.SS abort\-clear\-search
-.sp
-Defines if the search results should be cleared on abort.
+.UNINDENT
+.UNINDENT
.INDENT 0.0
+.TP
+.B \fIabort\-clear\-search\fP
+Defines if the search results should be cleared on abort.
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS adjust\-open
-.sp
+.TP
+.B \fIadjust\-open\fP
Defines which auto adjustment mode should be used if a document is loaded.
Possible options are "best\-fit" and "width".
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: best\-fit
.UNINDENT
-.SS advance\-pages\-per\-row
-.sp
+.TP
+.B \fIadvance\-pages\-per\-row\fP
Defines if the number of pages per row should be honored when advancing a page.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS database
-.sp
+.TP
+.B \fIcontinuous\-hist\-save\fP
+Tells zathura whether to save document history at each page change or only when
+closing a document.
+.INDENT 7.0
+.IP \(bu 2
+Value type: Boolean
+.IP \(bu 2
+Default value: false
+.UNINDENT
+.TP
+.B \fIdatabase\fP
Defines the database backend to use for bookmarks and input history. Possible
values are "plain", "sqlite" (if built with sqlite support) and "null". If
"null" is used, bookmarks and input history will not be stored.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: plain
.UNINDENT
-.SS dbus\-service
-.sp
+.TP
+.B \fIdbus\-service\fP
En/Disables the D\-Bus service. If the services is disabled, SyncTeX forward
synchronization is not available.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS filemonitor
-.sp
-Defines the filemonitor backend. Possible values are "glib" and "signal" (if
-signal handling is supported).
-.INDENT 0.0
+.TP
+.B \fIdbus\-raise\-window\fP
+Defines whether zathura\(aqs window should be raised when receiving certain
+commands via D\-Bus.
+.INDENT 7.0
+.IP \(bu 2
+Value type: Boolean
+.IP \(bu 2
+Default value: true
+.UNINDENT
+.TP
+.B \fIfilemonitor\fP
+Defines the file monitor backend used to check for changes in files. Possible
+values are "glib", "signal" (if signal handling is supported), and "noop". The
+"noop" file monitor does not trigger reloads.
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: glib
.UNINDENT
-.SS incremental\-search
-.sp
+.TP
+.B \fIincremental\-search\fP
En/Disables incremental search (search while typing).
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS highlight\-color
-.sp
+.TP
+.B \fIhighlight\-color\fP
Defines the color that is used for highlighting parts of the document (e.g.:
show search results)
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #9FBC00
.UNINDENT
-.SS highlight\-active\-color
-.sp
+.TP
+.B \fIhighlight\-fg\fP
+Defines the color that is used for text when highlighting parts of the
+document (e.g.: number for links).
+.INDENT 7.0
+.IP \(bu 2
+Value type: String
+.IP \(bu 2
+Default value: #9FBC00
+.UNINDENT
+.TP
+.B \fIhighlight\-active\-color\fP
Defines the color that is used to show the current selected highlighted element
(e.g: current search result)
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #00BC00
.UNINDENT
-.SS highlight\-transparency
-.sp
+.TP
+.B \fIhighlight\-transparency\fP
Defines the opacity of a highlighted element
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Float
.IP \(bu 2
Default value: 0.5
.UNINDENT
-.SS page\-padding
-.sp
+.TP
+.B \fIpage\-padding\fP
The page padding defines the gap in pixels between each rendered page.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 1
.UNINDENT
-.SS page\-cache\-size
-.sp
+.TP
+.B \fIpage\-cache\-size\fP
Defines the maximum number of pages that could be kept in the page cache. When
the cache is full and a new page that isn\(aqt cached becomes visible, the least
recently viewed page in the cache will be evicted to make room for the new one.
Large values for this variable are NOT recommended, because this will lead to
consuming a significant portion of the system memory.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 15
.UNINDENT
-.SS page\-thumbnail\-size
-.sp
+.TP
+.B \fIpage\-thumbnail\-size\fP
Defines the maximum size in pixels of the thumbnail that could be kept in the
thumbnail cache per page. The thumbnail is scaled for a quick preview during
zooming before the page is rendered. When the page is rendered, the result is
saved as the thumbnail only if the size is no more than this value. A larger
value increases quality but introduces longer delay in zooming and uses more
system memory.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 4194304 (4M)
.UNINDENT
-.SS pages\-per\-row
-.sp
+.TP
+.B \fIpages\-per\-row\fP
Defines the number of pages that are rendered next to each other in a row.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 1
.UNINDENT
-.SS first\-page\-column
-.sp
+.TP
+.B \fIfirst\-page\-column\fP
Defines the column in which the first page will be displayed.
This setting is stored separately for every value of pages\-per\-row according to
the following pattern <1 page per row>:[<2 pages per row>[: ...]]. The last
value in the list will be used for all other number of pages per row if not set
explicitly.
.sp
-Per default, the first column is set to 2 for double\-page layout.
-.INDENT 0.0
+Per default, the first column is set to 2 for double\-page layout, i.e. the value
+is set to 1:2. A value of 1:1:3 would put the first page in dual\-page layout in
+the first column, and for layouts with more columns the first page would be put
+in the 3rd column.
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: 1:2
.UNINDENT
-.SS recolor
-.sp
+.TP
+.B \fIrecolor\fP
En/Disables recoloring
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS recolor\-keephue
-.sp
+.TP
+.B \fIrecolor\-keephue\fP
En/Disables keeping original hue when recoloring
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS recolor\-darkcolor
-.sp
+.TP
+.B \fIrecolor\-darkcolor\fP
Defines the color value that is used to represent dark colors in recoloring mode
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FFFFFF
.UNINDENT
-.SS recolor\-lightcolor
-.sp
+.TP
+.B \fIrecolor\-lightcolor\fP
Defines the color value that is used to represent light colors in recoloring mode
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #000000
.UNINDENT
-.SS recolor\-reverse\-video
-.sp
+.TP
+.B \fIrecolor\-reverse\-video\fP
Defines if original image colors should be kept while recoloring.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS render\-loading
-.sp
+.TP
+.B \fIrender\-loading\fP
Defines if the "Loading..." text should be displayed if a page is rendered.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS render\-loading\-bg
-.sp
+.TP
+.B \fIrender\-loading\-bg\fP
Defines the background color that is used for the "Loading..." text.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #FFFFFF
.UNINDENT
-.SS render\-loading\-fg
-.sp
+.TP
+.B \fIrender\-loading\-fg\fP
Defines the foreground color that is used for the "Loading..." text.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #000000
.UNINDENT
-.SS scroll\-hstep
-.sp
+.TP
+.B \fIscroll\-hstep\fP
Defines the horizontal step size of scrolling by calling the scroll command once
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Float
.IP \(bu 2
Default value: \-1
.UNINDENT
-.SS scroll\-step
-.sp
+.TP
+.B \fIscroll\-step\fP
Defines the step size of scrolling by calling the scroll command once
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Float
.IP \(bu 2
Default value: 40
.UNINDENT
-.SS scroll\-full\-overlap
-.sp
+.TP
+.B \fIscroll\-full\-overlap\fP
Defines the proportion of the current viewing area that should be
visible after scrolling a full page.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Float
.IP \(bu 2
Default value: 0
.UNINDENT
-.SS scroll\-wrap
-.sp
+.TP
+.B \fIscroll\-wrap\fP
Defines if the last/first page should be wrapped
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS show\-directories
-.sp
+.TP
+.B \fIshow\-directories\fP
Defines if the directories should be displayed in completion.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS show\-hidden
-.sp
+.TP
+.B \fIshow\-hidden\fP
Defines if hidden files and directories should be displayed in completion.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS show\-recent
-.sp
+.TP
+.B \fIshow\-recent\fP
Defines the number of recent files that should be displayed in completion.
If the value is negative, no upper bounds are applied. If the value is 0, no
recent files are shown.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 10
.UNINDENT
-.SS scroll\-page\-aware
-.sp
+.TP
+.B \fIscroll\-page\-aware\fP
Defines if scrolling by half or full pages stops at page boundaries.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS smooth\-scroll
-.sp
-Defines if scrolling via touchpad should be smooth(only available with gtk >= 3.4).
-.INDENT 0.0
-.IP \(bu 2
-Value type: Boolean
-.IP \(bu 2
-Default value: false
-.UNINDENT
-.SS link\-zoom
-.sp
+.TP
+.B \fIlink\-zoom\fP
En/Disables the ability of changing zoom when following links.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS link\-hadjust
-.sp
+.TP
+.B \fIlink\-hadjust\fP
En/Disables aligning to the left internal link targets, for example from the
index.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS search\-hadjust
-.sp
+.TP
+.B \fIsearch\-hadjust\fP
En/Disables horizontally centered search results.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS window\-title\-basename
-.sp
+.TP
+.B \fIwindow\-title\-basename\fP
Use basename of the file in the window title.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS window\-title\-home\-tilde
-.sp
+.TP
+.B \fIwindow\-title\-home\-tilde\fP
Display a short version of the file path, which replaces $HOME with ~, in the window title.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS window\-title\-page
-.sp
+.TP
+.B \fIwindow\-title\-page\fP
Display the page number in the window title.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS statusbar\-basename
-.sp
+.TP
+.B \fIstatusbar\-basename\fP
Use basename of the file in the statusbar.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS statusbar\-home\-tilde
-.sp
+.TP
+.B \fIstatusbar\-page\-percent\fP
+Display (current page / total pages) as a percent in the statusbar.
+.INDENT 7.0
+.IP \(bu 2
+Value type: Boolean
+.IP \(bu 2
+Default value: false
+.UNINDENT
+.TP
+.B \fIstatusbar\-home\-tilde\fP
Display a short version of the file path, which replaces $HOME with ~, in the statusbar.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS zoom\-center
-.sp
+.TP
+.B \fIzoom\-center\fP
En/Disables horizontally centered zooming.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: false
.UNINDENT
-.SS zoom\-max
-.sp
+.TP
+.B \fIvertical\-center\fP
+Center the screen at the vertical midpoint of the page by default.
+.INDENT 7.0
+.IP \(bu 2
+Value type: Boolean
+.IP \(bu 2
+Default value: false
+.UNINDENT
+.TP
+.B \fIzoom\-max\fP
Defines the maximum percentage that the zoom level can be.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 1000
.UNINDENT
-.SS zoom\-min
-.sp
+.TP
+.B \fIzoom\-min\fP
Defines the minimum percentage that the zoom level can be.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 10
.UNINDENT
-.SS zoom\-step
-.sp
+.TP
+.B \fIzoom\-step\fP
Defines the amount of percent that is zoomed in or out on each command.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Integer
.IP \(bu 2
Default value: 10
.UNINDENT
-.SS selection\-clipboard
-.sp
+.TP
+.B \fIselection\-clipboard\fP
Defines the X clipboard into which mouse\-selected data will be written. When it
is "clipboard", selected data will be written to the CLIPBOARD clipboard, and
can be pasted using the Ctrl+v key combination. When it is "primary", selected
data will be written to the PRIMARY clipboard, and can be pasted using the
middle mouse button, or the Shift\-Insert key combination.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: primary
.UNINDENT
-.SS selection\-notification
-.sp
+.TP
+.B \fIselection\-notification\fP
Defines if a notification should be displayed after selecting text.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS synctex
-.sp
+.TP
+.B \fIsynctex\fP
En/Disables SyncTeX backward synchronization support.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: Boolean
.IP \(bu 2
Default value: true
.UNINDENT
-.SS synctex\-editor\-command
-.sp
+.TP
+.B \fIsynctex\-editor\-command\fP
Defines the command executed for SyncTeX backward synchronization.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value:
.UNINDENT
-.SS index\-fg
-.sp
+.TP
+.B \fIindex\-fg\fP
Defines the foreground color of the index mode.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #DDDDDD
.UNINDENT
-.SS index\-bg
-.sp
+.TP
+.B \fIindex\-bg\fP
Define the background color of the index mode.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #232323
.UNINDENT
-.SS index\-active\-fg
-.sp
+.TP
+.B \fIindex\-active\-fg\fP
Defines the foreground color of the selected element in index mode.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #232323
.UNINDENT
-.SS index\-active\-bg
-.sp
+.TP
+.B \fIindex\-active\-bg\fP
Define the background color of the selected element in index mode.
-.INDENT 0.0
+.INDENT 7.0
.IP \(bu 2
Value type: String
.IP \(bu 2
Default value: #9FBC00
.UNINDENT
+.TP
+.B \fIsandbox\fP
+Defines the sandbox mode to use for the seccomp syscall filter. Possible
+values are "none", "normal" and "strict". If "none" is used, the sandbox
+will be disabled. The use of "normal" will provide minimal protection and
+allow normal use of zathura with support for all features. The "strict" mode
+is a read only sandbox that is intended for viewing documents only.
+.INDENT 7.0
+.IP \(bu 2
+Value type: String
+.IP \(bu 2
+Default value: normal
+.UNINDENT
+.sp
+Some features are disabled when using strict sandbox mode:
+.INDENT 7.0
+.IP \(bu 2
+saving/writing files
+.IP \(bu 2
+use of input methods like ibus
+.IP \(bu 2
+printing
+.IP \(bu 2
+bookmarks and history
+.UNINDENT
+.sp
+The strict sandbox mode is still experimental with some libc implementations.
+Currently supported and tested libc implementations: glibc
+.sp
+No feature regressions are expected when using normal sandbox mode.
+.sp
+When running under WSL, the default is "none" since seccomp is not supported in
+that environment.
+.TP
+.B \fIwindow\-icon\-document\fP
+Defines whether the window document should be updated based on the first page of
+a dcument.
+.INDENT 7.0
+.IP \(bu 2
+Value type: Boolean
+.IP \(bu 2
+Default value: false
+.UNINDENT
+.TP
+.B \fIpage\-right\-to\-left\fP
+Defines whether pages in multi\-column view should start from the right side.
+.INDENT 7.0
+.IP \(bu 2
+Value type: Boolean
+.IP \(bu 2
+Default value: false
+.UNINDENT
+.UNINDENT
.SH SEE ALSO
.sp
zathura(1)
.SH AUTHOR
pwmt.org
.SH COPYRIGHT
-2009-2015, pwmt.org
+2009-2018, pwmt.org
.\" Generated by docutils manpage writer.
.
diff --git a/office/zathura/slack-desc b/office/zathura/slack-desc
index 49889a17df..ee6695b0b2 100644
--- a/office/zathura/slack-desc
+++ b/office/zathura/slack-desc
@@ -14,6 +14,6 @@ zathura: zathura is an application that provides a minimalistic and space
zathura: saving interface as well as an easy usage that mainly focuses on
zathura: keyboard interaction.
zathura:
-zathura: This package was built @WITH@ texlive synctex support.
+zathura: This package @INCLUDES@ the zathura-pdf-poppler plugin.
zathura:
zathura:
diff --git a/office/zathura/synctex_fix.diff b/office/zathura/synctex_fix.diff
deleted file mode 100644
index 904bd663fe..0000000000
--- a/office/zathura/synctex_fix.diff
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -Naur zathura-0.3.8/zathura/synctex.c zathura-0.3.8.patched/zathura/synctex.c
---- zathura-0.3.8/zathura/synctex.c 2017-12-20 08:40:45.000000000 -0500
-+++ zathura-0.3.8.patched/zathura/synctex.c 2018-09-09 13:56:54.489287021 -0400
-@@ -24,13 +24,13 @@
- return false;
- }
-
-- synctex_scanner_t scanner = synctex_scanner_new_with_output_file(filename, NULL, 1);
-+ synctex_scanner_p scanner = synctex_scanner_new_with_output_file(filename, NULL, 1);
- if (scanner == NULL) {
- girara_debug("Failed to create synctex scanner.");
- return false;
- }
-
-- synctex_scanner_t temp = synctex_scanner_parse(scanner);
-+ synctex_scanner_p temp = synctex_scanner_parse(scanner);
- if (temp == NULL) {
- girara_debug("Failed to parse synctex file.");
- synctex_scanner_free(scanner);
-@@ -41,7 +41,7 @@
-
- if (synctex_edit_query(scanner, page + 1u, x, y) > 0) {
- /* Assume that a backward search returns at most one result. */
-- synctex_node_t node = synctex_next_result(scanner);
-+ synctex_node_p node = synctex_scanner_next_result(scanner);
- if (node != NULL) {
- if (input_file != NULL) {
- *input_file = g_strdup(synctex_scanner_get_name(scanner, synctex_node_tag(node)));
-@@ -127,13 +127,13 @@
- ++line;
- ++column;
-
-- synctex_scanner_t scanner = synctex_scanner_new_with_output_file(filename, NULL, 1);
-+ synctex_scanner_p scanner = synctex_scanner_new_with_output_file(filename, NULL, 1);
- if (scanner == NULL) {
- girara_debug("Failed to create synctex scanner.");
- return NULL;
- }
-
-- synctex_scanner_t temp = synctex_scanner_parse(scanner);
-+ synctex_scanner_p temp = synctex_scanner_parse(scanner);
- if (temp == NULL) {
- girara_debug("Failed to parse synctex file.");
- synctex_scanner_free(scanner);
-@@ -143,11 +143,11 @@
- girara_list_t* hitlist = girara_list_new2(g_free);
- girara_list_t* other_rects = girara_list_new2(g_free);
-
-- if (synctex_display_query(scanner, input_file, line, column) > 0) {
-- synctex_node_t node = NULL;
-+ if (synctex_display_query(scanner, input_file, line, column, -1) > 0) {
-+ synctex_node_p node = NULL;
- bool got_page = false;
-
-- while ((node = synctex_next_result (scanner)) != NULL) {
-+ while ((node = synctex_scanner_next_result (scanner)) != NULL) {
- const unsigned int current_page = synctex_node_page(node) - 1;
- if (got_page == false) {
- got_page = true;
diff --git a/office/zathura/zathura.SlackBuild b/office/zathura/zathura.SlackBuild
index 7d0e602451..4f5130e113 100644
--- a/office/zathura/zathura.SlackBuild
+++ b/office/zathura/zathura.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zathura
# Copyright 2010 Binh Nguyen <email removed>
-# Copyright 2018 B. Watson <yalhcru@gmail.com>
+# Copyright 2018 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,65 +23,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20180909 bkw:
-# - Re-enable building with synctex, since texlive has been fixed. This
-# requires a patch, since this version of zathura was written for an
-# older version of texlive.
-
-# 20180903 bkw:
-# - Disable building with synctex, since it currently doesn't work due
-# to a bug in the texlive package. Will be re-enabled when the texlive
-# issue is fixed.
-# - Really get rid of color output from the Makefile. I know it's cute,
-# but it confuses less when redirecting to a file.
-
-# 20180102 bkw:
-# - Updated for v0.3.8. Have to do some fudging to get it to build with
-# Slack 14.2's older glib2: upstream claims they need 2.50, but the
-# only thing they seem to need it for is the --dependency-file option
-# to glib-compile-resources, which turns out to be unneeded.
-
-# 20170711 bkw:
-# - BUILD=2
-# - Include API docs in package
-# - Switch to github URLs since upstream's site has been broken for 3-4
-# days now. Side effect is, it makes it easier for my update script to
-# let me know when there's a new release. This means adding the built
-# man pages to SBo git (otherwise I'd have Sphinx as a dep, yuck).
-
-# 20170125 bkw:
-# - Updated for v0.3.7, poppler plugin v0.2.7
-
-# 20160725 bkw:
-# - Updated for v0.3.6
-
-# 20150511 bkw:
-# - Version bump 0.3.3. The poppler plugin is still on 0.2.5.
-# - Make the poppler plugin's pdf.so a symlink. Will do the same
-# for zathura-pdf-mupdf, to allow switching between the two without
-# reinstalling packages. This wouldn't have worked with older versions,
-# due to changes in glib's g_file_test() between glib 1.x and 2.x.
-# - Upstream started using -fdiagnostics-color=always, which is only
-# supported in newer gcc versions. Get rid of it.
-
-# Updated 20130617 by B. Watson <yalhcru@gmail.com>:
-# - Updated for v0.2.3
-
-# Updated 20120721 by B. Watson <yalhcru@gmail.com>:
-# - Updated for v0.2.0
-# - generated man pages now included by upstream, get rid of ours
-
-# Updated 20120312 by B. Watson <yalhcru@gmail.com>:
-# - Updated for v0.1.1, including poppler plugin
-# - Restore missing .desktop file and AUTHORS doc
-# - Add an icon
-# - Include generated man pages
-# - fix homepage URL
+# 20240319 bkw: update for v0.5.4 and zathura-pdf-poppler 0.3.2.
+# These are the last versions that will build on Slackware 15.0
+# due to newer versions needing a newer pango.
+
+# 20230105 bkw: update for v0.5.1 and zathura-pdf-poppler 0.3.1.
+
+# 20221114 bkw:
+# - update for v0.5.1. zathura-pdf-poppler is still 0.3.0.
+# - fix bash/zsh/fish completion.
+# - change symlink name from pdf.so to libpdf.so (helps with completion).
+# - make zathura-pdf-poppler optional.
+# - update prebuilt man pages.
+# - stop installing duplicate man pages if Sphinx is installed.
+
+# 20210801 bkw:
+# - update for v0.4.8 and -current. build uses meson now, so this script
+# can no longer build old zathura versions.
+# - removed dlopen hack and synctex fix, since they're no longer needed.
+# - this changelog was getting long, so move to ChangeLog.old.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zathura
-VERSION=${VERSION:-0.3.8}
+VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# zathura no longer includes PDF support in the core. Instead it uses
+# plugins. This build includes the default PDF plugin, without which zathura
+# is completely useless.
+PLUGIN=$PRGNAM-pdf-poppler
+PLUGINVER=${PLUGINVER:-0.3.2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -91,7 +65,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,13 +88,13 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
-# zathura no longer includes PDF support in the core. Instead it uses
-# plugins. This build includes the default PDF plugin, without which zathura
-# is completely useless.
-PLUGIN=$PRGNAM-pdf-poppler
-PLUGINVER=${PLUGINVER:-0.2.8}
+fixperms() {
+ chown -R root:root .
+ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -124,124 +102,92 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-
-# Work around a bug in Slackware's ghostscript.
-# http://bugs.ghostscript.com/show_bug.cgi?id=692891
-#
-# Supposedly this was fixed, but I'm getting stack traces that look just
-# like those. The trouble is, if any of the plugins depends on libgs.so,
-# that library gets loaded during zathura's "scan for plugins" phase.
-# If libjpeg.so wasn't already loaded, it gets loaded and mangled by
-# libgs. This happens *before* zathura knows which plugin matches the file
-# we're trying to view. Now, the plugin is chosen based on the file's
-# mime type. If said plugin *isn't* the one using libgs, but it *does*
-# use libjpeg, *boom* segfault.
-#
-# What I found is that the postscript plugin uses libsceptre, which uses
-# libgs... and the mupdf and comicbook plugins use libjpeg. The end result
-# is that the mupdf and cb plugins crash the first time they try to load
-# a jpeg from the pdf/cbr, *but* only if the ps plugin is installed!
-# Both plugins work fine if the ps plugin is removed.
-#
-# I found that 'export LD_PRELOAD=/usr/lib/libjpeg.so' stops the
-# segfaulting, while not affecting the ps plugin. The patch below is
-# basically just the C equivalent: use dlopen() to load libjpeg.so before
-# scanning for plugins. Yes, it's a hack, that depends on implementation
-# specific details, but the alternative would be to try and talk Pat V
-# into patching and rebuilding his ghostscript and/or libsceptre packages,
-# which he won't be doing this late in the release cycle (I wouldn't either).
-
-patch -p1 < $CWD/dlopen_hack.diff
-
-# synctex API in recent texlive has changed from whatever version
-# zathura was developed with. This is a monkey patch, with me as
-# the monkey: monkey see someone else's patch for something else here:
-# https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=896566;filename=synctex2;msg=10
-# ...and monkey do the same thing to zathura.
-# A while after I did this, I found someone else's patch:
-# http://pk.archive.ubuntu.com/ubuntu/ubuntu/pool/universe/z/zathura/zathura_0.3.9-2.debian.tar.xz
-# ...the portion of the patch that alters synctex.c looks identical to
-# the one I came up with, meaning I could have saved myself some work...
-patch -p1 < $CWD/synctex_fix.diff
-
-sed -i "s/-pedantic/$SLKCFLAGS/" config.mk
-sed -i '/--dependency-file/d' Makefile
-
-# 20170711 bkw: git tarballs don't include prebuilt man pages, and I do NOT
-# want Sphinx and its 15+ deps as a dep for this build. So:
-cp -r $CWD/man doc/_build
-
-make \
- LIBDIR=/usr/lib$LIBDIRSUFFIX \
- MANPREFIX=/usr/man \
- DESTDIR=$PKG \
- RSTTOMAN="" \
- COLOR=0 \
- GLIB_VERSION_CHECK=0 \
- VERBOSE=1 \
- all \
- install
-
-# Check & see if synctex was built in, for slack-desc purposes.
-WITH=WITHOUT
-if ldd $PKG/usr/bin/$PRGNAM | grep -q libsynctex; then
- WITH=WITH
-fi
-
-gzip $PKG/usr/man/man?/*.?
+fixperms
+
+# 20240319 bkw: upstream decided we needed a newer meson, but this
+# builds just fine with our older one.
+sed -i '/meson_version/s,>=0\.61,>=0.59,' meson.build
+
+# 20221114 bkw: Maik Wagner and Alexander Verbovetsky reported that
+# fish and bash completion weren't working, due to the symlink I use
+# to switch between the PDF plugins. This patch should fix it.
+patch -p1 < $CWD/fix_completion.diff
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+# man pages prebuilt on a Slackware box with Sphinx installed. I did
+# this to avoid a dependency on Sphinx (and its tree of 13 deps).
+rm -rf $PKG/usr/man # in case we had Sphinx already...
+for i in $CWD/man/*.*; do
+ dest="$PKG/usr/man/man$( echo $i | sed 's,.*\.,,' )"
+ mkdir -p "$dest"
+ gzip -9c < $i > "$dest/$( basename "$i" )".gz
+done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Include the API docs. Sphinx would be needed to build HTML or PDF docs, but
# the doc sources are RST, which are perfectly human-readable already (though
# less easy to navigate).
-cd doc
-rm -rf installation man _build [A-Z]* *.mk *.py *.txt
-cp -a * $PKG/usr/doc/$PRGNAM-$VERSION
-
-# Now build the plugin.
-cd $TMP
-
-# Hack, lets #include <zathura/document.h> in pdf.h work with an uninstalled
-# copy of zathura by saying "-I../zathura"
-rm -f $PRGNAM
-ln -s $PRGNAM-$VERSION $PRGNAM
-
-rm -rf $PLUGIN-$PLUGINVER
-tar xvf $CWD/$PLUGIN-$PLUGINVER.tar.gz
-cd $PLUGIN-$PLUGINVER
-chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-
-# ZATHURA_VERSION_CHECK=0 is required because zathura.pc isn't installed.
-
-PLUGDIR=/usr/lib$LIBDIRSUFFIX/$PRGNAM
-sed -i "s/-fPIC/$SLKCFLAGS/" config.mk
-make install \
- VERBOSE=1 \
- ZATHURA_INC=-I../zathura \
- PLUGINDIR=$PLUGDIR/pdf-poppler \
- DESTDIR=$PKG \
- ZATHURA_GTK_VERSION=3 \
- ZATHURA_VERSION_CHECK=0
-strip $PKG/$PLUGDIR/pdf-poppler/*.so
-
-ln -s pdf-poppler/pdf.so $PKG/$PLUGDIR/pdf.so
-
-# icon converted from https://pwmt.org/img/fav.ico
-mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
-echo "Icon=$PRGNAM" >> $PKG/usr/share/applications/$PRGNAM.desktop
+cp -a doc/api $PKG/usr/doc/$PRGNAM-$VERSION
+
+# Now build the plugin, unless the user disabled it.
+if [ "${POPPLER:-yes}" != "no" ]; then
+ INCLUDES="includes"
+ cd $TMP
+ rm -rf $PLUGIN-$PLUGINVER
+ tar xvf $CWD/$PLUGIN-$PLUGINVER.tar.gz
+ cd $PLUGIN-$PLUGINVER
+ fixperms
+ sed -i '/meson_version/s,>=0\.61,>=0.59,' meson.build
+
+ export PKG_CONFIG_PATH=$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig:$PKG_CONFIG_PATH
+
+ mkdir build
+ cd build
+ CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
+ CXXFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dplugindir=/usr/lib$LIBDIRSUFFIX/$PRGNAM/pdf
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+ cd ..
+
+ ln -s pdf/libpdf-poppler.so $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/libpdf.so
+else
+ # if we don't include the plugin, we still want the empty plugin dir.
+ mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
+ INCLUDES="DOES NOT include"
+fi
mkdir -p $PKG/install
-sed "s,@WITH@,$WITH," $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@INCLUDES@,$INCLUDES," $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/zathura/zathura.info b/office/zathura/zathura.info
index 3f24ef1feb..93f42cfaf2 100644
--- a/office/zathura/zathura.info
+++ b/office/zathura/zathura.info
@@ -1,12 +1,12 @@
PRGNAM="zathura"
-VERSION="0.3.8"
+VERSION="0.5.4"
HOMEPAGE="https://github.com/pwmt/zathura"
-DOWNLOAD="https://github.com/pwmt/zathura/archive/0.3.8/zathura-0.3.8.tar.gz \
- https://github.com/pwmt/zathura-pdf-poppler/archive/0.2.8/zathura-pdf-poppler-0.2.8.tar.gz"
-MD5SUM="e94a6933580eeda615fe72ee9361892c \
- 847e4337e1798e8073cb317ee4d67393"
+DOWNLOAD="https://github.com/pwmt/zathura/archive/0.5.4/zathura-0.5.4.tar.gz \
+ https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.2/zathura-pdf-poppler-0.3.2.tar.gz"
+MD5SUM="a929f3366a46bb05d623c299276f414b \
+ 23422e7606b815e025f3654dc05c0a13"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="girara"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/zim/README b/office/zim/README
index 438f131310..bd5dcb5b89 100644
--- a/office/zim/README
+++ b/office/zim/README
@@ -1,18 +1,23 @@
-Zim is a graphical text editor used to maintain a collection of wiki pages.
-Each page can contain links to other pages, simple formatting and images.
-Pages are stored in a folder structure, like in an outliner, and can have
-attachments. Creating a new page is as easy as linking to a nonexistent page.
-All data is stored in plain text files with wiki formatting. Various plugins
-provide additional functionality, like a task list manager, an equation
-editor, a tray icon, and support for version control.
+Zim is a graphical text editor used to maintain a collection of wiki
+pages. Each page can contain links to other pages, simple formatting,
+and images. Pages are stored in a folder structure, like in an
+outliner, and can have attachments. Creating a new page is as easy as
+linking to a nonexistent page. All data is stored in plain text files
+with wiki formatting. Various plugins provide additional
+functionality, like a task list manager, an equation editor, a tray
+icon, and support for version control.
Zim can be used to:
-* Keep an archive of notes
-* Take notes during meetings or lectures
-* Organize task lists
-* Draft blog entries and emails
-* Do brainstorming
-Optional Dependencies:
-* pyxdg - Provides further freedesktop.org standard support
-* See README.Plugins for a list of optional dependencies for plugins
+ Keep an archive of notes
+ Keep a daily or weekly journal
+ Take notes during meetings or lectures
+ Organize task lists
+ Draft blog entries and emails
+ Do brainstorming
+
+
+NOTE:
+Zim can be expanded with plugins. From 'preferences' go to
+'plugins' and anything marked 'failed' can be installed either
+from SBo or pip. These aren't dependencies; Zim runs without them.
diff --git a/office/zim/README.Plugins b/office/zim/README.Plugins
deleted file mode 100644
index c372fc051a..0000000000
--- a/office/zim/README.Plugins
+++ /dev/null
@@ -1,10 +0,0 @@
-This file lists Zim plugins that require optional dependencies to
-function. Plugins that work out of the box with Slackware are not
-listed. Plugins that require a dependency unavailable from
-SlackBuilds.org are not listed either.
-
-* Insert Diagram: Graphviz
-* Insert Score: lilypond
-* Link Map: Graphviz
-* Source View: pygtksourceview
-* Spell Checker: pygtkspell
diff --git a/office/zim/doinst.sh b/office/zim/doinst.sh
index 9a8ded3c60..aea0f894eb 100644
--- a/office/zim/doinst.sh
+++ b/office/zim/doinst.sh
@@ -5,3 +5,9 @@ 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/office/zim/slack-desc b/office/zim/slack-desc
index f854aa4fb8..773bcbfc2b 100644
--- a/office/zim/slack-desc
+++ b/office/zim/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-zim: zim (Desktop wiki editor)
+zim: zim (A Desktop Wiki Editor)
+zim:
+zim: Zim is a graphical text editor used to maintain a collection of wiki
+zim: pages. Each page can contain links to other pages, simple formatting,
+zim: and images. Pages are stored in a folder structure, like in an
+zim: outliner, and can have attachments.
zim:
-zim: Zim is a graphical text editor and organizer with wiki-like features
-zim: such as linking to other pages in a notebook. Zim stores data in
-zim: plain text for simplicity and transparency.
zim:
-zim: Among other uses, zim can be effective for brainstorming,
-zim: note-taking, and making task lists.
zim:
zim: Homepage: http://zim-wiki.org/
zim:
diff --git a/office/zim/zim.SlackBuild b/office/zim/zim.SlackBuild
index c924515c04..27b2c1205c 100644
--- a/office/zim/zim.SlackBuild
+++ b/office/zim/zim.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zim
-# Copyright 2013 Michael Ren <micron33@gmail.com>
+# Copyright 2019-2022 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2015-2017 Brenton Earl <brent@exitstatusone.com>
+# Copyright 2013 Michael Ren <micron33@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +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=zim
-VERSION=${VERSION:-0.68}
+SRCNAM=desktop-wiki
+VERSION=${VERSION:-0.75.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,25 +41,22 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="CHANGELOG.txt LICENSE.txt PKG-INFO README.txt"
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+# Abort build if architecture is not 64-bit.
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
fi
set -e
@@ -63,30 +65,39 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+
+# some scripts pull down the tarball with a truncated name
+if [ -f $CWD/$VERSION.tar.gz ]
+then
+ tar xvf $CWD/$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$SRCNAM-$VERSION.tar.gz
+fi
+
+cd $PRGNAM-$SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 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 {} \;
-# zim's setup.py subclasses distutil's install class, adding a flag to disable
-# running update-desktop-database and update-mime-database during the install
-# ("automation"), hence --skip-xdg-cmd
-python setup.py install --root=$PKG --skip-xdg-cmd
+./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
-mv $PKG/usr/share/man $PKG/usr
+mv $PKG/usr/share/man $PKG/usr/
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/usr/share/icons
+cp -r xdg/hicolor/ $PKG/usr/share/icons/
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/README.Plugins > $PKG/usr/doc/$PRGNAM-$VERSION/README.Plugins
+cp -a {CHANGELOG.md,CONTRIBUTING.md,LICENSE,PLUGIN_WRITING.md,README.md} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -94,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/office/zim/zim.info b/office/zim/zim.info
index 1b98172ac9..986565b147 100644
--- a/office/zim/zim.info
+++ b/office/zim/zim.info
@@ -1,10 +1,10 @@
PRGNAM="zim"
-VERSION="0.68"
+VERSION="0.75.2"
HOMEPAGE="http://zim-wiki.org/"
-DOWNLOAD="http://zim-wiki.org/downloads/zim-0.68.tar.gz"
-MD5SUM="336041a16687abb66fd9f604b98407e8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/zim-desktop-wiki/zim-desktop-wiki/archive/refs/tags/0.75.2.tar.gz"
+MD5SUM_x86_64="66e6ecd1e9906c7662f622ddc18e5315"
REQUIRES=""
-MAINTAINER="Brenton Earl"
-EMAIL="brent@exitstatusone.com"
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"