notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
non port: editors/openoffice-devel/files/

Number of commits found: 10

Wednesday, 8 Mar 2023
20:23 Don Lewis (truckman) search for other commits by this committer
editors/openoffice-devel: Upgrade and unbreak

Upgrade openoffice-devel to a more recent snapshot and unbreak. Recent
versions of clang do not like building system boost in -std=gnu++98 mode.

Add USE_GNOME=gdkpixbuf2xlib which now seems to be necessary.

Simplify the port by always using the bundled vigra and boost rather
than making this compiler version dependent.  The bundled versions
work (better) with modern clang in -std=gnu++98 mode.  Also, an
upcoming version of boost will require c++14 mode.  The bundled
boost needs a minor patch to work with modern clang in this mode.

Add upgrade advice to pkg-message.

Security:	6678211c-bd47-11ed-beb0-1c1b0d9ea7e6
commit hash: 0a5ce79fad78c4d61921a310d21d6f8db8ffeb10 commit hash: 0a5ce79fad78c4d61921a310d21d6f8db8ffeb10 commit hash: 0a5ce79fad78c4d61921a310d21d6f8db8ffeb10 commit hash: 0a5ce79fad78c4d61921a310d21d6f8db8ffeb10 0a5ce79
Tuesday, 13 Aug 2019
16:03 mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories e-g)
Original commitRevision:508837 
Tuesday, 31 Jan 2017
03:25 truckman search for other commits by this committer
Upgrade to upstream svn revision r1780246.  This incorporates the
pointer comparision fixes required to compile with clang 4.0, so
delete patch-clang40.  Also,
patch-lingucomponent_source_spellcheck_spell_sspellimp.cxx has been
incorporated upstream.

On amd64, clang++ 4.0 uses the MOVAPS SSE instruction to initialize
sufficiently large objects returned by the "new" operator.  This
requires that the object have 16-byte alignment.  The FreeBSD
malloc() implementation does the correct thing here, but OpenOffice
has a couple of internal memory allocator implementations that only
align to 8-byte boundaries at most.  In addition OpenOffice overrides
the new operator to interpose a couple of layers of wrappers.  If
the --enable-debug option is passed to configure, the wrapper adds
8 to the size passed to the allocator and adds an 8 byte offset to
the pointer returned by the allocator to make room for a signature
that it adds to the beginning of the memory block (the signature
is validated and the inverse transformation is done when the memory
is freed).  This breaks the proper alignment done by the mamory
allocator.  Fix these problems by adding an EXTRA_PATCH that teaches
the internal OpenOffice memory allocators to do 16-byte alignment
and to use a 16-byte offset in the "new" wrapper, and apply this
patch on amd64 if clang 4.0 is the system compiler.

Pass the --with-alloc=system flag to configure so that the libc
version of malloc() is used instead of one of the internal memory
allocator implementations.

Fix a few mis-sorts in BUILD_DEPENDS and don't list www/p5-libwww

Fix a sporadic failure in the clear_001 QA test that occasionally
breaks the build.  The nominal mutex hold time is 5 seconds, but
because it is only checked one per second, the actual time is more
likely to be around 6 seconds.  When the before time value is
subtracted from the after time value, the result might be 7 whole
seconds and a large negative number of nanoseconds.  Since the
pass/fail check only looks at the difference in the seconds fields,
it will fail the "< 7" assertion.  Relax the assertion to "<= 7"
as a quick fix.

Add PowerPC64 support.  [1]

Add a section to pkg-message mentioning that spell check dictionaries
for the desired languages should be installed.  [2]

Various fixes from PR 216245:   [3]
 * Add option for mysql driver, default off.

 * Poppler is only needed for the optional PDF Import extension
   (and we only need poppler and not poppler-glib).

 * The --without-stlport configure flag is not needed.

 * Pass the -with-build-version flag to configure (but use ${PKGNAME}
   for completeness instead of just  ${PORTNAME}-${PORTVERSION})

 * Tweak a comment in the Makefile.

PR:		215130, 212103, 216245
Submitted by:	Curtis Hamilton <> [1]
Submitted by:	Arrigo Marchiori <ardovm AT> [2]
Submitted by:	pfg [3]
Original commitRevision:432895 
Friday, 6 Nov 2015
15:50 truckman search for other commits by this committer
Switch back to tracking the upstream trunk instead of OpenOffice 4.1.2
release candidates.  Upgrade to SVN revision r1712473.

Add an option to build and install the PDF Import extension and enable
it by default.

Patch the extensions.lst file so that it points to the locations
of the extension files rather than passing that information as
a configure option.  Add a patch to enable enable the use of file://
in extensions.lst for local integrated extensions as is documented in
the comments in this file.

Nuke the patches that have been committed upstream.

Don't try to run the script with "sh -c" since this
script is not marked executable.

MFH:		2015Q4
Original commitRevision:400938 
Saturday, 24 Oct 2015
01:00 truckman search for other commits by this committer
Upgrade to OpenOffice 4.1.2-RC3.

Explicity set $JAVA_HOME in startup wrapper to the OpenJDK version used
for the build to avoid any potential issues with relying on javavmwrapper
parsing to determine this at runtime.

Fix an botch in the FreeBSD-specific $LD_LIBRARY_PATH code in the
startup wrapper.

Java is needed at runtime, so flag it as a runtime dependency.

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 we save about
70 MB of space when the port is installed.

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.

Nuke some unused targets in Makefiles.others.  The SDK is now explicitly
handled, 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.
Original commitRevision:400085 
Saturday, 26 Sep 2015
07:40 truckman search for other commits by this committer
Add Caladea and Carlito fonts.  They are metrically equivalent to some
Microsoft fonts and the proper definitions within OpenOffice have been
added so that they are recognized as such. [1]

The Linux ports handle the mapping from the printeradmin command to the
spadmin executable in the shell wrapper.  Do the same in the FreeBSD
port rather than munging the printeradmin.desktop file.  Retain the
spadmin link to the wrapper for backwards compatability.

The setofficelang command went away a long time ago.  Remove it from
the shell wrapper and remove the link.

Exec the OpenOffice executables from the wrapper so that the shell for
the wrapper doesn't hang around as an extra process until OpenOffice

Nuke an extraneous shell continuation in the Makefile.

Suggested by:	pfg [1]
Original commitRevision:397932 
Thursday, 24 Sep 2015
21:06 truckman search for other commits by this committer
Update to svn revsion r1704217.

Fix a regression in directory permissions and add a missing directory used
for shared extensions.  This combination of issues could cause incomplete
cleanup on pkg removal if OpenOffice had been run by a user in the wheel

Add a note about the location of the Wiki Publisher extension to
Original commitRevision:397760 
Monday, 13 Jul 2015
21:03 truckman search for other commits by this committer
Upgrade to upstream SVN revision 1689959.

patch-jpeg and patch-nss have been upstreamed and are no longer needed.

patch-i118574 no longer seems necessary for a clean build.

Regnerate patch-i114430 with make makepatch.

Always build using boost from ports instead of the bundled boost, updating
the BUILD_DEPENDS with the header that configure looks for.

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.

Reviewed by:	pfg
Approved by:	mat (mentor)
Differential Revision:
Original commitRevision:391960 
Thursday, 26 Mar 2015
18:03 truckman search for other commits by this committer
Upgrade to apache-openoffice SVN revision 1667428.

Word around broken build on FreeBSD 11.0-CURRENT i386, which appears
to be a code generation bug in clang 3.6 when using -Os optimization.

Build using the ports version of graphics/silgraphite instead of
building an internal copy.

When building with clang, use the ports version of devel/boost-libs
instead of an internal copy.

Use the dictionaries already installed by ports.

Update the patch-bridges and patch-*.mk patches to versions that
will be sent upstream.  The latter are tuned for clang to use as
is, with only some minor additional tweaks needed for gcc.

Nuke patch-webdav because it has been incorporated upstream.

Wordsmith pkg-message.

Various Makefile cleanups.

Differential Revision:
Reviewed by:	pfg
Approved by:	mat (mentor)
Original commitRevision:382334 
Tuesday, 17 Mar 2015
15:04 truckman search for other commits by this committer
Unbreak editors/openoffice-4 and editors/openoffice-devel on systems
where clang is the base compiler.  The issue was that these ports
would only successfully build with gcc and libstdc++, so they
specified USE_GCC=yes, but they linked to other C++ ports that were
compiled with clang, which brought in libc++.  The conflict between
libstdc++ and libc++ caused the application to crash whenever an
operation that popped up a dialog box was attempted.  Thanks to
dim@ for helping me track this down.  The fix is to patch various
bits of the openoffice souce to allow it to be built with clang
on systems where the C++ dependencies are also compiled with clang. [1]

Add a CUPS option so that CUPS can be disabled [2].

Register print/cups-client as a LIB_DEPENDS when CUPS is enabled.

pkg-message claims that user settings are stored in
~/.openoffice,org4, whereas all other platforms seem to use
~/ (or equivalent), and both openoffice-4 and
openoffice-devel actually use ~/ The
addition of -devel to the location happened with r325370.
The / appears to have been introduced in r297259. Change the
location match other platforms. Introduce a new variable
${AOOUDIR} so that the actual location and pkg-message stay in

Rename ${OOOTAG} to ${AOOTAG} and restore its value so that it
can once again be substituted into pkg-message. It has not
been set since r296269.

Various Makefile cleanups:
  * Gather and sort USE_*

  * Simplify use of ${REINPLACE_CMD}

  * --x-includes and --x-libraries are automatically passed to configure,
    which ignores them

  * Get rid of unnecessary include of

PR:		188088 [1]
PR:		198458 [2]
Differential Revision:
Reviewed by:	pfg
Approved by:	mat (mentor)
Original commitRevision:381494 

Number of commits found: 10