Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (a1ed50cd9ab81edc0e0d214b6c552074c779fc69)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (a1ed50cd9ab81edc0e0d214b6c552074c779fc69)
  • Date: Tue, 1 Feb 2022 02:12:07 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 3
editors/libreoffice/BUILD | 29 ++++++
editors/libreoffice/CONFIGURE | 17 +++
editors/libreoffice/DEPENDS | 187
++++++++++++++++++++++++++++++++++++++++++
editors/libreoffice/DETAILS | 33 +++++++
editors/libreoffice/HISTORY | 2
editors/libreoffice/PRE_BUILD | 9 ++
7 files changed, 280 insertions(+)

New commits:
commit a1ed50cd9ab81edc0e0d214b6c552074c779fc69
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

libreoffice: new spell, LibreOffice Free Office Suite

diff --git a/ChangeLog b/ChangeLog
index 10cc5a2..91ca2a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2022-02-01 Ismael Luceno <ismael AT sourcemage.org>
+ * editors/libreoffice: new spell, LibreOffice Free Office Suite
+
2022-01-28 Florian Franzmann <bwlf AT bandrate.org>
* libs/libptytty: new spell, a library for handling pty/tty

diff --git a/editors/libreoffice/BUILD b/editors/libreoffice/BUILD
new file mode 100755
index 0000000..c5c1b87
--- /dev/null
+++ b/editors/libreoffice/BUILD
@@ -0,0 +1,29 @@
+# FIXME ccache doesn't work with user "nobody"
+OPTS+=' --disable-ccache' &&
+# Release build type
+OPTS+=' --enable-release-build' &&
+# Use system-provided libraries only
+OPTS+=' --with-system-libs --disable-fetch-external' &&
+# Use system fonts
+OPTS+=' --without-fonts' &&
+# Read-Only installation
+OPTS+=' --disable-extension-update --enable-readonly-installset' &&
+
+CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1' &&
+
+cd "$SOURCE_DIRECTORY.build" &&
+# XXX bails out if you try to build as root
+chown nobody . &&
+su nobody -s /bin/sh -c "
+\"$SOURCE_DIRECTORY\"/configure \
+ --prefix=\"$INSTALL_ROOT\"/usr \
+ --sysconfdir=\"$INSTALL_ROOT\"/etc \
+ --localstatedir=\"$INSTALL_ROOT\"/var \
+ --mandir=\"$INSTALL_ROOT\"/usr/share/man \
+ --infodir=\"$INSTALL_ROOT\"/usr/share/info \
+ --build=\"$BUILD\" \
+ --host=\"$HOST\" \
+ --with-vendor=\"SourceMage\" \
+ $OPTS $LIBREOFFICE_OPTS &&
+make -j$MAKE_NJOBS
+"
diff --git a/editors/libreoffice/CONFIGURE b/editors/libreoffice/CONFIGURE
new file mode 100755
index 0000000..97290f1
--- /dev/null
+++ b/editors/libreoffice/CONFIGURE
@@ -0,0 +1,17 @@
+# --disable-report-builder Disable the Report Builder.
+# --enable-ext-wiki-publisher Enable the Wiki Publisher extension.
+# --disable-pdfimport Disable building the PDF import feature.
+# --enable-mergelibs Merge several of the smaller libraries into one
big, "merged", one.
+# --enable-breakpad Enables breakpad for crash reporting.
+# --disable-crashdump Disable dump.ini and dump-file, when
--enable-breakpad
+# --disable-sdremote Determines whether to enable Impress remote
control (i.e. the server component).
+# --disable-lotuswordpro Disable the build of the Lotus Word Pro filter.
+# --enable-formula-logger Enable formula logger for logging formula
calculation flow in Calc.
+# --disable-librelogo Do not build LibreLogo.
+# --disable-xmlhelp Disable XML help support
+# --disable-scripting-beanshell Disable support for scripts in BeanShell.
+# --disable-scripting-javascript Disable support for scripts in JavaScript.
+# --enable-ext-ct2n Enable the ConvertTextToNumber extension
+# --enable-ext-nlpsolver Enable the NLPSolver extension
+# --enable-ext-languagetool Enable the LanguageTool extension
+# --with-lang="es sw tu cs sk" Use this option to build LibreOffice with
additional UI language support. English (US) is always included by default.
Separate multiple languages with space. For all languages, use
--with-lang=ALL.
diff --git a/editors/libreoffice/DEPENDS b/editors/libreoffice/DEPENDS
new file mode 100755
index 0000000..e071fbd
--- /dev/null
+++ b/editors/libreoffice/DEPENDS
@@ -0,0 +1,187 @@
+case "$HOST" in
+ (*-musl)
+ depends libexecinfo
+ ;;
+esac &&
+# FIXME clang dep required for branch 7.3; remove on update
+depends -sub CLANG llvm 'CXX=clang++ CC=clang' &&
+depends -sub 'DATETIME FILESYSTEM IOSTREAMS LOCALE' boost &&
+depends JPEG &&
+depends abseil-cpp &&
+depends apr &&
+depends box2d &&
+depends -sub CONTRIBS clucene &&
+depends expat &&
+depends fontconfig &&
+depends freetype2 &&
+depends graphite2 &&
+depends harfbuzz &&
+depends hunspell &&
+depends hyphen && #altlinuxhyph?
+depends icu &&
+depends lcms2 &&
+depends libatomic_ops &&
+depends libcuckoo &&
+depends libexttextcat && # for language guessing
+depends libnumbertext && # for NUMBERTEXT and MONEYTEXT functions for Calc
+depends libpng &&
+depends libtommath &&
+depends libxml2 &&
+depends mdds &&
+depends mythes &&
+depends python3 --enable-python=system &&
+depends ucpp --with-system-ucpp &&
+depends xmlsec &&
+depends zlib &&
+
+# QA
+depends cppunit --with-system-cppunit && # FIXME make optional
+
+# Crypto
+depends SSL &&
+#optional_depends SSL \
+# --{enable,disable}-openssl \
+# 'for crypto support' &&
+# --enable-cipher-openssl-backend Enable using OpenSSL as the actual
implementation of the rtl/cipher.h functionality. Requires --enable-openssl.
+
+depends nss &&
+#optional_depends nss \
+# --{enable,disable}-nss \
+# 'for crypto support' &&
+
+optional_depends gpgmepp \
+ --{enable,disable}-gpgmepp \
+ 'for OpenPGP signature support' &&
+
+# VCL plugins (GUI & integration)
+optional_depends gtk+4 \
+ --{enable,disable}-gtk4 \
+ 'for GTK+ 4.x support' &&
+optional_depends gtk+3 \
+ --{enable,disable}-gtk3 \
+ 'for GTK+ 3.x support' &&
+if is_depends_enabled "$SPELL" gtk+3; then
+ depends libepoxy
+fi &&
+optional_depends qt6base \
+ --{enable,disable}-qt6 \
+ 'for Qt 6 GUI support' &&
+optional_depends qtbase \
+ --{enable,disable}-qt5 \
+ 'for Qt 5 GUI support' &&
+# --enable-kf5 Determines whether to use Qt5/KF5 vclplug on
platforms where Qt5 and KF5 are available.
+# --enable-gtk3-kde5 Determines whether to use Gtk3 vclplug with KF5
file dialogs on platforms where Gtk3, Qt5 and Plasma is available.
+
+optional_depends libxrandr \
+ --{enable,disable}-randr \
+ 'for RandR support' &&
+optional_depends cairo \
+ --{enable,disable}-cairo-canvas \
+ 'for Cairo canvas support' &&
+optional_depends opencl-headers \
+ --{enable,disable}-opencl \
+ 'for opencl-headers support' &&
+
+optional_depends libeot \
+ --{enable,disable}-eot \
+ 'for Embedded OpenType font support' &&
+
+optional_depends avahi \
+ --{enable,disable}-avahi \
+ 'to advertise Impress to remote controls' &&
+optional_depends libcmis \
+ --{enable,disable}-cmis \
+ 'for CMIS protocol support' &&
+optional_depends cups \
+ --{enable,disable}-cups \
+ 'for Printing support' &&
+optional_depends curl \
+ --{enable,disable}-curl \
+ 'for curl support' &&
+optional_depends dbus \
+ --{enable,disable}-dbus \
+ 'for D-Bus support (presentation remote control, font
install, etc.)' &&
+optional_depends dconf \
+ --{enable,disable}-dconf \
+ 'for dconf support' &&
+optional_depends gstreamer-1.0 \
+ --{enable,disable}-gstreamer-1-0 \
+ 'for GStreamer 1.0 A/V media backend' &&
+optional_depends JAVA \
+ --{with,without}-java \
+ 'for Java support' &&
+optional_depends openldap \
+ --{enable,disable}-ldap \
+ 'for LDAP support' &&
+optional_depends poppler \
+ --{enable,disable}-poppler \
+ 'for PDF import support' &&
+optional_depends zxing-cpp \
+ --{enable,disable}-zxing \
+ 'for barcode support' &&
+
+# Document Formats
+depends librevenge && # base library for document import filters
+depends orcus && # for ODS, XLSX & CSV import filters
+# FIXME make the following optional!
+depends libabw && # for AbiWord import filter
+depends libcdr && # for CorelDRAW import filter
+depends libebook && # for e-book import filters
+depends libepubgen && # ePUB export support?
+depends libetonyek && # for Apple iWork import filters
+depends libfreehand && # for Adobe FreeHand import filter
+depends libmspub && # for MS Publisher import filter
+depends libmwaw && # for ancient Mac document import filters
+depends libodfgen && # ODF export support?
+depends libpagemaker && # for Adobe PageMaker import filter
+depends libstaroffice && # for StarOffice import filters
+depends libqxp && # for Adobe PageMaker import filter
+depends libvisio && # for MS Visio import filter
+depends libwpd && # for Corel WordPerfect Document import filter
+depends libwpg && # for Corel WordPerfect Graphics import filter
+depends libwps && # for MS Works import filter
+depends libzmf && # for Zoner Callisto/Draw import filter
+depends redland && # for ODF support
+depends raptor && # for ODF support
+
+# SDBC database drivers
+optional_depends mariadb \
+ --{enable,disable}-mariadb-sdbc \
+ 'for MariaDB-SDBC driver' &&
+optional_depends postgresql \
+ --{enable,disable}-postgresql-sdbc \
+ 'for PostgreSQL-SDBC driver' &&
+optional_depends firebird3 \
+ --{enable,disable}-firebird-sdbc \
+ 'for firebird3 support' &&
+
+# WebDAV
+optional_depends neon \
+ --with-webdav=neon '' \
+ 'for WebDAV support' &&
+if ! is_depends_enabled "$SPELL" neon; then
+ optional_depends serf \
+ --with-webdav={serf,no} \
+ 'for WebDAV support'
+fi &&
+
+# Network Security
+optional_depends krb5 \
+ --{with,without}-krb5 \
+ 'for MIT Kerberos 5 support' &&
+optional_depends gssapi \
+ --{with,without}-gssapi \
+ 'for GSSAPI support' &&
+
+# LP Solvers
+optional_depends coinmp \
+ --{enable,disable}-coinmp \
+ 'for CoinMP LP solver' &&
+optional_depends lpsolve \
+ --{enable,disable}-lpsolve \
+ 'for lpsolve LP solver' &&
+
+# Remote Control
+optional_depends bluez5 \
+ --{enable-disable}-sdremote-bluetooth \
+ 'for Bluetooth Impress remote control support'
diff --git a/editors/libreoffice/DETAILS b/editors/libreoffice/DETAILS
new file mode 100755
index 0000000..2f2763c
--- /dev/null
+++ b/editors/libreoffice/DETAILS
@@ -0,0 +1,33 @@
+ SPELL=libreoffice
+ VERSION=7.3.0.3
+
SOURCE_HASH=sha512:408b98184afc0721f922768f60e877fd756b656b4fd30cf6ad629bd32ba323fb1f4b052c8427b11395253b4ed67f9a1fd20ef3f7fd5945abc0f8cfb1f40c5d47
+ SOURCE=$SPELL-$VERSION.tar.xz
+
SOURCE_URL[0]="https://download.documentfoundation.org/$SPELL/src/${VERSION%.*}/$SOURCE";
+ addon_url="https://dev-www.libreoffice.org/src";
+
SOURCE2_HASH=sha512:722aa814c33a34bfffe6c0201b0035cc3b65854a0ba9ae2f51620a89d68019353e2c306651b35bca337186b22b2e9865ef3c5e3df8e9328006f882e4577f8c85
+ SOURCE2=dtoa-20180411.tgz
+
SOURCE3_HASH=sha512:530c035a50848eecd292f4fd564bfd8059b47beda0f670e1ccb69e0d2b368e4e73f012bb37526db478549ade1f818c187f0c38b1f8d97c77bdbedf5a50127b67
+ SOURCE3=pdfium-4699.tar.bz2
+
SOURCE4_HASH=sha512:fbf5cfef66991565dbad928091a4e795a5b5b79a1e062a98ab9135b9972827de703c449507957294e7471c422c2e2ed239d6df61ffb9b9581a9ca3d848687a76
+ SOURCE4=skia-m97-a7230803d64ae9d44f4e1282444801119a3ae967.tar.xz
+
SOURCE5_HASH=sha512:6a6d131dad5191614950a49323ae6d9385afe331983c1c85fde82ce6ee816051d95dde9ef90658b8f0a8a0a21754e72ff724bf41f6b96c046b7b4c2660f7095b
+
SOURCE5=f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
+ SOURCE2_URL[0]="$addon_url/$SOURCE2"
+ SOURCE3_URL[0]="$addon_url/$SOURCE3"
+ SOURCE4_URL[0]="$addon_url/$SOURCE4"
+ SOURCE5_URL[0]="$addon_url/$SOURCE5"
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ CCACHE=off # FIXME can't use /var/cache/compiler when not root
+ TMPFS=off # XXX uses a lot of space
+ LICENSE[0]=MPL-2.0
+ LICENSE[1]=LGPL-3.0-or-later
+ WEB_SITE=http://www.libreoffice.org/
+ ENTERED=20110127
+ SHORT="LibreOffice Free Office Suite"
+cat << EOF
+LibreOffice is the free power-packed Open Source personal productivity suite,
+that gives you six feature-rich applications for all your document production
+and data processing needs: Writer, Calc, Impress, Draw, Math and Base.
Support
+and documentation is free from our large, dedicated community of users,
+contributors and developers.
+EOF
diff --git a/editors/libreoffice/HISTORY b/editors/libreoffice/HISTORY
new file mode 100644
index 0000000..f9ce149
--- /dev/null
+++ b/editors/libreoffice/HISTORY
@@ -0,0 +1,2 @@
+2022-01-31 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/editors/libreoffice/PRE_BUILD b/editors/libreoffice/PRE_BUILD
new file mode 100755
index 0000000..59a9e55
--- /dev/null
+++ b/editors/libreoffice/PRE_BUILD
@@ -0,0 +1,9 @@
+local i=2 &&
+while eval "[ -n \"\$SOURCE$i\" ]"; do
+ verify_file "$i" || exit 1
+ let ++i
+done &&
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+ln -s "$SOURCE_CACHE" external/tarballs &&
+mk_source_dir "$SOURCE_DIRECTORY".build



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (a1ed50cd9ab81edc0e0d214b6c552074c779fc69), Ismael Luceno, 01/31/2022

Archive powered by MHonArc 2.6.24.

Top of Page