2013-08-26 06:19:17 +02:00
|
|
|
# Created by: Martin Blapp
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= apache-openoffice
|
2014-08-26 01:21:55 +02:00
|
|
|
PORTVERSION= ${AOOVERSION}
|
2018-06-12 05:55:02 +02:00
|
|
|
PORTREVISION= 6
|
2013-08-26 06:19:17 +02:00
|
|
|
CATEGORIES= editors java
|
2017-10-20 18:02:12 +02:00
|
|
|
MASTER_SITES= APACHE/openoffice/${PORTVERSION}/sources \
|
2015-01-19 01:57:30 +01:00
|
|
|
http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \
|
|
|
|
LOCAL/truckman/openoffice:extsrc
|
2014-08-05 18:34:47 +02:00
|
|
|
.if defined(LANG_PKGNAME)
|
|
|
|
PKGNAMEPREFIX= ${LANG_PKGNAME}-
|
|
|
|
.endif
|
|
|
|
.if defined(LANG_SUFFIX)
|
|
|
|
PKGNAMESUFFIX= -${LANG_SUFFIX}
|
|
|
|
.endif
|
2018-01-26 19:33:08 +01:00
|
|
|
DISTFILES= ${AOOSRC} ${EXTSRC}:extsrc
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
DIST_SUBDIR= openoffice
|
2015-09-10 02:33:08 +02:00
|
|
|
EXTRACT_ONLY= ${AOOSRC}
|
2013-08-26 06:19:17 +02:00
|
|
|
|
2014-08-05 18:34:47 +02:00
|
|
|
MAINTAINER= office@FreeBSD.org
|
2015-01-19 01:57:30 +01:00
|
|
|
#de facto maintainer is truckman@FreeBSD.org
|
2017-01-31 04:42:07 +01:00
|
|
|
#Frequent Patch submitters should (optionally) sign the Apache iCLA
|
2013-08-26 06:19:17 +02:00
|
|
|
COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser
|
|
|
|
|
2017-10-20 18:02:12 +02:00
|
|
|
LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL10 \
|
|
|
|
MPL11 PSFL TWAIN W3C
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_NAME_ADOBE= Adobe Systems Incorporated license
|
|
|
|
LICENSE_NAME_ICU= ICU License
|
|
|
|
LICENSE_NAME_TWAIN= TWAIN Working Group license
|
|
|
|
LICENSE_NAME_W3C= W3C license
|
|
|
|
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2
|
|
|
|
LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE
|
|
|
|
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE
|
|
|
|
LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE
|
|
|
|
LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL
|
|
|
|
LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU
|
|
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT
|
2017-10-20 18:02:12 +02:00
|
|
|
LICENSE_FILE_MPL10= ${WRKSRC}/LICENSE_MPL10
|
|
|
|
LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE_MPL11
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL
|
|
|
|
LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN
|
|
|
|
LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C
|
|
|
|
LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
2013-08-26 06:19:17 +02:00
|
|
|
|
2017-10-20 18:02:12 +02:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc64
|
|
|
|
|
2014-08-05 18:34:47 +02:00
|
|
|
BUILD_DEPENDS= \
|
2016-07-12 05:24:20 +02:00
|
|
|
p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
|
|
|
|
${LOCALBASE}/bin/unzip:archivers/unzip \
|
|
|
|
zip:archivers/zip \
|
|
|
|
ant:devel/apache-ant \
|
2016-04-01 16:00:51 +02:00
|
|
|
${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs \
|
2016-07-12 05:24:20 +02:00
|
|
|
dmake:devel/dmake \
|
|
|
|
epm:devel/epm \
|
|
|
|
${LOCALBASE}/bin/gperf:devel/gperf \
|
|
|
|
imake:devel/imake \
|
|
|
|
gpatch:devel/patch \
|
|
|
|
${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \
|
|
|
|
${LOCALBASE}/bin/vigra-config:graphics/vigra \
|
2016-04-01 16:00:51 +02:00
|
|
|
${JAVALIBDIR}/commons-lang.jar:java/jakarta-commons-lang \
|
2016-07-12 05:24:20 +02:00
|
|
|
${JAVALIBDIR}/junit.jar:java/junit \
|
|
|
|
${JAVALIBDIR}/bsh.jar:lang/bsh \
|
|
|
|
bash:shells/bash \
|
|
|
|
${JAVALIBDIR}/lucene-core-3.6.2.jar:textproc/lucene \
|
2017-01-31 04:42:07 +01:00
|
|
|
p5-XML-Parser>=0:textproc/p5-XML-Parser \
|
|
|
|
p5-libwww>=0:www/p5-libwww \
|
|
|
|
p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https
|
2014-08-05 18:34:47 +02:00
|
|
|
LIB_DEPENDS= \
|
2016-07-12 05:24:20 +02:00
|
|
|
libapr-1.so:devel/apr1 \
|
|
|
|
libnspr4.so:devel/nspr \
|
|
|
|
libcurl.so:ftp/curl \
|
|
|
|
libcairo.so:graphics/cairo \
|
|
|
|
libpng.so:graphics/png \
|
|
|
|
libgraphite.so:graphics/silgraphite \
|
|
|
|
libCoinMP.so:math/coinmp \
|
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libnss3.so:security/nss \
|
|
|
|
libexpat.so:textproc/expat2 \
|
2017-01-07 15:43:11 +01:00
|
|
|
libhunspell-1.6.so:textproc/hunspell \
|
2016-07-12 05:24:20 +02:00
|
|
|
libhyphen.so:textproc/hyphen \
|
|
|
|
libtextcat.so:textproc/libtextcat \
|
|
|
|
libmythes-1.2.so:textproc/mythes \
|
|
|
|
librdf.so:textproc/redland \
|
|
|
|
libserf-1.so:www/serf \
|
2016-04-01 16:00:51 +02:00
|
|
|
libfontconfig.so:x11-fonts/fontconfig
|
2014-08-26 01:21:55 +02:00
|
|
|
RUN_DEPENDS= \
|
2016-04-01 16:00:51 +02:00
|
|
|
${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
|
2017-10-20 18:02:12 +02:00
|
|
|
${JAVALIBDIR}/commons-lang.jar:java/jakarta-commons-lang \
|
2016-07-12 05:24:20 +02:00
|
|
|
${JAVALIBDIR}/bsh.jar:lang/bsh \
|
2016-04-01 16:00:51 +02:00
|
|
|
${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \
|
|
|
|
${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \
|
|
|
|
${LOCALBASE}/share/fonts/ChromeOS/Arimo-Bold.ttf:x11-fonts/croscorefonts-fonts-ttf
|
2014-08-05 18:34:47 +02:00
|
|
|
|
2017-10-20 18:02:12 +02:00
|
|
|
CONFLICTS_INSTALL= apache-openoffice-devel-*
|
|
|
|
|
2015-01-21 10:03:09 +01:00
|
|
|
AOOVERSION1= 4
|
|
|
|
AOOVERSION2= 1
|
2017-12-31 01:00:06 +01:00
|
|
|
AOOVERSION3= 5
|
2015-03-17 16:04:43 +01:00
|
|
|
# From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD
|
2017-12-31 01:00:06 +01:00
|
|
|
AOOTAG= AOO415m1\(Build:9789\)
|
|
|
|
SVNREVISION= 1817496
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz
|
2015-01-21 10:03:09 +01:00
|
|
|
|
|
|
|
AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3}
|
|
|
|
AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3}
|
|
|
|
AOOSUFFIX= ${PORTVERSION}
|
2015-09-10 02:33:08 +02:00
|
|
|
AOOSRC= apache-openoffice-${AOOVERSION}-r${SVNREVISION}-src${EXTRACT_SUFX}
|
2014-08-05 18:34:47 +02:00
|
|
|
|
2015-03-17 16:04:43 +01:00
|
|
|
AOOUDIR= .openoffice.org\/${AOOVERSION1}
|
2014-08-26 01:21:55 +02:00
|
|
|
INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX}
|
2015-09-10 02:33:08 +02:00
|
|
|
PRINSTALLATION_BASEDIR= ${PREFIX}/${INSTALLATION_BASEDIR}
|
|
|
|
OOPATH= ${PRINSTALLATION_BASEDIR}/openoffice${AOOVERSION1}
|
|
|
|
XDGDIR= ${OOPATH}/share/xdg
|
2016-07-12 05:24:20 +02:00
|
|
|
XDGREL= ../../${INSTALLATION_BASEDIR}/openoffice${AOOVERSION1}/share/xdg
|
2014-08-26 01:21:55 +02:00
|
|
|
EXECBASE?= openoffice-${AOOSUFFIX}
|
2014-08-05 18:34:47 +02:00
|
|
|
|
2018-01-24 10:41:04 +01:00
|
|
|
USES= autoreconf bison compiler:c++11-lib cpe \
|
2017-10-20 18:02:12 +02:00
|
|
|
desktop-file-utils \
|
|
|
|
gettext-runtime gmake iconv jpeg perl5 pkgconfig python \
|
|
|
|
shared-mime-info ssl tar:bzip2
|
2013-08-26 06:19:17 +02:00
|
|
|
USE_GL= gl glu
|
2015-03-17 16:04:43 +01:00
|
|
|
USE_GNOME= gtk20 libxslt libidl glib20
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_BUILD= jdk
|
2015-10-24 01:22:24 +02:00
|
|
|
JAVA_RUN= jdk
|
2015-03-17 16:04:43 +01:00
|
|
|
JAVA_VENDOR= openjdk
|
|
|
|
JAVA_VERSION= 1.6+
|
2013-08-26 06:19:17 +02:00
|
|
|
USE_PERL5= build
|
2016-07-12 05:24:20 +02:00
|
|
|
USE_XORG= ice sm x11 xau xaw xcomposite xcursor xdamage xext xfixes xi \
|
|
|
|
xinerama xrandr xrender xt
|
2015-09-10 02:33:08 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2013-08-26 06:19:17 +02:00
|
|
|
WITHOUT_CPU_CFLAGS= true
|
2015-03-30 19:57:48 +02:00
|
|
|
CPE_PRODUCT= ${PORTNAME:S|apache-||}
|
|
|
|
CPE_VENDOR= apache
|
2013-08-26 06:19:17 +02:00
|
|
|
|
2018-01-26 19:33:08 +01:00
|
|
|
OPTIONS_DEFINE= CRASHDUMP CUPS DBGUTIL DEBUG GNOME GNOMEVFS MMEDIA \
|
|
|
|
SDK WIKI_PUBLISHER
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
OPTIONS_DEFAULT= CUPS GNOME GNOMEVFS MMEDIA WIKI_PUBLISHER
|
2018-01-28 05:16:23 +01:00
|
|
|
CRASHDUMP_DESC= Enable crashdumps, sets WITH_DEBUG
|
2018-01-26 19:33:08 +01:00
|
|
|
DBGUTIL_DESC= Enable assertions, object counting. (non-production)
|
|
|
|
DEBUG_DESC= Compile with -O0, sets WITH_DEBUG
|
2015-05-05 22:38:33 +02:00
|
|
|
GNOME_DESC= GConf + screensaver presentation control via DBUS
|
|
|
|
GNOMEVFS_DESC= GNOME Virtual File System
|
|
|
|
MMEDIA_DESC= Multimedia backend for impress
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
SDK_DESC= Build and install software development kit
|
|
|
|
WIKI_PUBLISHER_DESC= Build and install Wiki Publisher extension
|
2013-08-27 08:27:24 +02:00
|
|
|
|
2018-01-26 19:33:08 +01:00
|
|
|
CRASHDUMP_CONFIGURE_ENABLE= crashdump
|
2018-01-28 05:16:23 +01:00
|
|
|
CRASHDUMP_VARS= WITH_DEBUG=yes
|
2018-01-26 19:33:08 +01:00
|
|
|
|
2015-03-17 16:04:43 +01:00
|
|
|
CUPS_CONFIGURE_ENABLE= cups
|
2016-04-01 16:00:51 +02:00
|
|
|
CUPS_LIB_DEPENDS= libcups.so:print/cups
|
2013-08-26 06:19:17 +02:00
|
|
|
|
2018-01-26 19:33:08 +01:00
|
|
|
DBGUTIL_CONFIGURE_ENABLE= dbgutil
|
|
|
|
|
|
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
|
2015-05-05 22:38:33 +02:00
|
|
|
GNOME_CONFIGURE_ENABLE= dbus gconf lockdown
|
2016-07-12 05:24:20 +02:00
|
|
|
GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \
|
|
|
|
libdbus-glib-1.so:devel/dbus-glib
|
2015-05-05 22:38:33 +02:00
|
|
|
GNOME_USE= GNOME=gconf2
|
2014-03-26 09:11:08 +01:00
|
|
|
|
2015-03-17 16:04:43 +01:00
|
|
|
GNOMEVFS_CONFIGURE_ENABLE= gnome-vfs
|
2015-05-05 22:38:33 +02:00
|
|
|
GNOMEVFS_CONFIGURE_OFF= --enable-gio
|
|
|
|
GNOMEVFS_CONFIGURE_ON= --disable-gio
|
|
|
|
GNOMEVFS_USE= GNOME=gnomevfs2
|
|
|
|
|
|
|
|
MMEDIA_CONFIGURE_ENABLE= gstreamer
|
2016-07-12 05:24:20 +02:00
|
|
|
MMEDIA_LIB_DEPENDS= libgstreamer-0.10.so:multimedia/gstreamer
|
2015-05-05 22:38:33 +02:00
|
|
|
MMEDIA_USE= GSTREAMER=yes
|
2014-08-05 18:34:47 +02:00
|
|
|
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
SDK_CONFIGURE_ENABLE= odk
|
2018-01-26 19:33:08 +01:00
|
|
|
SDK_DISTFILES= unowinreg.dll:unoreg
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
|
|
|
|
WIKI_PUBLISHER_CONFIGURE_ENABLE= wiki-publisher
|
2017-10-20 18:02:12 +02:00
|
|
|
WIKI_PUBLISHER_CONFIGURE_WITH= \
|
|
|
|
commons-codec-jar=${JAVALIBDIR}/commons-codec.jar \
|
|
|
|
commons-httpclient-jar=${JAVALIBDIR}/commons-httpclient.jar \
|
|
|
|
commons-logging-jar=${JAVALIBDIR}/commons-logging.jar
|
|
|
|
WIKI_PUBLISHER_JAR_DEPENDS= \
|
|
|
|
${JAVALIBDIR}/commons-codec.jar:java/jakarta-commons-codec \
|
|
|
|
${JAVALIBDIR}/commons-httpclient.jar:java/jakarta-commons-httpclient \
|
|
|
|
${JAVALIBDIR}/commons-logging.jar:java/jakarta-commons-logging
|
|
|
|
WIKI_PUBLISHER_BUILD_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS}
|
|
|
|
WIKI_PUBLISHER_RUN_DEPENDS= ${WIKI_PUBLISHER_JAR_DEPENDS}
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
WIKI_PUBLISHER_VARS= BUNDLED_EXTENSIONS+=swext/wiki-publisher.oxt
|
|
|
|
|
2016-05-01 07:26:21 +02:00
|
|
|
# Don't run gnome-post-icons until after post-install generates the plist
|
|
|
|
TARGET_ORDER_OVERRIDE= 710:gnome-post-icons
|
2016-03-20 22:42:08 +01:00
|
|
|
|
2014-03-26 09:11:08 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2013-08-26 06:19:17 +02:00
|
|
|
|
2018-01-26 19:33:08 +01:00
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= --enable-symbols
|
|
|
|
.endif
|
|
|
|
|
2014-08-05 18:34:47 +02:00
|
|
|
.include <${FILESDIR}/Makefile.localized>
|
|
|
|
|
2015-03-17 16:04:43 +01:00
|
|
|
.if ${COMPILER_TYPE} == clang
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2017-01-31 04:42:07 +01:00
|
|
|
. if ${COMPILER_VERSION} >= 40 && ${ARCH} == amd64
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-align16
|
|
|
|
. endif
|
2015-03-17 16:04:43 +01:00
|
|
|
.endif
|
2013-08-26 06:19:17 +02:00
|
|
|
|
|
|
|
.if ${ARCH} == amd64
|
|
|
|
FREEBSD_ENV_SET= FreeBSDAMDEnv.Set.sh
|
2015-09-07 17:19:18 +02:00
|
|
|
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86-64
|
2017-01-24 07:30:15 +01:00
|
|
|
.elif ${ARCH} == i386
|
2013-08-26 06:19:17 +02:00
|
|
|
FREEBSD_ENV_SET= FreeBSDX86Env.Set.sh
|
2015-09-07 17:19:18 +02:00
|
|
|
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_x86
|
2017-01-24 07:30:15 +01:00
|
|
|
.elif ${ARCH} == powerpc64
|
2017-01-24 03:09:10 +01:00
|
|
|
FREEBSD_ENV_SET= FreeBSDPPC64Env.Set.sh
|
2017-01-24 07:30:15 +01:00
|
|
|
PACKAGE_MIDDLE= ${PORTVERSION}_${OPSYS}_ppc64
|
2017-01-24 03:09:10 +01:00
|
|
|
.endif
|
2013-08-26 06:19:17 +02:00
|
|
|
PACKAGE_PREFIX= Apache_OpenOffice
|
2014-08-05 18:34:47 +02:00
|
|
|
|
2015-09-07 17:19:18 +02:00
|
|
|
LOCALIZED_LANG?= en-US
|
2013-08-26 06:19:17 +02:00
|
|
|
|
2018-01-19 20:40:46 +01:00
|
|
|
AOO_MAKE_ENV= ${MAKE_ENV:NCPPFLAGS=*:NCFLAGS=*:NCXXFLAGS=*}
|
2013-08-26 06:19:17 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-08-26 01:21:55 +02:00
|
|
|
WRKSUBDIR= ${WRKDIR}/aoo-${AOOVERSION}
|
|
|
|
WRKSRC?= ${WRKSUBDIR}/main
|
2013-08-26 06:19:17 +02:00
|
|
|
SUB_FILES= pkg-message
|
2015-09-24 23:07:18 +02:00
|
|
|
SUB_LIST= EXECBASE=${EXECBASE} AOOTAG=${AOOTAG} AOOUDIR=${AOOUDIR} \
|
|
|
|
PRINSTALLATION_BASEDIR=${PRINSTALLATION_BASEDIR}
|
2013-08-26 06:19:17 +02:00
|
|
|
|
2014-08-26 01:21:55 +02:00
|
|
|
CONFIGURE_ARGS+= \
|
2015-09-16 05:03:46 +02:00
|
|
|
--with-unix-wrapper=${EXECBASE} \
|
2017-01-31 04:42:07 +01:00
|
|
|
--with-alloc=system \
|
2017-10-20 18:02:12 +02:00
|
|
|
--with-ant-home=${LOCALBASE}/share/java/apache-ant \
|
2014-08-26 01:21:55 +02:00
|
|
|
--with-system-apache-commons=yes \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-commons-lang-jar=${JAVALIBDIR}/commons-lang.jar \
|
|
|
|
--with-system-apr \
|
|
|
|
--with-system-apr-util \
|
|
|
|
--with-system-beanshell \
|
|
|
|
--with-beanshell-jar=${JAVALIBDIR}/bsh.jar \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
--with-system-boost \
|
2014-08-05 18:34:47 +02:00
|
|
|
--enable-category-b \
|
|
|
|
--with-system-cairo --enable-cairo \
|
|
|
|
--with-system-coinmp \
|
|
|
|
--with-system-curl \
|
2015-03-27 21:22:37 +01:00
|
|
|
--with-system-dicts \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-epm=${LOCALBASE}/bin/epm \
|
|
|
|
--with-system-expat \
|
|
|
|
--disable-fetch-external \
|
|
|
|
--without-fonts \
|
|
|
|
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
|
|
|
|
--with-gperf=${LOCALBASE}/bin/gperf \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
--with-system-graphite \
|
2015-05-05 22:38:33 +02:00
|
|
|
--enable-gtk \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-system-hunspell \
|
2015-03-27 21:22:37 +01:00
|
|
|
--with-external-dict-dir=${LOCALBASE}/share/hunspell \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-system-hyphen \
|
2015-03-27 21:22:37 +01:00
|
|
|
--with-external-hyph-dir=${LOCALBASE}/share/hyphen \
|
2017-10-20 18:02:12 +02:00
|
|
|
--with-jdk-home=${JAVA_HOME} \
|
2014-08-26 01:21:55 +02:00
|
|
|
--with-system-jpeg \
|
2016-07-12 05:24:20 +02:00
|
|
|
--with-junit=${JAVALIBDIR}/junit.jar \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-system-libtextcat \
|
2015-05-05 22:38:33 +02:00
|
|
|
--disable-kde \
|
|
|
|
--disable-kde4 \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-system-libxml \
|
|
|
|
--with-system-libxslt \
|
|
|
|
--with-system-lucene \
|
|
|
|
--with-lucene-core-jar=${JAVALIBDIR}/lucene-core-3.6.2.jar \
|
|
|
|
--with-lucene-analyzers-jar=${JAVALIBDIR}/lucene-analyzers-3.6.2.jar \
|
2014-08-26 01:21:55 +02:00
|
|
|
--with-system-mythes \
|
2015-03-27 21:22:37 +01:00
|
|
|
--with-external-thes-dir=${LOCALBASE}/share/mythes \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-system-nss \
|
|
|
|
--enable-opengl \
|
|
|
|
--with-system-openssl \
|
|
|
|
--with-package-format="archive" \
|
|
|
|
--with-system-python \
|
|
|
|
--with-system-redland \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
--with-system-sane \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-system-serf \
|
|
|
|
--with-system-stdlibs \
|
|
|
|
--with-vendor="FreeBSD ports system" \
|
2017-01-31 04:42:07 +01:00
|
|
|
--with-build-version="PKGNAME: ${PKGNAME:S/,/@/g}" \
|
2014-08-05 18:34:47 +02:00
|
|
|
--enable-verbose \
|
|
|
|
--with-system-vigra \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
--with-system-xrender \
|
2014-08-05 18:34:47 +02:00
|
|
|
--with-system-zlib
|
2013-08-26 06:19:17 +02:00
|
|
|
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
.if defined (BUNDLED_EXTENSIONS)
|
|
|
|
CONFIGURE_ARGS+= --with-bundled-prereg-extensions="${BUNDLED_EXTENSIONS}"
|
|
|
|
.endif
|
2013-08-26 06:19:17 +02:00
|
|
|
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
CREATE_TREE= ${WRKSRC}/sysui/desktop/share/create_tree.sh
|
2013-08-26 06:19:17 +02:00
|
|
|
|
|
|
|
.include <${FILESDIR}/Makefile.knobs>
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
# really tweak, extremely useful when you build all localized language versions
|
|
|
|
# needed after when you build with ALL_LOCALIZED_LANGS.
|
|
|
|
.if defined(TWEAK_L10N)
|
2016-10-21 14:51:40 +02:00
|
|
|
${RM} ${WRKDIR}/.PLIST*
|
|
|
|
${RM} ${WRKDIR}/.install_done.*
|
|
|
|
${RM} ${WRKDIR}/.package_done.*
|
|
|
|
${RM} ${WRKDIR}/.extract_done.*
|
|
|
|
${RM} ${WRKDIR}/.patch_done.*
|
|
|
|
${RM} ${WRKDIR}/.configure_done.*
|
|
|
|
${RM} ${WRKDIR}/.build_done.*
|
2014-08-26 01:21:55 +02:00
|
|
|
${MKDIR} ${WRKDIR}
|
|
|
|
${TOUCH} ${EXTRACT_COOKIE}
|
|
|
|
${TOUCH} ${PATCH_COOKIE}
|
|
|
|
${TOUCH} ${CONFIGURE_COOKIE}
|
|
|
|
${TOUCH} ${BUILD_COOKIE}
|
2013-08-26 06:19:17 +02:00
|
|
|
.endif
|
|
|
|
|
2018-01-26 19:33:08 +01:00
|
|
|
do-extract-SDK-on:
|
|
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
|
|
|
|
|
2013-08-26 06:19:17 +02:00
|
|
|
post-extract:
|
2014-08-26 01:21:55 +02:00
|
|
|
${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC}
|
2018-01-26 19:33:08 +01:00
|
|
|
${CP} ${FILESDIR}/freebsd-aoo-intro.png \
|
|
|
|
${WRKSRC}/default_images/introabout/intro.png
|
|
|
|
${CP} ${FILESDIR}/freebsd-aoo-about.png \
|
|
|
|
${WRKSRC}/default_images/introabout/about.png
|
2016-10-21 14:51:40 +02:00
|
|
|
${RM} -r ${WRKSRC}/l10n
|
2015-09-07 17:19:18 +02:00
|
|
|
${LN} -sf ${UNZIP_CMD} ${WRKSRC}/solenv/bin/unzip
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \
|
|
|
|
-e '\|^For PostScript(R) AFM|,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE}
|
|
|
|
${SED} -e '\|^For main/unixODBC|,/^__/p' \
|
|
|
|
-e '\|^For main/connectivity|,/^__/p' \
|
|
|
|
-e '\|^For main/libtextcat/data|,/^__/p' \
|
|
|
|
-e '\|^For integration of HSQLDB|,/^__/p' \
|
|
|
|
-e '\|^For C preprocessor|,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE}
|
|
|
|
${SED} -e '\|^For ICC |,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE}
|
|
|
|
${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL}
|
|
|
|
${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU}
|
2017-10-20 18:02:12 +02:00
|
|
|
${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
-e '\|^For XSLT MathML Library|,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT}
|
2017-10-20 18:02:12 +02:00
|
|
|
${SED} -e '\|^For XMLSec Library|,/^__/p' \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
-e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT}
|
2017-10-20 18:02:12 +02:00
|
|
|
${SED} -e '\|^For Saxon|,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL10}
|
|
|
|
${SED} -e '\|^For Saxon|,$$d' \
|
|
|
|
${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL11}
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \
|
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL}
|
2017-10-20 18:02:12 +02:00
|
|
|
${SED} -e '\|^For main/twain|,/^__/p' \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN}
|
2017-10-20 18:02:12 +02:00
|
|
|
${SED} -e '\|^For main/MathMLDTD|,/^__/p' \
|
Various build updates from openoffice-devel (primarily r382334 and
r391960):
* patch-i118574 no longer seems necessary for a clean build
* Regnerate patch-i114430 with make makepatch
* Build using boost from ports instead of the bundled boost
* Build using silgraphite from ports instead of the bundled version
* Add missing LIB_DEPENDS that are brought in by other dependencies,
but are directly linked as requested by pkgconfig/*.pc
* Build using sane and xrender headers from ports instead of bundled
headers
* Update LICENSE* to account for bundled software
* Reformat pkg-message and mention that the scanner interface can be
enabled by installing sane-backends
* Pet portlint
Update patch-bridges*, patch-freebsd.mk, patch-jpeg, patch-nss, patch-sal,
patch-set_soenv.in, patch-unxfbsd.mk, and patch-webdav to the versions
accepted upstream, regenerated with make makepatch.
Regenerate patch-CVE-2015-1774 with make makepatch.
Approved by: mat (mentor, implicit)
2015-08-05 00:13:33 +02:00
|
|
|
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C}
|
2013-08-26 06:19:17 +02:00
|
|
|
|
|
|
|
post-patch:
|
2016-01-02 21:58:43 +01:00
|
|
|
${REINPLACE_CMD} -e "/^ICONVERSION/s/=.*/= '${AOOVERSION1}'/" \
|
2015-09-16 05:03:46 +02:00
|
|
|
${WRKSRC}/sysui/desktop/productversion.mk
|
2015-10-24 01:22:24 +02:00
|
|
|
${REINPLACE_CMD} -e "s|%%JAVA_HOME%%|${JAVA_HOME}|" \
|
|
|
|
${WRKSRC}/desktop/scripts/soffice.sh
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
${REINPLACE_CMD} -e '/^mkdir -p/,$$d' ${CREATE_TREE}
|
2015-09-07 17:19:18 +02:00
|
|
|
.if ${COMPILER_TYPE} == gcc
|
|
|
|
# g++49 -Os sometimes leaves inline class methods undefined,
|
|
|
|
# affects fmgridif.cxx and ColumnControl.cxx
|
|
|
|
# See: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009>
|
|
|
|
if [ ${CXX} = g++49 ]; then \
|
|
|
|
${REINPLACE_CMD} -e "s/ := -Os/ := -Os -fno-devirtualize -fno-devirtualize-speculatively/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk; \
|
|
|
|
${REINPLACE_CMD} -e "s/=-Os /=-Os -fno-devirtualize -fno-devirtualize-speculatively /" ${WRKSRC}/solenv/inc/unxfbsdi.mk; \
|
2015-02-15 23:30:45 +01:00
|
|
|
fi
|
2015-09-10 02:33:08 +02:00
|
|
|
.elif ${ARCH} == i386 && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36
|
2015-09-07 17:19:18 +02:00
|
|
|
# autodoc and uno (bridgetest) core dump when built with with -Os
|
2015-09-16 05:03:46 +02:00
|
|
|
# on i386, affects file.cxx and bridgetest.cxx (at least).
|
2015-09-07 17:19:18 +02:00
|
|
|
# Using -O2 optimiztion works, and -Os is essentially -O2 with out
|
|
|
|
# loop unrolling.
|
|
|
|
# Changing optimization in just unxfbsdi.mk is sufficient to get
|
|
|
|
# a successful build, but change it in both places to avoid the
|
2015-09-16 05:03:46 +02:00
|
|
|
# possibility of obscure runtime problems, which is likely
|
|
|
|
# since this seems to be a generic bug in code generation for
|
|
|
|
# exception handling.
|
|
|
|
# See: <https://llvm.org/bugs/show_bug.cgi?id=24792>
|
2015-09-07 17:19:18 +02:00
|
|
|
${REINPLACE_CMD} -e "s/=-Os /=-O2 -fno-unroll-loops /" ${WRKSRC}/solenv/inc/unxfbsdi.mk
|
|
|
|
${REINPLACE_CMD} -e "s/ := -Os/ := -O2 -fno-unroll-loops/" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk
|
2013-08-26 06:19:17 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-build:
|
2015-09-07 17:19:18 +02:00
|
|
|
${PRINTF} "[repositories]\nmain=active\nextras=active\n" > ${WRKSUBDIR}/source_config
|
2014-08-26 01:21:55 +02:00
|
|
|
cd ${WRKSRC} ; ./bootstrap
|
2015-05-15 01:07:17 +02:00
|
|
|
#
|
|
|
|
# numproc controls the number of parallel makes.
|
|
|
|
#
|
|
|
|
# dmproc is passed to dmake and controls parallelization at that
|
|
|
|
# level.
|
|
|
|
#
|
|
|
|
# dmproc > numproc seems to give shorter build times than
|
|
|
|
# numproc > dmproc.
|
|
|
|
#
|
|
|
|
# Select values for numproc and dmproc such that:
|
|
|
|
# * numproc*dmproc >= MAKE_JOBS_NUMBER
|
|
|
|
# * minimize numproc*dmproc-MAKE_JOBS_NUMBER
|
|
|
|
# * dmproc >= numproc
|
|
|
|
# * dmproc <= 2*numproc if MAKE_JOBS_NUMBER <= 3
|
|
|
|
#
|
2015-09-07 17:19:18 +02:00
|
|
|
if [ ${MAKE_JOBS_NUMBER} -le 3 ] ; then \
|
|
|
|
numproc=1 ; dmproc=${MAKE_JOBS_NUMBER} ; \
|
|
|
|
else \
|
|
|
|
a=1 ; \
|
|
|
|
while [ $$(( 2 * $${a} * $${a} )) -lt ${MAKE_JOBS_NUMBER} ]; do \
|
|
|
|
a=$$(( $${a} + 1 )) ; \
|
|
|
|
done ; \
|
|
|
|
b=$$(( $${a} + 1 )) ; \
|
|
|
|
ad=$$(( ( ${MAKE_JOBS_NUMBER} + $${a} - 1 ) / $${a} )) ; \
|
|
|
|
ap=$$(( $${a} * $${ad} )) ; \
|
|
|
|
bd=$$(( ( ${MAKE_JOBS_NUMBER} + $${b} - 1 ) / $${b} )) ; \
|
|
|
|
bp=$$(( $${b} * $${bd} )) ; \
|
|
|
|
if [ $${ap} -le $${bp} ]; then \
|
|
|
|
numproc=$${a} ; dmproc=$${ad} ; \
|
2015-05-15 01:07:17 +02:00
|
|
|
else \
|
2015-09-07 17:19:18 +02:00
|
|
|
numproc=$${b} ; dmproc=$${bd} ; \
|
2015-05-15 01:07:17 +02:00
|
|
|
fi ; \
|
2015-09-07 17:19:18 +02:00
|
|
|
fi ; \
|
|
|
|
cd ${WRKSRC}/instsetoo_native ; \
|
2018-01-19 20:40:46 +01:00
|
|
|
export ${AOO_MAKE_ENV} ; \
|
2016-07-12 05:24:20 +02:00
|
|
|
. ../${FREEBSD_ENV_SET} ; \
|
2018-01-18 10:43:38 +01:00
|
|
|
build.pl --all -P$${numproc} -- -P$${dmproc}
|
2013-08-26 06:19:17 +02:00
|
|
|
|
|
|
|
do-install:
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PRINSTALLATION_BASEDIR} \
|
|
|
|
${STAGEDIR}${PREFIX}/share/mime/packages
|
2018-01-26 19:33:08 +01:00
|
|
|
@cd ${WRKSRC} ; \
|
|
|
|
. ${FREEBSD_ENV_SET} ; \
|
|
|
|
cd instsetoo_native/$${INPATH}/Apache_OpenOffice/archive/install/${LOCALIZED_LANG}/ ; \
|
2015-09-16 05:03:46 +02:00
|
|
|
for i in *.tar.?z ; do \
|
|
|
|
${ECHO_CMD} "extracting $$i" ; \
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
${TAR} -s '|./[^/]*/||' -xz -f $$i \
|
2015-09-16 05:03:46 +02:00
|
|
|
-C ${STAGEDIR}${PRINSTALLATION_BASEDIR} ; \
|
|
|
|
done
|
2015-09-24 23:07:18 +02:00
|
|
|
${FIND} ${STAGEDIR}${PRINSTALLATION_BASEDIR} -type d -exec ${CHMOD} 755 {} \;
|
2015-09-16 05:03:46 +02:00
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-e '/^UserInstallation/s/=.*/=$$SYSUSERCONFIG\/${AOOUDIR}/' \
|
|
|
|
${STAGEDIR}${OOPATH}/program/bootstraprc
|
|
|
|
@${RM} ${STAGEDIR}${OOPATH}/program/bootstraprc.bak
|
|
|
|
@${ECHO_CMD} "adding wrapper scripts";
|
|
|
|
@${CP} ${FILESDIR}/openoffice-wrapper ${WRKDIR}/
|
|
|
|
@${REINPLACE_CMD} -e 's#%%OOPATH%%#${OOPATH}#g' \
|
2015-09-10 02:33:08 +02:00
|
|
|
-e 's#%%EXECBASE%%#${EXECBASE}#g' \
|
2013-08-26 06:19:17 +02:00
|
|
|
${WRKDIR}/openoffice-wrapper
|
2014-08-26 01:21:55 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/openoffice-wrapper \
|
2014-03-26 09:11:08 +01:00
|
|
|
${STAGEDIR}${PREFIX}/bin/${EXECBASE}
|
2015-09-26 09:40:47 +02:00
|
|
|
@cd ${STAGEDIR}${PREFIX}/bin; for i in printeradmin sbase scalc sdraw \
|
|
|
|
simpress smath spadmin swriter ; do \
|
2015-09-16 05:03:46 +02:00
|
|
|
${LN} -f ${EXECBASE} ${EXECBASE}-$${i} ; \
|
2013-08-26 06:19:17 +02:00
|
|
|
done
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
@${ECHO_CMD} "adding desktop support"
|
2018-01-26 19:33:08 +01:00
|
|
|
@cd ${WRKSRC} ; \
|
|
|
|
. ${FREEBSD_ENV_SET} ; \
|
|
|
|
cd sysui/$${INPATH}/misc/openoffice ; \
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
DESTDIR=${STAGEDIR} \
|
|
|
|
GNOMEDIR=${PREFIX} \
|
|
|
|
ICON_PREFIX=openoffice${AOOVERSION1} \
|
|
|
|
ICON_SOURCE_DIR=${WRKSRC}/sysui/desktop/icons \
|
|
|
|
ICON_THEMES="hicolor/??x??" \
|
|
|
|
KDEMAINDIR=${PREFIX} \
|
|
|
|
PREFIX=openoffice${AOOVERSION1} \
|
|
|
|
${SH} ${CREATE_TREE} ; \
|
|
|
|
${INSTALL_DATA} apacheopenoffice.xml \
|
|
|
|
${STAGEDIR}/${PREFIX}/share/mime/packages
|
2018-06-12 05:55:02 +02:00
|
|
|
@cd ${STAGEDIR}${DESKTOPDIR}; for i in base calc draw impress \
|
|
|
|
javafilter math printeradmin qstart startcenter writer ; do \
|
|
|
|
${LN} -sf ${XDGREL}/$${i}.desktop ${EXECBASE}-$${i}.desktop ; \
|
|
|
|
done
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
|
|
|
|
do-install-SDK-on:
|
|
|
|
${TAR} -s '|./[^/]*/||' -xz -C ${STAGEDIR}${PRINSTALLATION_BASEDIR} \
|
2017-01-24 03:09:10 +01:00
|
|
|
-f ${WRKSRC}/instsetoo_native/unxfbsd*.pro/Apache_OpenOffice_SDK/archive/install/${LOCALIZED_LANG}/*.tar.gz
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
@f=${STAGEDIR}${OOPATH}/sdk/bin/unoapploader ; \
|
|
|
|
${CHMOD} 644 $${f} ; ${STRIP_CMD} $${f} ; ${CHMOD} 444 $${f}
|
|
|
|
|
|
|
|
post-install:
|
2015-09-16 05:03:46 +02:00
|
|
|
@${ECHO_CMD} "generating plist";
|
|
|
|
@cd ${STAGEDIR}${PREFIX} ; (\
|
|
|
|
${FIND} -s bin -name "${EXECBASE}*" ; \
|
Upgrade to Apache OpenOffice 4.1.2
* Release Notes:
<https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.2+Release+Notes
>
* Bug Fixes: <http://s.apache.org/9uI>
* Improvements / Enhancements
o Several distinct enhancements were applied to the WebDAV
management and file locking: OpenOffice is now able to properly
interact with Microsoft Sharepoint, enabling a more productive
usage in corporate-level environments. These enhancements were
funded, and contributed upstream, by the Emilia-Romagna regional
administration (Italy), where OpenOffice was adopted a few years
ago.
o The PDF export dialog was redesigned for better usability on small
laptop screens.
o Underlying libraries for the solver and digital signing
functionality have been updated, for better performance and
increased security.
o OpenOffice 4.1.2 fixes security vulnerabilities. See:
<http://www.openoffice.org/security/bulletin.html>.
Note: CVE-2015-1774 was previously fixed in the FreeBSD port.
* Removed/Retired Features
o Support for the ancient .hwp file format was retired. This was
a rarely used format created with versions of the program named
"Hangul Word Processor" prior to 1997; therefore impact on users
is expected to be minimal. The few users who have files in the
.hwp format should convert them to ODF using Apache OpenOffice
4.1.1 before upgrading.
Nuke the patches or the parts of patches that have been committed
upstream.
Add an option to build and install the SDK and disable it by default.
The port has been building it all along, but not installing it. We
save only a small amount of time by not building it, but installing it
would require about 70 MB of extra space space. The FreeBSD port has
been patched to allow building the SDK with OpenJDK8.
Add an option to build and install the Wiki Publisher extension. If
it is enabled, it is now handled as an integrated extension, so the
user does not have manually use the extension manager to track it down
and install it.
Tweak an existing script to install the icons instead of using a bunch
of complicated code in the Makefile. Add USES=shared-mime-info.
Nuke some unused targets in Makefiles.others. The SDK is now explicitly
handled as an option, and the Uno Runtime Environment hasn't had the
capability for separate installation in quite some time.
Nuke an extraneous "-" from the tar command when unpacking the
installation archive during staging.
2015-10-29 17:29:50 +01:00
|
|
|
${FIND} -s ${INSTALLATION_BASEDIR} share/applications \
|
|
|
|
share/application-registry share/icons \
|
|
|
|
share/mime-info share/mime share/mimelnk \! -type d ; \
|
2015-09-16 05:03:46 +02:00
|
|
|
${FIND} ${INSTALLATION_BASEDIR} -type d -empty | ${SORT} -r | \
|
|
|
|
${SED} -e 's/^/@dir /' ; \
|
|
|
|
) >> ${TMPPLIST}
|
2013-08-26 06:19:17 +02:00
|
|
|
|
|
|
|
.include <${FILESDIR}/Makefile.others>
|
2014-08-05 18:34:47 +02:00
|
|
|
|
2013-08-26 06:19:17 +02:00
|
|
|
.include <bsd.port.post.mk>
|