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-desc (renamed from office/sofastats/slack-desc)22
-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-desc19
-rw-r--r--office/FreeOffice/slack-desc2
-rw-r--r--office/JabRef/JabRef.SlackBuild43
-rw-r--r--office/JabRef/JabRef.info8
-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.SlackBuild3
-rw-r--r--office/LanguageTool/LanguageTool.info12
-rw-r--r--office/LanguageTool/README4
-rw-r--r--office/LibreOffice/LibreOffice.SlackBuild112
-rw-r--r--office/LibreOffice/LibreOffice.info12
-rw-r--r--office/LibreOffice/README148
-rw-r--r--office/LibreOffice/bison_yyn-yyrule_rename.diff18
-rw-r--r--office/LibreOffice/skia-freetype-2.11.diff51
-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/teams-for-linux/doinst.sh)0
-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.SlackBuild11
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.info8
-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.SlackBuild35
-rw-r--r--office/NME/NME.info6
-rw-r--r--office/ProjectLibre/ProjectLibre.info2
-rw-r--r--office/SOGo/README5
-rw-r--r--office/SOGo/SOGo.SlackBuild28
-rw-r--r--office/SOGo/SOGo.info10
-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/abiword/README19
-rw-r--r--office/abiword/abiword.SlackBuild27
-rw-r--r--office/abiword/abiword.info6
-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.SlackBuild23
-rw-r--r--office/adobe-reader/adobe-reader.SlackBuild39
-rw-r--r--office/adobe-reader/adobe-reader.info2
-rw-r--r--office/aigaion/README4
-rw-r--r--office/aigaion/aigaion.SlackBuild19
-rw-r--r--office/aiksaurus/aiksaurus.SlackBuild8
-rw-r--r--office/aiksaurus/aiksaurus.info4
-rw-r--r--office/anorack/README4
-rw-r--r--office/anorack/anorack.SlackBuild87
-rw-r--r--office/anorack/anorack.info12
-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.SlackBuild13
-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.SlackBuild40
-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/asymptote/README6
-rw-r--r--office/asymptote/asymptote.SlackBuild45
-rw-r--r--office/asymptote/asymptote.info10
-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.SlackBuild (renamed from office/qpdfview-qt5/qpdfview-qt5.SlackBuild)86
-rw-r--r--office/atril/atril.info10
-rw-r--r--office/atril/doinst.sh19
-rw-r--r--office/atril/slack-desc19
-rw-r--r--office/basket/README5
-rw-r--r--office/basket/basket.SlackBuild42
-rw-r--r--office/basket/basket.info2
-rw-r--r--office/basket/no-write-outside-destdir.patch19
-rw-r--r--office/beaver/beaver.SlackBuild30
-rw-r--r--office/bibclean/README5
-rw-r--r--office/bibclean/bibclean.SlackBuild (renamed from office/wyrd/wyrd.SlackBuild)23
-rw-r--r--office/bibclean/bibclean.info10
-rw-r--r--office/bibclean/slack-desc19
-rw-r--r--office/bibutils/bibutils.SlackBuild25
-rw-r--r--office/bookbinder/bookbinder.info2
-rw-r--r--office/briss/README11
-rw-r--r--office/briss/briss.info2
-rw-r--r--office/broffice.org/README3
-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/README4
-rw-r--r--office/calcurse/calcurse.SlackBuild14
-rw-r--r--office/calcurse/calcurse.info10
-rw-r--r--office/calibre-bin/calibre-bin.SlackBuild16
-rw-r--r--office/calibre-bin/calibre-bin.info10
-rw-r--r--office/calibre/README10
-rw-r--r--office/calibre/calibre.SlackBuild176
-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/icu.patch31
-rw-r--r--office/calibre/patches/qt-5.15.patch40
-rw-r--r--office/calibre/patches/remove-desktop-integration.patch14
-rw-r--r--office/calibre/slack-desc19
-rw-r--r--office/catdoc/catdoc.SlackBuild17
-rw-r--r--office/catdoc/catdoc.info6
-rw-r--r--office/catdvi/README43
-rw-r--r--office/catdvi/catdvi.SlackBuild (renamed from office/xlsx2csv/xlsx2csv.SlackBuild)47
-rw-r--r--office/catdvi/catdvi.info10
-rw-r--r--office/catdvi/slack-desc19
-rw-r--r--office/ccal/ccal.SlackBuild6
-rw-r--r--office/convertlit/convertlit.12
-rw-r--r--office/convertlit/convertlit.SlackBuild2
-rw-r--r--office/convertlit/convertlit.info2
-rw-r--r--office/coolreader/README9
-rw-r--r--office/coolreader/coolreader.SlackBuild57
-rw-r--r--office/coolreader/coolreader.info10
-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/TaskCoach/TaskCoach.SlackBuild)38
-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/devtodo/README11
-rw-r--r--office/dictd/dictd.SlackBuild6
-rw-r--r--office/diction/diction.SlackBuild2
-rw-r--r--office/diction/diction.info4
-rw-r--r--office/diffpdf/README8
-rw-r--r--office/diffpdf/diffpdf-2.1.3-qt5.patch173
-rw-r--r--office/diffpdf/diffpdf.SlackBuild38
-rw-r--r--office/diffpdf/diffpdf.desktop2
-rw-r--r--office/ding/README6
-rw-r--r--office/djvusmooth/djvusmooth.SlackBuild2
-rw-r--r--office/djvusmooth/djvusmooth.info4
-rw-r--r--office/docx2txt/README4
-rw-r--r--office/dspdfviewer/README5
-rw-r--r--office/dspdfviewer/doinst.sh (renamed from office/kchmviewer/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/epdfview/README4
-rw-r--r--office/epr/README11
-rw-r--r--office/epr/epr.SlackBuild79
-rw-r--r--office/epr/epr.info10
-rw-r--r--office/epr/slack-desc19
-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-desc19
-rw-r--r--office/etmtk/etmtk.SlackBuild6
-rw-r--r--office/etmtk/etmtk.info8
-rw-r--r--office/evince-gtk2/README16
-rw-r--r--office/evince-gtk2/doinst.sh15
-rw-r--r--office/evince-gtk2/evince-gtk2.SlackBuild149
-rw-r--r--office/evince-gtk2/evince-gtk2.info10
-rw-r--r--office/evince-gtk2/slack-desc19
-rw-r--r--office/evince/README5
-rw-r--r--office/evince/evince.SlackBuild16
-rw-r--r--office/evince/evince.info8
-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)61
-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.SlackBuild (renamed from office/teapot/teapot.SlackBuild)133
-rw-r--r--office/evolution/evolution.info10
-rw-r--r--office/evolution/slack-desc19
-rw-r--r--office/fbpdf/fbpdf.SlackBuild7
-rw-r--r--office/fbpdf/fbpdf.info8
-rw-r--r--office/fbpdf/manpage.diff61
-rw-r--r--office/fbpdf/navigation.diff54
-rw-r--r--office/fbreader/fbreader.SlackBuild14
-rw-r--r--office/fbreader/fbreader.info2
-rw-r--r--office/featherpad/README41
-rw-r--r--office/featherpad/doinst.sh (renamed from office/calibre/doinst.sh)0
-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.info2
-rw-r--r--office/focuswriter-legacy/focuswriter-legacy.info10
-rw-r--r--office/focuswriter-legacy/slack-desc19
-rw-r--r--office/focuswriter-qt6/README (renamed from office/focuswriter-legacy/README)5
-rw-r--r--office/focuswriter-qt6/doinst.sh (renamed from office/focuswriter-legacy/doinst.sh)0
-rw-r--r--office/focuswriter-qt6/focuswriter-qt6.SlackBuild (renamed from office/focuswriter-legacy/focuswriter-legacy.SlackBuild)33
-rw-r--r--office/focuswriter-qt6/focuswriter-qt6.info10
-rw-r--r--office/focuswriter-qt6/slack-desc19
-rw-r--r--office/focuswriter/README5
-rw-r--r--office/focuswriter/focuswriter.SlackBuild8
-rw-r--r--office/focuswriter/focuswriter.info4
-rw-r--r--office/fop-legacy/README23
-rw-r--r--office/fop-legacy/README.postinst13
-rw-r--r--office/fop-legacy/fop-legacy.info12
-rw-r--r--office/fop-legacy/slack-desc19
-rw-r--r--office/fop/README24
-rw-r--r--office/fop/fop.SlackBuild118
-rw-r--r--office/fop/fop.info16
-rw-r--r--office/freemind/freemind.info2
-rw-r--r--office/full-pack/README10
-rw-r--r--office/full-pack/full-pack.SlackBuild20
-rw-r--r--office/ganttproject/ganttproject.info2
-rw-r--r--office/gcal/gcal.info2
-rw-r--r--office/gcalctool-gtk2/README5
-rw-r--r--office/gcalctool-gtk2/doinst.sh15
-rw-r--r--office/gcalctool-gtk2/gcalctool-gtk2.SlackBuild115
-rw-r--r--office/gcalctool-gtk2/gcalctool-gtk2.info10
-rw-r--r--office/gcalctool-gtk2/slack-desc19
-rw-r--r--office/ghostwriter/README16
-rw-r--r--office/ghostwriter/fix-build-with-qt5.15.patch21
-rw-r--r--office/ghostwriter/ghostwriter.SlackBuild37
-rw-r--r--office/ghostwriter/ghostwriter.info16
-rw-r--r--office/ghostwriter/slack-desc8
-rw-r--r--office/glow/README3
-rw-r--r--office/glow/changelog6
-rw-r--r--office/glow/glow.SlackBuild (renamed from office/fop-legacy/fop-legacy.SlackBuild)89
-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.SlackBuild114
-rw-r--r--office/gmdb2/gmdb2.info10
-rw-r--r--office/gmdb2/slack-desc19
-rw-r--r--office/gnokii/gnokii.SlackBuild10
-rw-r--r--office/gnucash-docs/README17
-rw-r--r--office/gnucash-docs/gnucash-docs.SlackBuild85
-rw-r--r--office/gnucash-docs/gnucash-docs.info10
-rw-r--r--office/gnucash-docs/slack-desc2
-rw-r--r--office/gnucash/gnucash.SlackBuild11
-rw-r--r--office/gnucash/gnucash.info6
-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.SlackBuild18
-rw-r--r--office/gnumeric/gnumeric.info10
-rw-r--r--office/gnumeric/slack-desc8
-rw-r--r--office/gocr/gocr.SlackBuild38
-rw-r--r--office/gocr/gocr.info12
-rw-r--r--office/gocr/slack-desc2
-rw-r--r--office/goldendict/goldendict.SlackBuild12
-rw-r--r--office/goldendict/goldendict.info6
-rw-r--r--office/goldendict/patches/goldendict-ffmpeg4.patch167
-rw-r--r--office/goldendict/patches/goldendict-qt-5.11-1.patch34
-rw-r--r--office/goldendict/patches/goldendict-qt-5.11-2.patch22
-rw-r--r--office/grisbi/grisbi.SlackBuild33
-rw-r--r--office/grisbi/grisbi.info10
-rw-r--r--office/gummi/gummi.SlackBuild15
-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.SlackBuild20
-rw-r--r--office/hamster/hamster.info10
-rw-r--r--office/hebcal/README16
-rw-r--r--office/hebcal/hebcal.SlackBuild26
-rw-r--r--office/hebcal/hebcal.info6
-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-desc19
-rw-r--r--office/hevea/hevea.SlackBuild2
-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.SlackBuild60
-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.SlackBuild47
-rw-r--r--office/htmldoc/htmldoc.info10
-rw-r--r--office/hunspell-en/README3
-rw-r--r--office/hunspell-en/hunspell-en.SlackBuild3
-rw-r--r--office/hunspell-en/hunspell-en.info26
-rw-r--r--office/hunspell-gr/README1
-rw-r--r--office/hunspell-gr/hunspell-gr.SlackBuild (renamed from office/hyphen-id/hyphen-id.SlackBuild)48
-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.SlackBuild16
-rw-r--r--office/hunspell-id/hunspell-id.info2
-rw-r--r--office/hunspell-id/slack-desc2
-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-desc19
-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.SlackBuild33
-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.info2
-rw-r--r--office/jstock/README6
-rw-r--r--office/jstock/jstock.SlackBuild15
-rw-r--r--office/jstock/jstock.info8
-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/kbgoffice/kbgoffice.SlackBuild2
-rw-r--r--office/kbgoffice/kbgoffice.info2
-rw-r--r--office/kbibtex/desktop_perms.patch13
-rw-r--r--office/kbibtex/kbibtex.SlackBuild19
-rw-r--r--office/kbibtex/kbibtex.info6
-rw-r--r--office/kbibtex/slack-desc2
-rw-r--r--office/kchmviewer-qt/kchmviewer-qt.SlackBuild42
-rw-r--r--office/kchmviewer-qt/kchmviewer-qt.info6
-rw-r--r--office/kchmviewer/README16
-rw-r--r--office/kchmviewer/kchmviewer.SlackBuild106
-rw-r--r--office/kchmviewer/kchmviewer.info10
-rw-r--r--office/kchmviewer/slack-desc19
-rw-r--r--office/keepassx/keepassx.info2
-rw-r--r--office/keepassxc/README46
-rw-r--r--office/keepassxc/keepassxc.SlackBuild25
-rw-r--r--office/keepassxc/keepassxc.info12
-rw-r--r--office/keepnote/README8
-rw-r--r--office/keepnote/keepnote.SlackBuild2
-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.SlackBuild98
-rw-r--r--office/khard/khard.info10
-rw-r--r--office/khard/slack-desc19
-rw-r--r--office/kraft/README19
-rw-r--r--office/kraft/doinst.sh14
-rw-r--r--office/kraft/kraft.SlackBuild101
-rw-r--r--office/kraft/kraft.info10
-rw-r--r--office/kraft/slack-desc19
-rw-r--r--office/krop/README15
-rw-r--r--office/krop/krop.SlackBuild34
-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.SlackBuild104
-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.SlackBuild (renamed from office/marave/marave.SlackBuild)39
-rw-r--r--office/kuro/kuro.info10
-rw-r--r--office/kuro/slack-desc19
-rw-r--r--office/latex2rtf/README19
-rw-r--r--office/lcal/README6
-rw-r--r--office/leafpad/README4
-rw-r--r--office/leafpad/doinst.sh1
-rw-r--r--office/leafpad/leafpad.SlackBuild56
-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.SlackBuild4
-rw-r--r--office/libreoffice-helppack/libreoffice-helppack.info6
-rw-r--r--office/libreoffice-langpack/README5
-rw-r--r--office/libreoffice-langpack/libreoffice-langpack.SlackBuild4
-rw-r--r--office/libreoffice-langpack/libreoffice-langpack.info6
-rw-r--r--office/libreoffice/README2
-rw-r--r--office/libreoffice/libreoffice.SlackBuild7
-rw-r--r--office/libreoffice/libreoffice.info8
-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.SlackBuild43
-rw-r--r--office/lout/lout.info6
-rw-r--r--office/lowdown/lowdown.SlackBuild28
-rw-r--r--office/lowdown/lowdown.info10
-rw-r--r--office/lyx/lyx.SlackBuild4
-rw-r--r--office/lyx/lyx.info6
-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/README8
-rw-r--r--office/mate-calc/mate-calc.SlackBuild20
-rw-r--r--office/mate-calc/mate-calc.info8
-rw-r--r--office/mate-calc/slack-desc8
-rw-r--r--office/mathtex/mathtex.SlackBuild6
-rw-r--r--office/mathtex/mathtex.info2
-rw-r--r--office/mdbtools/README17
-rw-r--r--office/mdbtools/mdbtools.SlackBuild58
-rw-r--r--office/mdbtools/mdbtools.info12
-rw-r--r--office/mdbtools/slack-desc10
-rw-r--r--office/mdp/mdp.SlackBuild4
-rw-r--r--office/mined/mined.SlackBuild6
-rw-r--r--office/minidjvu/README16
-rw-r--r--office/minidjvu/minidjvu.SlackBuild25
-rw-r--r--office/minidjvu/minidjvu.info6
-rw-r--r--office/minidjvu/minidjvu.patch66
-rw-r--r--office/mobiperl/mobiperl.SlackBuild2
-rw-r--r--office/mobiperl/mobiperl.info2
-rw-r--r--office/moneydance/README37
-rw-r--r--office/moneydance/moneydance.SlackBuild3
-rw-r--r--office/moneydance/moneydance.info4
-rw-r--r--office/msee/README8
-rw-r--r--office/msee/msee.info4
-rw-r--r--office/mtp2-fonts/README15
-rw-r--r--office/mtp2-fonts/README.SBo16
-rw-r--r--office/mtp2-fonts/doinst.sh18
-rw-r--r--office/mtp2-fonts/mtp2-fonts.SlackBuild10
-rw-r--r--office/mtp2-fonts/mtp2-fonts.info4
-rw-r--r--office/mu/README4
-rw-r--r--office/mu/doinst.sh4
-rw-r--r--office/mu/mu.SlackBuild36
-rw-r--r--office/mu/mu.info6
-rw-r--r--office/multivalent-tool-pdf/README3
-rw-r--r--office/multivalent-tool-pdf/multivalent-tool-pdf.info2
-rw-r--r--office/mupdf-legacy/README19
-rw-r--r--office/mupdf-legacy/mupdf-legacy.SlackBuild151
-rw-r--r--office/mupdf-legacy/mupdf-legacy.info10
-rw-r--r--office/mupdf-legacy/mupdf.pc11
-rw-r--r--office/mupdf-legacy/slack-desc19
-rw-r--r--office/mupdf/README10
-rw-r--r--office/mupdf/mupdf.SlackBuild147
-rw-r--r--office/mupdf/mupdf.info10
-rw-r--r--office/mupdf/mupdf.pc1
-rw-r--r--office/mupdf/slack-desc2
-rw-r--r--office/muttprint/muttprint.SlackBuild2
-rw-r--r--office/mytetra/mytetra.SlackBuild19
-rw-r--r--office/mytetra/mytetra.info4
-rw-r--r--office/mythes/mythes.SlackBuild4
-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.SlackBuild5
-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.SlackBuild6
-rw-r--r--office/notmuch/notmuch.info6
-rw-r--r--office/nts/nts.SlackBuild6
-rw-r--r--office/odt2txt/README11
-rw-r--r--office/odt2txt/odt2txt.SlackBuild28
-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.SlackBuild20
-rw-r--r--office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info10
-rw-r--r--office/openoffice.org/README12
-rw-r--r--office/openoffice.org/openoffice.org.SlackBuild59
-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/osmo-gtk2/README11
-rw-r--r--office/osmo-gtk2/doinst.sh9
-rw-r--r--office/osmo-gtk2/osmo-gtk2.SlackBuild109
-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/pandoc-bin/pandoc-bin.SlackBuild45
-rw-r--r--office/pandoc-bin/pandoc-bin.info6
-rw-r--r--office/pandoc/README10
-rw-r--r--office/pandoc/pandoc.SlackBuild16
-rw-r--r--office/pandoc/pandoc.info8
-rw-r--r--office/paps/README4
-rw-r--r--office/paps/paps.SlackBuild22
-rw-r--r--office/paps/paps.info10
-rw-r--r--office/paps/src-to-paps.diff31
-rw-r--r--office/pdf2djvu/README3
-rw-r--r--office/pdf2djvu/pdf2djvu.SlackBuild20
-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.SlackBuild12
-rw-r--r--office/pdfpc/README19
-rw-r--r--office/pdfpc/pdfpc.SlackBuild2
-rw-r--r--office/pdfpc/pdfpc.info6
-rw-r--r--office/pdfshuffler/pdfshuffler.SlackBuild2
-rw-r--r--office/pdfstudio/pdfstudio.info2
-rw-r--r--office/pdfstudioviewer/pdfstudioviewer.info6
-rw-r--r--office/pdftk/README22
-rw-r--r--office/pdftk/pdftk-2.02-use-gcc5.patch15
-rw-r--r--office/pdftk/pdftk.SlackBuild68
-rw-r--r--office/pdftk/pdftk.info16
-rw-r--r--office/pdftk/pdftk.sh4
-rw-r--r--office/ps2eps/README31
-rw-r--r--office/ps2eps/ps2eps.SlackBuild6
-rw-r--r--office/ps2eps/ps2eps.info2
-rw-r--r--office/pstoedit/README20
-rw-r--r--office/pstoedit/pstoedit.SlackBuild9
-rw-r--r--office/pstoedit/pstoedit.info6
-rw-r--r--office/pstoedit/slack-desc6
-rw-r--r--office/pstotext/README10
-rw-r--r--office/pyspread/README16
-rw-r--r--office/pyspread/pyspread.SlackBuild11
-rw-r--r--office/pyspread/pyspread.info12
-rw-r--r--office/pyspread/slack-desc2
-rw-r--r--office/python-gcalcli/python-gcalcli.info2
-rw-r--r--office/python3-proselint/README25
-rw-r--r--office/python3-proselint/python3-proselint.SlackBuild (renamed from office/teams-for-linux/teams-for-linux.SlackBuild)50
-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/qt-5.15.patch24
-rw-r--r--office/qpdfview-qt5/slack-desc19
-rw-r--r--office/qpdfview/README11
-rw-r--r--office/qpdfview/qpdfview.SlackBuild68
-rw-r--r--office/qpdfview/qpdfview.info10
-rw-r--r--office/qute/qute.SlackBuild40
-rw-r--r--office/qute/qute.info8
-rw-r--r--office/re-typeset/re-typeset.SlackBuild2
-rw-r--r--office/re-typeset/re-typeset.info2
-rw-r--r--office/referencer/referencer.SlackBuild6
-rw-r--r--office/remind/remind.info2
-rw-r--r--office/scribus/README11
-rw-r--r--office/scribus/harfbuzz-3.0.0.patch68
-rw-r--r--office/scribus/poppler-21.4.0.patch4347
-rw-r--r--office/scribus/scribus.SlackBuild26
-rw-r--r--office/scribus/scribus.info6
-rw-r--r--office/semantik/README10
-rw-r--r--office/semantik/changelog14
-rw-r--r--office/semantik/doinst.sh13
-rw-r--r--office/semantik/semantik.SlackBuild104
-rw-r--r--office/semantik/semantik.info10
-rw-r--r--office/semantik/slack-desc (renamed from office/xlsx2csv/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.SlackBuild15
-rw-r--r--office/sigil/sigil.info2
-rw-r--r--office/smoffice2018/smoffice2018.SlackBuild8
-rw-r--r--office/smoffice2018/smoffice2018.info10
-rw-r--r--office/smoffice2021/smoffice2021.SlackBuild6
-rw-r--r--office/smoffice2021/smoffice2021.info6
-rw-r--r--office/smoffice2024/README11
-rw-r--r--office/smoffice2024/doinst.sh (renamed from office/qpdfview-qt5/doinst.sh)0
-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.SlackBuild81
-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.SlackBuild3
-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/task.SlackBuild4
-rw-r--r--office/task/task.info6
-rw-r--r--office/taskjuggler/README6
-rw-r--r--office/taskopen/README9
-rw-r--r--office/tasksh/tasksh.SlackBuild6
-rw-r--r--office/teams-for-linux/README8
-rw-r--r--office/teams-for-linux/slack-desc19
-rw-r--r--office/teams-for-linux/teams-for-linux.info10
-rw-r--r--office/teapot/README12
-rw-r--r--office/teapot/fix_fltk_build.diff41
-rw-r--r--office/teapot/fix_mbslen_warning.diff11
-rw-r--r--office/teapot/teapot.info12
-rw-r--r--office/tellico/README29
-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.SlackBuild25
-rw-r--r--office/texlive-docs/texlive-docs.info6
-rw-r--r--office/texlive-extra/README18
-rw-r--r--office/texlive-extra/doinst.sh5
-rw-r--r--office/texlive-extra/slack-desc4
-rw-r--r--office/texlive-extra/texlive-extra.SlackBuild24
-rw-r--r--office/texlive-extra/texlive-extra.info8
-rw-r--r--office/texmacs/texmacs.SlackBuild11
-rw-r--r--office/texmacs/texmacs.info6
-rw-r--r--office/texmaker/texmaker.SlackBuild5
-rw-r--r--office/texmaker/texmaker.info10
-rw-r--r--office/texstudio/texstudio.SlackBuild28
-rw-r--r--office/texstudio/texstudio.info10
-rw-r--r--office/text2pdf/README11
-rw-r--r--office/text2pdf/text2pdf.SlackBuild2
-rw-r--r--office/texworks/doinst.sh5
-rw-r--r--office/texworks/slack-desc4
-rw-r--r--office/texworks/texworks.SlackBuild49
-rw-r--r--office/texworks/texworks.info6
-rw-r--r--office/timetrap/remove_hardcoded_versions.diff43
-rw-r--r--office/timetrap/timetrap.SlackBuild61
-rw-r--r--office/timetrap/timetrap.info2
-rw-r--r--office/tnote/tnote.SlackBuild6
-rw-r--r--office/tpp/README9
-rw-r--r--office/traduisons/README17
-rw-r--r--office/treesheets/treesheets.SlackBuild2
-rw-r--r--office/treesheets/treesheets.info4
-rw-r--r--office/trelby/trelby.info2
-rw-r--r--office/trello-cli/README4
-rw-r--r--office/trello-cli/trello-cli.SlackBuild2
-rw-r--r--office/trello-cli/trello-cli.info10
-rw-r--r--office/tudu/README7
-rw-r--r--office/tudu/tudu.SlackBuild24
-rw-r--r--office/tudu/tudu.info6
-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/uncsv.SlackBuild2
-rw-r--r--office/uncsv/uncsv.info2
-rw-r--r--office/unoconv/unoconv.SlackBuild10
-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.info2
-rw-r--r--office/vmd/README13
-rw-r--r--office/vmd/vmd.SlackBuild44
-rw-r--r--office/vmd/vmd.info4
-rw-r--r--office/vym/vym.SlackBuild37
-rw-r--r--office/vym/vym.info6
-rw-r--r--office/wammu/README4
-rw-r--r--office/wammu/slack-desc2
-rw-r--r--office/watson/README24
-rw-r--r--office/watson/watson.info4
-rw-r--r--office/when/when.SlackBuild4
-rw-r--r--office/when/when.info6
-rw-r--r--office/wink/wink.info2
-rw-r--r--office/wordgrinder/README13
-rw-r--r--office/wordgrinder/wordgrinder.SlackBuild35
-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.SlackBuild54
-rw-r--r--office/wps-office/wps-office.info10
-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/x_x.SlackBuild24
-rw-r--r--office/x_x/x_x.info4
-rw-r--r--office/xlsx2csv/README4
-rw-r--r--office/xlsx2csv/xlsx2csv.info10
-rw-r--r--office/xmind/README7
-rw-r--r--office/xmind/xmind.info2
-rw-r--r--office/xournalpp/xournalpp.SlackBuild13
-rw-r--r--office/xournalpp/xournalpp.info8
-rw-r--r--office/xreader/xreader.SlackBuild4
-rw-r--r--office/xtrkcad/xtrkcad.SlackBuild12
-rw-r--r--office/xtrkcad/xtrkcad.info8
-rw-r--r--office/zathura-cb/doinst.sh (renamed from office/sofastats/doinst.sh)1
-rw-r--r--office/zathura-cb/zathura-cb.SlackBuild7
-rw-r--r--office/zathura-cb/zathura-cb.info8
-rw-r--r--office/zathura-djvu/zathura-djvu.SlackBuild2
-rw-r--r--office/zathura-djvu/zathura-djvu.info2
-rw-r--r--office/zathura-pdf-mupdf/README2
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild15
-rw-r--r--office/zathura-pdf-mupdf/zathura-pdf-mupdf.info10
-rw-r--r--office/zathura-ps/zathura-ps.SlackBuild2
-rw-r--r--office/zathura-ps/zathura-ps.info2
-rw-r--r--office/zathura/ChangeLog.old6
-rw-r--r--office/zathura/README21
-rw-r--r--office/zathura/fix_completion.diff33
-rw-r--r--office/zathura/man/zathura.117
-rw-r--r--office/zathura/man/zathurarc.523
-rw-r--r--office/zathura/slack-desc2
-rw-r--r--office/zathura/zathura.SlackBuild100
-rw-r--r--office/zathura/zathura.info12
-rw-r--r--office/zim/README38
-rw-r--r--office/zim/slack-desc14
-rw-r--r--office/zim/zim.SlackBuild38
-rw-r--r--office/zim/zim.info6
765 files changed, 13790 insertions, 9074 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/sofastats/slack-desc b/office/1password/slack-desc
index de422de2d9..08afec1bb0 100644
--- a/office/sofastats/slack-desc
+++ b/office/1password/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:
+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/BibTool/slack-desc b/office/BibTool/slack-desc
new file mode 100644
index 0000000000..7d7c1bf03e
--- /dev/null
+++ b/office/BibTool/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------------------------------------------------------|
+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/FreeOffice/slack-desc b/office/FreeOffice/slack-desc
index 8b82587d03..af4681fecd 100644
--- a/office/FreeOffice/slack-desc
+++ b/office/FreeOffice/slack-desc
@@ -9,7 +9,7 @@
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: a spreadsheet application and a presentation program - all compatible
FreeOffice: with their counterparts in Microsoft Office.
FreeOffice:
FreeOffice:
diff --git a/office/JabRef/JabRef.SlackBuild b/office/JabRef/JabRef.SlackBuild
index 93a9009e83..fd792a0de9 100644
--- a/office/JabRef/JabRef.SlackBuild
+++ b/office/JabRef/JabRef.SlackBuild
@@ -27,10 +27,23 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=JabRef
-VERSION=${VERSION:-5.2}
+VERSION=${VERSION:-5.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+DEBBUILD=${DEBBUILD:-1}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
@@ -40,19 +53,21 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-ARCH=${ARCH:-noarch}
-DEBARCH=amd64
+# 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"-"$BUILD"_"$DEBARCH".deb data.tar.xz | tar xJv
+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
# permissions
chown -R root:root .
@@ -67,15 +82,17 @@ find "$PKG" -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
# create a symlink for program
mkdir -p "$PKG"/usr/bin
-ln -s /opt/${PRGNAM,,}/bin/$PRGNAM "$PKG"/usr/bin/$PRGNAM
+ln -s ../../opt/${PRGNAM,,}/bin/$PRGNAM "$PKG"/usr/bin/$PRGNAM
# 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"
-# package files
-install -D -m 0644 "$CWD"/slack-desc "$CWD"/doinst.sh -t "$PKG"/install
-cd "$PKG"
-/sbin/makepkg -l y -c n "$OUTPUT"/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+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/JabRef/JabRef.info b/office/JabRef/JabRef.info
index 32c35e46a6..f0c4aae6c2 100644
--- a/office/JabRef/JabRef.info
+++ b/office/JabRef/JabRef.info
@@ -1,10 +1,10 @@
PRGNAM="JabRef"
-VERSION="5.2"
-HOMEPAGE="https://jabref.org"
+VERSION="5.13"
+HOMEPAGE="https://www.jabref.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/JabRef/jabref/releases/download/v5.2/jabref_5.2-1_amd64.deb"
-MD5SUM_x86_64="c6479c48243e9a86cca2e0326b937678"
+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/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 2d59b736ac..dec631b41a 100644
--- a/office/LanguageTool/LanguageTool.SlackBuild
+++ b/office/LanguageTool/LanguageTool.SlackBuild
@@ -3,6 +3,7 @@
# 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
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=LanguageTool
-VERSION=${VERSION:-3.5}
+VERSION=${VERSION:-6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
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 f76c64389f..b3b349606f 100644
--- a/office/LibreOffice/LibreOffice.SlackBuild
+++ b/office/LibreOffice/LibreOffice.SlackBuild
@@ -4,7 +4,7 @@
# Slackware build script for LibreOffice
-# Copyright 2015-2021 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
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=LibreOffice
SRCNAM=libreoffice
-VERSION=${VERSION:-7.2.1.2}
+VERSION=${VERSION:-24.2.2.2}
SHORT_VERSION=${VERSION%.*.*}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,9 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -72,6 +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
@@ -92,7 +101,6 @@ else
HAVE_SRCS_TARBALL=0
fi
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -110,24 +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:-jdk11}
-if [ "$JAVA" = "jdk11" ]; then
- . /etc/profile.d/jdk11.sh
- use_java="--with-jdk-home=$JAVA_HOME"
-elif [ "$JAVA" = "jdk12" ]; then
- . /etc/profile.d/jdk12.sh
- use_java="--with-jdk-home=$JAVA_HOME"
-elif [ "$JAVA" = "jdk13" ]; then
- . /etc/profile.d/jdk13.sh
- use_java="--with-jdk-home=$JAVA_HOME"
-elif [ "$JAVA" = "jdk14" ]; then
- . /etc/profile.d/jdk14.sh
- use_java="--with-jdk-home=$JAVA_HOME"
-elif [ "$JAVA" = "jdk15" ]; then
- . /etc/profile.d/jdk15.sh
- use_java="--with-jdk-home=$JAVA_HOME"
-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
@@ -161,6 +175,7 @@ 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
@@ -168,6 +183,7 @@ else
# 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.
@@ -187,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 \
@@ -218,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 \
@@ -230,29 +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-sane \
--with-system-zlib \
+ $boost \
$coinmp \
$cppunit \
$glm \
$libabw \
$libcdr \
+ $liblangtag \
$libcmis \
$libebook \
$libeot \
@@ -291,26 +318,18 @@ if [ "$HAVE_SRCS_TARBALL" = "0" ]; then
fi
patch -p0 < $CWD/no-check-if-root.diff
-patch -p0 < $CWD/skia-freetype-2.11.diff
-patch -p0 < $CWD/bison_yyn-yyrule_rename.diff
# 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 \\'
-export LDFLAGS="-lboost_system"
-make build-nocheck
+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
@@ -320,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
diff --git a/office/LibreOffice/LibreOffice.info b/office/LibreOffice/LibreOffice.info
index e0c3db4f1e..eb06942f03 100644
--- a/office/LibreOffice/LibreOffice.info
+++ b/office/LibreOffice/LibreOffice.info
@@ -1,12 +1,12 @@
PRGNAM="LibreOffice"
-VERSION="7.2.1.2"
+VERSION="24.2.2.2"
HOMEPAGE="https://www.libreoffice.org"
-DOWNLOAD="https://download.documentfoundation.org/libreoffice/src/7.2.1/libreoffice-7.2.1.2.tar.xz \
- https://sourceforge.net/projects/slackbuildsdirectlinks/files/LibreOffice/libreoffice-7.2.1.2-srcs.tar.xz"
-MD5SUM="2631963c2d42eab66f34c1e57e00a995 \
- ccd38deacdb161aeea36e1678604c880"
+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="jdk11 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 1d0aa001af..3adeba09ef 100644
--- a/office/LibreOffice/README
+++ b/office/LibreOffice/README
@@ -1,92 +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
+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. 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,
+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.
+ would build LibreOffice with support for german and US english
+ languages. Additionally, setting LOLANGS="ALL" will build in
+ support for all available languages.
-2. A number of Java Development Kits are suitable for building LibreOffice.
- At the moment (since, at least, LO version 7.0.0.3) the default JDK is the
- latest LTS release, jdk11. Other JDK's supported by the SlackBuild are jdk12,
- jdk13, jdk14 & jdk15 but these non-default JDK's must be explicitly specified
- when running the SlackBuild using the JAVA environment variable e.g.
- JAVA=jdk15 sh LibreOffice.SlackBuild
+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.
- It is also possible to build LibreOffice without any JAVA support (with
- somewhat reduced capability in LO Base) by running:
+ 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
-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.
+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.
-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.
+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
-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:
+ 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:
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 previoius
-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.
+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
+Good luck!
diff --git a/office/LibreOffice/bison_yyn-yyrule_rename.diff b/office/LibreOffice/bison_yyn-yyrule_rename.diff
deleted file mode 100644
index 9802135098..0000000000
--- a/office/LibreOffice/bison_yyn-yyrule_rename.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- connectivity/source/parse/sqlbison.y.orig 2021-09-18 13:35:17.897000000 +1000
-+++ connectivity/source/parse/sqlbison.y 2021-09-18 13:32:58.864000000 +1000
-@@ -74,9 +74,15 @@
-
- // yyi is the internal number of the rule that is currently being reduced
- // This can be mapped to external rule number via the yyrmap.
-+#if defined YYBISON && YYBISON >= 30800
-+#define SQL_NEW_RULE newNode("", SQLNodeType::Rule, yyr1[yyrule])
-+#define SQL_NEW_LISTRULE newNode("", SQLNodeType::ListRule, yyr1[yyrule])
-+#define SQL_NEW_COMMALISTRULE newNode("", SQLNodeType::CommaListRule, yyr1[yyrule])
-+#else
- #define SQL_NEW_RULE newNode("", SQLNodeType::Rule, yyr1[yyn])
- #define SQL_NEW_LISTRULE newNode("", SQLNodeType::ListRule, yyr1[yyn])
- #define SQL_NEW_COMMALISTRULE newNode("", SQLNodeType::CommaListRule, yyr1[yyn])
-+#endif
-
-
- extern connectivity::OSQLParser* xxx_pGLOBAL_SQLPARSER;
diff --git a/office/LibreOffice/skia-freetype-2.11.diff b/office/LibreOffice/skia-freetype-2.11.diff
deleted file mode 100644
index 73d16e6ead..0000000000
--- a/office/LibreOffice/skia-freetype-2.11.diff
+++ /dev/null
@@ -1,51 +0,0 @@
---- external/skia/UnpackedTarball_skia.mk.orig 2021-08-23 22:03:48.538000000 +1000
-+++ external/skia/UnpackedTarball_skia.mk 2021-08-23 22:04:58.137000000 +1000
-@@ -39,6 +39,7 @@
- fast-png-write.patch.1 \
- skia_sk_cpu_sse_level_0_by_default.patch.1 \
- fix-warnings.patch.1 \
-+ skia_freetype-2.11.patch.0 \
-
- $(eval $(call gb_UnpackedTarball_set_patchlevel,skia,1))
-
---- /dev/null 2021-08-23 17:37:05.741000000 +1000
-+++ external/skia/skia_freetype-2.11.patch.0 2021-08-23 22:01:05.176000000 +1000
-@@ -0,0 +1,38 @@
-+--- src/ports/SkFontHost_FreeType_common.cpp.orig 2021-03-02 00:53:09.178606791 +1000
-++++ src/ports/SkFontHost_FreeType_common.cpp 2021-08-23 21:58:57.678000000 +1000
-+@@ -665,8 +665,13 @@
-+ canvas->drawPaint(paint);
-+ break;
-+ }
-++#ifdef FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 11
-++ case FT_COLR_PAINTFORMAT_TRANSFORM: {
-++ SkMatrix transform = ToSkMatrix(colrv1_paint.u.transform.affine);
-++#else
-+ case FT_COLR_PAINTFORMAT_TRANSFORMED: {
-+ SkMatrix transform = ToSkMatrix(colrv1_paint.u.transformed.affine);
-++#endif
-+
-+ canvas->concat(transform);
-+ break;
-+@@ -760,12 +765,21 @@
-+ traverse_result = colrv1_start_glyph(canvas, palette, face, paint.u.colr_glyph.glyphID,
-+ FT_COLOR_NO_ROOT_TRANSFORM);
-+ break;
-++#ifdef FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 11
-++ case FT_COLR_PAINTFORMAT_TRANSFORM:
-++ canvas->saveLayer(nullptr, nullptr);
-++ // Traverse / draw operation will apply transform.
-++ colrv1_draw_paint(canvas, palette, face, paint);
-++ traverse_result =
-++ colrv1_traverse_paint(canvas, palette, face, paint.u.transform.paint);
-++#else
-+ case FT_COLR_PAINTFORMAT_TRANSFORMED:
-+ canvas->saveLayer(nullptr, nullptr);
-+ // Traverse / draw operation will apply transform.
-+ colrv1_draw_paint(canvas, palette, face, paint);
-+ traverse_result =
-+ colrv1_traverse_paint(canvas, palette, face, paint.u.transformed.paint);
-++#endif
-+ canvas->restore();
-+ break;
-+ case FT_COLR_PAINTFORMAT_ROTATE:
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/teams-for-linux/doinst.sh b/office/Logseq/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/office/teams-for-linux/doinst.sh
+++ b/office/Logseq/doinst.sh
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 8e6dd2ece7..a9b164a219 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for MasterPDFEditor
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=MasterPDFEditor
SRCNAM=master-pdf-editor
-VERSION=${VERSION:-5.8.06}
+VERSION=${VERSION:-5.9.82}
MAJVER=${MAJVER:-5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -53,8 +50,6 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
SOURCEARCH="-qt5.x86_64"
else
echo "Architecture is not supported."
@@ -84,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/
diff --git a/office/MasterPDFEditor/MasterPDFEditor.info b/office/MasterPDFEditor/MasterPDFEditor.info
index 7f9a359beb..45e416b99e 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.info
+++ b/office/MasterPDFEditor/MasterPDFEditor.info
@@ -1,10 +1,10 @@
PRGNAM="MasterPDFEditor"
-VERSION="5.8.06"
+VERSION="5.9.82"
HOMEPAGE="https://code-industry.net/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://code-industry.net/public/master-pdf-editor-5.8.06-qt5.x86_64.tar.gz"
-MD5SUM_x86_64="a7bb4902a559afbe13444d384da172e3"
-REQUIRES=""
+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 03b4e33589..1f10f170ab 100644
--- a/office/NME/NME.SlackBuild
+++ b/office/NME/NME.SlackBuild
@@ -22,25 +22,27 @@
# 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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,8 +52,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -74,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
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.info b/office/ProjectLibre/ProjectLibre.info
index e29265ce12..8bbdcc989c 100644
--- a/office/ProjectLibre/ProjectLibre.info
+++ b/office/ProjectLibre/ProjectLibre.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/projectlibre/projectlibre-1.9.3.tar.
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/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 d2522ff8df..4866cfa171 100644
--- a/office/SOGo/SOGo.SlackBuild
+++ b/office/SOGo/SOGo.SlackBuild
@@ -22,6 +22,12 @@
# 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
@@ -38,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -91,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" \
@@ -145,13 +148,14 @@ cp -a \
$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
diff --git a/office/SOGo/SOGo.info b/office/SOGo/SOGo.info
index 6c1f1f67f3..9cb4882bb9 100644
--- a/office/SOGo/SOGo.info
+++ b/office/SOGo/SOGo.info
@@ -1,14 +1,8 @@
PRGNAM="SOGo"
VERSION="5.0.1"
HOMEPAGE="https://sogo.nu/"
-DOWNLOAD="https://sogo.nu/files/downloads/SOGo/Sources/SOGo-5.0.1.tar.gz \
- https://sogo.nu/files/docs/SOGoInstallationGuide.pdf \
- https://sogo.nu/files/docs/SOGoMozillaThunderbirdConfigurationGuide.pdf \
- https://sogo.nu/files/docs/SOGoOutlookConnectorConfigurationGuide.pdf"
-MD5SUM="f7112b11568d68d58b32fb4ba64a8bbc \
- 69977733e37855bd521fdec223d9a7b9 \
- b4af8941febedb25c124a4ff3244b1f7 \
- 29e7144dd129d344d16509b188487ffb"
+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/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 3168adb8a9..11707f4c3a 100644
--- a/office/abiword/abiword.SlackBuild
+++ b/office/abiword/abiword.SlackBuild
@@ -29,12 +29,17 @@
# 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.4}
-DOCSVER=3.0.2 # version of abiword-docs
-DOCTAR=3.0.1 # sigh, the tarball contains abiword-docs-3.0.1 still
+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}
@@ -47,9 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -86,9 +88,9 @@ 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
@@ -136,15 +138,16 @@ cd abiword-docs-$DOCTAR
make install DESTDIR=$PKG
cd ..
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
-# 20200622 bkw: Skip useless docs. NEWS and ChangeLog are 0-byte placeholders,
+# 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 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
diff --git a/office/abiword/abiword.info b/office/abiword/abiword.info
index bd7961e57c..c7893de20a 100644
--- a/office/abiword/abiword.info
+++ b/office/abiword/abiword.info
@@ -1,9 +1,9 @@
PRGNAM="abiword"
-VERSION="3.0.4"
+VERSION="3.0.5"
HOMEPAGE="http://www.abisource.com"
-DOWNLOAD="http://abisource.com/downloads/abiword/3.0.4/source/abiword-3.0.4.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="04e31887049a8c72297881bc153b77c4 \
+MD5SUM="a8f218b711450e4ccae43a0522e0e806 \
c92c0e1e2081db20757231a53d80c338"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
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 d6ff916578..93e50f27b2 100644
--- a/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild
+++ b/office/adobe-reader-fontpacks/adobe-reader-fontpacks.SlackBuild
@@ -26,7 +26,10 @@ 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}
@@ -43,14 +46,20 @@ 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
@@ -68,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
diff --git a/office/adobe-reader/adobe-reader.SlackBuild b/office/adobe-reader/adobe-reader.SlackBuild
index d5f88ef5b9..e36b6315b5 100644
--- a/office/adobe-reader/adobe-reader.SlackBuild
+++ b/office/adobe-reader/adobe-reader.SlackBuild
@@ -26,20 +26,28 @@
# 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}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
+# 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-$ARCH-$BUILD$TAG.$PKGTYPE"
+ echo "$PRGNAM-${VERSION}_$ADOBE_LANG-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
@@ -47,16 +55,13 @@ 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
@@ -68,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
@@ -111,7 +122,7 @@ sed -i 's/_filedir/_acroread_filedir/g' $PKG/opt/Adobe/Reader9/Resource/Shell/ac
# 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 \
+ln -sf ../../../../opt/Adobe/Reader9/Resource/Shell/acroread_tab \
$PKG/usr/share/bash-completion/completions/acroread
# Move docs to their correct locations
@@ -129,9 +140,9 @@ 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
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 b8d2f8655b..4795aa9b7e 100644
--- a/office/aigaion/aigaion.SlackBuild
+++ b/office/aigaion/aigaion.SlackBuild
@@ -7,12 +7,15 @@
# 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}
@@ -22,9 +25,6 @@ DOCROOT=${DOCROOT:-/var/www/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -34,8 +34,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -56,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
@@ -73,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
diff --git a/office/aiksaurus/aiksaurus.SlackBuild b/office/aiksaurus/aiksaurus.SlackBuild
index 0b21c19f54..a007af40ad 100644
--- a/office/aiksaurus/aiksaurus.SlackBuild
+++ b/office/aiksaurus/aiksaurus.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aiksaurus
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,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
@@ -80,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} \
@@ -99,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
diff --git a/office/aiksaurus/aiksaurus.info b/office/aiksaurus/aiksaurus.info
index cb0290828d..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"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/office/anorack/README b/office/anorack/README
index 20c4d5f4bd..bc7d7087f2 100644
--- a/office/anorack/README
+++ b/office/anorack/README
@@ -1,7 +1,9 @@
+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);
+ program, a host, a user);
an: used before words that begin with a vowel sound (e.g., an example,
an hour, an undefined variable).
diff --git a/office/anorack/anorack.SlackBuild b/office/anorack/anorack.SlackBuild
index 456006e4d7..21c554b7c6 100644
--- a/office/anorack/anorack.SlackBuild
+++ b/office/anorack/anorack.SlackBuild
@@ -2,45 +2,27 @@
# Slackware build script for anorack
-# Copyright 2018-2020 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.7}
+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
-fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,20 +32,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -73,30 +41,17 @@ 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
diff --git a/office/anorack/anorack.info b/office/anorack/anorack.info
index b9c59424fa..f8d755c0b5 100644
--- a/office/anorack/anorack.info
+++ b/office/anorack/anorack.info
@@ -1,10 +1,10 @@
PRGNAM="anorack"
-VERSION="0.2.7"
+VERSION="0.2.8"
HOMEPAGE="https://jwilk.net/software/anorack"
-DOWNLOAD="https://github.com/jwilk/anorack/releases/download/0.2.7/anorack-0.2.7.tar.gz"
-MD5SUM="a1220ec4e4f50cc249813b42b89d105c"
+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="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 d30a01d72d..79253ffcf7 100644
--- a/office/antiword/antiword.SlackBuild
+++ b/office/antiword/antiword.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=antiword
VERSION=${VERSION:-0.37}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,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 \
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 8ab195d7a7..8cea9e3484 100644
--- a/office/apvlv/apvlv.SlackBuild
+++ b/office/apvlv/apvlv.SlackBuild
@@ -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,10 +24,14 @@
# (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:-20160627_9ab7626}
+VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -71,40 +73,42 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# Fix man 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
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS -fpermissive" \
+ -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
diff --git a/office/apvlv/apvlv.info b/office/apvlv/apvlv.info
index 4df540a600..fb02f27885 100644
--- a/office/apvlv/apvlv.info
+++ b/office/apvlv/apvlv.info
@@ -1,10 +1,10 @@
PRGNAM="apvlv"
-VERSION="20160627_9ab7626"
-HOMEPAGE="http://naihe2010.github.com/apvlv/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/apvlv-20160627_9ab7626.tar.xz"
-MD5SUM="e7a285ca7ac4d3abc1842519c0f20987"
+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/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 2c35fa024b..3c9d7da655 100644
--- a/office/asymptote/asymptote.SlackBuild
+++ b/office/asymptote/asymptote.SlackBuild
@@ -2,7 +2,7 @@
# 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
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=asymptote
-VERSION=${VERSION:-2.70}
+VERSION=${VERSION:-2.88}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,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 \
@@ -90,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
(
@@ -119,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
diff --git a/office/asymptote/asymptote.info b/office/asymptote/asymptote.info
index 372b79e349..4aba737b80 100644
--- a/office/asymptote/asymptote.info
+++ b/office/asymptote/asymptote.info
@@ -1,10 +1,10 @@
PRGNAM="asymptote"
-VERSION="2.70"
-HOMEPAGE="http://asymptote.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/asymptote/asymptote-2.70.src.tgz"
-MD5SUM="b57e685568a7cca69024a86c7276eb6d"
+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="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/qpdfview-qt5/qpdfview-qt5.SlackBuild b/office/atril/atril.SlackBuild
index f2759c2109..76b413210b 100644
--- a/office/qpdfview-qt5/qpdfview-qt5.SlackBuild
+++ b/office/atril/atril.SlackBuild
@@ -1,8 +1,10 @@
#!/bin/bash
-# Slackware build script for qpdfview
-# Copyright 2017-2020 Donald Cooley South Haven, Indiana USA
-# Copyright 2012 Mark Noman <smithmark347@gmail.com>
+# 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
@@ -22,12 +24,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=qpdfview-qt5
-SRCNAM=qpdfview
-VERSION=${VERSION:-0.4.18}
+PRGNAM=atril
+VERSION=${VERSION:-1.28.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -58,58 +55,72 @@ if [ "$ARCH" = "i586" ]; then
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
- 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.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 {} \;
-
-patch -p1 < $CWD/qt-5.15.patch
-
-sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri
-
-# From Arch pkgbuild. Fix build with texlive in Slackware current.
-sed -e 's|2.0.0|1.21.0|' -i application.pro
-
-# 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
+ -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_ROOT=$PKG install
+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 -v $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+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 CONTRIBUTORS COPYING README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-#find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+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
@@ -117,5 +128,4 @@ 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
/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/atril/doinst.sh b/office/atril/doinst.sh
new file mode 100644
index 0000000000..f25bed6fb6
--- /dev/null
+++ b/office/atril/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/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 b16c969bce..59b6593316 100644
--- a/office/basket/basket.SlackBuild
+++ b/office/basket/basket.SlackBuild
@@ -22,11 +22,19 @@
# 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.49b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,9 +80,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 {} \+
+
+patch -p1 < $CWD/no-write-outside-destdir.patch
mkdir build
cd build
@@ -88,18 +95,33 @@ cd build
-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
diff --git a/office/basket/basket.info b/office/basket/basket.info
index 57e51090c2..5014e52372 100644
--- a/office/basket/basket.info
+++ b/office/basket/basket.info
@@ -1,6 +1,6 @@
PRGNAM="basket"
VERSION="2.49b"
-HOMEPAGE="https://basket-notepads.github.io/"
+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=""
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 a4110f4a28..9b546dcbb6 100644
--- a/office/beaver/beaver.SlackBuild
+++ b/office/beaver/beaver.SlackBuild
@@ -22,25 +22,26 @@
# 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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,8 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -75,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} \
@@ -93,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
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/wyrd/wyrd.SlackBuild b/office/bibclean/bibclean.SlackBuild
index 256c8f7c56..09876fc3dc 100644
--- a/office/wyrd/wyrd.SlackBuild
+++ b/office/bibclean/bibclean.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for Wyrd
+# Slackware build script for bibclean
-# Copyright 2016 T3slider <t3slider@gmail.com>
+# Copyright 2023 Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,9 +24,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=wyrd
-VERSION=${VERSION:-1.4.6}
-BUILD=${BUILD:-2}
+PRGNAM=bibclean
+VERSION=${VERSION:-3.06}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -93,8 +94,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Don't clobber the config file
-mv $PKG/etc/wyrdrc $PKG/etc/wyrdrc.new
+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
@@ -104,13 +108,12 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog README \
+ 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
-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/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/bibclean/slack-desc b/office/bibclean/slack-desc
new file mode 100644
index 0000000000..418a22f11f
--- /dev/null
+++ b/office/bibclean/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------------------------------------------------------|
+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/bibutils/bibutils.SlackBuild b/office/bibutils/bibutils.SlackBuild
index 2f77ed589c..82de4eddb4 100644
--- a/office/bibutils/bibutils.SlackBuild
+++ b/office/bibutils/bibutils.SlackBuild
@@ -22,25 +22,27 @@
# 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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,8 +52,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -75,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 \
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.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.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 be95ad316f..147a8bb101 100644
--- a/office/calcurse/README
+++ b/office/calcurse/README
@@ -5,5 +5,5 @@ 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 httplib2 if you want to use the
-calcurse-caldav utility.
+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 7802ce4034..2dbd716088 100644
--- a/office/calcurse/calcurse.SlackBuild
+++ b/office/calcurse/calcurse.SlackBuild
@@ -29,8 +29,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=calcurse
-VERSION=${VERSION:-4.7.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.8.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,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 \
@@ -104,14 +106,12 @@ 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
diff --git a/office/calcurse/calcurse.info b/office/calcurse/calcurse.info
index d3a8a11736..e1c300125d 100644
--- a/office/calcurse/calcurse.info
+++ b/office/calcurse/calcurse.info
@@ -1,10 +1,10 @@
PRGNAM="calcurse"
-VERSION="4.7.1"
-HOMEPAGE="http://calcurse.org/"
-DOWNLOAD="https://calcurse.org/files/calcurse-4.7.1.tar.gz"
-MD5SUM="1645068d2a15da6c773f231a1441a760"
+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"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/office/calibre-bin/calibre-bin.SlackBuild b/office/calibre-bin/calibre-bin.SlackBuild
index 2307c3bad4..0adcf0b982 100644
--- a/office/calibre-bin/calibre-bin.SlackBuild
+++ b/office/calibre-bin/calibre-bin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for calibre-bin
-# Copyright 2019-2021, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-2024, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=calibre-bin
-VERSION=${VERSION:-5.15.0}
+VERSION=${VERSION:-7.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -35,13 +35,11 @@ if [ -z "$ARCH" ]; then
fi
case "$ARCH" in
- i?86) ARCH=i686 ;;
+ i?86) echo "Support for 32bit CPUs has been dropped because Qt 6 does not support them"
+ exit 1 ;;
arm*) ARCH=arm ;;
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
@@ -66,6 +64,8 @@ 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}" .
@@ -73,6 +73,10 @@ 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 \
diff --git a/office/calibre-bin/calibre-bin.info b/office/calibre-bin/calibre-bin.info
index 86209c6949..0d2217abd9 100644
--- a/office/calibre-bin/calibre-bin.info
+++ b/office/calibre-bin/calibre-bin.info
@@ -1,10 +1,10 @@
PRGNAM="calibre-bin"
-VERSION="5.15.0"
+VERSION="7.9.0"
HOMEPAGE="https://calibre-ebook.com"
-DOWNLOAD="https://download.calibre-ebook.com/5.15.0/calibre-5.15.0-i686.txz"
-MD5SUM="66fd3a67515ea40d67267bea163ad929"
-DOWNLOAD_x86_64="https://download.calibre-ebook.com/5.15.0/calibre-5.15.0-x86_64.txz"
-MD5SUM_x86_64="2d0a5e8c350537f79efda07610c089fc"
+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/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 7945c239ca..0000000000
--- a/office/calibre/calibre.SlackBuild
+++ /dev/null
@@ -1,176 +0,0 @@
-#!/bin/bash
-
-# 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.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=calibre
-VERSION=${VERSION:-3.48.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-$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 {} \;
-
-# Patch for the newer icu4c
-patch -p1 < $CWD/patches/icu.patch
-# Patch for qt-5.15.x
-patch -p1 < $CWD/patches/qt-5.15.patch
-# 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.*
-
-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
diff --git a/office/calibre/calibre.info b/office/calibre/calibre.info
deleted file mode 100644
index 8d199bffd6..0000000000
--- a/office/calibre/calibre.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="calibre"
-VERSION="3.48.0"
-HOMEPAGE="https://calibre-ebook.com"
-DOWNLOAD="https://download.calibre-ebook.com/3.48.0/calibre-3.48.0.tar.xz"
-MD5SUM="ec7431dcdeea8a9d8eca3edc83bdec42"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="css-parser mechanize podofo python2-dateutil netifaces psutil cssselect apsw optipng msgpack-python regex html5-parser dukpy unrardll python2-pillow"
-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/icu.patch b/office/calibre/patches/icu.patch
deleted file mode 100644
index 498691e90a..0000000000
--- a/office/calibre/patches/icu.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -Naur calibre-3.48.0.orig/src/calibre/utils/icu.c calibre-3.48.0/src/calibre/utils/icu.c
---- calibre-3.48.0.orig/src/calibre/utils/icu.c 2019-09-13 04:46:46.000000000 +0200
-+++ calibre-3.48.0/src/calibre/utils/icu.c 2020-12-05 09:20:59.063932000 +0100
-@@ -243,14 +243,14 @@
-
- a = python_to_icu(a_, &asz);
- if (a == NULL) goto end;
-- if (asz == 0) { found = TRUE; goto end; }
-+ if (asz == 0) { found = true; goto end; }
- b = python_to_icu(b_, &bsz);
- if (b == NULL) goto end;
-
- search = usearch_openFromCollator(a, asz, b, bsz, self->collator, NULL, &status);
- if (U_SUCCESS(status)) {
- pos = usearch_first(search, &status);
-- if (pos != USEARCH_DONE) found = TRUE;
-+ if (pos != USEARCH_DONE) found = true;
- }
- end:
- if (search != NULL) usearch_close(search);
-diff -Naur calibre-3.48.0.orig/src/calibre/utils/matcher.c calibre-3.48.0/src/calibre/utils/matcher.c
---- calibre-3.48.0.orig/src/calibre/utils/matcher.c 2019-09-13 04:46:46.000000000 +0200
-+++ calibre-3.48.0/src/calibre/utils/matcher.c 2020-12-05 09:26:57.800932000 +0100
-@@ -15,7 +15,6 @@
- #define inline
- #endif
-
--typedef unsigned char bool;
- #define TRUE 1
- #define FALSE 0
- #define MAX(x, y) ((x > y) ? x : y)
diff --git a/office/calibre/patches/qt-5.15.patch b/office/calibre/patches/qt-5.15.patch
deleted file mode 100644
index bfcb486e9b..0000000000
--- a/office/calibre/patches/qt-5.15.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From db7007a25faefb0cc90e64dda1c0793393b9512d Mon Sep 17 00:00:00 2001
-From: Antonio Rojas <arojas@archlinux.org>
-Date: Tue, 26 May 2020 20:10:48 +0200
-Subject: [PATCH] Update fontconfig database for Qt 5.15
-
----
- src/calibre/headless/fontconfig_database.cpp | 19 +++++++++++++++++++
- 1 file changed, 19 insertions(+)
-
-diff --git a/src/calibre/headless/fontconfig_database.cpp b/src/calibre/headless/fontconfig_database.cpp
-index d867f02948..96a6365ba2 100644
---- a/src/calibre/headless/fontconfig_database.cpp
-+++ b/src/calibre/headless/fontconfig_database.cpp
-@@ -295,7 +295,26 @@ static const char specialLanguages[][6] = {
- "", // MasaramGondi
- "", // Nushu
- "", // Soyombo
-+#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
-+ "", // ZanabazarSquare
-+ "", // Dogra
-+ "", // GunjalaGondi
-+ "", // HanifiRohingya
-+ "", // Makasar
-+ "", // Medefaidrin
-+ "", // OldSogdian
-+ "", // Sogdian
-+ "", // Elymaic
-+ "", // Nandinagari
-+ "", // NyiakengPuachueHmong
-+ "", // Wancho
-+ "", // Chorasmian
-+ "", // DivesAkuru
-+ "", // KhitanSmallScript
-+ "" // Yezidi
-+#else
- "" // ZanabazarSquare
-+#endif // Qt >= 5.15
- #else
- "" // SignWriting
- #endif // Qt >= 5.11
diff --git a/office/calibre/patches/remove-desktop-integration.patch b/office/calibre/patches/remove-desktop-integration.patch
deleted file mode 100644
index 0272a7c6eb..0000000000
--- a/office/calibre/patches/remove-desktop-integration.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur calibre-3.48.0.orig/src/calibre/linux.py calibre-3.48.0/src/calibre/linux.py
---- calibre-3.48.0.orig/src/calibre/linux.py 2019-09-13 04:46:46.000000000 +0200
-+++ calibre-3.48.0/src/calibre/linux.py 2020-03-04 15:02:49.789055000 +0100
-@@ -725,10 +725,6 @@
- self.appdata_resources = []
- if islinux or isbsd:
- self.setup_completion()
-- if islinux or isbsd:
-- self.setup_desktop_integration()
-- if not getattr(self.opts, 'staged_install', False):
-- 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 d679224a1b..26ea8fa777 100644
--- a/office/catdoc/catdoc.SlackBuild
+++ b/office/catdoc/catdoc.SlackBuild
@@ -8,14 +8,14 @@
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
@@ -33,8 +33,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,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
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/xlsx2csv/xlsx2csv.SlackBuild b/office/catdvi/catdvi.SlackBuild
index 2634fcc433..432fd9078e 100644
--- a/office/xlsx2csv/xlsx2csv.SlackBuild
+++ b/office/catdvi/catdvi.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for xlsx2csv
+# Slackware build script for catdvi
-# Copyright 2020 Leonardo Citrolo, Italy
+# Copyright 2023 Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=xlsx2csv
-VERSION=${VERSION:-0.7.4}
+PRGNAM=catdvi
+VERSION=${VERSION:-0.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,6 +59,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=""
@@ -78,17 +81,23 @@ 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 {} \;
-
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
-make -C man
-mkdir -p $PKG/usr/man/man1
-cp -a man/$PRGNAM.1 $PKG/usr/man/man1
+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
@@ -97,7 +106,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 CHANGELOG COPYING LICENSE.txt README \
+cp -a \
+AUTHORS \
+COPYING \
+ChangeLog \
+NEWS \
+README \
+TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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 ae972f11b8..81d731e2d5 100644
--- a/office/ccal/ccal.SlackBuild
+++ b/office/ccal/ccal.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/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 4442fafe7c..05630b47b5 100644
--- a/office/convertlit/convertlit.SlackBuild
+++ b/office/convertlit/convertlit.SlackBuild
@@ -2,7 +2,7 @@
# 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.
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/coolreader/README b/office/coolreader/README
index 098d3573ab..1e618f1f88 100644
--- a/office/coolreader/README
+++ b/office/coolreader/README
@@ -1,16 +1,11 @@
coolreader (e-book reader)
-CoolReader is an e-book reader for various platforms.
+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.
-Optional dependencies: The default user interface is Qt5, which
-doesn't require anything extra. If you prefer wxWidgets, install
-wxPython, then run:
-
- GUI=wx ./coolreader.SlackBuild
-
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 2d3d9c196d..af5cfcb8c1 100644
--- a/office/coolreader/coolreader.SlackBuild
+++ b/office/coolreader/coolreader.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for CoolReader
# Copyright 2011-2012 Fridrich von Stauffenberg <email removed>
-# Copyright 2020 B. Watson <yalhcru@gmail.com>
+# Copyright 2020 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,6 +23,14 @@
# 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?)
@@ -58,8 +66,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=coolreader
-VERSION=${VERSION:-3.2.57}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.59}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -119,26 +127,36 @@ sed -i "s,share/doc/cr3,doc/$PRGNAM-$VERSION," cr3qt/CMakeLists.txt
# into Qt Designer and saving it again. Needed because upstream's
# using a different (older?) version of qt4.
-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
+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.
+# 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
@@ -166,6 +184,7 @@ cd build
-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
diff --git a/office/coolreader/coolreader.info b/office/coolreader/coolreader.info
index 50da3da8d6..db11bf8f72 100644
--- a/office/coolreader/coolreader.info
+++ b/office/coolreader/coolreader.info
@@ -1,12 +1,10 @@
PRGNAM="coolreader"
-VERSION="3.2.57"
+VERSION="3.2.59"
HOMEPAGE="https://github.com/buggins/coolreader"
-DOWNLOAD="https://github.com/buggins/coolreader/archive/cr3.2.57/coolreader-cr3.2.57.tar.gz \
- https://github.com/adah1972/libunibreak/releases/download/libunibreak_4_3/libunibreak-4.3.tar.gz"
-MD5SUM="c4bd8c7f9f8de63b9e5bfa1a40287263 \
- f0c4488fad8dc92a11f4523d22c099d3"
+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="libunibreak"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
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/TaskCoach/TaskCoach.SlackBuild b/office/crow-translate/crow-translate.SlackBuild
index 1d712a475f..fba84865d2 100644
--- a/office/TaskCoach/TaskCoach.SlackBuild
+++ b/office/crow-translate/crow-translate.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for TaskCoach
+# Slackware build script for crow-translate
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022 Peter Edström <peter@peteredstrom.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=TaskCoach
-VERSION=${VERSION:-1.4.3}
+PRGNAM=crow-translate
+VERSION=${VERSION:-2.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,34 +64,42 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-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 {} \;
-
-python setup.py install --root=$PKG
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
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
+rm -f $PKG/usr/info/dir
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/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/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/dictd/dictd.SlackBuild b/office/dictd/dictd.SlackBuild
index cc181a40ab..cd1c1e6b1f 100644
--- a/office/dictd/dictd.SlackBuild
+++ b/office/dictd/dictd.SlackBuild
@@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -31,8 +31,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/office/diction/diction.SlackBuild b/office/diction/diction.SlackBuild
index c405237131..c3e70fa1cf 100644
--- a/office/diction/diction.SlackBuild
+++ b/office/diction/diction.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for diction
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/office/diction/diction.info b/office/diction/diction.info
index 42287d84af..c68959524e 100644
--- a/office/diction/diction.info
+++ b/office/diction/diction.info
@@ -1,10 +1,10 @@
PRGNAM="diction"
VERSION="1.14"
HOMEPAGE="https://www.gnu.org/software/diction/diction.html"
-DOWNLOAD="http://www.moria.de/~michael/diction/diction-1.14.tar.gz"
+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="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
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 33fbcf5c45..7b7e3ffdab 100644
--- a/office/diffpdf/diffpdf.SlackBuild
+++ b/office/diffpdf/diffpdf.SlackBuild
@@ -28,11 +28,16 @@
#
# 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"
@@ -45,9 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -82,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 {} \+
+
+# 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
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-lrelease diffpdf.pro
-qmake
+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
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/djvusmooth/djvusmooth.SlackBuild b/office/djvusmooth/djvusmooth.SlackBuild
index 25cf3ba249..667f1a272b 100644
--- a/office/djvusmooth/djvusmooth.SlackBuild
+++ b/office/djvusmooth/djvusmooth.SlackBuild
@@ -2,7 +2,7 @@
# 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.
diff --git a/office/djvusmooth/djvusmooth.info b/office/djvusmooth/djvusmooth.info
index bcb4a8d8c6..d00f530827 100644
--- a/office/djvusmooth/djvusmooth.info
+++ b/office/djvusmooth/djvusmooth.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/jwilk/djvusmooth/releases/download/0.3/djvusmooth-0
MD5SUM="efb65f32eabd9c69c5a0a469d0547d04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxPython python2-djvulibre subprocess32"
+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/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/kchmviewer/doinst.sh b/office/dspdfviewer/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/office/kchmviewer/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/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/epr/README b/office/epr/README
new file mode 100644
index 0000000000..a791c92707
--- /dev/null
+++ b/office/epr/README
@@ -0,0 +1,11 @@
+Terminal/CLI Epub reader written in Python 3.6 with features:
+
+Remembers last read file (just run epr without any argument)
+Remembers last reading state for each file
+Per file saved state
+Adjustable text area width
+Adaptive to terminal resize
+Supports EPUB3 (no audio support)
+Secondary vim-like bindings
+Supports opening images
+Dark/Light colorscheme (depends on terminal color capability)
diff --git a/office/epr/epr.SlackBuild b/office/epr/epr.SlackBuild
new file mode 100644
index 0000000000..a2fa151e30
--- /dev/null
+++ b/office/epr/epr.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for epr
+
+# Copyright 2024 doclai <toi@doclai.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=epr
+VERSION=${VERSION:-2.4.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+GOOS=linux
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+case "$ARCH" in
+ x86_64) PRINTARCH=amd64 ;;
+ i586) PRINTARCH=386 ;;
+ *) PRINTARCH=$ARCH ;;
+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 $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+install -dm 755 "$PKG/usr/bin"
+install -Dm 644 LICENSE "$PRGNAM/usr/share/licenses/$PRGNAM/LICENSE"
+
+install -Dm 644 epr.py "$PKG/usr/bin/epr"
+chmod +x "$PKG/usr/bin/epr"
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/epr/epr.info b/office/epr/epr.info
new file mode 100644
index 0000000000..70443965dd
--- /dev/null
+++ b/office/epr/epr.info
@@ -0,0 +1,10 @@
+PRGNAM="epr"
+VERSION="2.4.15"
+HOMEPAGE="https://github.com/wustho/epr"
+DOWNLOAD="https://github.com/wustho/epr/archive/refs/tags/v2.4.15.tar.gz"
+MD5SUM="85c49a9faaf8a69b750d949572d8bbfe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="doclai"
+EMAIL="toi@doclai.com"
diff --git a/office/epr/slack-desc b/office/epr/slack-desc
new file mode 100644
index 0000000000..b8a352767b
--- /dev/null
+++ b/office/epr/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------------------------------------------------------|
+epr: epr (Terminal/CLI Epub reader)
+epr:
+epr:
+epr: Homepage: https://github.com/wustho/epr
+epr:
+epr:
+epr:
+epr:
+epr:
+epr:
+epr:
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/epy/slack-desc b/office/epy/slack-desc
new file mode 100644
index 0000000000..47d41b30ed
--- /dev/null
+++ b/office/epy/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------------------------------------------------------|
+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/etmtk/etmtk.SlackBuild b/office/etmtk/etmtk.SlackBuild
index 488f4b0690..12e552fdfb 100644
--- a/office/etmtk/etmtk.SlackBuild
+++ b/office/etmtk/etmtk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for etmtk
-# Copyright 2016-2021 Jostein Berntsen <jvbernts@online.no>
+# Copyright 2016-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=etmtk
-VERSION=${VERSION:-3.2.37}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.39}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/etmtk/etmtk.info b/office/etmtk/etmtk.info
index 50261bd4b1..71d9fea3ea 100644
--- a/office/etmtk/etmtk.info
+++ b/office/etmtk/etmtk.info
@@ -1,10 +1,10 @@
PRGNAM="etmtk"
-VERSION="3.2.37"
+VERSION="3.2.39"
HOMEPAGE="http://people.duke.edu/~dgraham/etmtk/"
-DOWNLOAD="https://github.com/dagraham/etm-tk/releases/download/v3.2.37/etmtk-3.2.37.tar.gz"
-MD5SUM="46c776a7de9ada38555b28c52d4b330d"
+DOWNLOAD="https://files.pythonhosted.org/packages/7d/99/927f845552c313b89d04a2a7a5aa6cfe922ec7c68f172d5261631a50069f/etmtk-3.2.39.tar.gz"
+MD5SUM="b52b9a851a7d8caa2f2511cb820c9f94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python2-dateutil PyYAML"
+REQUIRES="python2-dateutil python2-PyYAML python2-ruamel.yaml"
MAINTAINER="Jostein Berntsen"
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/evince-gtk2/evince-gtk2.SlackBuild b/office/evince-gtk2/evince-gtk2.SlackBuild
new file mode 100644
index 0000000000..b28bfd0f1c
--- /dev/null
+++ b/office/evince-gtk2/evince-gtk2.SlackBuild
@@ -0,0 +1,149 @@
+#!/bin/bash
+
+# Slackware build script for evince-gtk2
+
+# 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
+# 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=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
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+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}
+
+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 {} \;
+
+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 \
+ --mandir=/usr/man \
+ --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
+
+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
+
+# Remove these
+rm -rf $PKG/*.schemas
+
+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
+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/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 80a6ec3cf4..cf4549390b 100644
--- a/office/evince/README
+++ b/office/evince/README
@@ -13,3 +13,8 @@ Evince is specifically designed to support the following file formats:
* CBR/CBZ (comic books)
* DVI
* XPS (requires optional dependency libgxps)
+
+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 2bf4182aa0..730b0a038a 100644
--- a/office/evince/evince.SlackBuild
+++ b/office/evince/evince.SlackBuild
@@ -24,19 +24,14 @@
# 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>
-# 20210730 bkw: update for v40.4 and slackware-current. Add libhandy dep.
-# 20191231 bkw:
-# - take over maintenance
-# - update for v3.28.5.3, which is the last version that will build with
-# Slack 14.2's rather outdated gtk+3 libraries. Actually it requires
-# some fugly hackery to work, see shim.h for gory details and polemic.
+# 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:-40.4}
+VERSION=${VERSION:-41.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -116,7 +108,7 @@ cd build
cd ..
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+gzip -9 $PKG/usr/man/man1/*.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING NEWS *.md MAINTAINERS NEWS NOTES TODO \
diff --git a/office/evince/evince.info b/office/evince/evince.info
index a8e1e5806d..1c15d2ac0e 100644
--- a/office/evince/evince.info
+++ b/office/evince/evince.info
@@ -1,10 +1,10 @@
PRGNAM="evince"
-VERSION="40.4"
+VERSION="41.5"
HOMEPAGE="http://projects.gnome.org/evince/"
-DOWNLOAD="https://download.gnome.org/sources/evince/40/evince-40.4.tar.xz"
-MD5SUM="bf78a8e8c384bbd2780b7be0ac917e79"
+DOWNLOAD="https://download.gnome.org/sources/evince/41/evince-41.5.tar.xz"
+MD5SUM="08bebf04d93b8f7f03d5a865ab447f50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libhandy"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
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 4e1f5159f6..38cf4ba24b 100644
--- a/office/kate-latex-plugin/kate-latex-plugin.SlackBuild
+++ b/office/evolution-ews/evolution-ews.SlackBuild
@@ -1,8 +1,8 @@
#!/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
@@ -24,35 +24,46 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=kate-latex-plugin
-SRCNAM=katelatexplugin
-VERSION=${VERSION:-0.5}
+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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
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"
@@ -70,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 \
@@ -88,19 +99,27 @@ 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
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/teapot/teapot.SlackBuild b/office/evolution/evolution.SlackBuild
index f8f30884cd..6116e4292c 100644
--- a/office/teapot/teapot.SlackBuild
+++ b/office/evolution/evolution.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for teapot
+# Slackware build script for evolution
-# Copyright 2016 Jostein Berntsen <jvbernts@online.no>
+# Copyright 2022 Ozan Türkyılmaz
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,27 +22,57 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20201122 bkw: Grr. Forgot to git add the diffs.
-# 20201119 bkw: modified by SlackBuilds.org:
-# - BUILD=2.
-# - Fix fltk builds.
-# - Shut up a compiler warning.
-# - Restore original homepage/download, since the site is back up.
-# - Fix README to comply with 72-column limit.
-# - Fix doubleplus ungood refs undirectory /usr/share/doc in man page.
-# - Since the man page says there's a manual, actually install the
-# manual as part of the package. To avoid a dependency on lyx (and
-# consequently qt5!), pull the prebuilt docs out of upstream's
-# binary package.
-
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=teapot
-VERSION=${VERSION:-2.3.0}
-BUILD=${BUILD:-2}
+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 ;;
@@ -51,9 +81,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -83,10 +110,8 @@ 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
-# Extract *only* the docs from the binary package:
-tar xvf $CWD/Teapot-$VERSION-Linux-i386.tar.gz --wildcards '*/share/doc/*'
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -94,47 +119,59 @@ 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 {} \;
-# 20201119 bkw: README says fltk is an optional dep, but it wasn't
-# being picked up by cmake.
-patch -p1 < $CWD/fix_fltk_build.diff
-
-# 20201119 bkw: While we're in a patching state of mind, fix a
-# compiler warning.
-patch -p1 < $CWD/fix_mbslen_warning.diff
-
-# 20201119 bkw: No such thing as /usr/share/doc/teapot.
-sed -i "s,/usr/share/doc/$PRGNAM,/usr/doc/$PRGNAM-$VERSION,g" $PRGNAM.1
-
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -I/usr/include/tirpc -Wl,-ltirpc" \
+ -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
+ -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
-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 NEWS README $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
-# 20201119 bkw: Install the PDF and HTML docs.
-cd Teapot-$VERSION-Linux/share/doc/$PRGNAM
-mv html *.pdf $PKG/usr/doc/$PRGNAM-$VERSION
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/fbpdf/fbpdf.SlackBuild b/office/fbpdf/fbpdf.SlackBuild
index 348f080383..a026dd0b85 100644
--- a/office/fbpdf/fbpdf.SlackBuild
+++ b/office/fbpdf/fbpdf.SlackBuild
@@ -2,10 +2,11 @@
# 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.
+# 20230117 bkw: update to latest git, 20220624_6276360.
# 20210927 bkw:
# - update to latest git (20200617_f590024).
# - rework navigation.diff for this version.
@@ -21,7 +22,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fbpdf
-VERSION=${VERSION:-20200617_f590024}
+VERSION=${VERSION:-20220624_6276360}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,10 +76,8 @@ 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.
-# The manpage patch explains the difference between fbpdf, fbpdf2, fjdjvu.
if [ "${PRISTINE:-no}" != "yes" ]; then
patch -p1 < $CWD/navigation.diff
- patch -p1 < $CWD/manpage.diff
fi
mkdir -p $PKG/usr/bin
diff --git a/office/fbpdf/fbpdf.info b/office/fbpdf/fbpdf.info
index a422781757..9059211280 100644
--- a/office/fbpdf/fbpdf.info
+++ b/office/fbpdf/fbpdf.info
@@ -1,10 +1,10 @@
PRGNAM="fbpdf"
-VERSION="20200617_f590024"
+VERSION="20220624_6276360"
HOMEPAGE="http://litcave.rudi.ir/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/fbpdf-20200617_f590024.tar.xz"
-MD5SUM="859f0297f26aac8c5444cfb6a27caa79"
+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/manpage.diff b/office/fbpdf/manpage.diff
deleted file mode 100644
index 2564933970..0000000000
--- a/office/fbpdf/manpage.diff
+++ /dev/null
@@ -1,61 +0,0 @@
-diff -Naur fbpdf-20200617_f590024/fbpdf.1 fbpdf-20200617_f590024.patched/fbpdf.1
---- fbpdf-20200617_f590024/fbpdf.1 2021-09-27 04:15:02.000000000 -0400
-+++ fbpdf-20200617_f590024.patched/fbpdf.1 2021-09-27 19:26:45.529385168 -0400
-@@ -1,4 +1,4 @@
--.TH "fbpdf" 1 "2018\-01\-05" "" "General Commands Manual"
-+.TH "fbpdf" 1 "2021\-09\-27" "" "SlackBuilds.org"
- .SH NAME
- .B fbpdf
- \- view PDF files on the frame buffer
-@@ -9,6 +9,30 @@
- [\fB\-z\fR \fIzoom_x10\fR]
- [\fB\-p\fR \fIpage_number\fR]
- .I file.pdf
-+.br
-+.B fbpdf2
-+[\fB\-r\fR \fIrotation\fR]
-+[\fB\-z\fR \fIzoom_x10\fR]
-+[\fB\-p\fR \fIpage_number\fR]
-+.I file.pdf
-+.br
-+.B fbdjvu
-+[\fB\-r\fR \fIrotation\fR]
-+[\fB\-z\fR \fIzoom_x10\fR]
-+[\fB\-p\fR \fIpage_number\fR]
-+.I file.djvu
-+.SH DESCRIPTION
-+.PP
-+.B fbpdf
-+is a framebuffer PDF viewer, using the mupdf rendering library.
-+.br
-+.B fbpdf2
-+is a framebuffer PDF viewer, using the poppler rendering library.
-+.br
-+.B fbdjvu
-+is a framebuffer DjVu viewer, using the djvulibre rendering library.
-+.PP
-+All 3 of these take the same options and use the same keyboard commands.
- .SH OPTIONS
- .PP
- \fB\-r\fR \fIrotation\fR Set rotation to \fIrotation\fR degrees.
-@@ -16,10 +40,8 @@
- \fB\-z\fR \fIzoom_x10\fR Set zoom to ten times \fIzoom_x10\fR percent.
- .br
- \fB\-p\fR \fIpage_number\fR Open \fIfile.pdf\fR to page \fIpage_number\fR.
--.SH DESCRIPTION
--.PP
--.B fbpdf
--is a framebuffer PDF and djvu viewer. The following table lists the
-+.SH KEYS
-+The following table lists the
- key-bindings available in \fBfbpdf\fR. Most of them accept a numerical prefix;
- for instance, \fB^F\fR tells \fBfbpdf\fR to show the next page while \fB5^F\fR
- tells it to show the fifth next page.
-@@ -34,6 +56,7 @@
- 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%)
-+\&= same as z
- r set rotation in degrees
- i print some information
- I invert colors
diff --git a/office/fbpdf/navigation.diff b/office/fbpdf/navigation.diff
index 07b066b604..8b75179f0e 100644
--- a/office/fbpdf/navigation.diff
+++ b/office/fbpdf/navigation.diff
@@ -1,21 +1,54 @@
-diff -Naur fbpdf-20200617_f590024/README fbpdf-20200617_f590024.patched/README
---- fbpdf-20200617_f590024/README 2021-09-27 04:15:02.000000000 -0400
-+++ fbpdf-20200617_f590024.patched/README 2021-09-29 02:31:51.610212471 -0400
+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%)
++ increase zoom by 10%
+- decrease zoom by 10%
r set rotation in degrees
i print some information
I invert colors
-diff -Naur fbpdf-20200617_f590024/fbpdf.c fbpdf-20200617_f590024.patched/fbpdf.c
---- fbpdf-20200617_f590024/fbpdf.c 2021-09-27 04:15:02.000000000 -0400
-+++ fbpdf-20200617_f590024.patched/fbpdf.c 2021-09-29 16:07:26.245764122 -0400
-@@ -269,6 +269,7 @@
+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':
@@ -23,7 +56,7 @@ diff -Naur fbpdf-20200617_f590024/fbpdf.c fbpdf-20200617_f590024.patched/fbpdf.c
count *= 10;
zoom_page(getcount(zoom_def));
break;
-@@ -319,10 +320,20 @@
+@@ -320,10 +321,20 @@
case ' ':
case CTRLKEY('d'):
srow += srows * getcount(1) - step;
@@ -44,7 +77,7 @@ diff -Naur fbpdf-20200617_f590024/fbpdf.c fbpdf-20200617_f590024.patched/fbpdf.c
break;
case '[':
scol = pcol;
-@@ -342,6 +353,14 @@
+@@ -343,6 +354,15 @@
invert = !invert;
loadpage(num);
break;
@@ -56,6 +89,7 @@ diff -Naur fbpdf-20200617_f590024/fbpdf.c fbpdf-20200617_f590024.patched/fbpdf.c
+ count = 0;
+ if(zoom > 0) zoom_page(zoom - 1);
+ break;
++
default: /* no need to redraw */
continue;
}
diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild
index f17776de90..b82dd3ea8c 100644
--- a/office/fbreader/fbreader.SlackBuild
+++ b/office/fbreader/fbreader.SlackBuild
@@ -5,25 +5,25 @@
# 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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -33,8 +33,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
diff --git a/office/fbreader/fbreader.info b/office/fbreader/fbreader.info
index e544679049..f46f5198db 100644
--- a/office/fbreader/fbreader.info
+++ b/office/fbreader/fbreader.info
@@ -1,7 +1,7 @@
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=""
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/calibre/doinst.sh b/office/featherpad/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/office/calibre/doinst.sh
+++ b/office/featherpad/doinst.sh
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.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-legacy/focuswriter-legacy.info b/office/focuswriter-legacy/focuswriter-legacy.info
deleted file mode 100644
index 0e81abdae1..0000000000
--- a/office/focuswriter-legacy/focuswriter-legacy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="focuswriter-legacy"
-VERSION="1.5.7"
-HOMEPAGE="https://gottcode.org/focuswriter/"
-DOWNLOAD="https://gottcode.org/focuswriter/focuswriter-1.5.7-src.tar.bz2"
-MD5SUM="088dd0b696b60b3cc6c59793ec5eea6d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
diff --git a/office/focuswriter-legacy/slack-desc b/office/focuswriter-legacy/slack-desc
deleted file mode 100644
index 7268bb3acf..0000000000
--- a/office/focuswriter-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------------------------------------------------------|
-focuswriter-legacy: focuswriter-legacy (distraction-free word processor)
-focuswriter-legacy:
-focuswriter-legacy: FocusWriter is a fullscreen, distraction-free word processor designed
-focuswriter-legacy: to immerse you as much as possible in your work.
-focuswriter-legacy: The program autosaves your progress, and reloads the last files you
-focuswriter-legacy: had open to make it easy to jump back in during your next writing
-focuswriter-legacy: session, and has many other features that make it such that only one
-focuswriter-legacy: thing matters: your writing.
-focuswriter-legacy:
-focuswriter-legacy: http://gottcode.org/focuswriter/
-focuswriter-legacy:
diff --git a/office/focuswriter-legacy/README b/office/focuswriter-qt6/README
index 080dda1e89..ad5ea93f9b 100644
--- a/office/focuswriter-legacy/README
+++ b/office/focuswriter-qt6/README
@@ -5,4 +5,7 @@ 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.
-Newer versions of FocusWriter depend on qt5.
+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/focuswriter-legacy/doinst.sh b/office/focuswriter-qt6/doinst.sh
index 4a25de5e6f..4a25de5e6f 100644
--- a/office/focuswriter-legacy/doinst.sh
+++ b/office/focuswriter-qt6/doinst.sh
diff --git a/office/focuswriter-legacy/focuswriter-legacy.SlackBuild b/office/focuswriter-qt6/focuswriter-qt6.SlackBuild
index e2528eaa9a..a93223f701 100644
--- a/office/focuswriter-legacy/focuswriter-legacy.SlackBuild
+++ b/office/focuswriter-qt6/focuswriter-qt6.SlackBuild
@@ -1,10 +1,11 @@
#!/bin/bash
-# Slackware build script for focuswriter-legacy
+# Slackware build script for focuswriter-qt6
# Copyright 2014 Scalzi Giuseppe Switzerland
# Updated 2016 Morten Juhl-Johansen Zölde-Fejér
-# Copyright 2020 Isaac Yu <isaacyu1@isaacyu1.com>
+# 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
@@ -26,14 +27,13 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=focuswriter-legacy
-VERSION=${VERSION:-1.5.7}
+PRGNAM=focuswriter-qt6
+SRCNAM=focuswriter
+VERSION=${VERSION:-1.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=focuswriter
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -63,6 +63,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=""
@@ -74,7 +77,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION-src.tar.bz2
+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 \
@@ -82,17 +85,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake PREFIX=/usr
-make
-make install INSTALL_ROOT=$PKG
+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 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
+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
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 0c98992a0c..8ab81f3a7c 100644
--- a/office/focuswriter/README
+++ b/office/focuswriter/README
@@ -5,5 +5,6 @@ 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.
-A focuswriter-legacy SlackBuild, which does not depend on qt5,
-is available.
+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 f1058714c0..7fbcd2430b 100644
--- a/office/focuswriter/focuswriter.SlackBuild
+++ b/office/focuswriter/focuswriter.SlackBuild
@@ -4,7 +4,8 @@
# Copyright 2014 Scalzi Giuseppe Switzerland
# Updated 2016 Morten Juhl-Johansen Zölde-Fejér
-# Copyright 2020 Isaac Yu <isaacyu1@isaacyu1.com>
+# 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
@@ -61,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=""
@@ -88,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
diff --git a/office/focuswriter/focuswriter.info b/office/focuswriter/focuswriter.info
index 6bb22bec03..27d71fc268 100644
--- a/office/focuswriter/focuswriter.info
+++ b/office/focuswriter/focuswriter.info
@@ -6,5 +6,5 @@ MD5SUM="ba9e316b4bc0c4568d71f7dc3cd64fff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/office/fop-legacy/README b/office/fop-legacy/README
deleted file mode 100644
index e72fb644e1..0000000000
--- a/office/fop-legacy/README
+++ /dev/null
@@ -1,23 +0,0 @@
-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.
-
-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.
-
-This is the old fop 2.3 for the incredibly ancient jdk 6 (including
-openjdk6). If you are running jdk 7 or newer, you will need fop, also
-available on SBo.
-
-Also note that fop and fop-legacy cannot coexist on the same computer.
-
-jai and jai-imageio are optional but recommended dependencies.
diff --git a/office/fop-legacy/README.postinst b/office/fop-legacy/README.postinst
deleted file mode 100644
index d079a0e881..0000000000
--- a/office/fop-legacy/README.postinst
+++ /dev/null
@@ -1,13 +0,0 @@
-After installing, create .foprc in your home dir with the following
-
-FOP_OPTS="-Xmx###m"
-FOP_HOME="/opt/fop"
-
-Delete and replace the #'s with the amount of RAM your computer has
-in megabytes.
-
-Use can run "free -m" in the terminal to get the info:
-Example :
-
-FOP_OPTS="-Xmx1024m" // If you have a GB RAM
-FOP_HOME="/opt/fop"
diff --git a/office/fop-legacy/fop-legacy.info b/office/fop-legacy/fop-legacy.info
deleted file mode 100644
index 45a81bef04..0000000000
--- a/office/fop-legacy/fop-legacy.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="fop-legacy"
-VERSION="2.3"
-HOMEPAGE="https://xmlgraphics.apache.org/fop/"
-DOWNLOAD="https://archive.apache.org/dist/xmlgraphics/fop/source/fop-2.3-src.tar.gz \
- https://downloads.sourceforge.net/offo/2.2/offo-hyphenation.zip"
-MD5SUM="fc95040a8db4a7f22c6f26e18fd6d033 \
- bf9c09bf05108ef9661b8f08d91c2336"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="apache-ant"
-MAINTAINER="Lenard Spencer"
-EMAIL="lenardrspencer@gmail.com"
diff --git a/office/fop-legacy/slack-desc b/office/fop-legacy/slack-desc
deleted file mode 100644
index 4bf71b54a2..0000000000
--- a/office/fop-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------------------------------------------------------|
-fop-legacy: fop-legacy (print formatter)
-fop-legacy:
-fop-legacy: Apache FOP is a print formatter driven by XSL formatting objects. It
-fop-legacy: is a Java application that reads a formatting object tree conforming
-fop-legacy: to the XSL 1.1 Recommendation (05 December 2006) and renders the
-fop-legacy: resulting pages to a specified output. Current outputs supported
-fop-legacy: include PDF, PS, PCL,AFP, XML (area tree representation), Print,
-fop-legacy: AWT, and TXT. The primary output target is PDF.
-fop-legacy: This version is for jdk6, including openjdk6.
-fop-legacy:
-fop-legacy: Home: https://xmlgraphics.apache.org/fop/
diff --git a/office/fop/README b/office/fop/README
index 063a19b2f8..b12fb8a1cb 100644
--- a/office/fop/README
+++ b/office/fop/README
@@ -1,11 +1,11 @@
-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.
+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.
+(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
@@ -19,11 +19,7 @@ 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 default build is for jdk 7 and 8 (including openjdk). To build
-on jdk11 and newer, pass JDK11=yes to the build scrip. If you are
-still running the (incredibly ancient) jdk 6, please use fop2.0, also
-available on SBo.
-
-Requires apache-ant and apache-maven.
-
-jai and jai-imageio are optional but recommended dependencies.
+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 e3c72e153f..d7153b6947 100644
--- a/office/fop/fop.SlackBuild
+++ b/office/fop/fop.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for fop
# Copyright 2015 Thorn Inurcide USA
-# Copyright 2020, 2021 Lenard Spencer, Orlando, Florida, USA
+# Copyright 2020, 2021, 2023 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,25 +23,33 @@
# 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.6}
+VERSION=${VERSION:-2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+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
@@ -51,86 +59,46 @@ 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 {} \;
-
-if [ "${JDK11:-no}" = "yes" ]; then
-# Fix an Issue with Java 11 and newer:
- sed -i '\@</javad@i\
- <arg value="-Xdoclint:none"/>\
- <arg value="--allow-script-in-comments"/>\
- <arg value="--ignore-source-errors"/>' \
- fop/build.xml
-# With jdk11 and newer, the minimum source version is 1.7, while
-# the fop build system has 1.6. Change it here:
- sed -e 's/1\.6/1.7/' \
- -i fop/build.xml
-else
- # Fix an Issue with Java 8 and older:
- sed -i '\@</javad@i\
- <arg value="--allow-script-in-comments"/>' fop/build.xml
-fi
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# Increase hyphenation stacksize from 512k to 1M:
-sed -e '/hyph\.stack/s/512k/1M/' -i fop/build.xml
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv KEYS LICENSE NOTICE README $PKGDOC
-# Copy updated {pdf,font}box files:
-rm fop/lib/fontbox-2.0.*.jar || true
-cp $CWD/{font,pdf}box-2.0.*.jar fop/lib
+mv $PRGNAM $PRGNAM.old
+mv $PRGNAM.old/* .
+rmdir $PRGNAM.old
-# Copy hyphenation tables:
-unzip $CWD/offo-hyphenation.zip
-cp offo-hyphenation/hyph/* fop/hyph
-rm -rf offo-hyphenation
+# 20220305 bkw: don't need windows stuff
+rm -f $PRGNAM.{bat,cmd}
-# Compiles with apache-ant:
-( cd fop
-ant all javadocs
-mkdir -p $PKG/opt/$PRGNAM-$VERSION
-install -v -d -m755 $PKG/opt/$PRGNAM-$VERSION/
-mv build/javadocs .
-cp -va build conf examples javadocs fop* lib \
- $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
-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
diff --git a/office/fop/fop.info b/office/fop/fop.info
index 9cfe10aec6..40453befdb 100644
--- a/office/fop/fop.info
+++ b/office/fop/fop.info
@@ -1,16 +1,12 @@
PRGNAM="fop"
-VERSION="2.6"
+VERSION="2.8"
HOMEPAGE="https://xmlgraphics.apache.org/fop/"
-DOWNLOAD="https://archive.apache.org/dist/xmlgraphics/fop/source/fop-2.6-src.tar.gz \
- http://mirror.reverse.net/pub/apache/pdfbox/2.0.23/fontbox-2.0.23.jar \
- http://mirror.reverse.net/pub/apache/pdfbox/2.0.23/pdfbox-2.0.23.jar \
- https://downloads.sourceforge.net/offo/2.2/offo-hyphenation.zip"
-MD5SUM="1d6bc84d2ab7f971bbc628080e3c307f \
- f9aa90c666c88ff29e3cd34c15d538ca \
- 6b71c42c567d419f068f46f410dcc3a5 \
- bf9c09bf05108ef9661b8f08d91c2336"
+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 apache-maven"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"
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 9086132bb9..b83e1bd121 100644
--- a/office/full-pack/full-pack.SlackBuild
+++ b/office/full-pack/full-pack.SlackBuild
@@ -11,6 +11,11 @@
# 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
@@ -21,9 +26,6 @@ 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
@@ -46,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
diff --git a/office/ganttproject/ganttproject.info b/office/ganttproject/ganttproject.info
index 1bbdb9834b..2fc28e781c 100644
--- a/office/ganttproject/ganttproject.info
+++ b/office/ganttproject/ganttproject.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/bardsoftware/ganttproject/releases/download/ganttpr
MD5SUM="a7b7c90c4e96b8995dd55fb314f103e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Ekin Akoglu"
EMAIL="ekinakoglu@gmail.com"
diff --git a/office/gcal/gcal.info b/office/gcal/gcal.info
index 5af28ba2a2..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"
+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/gcalctool-gtk2/gcalctool-gtk2.SlackBuild b/office/gcalctool-gtk2/gcalctool-gtk2.SlackBuild
new file mode 100644
index 0000000000..6d09333b35
--- /dev/null
+++ b/office/gcalctool-gtk2/gcalctool-gtk2.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for gcalctool-gtk2
+
+# 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
+# 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=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
+ 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 {} \;
+
+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
+
+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 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
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
index b3755370a4..6157185a1f 100644
--- a/office/ghostwriter/README
+++ b/office/ghostwriter/README
@@ -1,13 +1,7 @@
-ghostwriter is a distraction-free Markdown editor, featuring a full
-screen mode and a clean interface. With Markdown, you can write now,
-and format later.
+ghostwriter: No excuses. No distractions. Just write.
-Some of the features include:
+Distraction-Free Writing
-- built-in and custom themes,
-- live HTML preview,
-- export to multiple formats,
-- navigation with outline,
-- focus and Hemingway modes,
-- document and session statistics,
-- drag and drop images.
+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/fix-build-with-qt5.15.patch b/office/ghostwriter/fix-build-with-qt5.15.patch
deleted file mode 100644
index 358e8bd21c..0000000000
--- a/office/ghostwriter/fix-build-with-qt5.15.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-commit ecad6c28195e535ae8ea8a29a91fa14f5e39faa9
-Author: Andrzej Telszewski <andrzej@telszewski.com>
-Date: Wed Apr 7 22:55:57 2021 +0200
-
- Fix build error with Qt 5.15
-
- Shamelessly based on upstream patch:
- https://github.com/wereturtle/ghostwriter/commit/f8f4ec0a1b53d1f3e670817f051c59444851cf7f
-
-diff --git a/src/MarkdownEditor.cpp b/src/MarkdownEditor.cpp
-index 2e4a9a1..45fc3e4 100644
---- a/src/MarkdownEditor.cpp
-+++ b/src/MarkdownEditor.cpp
-@@ -34,6 +34,7 @@
- #include <QUrl>
- #include <QPixmap>
- #include <QPainter>
-+#include <QPainterPath>
- #include <QFileInfo>
- #include <QDir>
-
diff --git a/office/ghostwriter/ghostwriter.SlackBuild b/office/ghostwriter/ghostwriter.SlackBuild
index a74b4a9214..4a94191878 100644
--- a/office/ghostwriter/ghostwriter.SlackBuild
+++ b/office/ghostwriter/ghostwriter.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for ghostwriter
+# Copyright 2022 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2021 Andrzej Telszewski, Szczecin
# All rights reserved.
#
@@ -25,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ghostwriter
-VERSION=${VERSION:-1.8.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,37 +70,33 @@ 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 || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
-chmod -R a-st,u+rwX,go-w+rX .
-
-# Fix build error with Qt 5.15
-
-cat $CWD/fix-build-with-qt5.15.patch | patch -p1
-
-# Adjust docs location.
-
-sed -i $PRGNAM.pro -e "s|man\.path.*$|man.path = /usr/man/man1|"
+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 -r $PRGNAM.pro \
- QMAKE_CFLAGS="$SLKCFLAGS" \
- QMAKE_CXXFLAGS="$SLKCFLAGS" \
+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
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+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 {BUILD_MAC,CHANGELOG,CREDITS,README}.md COPYING $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
diff --git a/office/ghostwriter/ghostwriter.info b/office/ghostwriter/ghostwriter.info
index 7be156b1a4..fd4c1fad2e 100644
--- a/office/ghostwriter/ghostwriter.info
+++ b/office/ghostwriter/ghostwriter.info
@@ -1,10 +1,10 @@
PRGNAM="ghostwriter"
-VERSION="1.8.1"
-HOMEPAGE="https://wereturtle.github.io/ghostwriter/"
-DOWNLOAD="https://github.com/wereturtle/ghostwriter/archive/v1.8.1/ghostwriter-1.8.1.tar.gz"
-MD5SUM="67f6b671a8e10bc91872fd65dea2b78f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+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="Andrzej Telszewski"
-EMAIL="andrzej@telszewski.com"
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"
diff --git a/office/ghostwriter/slack-desc b/office/ghostwriter/slack-desc
index a710c6fd2b..1532eef904 100644
--- a/office/ghostwriter/slack-desc
+++ b/office/ghostwriter/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
ghostwriter: ghostwriter (distraction-free Markdown editor)
ghostwriter:
-ghostwriter: ghostwriter is a distraction-free Markdown editor, featuring a full
-ghostwriter: screen mode and a clean interface. With Markdown, you can write now,
-ghostwriter: and format later.
+ghostwriter: ghostwriter: No excuses. No distractions. Just write.
ghostwriter:
-ghostwriter: Homepage: https://wereturtle.github.io/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/fop-legacy/fop-legacy.SlackBuild b/office/glow/glow.SlackBuild
index ecb390331b..74a53a8525 100644
--- a/office/fop-legacy/fop-legacy.SlackBuild
+++ b/office/glow/glow.SlackBuild
@@ -1,9 +1,8 @@
#!/bin/bash
-# Slackware build script for fop
+# Slackware build script for glow
-# Copyright 2015 Thorn Inurcide USA
-# Copyright 2020 Lenard Spencer, Orlando, Florida, USA
+# Copyright 2023 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,25 +24,30 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=fop-legacy
-SRCNAM=fop
-VERSION=2.3
+PRGNAM=glow
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+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
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
@@ -53,27 +57,32 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
+ SRCARCH="i386"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SRCARCH="i386"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SRCARCH="x86_64"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ 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 $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz
-cd $SRCNAM-$VERSION
+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 \
@@ -81,35 +90,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 {} \;
-# Increase hyphenation stacksize from 512k to 1M:
-sed -e '/hyph\.stack/s/512k/1M/' -i fop/build.xml
-
-# Copy hyphenation tables:
-unzip $CWD/offo-hyphenation.zip
-cp offo-hyphenation/hyph/* fop/hyph
-rm -rf offo-hyphenation
+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/
-# Compiles with apache-ant:
-( cd fop
-ant all javadocs
-mkdir -p $PKG/opt/$PRGNAM-$VERSION
-install -v -d -m755 $PKG/opt/$PRGNAM-$VERSION/
-mv build/javadocs .
-cp -va build conf examples javadocs fop* lib \
- $PKG/opt/$PRGNAM-$VERSION )
+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
-# 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 .foprc won't need edited every update:
-( cd $PKG/opt ; ln -sf ${PRGNAM}-${VERSION} ${PRGNAM} )
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README NOTICE LICENSE KEYS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/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/gmdb2/gmdb2.SlackBuild b/office/gmdb2/gmdb2.SlackBuild
new file mode 100644
index 0000000000..69300934e3
--- /dev/null
+++ b/office/gmdb2/gmdb2.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for gmdb2
+
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gmdb2
+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 777 -o -perm 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 {} \;
+
+autoreconf -i -f
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+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 README.md CHANGELOG.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
+
+# 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
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.SlackBuild b/office/gnokii/gnokii.SlackBuild
index c7b141ab35..c151ef4fc4 100644
--- a/office/gnokii/gnokii.SlackBuild
+++ b/office/gnokii/gnokii.SlackBuild
@@ -30,13 +30,13 @@ 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
@@ -54,8 +54,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -132,6 +132,8 @@ 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
diff --git a/office/gnucash-docs/README b/office/gnucash-docs/README
index cb542cedc1..87d6c20c04 100644
--- a/office/gnucash-docs/README
+++ b/office/gnucash-docs/README
@@ -5,12 +5,17 @@ This builds the internal help and user guides for 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 excessive package bloat.
-Note 2: This builds the docs for version 4.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 f9ec5802b5..cab82e5ef0 100644
--- a/office/gnucash-docs/gnucash-docs.SlackBuild
+++ b/office/gnucash-docs/gnucash-docs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gnucash-docs
-# Copyright 2018, 2019, 2020 Lenard Spencer <lenardrspencer@gmail.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
@@ -25,8 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnucash-docs
-DESTNAM=gnucash
-VERSION=${VERSION:-4.5}
+VERSION=${VERSION:-4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -46,8 +45,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch # does not install any binary files
-
DOCLANG=${DOCLANG:-"C"}
set -e
@@ -65,49 +62,49 @@ 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 || cd guide/C
- make html
- cp -vR gnucash-guide $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd ../../help/$DOCLANG || cd ../../help/C
- 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 || cd guide/C
- make pdf
- cp -vR gnucash-guide.pdf $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/$DOCLANG || cd ../../help/C
- 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 || cd guide/C
- make epub
- cp -vR gnucash-guide.epub $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/$DOCLANG || cd ../../help/C
- 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
diff --git a/office/gnucash-docs/gnucash-docs.info b/office/gnucash-docs/gnucash-docs.info
index 70e1323e10..b4ca5038df 100644
--- a/office/gnucash-docs/gnucash-docs.info
+++ b/office/gnucash-docs/gnucash-docs.info
@@ -1,10 +1,10 @@
PRGNAM="gnucash-docs"
-VERSION="4.5"
-HOMEPAGE="http://www.gnucash.org"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-docs-4.5.tar.gz"
-MD5SUM="cb619592f5ac25e2d1d1312c1a43e32d"
+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 yelp"
+REQUIRES="gnucash rarian yelp"
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"
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/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index a7cfe148e4..f1f89a24ad 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for gnucash
# Copyright 2015 Trayan Denev, tdenev@gmail.com
-# This version Copyright 2018-2021 Lenard Spencer <lenardrspencer@gmail.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
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnucash
-VERSION=${VERSION:-4.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.11}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -133,7 +133,7 @@ cd build
$OFXBANKING \
$AQBANKING \
-GNinja \
- -DGNUCASH_BUILD_ID="$VERSION-`date -I` by $PACKAGER" \
+ -DGNUCASH_BUILD_ID="$VERSION `date -I` by $PACKAGER" \
-DCMAKE_BUILD_TYPE=release ..
"${NINJA:=ninja}"
@@ -152,9 +152,10 @@ mv $PKG/etc/gnucash/environment $PKG/etc/gnucash/environment.new
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
-ln -s $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/office/gnucash/gnucash.info b/office/gnucash/gnucash.info
index 1d5a4cbfff..0f8546165a 100644
--- a/office/gnucash/gnucash.info
+++ b/office/gnucash/gnucash.info
@@ -1,8 +1,8 @@
PRGNAM="gnucash"
-VERSION="4.6"
+VERSION="4.11"
HOMEPAGE="https://www.gnucash.org/"
-DOWNLOAD="https://downloads.sourceforge.net/gnucash/gnucash-4.6.tar.bz2"
-MD5SUM="3dba148c4c3f00f8e37d3ca20f526a0c"
+DOWNLOAD="https://downloads.sourceforge.net/gnucash/gnucash-4.11.tar.bz2"
+MD5SUM="e6ea5e80ea27f09115439fab881a0ad5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk gtest"
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 5577d6db9b..8bcfa5691c 100644
--- a/office/gnumeric/gnumeric.SlackBuild
+++ b/office/gnumeric/gnumeric.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for gnumeric
# 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,13 @@
# 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.49}
+VERSION=${VERSION:-1.12.56}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,14 +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 {} \;
-# Avoid the cs help or build will break
-sed -i "s|cs\ de\ es|de es|" doc/Makefile.am || exit 1
-autoreconf -fi
-
-# 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 \
@@ -106,10 +102,12 @@ 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
diff --git a/office/gnumeric/gnumeric.info b/office/gnumeric/gnumeric.info
index e9744a598c..b8de66e8f2 100644
--- a/office/gnumeric/gnumeric.info
+++ b/office/gnumeric/gnumeric.info
@@ -1,10 +1,10 @@
PRGNAM="gnumeric"
-VERSION="1.12.49"
+VERSION="1.12.56"
HOMEPAGE="https://projects.gnome.org/gnumeric/"
-DOWNLOAD="https://download.gnome.org/sources/gnumeric/1.12/gnumeric-1.12.49.tar.xz"
-MD5SUM="eec230a9fbd7388f856570e3f9648531"
+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 db6435a92f..7cbed30247 100644
--- a/office/gocr/gocr.SlackBuild
+++ b/office/gocr/gocr.SlackBuild
@@ -1,10 +1,9 @@
#!/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
@@ -28,22 +27,19 @@
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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -53,8 +49,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -77,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 \
@@ -96,17 +92,19 @@ 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
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 76db523f89..088823db1b 100644
--- a/office/goldendict/goldendict.SlackBuild
+++ b/office/goldendict/goldendict.SlackBuild
@@ -29,7 +29,7 @@
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}
@@ -69,20 +69,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# archlinux, thanks for all the patches!
-for i in $CWD/patches/* ; do patch -p1 < $i ; done
+# 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
qmake-qt5 PREFIX=/usr \
CONFIG+=no_epwing_support \
CONFIG+=zim_support \
+ QMAKE_CXXFLAGS+=-std=c++14 \
DISABLE_INTERNAL_PLAYER=$DISABLE_INTERNAL_PLAYER \
- QMAKE_CXXFLAGS+=-std=c++14
+ 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
diff --git a/office/goldendict/goldendict.info b/office/goldendict/goldendict.info
index 38fe200e2f..9a8e94b86a 100644
--- a/office/goldendict/goldendict.info
+++ b/office/goldendict/goldendict.info
@@ -1,8 +1,8 @@
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=""
diff --git a/office/goldendict/patches/goldendict-ffmpeg4.patch b/office/goldendict/patches/goldendict-ffmpeg4.patch
deleted file mode 100644
index 6e6d03675a..0000000000
--- a/office/goldendict/patches/goldendict-ffmpeg4.patch
+++ /dev/null
@@ -1,167 +0,0 @@
-From 03bbe01b79a1f07a6780cb60f23a087104c5d77b Mon Sep 17 00:00:00 2001
-From: Abs62 <ottomann@yandex.ru>
-Date: Fri, 30 Mar 2018 22:53:24 +0300
-Subject: [PATCH] Fix warnings while compile with FFMpeg 3.4.2 (issue #978)
-
----
- ffmpegaudio.cc | 68 +++++++++++++++++++++++++++++++++++++++++++++-----
- 1 file changed, 62 insertions(+), 6 deletions(-)
-
-diff --git a/ffmpegaudio.cc b/ffmpegaudio.cc
-index ed1172bd..56e8f788 100644
---- a/ffmpegaudio.cc
-+++ b/ffmpegaudio.cc
-@@ -91,6 +91,7 @@ struct DecoderContext
- QByteArray audioData_;
- QDataStream audioDataStream_;
- AVFormatContext * formatContext_;
-+ AVCodec * codec_;
- AVCodecContext * codecContext_;
- AVIOContext * avioContext_;
- AVStream * audioStream_;
-@@ -114,6 +115,7 @@ DecoderContext::DecoderContext( QByteArray const & audioData, QAtomicInt & isCan
- audioData_( audioData ),
- audioDataStream_( audioData_ ),
- formatContext_( NULL ),
-+ codec_( NULL ),
- codecContext_( NULL ),
- avioContext_( NULL ),
- audioStream_( NULL ),
-@@ -143,7 +145,11 @@ bool DecoderContext::openCodec( QString & errorString )
- return false;
- }
-
-+#if LIBAVCODEC_VERSION_MAJOR < 56 || ( LIBAVCODEC_VERSION_MAJOR == 56 && LIBAVCODEC_VERSION_MINOR < 56 )
- unsigned char * avioBuffer = ( unsigned char * )av_malloc( kBufferSize + FF_INPUT_BUFFER_PADDING_SIZE );
-+#else
-+ unsigned char * avioBuffer = ( unsigned char * )av_malloc( kBufferSize + AV_INPUT_BUFFER_PADDING_SIZE );
-+#endif
- if ( !avioBuffer )
- {
- errorString = QObject::tr( "av_malloc() failed." );
-@@ -186,7 +192,11 @@ bool DecoderContext::openCodec( QString & errorString )
- // Find audio stream, use the first audio stream if available
- for ( unsigned i = 0; i < formatContext_->nb_streams; i++ )
- {
-+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 33 )
- if ( formatContext_->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO )
-+#else
-+ if ( formatContext_->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_AUDIO )
-+#endif
- {
- audioStream_ = formatContext_->streams[i];
- break;
-@@ -198,22 +208,38 @@ bool DecoderContext::openCodec( QString & errorString )
- return false;
- }
-
-+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 33 )
- codecContext_ = audioStream_->codec;
-- AVCodec * codec = avcodec_find_decoder( codecContext_->codec_id );
-- if ( !codec )
-+ codec_ = avcodec_find_decoder( codecContext_->codec_id );
-+ if ( !codec_ )
- {
- errorString = QObject::tr( "Codec [id: %1] not found." ).arg( codecContext_->codec_id );
- return false;
- }
-+#else
-+ codec_ = avcodec_find_decoder( audioStream_->codecpar->codec_id );
-+ if ( !codec_ )
-+ {
-+ errorString = QObject::tr( "Codec [id: %1] not found." ).arg( audioStream_->codecpar->codec_id );
-+ return false;
-+ }
-+ codecContext_ = avcodec_alloc_context3( codec_ );
-+ if ( !codecContext_ )
-+ {
-+ errorString = QObject::tr( "avcodec_alloc_context3() failed." );
-+ return false;
-+ }
-+ avcodec_parameters_to_context( codecContext_, audioStream_->codecpar );
-+#endif
-
-- ret = avcodec_open2( codecContext_, codec, NULL );
-+ ret = avcodec_open2( codecContext_, codec_, NULL );
- if ( ret < 0 )
- {
- errorString = QObject::tr( "avcodec_open2() failed: %1." ).arg( avErrorString( ret ) );
- return false;
- }
-
-- av_log( NULL, AV_LOG_INFO, "Codec open: %s: channels: %d, rate: %d, format: %s\n", codec->long_name,
-+ av_log( NULL, AV_LOG_INFO, "Codec open: %s: channels: %d, rate: %d, format: %s\n", codec_->long_name,
- codecContext_->channels, codecContext_->sample_rate, av_get_sample_fmt_name( codecContext_->sample_fmt ) );
- return true;
- }
-@@ -252,10 +278,13 @@ void DecoderContext::closeCodec()
-
- // Closing a codec context without prior avcodec_open2() will result in
- // a crash in ffmpeg
-- if ( audioStream_ && audioStream_->codec && audioStream_->codec->codec )
-+ if ( audioStream_ && codecContext_ && codec_ )
- {
- audioStream_->discard = AVDISCARD_ALL;
-- avcodec_close( audioStream_->codec );
-+ avcodec_close( codecContext_ );
-+#if LIBAVCODEC_VERSION_MAJOR > 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR >= 33 )
-+ avcodec_free_context( &codecContext_ );
-+#endif
- }
-
- avformat_close_input( &formatContext_ );
-@@ -356,6 +385,7 @@ bool DecoderContext::play( QString & errorString )
- if ( packet.stream_index == audioStream_->index )
- {
- AVPacket pack = packet;
-+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 37 )
- int gotFrame = 0;
- do
- {
-@@ -370,6 +400,19 @@ bool DecoderContext::play( QString & errorString )
- pack.data += len;
- }
- while( pack.size > 0 );
-+#else
-+ int ret = avcodec_send_packet( codecContext_, &pack );
-+ /* read all the output frames (in general there may be any number of them) */
-+ while( ret >= 0 )
-+ {
-+ ret = avcodec_receive_frame( codecContext_, frame);
-+
-+ if ( Qt4x5::AtomicInt::loadAcquire( isCancelled_ ) || ret < 0 )
-+ break;
-+
-+ playFrame( frame );
-+ }
-+#endif
- }
- // av_free_packet() must be called after each call to av_read_frame()
- #if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 7 )
-@@ -379,6 +422,7 @@ bool DecoderContext::play( QString & errorString )
- #endif
- }
-
-+#if LIBAVCODEC_VERSION_MAJOR < 57 || ( LIBAVCODEC_VERSION_MAJOR == 57 && LIBAVCODEC_VERSION_MINOR < 37 )
- if ( !Qt4x5::AtomicInt::loadAcquire( isCancelled_ ) &&
- codecContext_->codec->capabilities & CODEC_CAP_DELAY )
- {
-@@ -391,6 +435,18 @@ bool DecoderContext::play( QString & errorString )
- playFrame( frame );
- }
- }
-+#else
-+ /* flush the decoder */
-+ av_init_packet( &packet );
-+ int ret = avcodec_send_packet(codecContext_, &packet );
-+ while( ret >= 0 )
-+ {
-+ ret = avcodec_receive_frame(codecContext_, frame);
-+ if ( Qt4x5::AtomicInt::loadAcquire( isCancelled_ ) || ret < 0 )
-+ break;
-+ playFrame( frame );
-+ }
-+#endif
-
- #if LIBAVCODEC_VERSION_MAJOR < 54
- av_free( frame );
diff --git a/office/goldendict/patches/goldendict-qt-5.11-1.patch b/office/goldendict/patches/goldendict-qt-5.11-1.patch
deleted file mode 100644
index feb1b26e0b..0000000000
--- a/office/goldendict/patches/goldendict-qt-5.11-1.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 3d4a468b6c8cb154c88cf4592a5845973999dc29 Mon Sep 17 00:00:00 2001
-From: Abs62 <ottomann@yandex.ru>
-Date: Tue, 10 Apr 2018 18:44:43 +0300
-Subject: [PATCH] Qt5: Fix compilation with Qt 5.11 (issue #991)
-
----
- fulltextsearch.hh | 1 +
- initializing.cc | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/fulltextsearch.hh b/fulltextsearch.hh
-index da7e2943..adf9619f 100644
---- a/fulltextsearch.hh
-+++ b/fulltextsearch.hh
-@@ -6,6 +6,7 @@
- #include <QRegExp>
- #include <QAbstractListModel>
- #include <QList>
-+#include <QAction>
-
- #include "dictionary.hh"
- #include "ui_fulltextsearch.h"
-diff --git a/initializing.cc b/initializing.cc
-index 0db6909b..59e605d6 100644
---- a/initializing.cc
-+++ b/initializing.cc
-@@ -1,6 +1,7 @@
- /* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org>
- * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
-
-+#include <QIcon>
- #include "initializing.hh"
- #include <QCloseEvent>
-
diff --git a/office/goldendict/patches/goldendict-qt-5.11-2.patch b/office/goldendict/patches/goldendict-qt-5.11-2.patch
deleted file mode 100644
index 7410021651..0000000000
--- a/office/goldendict/patches/goldendict-qt-5.11-2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From a65967805ab424b299bdfa1d1f9c7ebb8a7fd517 Mon Sep 17 00:00:00 2001
-From: Perfect Gentleman <perfect007gentleman@gmail.com>
-Date: Wed, 11 Apr 2018 00:04:12 +0700
-Subject: [PATCH] Update groups_widgets.hh
-
-fixes https://github.com/goldendict/goldendict/issues/991
----
- groups_widgets.hh | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/groups_widgets.hh b/groups_widgets.hh
-index ce442fa2..2064e3bb 100644
---- a/groups_widgets.hh
-+++ b/groups_widgets.hh
-@@ -8,6 +8,7 @@
-
- #include <vector>
-
-+#include <QAction>
- #include <QListWidget>
- #include <QSortFilterProxyModel>
-
diff --git a/office/grisbi/grisbi.SlackBuild b/office/grisbi/grisbi.SlackBuild
index 9932a780ef..e6ac58f0c9 100644
--- a/office/grisbi/grisbi.SlackBuild
+++ b/office/grisbi/grisbi.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for grisbi
# 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
@@ -25,19 +26,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=grisbi
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-3.1.0}
+SRCVER=${VERSION//./_}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,6 +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=""
@@ -59,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=""
@@ -70,14 +72,14 @@ 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
@@ -86,6 +88,7 @@ else
CUNIT_ENABLED="no"
fi
+sh ./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -108,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
diff --git a/office/grisbi/grisbi.info b/office/grisbi/grisbi.info
index 556dfa8a2f..2634a761bd 100644
--- a/office/grisbi/grisbi.info
+++ b/office/grisbi/grisbi.info
@@ -1,10 +1,10 @@
PRGNAM="grisbi"
-VERSION="1.2.2"
+VERSION="3.1.0"
HOMEPAGE="http://www.grisbi.org/"
-DOWNLOAD="https://downloads.sourceforge.net/grisbi/grisbi-1.2.2.tar.bz2"
-MD5SUM="4397b442cd893e07da11fef9bfd8fa49"
+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/gummi.SlackBuild b/office/gummi/gummi.SlackBuild
index ecdf22e1c8..9972bb5fba 100644
--- a/office/gummi/gummi.SlackBuild
+++ b/office/gummi/gummi.SlackBuild
@@ -2,7 +2,8 @@
# 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
@@ -25,22 +26,19 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gummi
-VERSION=${VERSION:-0.8.1}
+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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,8 +48,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,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
diff --git a/office/gummi/gummi.info b/office/gummi/gummi.info
index 93c2751620..81d12882c6 100644
--- a/office/gummi/gummi.info
+++ b/office/gummi/gummi.info
@@ -1,10 +1,10 @@
PRGNAM="gummi"
-VERSION="0.8.1"
+VERSION="0.8.3"
HOMEPAGE="https://github.com/alexandervdm/gummi/"
-DOWNLOAD="https://github.com/alexandervdm/gummi/releases/download/0.8.1/gummi-0.8.1.tar.gz"
-MD5SUM="3f2b9ce10b53681c41f22793641afe2c"
+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="gtksourceview3 gtkspell3"
-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 4fe560d597..68099e3db1 100644
--- a/office/hamster/hamster.SlackBuild
+++ b/office/hamster/hamster.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for Hamster - The Gnome Time Tracker
#
-# Copyright 2016-2020 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
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hamster
-VERSION=${VERSION:-3.0.2}
+VERSION=${VERSION:-3.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,13 +47,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -78,6 +72,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -e "s/python/python3/" -i waf
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure build \
@@ -89,6 +85,8 @@ 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.md README.md \
diff --git a/office/hamster/hamster.info b/office/hamster/hamster.info
index 9a679db1d8..aa965cda48 100644
--- a/office/hamster/hamster.info
+++ b/office/hamster/hamster.info
@@ -1,10 +1,10 @@
PRGNAM="hamster"
-VERSION="3.0.2"
+VERSION="3.0.3"
HOMEPAGE="http://projecthamster.org/"
-DOWNLOAD="https://github.com/projecthamster/hamster/archive/v3.0.2/hamster-3.0.2.tar.gz"
-MD5SUM="1c229c304cc0aae85f02c72a4e27d66a"
+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=""
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
+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 9c94c967ce..04f1d63d58 100644
--- a/office/hebcal/hebcal.SlackBuild
+++ b/office/hebcal/hebcal.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hebcal
-# Copyright 2017-2021 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
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hebcal
-VERSION=${VERSION:-4.24}
+VERSION=${VERSION:-5.8.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,28 +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 {} \;
-# 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
diff --git a/office/hebcal/hebcal.info b/office/hebcal/hebcal.info
index 67cd9ae299..bd846f59e7 100644
--- a/office/hebcal/hebcal.info
+++ b/office/hebcal/hebcal.info
@@ -1,8 +1,8 @@
PRGNAM="hebcal"
-VERSION="4.24"
+VERSION="5.8.4"
HOMEPAGE="http://hebcal.github.io/"
-DOWNLOAD="https://github.com/hebcal/hebcal/archive/v4.24/hebcal-4.24.tar.gz"
-MD5SUM="5772b0f41c07ff4bd9814da6fcb155d5"
+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=""
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/heimer/slack-desc b/office/heimer/slack-desc
new file mode 100644
index 0000000000..5034874e27
--- /dev/null
+++ b/office/heimer/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------------------------------------------------------|
+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 8248907220..049bf026bf 100644
--- a/office/hevea/hevea.SlackBuild
+++ b/office/hevea/hevea.SlackBuild
@@ -7,7 +7,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hevea
-VERSION=${VERSION:-2.29}
+VERSION=${VERSION:-2.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
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 be10807b84..1272ccf797 100644
--- a/office/homebank/homebank.SlackBuild
+++ b/office/homebank/homebank.SlackBuild
@@ -1,8 +1,9 @@
#!/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,36 +12,33 @@
# 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
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,8 +48,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,7 +62,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -77,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
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 3ce8e20a97..b66ecd1b33 100644
--- a/office/htmldoc/htmldoc.SlackBuild
+++ b/office/htmldoc/htmldoc.SlackBuild
@@ -3,6 +3,7 @@
# 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.
#
@@ -42,7 +50,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=htmldoc
-VERSION=${VERSION:-1.9.8}
+VERSION=${VERSION:-1.9.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -99,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)
@@ -112,22 +120,16 @@ 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
@@ -136,14 +138,17 @@ mkdir -p $PKG/usr/share/applications
cp -a desktop/$PRGNAM.desktop $PKG/usr/share/applications
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,256x256}/apps/
-cp -a desktop/htmldoc-32.png $PKG/usr/share/icons/hicolor/32x32/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
@@ -151,9 +156,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
diff --git a/office/htmldoc/htmldoc.info b/office/htmldoc/htmldoc.info
index 310daf33e4..eb5aacf7e2 100644
--- a/office/htmldoc/htmldoc.info
+++ b/office/htmldoc/htmldoc.info
@@ -1,10 +1,10 @@
PRGNAM="htmldoc"
-VERSION="1.9.8"
+VERSION="1.9.16"
HOMEPAGE="https://www.msweet.org/htmldoc/index.html"
-DOWNLOAD="https://github.com/michaelrsweet/htmldoc/releases/download/v1.9.8/htmldoc-1.9.8-source.tar.gz"
-MD5SUM="71c7d0dd3b4e01cfc9b9e932b8b58f01"
+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-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 65ac454893..70b58ce65d 100644
--- a/office/hunspell-en/hunspell-en.SlackBuild
+++ b/office/hunspell-en/hunspell-en.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2014, Pablo Santamaria (pablosantamaria@gmail.com)
# 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
@@ -28,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hunspell-en
-VERSION=${VERSION:-2018.04.16}
+VERSION=${VERSION:-2020.12.07}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/hunspell-en/hunspell-en.info b/office/hunspell-en/hunspell-en.info
index 91968fc37f..9f12507dfa 100644
--- a/office/hunspell-en/hunspell-en.info
+++ b/office/hunspell-en/hunspell-en.info
@@ -1,18 +1,18 @@
PRGNAM="hunspell-en"
-VERSION="2018.04.16"
+VERSION="2020.12.07"
HOMEPAGE="http://wordlist.aspell.net/dicts/"
-DOWNLOAD="http://downloads.sourceforge.net/wordlist/hunspell-en_AU-2018.04.16.zip \
- http://downloads.sourceforge.net/wordlist/hunspell-en_CA-2018.04.16.zip \
- http://sourceforge.net/projects/wordlist/files/speller/2018.04.16/hunspell-en_GB-ise-2018.04.16.zip \
- http://sourceforge.net/projects/wordlist/files/speller/2018.04.16/hunspell-en_GB-ize-2018.04.16.zip \
- http://downloads.sourceforge.net/wordlist/hunspell-en_US-2018.04.16.zip"
-MD5SUM="e1a9c9cf76effc073354688ba86c7702 \
- 3cded9c03cbed3422ad51bbd8199ee42 \
- 2c7cc43290b5a7e25397227a285bab6f \
- 06e61c1ff7a23e33daa1a7d4b4e37928 \
- 266fae31d899f7682bc81d9b0aa5832e"
+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-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/hyphen-id/hyphen-id.SlackBuild b/office/hunspell-gr/hunspell-gr.SlackBuild
index d2695f0725..4d973a2c9b 100644
--- a/office/hyphen-id/hyphen-id.SlackBuild
+++ b/office/hunspell-gr/hunspell-gr.SlackBuild
@@ -1,9 +1,9 @@
#!/bin/bash
-# Slackware build script for hyphen-id
+# Slackware build script for hunspell-gr
-# Copyright 2017 Ali Ahmadi <idnux09@gmail.com>
-# # All rights reserved.
+# 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:
@@ -22,12 +22,10 @@
# 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=hunspell-gr
+VERSION=${VERSION:-20110903}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,32 +43,30 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir -p $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-
-bsdtar -xf $CWD/id_id.oxt
-
-# Putting everything in proper place
-install -dm755 $PKG/usr/share/hyphen
-install -m644 hyph_id_ID.dic $PKG/usr/share/hyphen
-
-# 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
+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
-install -m644 info/long-description.txt $PKG/usr/doc/$PRGNAM-$VERSION/README.txt
+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
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 e27b4a42cb..fbd5d99ff4 100644
--- a/office/hunspell-id/hunspell-id.SlackBuild
+++ b/office/hunspell-id/hunspell-id.SlackBuild
@@ -24,18 +24,20 @@
# 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"
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -55,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
@@ -68,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
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-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/hunspell-sv/slack-desc b/office/hunspell-sv/slack-desc
new file mode 100644
index 0000000000..a48de10a36
--- /dev/null
+++ b/office/hunspell-sv/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-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 af94ae3972..010bc29fc6 100644
--- a/office/impressive/impressive.SlackBuild
+++ b/office/impressive/impressive.SlackBuild
@@ -23,20 +23,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:
+# - 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.1}
+VERSION=${VERSION:-0.13.0_beta2+20220110_r312}
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
@@ -51,26 +54,24 @@ 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
diff --git a/office/impressive/impressive.info b/office/impressive/impressive.info
index f322d5a9b6..56932479d7 100644
--- a/office/impressive/impressive.info
+++ b/office/impressive/impressive.info
@@ -1,10 +1,10 @@
PRGNAM="impressive"
-VERSION="0.12.1"
+VERSION="0.13.0_beta2+20220110_r312"
HOMEPAGE="http://impressive.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/impressive/files/Impressive/0.12.1/Impressive-0.12.1.tar.gz"
-MD5SUM="05f997d27dd183d9da38439787cdb736"
+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.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 8e83f0bcae..3c7c9f6f9c 100644
--- a/office/jstock/jstock.SlackBuild
+++ b/office/jstock/jstock.SlackBuild
@@ -2,7 +2,7 @@
# 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
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jstock
-VERSION=${VERSION:-1.0.7.48}
+VERSION=${VERSION:-1.0.7.60}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,14 +50,6 @@ 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
@@ -74,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
@@ -87,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
+/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 0331cfe233..9c5710436e 100644
--- a/office/jstock/jstock.info
+++ b/office/jstock/jstock.info
@@ -1,10 +1,10 @@
PRGNAM="jstock"
-VERSION="1.0.7.48"
+VERSION="1.0.7.60"
HOMEPAGE="http://www.jstock.org/"
-DOWNLOAD="https://github.com/yccheok/jstock/releases/download/release_1.0.7.48/jstock-1.0.7.48-bin.zip"
-MD5SUM="a4d5da6c55eefc79766fbf8f82534e4d"
+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/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/kbgoffice/kbgoffice.SlackBuild b/office/kbgoffice/kbgoffice.SlackBuild
index 5fdbee23e3..d6c6ed99bd 100644
--- a/office/kbgoffice/kbgoffice.SlackBuild
+++ b/office/kbgoffice/kbgoffice.SlackBuild
@@ -68,7 +68,7 @@ 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 ..
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/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 60579fb748..5f3ea62116 100644
--- a/office/kbibtex/kbibtex.SlackBuild
+++ b/office/kbibtex/kbibtex.SlackBuild
@@ -1,9 +1,8 @@
#!/bin/bash
-# vim: et ts=2 sw=2
# Slackware build script for kbibtex
-# Copyright (c) 2011-2021 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
@@ -26,11 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kbibtex
-VERSION=${VERSION:-0.9.90}
+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
i?86) ARCH=i586 ;;
@@ -70,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.xz
-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 \
@@ -80,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_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DKDE_INSTALL_DOCBUNDLEDIR=/usr/doc/HTML \
-DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
-Wno-dev \
..
@@ -102,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.md LICENSE TODO.md $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
diff --git a/office/kbibtex/kbibtex.info b/office/kbibtex/kbibtex.info
index 608636de39..2b6ee7ef86 100644
--- a/office/kbibtex/kbibtex.info
+++ b/office/kbibtex/kbibtex.info
@@ -1,8 +1,8 @@
PRGNAM="kbibtex"
-VERSION="0.9.90"
+VERSION="0.10.0"
HOMEPAGE="https://userbase.kde.org/KBibTeX"
-DOWNLOAD="https://download.kde.org/unstable/KBibTeX/kbibtex-0.9.90.tar.xz"
-MD5SUM="02a5d0305829b057bf2d8bb8f73b1cdf"
+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 5357a566da..b9de6e4550 100644
--- a/office/kbibtex/slack-desc
+++ b/office/kbibtex/slack-desc
@@ -10,7 +10,7 @@ kbibtex: kbibtex (A BibTeX editor for KDE)
kbibtex:
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: 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;
diff --git a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
index 5326ba7a78..1c3b573306 100644
--- a/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
+++ b/office/kchmviewer-qt/kchmviewer-qt.SlackBuild
@@ -23,15 +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
@@ -41,9 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -53,43 +54,35 @@ 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 \
@@ -97,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
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 a017b75438..0000000000
--- a/office/kchmviewer/kchmviewer.SlackBuild
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/bash
-#
-# 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.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=kchmviewer
-VERSION=${VERSION:-6.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-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" = "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
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.info b/office/keepassx/keepassx.info
index 271c95a46c..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=""
+REQUIRES="qt4"
MAINTAINER="Michel A. BEGUE"
EMAIL="mab974@gmail.com"
diff --git a/office/keepassxc/README b/office/keepassxc/README
index 70ab74a977..c5330250f0 100644
--- a/office/keepassxc/README
+++ b/office/keepassxc/README
@@ -1,33 +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, rubygem-asciidoctor must be installed and DOCS=ON
-must be passed 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.
+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 ae1f548c8f..2696a9d0f2 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for KeePassXC
# 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
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=keepassxc
-VERSION=${VERSION:-2.6.6}
+VERSION=${VERSION:-2.7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,33 +75,35 @@ 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_DOCS=${DOCS:-OFF} \
-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
diff --git a/office/keepassxc/keepassxc.info b/office/keepassxc/keepassxc.info
index 9bbcda1b86..5a00650679 100644
--- a/office/keepassxc/keepassxc.info
+++ b/office/keepassxc/keepassxc.info
@@ -1,10 +1,10 @@
PRGNAM="keepassxc"
-VERSION="2.6.6"
+VERSION="2.7.7"
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
-DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.6.6/keepassxc-2.6.6-src.tar.xz"
-MD5SUM="ea440316c59f46a1fe1c3ccbad1513f1"
+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=""
-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 1403d6f9b1..ea403533c7 100644
--- a/office/keepnote/keepnote.SlackBuild
+++ b/office/keepnote/keepnote.SlackBuild
@@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
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/khard/khard.SlackBuild b/office/khard/khard.SlackBuild
new file mode 100644
index 0000000000..c55da17b8b
--- /dev/null
+++ b/office/khard/khard.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for khard
+
+# 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.
+
+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
+ 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 {} \;
+
+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/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
+
+cd $PKG
+/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/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/kraft/kraft.SlackBuild b/office/kraft/kraft.SlackBuild
new file mode 100644
index 0000000000..53bb9a344c
--- /dev/null
+++ b/office/kraft/kraft.SlackBuild
@@ -0,0 +1,101 @@
+#!/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
+# 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=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
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_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 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/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/kraft/slack-desc b/office/kraft/slack-desc
new file mode 100644
index 0000000000..60352c0a58
--- /dev/null
+++ b/office/kraft/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------------------------------------------------------|
+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 178be57586..b768e7ec12 100644
--- a/office/krop/krop.SlackBuild
+++ b/office/krop/krop.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for krop
-# Copyright 2018-2020, 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
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=krop
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-0.6.1_e96d42b}
+COMMIT="e96d42b2f1ab4317efe37cab498b708663bc104c"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,28 +48,14 @@ 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 \
@@ -79,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
diff --git a/office/krop/krop.info b/office/krop/krop.info
index 766a235fbe..0410cf1288 100644
--- a/office/krop/krop.info
+++ b/office/krop/krop.info
@@ -1,10 +1,10 @@
PRGNAM="krop"
-VERSION="0.6.0"
+VERSION="0.6.1_e96d42b"
HOMEPAGE="http://arminstraub.com/computer/krop"
-DOWNLOAD="https://github.com/arminstraub/krop/archive/v0.6.0/krop-0.6.0.tar.gz"
-MD5SUM="8bf9e9d64a4f7b749980a14dc699f96a"
+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/kuro-legacy/kuro-legacy.SlackBuild b/office/kuro-legacy/kuro-legacy.SlackBuild
new file mode 100644
index 0000000000..40d8484627
--- /dev/null
+++ b/office/kuro-legacy/kuro-legacy.SlackBuild
@@ -0,0 +1,104 @@
+#!/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-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
+ 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 [ ! -z "${PRINT_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/${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 \
+ -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/$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
+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
+cat $CWD/slack-desc > $PKG/install/slack-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-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/marave/marave.SlackBuild b/office/kuro/kuro.SlackBuild
index 63b61316dd..5915204426 100644
--- a/office/marave/marave.SlackBuild
+++ b/office/kuro/kuro.SlackBuild
@@ -1,8 +1,8 @@
#!/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
@@ -24,10 +24,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=marave
-VERSION=${VERSION:-0.7}
-SRCVER=${SRCVER:-master}
-BUILD=${BUILD:-2}
+PRGNAM=kuro
+VERSION=${VERSION:-9.0.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,6 +38,15 @@ if [ -z "$ARCH" ]; then
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.
@@ -69,10 +77,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/${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 \
@@ -80,19 +86,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/$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
-cp -a README.rst $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
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/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/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 dd8cdf1a6c..bd24490e28 100644
--- a/office/leafpad/leafpad.SlackBuild
+++ b/office/leafpad/leafpad.SlackBuild
@@ -1,31 +1,36 @@
#!/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}
@@ -37,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -63,7 +65,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+DOCS="AUTHORS COPYING ChangeLog NEWS README"
set -e
@@ -76,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" \
@@ -94,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
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 6ce7260991..1152e6eb05 100644
--- a/office/libreoffice-helppack/libreoffice-helppack.SlackBuild
+++ b/office/libreoffice-helppack/libreoffice-helppack.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for LibreOffice Help Packs
# Copyright 2013-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libreoffice-helppack
-VERSION=${VERSION:-"7.2.2"}
+VERSION=${VERSION:-"24.2.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/libreoffice-helppack/libreoffice-helppack.info b/office/libreoffice-helppack/libreoffice-helppack.info
index f7354d078a..e51c799a13 100644
--- a/office/libreoffice-helppack/libreoffice-helppack.info
+++ b/office/libreoffice-helppack/libreoffice-helppack.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice-helppack"
-VERSION="7.2.2"
+VERSION="24.2.2"
HOMEPAGE="https://www.libreoffice.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/7.2.2/rpm/x86_64/LibreOffice_7.2.2_Linux_x86-64_rpm_helppack_en-US.tar.gz"
-MD5SUM_x86_64="7ee0bfb45c2e3e7b83a1db6f0274f818"
+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 17830e62a6..5c8cd5a3d1 100644
--- a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
+++ b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for LibreOffice Language Packs
# Copyright 2010-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libreoffice-langpack
-VERSION=${VERSION:-"7.2.2"}
+VERSION=${VERSION:-"24.2.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/libreoffice-langpack/libreoffice-langpack.info b/office/libreoffice-langpack/libreoffice-langpack.info
index f987c9a6d3..2149b7fe31 100644
--- a/office/libreoffice-langpack/libreoffice-langpack.info
+++ b/office/libreoffice-langpack/libreoffice-langpack.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice-langpack"
-VERSION="7.2.2"
+VERSION="24.2.2"
HOMEPAGE="https://www.libreoffice.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/7.2.2/rpm/x86_64/LibreOffice_7.2.2_Linux_x86-64_rpm_langpack_en-GB.tar.gz"
-MD5SUM_x86_64="58664d626d730865d420375fa69c12ea"
+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 a0e0b56f74..3e5b418c9a 100644
--- a/office/libreoffice/README
+++ b/office/libreoffice/README
@@ -12,4 +12,4 @@ building.
NOTE:
See the separate SlackBuild script for the language packs.
-Avahi is only needed if you need to use Impress.
+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 04f795c47f..82137b0e3c 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2006.2007.2008,2009,2010 Robby Workman, Northport, Alabama, USA
# Copyright 2010-2014 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libreoffice
-VERSION=${VERSION:-"7.2.2"}
+VERSION=${VERSION:-"24.2.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -44,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
diff --git a/office/libreoffice/libreoffice.info b/office/libreoffice/libreoffice.info
index 5fd39e73d3..6482c0a1aa 100644
--- a/office/libreoffice/libreoffice.info
+++ b/office/libreoffice/libreoffice.info
@@ -1,10 +1,10 @@
PRGNAM="libreoffice"
-VERSION="7.2.2"
+VERSION="24.2.2"
HOMEPAGE="https://www.libreoffice.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/7.2.2/rpm/x86_64/LibreOffice_7.2.2_Linux_x86-64_rpm.tar.gz"
-MD5SUM_x86_64="c9f5a1c7faa03155dbb59ef17d495d27"
-REQUIRES="jdk avahi"
+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 9a2148480e..0000000000
--- a/office/lout/install-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- lout-3.42/makefile 2020-12-27 16:45:43.000000000 -0800
-+++ lout-3.42-slackware/makefile 2021-01-08 10:42:01.398114307 -0800
-@@ -402,12 +402,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 -I $(LOUTLIBDIR)/$(LIBINCL) -H $(LOUTLIBDIR)/$(LIBHYPH) -D $(LOUTLIBDIR)/$(LIBDATA)
-- @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 c3b6cdb8d6..d857f6a0b3 100644
--- a/office/lout/lout.SlackBuild
+++ b/office/lout/lout.SlackBuild
@@ -26,14 +26,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lout
-VERSION=${VERSION:-3.42}
+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
@@ -51,20 +51,6 @@ 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
@@ -74,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
@@ -104,31 +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/
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/lout/lout.info b/office/lout/lout.info
index 83ad97f70b..d97de182ca 100644
--- a/office/lout/lout.info
+++ b/office/lout/lout.info
@@ -1,8 +1,8 @@
PRGNAM="lout"
-VERSION="3.42"
+VERSION="3.43"
HOMEPAGE="https://github.com/william8000/lout"
-DOWNLOAD="https://github.com/william8000/lout/archive/3.42/lout-3.42.tar.gz"
-MD5SUM="f69866918f309bed399fae1822f26bf0"
+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/lowdown.SlackBuild b/office/lowdown/lowdown.SlackBuild
index 9644493714..22c8a1fa71 100644
--- a/office/lowdown/lowdown.SlackBuild
+++ b/office/lowdown/lowdown.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for lowdown
+# Copyright 2019-2022 Pouria Rezaei <Pouria.rz@outlook.com>
# Copyright 2020, Charles A. Daniels, United States
# All rights reserved.
#
@@ -22,11 +23,16 @@
# 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.5.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.11.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,17 +78,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- PREFIX="/usr"
+ PREFIX=/usr \
+ LIBDIR=/usr/lib${LIBDIRSUFFIX}
make
-make install DESTDIR=$PKG
+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
@@ -93,6 +99,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+if [ "$ARCH" = "x86_64" ]; then
+ rm -fR $PKG/usr/lib
+fi
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE.md \
diff --git a/office/lowdown/lowdown.info b/office/lowdown/lowdown.info
index efa0a2ea30..ebff1c430b 100644
--- a/office/lowdown/lowdown.info
+++ b/office/lowdown/lowdown.info
@@ -1,10 +1,10 @@
PRGNAM="lowdown"
-VERSION="0.5.4"
+VERSION="0.11.2"
HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
-DOWNLOAD="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-0.5.4.tar.gz"
-MD5SUM="df02cae66bc9f26aeb5f14836388de93"
+DOWNLOAD="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-0.11.2.tar.gz"
+MD5SUM="3b3e570d568b5b7a556c9b6b0ebbf8c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Charles Daniels"
-EMAIL="charles@cdaniels.net"
+MAINTAINER="Pouria Rezaei"
+EMAIL="Pouria.rz@outlook.com"
diff --git a/office/lyx/lyx.SlackBuild b/office/lyx/lyx.SlackBuild
index a0ae649ca8..f0c296c334 100644
--- a/office/lyx/lyx.SlackBuild
+++ b/office/lyx/lyx.SlackBuild
@@ -7,7 +7,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lyx
-VERSION=${VERSION:-2.3.6.1}
+VERSION=${VERSION:-2.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -52,7 +52,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION-1.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/office/lyx/lyx.info b/office/lyx/lyx.info
index 5bc29cbd91..8e325d24ad 100644
--- a/office/lyx/lyx.info
+++ b/office/lyx/lyx.info
@@ -1,8 +1,8 @@
PRGNAM="lyx"
-VERSION="2.3.6.1"
+VERSION="2.3.7"
HOMEPAGE="http://www.lyx.org"
-DOWNLOAD="https://ftp.lip6.fr/pub/lyx/stable/2.3.x/lyx-2.3.6.1.tar.xz"
-MD5SUM="e8cb8d271dda076fa0671aa7605ba384"
+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/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
index 4cc5cec9d9..da15a7cbf4 100644
--- a/office/mate-calc/README
+++ b/office/mate-calc/README
@@ -1,6 +1,4 @@
-This is mate-calc, a fork of gnome-calc, the calculator application that
-was previously in the OpenWindows Deskset of the Solaris 8 operating
-system. It incorporates a multiple precision arithmetic packages based
-on the work of Professor Richard Brent.
-
+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/mate-calc.SlackBuild b/office/mate-calc/mate-calc.SlackBuild
index be7bae1abd..aab359f441 100644
--- a/office/mate-calc/mate-calc.SlackBuild
+++ b/office/mate-calc/mate-calc.SlackBuild
@@ -2,9 +2,9 @@
# Slackware build script for mate-calc
-# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
-# Copyright 2013-2020 Willy Sudiarto Raharjo <willysr@slackware-id.org>
-# Copyright 2020 Johannes Schoepfer, Germany
+# 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
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mate-calc
-VERSION=${VERSION:-1.18.2}
+VERSION=${VERSION:-1.28.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -77,9 +74,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -91,6 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--without-help-dir \
+ --disable-schemas-compile \
--build=$ARCH-slackware-linux
make
@@ -99,11 +97,11 @@ 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 {} \;
+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 $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
diff --git a/office/mate-calc/mate-calc.info b/office/mate-calc/mate-calc.info
index 5ebf954ff3..5677742232 100644
--- a/office/mate-calc/mate-calc.info
+++ b/office/mate-calc/mate-calc.info
@@ -1,8 +1,8 @@
PRGNAM="mate-calc"
-VERSION="1.18.2"
-HOMEPAGE="https://www.mate-desktop.org/"
-DOWNLOAD="https://pub.mate-desktop.org/releases/1.18/mate-calc-1.18.2.tar.xz"
-MD5SUM="305ed2580b9d06ce06440b8f7df0b743"
+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=""
diff --git a/office/mate-calc/slack-desc b/office/mate-calc/slack-desc
index 72bfd115c6..f66c53a8c9 100644
--- a/office/mate-calc/slack-desc
+++ b/office/mate-calc/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
mate-calc: mate-calc (calculator for the MATE desktop)
mate-calc:
-mate-calc: mate-calc is a fork of gnome-calc, a calculator application for
-mate-calc: the MATE desktop.
+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:
-mate-calc: Homepage: https://www.mate-desktop.org
+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 ad3590340f..ec4d5898a3 100644
--- a/office/mathtex/mathtex.SlackBuild
+++ b/office/mathtex/mathtex.SlackBuild
@@ -36,7 +36,7 @@ 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
@@ -54,8 +54,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/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 e4a881d0ad..ff9cdcd8cf 100644
--- a/office/mdbtools/mdbtools.SlackBuild
+++ b/office/mdbtools/mdbtools.SlackBuild
@@ -1,8 +1,9 @@
#!/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,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:
+# - 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}
@@ -40,9 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,39 +82,55 @@ 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
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 b61baeb513..58fb9de12c 100644
--- a/office/mdp/mdp.SlackBuild
+++ b/office/mdp/mdp.SlackBuild
@@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -52,7 +52,7 @@ 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"
diff --git a/office/mined/mined.SlackBuild b/office/mined/mined.SlackBuild
index f204629e16..31e4234d94 100644
--- a/office/mined/mined.SlackBuild
+++ b/office/mined/mined.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/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 202bae02cb..89fa014622 100644
--- a/office/minidjvu/minidjvu.SlackBuild
+++ b/office/minidjvu/minidjvu.SlackBuild
@@ -2,7 +2,7 @@
# 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
@@ -25,10 +25,11 @@
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
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -69,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $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 \
@@ -79,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 \
@@ -99,9 +98,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 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
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/mobiperl.SlackBuild b/office/mobiperl/mobiperl.SlackBuild
index d4ba88449d..c14bb6b6d1 100644
--- a/office/mobiperl/mobiperl.SlackBuild
+++ b/office/mobiperl/mobiperl.SlackBuild
@@ -2,7 +2,7 @@
# 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.
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 78e9a07a30..967e3a6263 100644
--- a/office/moneydance/moneydance.SlackBuild
+++ b/office/moneydance/moneydance.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=moneydance
-VERSION=${VERSION:-2021.1.3069}
+VERSION=${VERSION:-2024.5117}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,7 +77,6 @@ ln -s /opt/Moneydance/resources/moneydance_icon32.png \
$PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/opt/Moneydance/README.md $PKG/usr/doc/$PRGNAM-$VERSION
ln -s /opt/Moneydance/resources/license.txt \
$PKG/usr/doc/$PRGNAM-$VERSION/license.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/moneydance/moneydance.info b/office/moneydance/moneydance.info
index 7e6913f415..5478c46476 100644
--- a/office/moneydance/moneydance.info
+++ b/office/moneydance/moneydance.info
@@ -1,10 +1,10 @@
PRGNAM="moneydance"
-VERSION="2021.1.3069"
+VERSION="2024.5117"
HOMEPAGE="http://moneydance.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://infinitekind.com/stabledl/current/moneydance_linux_amd64.deb"
-MD5SUM_x86_64="82548667784096d5bf2ceaa22b17a327"
+MD5SUM_x86_64="a37f773dfd0cb6fa16d3aa2e5bf9e21f"
REQUIRES=""
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"
diff --git a/office/msee/README b/office/msee/README
index 047a88b004..f3f05c88a3 100644
--- a/office/msee/README
+++ b/office/msee/README
@@ -1,2 +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.
+
+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.info b/office/msee/msee.info
index 9442b13dd9..5b0ea62b35 100644
--- a/office/msee/msee.info
+++ b/office/msee/msee.info
@@ -5,6 +5,6 @@ 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"
+REQUIRES="google-go-lang nodejs"
MAINTAINER="Tonus"
-EMAIL="tonus1@gmail.com"
+EMAIL="tonus1@free.fr"
diff --git a/office/mtp2-fonts/README b/office/mtp2-fonts/README
index 152fa6b4f0..471afcfd40 100644
--- a/office/mtp2-fonts/README
+++ b/office/mtp2-fonts/README
@@ -8,3 +8,18 @@ Fraktur, bold math, blackboard bold fonts, and AMS symbols.
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 6e24678c7f..ee6881fb9a 100644
--- a/office/mtp2-fonts/mtp2-fonts.SlackBuild
+++ b/office/mtp2-fonts/mtp2-fonts.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mtp2-fonts
-# Copyright 2017-2020, 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
@@ -30,9 +30,8 @@ BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
+ARCH=noarch
+
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -42,8 +41,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
set -e
rm -rf $PKG
@@ -85,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
diff --git a/office/mtp2-fonts/mtp2-fonts.info b/office/mtp2-fonts/mtp2-fonts.info
index 35257db40a..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="https://pctex.com/mtpro2.html"
-DOWNLOAD="http://mirrors.ctan.org/fonts/mtp2lite.zip"
+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/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 9ff6c6cb27..dd1b5ff8fd 100644
--- a/office/mu/mu.SlackBuild
+++ b/office/mu/mu.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mu
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-1.10.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,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
@@ -98,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
diff --git a/office/mu/mu.info b/office/mu/mu.info
index 181357533c..2fda0d352c 100644
--- a/office/mu/mu.info
+++ b/office/mu/mu.info
@@ -1,8 +1,8 @@
PRGNAM="mu"
-VERSION="1.2.0"
+VERSION="1.10.8"
HOMEPAGE="http://www.djcbsoftware.nl/code/mu/"
-DOWNLOAD="https://github.com/djcb/mu/releases/download/1.2/mu-1.2.0.tar.xz"
-MD5SUM="e90fcd4abfed0e36ff97807d0194e9f9"
+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=""
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/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-legacy/README b/office/mupdf-legacy/README
deleted file mode 100644
index 316ee5ca37..0000000000
--- a/office/mupdf-legacy/README
+++ /dev/null
@@ -1,19 +0,0 @@
-mupdf-legacy (older version of mupdf)
-
-mupdf is a lightweight PDF, CBZ, and XPS viewer and toolkit. mupdf-legacy
-is an older version of mupdf that gets installed to /opt/mupdf-legacy,
-for use with zathura-pdf-mupdf and fbpdf2.
-
-Notes:
-
-1. Since this gets installed to /opt, the binaries (mupdf-x11, etc) will
- not be in your $PATH. This is by design: for standalone use, it's
- better to install the regular mupdf package, which is the latest
- version.
-
-2. JavaScript support and shared libraries are disabled. Again, you want
- the regular mupdf package for these.
-
-3. Any build that links with this needs to be modified so it looks for
- headers and libraries in /opt/mupdf-legacy. See zathura-pdf-mupdf for
- an example.
diff --git a/office/mupdf-legacy/mupdf-legacy.SlackBuild b/office/mupdf-legacy/mupdf-legacy.SlackBuild
deleted file mode 100644
index 8afa6ef2c8..0000000000
--- a/office/mupdf-legacy/mupdf-legacy.SlackBuild
+++ /dev/null
@@ -1,151 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for mupdf-legacy
-
-# Originally written by Hubert Hesse (email removed).
-# Heavily modified by B. Watson (yalhcru@gmail.com).
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-# 20200218 bkw: rename this build to -legacy, remove dynamic linking
-# and JavaScript support, install to /opt. Also get rid
-# of .desktop and icon.
-# 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
-# 20180101 bkw: update for 1.12.0.
-# 20170711 bkw: update for 1.11.
-# 20170621 bkw: fix build with -current's newer openjpeg, BUILD=2.
-# 20170122 bkw: update for 1.10a.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=mupdf-legacy
-VERSION=${VERSION:-1.13.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-SRCNAM=mupdf
-
-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-source
-tar xvf $CWD/$SRCNAM-$VERSION-source.tar.gz
-cd $SRCNAM-$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 fine for use with
-# zathura-pdf-mupdf and fbpdf use.
-
-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
-
-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 {} \+
-
-# ref https://bugs.ghostscript.com/show_bug.cgi?id=697175
-sed -i '/#define *OPJ_STATIC/d' source/fitz/load-jpx.c
-
-# 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
-
-make verbose=yes \
- XCFLAGS="$SLKCFLAGS -DJBIG_NO_MEMENTO" \
- HAVE_MUJS="no" \
- build=release \
- prefix=/opt/$PRGNAM \
- libdir=/opt/$PRGNAM/lib$LIBDIRSUFFIX \
- mandir=/opt/$PRGNAM/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/opt/$PRGNAM/bin
-done
-
-strip $PKG/opt/$PRGNAM/bin/*
-gzip -9 $PKG/opt/$PRGNAM/man/man1/*.1
-
-# Compatibility symlinks. Older versions, the binary is just "mupdf".
-# Separate -curl binary exists in 1.5 but not 1.4.
-ln -s $SRCNAM-x11 $PKG/opt/$PRGNAM/bin/$SRCNAM
-ln -s $SRCNAM.1.gz $PKG/opt/$PRGNAM/man/man1/$SRCNAM-x11.1.gz
-[ -e $PKG/opt/$PRGNAM/bin/$SRCNAM-x11-curl ] && \
- ln -s $SRCNAM.1.gz $PKG/opt/$PRGNAM/man/man1/$SRCNAM-x11-curl.1.gz
-
-# mujstest is useless if we don't have JS support.
-rm -f $PKG/opt/$PRGNAM/bin/mujstest
-
-# Installed permissions are atrocious (everything 755).
-find $PKG -type f | xargs chmod 644
-chmod 755 $PKG/opt/$PRGNAM/bin/*
-
-# .pc file taken from debian and parameterized.
-PCLIBS="-l$SRCNAM -lfreetype -lharfbuzz -ljbig2dec -ljpeg -lcrypto -lopenjp2 -lz -lm"
-PCLIBS="$PCLIBS -lmupdfthird"
-
-mkdir -p $PKG/opt/$PRGNAM/lib$LIBDIRSUFFIX/pkgconfig/
-sed -e "s,@LIB@,lib$LIBDIRSUFFIX,g" \
- -e "s,@VERSION@,$VERSION,g" \
- -e "s,@PCLIBS@,$PCLIBS,g" \
- $CWD/$SRCNAM.pc > $PKG/opt/$PRGNAM/lib$LIBDIRSUFFIX/pkgconfig/$SRCNAM.pc
-
-# 'make install' already installed most of the docs.
-cp -a CONTRIBUTORS $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/mupdf-legacy/mupdf-legacy.info b/office/mupdf-legacy/mupdf-legacy.info
deleted file mode 100644
index ec48712348..0000000000
--- a/office/mupdf-legacy/mupdf-legacy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mupdf-legacy"
-VERSION="1.13.0"
-HOMEPAGE="https://www.mupdf.com/"
-DOWNLOAD="https://www.mupdf.com/downloads/archive/mupdf-1.13.0-source.tar.gz"
-MD5SUM="447bc5c3305efe9645e12fce759e0198"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jbig2dec"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/office/mupdf-legacy/mupdf.pc b/office/mupdf-legacy/mupdf.pc
deleted file mode 100644
index 62fa58267f..0000000000
--- a/office/mupdf-legacy/mupdf.pc
+++ /dev/null
@@ -1,11 +0,0 @@
-prefix=/opt/mupdf-legacy
-exec_prefix=${prefix}
-libdir=${exec_prefix}/@LIB@
-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-legacy/slack-desc b/office/mupdf-legacy/slack-desc
deleted file mode 100644
index 8cb115f27c..0000000000
--- a/office/mupdf-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------------------------------------------------------|
-mupdf-legacy: mupdf-legacy (a lightweight PDF, CBZ, and XPS viewer and toolkit)
-mupdf-legacy:
-mupdf-legacy: This is an older version of mupdf.
-mupdf-legacy:
-mupdf-legacy: The renderer in MuPDF is tailored for high quality anti-aliased
-mupdf-legacy: graphics. MuPDF renders text with metrics and spacing accurate to
-mupdf-legacy: within fractions of a pixel for the highest fidelity in reproducing
-mupdf-legacy: the look of a printed page on screen.
-mupdf-legacy:
-mupdf-legacy: https://www.mupdf.com/
-mupdf-legacy:
diff --git a/office/mupdf/README b/office/mupdf/README
index 4f9b5b1a81..82512e4acd 100644
--- a/office/mupdf/README
+++ b/office/mupdf/README
@@ -1,7 +1,7 @@
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
+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.
@@ -11,6 +11,10 @@ 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. It's no longer possible to build mupdf without JavaScript support.
@@ -19,7 +23,3 @@ Notes:
regular PDF viewer, and mupdf-x11-curl has support for fetching remote
resources from the network (which may be considered a security risk).
mupdf-gl uses OpenGL for rendering (and doesn't support curl).
-
-3. mupdf's PDF digital signature verification and signing support is
-disabled in this build, because Slackware 14.2's openssl is too old.
-For most users, this is a rarely- or never-used feature anyway.
diff --git a/office/mupdf/mupdf.SlackBuild b/office/mupdf/mupdf.SlackBuild
index 9b8cfbefa2..81d5742501 100644
--- a/office/mupdf/mupdf.SlackBuild
+++ b/office/mupdf/mupdf.SlackBuild
@@ -3,10 +3,19 @@
# 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
@@ -54,7 +63,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mupdf
-VERSION=${VERSION:-1.18.0}
+VERSION=${VERSION:-1.23.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,27 +100,32 @@ else
fi
set -e
-# Tesseract code left here for future reference. At some point upstream
-# (or maybe I) will fix it.
-if [ "${TESSERACT:-no}" = "yes" ]; then
- TESSARGS="USE_SYSTEM_LEPTONICA=yes USE_SYSTEM_TESSERACT=yes"
- cat <<EOF
-***
-*** 20201023 bkw: Tesseract support in mupdf is currently broken. If
-*** you want to forcibly build with it, edit the SlackBuild. Aborting.
-***
+# 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
-else
- TESSARGS="HAVE_LEPTONICA=no HAVE_TESSERACT=no"
-fi
+}
+# 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.?z
+tar xvf $CWD/$PRGNAM-$VERSION-source.tar.lz
cd $PRGNAM-$VERSION-source
chown -R root:root .
@@ -122,6 +136,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# it and spewing harmless but scary 'fatal: Not a git repository' errors.
sed -i "/^VERSION/s,=.*,= $VERSION," Makefile
+# 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
@@ -131,52 +148,70 @@ 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
-# Shared libraries should be installed executable.
-sed -i '/install.*644.*INSTALL_LIBS/s,644,755,' Makefile
-
-# tesseract autodetection is mildly broken:
-sed -i 's,tesseract-ocr,tesseract,' Makerules
-
# 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 \
shared=yes \
LIB_LDFLAGS="-shared -Wl,-soname -Wl,libmupdf.so.$SOMAJOR" \
- SO="so.$SOVER" \
- XCFLAGS="$SLKCFLAGS -DJBIG_NO_MEMENTO" \
- XCXXFLAGS="-std=c++11 -fpermissive" \
USE_SYSTEM_LIBS=yes \
- USE_SYSTEM_GUMBO=no \
USE_SYSTEM_GLUT=no \
- $TESSARGS \
+ tesseract=$TESS \
build=release \
prefix=/usr \
libdir=/usr/lib$LIBDIRSUFFIX \
mandir=/usr/man \
docdir=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG \
- all install
+ all install || print_failed_message
# bins and libs are already stripped.
gzip -9 $PKG/usr/man/man1/*.1
-# ldconfig will create the libmupdf.so.$SOVER link, but the libmupdf.so
-# one has to be part of the package.
-ln -s lib$PRGNAM.so.$SOMAJOR.$SOMINOR $PKG/usr/lib$LIBDIRSUFFIX/lib$PRGNAM.so
-
-# 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 $PKG/usr/lib$LIBDIRSUFFIX/libmupdf-third.a
+# 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
for i in x11 x11-curl gl; do
[ -e $PKG/usr/bin/$PRGNAM-$i ] && \
@@ -189,27 +224,25 @@ done
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-# Use shipped PNG and SVG icons.
+# Use shipped SVG icon, make PNGs at various sizes.
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/icons/hicolor/scalable/apps
-cat docs/logo/mupdf-icon.png > $PKG/usr/share/pixmaps/$PRGNAM.png
-cat docs/logo/mupdf-logo.svg > $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
-
-# .pc file taken from debian and parameterized.
-# -lcrypto used to be in this list, will be again someday.
-PCLIBS="-l$PRGNAM -lfreetype -lharfbuzz -ljbig2dec -ljpeg -lopenjp2 -lz -lm"
-
-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
+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.
-cp -a CONTRIBUTORS docs/api $PKG/usr/doc/$PRGNAM-$VERSION
+# 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
mkdir -p $PKG/install
-cat $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
diff --git a/office/mupdf/mupdf.info b/office/mupdf/mupdf.info
index 5865c171ae..8c3e38516c 100644
--- a/office/mupdf/mupdf.info
+++ b/office/mupdf/mupdf.info
@@ -1,10 +1,10 @@
PRGNAM="mupdf"
-VERSION="1.18.0"
+VERSION="1.23.11"
HOMEPAGE="https://www.mupdf.com/"
-DOWNLOAD="https://www.mupdf.com/downloads/archive/mupdf-1.18.0-source.tar.xz"
-MD5SUM="3135391b027cdbedf915db1787b4ea05"
+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/slack-desc b/office/mupdf/slack-desc
index b2765401f2..8110a7fe4f 100644
--- a/office/mupdf/slack-desc
+++ b/office/mupdf/slack-desc
@@ -15,5 +15,5 @@ mupdf: the look of a printed page on screen.
mupdf:
mupdf: https://www.mupdf.com/
mupdf:
-mupdf:
+mupdf: This package was built @WITHTESS@ tesseract support.
mupdf:
diff --git a/office/muttprint/muttprint.SlackBuild b/office/muttprint/muttprint.SlackBuild
index 62a4e91727..7317e8c3ad 100644
--- a/office/muttprint/muttprint.SlackBuild
+++ b/office/muttprint/muttprint.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
diff --git a/office/mytetra/mytetra.SlackBuild b/office/mytetra/mytetra.SlackBuild
index f0eb3d0fef..c1bcd24f34 100644
--- a/office/mytetra/mytetra.SlackBuild
+++ b/office/mytetra/mytetra.SlackBuild
@@ -4,6 +4,10 @@
# 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
@@ -14,15 +18,12 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -32,8 +33,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -58,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
@@ -68,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"
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/mythes.SlackBuild b/office/mythes/mythes.SlackBuild
index 97d3e5243a..ac62e06229 100644
--- a/office/mythes/mythes.SlackBuild
+++ b/office/mythes/mythes.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mythes
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -98,6 +98,8 @@ 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
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 c85de4d52c..c8d46d20f8 100644
--- a/office/neoleo/neoleo.SlackBuild
+++ b/office/neoleo/neoleo.SlackBuild
@@ -2,7 +2,7 @@
# 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
@@ -26,7 +26,7 @@
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}
@@ -87,6 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--build=$ARCH-slackware-linux
make
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 fddfeff231..61cad89419 100644
--- a/office/notmuch/notmuch.SlackBuild
+++ b/office/notmuch/notmuch.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for notmuch
-# Copyright 2015-2018 Jostein Berntsen <jvbernts@online.no>
+# Copyright 2015-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
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}
@@ -99,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
diff --git a/office/notmuch/notmuch.info b/office/notmuch/notmuch.info
index ff4f542f79..001294309a 100644
--- a/office/notmuch/notmuch.info
+++ b/office/notmuch/notmuch.info
@@ -1,8 +1,8 @@
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=""
diff --git a/office/nts/nts.SlackBuild b/office/nts/nts.SlackBuild
index 4564a226e7..b766e66efa 100644
--- a/office/nts/nts.SlackBuild
+++ b/office/nts/nts.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/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 39f92cdfed..47e606b2ab 100644
--- a/office/odt2txt/odt2txt.SlackBuild
+++ b/office/odt2txt/odt2txt.SlackBuild
@@ -22,12 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 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}
@@ -39,9 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,25 +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 \
+ -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
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 61fce31157..fd58d9f6bb 100644
--- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
+++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for onlyoffice-desktopeditors
-# Copyright 2017-2021, 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
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=onlyoffice-desktopeditors
-VERSION=${VERSION:-6.2.0}
+VERSION=${VERSION:-8.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,9 +43,6 @@ if [ "$ARCH" != "x86_64" ]; then
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
@@ -61,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 \
@@ -84,6 +84,8 @@ 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
diff --git a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info
index 33a77e4b2d..c8d1a95776 100644
--- a/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info
+++ b/office/onlyoffice-desktopeditors/onlyoffice-desktopeditors.info
@@ -1,10 +1,12 @@
PRGNAM="onlyoffice-desktopeditors"
-VERSION="6.2.0"
+VERSION="8.0.1"
HOMEPAGE="https://www.onlyoffice.com/apps.aspx"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v6.2.0/onlyoffice-desktopeditors_amd64.deb"
-MD5SUM_x86_64="2bb6a62e6ab85b2bcd7633431064f8a5"
-REQUIRES="gtkglext 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.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 1fa097f05c..9f8b2184f4 100644
--- a/office/openoffice.org/openoffice.org.SlackBuild
+++ b/office/openoffice.org/openoffice.org.SlackBuild
@@ -1,13 +1,16 @@
#!/bin/bash
# Slackware build script for openoffice.org
+
+# 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.
#
@@ -32,8 +35,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openoffice.org
SRCNAM=openoffice
-VERSION=${VERSION:-4.1.7}
-BUILD_ID=${BUILD_ID:-9800}
+VERSION=${VERSION:-4.1.15}
+BUILD_ID=${BUILD_ID:-9813}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -49,7 +52,6 @@ fi
# 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
@@ -63,11 +65,8 @@ 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"
+ echo "$PRGNAM-${VERSION}-$PKGARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
@@ -127,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
@@ -142,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}
@@ -161,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
+/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 c748fa84d7..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.7"
+VERSION="4.1.15"
HOMEPAGE="https://openoffice.org"
-DOWNLOAD="https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.7/binaries/en-US/Apache_OpenOffice_4.1.7_Linux_x86_install-rpm_en-US.tar.gz"
-MD5SUM="650016711ab925eb0350c4d2fbbecd92"
-DOWNLOAD_x86_64="https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.7/binaries/en-US/Apache_OpenOffice_4.1.7_Linux_x86-64_install-rpm_en-US.tar.gz"
-MD5SUM_x86_64="f71d8bbc7c1901e808e7c5d5e6eaa051"
+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/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/osmo-gtk2/osmo-gtk2.SlackBuild b/office/osmo-gtk2/osmo-gtk2.SlackBuild
new file mode 100644
index 0000000000..326525b01c
--- /dev/null
+++ b/office/osmo-gtk2/osmo-gtk2.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for Osmo
+
+# 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
+# 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=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
+ 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.?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 {} \;
+
+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
+
+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 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
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/pandoc-bin/pandoc-bin.SlackBuild b/office/pandoc-bin/pandoc-bin.SlackBuild
index 9617dca9e2..5da85c5178 100644
--- a/office/pandoc-bin/pandoc-bin.SlackBuild
+++ b/office/pandoc-bin/pandoc-bin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pandoc-bin
-# Copyright 2019-2021 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
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pandoc-bin
SRCNAM=pandoc
-VERSION=${VERSION:-2.13}
+VERSION=${VERSION:-3.1.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,15 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-if [ "$ARCH" = "x86_64" ]; then
- BIT="64bit"
-else
- echo "$ARCH is not supported."
- exit 1
-fi
-
-set -e
-
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@@ -60,12 +51,19 @@ TMP=${TMP:-/tmp/SBo}
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/usr $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION-linux-amd64.tar.gz
-cd $SRCNAM-$VERSION
+mkdir -p $TMP $PKG $OUTPUT
+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 \
@@ -73,11 +71,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-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
+
+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
diff --git a/office/pandoc-bin/pandoc-bin.info b/office/pandoc-bin/pandoc-bin.info
index 465f946965..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.13"
+VERSION="3.1.13"
HOMEPAGE="https://github.com/jgm/pandoc"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/jgm/pandoc/releases/download/2.13/pandoc-2.13-linux-amd64.tar.gz"
-MD5SUM_x86_64="4453baf7a3880c9f08c623d017761346"
+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/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 bc1fc8ae3e..8fa46202ac 100644
--- a/office/pandoc/pandoc.SlackBuild
+++ b/office/pandoc/pandoc.SlackBuild
@@ -9,7 +9,7 @@
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}
@@ -18,7 +18,7 @@ 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
@@ -36,8 +36,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
TARARCH=i386
elif [ "$ARCH" = "i686" ]; then
@@ -68,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.
@@ -94,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
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 df634421d1..07883a48fb 100644
--- a/office/paps/paps.SlackBuild
+++ b/office/paps/paps.SlackBuild
@@ -21,7 +21,12 @@
# (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.
@@ -39,7 +44,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=paps
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,6 +92,12 @@ 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 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" \
@@ -102,9 +113,10 @@ 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 NEWS $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
diff --git a/office/paps/paps.info b/office/paps/paps.info
index 70cd0a7d6e..2cd185cf9c 100644
--- a/office/paps/paps.info
+++ b/office/paps/paps.info
@@ -1,10 +1,10 @@
PRGNAM="paps"
-VERSION="0.7.1"
+VERSION="0.8.0"
HOMEPAGE="https://github.com/dov/paps"
-DOWNLOAD="https://github.com/dov/paps/releases/download/v0.7.1/paps-0.7.1.tar.gz"
-MD5SUM="b058bcc7d958fb53408942088cc1f365"
+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/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 a0b62a2cac..f685c67201 100644
--- a/office/pdf2djvu/pdf2djvu.SlackBuild
+++ b/office/pdf2djvu/pdf2djvu.SlackBuild
@@ -4,6 +4,7 @@
# 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
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdf2djvu
-VERSION=${VERSION:-0.9.17.1}
+VERSION=${VERSION:-0.9.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -65,7 +63,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -76,11 +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 {} \;
-
-sed -i 's/poppler-splash/poppler/g' configure
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -90,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
@@ -106,7 +102,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a 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
diff --git a/office/pdf2djvu/pdf2djvu.info b/office/pdf2djvu/pdf2djvu.info
index 950ac20572..a0c8a1d7f3 100644
--- a/office/pdf2djvu/pdf2djvu.info
+++ b/office/pdf2djvu/pdf2djvu.info
@@ -1,10 +1,10 @@
PRGNAM="pdf2djvu"
-VERSION="0.9.17.1"
-HOMEPAGE="https://jwilk.net/software/pdf2djvu"
-DOWNLOAD="https://github.com/jwilk/pdf2djvu/releases/download/0.9.17.1/pdf2djvu-0.9.17.1.tar.xz"
-MD5SUM="fd803adb96319b39e38392d6d5415142"
+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 4f0fb7bc57..16d6aeb4c8 100644
--- a/office/pdfchain/pdfchain.SlackBuild
+++ b/office/pdfchain/pdfchain.SlackBuild
@@ -79,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 \
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 4a4954a5bc..22b5398372 100644
--- a/office/pdfpc/pdfpc.SlackBuild
+++ b/office/pdfpc/pdfpc.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdfpc
-VERSION=${VERSION:-4.5.0}
+VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/pdfpc/pdfpc.info b/office/pdfpc/pdfpc.info
index d1e9b8e0a5..b75136d847 100644
--- a/office/pdfpc/pdfpc.info
+++ b/office/pdfpc/pdfpc.info
@@ -1,8 +1,8 @@
PRGNAM="pdfpc"
-VERSION="4.5.0"
+VERSION="4.6.0"
HOMEPAGE="https://pdfpc.github.io/"
-DOWNLOAD="https://github.com/pdfpc/pdfpc/archive/v4.5.0/pdfpc-4.5.0.tar.gz"
-MD5SUM="3718e0f45cb9121b15917eb07934300a"
+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="discount webkit2gtk"
diff --git a/office/pdfshuffler/pdfshuffler.SlackBuild b/office/pdfshuffler/pdfshuffler.SlackBuild
index 9ec08cb3e6..54fa140d6f 100644
--- a/office/pdfshuffler/pdfshuffler.SlackBuild
+++ b/office/pdfshuffler/pdfshuffler.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
diff --git a/office/pdfstudio/pdfstudio.info b/office/pdfstudio/pdfstudio.info
index c037064411..8fdd59f0a2 100644
--- a/office/pdfstudio/pdfstudio.info
+++ b/office/pdfstudio/pdfstudio.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://download.qoppa.com/pdfstudio/v2020/PDFStudio_v2020_4_0_linux.d
MD5SUM="54b767608e88afdeeeb7292c278624c2"
DOWNLOAD_x86_64="https://download.qoppa.com/pdfstudio/v2020/PDFStudio_v2020_4_0_linux64.deb"
MD5SUM_x86_64="d4b8f062f90d191a7fca0b003101e772"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/pdfstudioviewer/pdfstudioviewer.info b/office/pdfstudioviewer/pdfstudioviewer.info
index 2099167cae..9515a0a516 100644
--- a/office/pdfstudioviewer/pdfstudioviewer.info
+++ b/office/pdfstudioviewer/pdfstudioviewer.info
@@ -1,10 +1,10 @@
PRGNAM="pdfstudioviewer"
VERSION="2020.4.0"
HOMEPAGE="https://www.qoppa.com/pdfstudioviewer/"
-DOWNLOAD="https://download.qoppa.com/pdfstudioviewer/v2020/PDFStudioViewer_v2020_4_0_linux.deb"
+DOWNLOAD="https://slackware.uk/~urchlay/src/PDFStudioViewer_v2020_4_0_linux.deb"
MD5SUM="b00266ac215c57010652919cf5ecd997"
-DOWNLOAD_x86_64="https://download.qoppa.com/pdfstudioviewer/v2020/PDFStudioViewer_v2020_4_0_linux64.deb"
+DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/PDFStudioViewer_v2020_4_0_linux64.deb"
MD5SUM_x86_64="915bf1db64f138d75c5bb314b44c6c07"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/office/pdftk/README b/office/pdftk/README
index 6f0d6399e0..f55989c909 100644
--- a/office/pdftk/README
+++ b/office/pdftk/README
@@ -1,13 +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.
-NOTE: Starting with Slackware 15.0 pdftk compilation requires SBo gcc-5
-because gcc-java was dropped from the GNU Compiler Collection as of gcc-7:
-don't forget to source /etc/profile.d/gcc5.sh before starting to build
-this, like
-
- . /etc/profile.d/gcc5.sh
+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-2.02-use-gcc5.patch b/office/pdftk/pdftk-2.02-use-gcc5.patch
deleted file mode 100644
index d1e6e124de..0000000000
--- a/office/pdftk/pdftk-2.02-use-gcc5.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-# diff -Nurp pdftk/Makefile.Slackware-13.1.orig pdftk/Makefile.Slackware-13.1
---- orig/pdftk/Makefile.Slackware-13.1 2013-07-24 13:27:46.000000000 -0500
-+++ pdftk/Makefile.Slackware-13.1 2018-03-04 06:20:55.312900883 -0600
-@@ -21,8 +21,9 @@
- # tools
- # need direct path to libgcj for gcjh (starting in gcj 4.1.2 per Aurélien GÃRÃME)
- TOOLPATH=
--export VERSUFF=-4.4.4
--export CXX= $(TOOLPATH)g++
-+GCCMAJORTAG=-5 # kjh was here
-+export VERSUFF=-5.5.0 # kjh was here
-+export CXX= $(TOOLPATH)g++$(GCCMAJORTAG) # kjh was here
- export GCJ= $(TOOLPATH)gcj
- export GCJH= $(TOOLPATH)gcjh
- export GJAR= $(TOOLPATH)gjar
diff --git a/office/pdftk/pdftk.SlackBuild b/office/pdftk/pdftk.SlackBuild
index 7003043349..6de4541cb9 100644
--- a/office/pdftk/pdftk.SlackBuild
+++ b/office/pdftk/pdftk.SlackBuild
@@ -2,8 +2,9 @@
# 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
@@ -26,22 +27,13 @@
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}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-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
@@ -51,49 +43,29 @@ 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-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 {} \;
-patch -p1 < $CWD/pdftk-2.02-use-gcc5.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
diff --git a/office/pdftk/pdftk.info b/office/pdftk/pdftk.info
index b4e36211a9..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="gcc5"
-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/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 8da385afa0..441571c9b0 100644
--- a/office/ps2eps/ps2eps.SlackBuild
+++ b/office/ps2eps/ps2eps.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/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 f0e737bccd..f9f91a117f 100644
--- a/office/pstoedit/README
+++ b/office/pstoedit/README
@@ -1,13 +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.
-This version has some incompatibilities with ghostscript versions
-earlier than 9.50 (eg 9.26 as in Slackware 14.4). If you get errors try
-using the option "-rdb".
-
-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 ac29db6184..c42bf1870e 100644
--- a/office/pstoedit/pstoedit.SlackBuild
+++ b/office/pstoedit/pstoedit.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pstoedit
-VERSION=${VERSION:-3.75}
+VERSION=${VERSION:-4.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -87,6 +84,7 @@ CXXFLAGS="$SLKCFLAGS -std=c++14" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --without-swf \
--build=$ARCH-slackware-linux
make
@@ -104,6 +102,9 @@ 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
diff --git a/office/pstoedit/pstoedit.info b/office/pstoedit/pstoedit.info
index 6a0347d4ef..9cd853dfcc 100644
--- a/office/pstoedit/pstoedit.info
+++ b/office/pstoedit/pstoedit.info
@@ -1,8 +1,8 @@
PRGNAM="pstoedit"
-VERSION="3.75"
+VERSION="4.01"
HOMEPAGE="http://www.pstoedit.net/"
-DOWNLOAD="https://downloads.sourceforge.net/pstoedit/pstoedit-3.75.tar.gz"
-MD5SUM="a1965d0fcc4e151a265907865078d2c4"
+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/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 cc6c50b543..ce8728e180 100644
--- a/office/pyspread/pyspread.SlackBuild
+++ b/office/pyspread/pyspread.SlackBuild
@@ -2,7 +2,7 @@
# 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
@@ -25,7 +25,7 @@
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}
@@ -79,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
@@ -88,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
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/python-gcalcli.info b/office/python-gcalcli/python-gcalcli.info
index 6d2ead6b56..cff8f49153 100644
--- a/office/python-gcalcli/python-gcalcli.info
+++ b/office/python-gcalcli/python-gcalcli.info
@@ -6,5 +6,5 @@ MD5SUM="9b2a15bd2c52a59627dc70609b0eded0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-api-python-client python-parsedatetime"
-MAINTAINER="David Woodfall"
+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/teams-for-linux/teams-for-linux.SlackBuild b/office/python3-proselint/python3-proselint.SlackBuild
index 1e976939ec..f2471769b9 100644
--- a/office/teams-for-linux/teams-for-linux.SlackBuild
+++ b/office/python3-proselint/python3-proselint.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for teams-for-linux
+# Slackware build script for python3-proselint
-# Copyright 2019 Dario Nicodemi, Italy
+# Copyright 2023, Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,9 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=teams-for-linux
-VERSION=${VERSION:-0.0.7}
+PRGNAM=python3-proselint
+TGZNAM=proselint
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,11 +39,27 @@ if [ -z "$ARCH" ]; then
esac
fi
-if [ "$ARCH" != "x86_64" ]; then
- echo "$ARCH is not supported."
- exit 1
+
+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
+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.
@@ -51,17 +68,16 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
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
-ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+cd $TMP
+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 \
@@ -69,18 +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 {} \;
-mkdir -p $PKG/usr/bin
-ln -s /opt/$PRGNAM/teams $PKG/usr/bin/teams
+python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-ln -s $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM
+cp -a \
+ LICENSE.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
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
-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/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 7cd4f75cff..0000000000
--- a/office/qpdfview-qt5/qpdfview-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qpdfview-qt5"
-VERSION="0.4.18"
-HOMEPAGE="https://launchpad.net/qpdfview"
-DOWNLOAD="https://launchpad.net/qpdfview/trunk/0.4.18/+download/qpdfview-0.4.18.tar.gz"
-MD5SUM="4d63ee0095e939602f9bf4759ae57953"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/office/qpdfview-qt5/qt-5.15.patch b/office/qpdfview-qt5/qt-5.15.patch
deleted file mode 100644
index ca48432b85..0000000000
--- a/office/qpdfview-qt5/qt-5.15.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: qpdfview-0.4.18/sources/djvumodel.cpp
-===================================================================
---- qpdfview-0.4.18.orig/sources/djvumodel.cpp
-+++ qpdfview-0.4.18/sources/djvumodel.cpp
-@@ -29,6 +29,7 @@ along with qpdfview. If not, see <http:
- #include <cstdio>
-
- #include <QFile>
-+#include <QPainterPath>
- #include <qmath.h>
-
- #if defined(Q_OS_WIN) && defined(DJVU_STATIC)
-Index: qpdfview-0.4.18/sources/model.h
-===================================================================
---- qpdfview-0.4.18.orig/sources/model.h
-+++ qpdfview-0.4.18/sources/model.h
-@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http:
- #include <QtPlugin>
- #include <QWidget>
- #include <QVector>
-+#include <QPainterPath>
-
- class QAbstractItemModel;
- class QColor;
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 67bc482efa..b0384ab6b5 100644
--- a/office/qpdfview/README
+++ b/office/qpdfview/README
@@ -1 +1,10 @@
-qpdfview is a tabbed document viewer supporting djvu, PDF, and ps.
+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 131c649a8d..4e16cd0dc8 100644
--- a/office/qpdfview/qpdfview.SlackBuild
+++ b/office/qpdfview/qpdfview.SlackBuild
@@ -1,31 +1,20 @@
#!/bin/bash
# Slackware build script for qpdfview
+# Copyright 2022 B. Watson <urchlay@slackware.uk>.
# Copyright 2017-2020 Donald Cooley, South Haven, Indiana USA
# Copyright 2012 Mark Noman
-# 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.
+
+# 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.18}
+VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -74,38 +60,30 @@ 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
-
-# From Arch pkgbuild. Fix build with texlive in Slackware current.
-sed -e 's|2.0.0|1.21.0|' -i application.pro
+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
diff --git a/office/qpdfview/qpdfview.info b/office/qpdfview/qpdfview.info
index 300932311d..d3907a23c5 100644
--- a/office/qpdfview/qpdfview.info
+++ b/office/qpdfview/qpdfview.info
@@ -1,10 +1,10 @@
PRGNAM="qpdfview"
-VERSION="0.4.18"
+VERSION="0.5"
HOMEPAGE="https://launchpad.net/qpdfview"
-DOWNLOAD="https://launchpad.net/qpdfview/trunk/0.4.18/+download/qpdfview-0.4.18.tar.gz"
-MD5SUM="4d63ee0095e939602f9bf4759ae57953"
+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/qute/qute.SlackBuild b/office/qute/qute.SlackBuild
index 53fe684711..43ae47b402 100644
--- a/office/qute/qute.SlackBuild
+++ b/office/qute/qute.SlackBuild
@@ -22,6 +22,10 @@
# 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
@@ -31,17 +35,9 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+# 20220217 bkw: prebuilt binary for this platform only:
+ARCH=x86_64
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -51,27 +47,21 @@ 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 . \
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/re-typeset.SlackBuild b/office/re-typeset/re-typeset.SlackBuild
index cb3067776a..e88e46023d 100644
--- a/office/re-typeset/re-typeset.SlackBuild
+++ b/office/re-typeset/re-typeset.SlackBuild
@@ -2,7 +2,7 @@
# 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.
diff --git a/office/re-typeset/re-typeset.info b/office/re-typeset/re-typeset.info
index 2380b8df5a..7afeb708a9 100644
--- a/office/re-typeset/re-typeset.info
+++ b/office/re-typeset/re-typeset.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/referencer/referencer.SlackBuild b/office/referencer/referencer.SlackBuild
index 46075b305f..a4a5508768 100644
--- a/office/referencer/referencer.SlackBuild
+++ b/office/referencer/referencer.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/office/remind/remind.info b/office/remind/remind.info
index f1ddc699ae..f6391946da 100644
--- a/office/remind/remind.info
+++ b/office/remind/remind.info
@@ -1,7 +1,7 @@
PRGNAM="remind"
VERSION="03.01.16"
HOMEPAGE="https://dianne.skoll.ca/projects/remind/"
-DOWNLOAD="https://dianne.skoll.ca/projects/remind/download/remind-03.01.16.tar.gz"
+DOWNLOAD="http://distfiles.macports.org/remind/remind-03.01.16.tar.gz"
MD5SUM="17ba30c2aee7f3156cc8de308be123ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/office/scribus/README b/office/scribus/README
index 8a9f355ec7..981f957720 100644
--- a/office/scribus/README
+++ b/office/scribus/README
@@ -1,6 +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, libpagemaker, libfreehand, libcdr, libzmf, libqxp and libmspub are
-optional dependencies.
+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/poppler-21.4.0.patch b/office/scribus/poppler-21.4.0.patch
deleted file mode 100644
index 7eedbd73c9..0000000000
--- a/office/scribus/poppler-21.4.0.patch
+++ /dev/null
@@ -1,4347 +0,0 @@
-diff -Naur scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.cpp scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.cpp
---- scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.cpp 2020-11-14 23:37:11.000000000 +0100
-+++ scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.cpp 2021-04-04 11:27:44.315404000 +0200
-@@ -2291,9 +2291,19 @@
- return gTrue;
- }
-
--GBool SlaOutputDev::tilingPatternFill(GfxState *state, Gfx * /*gfx*/, Catalog *cat, Object *str, POPPLER_CONST_070 double *pmat, int paintType, int tilingType, Dict *resDict, POPPLER_CONST_070 double *mat, POPPLER_CONST_070 double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep)
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 3, 0)
-+bool SlaOutputDev::tilingPatternFill(GfxState *state, Gfx * /*gfx*/, Catalog *cat, GfxTilingPattern *tPat, const double *mat, int x0, int y0, int x1, int y1, double xStep, double yStep)
-+#else
-+GBool SlaOutputDev::tilingPatternFill(GfxState *state, Gfx * /*gfx*/, Catalog *cat, Object *str, POPPLER_CONST_070 double *pmat, int /*paintType*/, int /*tilingType*/, Dict *resDict, POPPLER_CONST_070 double *mat, POPPLER_CONST_070 double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep)
-+#endif
- {
- // qDebug() << "SlaOutputDev::tilingPatternFill";
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 3, 0)
-+ const double *bbox = tPat->getBBox();
-+ const double *pmat = tPat->getMatrix();
-+ Dict *resDict = tPat->getResDict();
-+#endif
-+
- PDFRectangle box;
- Gfx *gfx;
- QString id;
-@@ -2325,7 +2335,11 @@
- // Unset the clip path as it is unrelated to the pattern's coordinate space.
- QPainterPath savedClip = m_currentClipPath;
- m_currentClipPath = QPainterPath();
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 3, 0)
-+ gfx->display(tPat->getContentStream());
-+#else
- gfx->display(str);
-+#endif
- m_currentClipPath = savedClip;
- inPattern--;
- gElements = m_groupStack.pop();
-diff -Naur scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.cpp.orig scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.cpp.orig
---- scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.cpp.orig 1970-01-01 01:00:00.000000000 +0100
-+++ scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.cpp.orig 2020-11-14 23:37:11.000000000 +0100
-@@ -0,0 +1,3898 @@
-+/*
-+For general Scribus (>=1.3.2) copyright and licensing information please refer
-+to the COPYING file provided with the program. Following this notice may exist
-+a copyright and/or license notice that predates the release of Scribus 1.3.2
-+for which a new license (GPL+exception) is in place.
-+*/
-+
-+#include "slaoutput.h"
-+
-+#include <poppler/GlobalParams.h>
-+#include <poppler/poppler-config.h>
-+#include <poppler/FileSpec.h>
-+#include <poppler/fofi/FoFiTrueType.h>
-+#include <QApplication>
-+#include <QFile>
-+#include "commonstrings.h"
-+#include "loadsaveplugin.h"
-+#include "sccolorengine.h"
-+#include "util.h"
-+#include "util_math.h"
-+#include <tiffio.h>
-+
-+namespace
-+{
-+ // Compute the intersection of two paths while considering the fillrule of each of them.
-+ // QPainterPath has the right interface to do the operation but is currently buggy.
-+ // See for example https://bugreports.qt.io/browse/QTBUG-83102. Thus this function
-+ // applies some heuristics to find the best result. As soon QPainterPath is fixed
-+ // one can just use a.intersected(b) wherever this function is called.
-+ // TODO: Find an alternative to QPainterPath that works for different fill rules.
-+ QPainterPath intersection(QPainterPath const &a, QPainterPath const &b)
-+ {
-+ // An empty path is treated like the whole area.
-+ if (a.elementCount() == 0)
-+ return b;
-+ if (b.elementCount() == 0)
-+ return a;
-+
-+ QPainterPath ret_a = a.intersected(b);
-+ QPainterPath ret_b = b.intersected(a);
-+ // Sometimes the resulting paths are not closed even though they should.
-+ // Close them now.
-+ ret_a.closeSubpath();
-+ ret_b.closeSubpath();
-+
-+ // Most of the time one of the two operations returns an empty path while the other
-+ // gives us the desired result. Return the non-empty one.
-+ if (ret_a.elementCount() == 0)
-+ return ret_b;
-+ if (ret_b.elementCount() == 0)
-+ return ret_a;
-+
-+ // There are cases where both intersections are not empty but one of them is quite
-+ // complicated with several subpaths, etc. We return the simpler one.
-+ return (ret_a.elementCount() <= ret_b.elementCount()) ? ret_a : ret_b;
-+ }
-+
-+ // Invert preblending matte values into the color values. Assuming that c and alpha are RGBA components
-+ // between 0 and 255.
-+ int unblendMatte(int c, int alpha, int matte)
-+ {
-+ if (alpha == 0)
-+ return matte;
-+ int ret = matte + ((c - matte) * 255) / alpha;
-+ if (ret < 0)
-+ return 0;
-+ if (ret > 255)
-+ return 255;
-+ return ret;
-+ }
-+}
-+
-+LinkSubmitForm::LinkSubmitForm(Object *actionObj)
-+{
-+ if (!actionObj->isDict())
-+ return;
-+
-+ Object obj1 = actionObj->dictLookup("F");
-+ if (!obj1.isNull())
-+ {
-+ if (obj1.isDict())
-+ {
-+ Object obj3 = obj1.dictLookup("FS");
-+ if (!obj3.isNull())
-+ {
-+ if (obj3.isName())
-+ {
-+ POPPLER_CONST char *name = obj3.getName();
-+ if (!strcmp(name, "URL"))
-+ {
-+ Object obj2 = obj1.dictLookup("F");
-+ if (!obj2.isNull())
-+ fileName = obj2.getString()->copy();
-+ }
-+ }
-+ }
-+ }
-+ }
-+ obj1 = actionObj->dictLookup("Flags");
-+ if (!obj1.isNull())
-+ {
-+ if (obj1.isNum())
-+ m_flags = obj1.getInt();
-+ }
-+}
-+
-+LinkSubmitForm::~LinkSubmitForm()
-+{
-+ delete fileName;
-+}
-+
-+LinkImportData::LinkImportData(Object *actionObj)
-+{
-+ if (!actionObj->isDict())
-+ return;
-+ Object obj1 = actionObj->dictLookup("F");
-+ if (obj1.isNull())
-+ return;
-+
-+ Object obj3 = getFileSpecNameForPlatform(&obj1);
-+ if (!obj3.isNull())
-+ fileName = obj3.getString()->copy();
-+}
-+
-+LinkImportData::~LinkImportData()
-+{
-+ delete fileName;
-+}
-+
-+AnoOutputDev::~AnoOutputDev()
-+{
-+ delete m_fontName;
-+ delete m_itemText;
-+}
-+
-+AnoOutputDev::AnoOutputDev(ScribusDoc* doc, QStringList *importedColors)
-+{
-+ m_doc = doc;
-+ m_importedColors = importedColors;
-+ CurrColorText = "Black";
-+ CurrColorFill = CommonStrings::None;
-+ CurrColorStroke = CommonStrings::None;
-+}
-+
-+void AnoOutputDev::eoFill(GfxState *state)
-+{
-+ int shade = 100;
-+ CurrColorFill = getColor(state->getFillColorSpace(), state->getFillColor(), &shade);
-+}
-+
-+void AnoOutputDev::fill(GfxState *state)
-+{
-+ int shade = 100;
-+ CurrColorFill = getColor(state->getFillColorSpace(), state->getFillColor(), &shade);
-+}
-+
-+void AnoOutputDev::stroke(GfxState *state)
-+{
-+ int shade = 100;
-+ CurrColorStroke = getColor(state->getStrokeColorSpace(), state->getStrokeColor(), &shade);
-+}
-+
-+void AnoOutputDev::drawString(GfxState *state, POPPLER_CONST GooString *s)
-+{
-+ int shade = 100;
-+ CurrColorText = getColor(state->getFillColorSpace(), state->getFillColor(), &shade);
-+ m_fontSize = state->getFontSize();
-+ if (state->getFont())
-+ m_fontName = state->getFont()->getName()->copy();
-+ m_itemText = s->copy();
-+}
-+
-+QString AnoOutputDev::getColor(GfxColorSpace *color_space, POPPLER_CONST_070 GfxColor *color, int *shade)
-+{
-+ QString fNam;
-+ QString namPrefix = "FromPDF";
-+ ScColor tmp;
-+ tmp.setSpotColor(false);
-+ tmp.setRegistrationColor(false);
-+ *shade = 100;
-+ if ((color_space->getMode() == csDeviceRGB) || (color_space->getMode() == csCalRGB))
-+ {
-+ GfxRGB rgb;
-+ color_space->getRGB(color, &rgb);
-+ double Rc = colToDbl(rgb.r);
-+ double Gc = colToDbl(rgb.g);
-+ double Bc = colToDbl(rgb.b);
-+ tmp.setRgbColorF(Rc, Gc, Bc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if (color_space->getMode() == csDeviceCMYK)
-+ {
-+ GfxCMYK cmyk;
-+ color_space->getCMYK(color, &cmyk);
-+ double Cc = colToDbl(cmyk.c);
-+ double Mc = colToDbl(cmyk.m);
-+ double Yc = colToDbl(cmyk.y);
-+ double Kc = colToDbl(cmyk.k);
-+ tmp.setCmykColorF(Cc, Mc, Yc, Kc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if ((color_space->getMode() == csCalGray) || (color_space->getMode() == csDeviceGray))
-+ {
-+ GfxGray gray;
-+ color_space->getGray(color, &gray);
-+ double Kc = 1.0 - colToDbl(gray);
-+ tmp.setCmykColorF(0, 0, 0, Kc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if (color_space->getMode() == csSeparation)
-+ {
-+ GfxSeparationColorSpace* sepColorSpace = (GfxSeparationColorSpace*)color_space;
-+ GfxColorSpace* altColorSpace = sepColorSpace->getAlt();
-+ QString name = QString(sepColorSpace->getName()->getCString());
-+ bool isRegistrationColor = (name == "All");
-+ if (isRegistrationColor)
-+ {
-+ tmp.setCmykColorF(1.0, 1.0, 1.0, 1.0);
-+ tmp.setRegistrationColor(true);
-+ name = "Registration";
-+ }
-+ else if ((altColorSpace->getMode() == csDeviceRGB) || (altColorSpace->getMode() == csCalRGB))
-+ {
-+ double x = 1.0;
-+ double comps[gfxColorMaxComps];
-+ sepColorSpace->getFunc()->transform(&x, comps);
-+ tmp.setRgbColorF(comps[0], comps[1], comps[2]);
-+ }
-+ else if ((altColorSpace->getMode() == csCalGray) || (altColorSpace->getMode() == csDeviceGray))
-+ {
-+ double x = 1.0;
-+ double comps[gfxColorMaxComps];
-+ sepColorSpace->getFunc()->transform(&x, comps);
-+ tmp.setCmykColorF(0.0, 0.0, 0.0, 1.0 - comps[0]);
-+ }
-+ else if (altColorSpace->getMode() == csLab)
-+ {
-+ double x = 1.0;
-+ double comps[gfxColorMaxComps];
-+ sepColorSpace->getFunc()->transform(&x, comps);
-+ tmp.setLabColor(comps[0], comps[1], comps[2]);
-+ }
-+ else
-+ {
-+ GfxCMYK cmyk;
-+ color_space->getCMYK(color, &cmyk);
-+ double Cc = colToDbl(cmyk.c);
-+ double Mc = colToDbl(cmyk.m);
-+ double Yc = colToDbl(cmyk.y);
-+ double Kc = colToDbl(cmyk.k);
-+ tmp.setCmykColorF(Cc, Mc, Yc, Kc);
-+ }
-+ tmp.setSpotColor(true);
-+
-+ fNam = m_doc->PageColors.tryAddColor(name, tmp);
-+ *shade = qRound(colToDbl(color->c[0]) * 100);
-+ }
-+ else
-+ {
-+ GfxRGB rgb;
-+ color_space->getRGB(color, &rgb);
-+ double Rc = colToDbl(rgb.r);
-+ double Gc = colToDbl(rgb.g);
-+ double Bc = colToDbl(rgb.b);
-+ tmp.setRgbColorF(Rc, Gc, Bc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ // qDebug() << "update fill color other colorspace" << color_space->getMode() << "treating as rgb" << Rc << Gc << Bc;
-+ }
-+ if (fNam == namPrefix+tmp.name())
-+ m_importedColors->append(fNam);
-+ return fNam;
-+}
-+
-+SlaOutputDev::SlaOutputDev(ScribusDoc* doc, QList<PageItem*> *Elements, QStringList *importedColors, int flags)
-+{
-+ m_doc = doc;
-+ m_Elements = Elements;
-+ pushGroup();
-+ m_importedColors = importedColors;
-+ CurrColorStroke = "Black";
-+ CurrColorFill = "Black";
-+ tmpSel = new Selection(m_doc, false);
-+ importerFlags = flags;
-+ currentLayer = m_doc->activeLayer();
-+ layersSetByOCG = false;
-+}
-+
-+SlaOutputDev::~SlaOutputDev()
-+{
-+ m_groupStack.clear();
-+ tmpSel->clear();
-+ delete tmpSel;
-+ delete m_fontEngine;
-+}
-+
-+/* get Actions not implemented by Poppler */
-+LinkAction* SlaOutputDev::SC_getAction(AnnotWidget *ano)
-+{
-+ LinkAction *linkAction = nullptr;
-+ Object obj;
-+ Ref refa = ano->getRef();
-+
-+ obj = xref->fetch(refa.num, refa.gen);
-+ if (obj.isDict())
-+ {
-+ Dict* adic = obj.getDict();
-+ POPPLER_CONST_075 Object POPPLER_REF additionalActions = adic->lookupNF("A");
-+ Object additionalActionsObject = additionalActions.fetch(pdfDoc->getXRef());
-+ if (additionalActionsObject.isDict())
-+ {
-+ Object actionObject = additionalActionsObject.dictLookup("S");
-+ if (actionObject.isName("ImportData"))
-+ {
-+ linkAction = new LinkImportData(&additionalActionsObject);
-+ }
-+ else if (actionObject.isName("SubmitForm"))
-+ {
-+ linkAction = new LinkSubmitForm(&additionalActionsObject);
-+ }
-+ }
-+ }
-+ return linkAction;
-+}
-+
-+/* Replacement for the crippled Poppler function LinkAction* AnnotWidget::getAdditionalAction(AdditionalActionsType type) */
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+std::unique_ptr<LinkAction> SlaOutputDev::SC_getAdditionalAction(const char *key, AnnotWidget *ano)
-+{
-+ std::unique_ptr<LinkAction> linkAction;
-+#else
-+LinkAction* SlaOutputDev::SC_getAdditionalAction(const char *key, AnnotWidget *ano)
-+{
-+ LinkAction *linkAction = nullptr;
-+#endif
-+ Object obj;
-+ Ref refa = ano->getRef();
-+
-+ obj = xref->fetch(refa.num, refa.gen);
-+ if (obj.isDict())
-+ {
-+ Dict* adic = obj.getDict();
-+ POPPLER_CONST_075 Object POPPLER_REF additionalActions = adic->lookupNF("AA");
-+ Object additionalActionsObject = additionalActions.fetch(pdfDoc->getXRef());
-+ if (additionalActionsObject.isDict())
-+ {
-+ Object actionObject = additionalActionsObject.dictLookup(key);
-+ if (actionObject.isDict())
-+ linkAction = LinkAction::parseAction(&actionObject, pdfDoc->getCatalog()->getBaseURI());
-+ }
-+ }
-+ return linkAction;
-+}
-+
-+GBool SlaOutputDev::annotations_callback(Annot *annota, void *user_data)
-+{
-+ SlaOutputDev *dev = (SlaOutputDev*)user_data;
-+ PDFRectangle *box = annota->getRect();
-+ double xCoor = dev->m_doc->currentPage()->xOffset() + box->x1 - dev->cropOffsetX;
-+ double yCoor = dev->m_doc->currentPage()->yOffset() + dev->m_doc->currentPage()->height() - box->y2 + dev->cropOffsetY;
-+ double width = box->x2 - box->x1;
-+ double height = box->y2 - box->y1;
-+ if (dev->rotate == 90)
-+ {
-+ xCoor = dev->m_doc->currentPage()->xOffset() - dev->cropOffsetX + box->y2;
-+ yCoor = dev->m_doc->currentPage()->yOffset() + dev->cropOffsetY + box->x1;
-+ }
-+ else if (dev->rotate == 180)
-+ {
-+ xCoor = dev->m_doc->currentPage()->xOffset() - dev->cropOffsetX + dev->m_doc->currentPage()->width() - box->x1;
-+ yCoor = dev->m_doc->currentPage()->yOffset() + dev->cropOffsetY + box->y2;
-+ }
-+ else if (dev->rotate == 270)
-+ {
-+ xCoor = dev->m_doc->currentPage()->xOffset() - dev->cropOffsetX + dev->m_doc->currentPage()->width() - box->y2;
-+ yCoor = dev->m_doc->currentPage()->yOffset() + dev->cropOffsetY + dev->m_doc->currentPage()->height() - box->x1;
-+ }
-+ bool retVal = true;
-+ if (annota->getType() == Annot::typeText)
-+ retVal = !dev->handleTextAnnot(annota, xCoor, yCoor, width, height);
-+ else if (annota->getType() == Annot::typeLink)
-+ retVal = !dev->handleLinkAnnot(annota, xCoor, yCoor, width, height);
-+ else if (annota->getType() == Annot::typeWidget)
-+ retVal = !dev->handleWidgetAnnot(annota, xCoor, yCoor, width, height);
-+ return retVal;
-+}
-+
-+bool SlaOutputDev::handleTextAnnot(Annot* annota, double xCoor, double yCoor, double width, double height)
-+{
-+ AnnotText *anl = (AnnotText*)annota;
-+ int z = m_doc->itemAdd(PageItem::TextFrame, PageItem::Rectangle, xCoor, yCoor, width, height, 0, CommonStrings::None, CommonStrings::None);
-+ PageItem *ite = m_doc->Items->at(z);
-+ int flg = annota->getFlags();
-+ if (!(flg & 16))
-+ ite->setRotation(rotate, true);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillEvenOdd(false);
-+ ite->Clip = flattenPath(ite->PoLine, ite->Segments);
-+ ite->ContourLine = ite->PoLine.copy();
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ ite->setIsAnnotation(true);
-+ ite->AutoName = false;
-+ ite->annotation().setType(Annotation::Text);
-+ ite->annotation().setActionType(Annotation::Action_None);
-+ ite->annotation().setAnOpen(anl->getOpen());
-+ QString iconName = UnicodeParsedString(anl->getIcon());
-+ if (iconName == "Note")
-+ ite->annotation().setIcon(Annotation::Icon_Note);
-+ else if (iconName == "Comment")
-+ ite->annotation().setIcon(Annotation::Icon_Comment);
-+ else if (iconName == "Key")
-+ ite->annotation().setIcon(Annotation::Icon_Key);
-+ else if (iconName == "Help")
-+ ite->annotation().setIcon(Annotation::Icon_Help);
-+ else if (iconName == "NewParagraph")
-+ ite->annotation().setIcon(Annotation::Icon_NewParagraph);
-+ else if (iconName == "Paragraph")
-+ ite->annotation().setIcon(Annotation::Icon_Paragraph);
-+ else if (iconName == "Insert")
-+ ite->annotation().setIcon(Annotation::Icon_Insert);
-+ else if (iconName == "Cross")
-+ ite->annotation().setIcon(Annotation::Icon_Cross);
-+ else if (iconName == "Circle")
-+ ite->annotation().setIcon(Annotation::Icon_Circle);
-+ else
-+ ite->annotation().setIcon(Annotation::Icon_Note);
-+ ite->setItemName( CommonStrings::itemName_TextAnnotation + QString("%1").arg(m_doc->TotalItems));
-+ ite->itemText.insertChars(UnicodeParsedString(annota->getContents()));
-+ ite->itemText.trim();
-+ return true;
-+}
-+
-+bool SlaOutputDev::handleLinkAnnot(Annot* annota, double xCoor, double yCoor, double width, double height)
-+{
-+ AnnotLink *anl = (AnnotLink*)annota;
-+ LinkAction *act = anl->getAction();
-+ if (!act)
-+ return false;
-+ bool validLink = false;
-+ int pagNum = 0;
-+ int xco = 0;
-+ int yco = 0;
-+ QString fileName = "";
-+ if (act->getKind() == actionGoTo)
-+ {
-+ LinkGoTo *gto = (LinkGoTo*) act;
-+ POPPLER_CONST LinkDest *dst = gto->getDest();
-+ if (dst)
-+ {
-+ if (dst->getKind() == destXYZ)
-+ {
-+ if (dst->isPageRef())
-+ {
-+ Ref dstr = dst->getPageRef();
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0)
-+ pagNum = pdfDoc->findPage(dstr);
-+#else
-+ pagNum = pdfDoc->findPage(dstr.num, dstr.gen);
-+#endif
-+ }
-+ else
-+ pagNum = dst->getPageNum();
-+ xco = dst->getLeft();
-+ yco = dst->getTop();
-+ validLink = true;
-+ }
-+ }
-+ else
-+ {
-+ POPPLER_CONST GooString *ndst = gto->getNamedDest();
-+ if (ndst)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
-+#else
-+ LinkDest *dstn = pdfDoc->findDest(ndst);
-+#endif
-+ if (dstn)
-+ {
-+ if (dstn->getKind() == destXYZ)
-+ {
-+ if (dstn->isPageRef())
-+ {
-+ Ref dstr = dstn->getPageRef();
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0)
-+ pagNum = pdfDoc->findPage(dstr);
-+#else
-+ pagNum = pdfDoc->findPage(dstr.num, dstr.gen);
-+#endif
-+ }
-+ else
-+ pagNum = dstn->getPageNum();
-+ xco = dstn->getLeft();
-+ yco = dstn->getTop();
-+ validLink = true;
-+ }
-+ }
-+ }
-+ }
-+ }
-+ else if (act->getKind() == actionGoToR)
-+ {
-+ LinkGoToR *gto = (LinkGoToR*)act;
-+ fileName = UnicodeParsedString(gto->getFileName());
-+ POPPLER_CONST LinkDest *dst = gto->getDest();
-+ if (dst)
-+ {
-+ if (dst->getKind() == destXYZ)
-+ {
-+ pagNum = dst->getPageNum();
-+ xco = dst->getLeft();
-+ yco = dst->getTop();
-+ validLink = true;
-+ }
-+ }
-+ else
-+ {
-+ POPPLER_CONST GooString *ndst = gto->getNamedDest();
-+ if (ndst)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
-+#else
-+ LinkDest *dstn = pdfDoc->findDest(ndst);
-+#endif
-+ if (dstn)
-+ {
-+ if (dstn->getKind() == destXYZ)
-+ {
-+ pagNum = dstn->getPageNum();
-+ xco = dstn->getLeft();
-+ yco = dstn->getTop();
-+ validLink = true;
-+ }
-+ }
-+ }
-+ }
-+ }
-+ else if (act->getKind() == actionURI)
-+ {
-+ LinkURI *gto = (LinkURI*)act;
-+ validLink = true;
-+ fileName = UnicodeParsedString(gto->getURI());
-+ }
-+ if (validLink)
-+ {
-+ int z = m_doc->itemAdd(PageItem::TextFrame, PageItem::Rectangle, xCoor, yCoor, width, height, 0, CommonStrings::None, CommonStrings::None);
-+ PageItem *ite = m_doc->Items->at(z);
-+ int flg = annota->getFlags();
-+ if (!(flg & 16))
-+ ite->setRotation(rotate, true);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillEvenOdd(false);
-+ ite->Clip = flattenPath(ite->PoLine, ite->Segments);
-+ ite->ContourLine = ite->PoLine.copy();
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ ite->setIsAnnotation(true);
-+ ite->AutoName = false;
-+ if (act->getKind() == actionGoTo)
-+ {
-+ ite->annotation().setZiel((pagNum > 0) ? (pagNum - 1) : (m_actPage - 1));
-+ ite->annotation().setAction(QString("%1 %2").arg(xco).arg(yco));
-+ ite->annotation().setActionType(2);
-+ }
-+ else if (act->getKind() == actionGoToR)
-+ {
-+ ite->annotation().setZiel((pagNum > 0) ? (pagNum - 1) : (m_actPage - 1));
-+ ite->annotation().setExtern(fileName);
-+ ite->annotation().setAction(QString("%1 %2").arg(xco).arg(yco));
-+ ite->annotation().setActionType(9);
-+ }
-+ else if (act->getKind() == actionURI)
-+ {
-+ ite->annotation().setAction("");
-+ ite->annotation().setExtern(fileName);
-+ ite->annotation().setActionType(8);
-+ }
-+ ite->annotation().setType(Annotation::Link);
-+ ite->setItemName( CommonStrings::itemName_LinkAnnotation + QString("%1").arg(m_doc->TotalItems));
-+ }
-+ return validLink;
-+}
-+
-+bool SlaOutputDev::handleWidgetAnnot(Annot* annota, double xCoor, double yCoor, double width, double height)
-+{
-+ bool retVal = false;
-+ bool found = false;
-+
-+ if (!m_formWidgets)
-+ return false;
-+
-+ int formcount = m_formWidgets->getNumWidgets();
-+ for (int i = 0; i < formcount; ++i)
-+ {
-+ FormWidget *fm = m_formWidgets->getWidget(i);
-+ if (!fm)
-+ continue;
-+ AnnotWidget *ano = fm->getWidgetAnnotation();
-+ if (!ano)
-+ continue;
-+ if (ano != (AnnotWidget*) annota)
-+ continue;
-+ found = true;
-+ int wtyp = -1;
-+ if (fm->getType() == formButton)
-+ {
-+ FormWidgetButton *btn = (FormWidgetButton*)fm;
-+ if (btn)
-+ {
-+ if (btn->getButtonType() == formButtonCheck)
-+ {
-+ wtyp = Annotation::Checkbox;
-+ retVal = true;
-+ }
-+ else if (btn->getButtonType() == formButtonPush)
-+ {
-+ wtyp = Annotation::Button;
-+ retVal = true;
-+ }
-+ else if (btn->getButtonType() == formButtonRadio)
-+ {
-+ wtyp = Annotation::RadioButton;
-+ retVal = true;
-+ }
-+ }
-+ }
-+ else if (fm->getType() == formText)
-+ {
-+ wtyp = Annotation::Textfield;
-+ retVal = true;
-+ }
-+ else if (fm->getType() == formChoice)
-+ {
-+ FormWidgetChoice *btn = (FormWidgetChoice*)fm;
-+ if (btn)
-+ {
-+ if (btn->isCombo())
-+ {
-+ wtyp = Annotation::Combobox;
-+ retVal = true;
-+ }
-+ else if (btn->isListBox())
-+ {
-+ wtyp = Annotation::Listbox;
-+ retVal = true;
-+ }
-+ }
-+ }
-+ if (retVal)
-+ {
-+ AnnotAppearanceCharacs *achar = ano->getAppearCharacs();
-+ bool fgFound = false;
-+ bool bgFound = false;
-+ if (achar)
-+ {
-+ POPPLER_CONST AnnotColor *bgCol = achar->getBackColor();
-+ if (bgCol)
-+ {
-+ bgFound = true;
-+ CurrColorFill = getAnnotationColor(bgCol);
-+ }
-+ else
-+ CurrColorFill = CommonStrings::None;
-+ POPPLER_CONST AnnotColor *fgCol = achar->getBorderColor();
-+ if (fgCol)
-+ {
-+ fgFound = true;
-+ CurrColorStroke = getAnnotationColor(fgCol);
-+ }
-+ else
-+ {
-+ fgCol = achar->getBackColor();
-+ if (fgCol)
-+ CurrColorStroke = getAnnotationColor(fgCol);
-+ else
-+ CurrColorStroke = CommonStrings::None;
-+ }
-+ }
-+ QString CurrColorText = "Black";
-+ double fontSize = 12;
-+ QString fontName = "";
-+ QString itemText = "";
-+ AnnotAppearance *apa = annota->getAppearStreams();
-+ if (apa || !achar)
-+ {
-+ AnoOutputDev *Adev = new AnoOutputDev(m_doc, m_importedColors);
-+ Gfx *gfx = new Gfx(pdfDoc, Adev, pdfDoc->getPage(m_actPage)->getResourceDict(), annota->getRect(), nullptr);
-+ ano->draw(gfx, false);
-+ if (!bgFound)
-+ CurrColorFill = Adev->CurrColorFill;
-+ if (!fgFound)
-+ CurrColorStroke = Adev->CurrColorStroke;
-+ CurrColorText = Adev->CurrColorText;
-+ fontSize = Adev->m_fontSize;
-+ fontName = UnicodeParsedString(Adev->m_fontName);
-+ itemText = UnicodeParsedString(Adev->m_itemText);
-+ delete gfx;
-+ delete Adev;
-+ }
-+ int z = m_doc->itemAdd(PageItem::TextFrame, PageItem::Rectangle, xCoor, yCoor, width, height, 0, CurrColorFill, CommonStrings::None);
-+ PageItem *ite = m_doc->Items->at(z);
-+ int flg = annota->getFlags();
-+ if (!(flg & 16))
-+ ite->setRotation(rotate, true);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillEvenOdd(false);
-+ ite->Clip = flattenPath(ite->PoLine, ite->Segments);
-+ ite->ContourLine = ite->PoLine.copy();
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ ite->setIsAnnotation(true);
-+ ite->AutoName = false;
-+ AnnotBorder *brd = annota->getBorder();
-+ if (brd)
-+ {
-+ int bsty = brd->getStyle();
-+ if (bsty == AnnotBorder::borderDashed)
-+ bsty = 1;
-+ else if (bsty == AnnotBorder::borderBeveled)
-+ bsty = 3;
-+ else if (bsty == AnnotBorder::borderInset)
-+ bsty = 4;
-+ else if (bsty == AnnotBorder::borderUnderlined)
-+ bsty = 2;
-+ ite->annotation().setBorderStyle(bsty);
-+ ite->annotation().setBorderColor(CurrColorStroke);
-+ ite->annotation().setBorderWidth(qRound(brd->getWidth()));
-+ }
-+ else
-+ {
-+ ite->annotation().setBorderStyle(0);
-+ ite->annotation().setBorderColor(CommonStrings::None);
-+ ite->annotation().setBorderWidth(0);
-+ }
-+ QString tmTxt = "";
-+ tmTxt = UnicodeParsedString(fm->getPartialName());
-+ if (!tmTxt.isEmpty())
-+ ite->setItemName(tmTxt);
-+ tmTxt = "";
-+ tmTxt = UnicodeParsedString(fm->getAlternateUiName());
-+ if (!tmTxt.isEmpty())
-+ ite->annotation().setToolTip(tmTxt);
-+ tmTxt = "";
-+ if (achar)
-+ {
-+ tmTxt = UnicodeParsedString(achar->getRolloverCaption());
-+ if (!tmTxt.isEmpty())
-+ ite->annotation().setRollOver(tmTxt);
-+ tmTxt = "";
-+ tmTxt = UnicodeParsedString(achar->getAlternateCaption());
-+ if (!tmTxt.isEmpty())
-+ ite->annotation().setDown(tmTxt);
-+ }
-+ ite->annotation().setType(wtyp);
-+ ite->annotation().setFlag(0);
-+ if (flg & 2)
-+ ite->annotation().setVis(1);
-+ if (flg & 32)
-+ ite->annotation().setVis(3);
-+ if (wtyp == Annotation::Button)
-+ {
-+ ite->setFillColor(CurrColorFill);
-+ if (achar)
-+ ite->itemText.insertChars(UnicodeParsedString(achar->getNormalCaption()));
-+ else
-+ ite->itemText.insertChars(itemText);
-+ applyTextStyle(ite, fontName, CurrColorText, fontSize);
-+ ite->annotation().addToFlag(Annotation::Flag_PushButton);
-+ FormWidgetButton *btn = (FormWidgetButton*)fm;
-+ if (!btn->isReadOnly())
-+ ite->annotation().addToFlag(Annotation::Flag_Edit);
-+ handleActions(ite, ano);
-+ }
-+ else if (wtyp == Annotation::Textfield)
-+ {
-+ FormWidgetText *btn = (FormWidgetText*)fm;
-+ if (btn)
-+ {
-+ ite->itemText.insertChars(UnicodeParsedString(btn->getContent()));
-+ applyTextStyle(ite, fontName, CurrColorText, fontSize);
-+ ite->itemText.trim();
-+ if (btn->isMultiline())
-+ ite->annotation().addToFlag(Annotation::Flag_Multiline);
-+ if (btn->isPassword())
-+ ite->annotation().addToFlag(Annotation::Flag_Password);
-+ if (btn->noSpellCheck())
-+ ite->annotation().addToFlag(Annotation::Flag_DoNotSpellCheck);
-+ if (btn->noScroll())
-+ ite->annotation().addToFlag(Annotation::Flag_DoNotScroll);
-+ int mxLen = btn->getMaxLen();
-+ if (mxLen > 0)
-+ ite->annotation().setMaxChar(mxLen);
-+ else
-+ ite->annotation().setMaxChar(-1);
-+ if (!btn->isReadOnly())
-+ ite->annotation().addToFlag(Annotation::Flag_Edit);
-+ handleActions(ite, ano);
-+ }
-+ }
-+ else if (wtyp == Annotation::Checkbox)
-+ {
-+ FormWidgetButton *btn = (FormWidgetButton*)fm;
-+ if (btn)
-+ {
-+ ite->annotation().setIsChk(btn->getState());
-+ ite->annotation().setCheckState(ite->annotation().IsChk());
-+ handleActions(ite, ano);
-+ if (itemText == "4")
-+ ite->annotation().setChkStil(0);
-+ else if (itemText == "5")
-+ ite->annotation().setChkStil(1);
-+ else if (itemText == "F")
-+ ite->annotation().setChkStil(2);
-+ else if (itemText == "l")
-+ ite->annotation().setChkStil(3);
-+ else if (itemText == "H")
-+ ite->annotation().setChkStil(4);
-+ else if (itemText == "n")
-+ ite->annotation().setChkStil(5);
-+ else
-+ ite->annotation().setChkStil(0);
-+ if (!btn->isReadOnly())
-+ ite->annotation().addToFlag(Annotation::Flag_Edit);
-+ }
-+ }
-+ else if ((wtyp == Annotation::Combobox) || (wtyp == Annotation::Listbox))
-+ {
-+ FormWidgetChoice *btn = (FormWidgetChoice*)fm;
-+ if (btn)
-+ {
-+ if (wtyp == 5)
-+ ite->annotation().addToFlag(Annotation::Flag_Combo);
-+ int co = btn->getNumChoices();
-+ if (co > 0)
-+ {
-+ QString inh = UnicodeParsedString(btn->getChoice(0));
-+ for (int a = 1; a < co; a++)
-+ {
-+ inh += "\n" + UnicodeParsedString(btn->getChoice(a));
-+ }
-+ ite->itemText.insertChars(inh);
-+ }
-+ applyTextStyle(ite, fontName, CurrColorText, fontSize);
-+ if (!btn->isReadOnly())
-+ ite->annotation().addToFlag(Annotation::Flag_Edit);
-+ handleActions(ite, ano);
-+ }
-+ }
-+ else if (wtyp == Annotation::RadioButton)
-+ {
-+ FormWidgetButton *btn = (FormWidgetButton*)fm;
-+ if (btn)
-+ {
-+ ite->setItemName( CommonStrings::itemName_RadioButton + QString("%1").arg(m_doc->TotalItems));
-+ ite->annotation().setIsChk(btn->getState());
-+ ite->annotation().setCheckState(ite->annotation().IsChk());
-+ handleActions(ite, ano);
-+ m_radioButtons.insert(annota->getRef().num, ite);
-+ }
-+ }
-+ }
-+ break;
-+ }
-+ if (!found)
-+ {
-+ Object obj1;
-+ Ref refa = annota->getRef();
-+ obj1 = xref->fetch(refa.num, refa.gen);
-+ if (obj1.isDict())
-+ {
-+ Dict* dict = obj1.getDict();
-+ Object obj2 = dict->lookup("Kids");
-+ //childs
-+ if (obj2.isArray())
-+ {
-+ // Load children
-+ QList<int> radList;
-+ for (int i = 0; i < obj2.arrayGetLength(); i++)
-+ {
-+ POPPLER_CONST_075 Object POPPLER_REF childRef = obj2.arrayGetNF(i);
-+ if (!childRef.isRef())
-+ continue;
-+ Object childObj = obj2.arrayGet(i);
-+ if (!childObj.isDict())
-+ continue;
-+ const Ref ref = childRef.getRef();
-+ radList.append(ref.num);
-+ }
-+ QString tmTxt = UnicodeParsedString(annota->getName());
-+ m_radioMap.insert(tmTxt, radList);
-+ }
-+ }
-+ }
-+ return retVal;
-+}
-+
-+void SlaOutputDev::applyTextStyle(PageItem* ite, const QString& fontName, const QString& textColor, double fontSize)
-+{
-+ CharStyle newStyle;
-+ newStyle.setFillColor(textColor);
-+ newStyle.setFontSize(fontSize * 10);
-+ if (!fontName.isEmpty())
-+ {
-+ SCFontsIterator it(*m_doc->AllFonts);
-+ for ( ; it.hasNext() ; it.next())
-+ {
-+ ScFace& face(it.current());
-+ if ((face.psName() == fontName) && (face.usable()) && (face.type() == ScFace::TTF))
-+ {
-+ newStyle.setFont(face);
-+ break;
-+ }
-+ if ((face.family() == fontName) && (face.usable()) && (face.type() == ScFace::TTF))
-+ {
-+ newStyle.setFont(face);
-+ break;
-+ }
-+ if ((face.scName() == fontName) && (face.usable()) && (face.type() == ScFace::TTF))
-+ {
-+ newStyle.setFont(face);
-+ break;
-+ }
-+ }
-+ }
-+ ParagraphStyle dstyle(ite->itemText.defaultStyle());
-+ dstyle.charStyle().applyCharStyle(newStyle);
-+ ite->itemText.setDefaultStyle(dstyle);
-+ ite->itemText.applyCharStyle(0, ite->itemText.length(), newStyle);
-+ ite->invalid = true;
-+}
-+
-+void SlaOutputDev::handleActions(PageItem* ite, AnnotWidget *ano)
-+{
-+ LinkAction *Lact = ano->getAction();
-+ if (Lact)
-+ {
-+ if (Lact->getKind() == actionJavaScript)
-+ {
-+ LinkJavaScript *jsa = (LinkJavaScript*)Lact;
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setActionType(1);
-+ ite->annotation().setAction(UnicodeParsedString(jsa->getScript()));
-+ }
-+ }
-+ else if (Lact->getKind() == actionGoTo)
-+ {
-+ int pagNum = 0;
-+ int xco = 0;
-+ int yco = 0;
-+ LinkGoTo *gto = (LinkGoTo*)Lact;
-+ POPPLER_CONST LinkDest *dst = gto->getDest();
-+ if (dst)
-+ {
-+ if (dst->getKind() == destXYZ)
-+ {
-+ if (dst->isPageRef())
-+ {
-+ Ref dstr = dst->getPageRef();
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0)
-+ pagNum = pdfDoc->findPage(dstr);
-+#else
-+ pagNum = pdfDoc->findPage(dstr.num, dstr.gen);
-+#endif
-+ }
-+ else
-+ pagNum = dst->getPageNum();
-+ xco = dst->getLeft();
-+ yco = dst->getTop();
-+ ite->annotation().setZiel((pagNum > 0) ? (pagNum - 1) : (m_actPage - 1));
-+ ite->annotation().setAction(QString("%1 %2").arg(xco).arg(yco));
-+ ite->annotation().setActionType(2);
-+ }
-+ }
-+ else
-+ {
-+ POPPLER_CONST GooString *ndst = gto->getNamedDest();
-+ if (ndst)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
-+#else
-+ LinkDest *dstn = pdfDoc->findDest(ndst);
-+#endif
-+ if (dstn)
-+ {
-+ if (dstn->getKind() == destXYZ)
-+ {
-+ if (dstn->isPageRef())
-+ {
-+ Ref dstr = dstn->getPageRef();
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 76, 0)
-+ pagNum = pdfDoc->findPage(dstr);
-+#else
-+ pagNum = pdfDoc->findPage(dstr.num, dstr.gen);
-+#endif
-+ }
-+ else
-+ pagNum = dstn->getPageNum();
-+ xco = dstn->getLeft();
-+ yco = dstn->getTop();
-+ ite->annotation().setZiel((pagNum > 0) ? (pagNum - 1) : (m_actPage - 1));
-+ ite->annotation().setAction(QString("%1 %2").arg(xco).arg(yco));
-+ ite->annotation().setActionType(2);
-+ }
-+ }
-+ }
-+ }
-+ }
-+ else if (Lact->getKind() == actionGoToR)
-+ {
-+ int pagNum = 0;
-+ int xco = 0;
-+ int yco = 0;
-+ LinkGoToR *gto = (LinkGoToR*)Lact;
-+ QString fileName = UnicodeParsedString(gto->getFileName());
-+ POPPLER_CONST LinkDest *dst = gto->getDest();
-+ if (dst)
-+ {
-+ if (dst->getKind() == destXYZ)
-+ {
-+ pagNum = dst->getPageNum();
-+ xco = dst->getLeft();
-+ yco = dst->getTop();
-+ ite->annotation().setZiel((pagNum > 0) ? (pagNum - 1) : (m_actPage - 1));
-+ ite->annotation().setExtern(fileName);
-+ ite->annotation().setAction(QString("%1 %2").arg(xco).arg(yco));
-+ ite->annotation().setActionType(9);
-+ }
-+ }
-+ else
-+ {
-+ POPPLER_CONST GooString *ndst = gto->getNamedDest();
-+ if (ndst)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ std::unique_ptr<LinkDest> dstn = pdfDoc->findDest(ndst);
-+#else
-+ LinkDest *dstn = pdfDoc->findDest(ndst);
-+#endif
-+ if (dstn)
-+ {
-+ if (dstn->getKind() == destXYZ)
-+ {
-+ pagNum = dstn->getPageNum();
-+ xco = dstn->getLeft();
-+ yco = dstn->getTop();
-+ ite->annotation().setZiel((pagNum > 0) ? (pagNum - 1) : (m_actPage - 1));
-+ ite->annotation().setExtern(fileName);
-+ ite->annotation().setAction(QString("%1 %2").arg(xco).arg(yco));
-+ ite->annotation().setActionType(9);
-+ }
-+ }
-+ }
-+ }
-+ }
-+ else if (Lact->getKind() == actionUnknown)
-+ {
-+ LinkUnknown *uno = (LinkUnknown*)Lact;
-+ QString actString = UnicodeParsedString(uno->getAction());
-+ if (actString == "ResetForm")
-+ {
-+ ite->annotation().setActionType(4);
-+ }
-+ else
-+ {
-+ LinkAction* scact = SC_getAction(ano);
-+ if (scact)
-+ {
-+ if (actString == "ImportData")
-+ {
-+ LinkImportData *impo = (LinkImportData*)scact;
-+ if (impo->isOk())
-+ {
-+ ite->annotation().setActionType(5);
-+ ite->annotation().setAction(UnicodeParsedString(impo->getFileName()));
-+ }
-+ }
-+ else if (actString == "SubmitForm")
-+ {
-+ LinkSubmitForm *impo = (LinkSubmitForm*)scact;
-+ if (impo->isOk())
-+ {
-+ ite->annotation().setActionType(3);
-+ ite->annotation().setAction(UnicodeParsedString(impo->getFileName()));
-+ int fl = impo->getFlags();
-+ if (fl == 0)
-+ ite->annotation().setHTML(0);
-+ else if (fl == 4)
-+ ite->annotation().setHTML(1);
-+ else if (fl == 64)
-+ ite->annotation().setHTML(2);
-+ else if (fl == 512)
-+ ite->annotation().setHTML(3);
-+ }
-+ }
-+ }
-+ }
-+ }
-+ else if (Lact->getKind() == actionNamed)
-+ {
-+ LinkNamed *uno = (LinkNamed*)Lact;
-+ ite->annotation().setActionType(10);
-+ ite->annotation().setAction(UnicodeParsedString(uno->getName()));
-+ }
-+ else
-+ qDebug() << "Found unsupported Action of type" << Lact->getKind();
-+ }
-+ auto Aact = SC_getAdditionalAction("D", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setD_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("E", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setE_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("X", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setX_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("Fo", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setFo_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("Bl", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setBl_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("C", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setC_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("F", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setF_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ ite->annotation().setFormat(5);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("K", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setK_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ ite->annotation().setFormat(5);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+ Aact = SC_getAdditionalAction("V", ano);
-+ if (Aact)
-+ {
-+ if (Aact->getKind() == actionJavaScript)
-+ {
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact.get();
-+#else
-+ LinkJavaScript *jsa = (LinkJavaScript*) Aact;
-+#endif
-+ if (jsa->isOk())
-+ {
-+ ite->annotation().setV_act(UnicodeParsedString(jsa->getScript()));
-+ ite->annotation().setAAact(true);
-+ }
-+ }
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ Aact.reset();
-+#else
-+ Aact = nullptr;
-+#endif
-+ }
-+}
-+
-+void SlaOutputDev::startDoc(PDFDoc *doc, XRef *xrefA, Catalog *catA)
-+{
-+ xref = xrefA;
-+ catalog = catA;
-+ pdfDoc = doc;
-+ updateGUICounter = 0;
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 84, 0)
-+ m_fontEngine = new SplashFontEngine(true, false, false, true);
-+#else
-+ m_fontEngine = new SplashFontEngine(globalParams->getEnableFreeType(), false, false, true);
-+#endif
-+}
-+
-+void SlaOutputDev::startPage(int pageNum, GfxState *, XRef *)
-+{
-+ m_formWidgets = pdfDoc->getPage(pageNum)->getFormWidgets();
-+ m_radioMap.clear();
-+ m_radioButtons.clear();
-+ m_actPage = pageNum;
-+ m_groupStack.clear();
-+ pushGroup();
-+ m_currentClipPath = QPainterPath();
-+ m_clipPaths.clear();
-+}
-+
-+void SlaOutputDev::endPage()
-+{
-+ if (!m_radioMap.isEmpty())
-+ {
-+ for (auto it = m_radioMap.begin(); it != m_radioMap.end(); ++it)
-+ {
-+ tmpSel->clear();
-+ QList<int> refList = it.value();
-+ for (int a = 0; a < refList.count(); a++)
-+ {
-+ if (m_radioButtons.contains(refList[a]))
-+ {
-+ tmpSel->addItem(m_radioButtons[refList[a]], true);
-+ m_Elements->removeAll(m_radioButtons[refList[a]]);
-+ }
-+ }
-+ if (!tmpSel->isEmpty())
-+ {
-+ PageItem *ite = m_doc->groupObjectsSelection(tmpSel);
-+ ite->setItemName(it.key());
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ m_groupStack.top().Items.append(ite);
-+ }
-+ }
-+ }
-+ m_radioMap.clear();
-+ m_radioButtons.clear();
-+// qDebug() << "ending page";
-+}
-+
-+void SlaOutputDev::saveState(GfxState *state)
-+{
-+ m_clipPaths.push(m_currentClipPath);
-+ pushGroup();
-+}
-+
-+void SlaOutputDev::restoreState(GfxState *state)
-+{
-+ if (m_groupStack.count() != 0)
-+ {
-+ groupEntry gElements = m_groupStack.pop();
-+ if (gElements.Items.count() > 0)
-+ {
-+ if ((gElements.Items.count() > 1) && (checkClip()))
-+ {
-+ tmpSel->clear();
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ tmpSel->addItem(gElements.Items.at(dre), true);
-+ m_Elements->removeAll(gElements.Items.at(dre));
-+ }
-+ PageItem *ite = m_doc->groupObjectsSelection(tmpSel);
-+ if (ite)
-+ {
-+ QPainterPath clippath = m_currentClipPath;
-+ clippath.translate(m_doc->currentPage()->xOffset(), m_doc->currentPage()->yOffset());
-+ clippath.translate(-ite->xPos(), -ite->yPos());
-+ ite->PoLine.fromQPainterPath(clippath, true);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ // Comment out temporarily, there are some bad interactions between adjustItemSize() and
-+ // resizeGroupToContents() since fixing resizing of multiple selections
-+ //m_doc->adjustItemSize(ite, true);
-+ m_doc->resizeGroupToContents(ite);
-+ ite->OldB2 = ite->width();
-+ ite->OldH2 = ite->height();
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ applyMask(ite);
-+ m_groupStack.top().Items.append(ite);
-+ }
-+ }
-+ else
-+ {
-+ if (m_groupStack.count() != 0)
-+ {
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ PageItem *ite = gElements.Items.at(dre);
-+ applyMask(ite);
-+ m_groupStack.top().Items.append(ite);
-+ }
-+ }
-+ }
-+ tmpSel->clear();
-+ }
-+ else
-+ {
-+ if (m_groupStack.count() != 0)
-+ {
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ PageItem *ite = gElements.Items.at(dre);
-+ applyMask(ite);
-+ m_groupStack.top().Items.append(ite);
-+ }
-+ }
-+ }
-+ }
-+ }
-+ if (m_clipPaths.count() != 0)
-+ m_currentClipPath = m_clipPaths.pop();
-+}
-+
-+void SlaOutputDev::beginTransparencyGroup(GfxState *state, POPPLER_CONST_070 double *bbox, GfxColorSpace * /*blendingColorSpace*/, GBool isolated, GBool knockout, GBool forSoftMask)
-+{
-+// qDebug() << "SlaOutputDev::beginTransparencyGroup isolated:" << isolated << "knockout:" << knockout << "forSoftMask:" << forSoftMask;
-+ pushGroup("", forSoftMask);
-+ m_groupStack.top().isolated = isolated;
-+}
-+
-+void SlaOutputDev::paintTransparencyGroup(GfxState *state, POPPLER_CONST_070 double *bbox)
-+{
-+// qDebug() << "SlaOutputDev::paintTransparencyGroup";
-+ if (m_groupStack.count() != 0)
-+ {
-+ if ((m_groupStack.top().Items.count() != 0) && (!m_groupStack.top().forSoftMask))
-+ {
-+ PageItem *ite = m_groupStack.top().Items.last();
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ }
-+ }
-+}
-+
-+void SlaOutputDev::endTransparencyGroup(GfxState *state)
-+{
-+// qDebug() << "SlaOutputDev::endTransparencyGroup";
-+ if (m_groupStack.count() <= 0)
-+ return;
-+
-+ tmpSel->clear();
-+
-+ groupEntry gElements = m_groupStack.pop();
-+ if (gElements.Items.count() <= 0)
-+ return;
-+
-+ if (gElements.forSoftMask)
-+ {
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ tmpSel->addItem(gElements.Items.at(dre), true);
-+ m_Elements->removeAll(gElements.Items.at(dre));
-+ }
-+ PageItem *ite = m_doc->groupObjectsSelection(tmpSel);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ ScPattern pat = ScPattern();
-+ pat.setDoc(m_doc);
-+ m_doc->DoDrawing = true;
-+ pat.pattern = ite->DrawObj_toImage(qMin(qMax(ite->width(), ite->height()), 500.0));
-+ pat.xoffset = 0;
-+ pat.yoffset = 0;
-+ m_doc->DoDrawing = false;
-+ pat.width = ite->width();
-+ pat.height = ite->height();
-+ m_currentMaskPosition = QPointF(ite->xPos(), ite->yPos());
-+ ite->gXpos = 0;
-+ ite->gYpos = 0;
-+ ite->setXYPos(ite->gXpos, ite->gYpos, true);
-+ pat.items.append(ite);
-+ m_doc->Items->removeAll(ite);
-+ QString id = QString("Pattern_from_PDF_%1S").arg(m_doc->docPatterns.count() + 1);
-+ m_doc->addPattern(id, pat);
-+ m_currentMask = id;
-+ tmpSel->clear();
-+ return;
-+ }
-+ PageItem *ite;
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ tmpSel->addItem(gElements.Items.at(dre), true);
-+ m_Elements->removeAll(gElements.Items.at(dre));
-+ }
-+ if ((gElements.Items.count() != 1) || (gElements.isolated))
-+ ite = m_doc->groupObjectsSelection(tmpSel);
-+ else
-+ ite = gElements.Items.first();
-+ if (ite->isGroup())
-+ {
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ if (checkClip())
-+ {
-+ QPainterPath clippath = m_currentClipPath;
-+ clippath.translate(m_doc->currentPage()->xOffset(), m_doc->currentPage()->yOffset());
-+ clippath.translate(-ite->xPos(), -ite->yPos());
-+ ite->PoLine.fromQPainterPath(clippath, true);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ // Comment out temporarily, there are some bad interactions between adjustItemSize() and
-+ // resizeGroupToContents() since fixing resizing of multiple selections
-+ //m_doc->adjustItemSize(ite, true);
-+ m_doc->resizeGroupToContents(ite);
-+ ite->OldB2 = ite->width();
-+ ite->OldH2 = ite->height();
-+ }
-+ }
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ applyMask(ite);
-+ m_groupStack.top().Items.append(ite);
-+ }
-+
-+ tmpSel->clear();
-+}
-+
-+void SlaOutputDev::setSoftMask(GfxState * /*state*/, POPPLER_CONST_070 double * bbox, GBool alpha, Function *transferFunc, GfxColor * /*backdropColor*/)
-+{
-+ if (m_groupStack.count() <= 0)
-+ return;
-+
-+ double lum = 0;
-+ double lum2 = 0;
-+ if (transferFunc)
-+ transferFunc->transform(&lum, &lum2);
-+ else
-+ lum2 = lum;
-+ if (lum == lum2)
-+ m_groupStack.top().inverted = false;
-+ else
-+ m_groupStack.top().inverted = true;
-+ m_groupStack.top().maskName = m_currentMask;
-+ // Remember the mask's position as it might not align with the image to which the mask is later assigned.
-+ m_groupStack.top().maskPos = m_currentMaskPosition;
-+ m_groupStack.top().alpha = alpha;
-+ if (m_groupStack.top().Items.count() != 0)
-+ applyMask(m_groupStack.top().Items.last());
-+}
-+
-+void SlaOutputDev::clearSoftMask(GfxState * /*state*/)
-+{
-+ if (m_groupStack.count() != 0)
-+ m_groupStack.top().maskName = "";
-+}
-+
-+void SlaOutputDev::updateFillColor(GfxState *state)
-+{
-+ CurrFillShade = 100;
-+ CurrColorFill = getColor(state->getFillColorSpace(), state->getFillColor(), &CurrFillShade);
-+}
-+
-+void SlaOutputDev::updateStrokeColor(GfxState *state)
-+{
-+ CurrStrokeShade = 100;
-+ CurrColorStroke = getColor(state->getStrokeColorSpace(), state->getStrokeColor(), &CurrStrokeShade);
-+}
-+
-+void SlaOutputDev::clip(GfxState *state)
-+{
-+// qDebug() << "Clip";
-+ adjustClip(state, Qt::WindingFill);
-+}
-+
-+void SlaOutputDev::eoClip(GfxState *state)
-+{
-+// qDebug() << "EoClip";
-+ adjustClip(state, Qt::OddEvenFill);
-+}
-+
-+void SlaOutputDev::adjustClip(GfxState *state, Qt::FillRule fillRule)
-+{
-+ const double *ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ QString output = convertPath(state->getPath());
-+ if (output.isEmpty())
-+ return;
-+ FPointArray out;
-+ out.parseSVG(output);
-+ out.svgClosePath();
-+ out.map(m_ctm);
-+ if (checkClip())
-+ {
-+ // "clip" (WindingFill) and "eoClip" (OddEvenFill) only the determine
-+ // the fill rule of the new clipping path. The new clip should be the
-+ // intersection of the old and new area. QPainterPath determines on
-+ // its own which fill rule to use for the result. We should not loose
-+ // this information.
-+ QPainterPath pathN = out.toQPainterPath(false);
-+ pathN.setFillRule(fillRule);
-+ m_currentClipPath = intersection(pathN, m_currentClipPath);
-+ }
-+ else
-+ m_currentClipPath = out.toQPainterPath(false);
-+}
-+
-+void SlaOutputDev::stroke(GfxState *state)
-+{
-+// qDebug() << "Stroke";
-+ const double *ctm;
-+ ctm = state->getCTM();
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ QString output = convertPath(state->getPath());
-+ getPenState(state);
-+ if ((m_Elements->count() != 0) && (output == Coords)) // Path is the same as in last fill
-+ {
-+ PageItem* ite = m_Elements->last();
-+ ite->setLineColor(CurrColorStroke);
-+ ite->setLineShade(CurrStrokeShade);
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setLineWidth(state->getTransformedLineWidth());
-+ ite->setDashes(DashValues);
-+ ite->setDashOffset(DashOffset);
-+ ite->setLineTransparency(1.0 - state->getStrokeOpacity());
-+ }
-+ else
-+ {
-+ FPointArray out;
-+ out.parseSVG(output);
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ out.map(m_ctm);
-+ FPoint wh = out.widthHeight();
-+ if ((out.size() > 3) && ((wh.x() != 0.0) || (wh.y() != 0.0)))
-+ {
-+ CurrColorStroke = getColor(state->getStrokeColorSpace(), state->getStrokeColor(), &CurrStrokeShade);
-+ int z;
-+ if (pathIsClosed)
-+ z = m_doc->itemAdd(PageItem::Polygon, PageItem::Unspecified, xCoor, yCoor, 10, 10, state->getTransformedLineWidth(), CommonStrings::None, CurrColorStroke);
-+ else
-+ z = m_doc->itemAdd(PageItem::PolyLine, PageItem::Unspecified, xCoor, yCoor, 10, 10, state->getTransformedLineWidth(), CommonStrings::None, CurrColorStroke);
-+ PageItem* ite = m_doc->Items->at(z);
-+ ite->PoLine = out.copy();
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setWidthHeight(wh.x(), wh.y());
-+ m_doc->adjustItemSize(ite);
-+ if (m_Elements->count() != 0)
-+ {
-+ PageItem* lItem = m_Elements->last();
-+ if ((lItem->lineColor() == CommonStrings::None) && (lItem->PoLine == ite->PoLine))
-+ {
-+ lItem->setLineColor(CurrColorStroke);
-+ lItem->setLineWidth(state->getTransformedLineWidth());
-+ lItem->setLineShade(CurrStrokeShade);
-+ lItem->setLineTransparency(1.0 - state->getStrokeOpacity());
-+ lItem->setLineBlendmode(getBlendMode(state));
-+ lItem->setLineEnd(PLineEnd);
-+ lItem->setLineJoin(PLineJoin);
-+ lItem->setDashes(DashValues);
-+ lItem->setDashOffset(DashOffset);
-+ lItem->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_doc->Items->removeAll(ite);
-+ }
-+ else
-+ {
-+ ite->setLineShade(CurrStrokeShade);
-+ ite->setLineTransparency(1.0 - state->getStrokeOpacity());
-+ ite->setLineBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setDashes(DashValues);
-+ ite->setDashOffset(DashOffset);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ m_groupStack.top().Items.append(ite);
-+ }
-+ }
-+ else
-+ {
-+ ite->setLineShade(CurrStrokeShade);
-+ ite->setLineTransparency(1.0 - state->getStrokeOpacity());
-+ ite->setLineBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setDashes(DashValues);
-+ ite->setDashOffset(DashOffset);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ m_groupStack.top().Items.append(ite);
-+ }
-+ }
-+ }
-+}
-+
-+void SlaOutputDev::fill(GfxState *state)
-+{
-+// qDebug() << "Fill";
-+ createFillItem(state, Qt::WindingFill);
-+}
-+
-+void SlaOutputDev::eoFill(GfxState *state)
-+{
-+// qDebug() << "EoFill";
-+ createFillItem(state, Qt::OddEvenFill);
-+}
-+
-+void SlaOutputDev::createFillItem(GfxState *state, Qt::FillRule fillRule)
-+{
-+ const double *ctm;
-+ ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ FPointArray out;
-+ QString output = convertPath(state->getPath());
-+ out.parseSVG(output);
-+ out.map(m_ctm);
-+
-+ // Clip the new path first and only add it if it is not empty.
-+ QPainterPath path = out.toQPainterPath(false);
-+ path.setFillRule(fillRule);
-+ QPainterPath clippedPath = intersection(m_currentClipPath, path);
-+
-+ // Undo the rotation of the clipping path as it is rotated together with the item.
-+ double angle = m_ctm.map(QLineF(0, 0, 1, 0)).angle();
-+ QTransform mm;
-+ mm.rotate(angle);
-+ clippedPath = mm.map(clippedPath);
-+
-+ Coords = output;
-+ QRectF bbox = clippedPath.boundingRect();
-+ if (!clippedPath.isEmpty() && !bbox.isNull())
-+ {
-+ CurrColorFill = getColor(state->getFillColorSpace(), state->getFillColor(), &CurrFillShade);
-+ int z;
-+ if (pathIsClosed)
-+ z = m_doc->itemAdd(PageItem::Polygon, PageItem::Unspecified, xCoor, yCoor, 10, 10, 0, CurrColorFill, CommonStrings::None);
-+ else
-+ z = m_doc->itemAdd(PageItem::PolyLine, PageItem::Unspecified, xCoor, yCoor, 10, 10, 0, CurrColorFill, CommonStrings::None);
-+ PageItem* ite = m_doc->Items->at(z);
-+ ite->PoLine.fromQPainterPath(clippedPath, true);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillShade(CurrFillShade);
-+ ite->setLineShade(100);
-+ ite->setRotation(-angle);
-+ // Only the new path has to be interpreted according to fillRule. QPainterPath
-+ // could decide to create a final path according to the other rule. Thus
-+ // we have to set this from the final path.
-+ ite->setFillEvenOdd(clippedPath.fillRule() == Qt::OddEvenFill);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setWidthHeight(bbox.width(),bbox.height());
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_doc->adjustItemSize(ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ }
-+}
-+
-+GBool SlaOutputDev::axialShadedFill(GfxState *state, GfxAxialShading *shading, double tMin, double tMax)
-+{
-+// qDebug() << "SlaOutputDev::axialShadedFill";
-+ double GrStartX;
-+ double GrStartY;
-+ double GrEndX;
-+ double GrEndY;
-+ int shade = 100;
-+ POPPLER_CONST_070 Function *func = shading->getFunc(0);
-+ VGradient FillGradient = VGradient(VGradient::linear);
-+ FillGradient.clearStops();
-+ GfxColorSpace *color_space = shading->getColorSpace();
-+ if (func->getType() == 3)
-+ {
-+ StitchingFunction *stitchingFunc = (StitchingFunction*)func;
-+ const double *bounds = stitchingFunc->getBounds();
-+ int num_funcs = stitchingFunc->getNumFuncs();
-+ double domain_min = stitchingFunc->getDomainMin(0);
-+ double domain_max = stitchingFunc->getDomainMax(0);
-+ if (fabs(domain_max - domain_min) < 1e-6)
-+ {
-+ domain_min = 0.0;
-+ domain_max = 1.0;
-+ }
-+ // Add stops from all the stitched functions
-+ for (int i = 0 ; i <= num_funcs ; i++)
-+ {
-+ GfxColor temp;
-+ shading->getColor(bounds[i], &temp);
-+ QString stopColor = getColor(color_space, &temp, &shade);
-+ double stopPoint = (bounds[i] - domain_min) / (domain_max - domain_min);
-+ FillGradient.addStop( ScColorEngine::getShadeColor(m_doc->PageColors[stopColor], m_doc, shade), stopPoint, 0.5, 1.0, stopColor, shade );
-+ }
-+ }
-+ else if ((func->getType() == 2) || (func->getType() == 0))
-+ {
-+ GfxColor stop1;
-+ shading->getColor(0.0, &stop1);
-+ QString stopColor1 = getColor(color_space, &stop1, &shade);
-+ FillGradient.addStop( ScColorEngine::getShadeColor(m_doc->PageColors[stopColor1], m_doc, shade), 0.0, 0.5, 1.0, stopColor1, shade );
-+ GfxColor stop2;
-+ shading->getColor(1.0, &stop2);
-+ QString stopColor2 = getColor(color_space, &stop2, &shade);
-+ FillGradient.addStop( ScColorEngine::getShadeColor(m_doc->PageColors[stopColor2], m_doc, shade), 1.0, 0.5, 1.0, stopColor2, shade );
-+ }
-+ shading->getCoords(&GrStartX, &GrStartY, &GrEndX, &GrEndY);
-+ double xmin, ymin, xmax, ymax;
-+ // get the clip region bbox
-+ state->getClipBBox(&xmin, &ymin, &xmax, &ymax);
-+ QRectF crect = QRectF(QPointF(xmin, ymin), QPointF(xmax, ymax));
-+ crect = crect.normalized();
-+ QPainterPath out;
-+ out.addRect(crect);
-+ if (checkClip())
-+ {
-+ // Apply the clip path early to adjust the gradient vector to the
-+ // smaller boundign box.
-+ out = intersection(m_currentClipPath, out);
-+ crect = out.boundingRect();
-+ }
-+ const double *ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ FPointArray gr;
-+ gr.addPoint(GrStartX, GrStartY);
-+ gr.addPoint(GrEndX, GrEndY);
-+ gr.map(m_ctm);
-+ gr.translate(-crect.x(), -crect.y());
-+
-+ // Undo the rotation and translation of the gradient vector.
-+ double angle = m_ctm.map(QLineF(0, 0, 1, 0)).angle();
-+ QTransform mm;
-+ mm.rotate(angle);
-+ out.translate(-crect.x(), -crect.y());
-+ out = mm.map(out);
-+ QRectF bb = out.boundingRect();
-+ gr.map(mm);
-+ gr.translate(-bb.left(), -bb.top());
-+ GrStartX = gr.point(0).x();
-+ GrStartY = gr.point(0).y();
-+ GrEndX = gr.point(1).x();
-+ GrEndY = gr.point(1).y();
-+
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ QString output = QString("M %1 %2").arg(0.0).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(0.0);
-+ output += QString("Z");
-+ pathIsClosed = true;
-+ Coords = output;
-+ int z = m_doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, xCoor + crect.x(), yCoor + crect.y(), bb.width(), bb.height(), 0, CurrColorFill, CommonStrings::None);
-+ PageItem* ite = m_doc->Items->at(z);
-+ if (checkClip())
-+ {
-+ ite->PoLine.fromQPainterPath(out, true);
-+ ite->setFillEvenOdd(out.fillRule() == Qt::OddEvenFill);
-+ }
-+ ite->setRotation(-angle);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillShade(CurrFillShade);
-+ ite->setLineShade(100);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ ite->GrType = 6;
-+ if (!shading->getExtend0() || !shading->getExtend1())
-+ {
-+ FillGradient.setRepeatMethod(VGradient::none);
-+ ite->setGradientExtend(VGradient::none);
-+ }
-+ else
-+ {
-+ FillGradient.setRepeatMethod(VGradient::pad);
-+ ite->setGradientExtend(VGradient::pad);
-+ }
-+ ite->fill_gradient = FillGradient;
-+ ite->setGradientVector(GrStartX, GrStartY, GrEndX, GrEndY, 0, 0, 1, 0);
-+ m_doc->adjustItemSize(ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ return gTrue;
-+}
-+
-+GBool SlaOutputDev::radialShadedFill(GfxState *state, GfxRadialShading *shading, double sMin, double sMax)
-+{
-+// qDebug() << "SlaOutputDev::radialShadedFill";
-+ double GrStartX;
-+ double GrStartY;
-+ double GrEndX;
-+ double GrEndY;
-+ int shade = 100;
-+ POPPLER_CONST_070 Function *func = shading->getFunc(0);
-+ VGradient FillGradient = VGradient(VGradient::linear);
-+ FillGradient.clearStops();
-+ GfxColorSpace *color_space = shading->getColorSpace();
-+ if (func->getType() == 3)
-+ {
-+ StitchingFunction *stitchingFunc = (StitchingFunction*)func;
-+ const double *bounds = stitchingFunc->getBounds();
-+ int num_funcs = stitchingFunc->getNumFuncs();
-+ double domain_min = stitchingFunc->getDomainMin(0);
-+ double domain_max = stitchingFunc->getDomainMax(0);
-+ if (fabs(domain_max - domain_min) < 1e-6)
-+ {
-+ domain_min = 0.0;
-+ domain_max = 1.0;
-+ }
-+ // Add stops from all the stitched functions
-+ for (int i = 0 ; i <= num_funcs ; i++)
-+ {
-+ GfxColor temp;
-+ shading->getColor(bounds[i], &temp);
-+ QString stopColor = getColor(color_space, &temp, &shade);
-+ double stopPoint = (bounds[i] - domain_min) / (domain_max - domain_min);
-+ FillGradient.addStop( ScColorEngine::getShadeColor(m_doc->PageColors[stopColor], m_doc, shade), stopPoint, 0.5, 1.0, stopColor, shade );
-+ }
-+ }
-+ else if ((func->getType() == 2) || (func->getType() == 0))
-+ {
-+ GfxColor stop1;
-+ shading->getColor(0.0, &stop1);
-+ QString stopColor1 = getColor(color_space, &stop1, &shade);
-+ FillGradient.addStop( ScColorEngine::getShadeColor(m_doc->PageColors[stopColor1], m_doc, shade), 0.0, 0.5, 1.0, stopColor1, shade );
-+ GfxColor stop2;
-+ shading->getColor(1.0, &stop2);
-+ QString stopColor2 = getColor(color_space, &stop2, &shade);
-+ FillGradient.addStop( ScColorEngine::getShadeColor(m_doc->PageColors[stopColor2], m_doc, shade), 1.0, 0.5, 1.0, stopColor2, shade );
-+ }
-+ double r0, x1, y1, r1;
-+ shading->getCoords(&GrStartX, &GrStartY, &r0, &x1, &y1, &r1);
-+ double xmin, ymin, xmax, ymax;
-+ // get the clip region bbox
-+ state->getClipBBox(&xmin, &ymin, &xmax, &ymax);
-+ QRectF crect = QRectF(QPointF(xmin, ymin), QPointF(xmax, ymax));
-+ crect = crect.normalized();
-+ double GrFocalX = x1;
-+ double GrFocalY = y1;
-+ GrEndX = GrFocalX + r1;
-+ GrEndY = GrFocalY;
-+ const double *ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ FPointArray gr;
-+ gr.addPoint(GrStartX, GrStartY);
-+ gr.addPoint(GrEndX, GrEndY);
-+ gr.addPoint(GrFocalX, GrFocalY);
-+ gr.map(m_ctm);
-+ GrStartX = gr.point(0).x() - crect.x();
-+ GrStartY = gr.point(0).y() - crect.y();
-+ GrEndX = gr.point(1).x() - crect.x();
-+ GrEndY = gr.point(1).y() - crect.y();
-+ GrFocalX = gr.point(2).x() - crect.x();
-+ GrFocalY = gr.point(2).y() - crect.y();
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ QString output = QString("M %1 %2").arg(0.0).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(0.0);
-+ output += QString("Z");
-+ pathIsClosed = true;
-+ Coords = output;
-+ int z = m_doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, xCoor + crect.x(), yCoor + crect.y(), crect.width(), crect.height(), 0, CurrColorFill, CommonStrings::None);
-+ PageItem* ite = m_doc->Items->at(z);
-+ if (checkClip())
-+ {
-+ QPainterPath out = m_currentClipPath;
-+ out.translate(m_doc->currentPage()->xOffset(), m_doc->currentPage()->yOffset());
-+ out.translate(-ite->xPos(), -ite->yPos());
-+ ite->PoLine.fromQPainterPath(out, true);
-+ ite->setFillEvenOdd(out.fillRule() == Qt::OddEvenFill);
-+ }
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillShade(CurrFillShade);
-+ ite->setLineShade(100);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ ite->GrType = 7;
-+ if (!shading->getExtend0() || !shading->getExtend1())
-+ {
-+ FillGradient.setRepeatMethod(VGradient::none);
-+ ite->setGradientExtend(VGradient::none);
-+ }
-+ else
-+ {
-+ FillGradient.setRepeatMethod(VGradient::pad);
-+ ite->setGradientExtend(VGradient::pad);
-+ }
-+ ite->fill_gradient = FillGradient;
-+ ite->setGradientVector(GrStartX, GrStartY, GrEndX, GrEndY, GrFocalX, GrFocalY, 1, 0);
-+ m_doc->adjustItemSize(ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ return gTrue;
-+}
-+
-+GBool SlaOutputDev::gouraudTriangleShadedFill(GfxState *state, GfxGouraudTriangleShading *shading)
-+{
-+// qDebug() << "SlaOutputDev::gouraudTriangleShadedFill";
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ double xmin, ymin, xmax, ymax;
-+ // get the clip region bbox
-+ state->getClipBBox(&xmin, &ymin, &xmax, &ymax);
-+ QRectF crect = QRectF(QPointF(xmin, ymin), QPointF(xmax, ymax));
-+ crect = crect.normalized();
-+ QString output = QString("M %1 %2").arg(0.0).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(0.0);
-+ output += QString("Z");
-+ pathIsClosed = true;
-+ Coords = output;
-+ const double *ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ int z = m_doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, xCoor + crect.x(), yCoor + crect.y(), crect.width(), crect.height(), 0, CurrColorFill, CommonStrings::None);
-+ PageItem* ite = m_doc->Items->at(z);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillShade(CurrFillShade);
-+ ite->setLineShade(100);
-+ ite->setFillEvenOdd(false);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_doc->adjustItemSize(ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ GfxColor color[3];
-+ double x0, y0, x1, y1, x2, y2;
-+ for (int i = 0; i < shading->getNTriangles(); i++)
-+ {
-+ int shade = 100;
-+ meshGradientPatch patchM;
-+ shading->getTriangle(i, &x0, &y0, &color[0], &x1, &y1, &color[1], &x2, &y2, &color[2]);
-+ patchM.BL.resetTo(FPoint(x0, y0));
-+ patchM.BL.shade = 100;
-+ patchM.BL.transparency = 1.0;
-+ patchM.BL.colorName = getColor(shading->getColorSpace(), &color[0], &shade);
-+ patchM.BL.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.BL.colorName], m_doc, shade);
-+ patchM.TL.resetTo(FPoint(x1, y1));
-+ patchM.TL.shade = 100;
-+ patchM.TL.transparency = 1.0;
-+ patchM.TL.colorName = getColor(shading->getColorSpace(), &color[1], &shade);
-+ patchM.TL.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.TL.colorName], m_doc, shade);
-+ patchM.TR.resetTo(FPoint(x2, y2));
-+ patchM.TR.shade = 100;
-+ patchM.TR.transparency = 1.0;
-+ patchM.TR.colorName = getColor(shading->getColorSpace(), &color[2], &shade);
-+ patchM.TR.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.TR.colorName], m_doc, shade);
-+ patchM.BR.resetTo(FPoint(x0, y0));
-+ patchM.BR.shade = 100;
-+ patchM.BR.transparency = 1.0;
-+ patchM.BR.colorName = getColor(shading->getColorSpace(), &color[0], &shade);
-+ patchM.BR.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.BR.colorName], m_doc, shade);
-+ patchM.TL.transform(m_ctm);
-+ patchM.TL.moveRel(-crect.x(), -crect.y());
-+ patchM.TR.transform(m_ctm);
-+ patchM.TR.moveRel(-crect.x(), -crect.y());
-+ patchM.BR.transform(m_ctm);
-+ patchM.BR.moveRel(-crect.x(), -crect.y());
-+ patchM.BL.transform(m_ctm);
-+ patchM.BL.moveRel(-crect.x(), -crect.y());
-+ ite->meshGradientPatches.append(patchM);
-+ }
-+ ite->GrType = 12;
-+ return gTrue;
-+}
-+
-+GBool SlaOutputDev::patchMeshShadedFill(GfxState *state, GfxPatchMeshShading *shading)
-+{
-+// qDebug() << "SlaOutputDev::patchMeshShadedFill";
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ double xmin, ymin, xmax, ymax;
-+ // get the clip region bbox
-+ state->getClipBBox(&xmin, &ymin, &xmax, &ymax);
-+ QRectF crect = QRectF(QPointF(xmin, ymin), QPointF(xmax, ymax));
-+ crect = crect.normalized();
-+ QString output = QString("M %1 %2").arg(0.0).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(0.0);
-+ output += QString("Z");
-+ pathIsClosed = true;
-+ Coords = output;
-+ const double *ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ int z = m_doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, xCoor + crect.x(), yCoor + crect.y(), crect.width(), crect.height(), 0, CurrColorFill, CommonStrings::None);
-+ PageItem* ite = m_doc->Items->at(z);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillShade(CurrFillShade);
-+ ite->setLineShade(100);
-+ ite->setFillEvenOdd(false);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ m_doc->adjustItemSize(ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ ite->meshGradientPatches.clear();
-+ for (int i = 0; i < shading->getNPatches(); i++)
-+ {
-+ int shade = 100;
-+ const GfxPatch *patch = shading->getPatch(i);
-+ GfxColor color;
-+ meshGradientPatch patchM;
-+ int u, v;
-+ patchM.BL.resetTo(FPoint(patch->x[0][0], patch->y[0][0]));
-+ patchM.BL.controlTop = FPoint(patch->x[0][1], patch->y[0][1]);
-+ patchM.BL.controlRight = FPoint(patch->x[1][0], patch->y[1][0]);
-+ patchM.BL.controlColor = FPoint(patch->x[1][1], patch->y[1][1]);
-+ u = 0;
-+ v = 0;
-+ if (shading->isParameterized())
-+ {
-+ shading->getParameterizedColor (patch->color[u][v].c[0], &color);
-+ }
-+ else
-+ {
-+ for (int k = 0; k < shading->getColorSpace()->getNComps(); k++)
-+ {
-+ color.c[k] = GfxColorComp (patch->color[u][v].c[k]);
-+ }
-+ }
-+ patchM.BL.colorName = getColor(shading->getColorSpace(), &color, &shade);
-+ patchM.BL.shade = 100;
-+ patchM.BL.transparency = 1.0;
-+ patchM.BL.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.BL.colorName], m_doc, shade);
-+
-+ u = 0;
-+ v = 1;
-+ patchM.TL.resetTo(FPoint(patch->x[0][3], patch->y[0][3]));
-+ patchM.TL.controlRight = FPoint(patch->x[1][3], patch->y[1][3]);
-+ patchM.TL.controlBottom = FPoint(patch->x[0][2], patch->y[0][2]);
-+ patchM.TL.controlColor = FPoint(patch->x[1][2], patch->y[1][2]);
-+ if (shading->isParameterized())
-+ {
-+ shading->getParameterizedColor (patch->color[u][v].c[0], &color);
-+ }
-+ else
-+ {
-+ for (int k = 0; k < shading->getColorSpace()->getNComps(); k++)
-+ {
-+ color.c[k] = GfxColorComp (patch->color[u][v].c[k]);
-+ }
-+ }
-+ patchM.TL.colorName = getColor(shading->getColorSpace(), &color, &shade);
-+ patchM.TL.shade = 100;
-+ patchM.TL.transparency = 1.0;
-+ patchM.TL.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.TL.colorName], m_doc, shade);
-+
-+ u = 1;
-+ v = 1;
-+ patchM.TR.resetTo(FPoint(patch->x[3][3], patch->y[3][3]));
-+ patchM.TR.controlBottom = FPoint(patch->x[3][2], patch->y[3][2]);
-+ patchM.TR.controlLeft = FPoint(patch->x[2][3], patch->y[2][3]);
-+ patchM.TR.controlColor = FPoint(patch->x[2][2], patch->y[2][2]);
-+ if (shading->isParameterized())
-+ {
-+ shading->getParameterizedColor (patch->color[u][v].c[0], &color);
-+ }
-+ else
-+ {
-+ for (int k = 0; k < shading->getColorSpace()->getNComps(); k++)
-+ {
-+ color.c[k] = GfxColorComp (patch->color[u][v].c[k]);
-+ }
-+ }
-+ patchM.TR.colorName = getColor(shading->getColorSpace(), &color, &shade);
-+ patchM.TR.shade = 100;
-+ patchM.TR.transparency = 1.0;
-+ patchM.TR.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.TR.colorName], m_doc, shade);
-+
-+ u = 1;
-+ v = 0;
-+ patchM.BR.resetTo(FPoint(patch->x[3][0], patch->y[3][0]));
-+ patchM.BR.controlLeft = FPoint(patch->x[2][0], patch->y[2][0]);
-+ patchM.BR.controlTop = FPoint(patch->x[3][1], patch->y[3][1]);
-+ patchM.BR.controlColor = FPoint(patch->x[2][1], patch->y[2][1]);
-+ if (shading->isParameterized())
-+ {
-+ shading->getParameterizedColor (patch->color[u][v].c[0], &color);
-+ }
-+ else
-+ {
-+ for (int k = 0; k < shading->getColorSpace()->getNComps(); k++)
-+ {
-+ color.c[k] = GfxColorComp (patch->color[u][v].c[k]);
-+ }
-+ }
-+ patchM.BR.colorName = getColor(shading->getColorSpace(), &color, &shade);
-+ patchM.BR.shade = 100;
-+ patchM.BR.transparency = 1.0;
-+ patchM.BR.color = ScColorEngine::getShadeColorProof(m_doc->PageColors[patchM.BR.colorName], m_doc, shade);
-+
-+ patchM.TL.transform(m_ctm);
-+ patchM.TL.moveRel(-crect.x(), -crect.y());
-+ patchM.TR.transform(m_ctm);
-+ patchM.TR.moveRel(-crect.x(), -crect.y());
-+ patchM.BR.transform(m_ctm);
-+ patchM.BR.moveRel(-crect.x(), -crect.y());
-+ patchM.BL.transform(m_ctm);
-+ patchM.BL.moveRel(-crect.x(), -crect.y());
-+ ite->meshGradientPatches.append(patchM);
-+ }
-+ ite->GrType = 12;
-+ return gTrue;
-+}
-+
-+GBool SlaOutputDev::tilingPatternFill(GfxState *state, Gfx * /*gfx*/, Catalog *cat, Object *str, POPPLER_CONST_070 double *pmat, int paintType, int tilingType, Dict *resDict, POPPLER_CONST_070 double *mat, POPPLER_CONST_070 double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep)
-+{
-+// qDebug() << "SlaOutputDev::tilingPatternFill";
-+ PDFRectangle box;
-+ Gfx *gfx;
-+ QString id;
-+ PageItem *ite;
-+ groupEntry gElements;
-+ gElements.forSoftMask = gFalse;
-+ gElements.alpha = gFalse;
-+ gElements.inverted = false;
-+ gElements.maskName = "";
-+ gElements.Items.clear();
-+ m_groupStack.push(gElements);
-+ double width, height;
-+ width = bbox[2] - bbox[0];
-+ height = bbox[3] - bbox[1];
-+ if (xStep != width || yStep != height)
-+ return gFalse;
-+ box.x1 = bbox[0];
-+ box.y1 = bbox[1];
-+ box.x2 = bbox[2];
-+ box.y2 = bbox[3];
-+
-+ const double *ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ QTransform mm = QTransform(mat[0], mat[1], mat[2], mat[3], mat[4], mat[5]);
-+ QTransform mmx = mm * m_ctm;
-+
-+ gfx = new Gfx(pdfDoc, this, resDict, &box, nullptr);
-+ inPattern++;
-+ // Unset the clip path as it is unrelated to the pattern's coordinate space.
-+ QPainterPath savedClip = m_currentClipPath;
-+ m_currentClipPath = QPainterPath();
-+ gfx->display(str);
-+ m_currentClipPath = savedClip;
-+ inPattern--;
-+ gElements = m_groupStack.pop();
-+ m_doc->m_Selection->clear();
-+// double pwidth = 0;
-+// double pheight = 0;
-+ if (gElements.Items.count() > 0)
-+ {
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ m_doc->m_Selection->addItem(gElements.Items.at(dre), true);
-+ m_Elements->removeAll(gElements.Items.at(dre));
-+ }
-+ m_doc->itemSelection_FlipV();
-+ PageItem *ite;
-+ if (m_doc->m_Selection->count() > 1)
-+ ite = m_doc->groupObjectsSelection();
-+ else
-+ ite = m_doc->m_Selection->itemAt(0);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ m_doc->m_Selection->clear();
-+ ScPattern pat = ScPattern();
-+ pat.setDoc(m_doc);
-+ m_doc->DoDrawing = true;
-+ pat.pattern = ite->DrawObj_toImage(qMin(qMax(ite->width(), ite->height()), 500.0));
-+ pat.xoffset = 0;
-+ pat.yoffset = 0;
-+ m_doc->DoDrawing = false;
-+ pat.width = ite->width();
-+ pat.height = ite->height();
-+ // pwidth = ite->width();
-+ // pheight = ite->height();
-+ ite->gXpos = 0;
-+ ite->gYpos = 0;
-+ ite->setXYPos(ite->gXpos, ite->gYpos, true);
-+ pat.items.append(ite);
-+ m_doc->Items->removeAll(ite);
-+ id = QString("Pattern_from_PDF_%1").arg(m_doc->docPatterns.count() + 1);
-+ m_doc->addPattern(id, pat);
-+ }
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ double xmin, ymin, xmax, ymax;
-+ // get the clip region bbox
-+ state->getClipBBox(&xmin, &ymin, &xmax, &ymax);
-+ QRectF crect = QRectF(QPointF(xmin, ymin), QPointF(xmax, ymax));
-+ crect = crect.normalized();
-+ QString output = QString("M %1 %2").arg(0.0).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(0.0);
-+ output += QString("L %1 %2").arg(crect.width()).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(crect.height());
-+ output += QString("L %1 %2").arg(0.0).arg(0.0);
-+ output += QString("Z");
-+ pathIsClosed = true;
-+ Coords = output;
-+ int z = m_doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, xCoor + crect.x(), yCoor + crect.y(), crect.width(), crect.height(), 0, CurrColorFill, CommonStrings::None);
-+ ite = m_doc->Items->at(z);
-+
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ double angle = m_ctm.map(QLineF(0, 0, 1, 0)).angle();
-+ ite->setRotation(-angle);
-+ if (checkClip())
-+ {
-+ QPainterPath outline = m_currentClipPath;
-+ outline.translate(xCoor - ite->xPos(), yCoor - ite->yPos());
-+ // Undo the rotation of the clipping path as it is rotated together with the item.
-+ QTransform mm;
-+ mm.rotate(angle);
-+ outline = mm.map(outline);
-+ ite->PoLine.fromQPainterPath(outline, true);
-+ ite->setFillEvenOdd(outline.fillRule() == Qt::OddEvenFill);
-+ }
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setFillShade(CurrFillShade);
-+ ite->setLineShade(100);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ ite->GrType = 8;
-+ ite->setPattern(id);
-+ ite->setPatternTransform(fabs(pmat[0]) * 100, fabs(pmat[3]) * 100, mmx.dx() - ctm[4], mmx.dy() - ctm[5], 0, -1 * pmat[1], pmat[2]);
-+ m_doc->adjustItemSize(ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ delete gfx;
-+ return gTrue;
-+}
-+
-+void SlaOutputDev::drawImageMask(GfxState *state, Object *ref, Stream *str, int width, int height, GBool invert, GBool interpolate, GBool inlineImg)
-+{
-+// qDebug() << "Draw Image Mask";
-+ QImage * image = nullptr;
-+ int invert_bit;
-+ int row_stride;
-+ int x, y, i, bit;
-+ unsigned char *dest = nullptr;
-+ unsigned char *buffer;
-+ Guchar *pix;
-+ ImageStream * imgStr = new ImageStream(str, width, 1, 1);
-+ imgStr->reset();
-+#ifdef WORDS_BIGENDIAN
-+ image = new QImage(width, height, QImage::Format_Mono);
-+#else
-+ image = new QImage(width, height, QImage::Format_MonoLSB);
-+#endif
-+ if (image == nullptr || image->isNull())
-+ {
-+ delete imgStr;
-+ delete image;
-+ return;
-+ }
-+ invert_bit = invert ? 1 : 0;
-+ buffer = image->bits();
-+ row_stride = image->bytesPerLine();
-+ for (y = 0; y < height; y++)
-+ {
-+ pix = imgStr->getLine();
-+ dest = buffer + y * row_stride;
-+ i = 0;
-+ bit = 0;
-+ for (x = 0; x < width; x++)
-+ {
-+ if (bit == 0)
-+ dest[i] = 0;
-+ if (!(pix[x] ^ invert_bit))
-+ {
-+#ifdef WORDS_BIGENDIAN
-+ dest[i] |= (1 << (7 - bit));
-+#else
-+ dest[i] |= (1 << bit);
-+#endif
-+ }
-+ bit++;
-+ if (bit > 7)
-+ {
-+ bit = 0;
-+ i++;
-+ }
-+ }
-+ }
-+ QColor backColor = ScColorEngine::getShadeColorProof(m_doc->PageColors[CurrColorFill], m_doc, CurrFillShade);
-+ QImage res = QImage(width, height, QImage::Format_ARGB32);
-+ res.fill(backColor.rgb());
-+ unsigned char cc, cm, cy, ck;
-+ for (int yi = 0; yi < res.height(); ++yi)
-+ {
-+ QRgb *t = (QRgb*)(res.scanLine( yi ));
-+ for (int xi = 0; xi < res.width(); ++xi)
-+ {
-+ cc = qRed(*t);
-+ cm = qGreen(*t);
-+ cy = qBlue(*t);
-+ ck = image->pixel(xi, yi);
-+ if (ck == 0)
-+ (*t) = qRgba(cc, cm, cy, 0);
-+ else
-+ (*t) = qRgba(cc, cm, cy, 255);
-+ t++;
-+ }
-+ }
-+
-+ createImageFrame(res, state, 3);
-+
-+ imgStr->close();
-+ delete imgStr;
-+ delete image;
-+}
-+
-+void SlaOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, Stream *maskStr, int maskWidth, int maskHeight,
-+ GfxImageColorMap *maskColorMap, GBool maskInterpolate)
-+{
-+// qDebug() << "SlaOutputDev::drawSoftMaskedImage Masked Image Components" << colorMap->getNumPixelComps();
-+ ImageStream * imgStr = new ImageStream(str, width, colorMap->getNumPixelComps(), colorMap->getBits());
-+ imgStr->reset();
-+ unsigned int *dest = nullptr;
-+ unsigned char * buffer = new unsigned char[width * height * 4];
-+ QImage * image = nullptr;
-+ for (int y = 0; y < height; y++)
-+ {
-+ dest = (unsigned int *)(buffer + y * 4 * width);
-+ Guchar * pix = imgStr->getLine();
-+ colorMap->getRGBLine(pix, dest, width);
-+ }
-+ image = new QImage(buffer, width, height, QImage::Format_RGB32);
-+ if (image == nullptr || image->isNull())
-+ {
-+ delete imgStr;
-+ delete[] buffer;
-+ delete image;
-+ return;
-+ }
-+ ImageStream *mskStr = new ImageStream(maskStr, maskWidth, maskColorMap->getNumPixelComps(), maskColorMap->getBits());
-+ mskStr->reset();
-+ Guchar *mdest = nullptr;
-+ unsigned char * mbuffer = new unsigned char[maskWidth * maskHeight];
-+ memset(mbuffer, 0, maskWidth * maskHeight);
-+ for (int y = 0; y < maskHeight; y++)
-+ {
-+ mdest = (Guchar *)(mbuffer + y * maskWidth);
-+ Guchar * pix = mskStr->getLine();
-+ maskColorMap->getGrayLine(pix, mdest, maskWidth);
-+ }
-+ if ((maskWidth != width) || (maskHeight != height))
-+ *image = image->scaled(maskWidth, maskHeight, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
-+ QImage res = image->convertToFormat(QImage::Format_ARGB32);
-+
-+ int matteRc, matteGc, matteBc;
-+ POPPLER_CONST_070 GfxColor *matteColor = maskColorMap->getMatteColor();
-+ if (matteColor != nullptr)
-+ {
-+ GfxRGB matteRgb;
-+ colorMap->getColorSpace()->getRGB(matteColor, &matteRgb);
-+ matteRc = qRound(colToDbl(matteRgb.r) * 255);
-+ matteGc = qRound(colToDbl(matteRgb.g) * 255);
-+ matteBc = qRound(colToDbl(matteRgb.b) * 255);
-+ }
-+
-+ unsigned char cr, cg, cb, ca;
-+ int s = 0;
-+ for (int yi=0; yi < res.height(); ++yi)
-+ {
-+ QRgb *t = (QRgb*)(res.scanLine( yi ));
-+ for (int xi=0; xi < res.width(); ++xi)
-+ {
-+ cr = qRed(*t);
-+ cg = qGreen(*t);
-+ cb = qBlue(*t);
-+ ca = mbuffer[s];
-+ if (matteColor != nullptr)
-+ {
-+ cr = unblendMatte(cr, ca, matteRc);
-+ cg = unblendMatte(cg, ca, matteGc);
-+ cb = unblendMatte(cb, ca, matteBc);
-+ }
-+ (*t) = qRgba(cr, cg, cb, ca);
-+ s++;
-+ t++;
-+ }
-+ }
-+
-+ createImageFrame(res, state, 3);
-+
-+ delete imgStr;
-+ delete[] buffer;
-+ delete image;
-+ delete mskStr;
-+ delete[] mbuffer;
-+}
-+
-+void SlaOutputDev::drawMaskedImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, Stream *maskStr, int maskWidth, int maskHeight, GBool maskInvert, GBool maskInterpolate)
-+{
-+// qDebug() << "SlaOutputDev::drawMaskedImage";
-+ ImageStream * imgStr = new ImageStream(str, width, colorMap->getNumPixelComps(), colorMap->getBits());
-+ imgStr->reset();
-+ unsigned int *dest = nullptr;
-+ unsigned char * buffer = new unsigned char[width * height * 4];
-+ QImage * image = nullptr;
-+ for (int y = 0; y < height; y++)
-+ {
-+ dest = (unsigned int *)(buffer + y * 4 * width);
-+ Guchar * pix = imgStr->getLine();
-+ colorMap->getRGBLine(pix, dest, width);
-+ }
-+ image = new QImage(buffer, width, height, QImage::Format_RGB32);
-+ if (image == nullptr || image->isNull())
-+ {
-+ delete imgStr;
-+ delete[] buffer;
-+ delete image;
-+ return;
-+ }
-+ ImageStream *mskStr = new ImageStream(maskStr, maskWidth, 1, 1);
-+ mskStr->reset();
-+ Guchar *mdest = nullptr;
-+ int invert_bit = maskInvert ? 1 : 0;
-+ unsigned char * mbuffer = new unsigned char[maskWidth * maskHeight];
-+ memset(mbuffer, 0, maskWidth * maskHeight);
-+ for (int y = 0; y < maskHeight; y++)
-+ {
-+ mdest = (Guchar *)(mbuffer + y * maskWidth);
-+ Guchar * pix = mskStr->getLine();
-+ for (int x = 0; x < maskWidth; x++)
-+ {
-+ if (pix[x] ^ invert_bit)
-+ *mdest++ = 0;
-+ else
-+ *mdest++ = 255;
-+ }
-+ }
-+ if ((maskWidth != width) || (maskHeight != height))
-+ *image = image->scaled(maskWidth, maskHeight, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
-+ QImage res = image->convertToFormat(QImage::Format_ARGB32);
-+ unsigned char cc, cm, cy, ck;
-+ int s = 0;
-+ for (int yi=0; yi < res.height(); ++yi)
-+ {
-+ QRgb *t = (QRgb*)(res.scanLine( yi ));
-+ for (int xi=0; xi < res.width(); ++xi)
-+ {
-+ cc = qRed(*t);
-+ cm = qGreen(*t);
-+ cy = qBlue(*t);
-+ ck = mbuffer[s];
-+ (*t) = qRgba(cc, cm, cy, ck);
-+ s++;
-+ t++;
-+ }
-+ }
-+
-+ createImageFrame(res, state, colorMap->getNumPixelComps());
-+
-+ delete imgStr;
-+ delete[] buffer;
-+ delete image;
-+ delete mskStr;
-+ delete[] mbuffer;
-+}
-+
-+void SlaOutputDev::drawImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, POPPLER_CONST_082 int* maskColors, GBool inlineImg)
-+{
-+ ImageStream * imgStr = new ImageStream(str, width, colorMap->getNumPixelComps(), colorMap->getBits());
-+// qDebug() << "SlaOutputDev::drawImage Image Components" << colorMap->getNumPixelComps() << "Mask" << maskColors;
-+ imgStr->reset();
-+ QImage* image = nullptr;
-+ if (maskColors)
-+ {
-+ image = new QImage(width, height, QImage::Format_ARGB32);
-+ for (int y = 0; y < height; y++)
-+ {
-+ QRgb *s = (QRgb*)(image->scanLine(y));
-+ Guchar *pix = imgStr->getLine();
-+ for (int x = 0; x < width; x++)
-+ {
-+ GfxRGB rgb;
-+ colorMap->getRGB(pix, &rgb);
-+ int Rc = qRound(colToDbl(rgb.r) * 255);
-+ int Gc = qRound(colToDbl(rgb.g) * 255);
-+ int Bc = qRound(colToDbl(rgb.b) * 255);
-+ *s = qRgba(Rc, Gc, Bc, 255);
-+ for (int i = 0; i < colorMap->getNumPixelComps(); ++i)
-+ {
-+ if (pix[i] < maskColors[2*i] * 255 || pix[i] > maskColors[2*i+1] * 255)
-+ {
-+ *s = *s | 0xff000000;
-+ break;
-+ }
-+ }
-+ s++;
-+ pix += colorMap->getNumPixelComps();
-+ }
-+ }
-+ }
-+ else
-+ {
-+ image = new QImage(width, height, QImage::Format_ARGB32);
-+ for (int y = 0; y < height; y++)
-+ {
-+ QRgb *s = (QRgb*)(image->scanLine(y));
-+ Guchar *pix = imgStr->getLine();
-+ for (int x = 0; x < width; x++)
-+ {
-+ if (colorMap->getNumPixelComps() == 4)
-+ {
-+ GfxCMYK cmyk;
-+ colorMap->getCMYK(pix, &cmyk);
-+ int Cc = qRound(colToDbl(cmyk.c) * 255);
-+ int Mc = qRound(colToDbl(cmyk.m) * 255);
-+ int Yc = qRound(colToDbl(cmyk.y) * 255);
-+ int Kc = qRound(colToDbl(cmyk.k) * 255);
-+ *s = qRgba(Yc, Mc, Cc, Kc);
-+ }
-+ else
-+ {
-+ GfxRGB rgb;
-+ colorMap->getRGB(pix, &rgb);
-+ int Rc = qRound(colToDbl(rgb.r) * 255);
-+ int Gc = qRound(colToDbl(rgb.g) * 255);
-+ int Bc = qRound(colToDbl(rgb.b) * 255);
-+ *s = qRgba(Rc, Gc, Bc, 255);
-+ }
-+ s++;
-+ pix += colorMap->getNumPixelComps();
-+ }
-+ }
-+ }
-+
-+ if (image != nullptr && !image->isNull()) {
-+ createImageFrame(*image, state, colorMap->getNumPixelComps());
-+ }
-+
-+ delete imgStr;
-+ delete image;
-+}
-+
-+void SlaOutputDev::createImageFrame(QImage& image, GfxState *state, int numColorComponents)
-+{
-+// qDebug() << "SlaOutputDev::createImageFrame";
-+ const double *ctm = state->getCTM();
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ double angle = m_ctm.map(QLineF(0, 0, 1, 0)).angle();
-+ QPointF torigin;
-+ // In PDF all images considered squares with unit length that are transformed into the proper
-+ // dimensions by ctm.
-+ // A positive determinant retains orientation. Thus orientation is the same as in the PDF
-+ // coordinate system (y-axis increases upwards). As Scribus uses the inverse orientation the
-+ // image needs to be flipped (a horizontal flip is applied later). For a flipped image the
-+ // corner that will be origin in Scribus is the upper right corner (1, 1) of the image.
-+ // A negative determinant changes the orientation such that the image is already in the Scribus
-+ // coordinate orientation and no flip is necessary. The origin will be the upper left corner (0, 1).
-+ if (m_ctm.determinant() > 0) {
-+ torigin = m_ctm.map(QPointF(1, 1));
-+ } else {
-+ torigin = m_ctm.map(QPointF(0, 1));
-+ }
-+
-+ // Determine the visible area of the picture after clipping it. If it is empty, no item
-+ // needs to be created.
-+ QPainterPath outline;
-+ outline.addRect(0, 0, 1, 1);
-+ outline = m_ctm.map(outline);
-+ outline = intersection(outline, m_currentClipPath);
-+
-+ if ((inPattern == 0) && (outline.isEmpty() || outline.boundingRect().isNull()))
-+ return;
-+
-+ // Determine the width and height of the image by undoing the rotation part
-+ // of the CTM and applying the result to the unit square.
-+ QTransform without_rotation;
-+ without_rotation = m_ctm * without_rotation.rotate(angle);
-+ QRectF trect_wr = without_rotation.mapRect(QRectF(0, 0, 1, 1));
-+
-+ int z = m_doc->itemAdd(PageItem::ImageFrame, PageItem::Rectangle, xCoor + torigin.x(), yCoor + torigin.y(), trect_wr.width(), trect_wr.height(), 0, CommonStrings::None, CommonStrings::None);
-+ PageItem* ite = m_doc->Items->at(z);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ m_doc->setRedrawBounding(ite);
-+ ite->Clip = flattenPath(ite->PoLine, ite->Segments);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ ite->setFillShade(100);
-+ ite->setLineShade(100);
-+ ite->setFillEvenOdd(false);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ if (m_ctm.determinant() > 0)
-+ {
-+ ite->setRotation(-(angle - 180));
-+ ite->setImageFlippedH(true);
-+ }
-+ else
-+ ite->setRotation(-angle);
-+ m_doc->adjustItemSize(ite);
-+
-+ if (numColorComponents == 4)
-+ {
-+ QTemporaryFile *tempFile = new QTemporaryFile(QDir::tempPath() + "/scribus_temp_pdf_XXXXXX.tif");
-+ tempFile->setAutoRemove(false);
-+ if (tempFile->open())
-+ {
-+ QString fileName = getLongPathName(tempFile->fileName());
-+ if (!fileName.isEmpty())
-+ {
-+ tempFile->close();
-+ ite->isInlineImage = true;
-+ ite->isTempFile = true;
-+ ite->AspectRatio = false;
-+ ite->ScaleType = false;
-+ TIFF* tif = TIFFOpen(fileName.toLocal8Bit().data(), "w");
-+ if (tif)
-+ {
-+ TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, image.width());
-+ TIFFSetField(tif, TIFFTAG_IMAGELENGTH, image.height());
-+ TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 8);
-+ TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 4);
-+ TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG);
-+ TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_SEPARATED);
-+ TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_LZW);
-+ for (int y = 0; y < image.height(); ++y)
-+ {
-+ TIFFWriteScanline(tif, image.scanLine(y), y);
-+ }
-+ TIFFClose(tif);
-+ m_doc->loadPict(fileName, ite);
-+ }
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ }
-+ else
-+ m_doc->Items->removeAll(ite);
-+ }
-+ delete tempFile;
-+ }
-+ else
-+ {
-+ QTemporaryFile *tempFile = new QTemporaryFile(QDir::tempPath() + "/scribus_temp_pdf_XXXXXX.png");
-+ tempFile->setAutoRemove(false);
-+ if (tempFile->open())
-+ {
-+ QString fileName = getLongPathName(tempFile->fileName());
-+ if (!fileName.isEmpty())
-+ {
-+ tempFile->close();
-+ ite->isInlineImage = true;
-+ ite->isTempFile = true;
-+ ite->AspectRatio = false;
-+ ite->ScaleType = false;
-+ image.save(fileName, "PNG");
-+ m_doc->loadPict(fileName, ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ }
-+ else
-+ m_doc->Items->removeAll(ite);
-+ }
-+ delete tempFile;
-+ }
-+ if (inPattern == 0)
-+ {
-+ outline.translate(xCoor - ite->xPos(), yCoor - ite->yPos());
-+ // Undo the rotation of the clipping path as it is rotated together with the iamge.
-+ QTransform mm;
-+ mm.rotate(-ite->rotation());
-+ outline = mm.map(outline);
-+ ite->PoLine.fromQPainterPath(outline, true);
-+ ite->setFillEvenOdd(outline.fillRule() == Qt::OddEvenFill);
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ ite->ScaleType = true;
-+ m_doc->adjustItemSize(ite);
-+ ite->OldB2 = ite->width();
-+ ite->OldH2 = ite->height();
-+ ite->updateClip();
-+ }
-+}
-+
-+void SlaOutputDev::beginMarkedContent(POPPLER_CONST char *name, Object *dictRef)
-+{
-+ mContent mSte;
-+ mSte.name = QString(name);
-+ mSte.ocgName = "";
-+ if (importerFlags & LoadSavePlugin::lfCreateDoc)
-+ {
-+ if (dictRef->isNull())
-+ return;
-+ Object dictObj;
-+ Dict *dict;
-+ Object dictType;
-+ OCGs *contentConfig = catalog->getOptContentConfig();
-+ OptionalContentGroup *oc;
-+ if (dictRef->isRef())
-+ {
-+ oc = contentConfig->findOcgByRef(dictRef->getRef());
-+ if (oc)
-+ {
-+// qDebug() << "Begin OCG Content (Ref) with Name " << QString(name) << "Layer" << UnicodeParsedString(oc->getName());
-+ m_doc->setActiveLayer(UnicodeParsedString(oc->getName()));
-+ mSte.ocgName = UnicodeParsedString(oc->getName());
-+ }
-+ }
-+ else
-+ {
-+ dictObj = dictRef->fetch(xref);
-+ if (!dictObj.isDict())
-+ return;
-+ dict = dictObj.getDict();
-+ dictType = dict->lookup("Type");
-+ if (dictType.isName("OCG"))
-+ {
-+ oc = contentConfig->findOcgByRef(dictRef->getRef());
-+ if (oc)
-+ {
-+ // qDebug() << "Begin OCG Content with Name " << UnicodeParsedString(oc->getName());
-+ m_doc->setActiveLayer(UnicodeParsedString(oc->getName()));
-+ mSte.ocgName = UnicodeParsedString(oc->getName());
-+ }
-+ }
-+ }
-+ }
-+ m_mcStack.push(mSte);
-+}
-+
-+void SlaOutputDev::beginMarkedContent(POPPLER_CONST char *name, Dict *properties)
-+{
-+// qDebug() << "Begin Marked Content with Name " << QString(name);
-+ QString nam = QString(name);
-+ mContent mSte;
-+ mSte.name = nam;
-+ mSte.ocgName = "";
-+ m_mcStack.push(mSte);
-+ if (importerFlags & LoadSavePlugin::lfCreateDoc)
-+ {
-+ if (nam == "Layer") // Handle Adobe Illustrator Layer command
-+ {
-+ if (layersSetByOCG)
-+ return;
-+ QString lName = QString("Layer_%1").arg(layerNum + 1);
-+ Object obj = properties->lookup((char*) "Title");
-+ if (obj.isString())
-+ lName = QString(obj.getString()->getCString());
-+ for (ScLayers::iterator it = m_doc->Layers.begin(); it != m_doc->Layers.end(); ++it)
-+ {
-+ if (it->Name == lName)
-+ {
-+ m_doc->setActiveLayer(lName);
-+ return;
-+ }
-+ }
-+ layerNum++;
-+ if (!firstLayer)
-+ currentLayer = m_doc->addLayer(lName, true);
-+ firstLayer = false;
-+
-+ obj = properties->lookup((char*) "Visible");
-+ if (obj.isBool())
-+ m_doc->setLayerVisible(currentLayer, obj.getBool());
-+ obj = properties->lookup((char*) "Editable");
-+ if (obj.isBool())
-+ m_doc->setLayerLocked(currentLayer, !obj.getBool());
-+ obj = properties->lookup((char*) "Printed");
-+ if (obj.isBool())
-+ m_doc->setLayerPrintable(currentLayer, obj.getBool());
-+ obj = properties->lookup((char*)"Color");
-+ if (obj.isArray())
-+ {
-+ Object obj1;
-+ obj1 = obj.arrayGet(0);
-+ int r = obj1.getNum() / 256;
-+ obj1 = obj.arrayGet(1);
-+ int g = obj1.getNum() / 256;
-+ obj1 = obj.arrayGet(2);
-+ int b = obj1.getNum() / 256;
-+ m_doc->setLayerMarker(currentLayer, QColor(r, g, b));
-+ }
-+ }
-+ }
-+}
-+
-+void SlaOutputDev::endMarkedContent(GfxState *state)
-+{
-+// qDebug() << "End Marked Content";
-+ if (m_mcStack.count() > 0)
-+ {
-+ mContent mSte = m_mcStack.pop();
-+ if (importerFlags & LoadSavePlugin::lfCreateDoc)
-+ {
-+ if (mSte.name == "OC")
-+ {
-+ for (ScLayers::iterator it = m_doc->Layers.begin(); it != m_doc->Layers.end(); ++it)
-+ {
-+ if (it->Name == mSte.ocgName)
-+ {
-+ m_doc->setActiveLayer(mSte.ocgName);
-+ return;
-+ }
-+ }
-+ }
-+ }
-+ }
-+}
-+
-+void SlaOutputDev::markPoint(POPPLER_CONST char *name)
-+{
-+// qDebug() << "Begin Marked Point with Name " << QString(name);
-+}
-+
-+void SlaOutputDev::markPoint(POPPLER_CONST char *name, Dict *properties)
-+{
-+// qDebug() << "Begin Marked Point with Name " << QString(name) << "and Properties";
-+ beginMarkedContent(name, properties);
-+}
-+
-+void SlaOutputDev::updateFont(GfxState *state)
-+{
-+ GfxFont *gfxFont;
-+ GfxFontLoc *fontLoc;
-+ GfxFontType fontType;
-+ SlaOutFontFileID *id;
-+ SplashFontFile *fontFile;
-+ SplashFontSrc *fontsrc = nullptr;
-+ FoFiTrueType *ff;
-+ Object refObj, strObj;
-+ GooString *fileName;
-+ char *tmpBuf;
-+ int tmpBufLen = 0;
-+ int *codeToGID;
-+ const double *textMat;
-+ double m11, m12, m21, m22, fontSize;
-+ SplashCoord mat[4];
-+ int n = 0;
-+ int faceIndex = 0;
-+ SplashCoord matrix[6];
-+
-+ m_font = nullptr;
-+ fileName = nullptr;
-+ tmpBuf = nullptr;
-+ fontLoc = nullptr;
-+
-+ if (!(gfxFont = state->getFont())) {
-+ goto err1;
-+ }
-+ fontType = gfxFont->getType();
-+ if (fontType == fontType3) {
-+ goto err1;
-+ }
-+
-+ // check the font file cache
-+ id = new SlaOutFontFileID(gfxFont->getID());
-+ if ((fontFile = m_fontEngine->getFontFile(id)))
-+ delete id;
-+ else
-+ {
-+ if (!(fontLoc = gfxFont->locateFont(xref, nullptr)))
-+ {
-+ error(errSyntaxError, -1, "Couldn't find a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+
-+ // embedded font
-+ if (fontLoc->locType == gfxFontLocEmbedded)
-+ {
-+ // if there is an embedded font, read it to memory
-+ tmpBuf = gfxFont->readEmbFontFile(xref, &tmpBufLen);
-+ if (! tmpBuf)
-+ goto err2;
-+
-+ // external font
-+ }
-+ else
-+ { // gfxFontLocExternal
-+ fileName = fontLoc->path;
-+ fontType = fontLoc->fontType;
-+ }
-+
-+ fontsrc = new SplashFontSrc;
-+ if (fileName)
-+ fontsrc->setFile(fileName, gFalse);
-+ else
-+ fontsrc->setBuf(tmpBuf, tmpBufLen, gTrue);
-+
-+ // load the font file
-+ switch (fontType) {
-+ case fontType1:
-+ if (!(fontFile = m_fontEngine->loadType1Font(
-+ id,
-+ fontsrc,
-+ (const char **)((Gfx8BitFont *) gfxFont)->getEncoding())))
-+ {
-+ error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+ break;
-+ case fontType1C:
-+ if (!(fontFile = m_fontEngine->loadType1CFont(
-+ id,
-+ fontsrc,
-+ (const char **)((Gfx8BitFont *) gfxFont)->getEncoding())))
-+ {
-+ error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+ break;
-+ case fontType1COT:
-+ if (!(fontFile = m_fontEngine->loadOpenTypeT1CFont(
-+ id,
-+ fontsrc,
-+ (const char **)((Gfx8BitFont *) gfxFont)->getEncoding())))
-+ {
-+ error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+ break;
-+ case fontTrueType:
-+ case fontTrueTypeOT:
-+ if (fileName)
-+ ff = FoFiTrueType::load(fileName->getCString());
-+ else
-+ ff = FoFiTrueType::make(tmpBuf, tmpBufLen);
-+ if (ff)
-+ {
-+ codeToGID = ((Gfx8BitFont *)gfxFont)->getCodeToGIDMap(ff);
-+ n = 256;
-+ delete ff;
-+ }
-+ else
-+ {
-+ codeToGID = nullptr;
-+ n = 0;
-+ }
-+ if (!(fontFile = m_fontEngine->loadTrueTypeFont(
-+ id,
-+ fontsrc,
-+ codeToGID, n)))
-+ {
-+ error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+ break;
-+ case fontCIDType0:
-+ case fontCIDType0C:
-+ if (!(fontFile = m_fontEngine->loadCIDFont(
-+ id,
-+ fontsrc)))
-+ {
-+ error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+ break;
-+ case fontCIDType0COT:
-+ if (((GfxCIDFont *) gfxFont)->getCIDToGID())
-+ {
-+ n = ((GfxCIDFont *) gfxFont)->getCIDToGIDLen();
-+ codeToGID = (int *) gmallocn(n, sizeof(*codeToGID));
-+ memcpy(codeToGID, ((GfxCIDFont *) gfxFont)->getCIDToGID(), n * sizeof(*codeToGID));
-+ }
-+ else
-+ {
-+ codeToGID = nullptr;
-+ n = 0;
-+ }
-+ if (!(fontFile = m_fontEngine->loadOpenTypeCFFFont(
-+ id,
-+ fontsrc,
-+ codeToGID, n)))
-+ {
-+ error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+ break;
-+ case fontCIDType2:
-+ case fontCIDType2OT:
-+ codeToGID = nullptr;
-+ n = 0;
-+ if (((GfxCIDFont *) gfxFont)->getCIDToGID())
-+ {
-+ n = ((GfxCIDFont *) gfxFont)->getCIDToGIDLen();
-+ if (n)
-+ {
-+ codeToGID = (int *)gmallocn(n, sizeof(*codeToGID));
-+ memcpy(codeToGID, ((GfxCIDFont *)gfxFont)->getCIDToGID(), n * sizeof(*codeToGID));
-+ }
-+ }
-+ else
-+ {
-+ if (fileName)
-+ ff = FoFiTrueType::load(fileName->getCString());
-+ else
-+ ff = FoFiTrueType::make(tmpBuf, tmpBufLen);
-+ if (! ff)
-+ goto err2;
-+ codeToGID = ((GfxCIDFont *)gfxFont)->getCodeToGIDMap(ff, &n);
-+ delete ff;
-+ }
-+ if (!(fontFile = m_fontEngine->loadTrueTypeFont(
-+ id,
-+ fontsrc,
-+ codeToGID, n, faceIndex)))
-+ {
-+ error(errSyntaxError, -1, "Couldn't create a font for '{0:s}'",
-+ gfxFont->getName() ? gfxFont->getName()->getCString() : "(unnamed)");
-+ goto err2;
-+ }
-+ break;
-+ default:
-+ // this shouldn't happen
-+ goto err2;
-+ }
-+ }
-+ // get the font matrix
-+ textMat = state->getTextMat();
-+ fontSize = state->getFontSize();
-+ m11 = textMat[0] * fontSize * state->getHorizScaling();
-+ m12 = textMat[1] * fontSize * state->getHorizScaling();
-+ m21 = textMat[2] * fontSize;
-+ m22 = textMat[3] * fontSize;
-+ matrix[0] = 1;
-+ matrix[1] = 0;
-+ matrix[2] = 0;
-+ matrix[3] = 1;
-+ matrix[4] = 0;
-+ matrix[5] = 0;
-+ // create the scaled font
-+ mat[0] = m11;
-+ mat[1] = -m12;
-+ mat[2] = m21;
-+ mat[3] = -m22;
-+ m_font = m_fontEngine->getFont(fontFile, mat, matrix);
-+
-+ delete fontLoc;
-+ if (fontsrc && !fontsrc->isFile)
-+ fontsrc->unref();
-+ return;
-+
-+err2:
-+ delete id;
-+ delete fontLoc;
-+err1:
-+ if (fontsrc && !fontsrc->isFile)
-+ fontsrc->unref();
-+}
-+
-+void SlaOutputDev::drawChar(GfxState *state, double x, double y, double dx, double dy, double originX, double originY, CharCode code, int nBytes, POPPLER_CONST_082 Unicode *u, int uLen)
-+{
-+// qDebug() << "SlaOutputDev::drawChar code:" << code << "bytes:" << nBytes << "Unicode:" << u << "ulen:" << uLen << "render:" << state->getRender();
-+ double x1, y1, x2, y2;
-+ updateFont(state);
-+ if (!m_font)
-+ return;
-+
-+ // PDF 1.7 Section 9.3.6 defines eight text rendering modes.
-+ // 0 - Fill
-+ // 1 - Stroke
-+ // 2 - First fill and then stroke
-+ // 3 - Invisible
-+ // 4 - Fill and use as a clipping path
-+ // 5 - Stroke and use as a clipping path
-+ // 6 - First fill, then stroke and add as a clipping path
-+ // 7 - Only use as a clipping path.
-+ // TODO Implement the clipping operations. At least the characters are shown.
-+ int textRenderingMode = state->getRender();
-+ // Invisible or only used for clipping
-+ if (textRenderingMode == 3)
-+ return;
-+ if (textRenderingMode < 8)
-+ {
-+ SplashPath * fontPath;
-+ fontPath = m_font->getGlyphPath(code);
-+ if (fontPath)
-+ {
-+ QPainterPath qPath;
-+ qPath.setFillRule(Qt::WindingFill);
-+ for (int i = 0; i < fontPath->getLength(); ++i)
-+ {
-+ Guchar f;
-+ fontPath->getPoint(i, &x1, &y1, &f);
-+ if (f & splashPathFirst)
-+ qPath.moveTo(x1,y1);
-+ else if (f & splashPathCurve)
-+ {
-+ double x3, y3;
-+ ++i;
-+ fontPath->getPoint(i, &x2, &y2, &f);
-+ ++i;
-+ fontPath->getPoint(i, &x3, &y3, &f);
-+ qPath.cubicTo(x1,y1,x2,y2,x3,y3);
-+ }
-+ else
-+ qPath.lineTo(x1,y1);
-+ if (f & splashPathLast)
-+ qPath.closeSubpath();
-+ }
-+ const double *ctm = state->getCTM();
-+ m_ctm = QTransform(ctm[0], ctm[1], ctm[2], ctm[3], ctm[4], ctm[5]);
-+ double xCoor = m_doc->currentPage()->xOffset();
-+ double yCoor = m_doc->currentPage()->yOffset();
-+ FPointArray textPath;
-+ textPath.fromQPainterPath(qPath);
-+ FPoint wh = textPath.widthHeight();
-+ if (textRenderingMode > 3)
-+ {
-+ QTransform mm;
-+ mm.scale(1, -1);
-+ mm.translate(x, -y);
-+ // Remember the glyph for later clipping
-+ m_clipTextPath.addPath(m_ctm.map(mm.map(qPath)));
-+ }
-+ if ((textPath.size() > 3) && ((wh.x() != 0.0) || (wh.y() != 0.0)) && (textRenderingMode != 7))
-+ {
-+ int z = m_doc->itemAdd(PageItem::Polygon, PageItem::Unspecified, xCoor, yCoor, 10, 10, 0, CommonStrings::None, CommonStrings::None);
-+ PageItem* ite = m_doc->Items->at(z);
-+ QTransform mm;
-+ mm.scale(1, -1);
-+ mm.translate(x, -y);
-+ textPath.map(mm);
-+ textPath.map(m_ctm);
-+ ite->PoLine = textPath.copy();
-+ ite->ClipEdited = true;
-+ ite->FrameType = 3;
-+ ite->setLineEnd(PLineEnd);
-+ ite->setLineJoin(PLineJoin);
-+ ite->setTextFlowMode(PageItem::TextFlowDisabled);
-+ // Fill text rendering modes. See above
-+ if (textRenderingMode == 0 || textRenderingMode == 2 || textRenderingMode == 4 || textRenderingMode == 6)
-+ {
-+ CurrColorFill = getColor(state->getFillColorSpace(), state->getFillColor(), &CurrFillShade);
-+ ite->setFillColor(CurrColorFill);
-+ ite->setFillShade(CurrFillShade);
-+ ite->setFillEvenOdd(false);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ }
-+ // Stroke text rendering modes. See above
-+ if (textRenderingMode == 1 || textRenderingMode == 2 || textRenderingMode == 5 || textRenderingMode == 6)
-+ {
-+ CurrColorStroke = getColor(state->getStrokeColorSpace(), state->getStrokeColor(), &CurrStrokeShade);
-+ ite->setLineColor(CurrColorStroke);
-+ ite->setLineWidth(state->getTransformedLineWidth());
-+ ite->setLineTransparency(1.0 - state->getStrokeOpacity());
-+ ite->setLineBlendmode(getBlendMode(state));
-+ ite->setLineShade(CurrStrokeShade);
-+ }
-+ m_doc->adjustItemSize(ite);
-+ m_Elements->append(ite);
-+ if (m_groupStack.count() != 0)
-+ {
-+ m_groupStack.top().Items.append(ite);
-+ applyMask(ite);
-+ }
-+ delete fontPath;
-+ }
-+ }
-+ }
-+}
-+
-+GBool SlaOutputDev::beginType3Char(GfxState *state, double x, double y, double dx, double dy, CharCode code, POPPLER_CONST_082 Unicode *u, int uLen)
-+{
-+// qDebug() << "beginType3Char";
-+ GfxFont *gfxFont;
-+ if (!(gfxFont = state->getFont()))
-+ return gTrue;
-+ if (gfxFont->getType() != fontType3)
-+ return gTrue;
-+ F3Entry f3e;
-+ f3e.colored = false;
-+ m_F3Stack.push(f3e);
-+ pushGroup();
-+ return gFalse;
-+}
-+
-+void SlaOutputDev::endType3Char(GfxState *state)
-+{
-+// qDebug() << "endType3Char";
-+ F3Entry f3e = m_F3Stack.pop();
-+ groupEntry gElements = m_groupStack.pop();
-+ m_doc->m_Selection->clear();
-+ if (gElements.Items.count() > 0)
-+ {
-+ m_doc->m_Selection->delaySignalsOn();
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ m_doc->m_Selection->addItem(gElements.Items.at(dre), true);
-+ m_Elements->removeAll(gElements.Items.at(dre));
-+ }
-+ PageItem *ite;
-+ if (m_doc->m_Selection->count() > 1)
-+ ite = m_doc->groupObjectsSelection();
-+ else
-+ ite = m_doc->m_Selection->itemAt(0);
-+ if (!f3e.colored)
-+ {
-+ m_doc->itemSelection_SetItemBrush(CurrColorFill);
-+ m_doc->itemSelection_SetItemBrushShade(CurrFillShade);
-+ m_doc->itemSelection_SetItemFillTransparency(1.0 - state->getFillOpacity());
-+ m_doc->itemSelection_SetItemFillBlend(getBlendMode(state));
-+ }
-+ m_Elements->append(ite);
-+ m_doc->m_Selection->clear();
-+ m_doc->m_Selection->delaySignalsOff();
-+ }
-+}
-+
-+void SlaOutputDev::type3D0(GfxState * /*state*/, double /*wx*/, double /*wy*/)
-+{
-+// qDebug() << "type3D0";
-+ if (m_F3Stack.count() > 0)
-+ m_F3Stack.top().colored = true;
-+}
-+
-+void SlaOutputDev::type3D1(GfxState *state, double wx, double wy, double llx, double lly, double urx, double ury)
-+{
-+// qDebug() << "type3D1";
-+ if (m_F3Stack.count() > 0)
-+ m_F3Stack.top().colored = false;
-+}
-+
-+void SlaOutputDev::beginTextObject(GfxState *state)
-+{
-+ pushGroup();
-+}
-+
-+void SlaOutputDev::endTextObject(GfxState *state)
-+{
-+// qDebug() << "SlaOutputDev::endTextObject";
-+ if (!m_clipTextPath.isEmpty())
-+ {
-+ m_currentClipPath = intersection(m_currentClipPath, m_clipTextPath);
-+ m_clipTextPath = QPainterPath();
-+ }
-+ if (m_groupStack.count() != 0)
-+ {
-+ groupEntry gElements = m_groupStack.pop();
-+ tmpSel->clear();
-+ if (gElements.Items.count() > 0)
-+ {
-+ for (int dre = 0; dre < gElements.Items.count(); ++dre)
-+ {
-+ tmpSel->addItem(gElements.Items.at(dre), true);
-+ m_Elements->removeAll(gElements.Items.at(dre));
-+ }
-+ PageItem *ite;
-+ if (gElements.Items.count() != 1)
-+ ite = m_doc->groupObjectsSelection(tmpSel);
-+ else
-+ ite = gElements.Items.first();
-+ ite->setGroupClipping(false);
-+ ite->setFillTransparency(1.0 - state->getFillOpacity());
-+ ite->setFillBlendmode(getBlendMode(state));
-+ for (int as = 0; as < tmpSel->count(); ++as)
-+ {
-+ m_Elements->append(tmpSel->itemAt(as));
-+ }
-+ if (m_groupStack.count() != 0)
-+ applyMask(ite);
-+ }
-+ if (m_groupStack.count() != 0)
-+ {
-+ for (int as = 0; as < tmpSel->count(); ++as)
-+ {
-+ m_groupStack.top().Items.append(tmpSel->itemAt(as));
-+ }
-+ }
-+ tmpSel->clear();
-+ }
-+}
-+
-+QString SlaOutputDev::getColor(GfxColorSpace *color_space, POPPLER_CONST_070 GfxColor *color, int *shade)
-+{
-+ QString fNam;
-+ QString namPrefix = "FromPDF";
-+ ScColor tmp;
-+ tmp.setSpotColor(false);
-+ tmp.setRegistrationColor(false);
-+ *shade = 100;
-+ /*if (m_F3Stack.count() > 0)
-+ {
-+ if (!m_F3Stack.top().colored)
-+ return "Black";
-+ }*/
-+
-+ if ((color_space->getMode() == csDeviceRGB) || (color_space->getMode() == csCalRGB))
-+ {
-+ GfxRGB rgb;
-+ color_space->getRGB(color, &rgb);
-+ double Rc = colToDbl(rgb.r);
-+ double Gc = colToDbl(rgb.g);
-+ double Bc = colToDbl(rgb.b);
-+ tmp.setRgbColorF(Rc, Gc, Bc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if (color_space->getMode() == csDeviceCMYK)
-+ {
-+ GfxCMYK cmyk;
-+ color_space->getCMYK(color, &cmyk);
-+ double Cc = colToDbl(cmyk.c);
-+ double Mc = colToDbl(cmyk.m);
-+ double Yc = colToDbl(cmyk.y);
-+ double Kc = colToDbl(cmyk.k);
-+ tmp.setCmykColorF(Cc, Mc, Yc, Kc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if ((color_space->getMode() == csCalGray) || (color_space->getMode() == csDeviceGray))
-+ {
-+ GfxGray gray;
-+ color_space->getGray(color, &gray);
-+ double Kc = 1.0 - colToDbl(gray);
-+ tmp.setCmykColorF(0, 0, 0, Kc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if (color_space->getMode() == csSeparation)
-+ {
-+ GfxSeparationColorSpace* sepColorSpace = (GfxSeparationColorSpace*) color_space;
-+ GfxColorSpace* altColorSpace = sepColorSpace->getAlt();
-+ QString name = QString(sepColorSpace->getName()->getCString());
-+ bool isRegistrationColor = (name == "All");
-+ if (isRegistrationColor)
-+ {
-+ tmp.setCmykColorF(1.0, 1.0, 1.0, 1.0);
-+ tmp.setRegistrationColor(true);
-+ name = "Registration";
-+ }
-+ else if ((altColorSpace->getMode() == csDeviceRGB) || (altColorSpace->getMode() == csCalRGB))
-+ {
-+ double x = 1.0;
-+ double comps[gfxColorMaxComps];
-+ sepColorSpace->getFunc()->transform(&x, comps);
-+ tmp.setRgbColorF(comps[0], comps[1], comps[2]);
-+ }
-+ else if ((altColorSpace->getMode() == csCalGray) || (altColorSpace->getMode() == csDeviceGray))
-+ {
-+ double x = 1.0;
-+ double comps[gfxColorMaxComps];
-+ sepColorSpace->getFunc()->transform(&x, comps);
-+ tmp.setCmykColorF(0.0, 0.0, 0.0, 1.0 - comps[0]);
-+ }
-+ else if (altColorSpace->getMode() == csLab)
-+ {
-+ double x = 1.0;
-+ double comps[gfxColorMaxComps];
-+ sepColorSpace->getFunc()->transform(&x, comps);
-+ tmp.setLabColor(comps[0], comps[1], comps[2]);
-+ }
-+ else
-+ {
-+ GfxCMYK cmyk;
-+ color_space->getCMYK(color, &cmyk);
-+ double Cc = colToDbl(cmyk.c);
-+ double Mc = colToDbl(cmyk.m);
-+ double Yc = colToDbl(cmyk.y);
-+ double Kc = colToDbl(cmyk.k);
-+ tmp.setCmykColorF(Cc, Mc, Yc, Kc);
-+ }
-+ tmp.setSpotColor(true);
-+
-+ fNam = m_doc->PageColors.tryAddColor(name, tmp);
-+ *shade = qRound(colToDbl(color->c[0]) * 100);
-+ }
-+ else
-+ {
-+ GfxRGB rgb;
-+ color_space->getRGB(color, &rgb);
-+ double Rc = colToDbl(rgb.r);
-+ double Gc = colToDbl(rgb.g);
-+ double Bc = colToDbl(rgb.b);
-+ tmp.setRgbColorF(Rc, Gc, Bc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+// qDebug() << "update fill color other colorspace" << color_space->getMode() << "treating as rgb" << Rc << Gc << Bc;
-+ }
-+ if (fNam == namPrefix+tmp.name())
-+ m_importedColors->append(fNam);
-+ return fNam;
-+}
-+
-+QString SlaOutputDev::getAnnotationColor(const AnnotColor *color)
-+{
-+ QString fNam;
-+ QString namPrefix = "FromPDF";
-+ ScColor tmp;
-+ tmp.setSpotColor(false);
-+ tmp.setRegistrationColor(false);
-+ if (color->getSpace() == AnnotColor::colorTransparent)
-+ return CommonStrings::None;
-+ if (color->getSpace() == AnnotColor::colorRGB)
-+ {
-+ const double *color_data = color->getValues();
-+ double Rc = color_data[0];
-+ double Gc = color_data[1];
-+ double Bc = color_data[2];
-+ tmp.setRgbColorF(Rc, Gc, Bc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if (color->getSpace() == AnnotColor::colorCMYK)
-+ {
-+ const double *color_data = color->getValues();
-+ double Cc = color_data[0];
-+ double Mc = color_data[1];
-+ double Yc = color_data[2];
-+ double Kc = color_data[3];
-+ tmp.setCmykColorF(Cc, Mc, Yc, Kc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ else if (color->getSpace() == AnnotColor::colorGray)
-+ {
-+ const double *color_data = color->getValues();
-+ double Kc = 1.0 - color_data[0];
-+ tmp.setCmykColorF(0, 0, 0, Kc);
-+ fNam = m_doc->PageColors.tryAddColor(namPrefix+tmp.name(), tmp);
-+ }
-+ if (fNam == namPrefix+tmp.name())
-+ m_importedColors->append(fNam);
-+ return fNam;
-+}
-+
-+QString SlaOutputDev::convertPath(POPPLER_CONST_083 GfxPath *path)
-+{
-+// qDebug() << "SlaOutputDev::convertPath";
-+ if (! path)
-+ return QString();
-+
-+ QString output;
-+ pathIsClosed = false;
-+
-+ for (int i = 0; i < path->getNumSubpaths(); ++i)
-+ {
-+ POPPLER_CONST_083 GfxSubpath * subpath = path->getSubpath(i);
-+ if (subpath->getNumPoints() > 0)
-+ {
-+ output += QString("M %1 %2").arg(subpath->getX(0)).arg(subpath->getY(0));
-+ int j = 1;
-+ while (j < subpath->getNumPoints())
-+ {
-+ if (subpath->getCurve(j))
-+ {
-+ output += QString("C %1 %2 %3 %4 %5 %6")
-+ .arg(subpath->getX(j)).arg(subpath->getY(j))
-+ .arg(subpath->getX(j + 1)).arg(subpath->getY(j + 1))
-+ .arg(subpath->getX(j + 2)).arg(subpath->getY(j + 2));
-+ j += 3;
-+ }
-+ else
-+ {
-+ output += QString("L %1 %2").arg(subpath->getX(j)).arg(subpath->getY(j));
-+ ++j;
-+ }
-+ }
-+ if (subpath->isClosed())
-+ {
-+ output += QString("Z");
-+ pathIsClosed = true;
-+ }
-+ }
-+ }
-+ return output;
-+}
-+
-+void SlaOutputDev::getPenState(GfxState *state)
-+{
-+ switch (state->getLineCap())
-+ {
-+ case 0:
-+ PLineEnd = Qt::FlatCap;
-+ break;
-+ case 1:
-+ PLineEnd = Qt::RoundCap;
-+ break;
-+ case 2:
-+ PLineEnd = Qt::SquareCap;
-+ break;
-+ }
-+ switch (state->getLineJoin())
-+ {
-+ case 0:
-+ PLineJoin = Qt::MiterJoin;
-+ break;
-+ case 1:
-+ PLineJoin = Qt::RoundJoin;
-+ break;
-+ case 2:
-+ PLineJoin = Qt::BevelJoin;
-+ break;
-+ }
-+ double lw = state->getLineWidth();
-+ double *dashPattern;
-+ int dashLength;
-+ state->getLineDash(&dashPattern, &dashLength, &DashOffset);
-+ QVector<double> pattern(dashLength);
-+ for (int i = 0; i < dashLength; ++i)
-+ {
-+ pattern[i] = dashPattern[i] / lw;
-+ }
-+ DashValues = pattern;
-+}
-+
-+int SlaOutputDev::getBlendMode(GfxState *state)
-+{
-+ int mode = 0;
-+ switch (state->getBlendMode())
-+ {
-+ default:
-+ case gfxBlendNormal:
-+ mode = 0;
-+ break;
-+ case gfxBlendDarken:
-+ mode = 1;
-+ break;
-+ case gfxBlendLighten:
-+ mode = 2;
-+ break;
-+ case gfxBlendMultiply:
-+ mode = 3;
-+ break;
-+ case gfxBlendScreen:
-+ mode = 4;
-+ break;
-+ case gfxBlendOverlay:
-+ mode = 5;
-+ break;
-+ case gfxBlendHardLight:
-+ mode = 6;
-+ break;
-+ case gfxBlendSoftLight:
-+ mode = 7;
-+ break;
-+ case gfxBlendDifference:
-+ mode = 8;
-+ break;
-+ case gfxBlendExclusion:
-+ mode = 9;
-+ break;
-+ case gfxBlendColorDodge:
-+ mode = 10;
-+ break;
-+ case gfxBlendColorBurn:
-+ mode = 11;
-+ break;
-+ case gfxBlendHue:
-+ mode = 12;
-+ break;
-+ case gfxBlendSaturation:
-+ mode = 13;
-+ break;
-+ case gfxBlendColor:
-+ mode = 14;
-+ break;
-+ case gfxBlendLuminosity:
-+ mode = 15;
-+ break;
-+ }
-+ return mode;
-+}
-+
-+void SlaOutputDev::applyMask(PageItem *ite)
-+{
-+ if (m_groupStack.count() != 0)
-+ {
-+ if (!m_groupStack.top().maskName.isEmpty())
-+ {
-+ ite->setPatternMask(m_groupStack.top().maskName);
-+ QPointF maskPos = m_groupStack.top().maskPos;
-+ double sx, sy, px, py, r, shx, shy;
-+ ite->maskTransform(sx, sy, px, py, r, shx, shy);
-+ ite->setMaskTransform(sx, sy, maskPos.x() - ite->xPos(), maskPos.y() - ite->yPos(), r, shx, shy);
-+ if (m_groupStack.top().alpha)
-+ {
-+ if (m_groupStack.top().inverted)
-+ ite->setMaskType(8);
-+ else
-+ ite->setMaskType(3);
-+ }
-+ else
-+ {
-+ if (m_groupStack.top().inverted)
-+ ite->setMaskType(7);
-+ else
-+ ite->setMaskType(6);
-+ }
-+ }
-+ }
-+ // Code for updating our Progressbar, needs to be called this way, as we have no
-+ // possibility to get the current fileposition.
-+ updateGUICounter++;
-+ if (updateGUICounter > 20)
-+ {
-+ qApp->processEvents();
-+ updateGUICounter = 0;
-+ }
-+}
-+
-+void SlaOutputDev::pushGroup(const QString& maskName, GBool forSoftMask, GBool alpha, bool inverted)
-+{
-+ groupEntry gElements;
-+ gElements.forSoftMask = forSoftMask;
-+ gElements.alpha = alpha;
-+ gElements.inverted = inverted;
-+ gElements.maskName = maskName;
-+ m_groupStack.push(gElements);
-+}
-+
-+QString SlaOutputDev::UnicodeParsedString(POPPLER_CONST GooString *s1)
-+{
-+ if ( !s1 || s1->getLength() == 0 )
-+ return QString();
-+ GBool isUnicode;
-+ int i;
-+ Unicode u;
-+ QString result;
-+ if ((s1->getChar(0) & 0xff) == 0xfe && (s1->getLength() > 1 && (s1->getChar(1) & 0xff) == 0xff))
-+ {
-+ isUnicode = gTrue;
-+ i = 2;
-+ result.reserve((s1->getLength() - 2) / 2);
-+ }
-+ else
-+ {
-+ isUnicode = gFalse;
-+ i = 0;
-+ result.reserve(s1->getLength());
-+ }
-+ while (i < s1->getLength())
-+ {
-+ if (isUnicode)
-+ {
-+ u = ((s1->getChar(i) & 0xff) << 8) | (s1->getChar(i+1) & 0xff);
-+ i += 2;
-+ }
-+ else
-+ {
-+ u = s1->getChar(i) & 0xff;
-+ ++i;
-+ }
-+ result += QChar( u );
-+ }
-+ return result;
-+}
-+
-+QString SlaOutputDev::UnicodeParsedString(const std::string& s1)
-+{
-+ if (s1.length() == 0)
-+ return QString();
-+ GBool isUnicode;
-+ size_t i;
-+ Unicode u;
-+ QString result;
-+ if ((s1.at(0) & 0xff) == 0xfe && (s1.length() > 1 && (s1.at(1) & 0xff) == 0xff))
-+ {
-+ isUnicode = gTrue;
-+ i = 2;
-+ result.reserve((s1.length() - 2) / 2);
-+ }
-+ else
-+ {
-+ isUnicode = gFalse;
-+ i = 0;
-+ result.reserve(s1.length());
-+ }
-+ while (i < s1.length())
-+ {
-+ if (isUnicode)
-+ {
-+ u = ((s1.at(i) & 0xff) << 8) | (s1.at(i+1) & 0xff);
-+ i += 2;
-+ }
-+ else
-+ {
-+ u = s1.at(i) & 0xff;
-+ ++i;
-+ }
-+ // #15616: imagemagick may write unicode strings incorrectly in PDF
-+ if (u == 0)
-+ continue;
-+ result += QChar(u);
-+ }
-+ return result;
-+}
-+
-+bool SlaOutputDev::checkClip()
-+{
-+ bool ret = false;
-+ if (!m_currentClipPath.isEmpty())
-+ {
-+ QRectF bbox = m_currentClipPath.boundingRect();
-+ if ((bbox.width() > 0) && (bbox.height() > 0))
-+ ret = true;
-+ }
-+ return ret;
-+}
-diff -Naur scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.h scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.h
---- scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.h 2020-11-14 23:37:11.000000000 +0100
-+++ scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.h 2021-04-04 11:46:37.053404000 +0200
-@@ -196,7 +196,11 @@
- void stroke(GfxState *state) override;
- void fill(GfxState *state) override;
- void eoFill(GfxState *state) override;
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 3, 0)
-+ bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, GfxTilingPattern *tPat, const double *mat, int x0, int y0, int x1, int y1, double xStep, double yStep) override;
-+#else
- GBool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, Object *str, POPPLER_CONST_070 double *pmat, int paintType, int tilingType, Dict *resDict, POPPLER_CONST_070 double *mat, POPPLER_CONST_070 double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep) override;
-+#endif
- GBool functionShadedFill(GfxState * /*state*/, GfxFunctionShading * /*shading*/) override { qDebug() << "Function Shaded Fill"; return gFalse; }
- GBool axialShadedFill(GfxState *state, GfxAxialShading *shading, double tMin, double tMax) override;
- GBool axialShadedSupportExtend(GfxState *state, GfxAxialShading *shading) override { return (shading->getExtend0() == shading->getExtend1()); }
-@@ -368,7 +372,11 @@
- Catalog *catalog {nullptr};
- SplashFontEngine *m_fontEngine {nullptr};
- SplashFont *m_font {nullptr};
-- FormPageWidgets *m_formWidgets {nullptr};
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(21, 4, 0)
-+ std::unique_ptr<FormPageWidgets> m_formWidgets {nullptr};
-+#else
-+ FormPageWidgets *m_formWidgets {nullptr};
-+#endif
- QHash<QString, QList<int> > m_radioMap;
- QHash<int, PageItem*> m_radioButtons;
- int m_actPage;
-diff -Naur scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.h.orig scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.h.orig
---- scribus-1.5.6.1.orig/scribus/plugins/import/pdf/slaoutput.h.orig 1970-01-01 01:00:00.000000000 +0100
-+++ scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.h.orig 2020-11-14 23:37:11.000000000 +0100
-@@ -0,0 +1,377 @@
-+/*
-+For general Scribus (>=1.3.2) copyright and licensing information please refer
-+to the COPYING file provided with the program. Following this notice may exist
-+a copyright and/or license notice that predates the release of Scribus 1.3.2
-+for which a new license (GPL+exception) is in place.
-+*/
-+#ifndef SLAOUTPUT_H
-+#define SLAOUTPUT_H
-+
-+#include <QBuffer>
-+#include <QColor>
-+#include <QBrush>
-+#include <QDebug>
-+#include <QImage>
-+#include <QPen>
-+#include <QList>
-+#include <QSizeF>
-+#include <QStack>
-+#include <QString>
-+#include <QTextStream>
-+#include <QTransform>
-+
-+#include <memory>
-+
-+#include "fpointarray.h"
-+#include "importpdfconfig.h"
-+#include "pageitem.h"
-+#include "scribusdoc.h"
-+#include "scribusview.h"
-+#include "selection.h"
-+#include "vgradient.h"
-+
-+#if POPPLER_ENCODED_VERSION < POPPLER_VERSION_ENCODE(0, 73, 0)
-+#include <poppler/goo/gtypes.h>
-+#endif
-+#include <poppler/Object.h>
-+#include <poppler/OutputDev.h>
-+#include <poppler/Gfx.h>
-+#include <poppler/GfxState.h>
-+#include <poppler/Stream.h>
-+#include <poppler/GfxFont.h>
-+#include <poppler/Link.h>
-+#include <poppler/PDFDoc.h>
-+#include <poppler/Error.h>
-+#include <poppler/Form.h>
-+#include <poppler/Page.h>
-+#include <poppler/Catalog.h>
-+#include <poppler/CharCodeToUnicode.h>
-+#include <poppler/FontEncodingTables.h>
-+#include <poppler/splash/SplashFontFileID.h>
-+#include <poppler/splash/SplashFontFile.h>
-+#include <poppler/splash/SplashFontEngine.h>
-+#include <poppler/splash/SplashFont.h>
-+#include <poppler/splash/SplashMath.h>
-+#include <poppler/splash/SplashPath.h>
-+#include <poppler/splash/SplashGlyphBitmap.h>
-+
-+//------------------------------------------------------------------------
-+// LinkSubmitData
-+//------------------------------------------------------------------------
-+
-+class LinkSubmitForm: public LinkAction
-+{
-+public:
-+ // Build a LinkImportData from an action dictionary.
-+ LinkSubmitForm(Object *actionObj);
-+ // Destructor.
-+ virtual ~LinkSubmitForm();
-+
-+ // Was the LinkImportData created successfully?
-+ GBool isOk() POPPLER_CONST override { return fileName != nullptr; }
-+ // Accessors.
-+ LinkActionKind getKind() POPPLER_CONST override { return actionUnknown; }
-+ GooString *getFileName() { return fileName; }
-+ int getFlags() { return m_flags; }
-+
-+private:
-+ GooString *fileName {nullptr}; // file name
-+ int m_flags {0};
-+};
-+
-+//------------------------------------------------------------------------
-+// LinkImportData
-+//------------------------------------------------------------------------
-+
-+class LinkImportData: public LinkAction
-+{
-+public:
-+ // Build a LinkImportData from an action dictionary.
-+ LinkImportData(Object *actionObj);
-+ // Destructor.
-+ virtual ~LinkImportData();
-+
-+ // Was the LinkImportData created successfully?
-+ GBool isOk() POPPLER_CONST override { return fileName != nullptr; }
-+ // Accessors.
-+ LinkActionKind getKind() POPPLER_CONST override { return actionUnknown; }
-+ GooString *getFileName() { return fileName; }
-+
-+private:
-+ GooString *fileName {nullptr}; // file name
-+};
-+
-+//------------------------------------------------------------------------
-+// SlaOutFontFileID
-+//------------------------------------------------------------------------
-+
-+class SlaOutFontFileID: public SplashFontFileID
-+{
-+public:
-+ SlaOutFontFileID(const Ref *rA) { r = *rA; }
-+ ~SlaOutFontFileID() {}
-+
-+ GBool matches(SplashFontFileID *id) override
-+ {
-+ return ((SlaOutFontFileID*) id)->r.num == r.num && ((SlaOutFontFileID *) id)->r.gen == r.gen;
-+ }
-+
-+private:
-+ Ref r;
-+};
-+
-+
-+class AnoOutputDev : public OutputDev
-+{
-+public:
-+ AnoOutputDev(ScribusDoc* doc, QStringList *importedColors);
-+ virtual ~AnoOutputDev();
-+
-+ GBool isOk() { return gTrue; }
-+ GBool upsideDown() override { return gTrue; }
-+ GBool useDrawChar() override { return gFalse; }
-+ GBool interpretType3Chars() override { return gFalse; }
-+ GBool useTilingPatternFill() override { return gFalse; }
-+ GBool useShadedFills(int type) override { return gFalse; }
-+ GBool useFillColorStop() override { return gFalse; }
-+ GBool useDrawForm() override { return gFalse; }
-+
-+ void stroke(GfxState *state) override;
-+ void eoFill(GfxState *state) override;
-+ void fill(GfxState *state) override;
-+ void drawString(GfxState *state, POPPLER_CONST GooString *s) override;
-+
-+ QString CurrColorText;
-+ QString CurrColorFill;
-+ QString CurrColorStroke;
-+ double m_fontSize {12};
-+ GooString *m_fontName {nullptr};
-+ GooString *m_itemText {nullptr};
-+
-+private:
-+ QString getColor(GfxColorSpace *color_space, POPPLER_CONST_070 GfxColor *color, int *shade);
-+ ScribusDoc* m_doc;
-+ QStringList *m_importedColors;
-+};
-+
-+
-+class SlaOutputDev : public OutputDev
-+{
-+public:
-+ SlaOutputDev(ScribusDoc* doc, QList<PageItem*> *Elements, QStringList *importedColors, int flags);
-+ virtual ~SlaOutputDev();
-+
-+ LinkAction* SC_getAction(AnnotWidget *ano);
-+#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(0, 86, 0)
-+ std::unique_ptr<LinkAction> SC_getAdditionalAction(const char *key, AnnotWidget *ano);
-+#else
-+ LinkAction* SC_getAdditionalAction(const char *key, AnnotWidget *ano);
-+#endif
-+ static GBool annotations_callback(Annot *annota, void *user_data);
-+ bool handleTextAnnot(Annot* annota, double xCoor, double yCoor, double width, double height);
-+ bool handleLinkAnnot(Annot* annota, double xCoor, double yCoor, double width, double height);
-+ bool handleWidgetAnnot(Annot* annota, double xCoor, double yCoor, double width, double height);
-+ void applyTextStyle(PageItem* ite, const QString& fontName, const QString& textColor, double fontSize);
-+ void handleActions(PageItem* ite, AnnotWidget *ano);
-+ void startDoc(PDFDoc *doc, XRef *xrefA, Catalog *catA);
-+
-+ GBool isOk() { return gTrue; }
-+ GBool upsideDown() override { return gTrue; }
-+ GBool useDrawChar() override { return gTrue; }
-+ GBool interpretType3Chars() override { return gTrue; }
-+ GBool useTilingPatternFill() override { return gTrue; }
-+ GBool useShadedFills(int type) override { return type <= 7; }
-+ GBool useFillColorStop() override { return gTrue; }
-+ GBool useDrawForm() override { return gFalse; }
-+
-+// virtual GBool needClipToCropBox() { return gTrue; }
-+ void startPage(int pageNum, GfxState *, XRef *) override;
-+ void endPage() override;
-+
-+ // graphics state
-+ void saveState(GfxState *state) override;
-+ void restoreState(GfxState *state) override;
-+
-+ //----- path painting
-+ void stroke(GfxState *state) override;
-+ void fill(GfxState *state) override;
-+ void eoFill(GfxState *state) override;
-+ GBool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, Object *str, POPPLER_CONST_070 double *pmat, int paintType, int tilingType, Dict *resDict, POPPLER_CONST_070 double *mat, POPPLER_CONST_070 double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep) override;
-+ GBool functionShadedFill(GfxState * /*state*/, GfxFunctionShading * /*shading*/) override { qDebug() << "Function Shaded Fill"; return gFalse; }
-+ GBool axialShadedFill(GfxState *state, GfxAxialShading *shading, double tMin, double tMax) override;
-+ GBool axialShadedSupportExtend(GfxState *state, GfxAxialShading *shading) override { return (shading->getExtend0() == shading->getExtend1()); }
-+ GBool radialShadedFill(GfxState *state, GfxRadialShading *shading, double sMin, double sMax) override;
-+ GBool radialShadedSupportExtend(GfxState *state, GfxRadialShading *shading) override { return (shading->getExtend0() == shading->getExtend1()); }
-+ GBool gouraudTriangleShadedFill(GfxState *state, GfxGouraudTriangleShading *shading) override;
-+ GBool patchMeshShadedFill(GfxState *state, GfxPatchMeshShading *shading) override;
-+
-+ //----- path clipping
-+ void clip(GfxState *state) override;
-+ void eoClip(GfxState *state) override;
-+ void clipToStrokePath(GfxState * /*state*/) override { qDebug() << "Clip to StrokePath"; }
-+ virtual GBool deviceHasTextClip(GfxState *state) { return gFalse; }
-+
-+ // If current colorspace is pattern,
-+ // does this device support text in pattern colorspace?
-+ virtual GBool supportTextCSPattern(GfxState *state)
-+ {
-+ return state->getFillColorSpace()->getMode() == csPattern;
-+ }
-+
-+ // If current colorspace is pattern,
-+ // need this device special handling for masks in pattern colorspace?
-+ virtual GBool fillMaskCSPattern(GfxState * state)
-+ {
-+ return state->getFillColorSpace()->getMode() == csPattern;
-+ }
-+
-+ virtual void endMaskClip(GfxState *state) { qDebug() << "End Mask Clip"; }
-+
-+ //----- grouping operators
-+ void beginMarkedContent(POPPLER_CONST char *name, Dict *properties) override;
-+ virtual void beginMarkedContent(POPPLER_CONST char *name, Object *dictRef);
-+ void endMarkedContent(GfxState *state) override;
-+ void markPoint(POPPLER_CONST char *name) override;
-+ void markPoint(POPPLER_CONST char *name, Dict *properties) override;
-+
-+ //----- image drawing
-+ void drawImageMask(GfxState *state, Object *ref, Stream *str, int width, int height, GBool invert, GBool interpolate, GBool inlineImg) override;
-+ void drawImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, POPPLER_CONST_082 int *maskColors, GBool inlineImg) override;
-+ void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str,
-+ int width, int height,
-+ GfxImageColorMap *colorMap,
-+ GBool interpolate,
-+ Stream *maskStr,
-+ int maskWidth, int maskHeight,
-+ GfxImageColorMap *maskColorMap,
-+ GBool maskInterpolate) override;
-+
-+ void drawMaskedImage(GfxState *state, Object *ref, Stream *str,
-+ int width, int height,
-+ GfxImageColorMap *colorMap,
-+ GBool interpolate,
-+ Stream *maskStr,
-+ int maskWidth, int maskHeight,
-+ GBool maskInvert, GBool maskInterpolate) override; // { qDebug() << "Draw Masked Image"; }
-+
-+ //----- transparency groups and soft masks
-+ void beginTransparencyGroup(GfxState *state, POPPLER_CONST_070 double *bbox, GfxColorSpace * /*blendingColorSpace*/, GBool /*isolated*/, GBool /*knockout*/, GBool /*forSoftMask*/) override;
-+ void paintTransparencyGroup(GfxState *state, POPPLER_CONST_070 double *bbox) override;
-+ void endTransparencyGroup(GfxState *state) override;
-+ void setSoftMask(GfxState * /*state*/, POPPLER_CONST_070 double * /*bbox*/, GBool /*alpha*/, Function * /*transferFunc*/, GfxColor * /*backdropColor*/) override;
-+ void clearSoftMask(GfxState * /*state*/) override;
-+
-+ void updateFillColor(GfxState *state) override;
-+ void updateStrokeColor(GfxState *state) override;
-+ void updateFont(GfxState *state) override;
-+
-+ //----- text drawing
-+ void beginTextObject(GfxState *state) override;
-+ void endTextObject(GfxState *state) override;
-+ void drawChar(GfxState *state, double /*x*/, double /*y*/, double /*dx*/, double /*dy*/, double /*originX*/, double /*originY*/, CharCode /*code*/, int /*nBytes*/, POPPLER_CONST_082 Unicode * /*u*/, int /*uLen*/) override;
-+ GBool beginType3Char(GfxState * /*state*/, double /*x*/, double /*y*/, double /*dx*/, double /*dy*/, CharCode /*code*/, POPPLER_CONST_082 Unicode * /*u*/, int /*uLen*/) override;
-+ void endType3Char(GfxState * /*state*/) override;
-+ void type3D0(GfxState * /*state*/, double /*wx*/, double /*wy*/) override;
-+ void type3D1(GfxState * /*state*/, double /*wx*/, double /*wy*/, double /*llx*/, double /*lly*/, double /*urx*/, double /*ury*/) override;
-+
-+ //----- form XObjects
-+ void drawForm(Ref /*id*/) override { qDebug() << "Draw Form"; }
-+
-+ //----- links
-+ void processLink(AnnotLink * /*link*/) override { qDebug() << "Draw Link"; }
-+
-+ bool layersSetByOCG;
-+ double cropOffsetX {0.0};
-+ double cropOffsetY {0.0};
-+ int rotate;
-+
-+private:
-+ void getPenState(GfxState *state);
-+ QString getColor(GfxColorSpace *color_space, POPPLER_CONST_070 GfxColor *color, int *shade);
-+ QString getAnnotationColor(const AnnotColor *color);
-+ QString convertPath(POPPLER_CONST_083 GfxPath *path);
-+ int getBlendMode(GfxState *state);
-+ void applyMask(PageItem *ite);
-+ void pushGroup(const QString& maskName = "", GBool forSoftMask = gFalse, GBool alpha = gFalse, bool inverted = false);
-+ QString UnicodeParsedString(POPPLER_CONST GooString *s1);
-+ QString UnicodeParsedString(const std::string& s1);
-+ bool checkClip();
-+
-+ // Intersect the current clip path with the new path in state where filled areas
-+ // are interpreted according to fillRule.
-+ void adjustClip(GfxState *state, Qt::FillRule fillRule);
-+
-+ // Take the current path of state and interpret it according to fillRule,
-+ // intersect it with the clipping path and create a new pageitem for it.
-+ void createFillItem(GfxState *state, Qt::FillRule fillRule);
-+
-+ void createImageFrame(QImage& image, GfxState *state, int numColorComponents);
-+
-+ bool pathIsClosed {false};
-+ QString CurrColorFill;
-+ int CurrFillShade {100};
-+ QString CurrColorStroke;
-+ int CurrStrokeShade {100};
-+ Qt::PenCapStyle PLineEnd {Qt::FlatCap};
-+ Qt::PenJoinStyle PLineJoin {Qt::MiterJoin};
-+ QVector<double> DashValues;
-+ double DashOffset {0.0};
-+ QString Coords;
-+ // The currently visible area. If it is empty, everything is visible.
-+ // QPainterPath has the drawback that it sometimes approximates Bezier curves
-+ // by line segments for numerical stability. If available, a better class
-+ // should be used. However, it is important that the used class knows which
-+ // areas are covered and does not rely on external information about the fill
-+ // rule to use.
-+ QPainterPath m_currentClipPath;
-+ QStack<QPainterPath> m_clipPaths;
-+ // Collect the paths of character glyphs for clipping of a whole text group.
-+ QPainterPath m_clipTextPath;
-+
-+ struct groupEntry
-+ {
-+ QList<PageItem*> Items;
-+ GBool forSoftMask;
-+ GBool isolated;
-+ GBool alpha;
-+ QString maskName;
-+ QPointF maskPos;
-+ bool inverted;
-+ };
-+ QStack<groupEntry> m_groupStack;
-+ QString m_currentMask;
-+ QPointF m_currentMaskPosition;
-+ ScribusDoc* m_doc;
-+ Selection* tmpSel;
-+ QList<PageItem*> *m_Elements;
-+ QStringList *m_importedColors;
-+ QTransform m_ctm;
-+ struct F3Entry
-+ {
-+ bool colored;
-+ };
-+ QStack<F3Entry> m_F3Stack;
-+ struct mContent
-+ {
-+ QString name;
-+ QString ocgName;
-+ };
-+ QStack<mContent> m_mcStack;
-+ int inPattern {0};
-+ int layerNum {1};
-+ int currentLayer;
-+ bool firstLayer {true};
-+ int importerFlags;
-+ int updateGUICounter {0};
-+ XRef *xref {nullptr}; // xref table for current document
-+ PDFDoc *pdfDoc {nullptr};
-+ Catalog *catalog {nullptr};
-+ SplashFontEngine *m_fontEngine {nullptr};
-+ SplashFont *m_font {nullptr};
-+ FormPageWidgets *m_formWidgets {nullptr};
-+ QHash<QString, QList<int> > m_radioMap;
-+ QHash<int, PageItem*> m_radioButtons;
-+ int m_actPage;
-+};
-+
-+#endif
diff --git a/office/scribus/scribus.SlackBuild b/office/scribus/scribus.SlackBuild
index b245cad8d6..c7e17f62e8 100644
--- a/office/scribus/scribus.SlackBuild
+++ b/office/scribus/scribus.SlackBuild
@@ -3,7 +3,7 @@
# 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,16 +12,16 @@
# 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
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scribus
-VERSION=${VERSION:-1.5.6.1}
+VERSION=${VERSION:-1.5.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -84,7 +84,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# thanks archlinux!
-patch -p1 < $CWD/poppler-21.4.0.patch
+patch -p1 < $CWD/harfbuzz-3.0.0.patch
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
diff --git a/office/scribus/scribus.info b/office/scribus/scribus.info
index 6bd5b6e480..f1b56cd8de 100644
--- a/office/scribus/scribus.info
+++ b/office/scribus/scribus.info
@@ -1,8 +1,8 @@
PRGNAM="scribus"
-VERSION="1.5.6.1"
+VERSION="1.5.7"
HOMEPAGE="https://www.scribus.net"
-DOWNLOAD="https://downloads.sourceforge.net/scribus/scribus-1.5.6.1.tar.xz"
-MD5SUM="12700cd8c6f08ef02f50495d2ef2d3ce"
+DOWNLOAD="https://downloads.sourceforge.net/scribus/scribus-1.5.7.tar.xz"
+MD5SUM="4d0c63cfdade8a9abf225a4415e43694"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
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..f83eda4399
--- /dev/null
+++ b/office/semantik/changelog
@@ -0,0 +1,14 @@
+Changelog for semantik SlackBuild Script
+--------------------------------------------------------------------
+
+20/08/2022:
+
+Added to SlackBuilds.org
+
+15/05/2023:
+
+Updated to Version 1.2.10
+
+23/04/2024:
+
+Updated to Version 1.2.11
diff --git a/office/semantik/doinst.sh b/office/semantik/doinst.sh
new file mode 100644
index 0000000000..19ad22754d
--- /dev/null
+++ b/office/semantik/doinst.sh
@@ -0,0 +1,13 @@
+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 [ -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/semantik/semantik.SlackBuild b/office/semantik/semantik.SlackBuild
new file mode 100644
index 0000000000..67f9094952
--- /dev/null
+++ b/office/semantik/semantik.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for semantik
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=semantik
+VERSION=${VERSION:-1.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="-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..0d1c241a39
--- /dev/null
+++ b/office/semantik/semantik.info
@@ -0,0 +1,10 @@
+PRGNAM="semantik"
+VERSION="1.2.11"
+HOMEPAGE="https://waf.io/semantik.html"
+DOWNLOAD="https://waf.io/semantik-1.2.11.tar.bz2"
+MD5SUM="adc209b898ee63ba8531f6f223acd383"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/office/xlsx2csv/slack-desc b/office/semantik/slack-desc
index 67694ec6f9..ce0f91beef 100644
--- a/office/xlsx2csv/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------------------------------------------------------|
-xlsx2csv: xlsx2csv (xlsx to csv converter)
-xlsx2csv:
-xlsx2csv: Converts xlsx files to csv format. Handles large XLSX files. Fast and
-xlsx2csv: easy to use.
-xlsx2csv:
-xlsx2csv:
-xlsx2csv:
-xlsx2csv:
-xlsx2csv:
-xlsx2csv: Homepage: https://github.com/dilshod/xlsx2csv
-xlsx2csv:
+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 84ae0bfae8..c3a3c3b1fc 100644
--- a/office/siag/siag.SlackBuild
+++ b/office/siag/siag.SlackBuild
@@ -14,15 +14,12 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -32,8 +29,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -57,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" \
diff --git a/office/sigil/sigil.info b/office/sigil/sigil.info
index 48f2d989d0..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="lxml"
+REQUIRES="python2-lxml python3-lxml"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/office/smoffice2018/smoffice2018.SlackBuild b/office/smoffice2018/smoffice2018.SlackBuild
index 21321fbcc4..e30bee3fde 100644
--- a/office/smoffice2018/smoffice2018.SlackBuild
+++ b/office/smoffice2018/smoffice2018.SlackBuild
@@ -24,10 +24,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: 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_976}
+VERSION=${VERSION:-2018_982}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/smoffice2018/smoffice2018.info b/office/smoffice2018/smoffice2018.info
index 7ff978e17a..5ca6e9bd29 100644
--- a/office/smoffice2018/smoffice2018.info
+++ b/office/smoffice2018/smoffice2018.info
@@ -1,10 +1,10 @@
PRGNAM="smoffice2018"
-VERSION="2018_976"
+VERSION="2018_982"
HOMEPAGE="https://www.softmaker.com/en/softmaker-office-linux"
-DOWNLOAD="https://www.softmaker.net/down/softmaker-office-2018-976-i386.tgz"
-MD5SUM="39b444fe84c6f83c2ca56f7647460604"
-DOWNLOAD_x86_64="https://www.softmaker.net/down/softmaker-office-2018-976-amd64.tgz"
-MD5SUM_x86_64="38f68ab6a54d19f733e86fecdd6b6fef"
+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="Donald Cooley"
EMAIL="chytraeu@sdf.org"
diff --git a/office/smoffice2021/smoffice2021.SlackBuild b/office/smoffice2021/smoffice2021.SlackBuild
index 59d63a94b0..353d40fe3e 100644
--- a/office/smoffice2021/smoffice2021.SlackBuild
+++ b/office/smoffice2021/smoffice2021.SlackBuild
@@ -2,10 +2,10 @@
# 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.
-
-# Copyright 2020, Donald Cooley, South Haven, Indiana, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=smoffice2021
-VERSION=${VERSION:-2021_1024}
+VERSION=${VERSION:-2021_1068}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/smoffice2021/smoffice2021.info b/office/smoffice2021/smoffice2021.info
index 43812124a4..d7d47ed5cf 100644
--- a/office/smoffice2021/smoffice2021.info
+++ b/office/smoffice2021/smoffice2021.info
@@ -1,10 +1,10 @@
PRGNAM="smoffice2021"
-VERSION="2021_1024"
+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-1024-amd64.tgz"
-MD5SUM_x86_64="4fd374951ac0a4671a91acdca475d90b"
+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/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/qpdfview-qt5/doinst.sh b/office/smoffice2024/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/office/qpdfview-qt5/doinst.sh
+++ b/office/smoffice2024/doinst.sh
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 b3c8c99a70..0000000000
--- a/office/sofastats/sofastats.SlackBuild
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/bash
-
-# 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.
-# -----------------------------------------------------------------------------
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=sofastats
-VERSION=${VERSION:-1.4.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-ARCH=noarch
-DOCS="README.txt copyright"
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf "$CWD/${PRGNAM}-${VERSION}.tar.gz"
-cd ${PRGNAM}-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/share/$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
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 9cfed8d1de..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 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 08751073d2..766423de6a 100644
--- a/office/t-prot/t-prot.SlackBuild
+++ b/office/t-prot/t-prot.SlackBuild
@@ -5,6 +5,7 @@
# 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
@@ -52,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 . \
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/task.SlackBuild b/office/task/task.SlackBuild
index 3639eed703..65511ff223 100644
--- a/office/task/task.SlackBuild
+++ b/office/task/task.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for task
-# Copyright 2018-2021 by Jostein Berntsen <jvbernts@online.no>
+# Copyright 2018-2022 by Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=task
-VERSION=${VERSION:-2.5.3}
+VERSION=${VERSION:-2.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/task/task.info b/office/task/task.info
index bf3728e4a3..fb9f01efd5 100644
--- a/office/task/task.info
+++ b/office/task/task.info
@@ -1,8 +1,8 @@
PRGNAM="task"
-VERSION="2.5.3"
+VERSION="2.6.2"
HOMEPAGE="http://www.taskwarrior.org"
-DOWNLOAD="https://taskwarrior.org/download/task-2.5.3.tar.gz"
-MD5SUM="41fa2b61f4de729e867b185ceac0a1a8"
+DOWNLOAD="https://taskwarrior.org/download/task-2.6.2.tar.gz"
+MD5SUM="a9e69fd612e8ad538b9f512c80b18122"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
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/taskopen/README b/office/taskopen/README
index 1f1320ebf6..3666b15bb0 100644
--- a/office/taskopen/README
+++ b/office/taskopen/README
@@ -1,6 +1,7 @@
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.
+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/tasksh/tasksh.SlackBuild b/office/tasksh/tasksh.SlackBuild
index 4ba778da91..066cce2b65 100644
--- a/office/tasksh/tasksh.SlackBuild
+++ b/office/tasksh/tasksh.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/office/teams-for-linux/README b/office/teams-for-linux/README
deleted file mode 100644
index 356f0fbff3..0000000000
--- a/office/teams-for-linux/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Microsoft Teams is a unified communications platform that combines
-persistent workplace chat, video meetings and file storage.
-
-This is the unofficial Microsoft Teams client for Linux by Ivelin
-Velkov. It uses the Web App and wrapps it as a standalone application
-using Electron.
-
-Only the 64bit version is available.
diff --git a/office/teams-for-linux/slack-desc b/office/teams-for-linux/slack-desc
deleted file mode 100644
index d61b9c89c4..0000000000
--- a/office/teams-for-linux/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------------------------------------------------------|
-teams-for-linux: teams-for-linux (messaging, conferencing and collaboration program)
-teams-for-linux:
-teams-for-linux: Microsoft Teams is a unified communications platform that combines
-teams-for-linux: persistent workplace chat, video meetings and file storage.
-teams-for-linux:
-teams-for-linux: This is the unofficial Microsoft Teams client for Linux by Ivelin
-teams-for-linux: Velkov. It uses the Web App and wrapps it as a standalone application
-teams-for-linux: using Electron.
-teams-for-linux:
-teams-for-linux: Only the 64bit version is available.
-teams-for-linux:
diff --git a/office/teams-for-linux/teams-for-linux.info b/office/teams-for-linux/teams-for-linux.info
deleted file mode 100644
index 10e868b455..0000000000
--- a/office/teams-for-linux/teams-for-linux.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="teams-for-linux"
-VERSION="0.0.7"
-HOMEPAGE="https://github.com/ivelkov/teams-for-linux"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/ivelkov/teams-for-linux/releases/download/v0.0.7/teams-for-linux_0.0.7_amd64.deb"
-MD5SUM_x86_64="d069487a8350c3ae22381487897f2e76"
-REQUIRES=""
-MAINTAINER="Dario Nicodemi"
-EMAIL="dario.sbo@gmail.com"
diff --git a/office/teapot/README b/office/teapot/README
deleted file mode 100644
index c9c1b0c735..0000000000
--- a/office/teapot/README
+++ /dev/null
@@ -1,12 +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/fix_fltk_build.diff b/office/teapot/fix_fltk_build.diff
deleted file mode 100644
index 3f4e2e3ed4..0000000000
--- a/office/teapot/fix_fltk_build.diff
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Naur teapot-2.3.0/CMakeLists.txt teapot-2.3.0.patched/CMakeLists.txt
---- teapot-2.3.0/CMakeLists.txt 2020-11-19 00:18:02.217657446 -0500
-+++ teapot-2.3.0.patched/CMakeLists.txt 2020-11-19 00:22:05.201635357 -0500
-@@ -40,7 +40,7 @@
- install(TARGETS teapot DESTINATION bin)
- endif ()
-
--find_package(FLTK NO_MODULE)
-+find_package(FLTK)
- if (FLTK_FOUND)
- include("${FLTK_USE_FILE}")
-
-@@ -52,13 +52,13 @@
- if (ENABLE_STATIC)
- target_link_libraries(fteapot teapotlib fltk fltk_images ${LIB_PORTABLEXDR})
- else ()
-- target_link_libraries(fteapot teapotlib fltk_SHARED fltk_images_SHARED ${LIB_PORTABLEXDR})
-+ target_link_libraries(fteapot teapotlib fltk fltk_images ${LIB_PORTABLEXDR})
- endif ()
- else ()
- if (ENABLE_STATIC)
- target_link_libraries(fteapot teapotlib fltk fltk_images ${LIB_PORTABLEXDR})
- else ()
-- target_link_libraries(fteapot teapotlib fltk_SHARED ${LIB_PORTABLEXDR})
-+ target_link_libraries(fteapot teapotlib fltk fltk_images ${LIB_PORTABLEXDR})
- endif ()
- endif ()
- install(TARGETS fteapot DESTINATION bin)
-diff -Naur teapot-2.3.0/fteapot.fl teapot-2.3.0.patched/fteapot.fl
---- teapot-2.3.0/fteapot.fl 2020-11-19 00:15:47.506669691 -0500
-+++ teapot-2.3.0.patched/fteapot.fl 2020-11-19 00:16:05.569668049 -0500
-@@ -11,6 +11,9 @@
- decl {\#include <fcntl.h>} {private global
- }
-
-+decl {\#include <unistd.h>} {private global
-+}
-+
- decl {\#define shadow _shadow} {private global
- }
-
diff --git a/office/teapot/fix_mbslen_warning.diff b/office/teapot/fix_mbslen_warning.diff
deleted file mode 100644
index 47b3539b8c..0000000000
--- a/office/teapot/fix_mbslen_warning.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur teapot-2.3.0/scanner.c teapot-2.3.0.patched/scanner.c
---- teapot-2.3.0/scanner.c 2012-02-06 06:30:53.000000000 -0500
-+++ teapot-2.3.0.patched/scanner.c 2020-11-19 00:24:24.289622714 -0500
-@@ -25,6 +25,7 @@
- #include "main.h"
- #include "misc.h"
- #include "scanner.h"
-+#include "utf8.h"
- /*}}}*/
-
- /* identcode -- return number of identifier */ /*{{{*/
diff --git a/office/teapot/teapot.info b/office/teapot/teapot.info
deleted file mode 100644
index 3753609c61..0000000000
--- a/office/teapot/teapot.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="teapot"
-VERSION="2.3.0"
-HOMEPAGE="https://www.syntax-k.de/projekte/teapot/"
-DOWNLOAD="https://www.syntax-k.de/projekte/teapot/teapot-2.3.0.tar.gz \
- https://www.syntax-k.de/projekte/teapot/Teapot-2.3.0-Linux-i386.tar.gz"
-MD5SUM="ae59f90a5f70971703abccf0991dbd58 \
- 17ecda70a8478043e4a8b622e178bc55"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jostein Berntsen"
-EMAIL="jvbernts@online.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/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 7e8b279227..fcbda13fa1 100644
--- a/office/texlive-docs/texlive-docs.SlackBuild
+++ b/office/texlive-docs/texlive-docs.SlackBuild
@@ -1,10 +1,10 @@
#!/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 - 2021 Johannes Schoepfer, Germany
+# Copyright 2016 - 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,28 +27,23 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texlive-docs
-TEXMFVERSION=${TEXMFVERSION:-210418}
-VERSION=${VERSION:-2021.210418}
+TEXMFVERSION=${TEXMFVERSION:-230322}
+VERSION=${VERSION:-2023.230322}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
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
@@ -62,6 +57,8 @@ rm -rf $PKG$TEXMFROOT/texmf-dist/doc/man
# Install index of provided tex packages to the docs
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
diff --git a/office/texlive-docs/texlive-docs.info b/office/texlive-docs/texlive-docs.info
index a693f54daa..f5ad636191 100644
--- a/office/texlive-docs/texlive-docs.info
+++ b/office/texlive-docs/texlive-docs.info
@@ -1,8 +1,8 @@
PRGNAM="texlive-docs"
-VERSION="2021.210418"
+VERSION="2023.230322"
HOMEPAGE="https://tug.org/texlive/"
-DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-docs-210418.tar.xz"
-MD5SUM="c265537ee9fce1281d44e263f9797499"
+DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-docs-230322.tar.xz"
+MD5SUM="d9bc0e3c7da9c5ee5b96157166c9c2fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/office/texlive-extra/README b/office/texlive-extra/README
index d1e75df0cc..519fce7046 100644
--- a/office/texlive-extra/README
+++ b/office/texlive-extra/README
@@ -1,6 +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 f3b57a1c9c..0000000000
--- a/office/texlive-extra/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
-cp usr/share/texmf-dist/web2c/updmap.cfg.extra usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp
-chroot . /usr/bin/updmap-sys --cnffile /usr/share/texmf-dist/web2c/updmap.cfg --cnffile /usr/share/texmf-dist/web2c/updmap.cfg.extra 1>/dev/null 2>/dev/null
-mv usr/share/texmf-dist/web2c/updmap.cfg.extra.tmp usr/share/texmf-dist/web2c/updmap.cfg.extra
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 df1f02f019..653de6acfb 100644
--- a/office/texlive-extra/texlive-extra.SlackBuild
+++ b/office/texlive-extra/texlive-extra.SlackBuild
@@ -1,10 +1,10 @@
#!/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 - 2021 Johannes Schoepfer, Germany
+# Copyright 2016 - 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,20 +27,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texlive-extra
-TEXMFVERSION=${TEXMFVERSION:-210418}
-VERSION=${VERSION:-2021.210418}
+TEXMFVERSION=${TEXMFVERSION:-230322}
+VERSION=${VERSION:-2023.230322}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,6 +47,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TEXMFROOT=/usr/share
rm -rf $PKG
@@ -76,9 +73,10 @@ rm -rf $PKG$TEXMFROOT/texmf-dist/bin
# Install index of provided tex packages to the docs
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
diff --git a/office/texlive-extra/texlive-extra.info b/office/texlive-extra/texlive-extra.info
index 5452dfda9e..287ea7cc11 100644
--- a/office/texlive-extra/texlive-extra.info
+++ b/office/texlive-extra/texlive-extra.info
@@ -1,10 +1,10 @@
PRGNAM="texlive-extra"
-VERSION="2021.210418"
+VERSION="2023.230322"
HOMEPAGE="https://tug.org/texlive/"
-DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-extra-210418.tar.xz"
-MD5SUM="2ba79dc8df413557d06fa3cb8df04080"
+DOWNLOAD="http://slackware.schoepfer.info/slackbuilds/texlive/texlive-extra-230322.tar.xz"
+MD5SUM="2a6406b9fca2625cb1d4306e33fe4a3e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="%README%"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds@schoepfer.info"
diff --git a/office/texmacs/texmacs.SlackBuild b/office/texmacs/texmacs.SlackBuild
index 5d7769565e..639297e8b3 100644
--- a/office/texmacs/texmacs.SlackBuild
+++ b/office/texmacs/texmacs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Texmacs
-# Copyright 2013-2020 Zhu Qun-Ying
+# Copyright 2013-2022 Zhu Qun-Ying
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texmacs
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,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 \
diff --git a/office/texmacs/texmacs.info b/office/texmacs/texmacs.info
index 04b697a344..fb43774859 100644
--- a/office/texmacs/texmacs.info
+++ b/office/texmacs/texmacs.info
@@ -1,8 +1,8 @@
PRGNAM="texmacs"
-VERSION="2.1"
+VERSION="2.1.4"
HOMEPAGE="http://www.texmacs.org"
-DOWNLOAD="https://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-2.1-src.tar.gz"
-MD5SUM="cb815c9e4c02505d853abc1bdb788164"
+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 4b7a2792ee..6cf8bc0a3a 100644
--- a/office/texmaker/texmaker.SlackBuild
+++ b/office/texmaker/texmaker.SlackBuild
@@ -5,6 +5,9 @@
# 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:
#
@@ -25,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texmaker
-VERSION=${VERSION:-5.0.4}
+VERSION=${VERSION:-5.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/texmaker/texmaker.info b/office/texmaker/texmaker.info
index 31aa6afeec..9e3d160bd5 100644
--- a/office/texmaker/texmaker.info
+++ b/office/texmaker/texmaker.info
@@ -1,10 +1,10 @@
PRGNAM="texmaker"
-VERSION="5.0.4"
+VERSION="5.1.4"
HOMEPAGE="https://www.xm1math.net/texmaker/index.html"
-DOWNLOAD="https://www.xm1math.net/texmaker/texmaker-5.0.4.tar.bz2"
-MD5SUM="9e9676a300d0e5932c0172a1f732485c"
+DOWNLOAD="https://www.xm1math.net/texmaker/texmaker-5.1.4.tar.bz2"
+MD5SUM="8730de999918c95061949a480fa2265a"
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/texstudio/texstudio.SlackBuild b/office/texstudio/texstudio.SlackBuild
index f97254e360..e2896b61b8 100644
--- a/office/texstudio/texstudio.SlackBuild
+++ b/office/texstudio/texstudio.SlackBuild
@@ -4,7 +4,10 @@
# 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:
#
@@ -25,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texstudio
-VERSION=${VERSION:-3.1.2}
+VERSION=${VERSION:-4.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,17 +85,18 @@ find -L . \
# Fix .desktop item.
sed -i -e '/^Encoding/d' -e "/^Icon/s|=.*|=$PRGNAM|" utilities/texstudio.desktop
-# Use Qt4 if QT5GUI is no, otherwise, default to Qt5.
-if [ "${QT5GUI:-yes}" == "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
diff --git a/office/texstudio/texstudio.info b/office/texstudio/texstudio.info
index e2e011b7e8..3fbd240556 100644
--- a/office/texstudio/texstudio.info
+++ b/office/texstudio/texstudio.info
@@ -1,10 +1,10 @@
PRGNAM="texstudio"
-VERSION="3.1.2"
+VERSION="4.7.3"
HOMEPAGE="http://texstudio.sourceforge.net/"
-DOWNLOAD="https://github.com/texstudio-org/texstudio/archive/3.1.2/texstudio-3.1.2.tar.gz"
-MD5SUM="7c6ed979ea5528f87122fdb0720942fe"
+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 9ad0588509..986a34a902 100644
--- a/office/text2pdf/text2pdf.SlackBuild
+++ b/office/text2pdf/text2pdf.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
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 0480a5a047..b33ee321f6 100644
--- a/office/texworks/texworks.SlackBuild
+++ b/office/texworks/texworks.SlackBuild
@@ -2,9 +2,8 @@
# Slackware build script for TeXworks
-# Written by digwtx (wtx358@qq.com)
-# Updated by Willy Sudiarto Raharjo
-# Copyright 2016 - 2019 Johannes Schoepfer, Germany
+# Written by digwtx
+# Copyright 2016-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=texworks
-VERSION=${VERSION:-0.6.3}
+VERSION=${VERSION:-0.6.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -77,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" \
diff --git a/office/texworks/texworks.info b/office/texworks/texworks.info
index 03985300f9..b429d3d677 100644
--- a/office/texworks/texworks.info
+++ b/office/texworks/texworks.info
@@ -1,8 +1,8 @@
PRGNAM="texworks"
-VERSION="0.6.3"
+VERSION="0.6.9"
HOMEPAGE="https://tug.org/texworks/"
-DOWNLOAD="https://github.com/TeXworks/texworks/archive/release-0.6.3/texworks-release-0.6.3.tar.gz"
-MD5SUM="bbdc620150fa5bda8bb52db0e6a533e9"
+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=""
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 39e387b032..a93f30c42f 100644
--- a/office/timetrap/timetrap.SlackBuild
+++ b/office/timetrap/timetrap.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for timetrap
-# Copyright 2013-2021 Jostein Berntsen <jvbernts@online.no>
+# Copyright 2013-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,21 @@
# 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.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,25 +57,16 @@ 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
@@ -108,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
diff --git a/office/timetrap/timetrap.info b/office/timetrap/timetrap.info
index 2541e17922..202f7214b5 100644
--- a/office/timetrap/timetrap.info
+++ b/office/timetrap/timetrap.info
@@ -5,6 +5,6 @@ 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="jvbernts@online.no"
diff --git a/office/tnote/tnote.SlackBuild b/office/tnote/tnote.SlackBuild
index 4dedf90ca6..5a3a3b9da6 100644
--- a/office/tnote/tnote.SlackBuild
+++ b/office/tnote/tnote.SlackBuild
@@ -16,7 +16,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -34,8 +34,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/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/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/treesheets/treesheets.SlackBuild b/office/treesheets/treesheets.SlackBuild
index cf74f5ab47..58d3596314 100644
--- a/office/treesheets/treesheets.SlackBuild
+++ b/office/treesheets/treesheets.SlackBuild
@@ -16,7 +16,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
diff --git a/office/treesheets/treesheets.info b/office/treesheets/treesheets.info
index 13ab017b69..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="2d33dd853c6470bf971a510b84889123"
+MD5SUM="571fbe78a752e28d2d0458f6748e5788"
DOWNLOAD_x86_64="http://strlen.com/treesheets/treesheets_linux64.tar.gz"
-MD5SUM_x86_64="f8b4c2a0b93aece6e5a0189ffed0745f"
+MD5SUM_x86_64="818d5f67f13c66fe5a299bb011733d55"
REQUIRES=""
MAINTAINER="Glenn Becker"
EMAIL="glenn.becker@gmail.com"
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
index 1b35c117da..220b3c987f 100644
--- a/office/trello-cli/README
+++ b/office/trello-cli/README
@@ -1 +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/trello-cli.SlackBuild b/office/trello-cli/trello-cli.SlackBuild
index 6da4635e76..09d69645f5 100644
--- a/office/trello-cli/trello-cli.SlackBuild
+++ b/office/trello-cli/trello-cli.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=trello-cli
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/trello-cli/trello-cli.info b/office/trello-cli/trello-cli.info
index de6fc99a45..e0db59b2b1 100644
--- a/office/trello-cli/trello-cli.info
+++ b/office/trello-cli/trello-cli.info
@@ -1,10 +1,10 @@
PRGNAM="trello-cli"
-VERSION="0.3.2"
+VERSION="0.6.3"
HOMEPAGE="https://github.com/mheap/trello-cli/"
-DOWNLOAD="https://github.com/mheap/trello-cli/archive/v0.3.2/trello-cli-0.3.2.tar.gz"
-MD5SUM="9e64954b61533d03f8184eddce836145"
+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"
+REQUIRES="google-go-lang nodejs"
MAINTAINER="Tonus"
-EMAIL="tonus1@gmail.com"
+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 e8693d9fb4..41041e0f3d 100644
--- a/office/tudu/tudu.SlackBuild
+++ b/office/tudu/tudu.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tudu
-# Copyright 2016 Jostein Berntsen <jvbernts@online.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,13 @@
# 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}
@@ -39,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,9 +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 \
diff --git a/office/tudu/tudu.info b/office/tudu/tudu.info
index cfeaa7bedb..580a111440 100644
--- a/office/tudu/tudu.info
+++ b/office/tudu/tudu.info
@@ -1,8 +1,8 @@
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=""
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/uncsv.SlackBuild b/office/uncsv/uncsv.SlackBuild
index e367669651..d455014ffa 100644
--- a/office/uncsv/uncsv.SlackBuild
+++ b/office/uncsv/uncsv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for uncsv
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/office/uncsv/uncsv.info b/office/uncsv/uncsv.info
index c940515871..fcce52b8e1 100644
--- a/office/uncsv/uncsv.info
+++ b/office/uncsv/uncsv.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/unoconv/unoconv.SlackBuild b/office/unoconv/unoconv.SlackBuild
index 675de9054b..9de5c880ce 100644
--- a/office/unoconv/unoconv.SlackBuild
+++ b/office/unoconv/unoconv.SlackBuild
@@ -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.
+# 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}
@@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -79,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
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 802c80a02b..103189c32a 100644
--- a/office/verbiste/verbiste.SlackBuild
+++ b/office/verbiste/verbiste.SlackBuild
@@ -17,14 +17,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -37,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=""
@@ -62,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 \
@@ -89,6 +87,8 @@ 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
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.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
index 3f08e5c334..9c2e5bcd1f 100644
--- a/office/vmd/README
+++ b/office/vmd/README
@@ -1,8 +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.
+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 make vmd fail
-parsing certain markdown documents.
+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/vmd.SlackBuild b/office/vmd/vmd.SlackBuild
index c3c9358515..568e38eeb9 100644
--- a/office/vmd/vmd.SlackBuild
+++ b/office/vmd/vmd.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for vmd
-# Copyright 2019 Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright 2019 Ricardo J. Barberis
+# Copyright 2023 B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,6 +23,11 @@
# 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
@@ -38,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,19 +53,7 @@ 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
+# 20230807 bkw: No flags or libdirsuffix needed here.
set -e
@@ -73,11 +64,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# Fix required Markdown version
sed -i -e 's/Markdown==2.6.8/Markdown>=2.6.8, <3/' requirements.txt setup.py
@@ -87,14 +75,10 @@ patch -p1 < $CWD/vmd.img.patch
python3 setup.py install --root=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE README.md requirements.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+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
diff --git a/office/vmd/vmd.info b/office/vmd/vmd.info
index 3980a0e132..68916b4034 100644
--- a/office/vmd/vmd.info
+++ b/office/vmd/vmd.info
@@ -6,5 +6,5 @@ MD5SUM="5dba1bf366780eb2e6bd1ce87e664517"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Markdown"
-MAINTAINER="Ricardo J. Barberis"
-EMAIL="ricardo.barberis@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/vym/vym.SlackBuild b/office/vym/vym.SlackBuild
index 478c35a58a..00be142f7c 100644
--- a/office/vym/vym.SlackBuild
+++ b/office/vym/vym.SlackBuild
@@ -2,7 +2,7 @@
# 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,21 @@
# 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}
@@ -83,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/
@@ -97,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
diff --git a/office/vym/vym.info b/office/vym/vym.info
index ac4169ce81..bef8e0e5ba 100644
--- a/office/vym/vym.info
+++ b/office/vym/vym.info
@@ -1,8 +1,8 @@
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=""
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/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.info b/office/watson/watson.info
index e710e56d13..7c1a60b9fb 100644
--- a/office/watson/watson.info
+++ b/office/watson/watson.info
@@ -1,10 +1,10 @@
PRGNAM="watson"
VERSION="1.8.0"
HOMEPAGE="http://tailordev.github.io/Watson/"
-DOWNLOAD="https://github.com/TailorDev/Watson/archive/1.8.0.tar.gz"
+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="jvbernts@online.no"
diff --git a/office/when/when.SlackBuild b/office/when/when.SlackBuild
index d7f4d5c44a..afa313bb0d 100644
--- a/office/when/when.SlackBuild
+++ b/office/when/when.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=when
-VERSION=${VERSION:-1.1.40}
+VERSION=${VERSION:-1.1.45}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -58,7 +58,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.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/office/when/when.info b/office/when/when.info
index 4c116378af..2387a39d55 100644
--- a/office/when/when.info
+++ b/office/when/when.info
@@ -1,8 +1,8 @@
PRGNAM="when"
-VERSION="1.1.40"
+VERSION="1.1.45"
HOMEPAGE="http://www.lightandmatter.com/when/when.html"
-DOWNLOAD="https://github.com/bcrowell/when/archive/1.1.40/when-1.1.40.tar.gz"
-MD5SUM="970b4ec6b81dc35d7bb59211b1d0c8a1"
+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=""
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 cc30defe3a..f664061b05 100644
--- a/office/wordgrinder/wordgrinder.SlackBuild
+++ b/office/wordgrinder/wordgrinder.SlackBuild
@@ -2,7 +2,7 @@
# 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,14 @@
# 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}
@@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,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
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 f22920922f..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="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 c6ff3abf0e..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: https://linux.wps.com/
wps-office:
diff --git a/office/wps-office/wps-office.SlackBuild b/office/wps-office/wps-office.SlackBuild
index 699e4cd87a..e77d76e0f5 100644
--- a/office/wps-office/wps-office.SlackBuild
+++ b/office/wps-office/wps-office.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for wps-office
+# Copyright 2023 Petar Petrov, slackalaxy at gmail dot com
# Copyright 2016 Andre Fernando, Indonesia
# All rights reserved.
#
@@ -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.
+# 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:-11.1.0.10702.XA}
+VERSION=${VERSION:-11.1.0.11711.XA}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,13 +51,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRCVER=${VERSION}
-
-case "$ARCH" in
- i?86) SRCARCH=i386 ;;
- x86_64) SRCARCH=amd64 ;;
- *) printf "\n\n$ARCH is not supported.\n"; exit 1 ;;
-esac
+if [ "$ARCH" != "x86_64" ]; then
+ printf "\n\n$ARCH is not supported... \n"
+ exit 1
+fi
set -e
@@ -66,18 +64,38 @@ cd $TMP
rm -rf $PRGNAM
mkdir -p $PRGNAM
cd $PRGNAM
-ar -x $CWD/${PRGNAM}_${SRCVER}_${SRCARCH}.deb
-tar xvf data.tar.xz -C $PKG
-cd $PKG
+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
+cp -a usr/bin $PKG/usr
+
+# 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
+
+chmod 0644 $PKG/usr/share/pixmaps/wps-office2019-*
+
+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
-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
+# 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/wps-office/wps-office.info b/office/wps-office/wps-office.info
index 3866cb7655..4f9a82beac 100644
--- a/office/wps-office/wps-office.info
+++ b/office/wps-office/wps-office.info
@@ -1,10 +1,10 @@
PRGNAM="wps-office"
-VERSION="11.1.0.10702.XA"
+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/10702/wps-office_11.1.0.10702.XA_amd64.deb"
-MD5SUM_x86_64="65a2d1ba1d28a9ad4c05a0c3e3c3ea69"
+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="Andre Fernando"
-EMAIL="ando344@gmail.com"
+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/x_x.SlackBuild b/office/x_x/x_x.SlackBuild
index c26cfde6bc..929eaf0c57 100644
--- a/office/x_x/x_x.SlackBuild
+++ b/office/x_x/x_x.SlackBuild
@@ -2,17 +2,21 @@
# Slackware build script for x_x
-# 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.
+# 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:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -33,20 +37,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -59,7 +49,7 @@ 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 {} \+
-python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
# man page manually converted from README.rst by SlackBuild author.
mkdir -p $PKG/usr/man/man1
diff --git a/office/x_x/x_x.info b/office/x_x/x_x.info
index de8a159529..85a31b7e0b 100644
--- a/office/x_x/x_x.info
+++ b/office/x_x/x_x.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://slackware.uk/~urchlay/src/x_x-20150330_d236f8f.tar.xz"
MD5SUM="ebde396990ac5197e59f658eafdecb76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="click python-xlrd python2-unicodecsv"
+REQUIRES="click python-xlrd"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/office/xlsx2csv/README b/office/xlsx2csv/README
deleted file mode 100644
index b74d5b813f..0000000000
--- a/office/xlsx2csv/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Converts xlsx files to csv format. Handles large XLSX files. Fast and
-easy to use.
-
-Python3 is an optional autodetected dependency
diff --git a/office/xlsx2csv/xlsx2csv.info b/office/xlsx2csv/xlsx2csv.info
deleted file mode 100644
index 93bf25627d..0000000000
--- a/office/xlsx2csv/xlsx2csv.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="xlsx2csv"
-VERSION="0.7.4"
-HOMEPAGE="https://github.com/dilshod/xlsx2csv"
-DOWNLOAD="https://github.com/dilshod/xlsx2csv/archive/0.7.4/xlsx2csv-0.7.4.tar.gz"
-MD5SUM="c1fb8b22936bfb696158fba9bc0fae2e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Leo C."
-EMAIL="leoc@gmx.com"
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.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/xournalpp/xournalpp.SlackBuild b/office/xournalpp/xournalpp.SlackBuild
index 53c8284990..90792edb9a 100644
--- a/office/xournalpp/xournalpp.SlackBuild
+++ b/office/xournalpp/xournalpp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xournalpp
-VERSION=${VERSION:-1.0.20}
+VERSION=${VERSION:-1.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,13 +79,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 {} \;
+# 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 \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target pot
cmake --build . --target translations
@@ -96,7 +100,10 @@ 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 -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || 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
diff --git a/office/xournalpp/xournalpp.info b/office/xournalpp/xournalpp.info
index 912713d561..d9fc0069ac 100644
--- a/office/xournalpp/xournalpp.info
+++ b/office/xournalpp/xournalpp.info
@@ -1,10 +1,10 @@
PRGNAM="xournalpp"
-VERSION="1.0.20"
+VERSION="1.2.3"
HOMEPAGE="https://github.com/xournalpp/xournalpp"
-DOWNLOAD="https://github.com/xournalpp/xournalpp/archive/1.0.20/xournalpp-1.0.20.tar.gz"
-MD5SUM="88376d2584dda7ba9c46733b706139bc"
+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 lua portaudio"
+REQUIRES="graphviz lua53 portaudio"
MAINTAINER="Cristiano Urban"
EMAIL="cristiano.urban.slack@gmail.com"
diff --git a/office/xreader/xreader.SlackBuild b/office/xreader/xreader.SlackBuild
index a800329062..20d49b7dbf 100644
--- a/office/xreader/xreader.SlackBuild
+++ b/office/xreader/xreader.SlackBuild
@@ -29,7 +29,7 @@ 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}
@@ -112,6 +112,8 @@ 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
diff --git a/office/xtrkcad/xtrkcad.SlackBuild b/office/xtrkcad/xtrkcad.SlackBuild
index 421e49e6fb..33804d3c70 100644
--- a/office/xtrkcad/xtrkcad.SlackBuild
+++ b/office/xtrkcad/xtrkcad.SlackBuild
@@ -2,7 +2,7 @@
# 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
@@ -25,8 +25,7 @@
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}
@@ -50,6 +49,7 @@ 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"
@@ -70,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 \
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/sofastats/doinst.sh b/office/zathura-cb/doinst.sh
index 4e8ba7071d..5fb28930db 100644
--- a/office/sofastats/doinst.sh
+++ b/office/zathura-cb/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/zathura-cb/zathura-cb.SlackBuild b/office/zathura-cb/zathura-cb.SlackBuild
index edfeb154aa..62c03c5315 100644
--- a/office/zathura-cb/zathura-cb.SlackBuild
+++ b/office/zathura-cb/zathura-cb.SlackBuild
@@ -2,14 +2,16 @@
# 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.9}
+VERSION=${VERSION:-0.1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,6 +82,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/office/zathura-cb/zathura-cb.info b/office/zathura-cb/zathura-cb.info
index 54ebf2a19c..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.9"
+VERSION="0.1.10"
HOMEPAGE="https://github.com/pwmt/zathura-cb"
-DOWNLOAD="https://github.com/pwmt/zathura-cb/archive/0.1.9/zathura-cb-0.1.9.tar.gz"
-MD5SUM="edb8ea85dea3c6cc898c7fac2cf504ae"
+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/zathura-djvu.SlackBuild b/office/zathura-djvu/zathura-djvu.SlackBuild
index e4f7b3dada..602eeea62e 100644
--- a/office/zathura-djvu/zathura-djvu.SlackBuild
+++ b/office/zathura-djvu/zathura-djvu.SlackBuild
@@ -2,7 +2,7 @@
# 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.
diff --git a/office/zathura-djvu/zathura-djvu.info b/office/zathura-djvu/zathura-djvu.info
index 613c1bb10a..bbb162bdac 100644
--- a/office/zathura-djvu/zathura-djvu.info
+++ b/office/zathura-djvu/zathura-djvu.info
@@ -7,4 +7,4 @@ 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 fa5542afee..74639e4188 100644
--- a/office/zathura-pdf-mupdf/README
+++ b/office/zathura-pdf-mupdf/README
@@ -5,7 +5,7 @@ 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
+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
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
index e975417f56..673863ce20 100644
--- a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
+++ b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.SlackBuild
@@ -2,14 +2,21 @@
# 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.7}
+VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,10 +82,10 @@ cd build
DESTDIR=$PKG $NINJA install
cd ..
-ln -s pdf/libpdf-mupdf.so $PKG/usr/lib$LIBDIRSUFFIX/zathura/pdf.so
+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
diff --git a/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info b/office/zathura-pdf-mupdf/zathura-pdf-mupdf.info
index 6825f9b400..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.7"
+VERSION="0.4.0"
HOMEPAGE="https://github.com/pwmt/zathura-pdf-mupdf"
-DOWNLOAD="https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.7/zathura-pdf-mupdf-0.3.7.tar.gz"
-MD5SUM="c686b3cef6c78d4e0f8318899478dc81"
+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/zathura-ps.SlackBuild b/office/zathura-ps/zathura-ps.SlackBuild
index 64a2ae8cf1..0339b95e7f 100644
--- a/office/zathura-ps/zathura-ps.SlackBuild
+++ b/office/zathura-ps/zathura-ps.SlackBuild
@@ -2,7 +2,7 @@
# 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.
diff --git a/office/zathura-ps/zathura-ps.info b/office/zathura-ps/zathura-ps.info
index 5a330ceeef..eecc1e1af2 100644
--- a/office/zathura-ps/zathura-ps.info
+++ b/office/zathura-ps/zathura-ps.info
@@ -7,4 +7,4 @@ 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
index 026105dc87..1ff6f4c217 100644
--- a/office/zathura/ChangeLog.old
+++ b/office/zathura/ChangeLog.old
@@ -39,14 +39,14 @@
# - 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 20130617 by B. Watson <urchlay@slackware.uk>:
# - Updated for v0.2.3
-# Updated 20120721 by B. Watson <yalhcru@gmail.com>:
+# 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 <yalhcru@gmail.com>:
+# 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
diff --git a/office/zathura/README b/office/zathura/README
index c0e3d2b643..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:
@@ -20,3 +27,7 @@ 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/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 5df172841e..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" "2021-07-14" "0.4.8" "zathura"
-.SH NAME
-zathura \- a document viewer
.
.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 "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]
@@ -88,13 +88,13 @@ correct file open or does not exist, no new instance will be spanned.
.BI \-\-mode\fB= mode
Start in a non\-default mode
.TP
-.B \-\-fork
+.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
@@ -328,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
@@ -424,6 +425,6 @@ appear, if overlay\-scrollbar is enabled in GTK_MODULES.
.SH AUTHOR
pwmt.org
.SH COPYRIGHT
-2009-2021, 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 bd6d64daad..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" "2021-07-14" "0.4.8" "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
@@ -338,7 +338,8 @@ Display link target.
.IP \(bu 2
\fBexec\fP:
.sp
-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.
.IP \(bu 2
\fBfocus_inputbar\fP
.sp
@@ -1207,6 +1208,15 @@ Value type: Boolean
Default value: false
.UNINDENT
.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 7.0
@@ -1362,6 +1372,9 @@ printing
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
@@ -1392,6 +1405,6 @@ zathura(1)
.SH AUTHOR
pwmt.org
.SH COPYRIGHT
-2009-2021, pwmt.org
+2009-2018, pwmt.org
.\" Generated by docutils manpage writer.
.
diff --git a/office/zathura/slack-desc b/office/zathura/slack-desc
index 871551a92b..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:
+zathura: This package @INCLUDES@ the zathura-pdf-poppler plugin.
zathura:
zathura:
diff --git a/office/zathura/zathura.SlackBuild b/office/zathura/zathura.SlackBuild
index fcf38c8b04..4f5130e113 100644
--- a/office/zathura/zathura.SlackBuild
+++ b/office/zathura/zathura.SlackBuild
@@ -3,7 +3,7 @@
# 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,6 +23,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 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.
@@ -32,7 +46,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zathura
-VERSION=${VERSION:-0.4.8}
+VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,7 +55,7 @@ PKGTYPE=${PKGTYPE:-tgz}
# plugins. This build includes the default PDF plugin, without which zathura
# is completely useless.
PLUGIN=$PRGNAM-pdf-poppler
-PLUGINVER=${PLUGINVER:-0.3.0}
+PLUGINVER=${PLUGINVER:-0.3.2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -90,6 +104,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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" \
@@ -107,8 +130,9 @@ cd build
DESTDIR=$PKG $NINJA install
cd ..
-# man pages taken from Debian. I did this to avoid a dependency
-# on Sphinx (and its tree of 13 deps).
+# 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"
@@ -124,37 +148,45 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# less easy to navigate).
cp -a doc/api $PKG/usr/doc/$PRGNAM-$VERSION
-# Now build the plugin.
-cd $TMP
-rm -rf $PLUGIN-$PLUGINVER
-tar xvf $CWD/$PLUGIN-$PLUGINVER.tar.gz
-cd $PLUGIN-$PLUGINVER
-fixperms
-
-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/pdf.so
+# 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
-cat $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
diff --git a/office/zathura/zathura.info b/office/zathura/zathura.info
index 1445f62ea0..93f42cfaf2 100644
--- a/office/zathura/zathura.info
+++ b/office/zathura/zathura.info
@@ -1,12 +1,12 @@
PRGNAM="zathura"
-VERSION="0.4.8"
+VERSION="0.5.4"
HOMEPAGE="https://github.com/pwmt/zathura"
-DOWNLOAD="https://github.com/pwmt/zathura/archive/0.4.8/zathura-0.4.8.tar.gz \
- https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.0/zathura-pdf-poppler-0.3.0.tar.gz"
-MD5SUM="ea5457f064bdcfb1fda1f6f27bafbeb7 \
- c500be47cfac0e76e81309cfa7847353"
+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 1d303ff71e..bd5dcb5b89 100644
--- a/office/zim/README
+++ b/office/zim/README
@@ -1,25 +1,23 @@
-Zim aims to bring the concept of a wiki to your desktop. Every page is
-saved as a text file with wiki markup. Pages can contain links to other
-pages, and are saved automatically. Creating a new page is as easy as
-linking to a non-existing page. This tool is intended to keep track of
-TODO lists or to serve as a personal scratch book. But it will also
-serve you when writing longer and more complicated documents.
+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.
-A "desktop wiki" means that we try to capture the idea of a wiki, not
-as a webpage but as a collection of files on your local file system
-that can be edited with a GUI application. The main focus is a kind
-of personal wiki that serves for all kind of notes: todo-lists,
-addresses, brainstorm ideas etc.
+Zim can be used to:
-But we want to go further then just a wiki filled with random content.
-It should also be possible to use you random notes as the basis for
-more structured data: articles, presentations etc. Zim will not include
-tools to layout a presentation or something like that, you should use
-your office suite of choice for that, but it should be a tool that can
-deliver all the content for a presentation in a form that only needs a
-template and some layout before usage. Therefore certain features
-normally not found in wikis will be added.
+ 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
+
+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/slack-desc b/office/zim/slack-desc
index 271522b845..773bcbfc2b 100644
--- a/office/zim/slack-desc
+++ b/office/zim/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
zim: zim (A Desktop Wiki Editor)
zim:
-zim: Zim aims to bring the concept of a wiki to your desktop. Every page
-zim: is saved as a text file with wiki markup. Pages can contain links to
-zim: other pages, and are saved automatically. Creating a new page is as
-zim: easy as linking to a non-existing page. This tool is intended to keep
-zim: track of TODO lists or to serve as a personal scratch book. But it
-zim: will also serve you when writing longer and more complicated
-zim: documents.
+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:
zim: Homepage: http://zim-wiki.org/
+zim:
diff --git a/office/zim/zim.SlackBuild b/office/zim/zim.SlackBuild
index 2bf7fb0665..27b2c1205c 100644
--- a/office/zim/zim.SlackBuild
+++ b/office/zim/zim.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zim
-# Copyright 2019-2021 Andrew Payne <phalange@komputermatrix.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.
@@ -27,7 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zim
-VERSION=${VERSION:-0.73.5}
+SRCNAM=desktop-wiki
+VERSION=${VERSION:-0.75.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -52,20 +53,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="CHANGELOG.md CONTRIBUTING.md LICENSE PLUGIN_WRITING.md README.md"
-
-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
@@ -74,8 +65,16 @@ 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 \
@@ -97,7 +96,8 @@ 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
+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
diff --git a/office/zim/zim.info b/office/zim/zim.info
index a652969cd8..986565b147 100644
--- a/office/zim/zim.info
+++ b/office/zim/zim.info
@@ -1,10 +1,10 @@
PRGNAM="zim"
-VERSION="0.73.5"
+VERSION="0.75.2"
HOMEPAGE="http://zim-wiki.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://zim-wiki.org/downloads/zim-0.73.5.tar.gz"
-MD5SUM_x86_64="fa76ceb8ac7d7354fb0e2bc5607e9faa"
+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="Andrew Payne"
EMAIL="phalange@komputermatrix.com"