pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/libreoffice6-bin misc/libreoffice6-bin: import li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90e81cce6e36
branches:  trunk
changeset: 321484:90e81cce6e36
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat Mar 23 10:52:09 2019 +0000

description:
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.

diffstat:

 misc/libreoffice6-bin/DESCR                                 |   6 +
 misc/libreoffice6-bin/Makefile                              |  87 +++++++++++++
 misc/libreoffice6-bin/PLIST.dirs                            |   3 +
 misc/libreoffice6-bin/PLIST.proglinks                       |  14 ++
 misc/libreoffice6-bin/distinfo                              |   6 +
 misc/libreoffice6-bin/files/libreoffice-bin-base.desktop    |  39 +++++
 misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop    |  39 +++++
 misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop    |  39 +++++
 misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop |  39 +++++
 misc/libreoffice6-bin/files/libreoffice-bin-math.desktop    |  40 +++++
 misc/libreoffice6-bin/files/libreoffice-bin-writer.desktop  |  39 +++++
 misc/libreoffice6-bin/files/soffice                         |  17 ++
 misc/libreoffice6-bin/options.mk                            |  12 +
 13 files changed, 380 insertions(+), 0 deletions(-)

diffs (truncated from 432 to 300 lines):

diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/DESCR       Sat Mar 23 10:52:09 2019 +0000
@@ -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.
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/Makefile    Sat Mar 23 10:52:09 2019 +0000
@@ -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"
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/PLIST.dirs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/PLIST.dirs  Sat Mar 23 10:52:09 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.dirs,v 1.1 2019/03/23 10:52:09 tsutsui Exp $
+@pkgdir opt/libreoffice
+@pkgdir opt
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/PLIST.proglinks
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/PLIST.proglinks     Sat Mar 23 10:52:09 2019 +0000
@@ -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
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/distinfo    Sat Mar 23 10:52:09 2019 +0000
@@ -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
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/files/libreoffice-bin-base.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/files/libreoffice-bin-base.desktop  Sat Mar 23 10:52:09 2019 +0000
@@ -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
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/files/libreoffice-bin-calc.desktop  Sat Mar 23 10:52:09 2019 +0000
@@ -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;application/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
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/files/libreoffice-bin-draw.desktop  Sat Mar 23 10:52:09 2019 +0000
@@ -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
diff -r 70aef7fd3a30 -r 90e81cce6e36 misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/libreoffice6-bin/files/libreoffice-bin-impress.desktop       Sat Mar 23 10:52:09 2019 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index