app-office/freeoffice: freeoffice的打包(由于目前不太懂LANG和L10N的配置,无法筛选LANG和L10N

Signed-off-by: Raymond Kwok <c2778148787@gmail.com>
This commit is contained in:
Raymond Kwok 2021-10-23 15:12:09 +08:00 committed by 梁永祥
parent 4f7eda4b3e
commit 0133a8bc7e
10 changed files with 388 additions and 0 deletions

View File

@ -0,0 +1,9 @@
AUX freeoffice-planmaker 182 BLAKE2B d53cd3629024c11176ae2852a1b6732e1ab010ba6e73e0a523eae8a1b3f8ac5366ff6435ebe9118a87addd78f6f25f9cad06e284f9f9969669df9109b44018ca SHA512 e68f18ac09c12f6b3e357868747f5910da870c05625d11321d52316e177adb25154763c369bc9894a59ea4d8c4e05fc4c3cdb1353c9959df78d2495b3162cab2
AUX freeoffice-planmaker.desktop 3221 BLAKE2B b221877151252b91cf19c07d2d28637cb83e43b61bfa7e3950260aa37f0e7131d83d913b0293221f06c5fa06700c5d5c96ea811f9fb7d95f01cd7b5a9711c430 SHA512 d22f9ec1e9f383a415bd7e9e4de1d8a52920b571ed0e7011cd20c32d3d1d381d58452da19a0048385a7bf4c952d57b7a5187f2fdf51d37e07d154a5a661e42df
AUX freeoffice-presentations 200 BLAKE2B 58436bbb1336b5b0b7ee08c6944c2a70cba5eb981d14ea846e470b500f9ea566c9903186f7a47f843e4c4d9589d6c65209ffc6976b9eb08dd65d868b483791ca SHA512 d255103fb0231ded4fc47580cba568253ad79021b2980de22f818400933807572ea3ef033773511c46c26a9f2685fdaa88f4f77cb0916e196ca2a382af7e28f7
AUX freeoffice-presentations.desktop 3085 BLAKE2B bc26c6fdf6270f71439dda45641339da0f5ed70a57f317fd0629a8008f7acfcd7f23dbee5a805d190fbce873fd6c47f66bb007f8c8d28531df07b6ae7638c638 SHA512 0cf9acf02dfeb46e1e1d0795f96bbbb1ac5245f23a2a5d8d973eacd6c0933c66eb7dea6c72a260094930905c44fa2a3c2c4dd5075be366704ab4402328967bdc
AUX freeoffice-textmaker 182 BLAKE2B eedc28faed36a888270a478dbe69875f6ac3cd56d2d50a14c8707becd7e0bb9c335430d5d8d39e7c2e02d0d71c47d379d0fd5065819e2ce708f4c97424f345b7 SHA512 97ca79bcf6f749a2db1b317049e95653484977e7a57f1f2882a74b43d75f828d59b85be0a6f051b17af6b2d988aa83b56908e9b5284e945a342b39eecea1c9eb
AUX freeoffice-textmaker.desktop 3420 BLAKE2B db794dd8001efe91e158c9b080df7c465aa8e4a3d0941e2691bba03132d23645ea28ec66b62cb152e5f34137d6b0f881e37960848b72229ca82e0679cb033dd3 SHA512 1b6801a772ece8cd74dbceea730d8989a4235b33eeb4bde469f152d0402588abff4b43a5e9d6fac857d6831934a77a1f1aca9be0bee34188f4fe8fd78e5cfbd4
DIST softmaker-freeoffice-1036-amd64.tgz 130054637 BLAKE2B 9efe1fb3cd4daed3b33dc3915cc3dabd21e30237c9252db32f3d9a684297034eae3cf58cacb477bdd49832d9227568a3783b00b11fb6864a5c36eea8da2cfe0e SHA512 9dbf52d32c36efaef7485e80eef1a37ed622c79e629f9b285f4dc8a29db2706121d38c4dd0afb68bf12a4e8f8f6157aabdac64fe597a0302b55ed7e6dde1de66
EBUILD freeoffice-1036.ebuild 1831 BLAKE2B ceff1739bd67bf14a2179d4799051ed8fcb3e9baf7dd6c285c3aa69fc50b6efc8fbf70881ba8b80909914cb545d7f88685f2fb326f346a18dd02c034ea0532e5 SHA512 b5f14f8943d1d9e021ceeaae8e6775ab18cc0a03f482c74bb1c695a2a7cd841536c116fd40678c8d555c347331d6d88856cc9c872fb8b35be15afb258bd43b0a
MISC metadata.xml 369 BLAKE2B a436f607e5ba801e1dbd378c2adcce2c50e7d26f1e892a6b3c3df074a9e4df3734a7f7569067473d35e9ff0bc215a2030e83715a6dcdd3d4c22e1a7d10bbaa28 SHA512 000924d8e220df1cc074f07bd4b8c7a53d3c549c7647d6f5ee9a6b22216ac5ff695f3a0bb29a703db99c3c06766fdbdb3be321d2a3110d0242b93bd76090ee6a

View File

@ -0,0 +1,8 @@
#!/bin/sh
# A script to run Planmaker.
MACHINE=$(uname -m)
[[ $MACHINE == "x86_64" ]] && LIBDIR_SUFFIX="64" || LIBDIR_SUFFIX="32"
/usr/lib$LIBDIR_SUFFIX/freeoffice/planmaker "$@"

View File

@ -0,0 +1,79 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
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.
Terminal=false
Categories=Office;Spreadsheet
MimeType=application/x-pmd;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.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroenabled.12;
Name=FreeOffice PlanMaker
Icon=freeoffice-planmaker
TryExec=freeoffice-planmaker
Exec=freeoffice-planmaker %F

View File

@ -0,0 +1,8 @@
#!/bin/sh
# A script to run Softmaker Presentations.
MACHINE=$(uname -m)
[[ $MACHINE == "x86_64" ]] && LIBDIR_SUFFIX="64" || LIBDIR_SUFFIX="32"
/usr/lib$LIBDIR_SUFFIX/freeoffice/presentations "$@"

View File

@ -0,0 +1,78 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
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 SoftMaker Presentations software lets you design any kind of presentation - even including special effects, animations, and transitions.
Comment[de]=SoftMaker Presentations lässt Sie beliebige Präsentationen gestalten - mit Effekten, Animationen und Transitionen.
Terminal=false
Categories=Office;Presentation
MimeType=application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroenabled.12;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;
Name=FreeOffice Presentations
Icon=freeoffice-presentations
TryExec=freeoffice-presentations
Exec=freeoffice-presentations %F

View File

@ -0,0 +1,8 @@
#!/bin/sh
# A script to run Textmaker.
MACHINE=$(uname -m)
[[ $MACHINE == "x86_64" ]] && LIBDIR_SUFFIX="64" || LIBDIR_SUFFIX="32"
/usr/lib$LIBDIR_SUFFIX/freeoffice/textmaker "$@"

View File

@ -0,0 +1,78 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
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.
Terminal=false
Categories=Office;WordProcessor
MimeType=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;
Name=FreeOffice TextMaker
Icon=freeoffice-textmaker
TryExec=freeoffice-textmaker
Exec=freeoffice-textmaker %F

View File

@ -0,0 +1,80 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils xdg
DESCRIPTION="A complete, free Microsoft Office-compatible alternative office suite"
HOMEPAGE="https://www.freeoffice.com"
BASE_URI="https://www.softmaker.net/down/softmaker-${P}"
SRC_URI="${BASE_URI}-amd64.tgz"
LICENSE="SoftMaker"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="mirror strip"
DEPEND="
app-admin/chrpath
app-arch/xz-utils"
RDEPEND="
${DEPEND}
media-libs/mesa
net-misc/curl
x11-libs/libXrandr"
QA_PRESTRIPPED="*"
S="${WORKDIR}"
src_unpack() {
:
}
src_install(){
mkdir -p "${ED%/}/usr/$(get_libdir)/${PN}"
cd "${ED%/}/usr/$(get_libdir)/${PN}/"
unpack ${A}
xz -d "freeoffice2021.tar.lzma" || die
tar x -f "freeoffice2021.tar" \
&& rm "freeoffice2021.tar" || die
rm "installfreeoffice"
chrpath --delete "textmaker"
chrpath --delete "planmaker"
chrpath --delete "presentations"
for m in "${FILESDIR}"/*.desktop; do
domenu "${m}"
done
for e in planmaker presentations textmaker; do
dobin "${FILESDIR}/freeoffice-${e}"
done
for size in 16 24 32 48 64 128 256 512; do
newicon -s ${size} icons/pml_${size}.png ${PN}-planmaker.png
newicon -s ${size} icons/prl_${size}.png ${PN}-presentations.png
newicon -s ${size} icons/tml_${size}.png ${PN}-textmaker.png
done
insinto /usr/share/mime/packages
doins mime/softmaker-freeoffice21.xml
pax-mark -m "${ED%/}"/usr/$(get_libdir)/${PN}/planmaker
pax-mark -m "${ED%/}"/usr/$(get_libdir)/${PN}/presentations
pax-mark -m "${ED%/}"/usr/$(get_libdir)/${PN}/textmaker
}
pkg_postinst(){
einfo
elog "In order to use Softmaker Freeoffice, you need a serial number."
elog "To obtain a valid free serial number, please visit"
elog "https://www.freeoffice.com/en/download"
einfo
xdg_pkg_postinst
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>c2778148787@gmail.com</email>
<name>Raymond</name>
</maintainer>
<longdescription lang="en">
A complete, free Microsoft Office-compatible alternative office suite
</longdescription>
</pkgmetadata>

29
licenses/SoftMaker Normal file
View File

@ -0,0 +1,29 @@
SOFTWARE LICENSE AND WARRANTY
Read this agreement carefully. If you do not agree to its terms, abort the installation by clicking on the Cancel button.
The software which accompanies this license agreement (the "Software") is the property of SoftMaker Software GmbH ("SoftMaker") or its licensors and is protected by copyright law. While SoftMaker continues to own the Software, you will have certain rights to use the Software after your acceptance of this license agreement. Except as may be modified by a license addendum which accompanies this license agreement, the following is agreed upon between you and SoftMaker:
YOU MAY:
1. Install and use one copy of the Software on up to 3 (three) computers that belong to the same family household or on 1 (one) computer that belongs to an organization;
2. Make a reasonable number of backup copies for archive purposes, so long as the backup copies are not distributed; and
3. Transfer the usage rights in the Software on a permanent basis to another person or entity, provided that you retain no copies of the Software and the transferee agrees to the terms of this agreement.
YOU MAY NOT:
1. Make copies of the accompanying documentation;
2. Sublicense, rent or lease any portion of the Software or accompanying documentation; or
3. Reverse-engineer, decompile, disassemble, modify, translate, make any attempt to discover the source code of the Software, or create derivative works of the Software.
LIMITED WARRANTY
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, SOFTMAKER DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND ALL SUCH WARRANTIES ARE EXPRESSLY AND SPECIFICALLY DISCLAIMED. NEITHER SOFTMAKER NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION, OR DELIVERY OF THIS SOFTWARE SHALL BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, OR INCIDENTAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH SOFTWARE EVEN IF SOFTMAKER HAS BEEN ADVISED OF POSSIBILITY OF SUCH DAMAGES OR CLAIMS. IN NO EVENT SHALL SOFTMAKER'S LIABILITY FOR ANY DAMAGES EVER EXCEED THE PRICE PAID FOR LICENSE TO USE THE SOFTWARE, REGARDLESS OF THE FORM OF QUALITY AND PERFORMANCE OF THE SOFTWARE. THE PERSON USING THE SOFTWARE BEARS ALL RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE.
GENERAL
This Agreement is the complete statement of the Agreement between the parties on the subject matter, and merges and supersedes all other or prior understandings, purchase orders, agreements and arrangements. This Agreement shall be governed by and construed in accordance with the laws of the Federal Republic of Germany. Exclusive jurisdiction and venue for all matters relating to this Agreement shall be in courts located in the City of Nuremberg, Germany, and you consent to such jurisdiction and venue, thereby excluding the United Nations Convention on Contracts for the International Sale of Goods and any legislation implementing such Convention, if otherwise applicable.
If any provision of this Agreement is declared by a court of competent jurisdiction to be invalid, illegal, or unenforceable, such a provision shall be severed from the Agreement and the other provisions shall remain in full force and effect.
All rights of any kind in the Software which are not expressly granted in this License are entirely and exclusively reserved to and by SoftMaker.