office/smoffice2021: Added (office suite)

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Donald Cooley 2020-10-01 23:27:52 +01:00 committed by Willy Sudiarto Raharjo
parent 24397251f7
commit 041aa2de55
No known key found for this signature in database
GPG key ID: 3F617144D7238786
11 changed files with 425 additions and 0 deletions

View file

@ -0,0 +1,11 @@
SoftMaker Office 2021 is an office suite, it includes
* TextMaker 2021, a word processor
* PlanMaker 2021, a spreadsheet program
* Presentations 2021, a presentation software
The main feature of SoftMaker Office 2021 is the extremely high
compatibility with the MS Office file formats.
SoftMaker Office 2021 is a commercial program. It is available in
Standard and Pro editions, and also as a free 30 days trial.

View file

@ -0,0 +1,13 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -0,0 +1,83 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
InitialPreference=10
GenericName=Spreadsheet
GenericName[am]=
GenericName[ar]=جدول
GenericName[az]=Hesab Cədvəli
GenericName[bg]=Електронна таблица
GenericName[bn]=ি
GenericName[bs]=Spreadsheet
GenericName[ca]=Full de càlcul
GenericName[cs]=Tabulkový kalkulátor
GenericName[da]=Regneark
GenericName[de]=Tabellenkalkulation
GenericName[dz]=
GenericName[el]=Λογιστικό φύλλο
GenericName[en_CA]=Spreadsheet
GenericName[en_GB]=Spreadsheet
GenericName[en_ZA]=Spreadsheet
GenericName[es]=Hoja de cálculo
GenericName[et]=Arvutustabel
GenericName[eu]=Kalkulu-orria
GenericName[fi]=Taulukkolaskenta
GenericName[fil]=Spreadsheet
GenericName[fr]=Tableur
GenericName[ga]=Scarbhileog
GenericName[gl]=Folla de cálculo
GenericName[gu]=
GenericName[he]=גיליון עבודה
GenericName[hr]=Proračunska tablica
GenericName[hu]=Táblázatkezelő
GenericName[is]=Töflureiknir
GenericName[it]=Foglio di calcolo
GenericName[ja]=
GenericName[ka]=
GenericName[ko]=
GenericName[ku]=Tabloya Hesêb
GenericName[mk]=Табели
GenericName[ms]=Hamparan
GenericName[nb]=Regneark
GenericName[ne]=ि
GenericName[nl]=Rekenblad
GenericName[nr]=Spredtjhiti
GenericName[nso]=Letlakala la go ala tsebišo
GenericName[oc]=Fuelha de calcul
GenericName[pa]=
GenericName[pl]=Arkusz kalkulacyjny
GenericName[pt]=Folha de Cálculo
GenericName[pt_BR]=Planilha Eletrônica
GenericName[ru]=Электронная таблица
GenericName[rw]=Urupapurorusesuye
GenericName[sk]=Tabuľka
GenericName[sq]=Fleta elektronike
GenericName[sr]=Табеле
GenericName[sr@Latn]=Tabele
GenericName[st]=Leqephe la ho ala boitsebiso
GenericName[sv]=Kalkylark
GenericName[th]=
GenericName[tl]=Spreadsheet
GenericName[tr]=Hesap Çizelgesi
GenericName[ts]=Xipredxiti
GenericName[uk]=Електронні таблиці
GenericName[vi]=Bng tính
GenericName[wa]=Tåvleu
GenericName[xh]=Icwecwe leeseli
GenericName[zh_CN]=
GenericName[zh_TW]=
GenericName[zu]=Ispredshit
Comment=PlanMaker lets you create all kinds of spreadsheets -- from simple ones to the most complex ones. Includes a high-caliber charting module.
Comment[de]=Mit PlanMaker können Sie alle Arten von Arbeitsblättern erstellen -- von ganz einfachen bis zu den komplexesten. Inklusive eines leistungsstarken Diagrammmoduls.
Comment[ru]=PlanMaker позволяет создавать все виды электронных таблиц, от простых до сложных. Включает в себя мощный модуль для составления диаграмм.
Terminal=false
Categories=Application;Office;Spreadsheet;
MimeType=application/x-pmd;application/x-pmdx;application/x-pmv;application/excel;application/x-excel;application/x-ms-excel;application/x-msexcel;application/x-sylk;application/x-xls;application/xls;application/vnd.ms-excel;application/vnd.stardivision.calc;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/x-dif;text/spreadsheet;text/csv;application/x-prn;application/vnd.ms-excel.sheet.binary.macroenabled.12;
Version=1.0
Name=PlanMaker 2021
Icon=application-x-pml21
TryExec=/usr/bin/planmaker21
StartupWMClass=pm
Exec=/usr/bin/planmaker21 %F
Path=/opt/smoffice2021

View file

@ -0,0 +1,3 @@
#!/bin/sh
# A script to run PlanMaker.
/opt/smoffice2021/planmaker "$@"

View file

@ -0,0 +1,82 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
InitialPreference=10
GenericName=Presentation
GenericName[am]=
GenericName[az]=Təqdimat
GenericName[bg]=Презентация
GenericName[bn]=
GenericName[bs]=Prezentacija
GenericName[ca]=Presentació
GenericName[cs]=Prezentace
GenericName[da]=Præsentation
GenericName[de]=Präsentation
GenericName[dz]=
GenericName[el]=Παρουσίαση
GenericName[en_CA]=Presentation
GenericName[en_GB]=Presentation
GenericName[en_ZA]=Presentation
GenericName[es]=Presentación
GenericName[et]=Esitlus
GenericName[eu]=Aurkezpena
GenericName[fi]=Esitys
GenericName[fil]=Pagtatanghal
GenericName[fr]=Présentation
GenericName[ga]=Toirbeathas
GenericName[gl]=Presentación
GenericName[gu]=
GenericName[he]=מצגות
GenericName[hr]=Prezentacija
GenericName[hu]=Bemutatókészítő
GenericName[is]=Impress framsetning
GenericName[it]=Presentazione
GenericName[ja]=
GenericName[ka]=
GenericName[ko]=
GenericName[ku]=Pêşkêşî
GenericName[mk]=Презентација
GenericName[ms]=Persembahan
GenericName[nb]=Presentasjon
GenericName[ne]=ि
GenericName[nl]=Presentatie
GenericName[nr]=Phrizentheyitjhini
GenericName[nso]=Tlhagišo
GenericName[oc]=Presentacion
GenericName[pa]=
GenericName[pl]=Prezentacja
GenericName[pt]=Apresentação
GenericName[pt_BR]=Apresentação
GenericName[ru]=Презентация
GenericName[rw]=Iyerekana
GenericName[sk]=Prezentácia
GenericName[sq]=Prezantime
GenericName[sr]=Презентација
GenericName[sr@Latn]=Prezentacija
GenericName[st]=Nehelano
GenericName[sv]=Presentation
GenericName[th]=
GenericName[tl]=Pagtatanghal
GenericName[tr]=Sunum
GenericName[ts]=Nkombiso
GenericName[uk]=Презентації
GenericName[vi]=Trình din
GenericName[wa]=Prezintåcion
GenericName[xh]=Umboniso wenkcazelo
GenericName[zh_CN]=稿
GenericName[zh_TW]=
GenericName[zu]=Iprezenteyshin
Comment=The Presentations software lets you design any kind of presentation - even including special effects, animations, and transitions.
Comment[de]=Presentations lässt Sie beliebige Präsentationen gestalten - mit Effekten, Animationen und Transitionen.
Comment[ru]=Presentations позволяет создавать все виды презентаций и добавлять в них специальные эффекты, анимацию и переходы.
Terminal=false
Categories=Application;Office;Presentation;
MimeType=application/x-prdx;application/x-prvx;application/x-prsx;application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;
Version=1.0
Name=Presentations 2021
Icon=application-x-prl21
TryExec=/usr/bin/presentations21
StartupWMClass=pr
Exec=/usr/bin/presentations21 %F
Path=/opt/smoffice2021

View file

@ -0,0 +1,10 @@
#!/bin/sh
# A script to run Presentations.
ext="${@##*.}"
shopt -s nocasematch
case "$ext" in
"prs" ) /opt/smoffice2021/presentations -S\""$@"\";;
"pps" ) /opt/smoffice2021/presentations -S\""$@"\";;
"ppsx" ) /opt/smoffice2021/presentations -S\""$@"\";;
* ) /opt/smoffice2021/presentations "$@";;
esac

View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
smoffice2021: smoffice2021 (office suite)
smoffice2021:
smoffice2021: SoftMaker Office 2021 includes
smoffice2021: * TextMaker 2021, a word processor
smoffice2021: * PlanMaker 2021, a spreadsheet program
smoffice2021: * Presentations 2021, a presentation software
smoffice2021:
smoffice2021: The main feature of SoftMaker Office 2021 is the extremely high
smoffice2021: compatibility with the MS Office file formats.
smoffice2021:
smoffice2021: Home page: https://www.softmaker.com/en/softmaker-office-linux

View file

@ -0,0 +1,108 @@
#!/bin/sh
# Slackware build script for smoffice2021
# 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
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smoffice2021
VERSION=${VERSION:-2021_1020}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
# Abort build if architecture is not 64-bit.
if [ "$ARCH" != "x86_64" ]; then
echo "$ARCH is not supported."
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG/opt/smoffice2021 $OUTPUT
cd $TMP
tar xvf $CWD/softmaker-office-${VERSION//_/-}-amd64.tgz
tar xvf office2021.tar.lzma -C $PKG/opt/smoffice2021
cd $PKG
mkdir -p usr/bin
install -m 0755 -o root -g root $CWD/planmaker21 usr/bin
install -m 0755 -o root -g root $CWD/presentations21 usr/bin
install -m 0755 -o root -g root $CWD/textmaker21 usr/bin
for s in 16 24 32 48 64 128 256 512 1024; do
mkdir -p usr/share/icons/hicolor/${s}x${s}/apps
for a in pml prl tml; do
cp -a opt/smoffice2021/icons/${a}_${s}.png \
usr/share/icons/hicolor/${s}x${s}/apps/application-x-${a}21.png
done
done
for s in 16 24 32 48 64 128 256 512 1024; do
mkdir -p usr/share/icons/hicolor/${s}x${s}/mimetypes
for a in pmd pmd_mso pmd_oth prd prd_mso prd_oth tmd tmd_mso tmd_oth; do
cp -a opt/smoffice2021/icons/${a}_${s}.png \
usr/share/icons/hicolor/${s}x${s}/mimetypes/application-x-${a}.png
done
done
mkdir -p usr/share/applications
cp -a $CWD/planmaker-2021.desktop usr/share/applications/
cp -a $CWD/presentations-2021.desktop usr/share/applications/
cp -a $CWD/textmaker-2021.desktop usr/share/applications/
mkdir -p usr/share/mime/packages/
cp -a opt/smoffice2021/mime/softmaker-office-2021.xml \
usr/share/mime/packages/
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p usr/doc/$PRGNAM-$VERSION
mv opt/smoffice2021/*.pdf opt/smoffice2021/mime/copyright \
usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p install
cat $CWD/slack-desc > install/slack-desc
cat $CWD/doinst.sh > install/doinst.sh
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -0,0 +1,10 @@
PRGNAM="smoffice2021"
VERSION="2021_1020"
HOMEPAGE="https://www.softmaker.com/en/softmaker-office-linux"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://www.softmaker.net/down/softmaker-office-2021-1020-amd64.tgz"
MD5SUM_x86_64="70e213521cd7bd1718cbc2b425f6aa1a"
REQUIRES=""
MAINTAINER="Donald Cooley"
EMAIL="chytraeu@sdf.org"

View file

@ -0,0 +1,83 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
InitialPreference=10
GenericName=Word Processor
GenericName[am]=
GenericName[ar]=معالج نصوص
GenericName[az]=Kəlmə İşlədici
GenericName[bg]=Текстообработка
GenericName[bn]=
GenericName[bs]=Word Processor
GenericName[ca]=Processador de textos
GenericName[cs]=Textový procesor
GenericName[da]=Tekstbehandler
GenericName[de]=Textverarbeitung
GenericName[dz]=
GenericName[el]=Επεξεργαστής κειμένου
GenericName[en_CA]=Word Processor
GenericName[en_GB]=Word Processor
GenericName[en_ZA]=Word Processor
GenericName[es]=Procesador de textos
GenericName[et]=Kirjutaja
GenericName[eu]=Testu-prozesadorea
GenericName[fi]=Tekstinkäsittely
GenericName[fil]=Tagaproseso ng Salita
GenericName[fr]=Traitement de texte
GenericName[ga]=Próiseálaithe Focal
GenericName[gl]=Procesador de textos
GenericName[gu]=
GenericName[he]=מעבד תמלילים
GenericName[hr]=Obrada teksta
GenericName[hu]=Szövegszerkesztő
GenericName[is]=Ritvinnsla
GenericName[it]=Word processor
GenericName[ja]=
GenericName[ka]=
GenericName[ko]=
GenericName[ku]=Bernameya nivîsandinê
GenericName[mk]=Процесор за текст
GenericName[ms]=Pemproses Perkataan
GenericName[nb]=Tekstbehandling
GenericName[ne]=
GenericName[nl]=Tekstverwerker
GenericName[nr]=Isenzi Mitlolo
GenericName[nso]=Sehlami sa Lentšu
GenericName[oc]=Tractament de tèxt
GenericName[pa]=
GenericName[pl]=Edytor tekstu
GenericName[pt]=Processador de texto
GenericName[pt_BR]=Editor de texto
GenericName[ru]=Текстовый процессор
GenericName[sk]=Textový editor
GenericName[sq]=Procesues teksti
GenericName[sr]=Обрада текста
GenericName[sr@Latn]=Obrada teksta
GenericName[st]=Word Processor
GenericName[sv]=Ordbehandlare
GenericName[th]=
GenericName[tl]=Tagaproseso ng Salita
GenericName[tr]=Kelime İşlemci
GenericName[ts]=Xitirhisi xa marito
GenericName[uk]=Текстовий процесор
GenericName[vi]=B x lý t
GenericName[wa]=Aspougneu d' tecse
GenericName[xh]=Inkqubo Yokuqhuba Amagama
GenericName[zh_CN]=
GenericName[zh_TW]=
GenericName[zu]=Umshini Ohlela Amagama
Comment=The TextMaker word processor lets you work on any type of document.
Comment[de]=Die Textverarbeitung TextMaker ermöglicht es Ihnen, beliebige Arten von Dokumenten zu erstellen und zu bearbeiten.
Comment[ru]=TextMaker позволяет работать со всеми видами текстовых документов.
Terminal=false
Categories=Application;Office;WordProcessor;
MimeType=application/x-tmdx;application/x-tmvx;application/x-tmd;application/x-tmv;application/msword;application/vnd.ms-word;application/x-doc;text/rtf;application/rtf;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/x-pocket-word;application/x-dbf;application/msword-template;
Version=1.0
Name=TextMaker 2021
Icon=application-x-tml21
TryExec=/usr/bin/textmaker21
StartupWMClass=tm
Exec=/usr/bin/textmaker21 %F
Path=/opt/smoffice2021

View file

@ -0,0 +1,3 @@
#!/bin/sh
# A script to run TextMaker.
/opt/smoffice2021/textmaker "$@"