pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/libreoffice6-bin



Module Name:    pkgsrc
Committed By:   tsutsui
Date:           Sat Mar 23 10:52:09 UTC 2019

Added Files:
        pkgsrc/misc/libreoffice6-bin: DESCR Makefile PLIST.dirs PLIST.proglinks
            distinfo options.mk
        pkgsrc/misc/libreoffice6-bin/files: libreoffice-bin-base.desktop
            libreoffice-bin-calc.desktop libreoffice-bin-draw.desktop
            libreoffice-bin-impress.desktop libreoffice-bin-math.desktop
            libreoffice-bin-writer.desktop soffice

Log Message:
misc/libreoffice6-bin: import libreoffice6-bin-6.2.2.

LibreOffice is the free power-packed Open Source personal productivity
suite for Windows, Macintosh and Linux, that gives you six feature-rich
applications for all your document production and data processing
needs: Writer, Calc, Impress, Draw, Math and Base.

This package tracks libreoffice-6.x branch of official Linux binary.

"Looks fine to me" by dholland@ in PR pkg/54066.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/libreoffice6-bin/DESCR \
    pkgsrc/misc/libreoffice6-bin/Makefile \
    pkgsrc/misc/libreoffice6-bin/PLIST.dirs \
    pkgsrc/misc/libreoffice6-bin/PLIST.proglinks \
    pkgsrc/misc/libreoffice6-bin/distinfo \
    pkgsrc/misc/libreoffice6-bin/options.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-base.desktop \
    pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop \
    pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop \
    pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop \
    pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-math.desktop \
    pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop \
    pkgsrc/misc/libreoffice6-bin/files/soffice

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/libreoffice6-bin/DESCR
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/DESCR:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/DESCR  Sat Mar 23 10:52:09 2019
@@ -0,0 +1,6 @@
+LibreOffice is the free power-packed Open Source personal productivity
+suite for Windows, Macintosh and Linux, that gives you six feature-rich
+applications for all your document production and data processing
+needs: Writer, Calc, Impress, Draw, Math and Base.
+
+This package tracks libreoffice-6.x branch of official Linux binary.
Index: pkgsrc/misc/libreoffice6-bin/Makefile
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/Makefile:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/Makefile       Sat Mar 23 10:52:09 2019
@@ -0,0 +1,87 @@
+# $NetBSD: Makefile,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
+
+DISTNAME=              libreoffice6-bin        # overridden below
+PKGNAME=               libreoffice6-bin-${OO_RELEASE}
+CATEGORIES=            misc
+
+MAINTAINER=            tsutsui%NetBSD.org@localhost
+HOMEPAGE=              https://www.libreoffice.org/
+COMMENT=               Integrated office productivity suite (binary pkg)
+LICENSE=               gnu-lgpl-v3
+
+CONFLICTS+=            staroffice-[0-9]*
+CONFLICTS+=            openoffice-[0-9]*
+CONFLICTS+=            openoffice-bin-[0-9]*
+CONFLICTS+=            openoffice2-bin-[0-9]*
+CONFLICTS+=            openoffice2-[0-9]*
+CONFLICTS+=            openoffice3-[0-9]*
+CONFLICTS+=            openoffice3-bin-[0-9]*
+CONFLICTS+=            openoffice-linux-[0-9]*
+CONFLICTS+=            libreoffice3-bin-[0-9]*
+CONFLICTS+=            libreoffice4-bin-[0-9]*
+CONFLICTS+=            libreoffice5-bin-[0-9]*
+
+OO_VER=                        6
+OO_BASEVER=            ${OO_VER}.2
+OO_RELEASE=            ${OO_BASEVER}.2
+OO_RELEASEV=           ${OO_RELEASE}.2
+PLIST_SUBST+=          VER=${OO_VER:Q} BASEVER=${OO_BASEVER:Q}
+MESSAGE_SUBST+=                VER=${OO_VER:Q}
+FILES_SUBST+=          VER=${OO_VER:Q}
+
+TEMP?=                 ${WRKSRC}
+EXTRACT_ONLY=          ${DISTNAME}${EXTRACT_SUFX}
+BUILD_DIRS=            # empty
+
+PLIST_SRC=             ${PKGDIR}/PLIST.proglinks
+PLIST_SRC+=            ${WRKDIR}/PLIST
+PLIST_SRC+=            ${PKGDIR}/PLIST.dirs
+
+EMUL_PLATFORMS=                linux-i386 linux-x86_64
+#EMUL_PLATFORMS+=      solaris-i386 solaris-sparc
+EMUL_MODULES.linux=    avahi cups dbus dbus-glib fontconfig freetype2 glx
+EMUL_MODULES.linux+=   gstreamer gtk2 krb5 locale png qt4 x11
+EMUL_REQD=             suse>=13.1
+
+EMUL_PKG_FMT=          rpm
+RPMFILES=              ${WRKSRC}/RPMS/*.rpm
+RPM2PKG_PREFIX=                ${DESTDIR}${PREFIX}
+RPM2PKG_SUBPREFIX=     # empty
+RPM2PKG_STAGE=         do-install
+RUN_LDCONFIG=          no
+
+USE_TOOLS+=    patch uniq
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${EMUL_PLATFORM} == "linux-i386"
+DISTNAME=              LibreOffice_${OO_RELEASE}_Linux_x86_rpm
+WRKSRC=                        ${WRKDIR}/LibreOffice_${OO_RELEASEV}_Linux_x86_rpm
+MASTER_SITES=          http://download.documentfoundation.org/libreoffice/stable/${OO_RELEASE}/rpm/x86/
+.elif ${EMUL_PLATFORM} == "linux-x86_64"
+DISTNAME=              LibreOffice_${OO_RELEASE}_Linux_x86-64_rpm
+WRKSRC=                        ${WRKDIR}/LibreOffice_${OO_RELEASEV}_Linux_x86-64_rpm
+MASTER_SITES=          http://download.documentfoundation.org/libreoffice/stable/${OO_RELEASE}/rpm/x86_64/
+.endif
+
+.include "options.mk"
+
+INSTALLATION_DIRS= bin share/applications
+DESKTOP_FILESDIR=      ${.CURDIR}/../../misc/libreoffice6-bin/files
+
+do-install:
+       ${UNIQ} ${RPM2PKG_PLIST} | \
+               ${SED} -e 's,^@exec mkdir -m 755 -p %D/,@pkgdir,' > ${WRKDIR}/PLIST
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/soffice
+       ${SED}  -e "s|@@PREFIX@@|${PREFIX}|g" -e "s|@@OO_VER@@|${OO_VER}|g" \
+               -e "s|@@JAVA_HOME@@|${PKG_JAVA_HOME}|g" \
+               -e "s|@@OO_BASEVER@@|${OO_BASEVER}|g" \
+               < ${FILESDIR}/soffice > ${DESTDIR}${PREFIX}/bin/soffice
+       ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/soffice
+       ${INSTALL_DATA} ${DESKTOP_FILESDIR}/*.desktop ${DESTDIR}${PREFIX}/share/applications
+.for i in sbase scalc sdraw simpress smath swriter
+       ${LN} -sf ../opt/libreoffice${OO_BASEVER}/program/${i} ${DESTDIR}${PREFIX}/bin/${i}
+.endfor
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/libreoffice6-bin/PLIST.dirs
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/PLIST.dirs:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/PLIST.dirs     Sat Mar 23 10:52:09 2019
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.dirs,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
+@pkgdir opt/libreoffice
+@pkgdir opt
Index: pkgsrc/misc/libreoffice6-bin/PLIST.proglinks
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/PLIST.proglinks:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/PLIST.proglinks        Sat Mar 23 10:52:09 2019
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST.proglinks,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
+bin/sbase
+bin/scalc
+bin/sdraw
+bin/simpress
+bin/smath
+bin/soffice
+bin/swriter
+share/applications/libreoffice-bin-base.desktop
+share/applications/libreoffice-bin-calc.desktop
+share/applications/libreoffice-bin-draw.desktop
+share/applications/libreoffice-bin-impress.desktop
+share/applications/libreoffice-bin-math.desktop
+share/applications/libreoffice-bin-writer.desktop
Index: pkgsrc/misc/libreoffice6-bin/distinfo
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/distinfo:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/distinfo       Sat Mar 23 10:52:09 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
+
+SHA1 (LibreOffice_6.2.2_Linux_x86_rpm.tar.gz) = 1816f657a77ad7ec1139e4fce50594b4313ee684
+RMD160 (LibreOffice_6.2.2_Linux_x86_rpm.tar.gz) = bfbbc6ff90ab52095a10bdbfd17e073e5da6c333
+SHA512 (LibreOffice_6.2.2_Linux_x86_rpm.tar.gz) = d50285ec89526d277b193610894ae7694fc16a5750778d833a8fac68eb37cb31de6fd60f525ea7aeda69b995d205bf87ec4701f61ac3459c5ed7642d13adb05e
+Size (LibreOffice_6.2.2_Linux_x86_rpm.tar.gz) = 226569436 bytes
Index: pkgsrc/misc/libreoffice6-bin/options.mk
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/options.mk:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/options.mk     Sat Mar 23 10:52:09 2019
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libreoffice-bin
+PKG_SUPPORTED_OPTIONS= java
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mjava)
+PKG_JVMS_ACCEPTED=     jdk15 sun-jdk6
+USE_JAVA=              run
+.include "../../mk/java-vm.mk"
+.endif

Index: pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-base.desktop
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-base.desktop:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-base.desktop     Sat Mar 23 10:52:09 2019
@@ -0,0 +1,39 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+[Desktop Entry]
+Version=1.0
+Terminal=false
+Icon=base
+Type=Application
+Categories=Office;Database;X-Red-Hat-Base;X-MandrivaLinux-MoreApplications-Databases;
+Exec=soffice --base
+MimeType=application/vnd.oasis.opendocument.database;application/vnd.sun.xml.base;
+Name=LibreOffice Base
+GenericName=Database Development
+Comment=Manage databases, create queries and reports to track and manage your information by using Base.
+StartupNotify=true
+X-GIO-NoFuse=true
+Keywords=Data;SQL;
+InitialPreference=5
+StartupWMClass=libreoffice-base
+X-KDE-Protocols=file,http,ftp,webdav
+
+Actions=NewDocument;
+[Desktop Action NewDocument]
+Name=New Database
+Exec=soffice --base
Index: pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop     Sat Mar 23 10:52:09 2019
@@ -0,0 +1,39 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+[Desktop Entry]
+Version=1.0
+Terminal=false
+Icon=calc
+Type=Application
+Categories=Office;Spreadsheet;X-Red-Hat-Base;X-MandrivaLinux-Office-Spreadsheets;
+Exec=soffice --calc
+MimeType=application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/msexcel;application/vnd.ms-excel;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;application/vnd.ms-excel.sheet.binary.macroenabled.12;text/csv;application/x-dbf;text/spreadsheet;application/csv;application/excel;application/tab-separated-values;application/vnd.lotus-1-2-3;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/x-dbase;application/x-dos_ms_excel;application/x-excel;application/x-msexcel;application/x-ms-excel;application/x-quattropro;application/x-123;text/comma-separated-values;text/tab-separated-values;text/x-comma-separated-values;text/x-csv;applica
 tion/vnd.oasis.opendocument.spreadsheet-flat-xml;application/vnd.ms-works;application/clarisworks;
+Name=LibreOffice Calc
+GenericName=Spreadsheet
+Comment=Perform calculations, analyze information and manage lists in spreadsheets by using Calc.
+StartupNotify=true
+X-GIO-NoFuse=true
+Keywords=Accounting;Stats;OpenDocument Spreadsheet;Chart;Microsoft Excel;Microsoft Works;OpenOffice Calc;ods;xls;xlsx;
+InitialPreference=5
+StartupWMClass=libreoffice-calc
+X-KDE-Protocols=file,http,ftp,webdav
+
+Actions=NewDocument;
+[Desktop Action NewDocument]
+Name=New Spreadsheet
+Exec=soffice --calc
Index: pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop     Sat Mar 23 10:52:09 2019
@@ -0,0 +1,39 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+[Desktop Entry]
+Version=1.0
+Terminal=false
+Icon=draw
+Type=Application
+Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;
+Exec=soffice --draw
+MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-flat-xml;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.visio;application/x-wpg;application/vnd.corel-draw;application/vnd.ms-publisher;image/x-freehand;application/clarisworks;application/x-pagemaker;
+Name=LibreOffice Draw
+GenericName=Drawing Program
+Comment=Create and edit drawings, flow charts and logos by using Draw.
+StartupNotify=true
+X-GIO-NoFuse=true
+Keywords=Vector;Schema;Diagram;Layout;OpenDocument Graphics;Microsoft Publisher;Corel Draw;cdr;odg;svg;
+InitialPreference=5
+StartupWMClass=libreoffice-draw
+X-KDE-Protocols=file,http,ftp,webdav
+
+Actions=NewDocument;
+[Desktop Action NewDocument]
+Name=New Drawing
+Exec=soffice --draw
Index: pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop  Sat Mar 23 10:52:09 2019
@@ -0,0 +1,39 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+[Desktop Entry]
+Version=1.0
+Terminal=false
+Icon=impress
+Type=Application
+Categories=Office;Presentation;X-Red-Hat-Base;X-MandrivaLinux-Office-Presentations;
+Exec=soffice --impress
+MimeType=application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-template;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;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.openxmlformats-officedocument.presentationml.slide;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;application/vnd.oasis.opendocument.presentation-flat-xml;application/x-iwork-keynote-sffkey;
+Name=LibreOffice Impress
+GenericName=Presentation
+Comment=Create and edit presentations for slideshows, meeting and Web pages by using Impress.
+StartupNotify=true
+X-GIO-NoFuse=true
+Keywords=Slideshow;Slides;OpenDocument Presentation;Microsoft PowerPoint;Microsoft Works;OpenOffice Impress;odp;ppt;pptx;
+InitialPreference=5
+StartupWMClass=libreoffice-impress
+X-KDE-Protocols=file,http,ftp,webdav
+
+Actions=NewDocument;
+[Desktop Action NewDocument]
+Name=New Presentation
+Exec=soffice --impress
Index: pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-math.desktop
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-math.desktop:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-math.desktop     Sat Mar 23 10:52:09 2019
@@ -0,0 +1,40 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+[Desktop Entry]
+Version=1.0
+Terminal=false
+NoDisplay=false
+Icon=math
+Type=Application
+Categories=Office;Spreadsheet;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other;
+Exec=soffice --math
+MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;application/vnd.oasis.opendocument.formula-template;text/mathml;application/mathml+xml;
+Name=LibreOffice Math
+GenericName=Formula Editor
+Comment=Create and edit scientific formulas and equations by using Math.
+StartupNotify=true
+X-GIO-NoFuse=true
+Keywords=Equation;OpenDocument Formula;Formula;odf;MathML;
+InitialPreference=5
+StartupWMClass=libreoffice-math
+X-KDE-Protocols=file,http,ftp,webdav
+
+Actions=NewDocument;
+[Desktop Action NewDocument]
+Name=New Formula
+Exec=soffice --math
Index: pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop   Sat Mar 23 10:52:09 2019
@@ -0,0 +1,39 @@
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+[Desktop Entry]
+Version=1.0
+Terminal=false
+Icon=writer
+Type=Application
+Categories=Office;WordProcessor;X-Red-Hat-Base;X-MandrivaLinux-Office-Wordprocessors;
+Exec=soffice --writer
+MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;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/vnd.ms-works;application/vnd.stardivision.writer-global;application/x-extension-txt;application/x-t602;text/plain;application/vnd.oasis.opendocument.text-flat-xml;application/x-fictionbook+xml;applicatio
 n/macwriteii;application/x-aportisdoc;application/prs.plucker;application/vnd.palm;application/clarisworks;application/x-sony-bbeb;application/x-abiword;
+Name=LibreOffice Writer
+GenericName=Word Processor
+Comment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer.
+StartupNotify=true
+X-GIO-NoFuse=true
+Keywords=Text;Letter;Fax;Document;OpenDocument Text;Microsoft Word;Microsoft Works;Lotus WordPro;OpenOffice Writer;CV;odt;doc;docx;rtf;
+InitialPreference=5
+StartupWMClass=libreoffice-writer
+X-KDE-Protocols=file,http,ftp,webdav
+
+Actions=NewDocument;
+[Desktop Action NewDocument]
+Name=New Document
+Exec=soffice --writer
Index: pkgsrc/misc/libreoffice6-bin/files/soffice
diff -u /dev/null pkgsrc/misc/libreoffice6-bin/files/soffice:1.1
--- /dev/null   Sat Mar 23 10:52:09 2019
+++ pkgsrc/misc/libreoffice6-bin/files/soffice  Sat Mar 23 10:52:09 2019
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+#      $NetBSD: soffice,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
+#
+SOINST=@@PREFIX@@/opt/libreoffice@@OO_BASEVER@@
+
+# make sure we can find `whoami` on solaris
+PATH=${PATH}:/usr/ucb
+
+# add the chosen java directory to $PATH to allow OOo to
+# automatically find it
+PATH=${PATH}:@@JAVA_HOME@@
+
+# default data seg size is too small for java
+ulimit -d `ulimit -H -d`
+
+exec ${SOINST}/program/soffice "$@"



Home | Main Index | Thread Index | Old Index