This makes the bundled bridgetest_server/bridgetest_client working.
Recently the size of struct __cxa_exception changed on 32 bit
architectures. A patch committed in 35a5054819 lets libreoffice
detect this by comparing a field of the struct against a known value.
In the bridgetest it turns out this value isn't always the same, so use
a different field instead.
PR: 263596
- convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert ports tree to make use of USES=gstreamer
- remove duplicate dependency lines from the tree
Differential Revision: https://reviews.freebsd.org/D35097
Patch libreoffice to replace __cxa_get_globals()->caughtExceptions,
which is a pointer to the start of a struct __cxa_exception, with
__cxa_current_primary_exception(), which is a pointer to the end. This
allows struct __cxa_exception to be extended at the start as was
recently done in FreeBSD main and stable/13 on 64-bit architectures.
Recently on FreeBSD main and stable/13 __attribute__((__aligned__)) was
added to struct _Unwind_Exception which changes its size on 32-bit
architectures, and that of __cxa_exception as well. Patch libreoffice
to detect this so packages built on 13.0 still work on 13.1.
Change the LIB_DEPENDS on libunwind to a BUILD_DEPENDS because we only
need unwind.h (for FreeBSD 13.0 and older where that header is hidden
in /usr/include/c++/v1).
PR: 263596
Approved by: office (fluffy)
LibreOffice has special detection for the change in alignment and size
of struct cxa_exception, when using libc++abi. However, this updated
alignment also applies to libunwind and upstream libcxxrt, and will soon
apply to our libcxxrt too.
Enable the special detection unconditionally for x86_64 and aarch64, so
libreoffice packages built on 13.0-R (with the old alignment) will
seamlessly work on 13.1-R (which will have the new alignment).
PR: 262008
When libvcllo.so is linked together with libpdfiumlo.so, it also needs
libopenjp2.so from graphics/openjpeg, since pdfium depends on that.
Building with LTO exposes this as an error, complaining about undefined
references to openjpeg library functions.
While here, add py310 to allowed versions to the build
PR: 262008
Submitted by: Florian Walpen <dev@submerge.ch>
Sponsored by: Netzkommune GmbH
It has change tracking enhancements, better autocompletion in Calc,
and many compatibility and performance improvements to import/export filters.
Since this release, FreeBSD port of LibreOffice include PDFium library.
Learn more about LibreOffice 7.3: https://blog.documentfoundation.org/blog/2022/02/02/libreoffice-73-community/
Special thanks to: mikael (for pthread issue hunting)
Sponsored by: Netzkommune, GmbH.
Release 21.12.0:
core:
* Add API to add images
* CairoOutputDev: Fix de-duping of Flate images
* Fix crash on broken files when using non-default ENABLE_ZLIB_UNCOMPRESS. Issue #393
* Minor code improvements
glib:
* Add API for validation of signatures
* Add API to read/save to file descriptor
utils:
* pdftohtml: Reduce sensitivity of duplicate detection. Issue #1117
build system:
* Increase C++ standard to 17
Exp-run by: antoine
PR: 260344
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
- Build was broken by the update of freetype2 to 2.11. This was not
caught by the exp-run as libreoffice was updated after the exp-run
had been done, but prior to the commit.
Obtained from: 1db0f16aa0
PR: 251512
Reported by: jrm
LibreOffice 7.2.1 is here, with many bugfixes and compatibility improvements.
Learn more about it: https://blog.documentfoundation.org/blog/2021/09/16/libreoffice-7-2-1-community/
* Add OPTION to build GTK4 VCL
* If both GTK3 and KF5 enabled, add GTK3_KDE5 VCL to build
* Force RUN_DEPENDS on JDK if JAVA selected to run extensions
Release 21.09.0:
core:
* Splash: Massive speed improvement on files that use lots of save/restore (q/Q) operators
* Correct decoding of signature properties Reason & Location when they are Unicode
* Fix issues with malformed files
* MSVC build fixes
build system:
* Call cmake_minium_required() before project()
* Always append to CMAKE_{C,CXX}_FLAGS_${CMAKE_BUILD_TYPE}
* correctly forward user-provided flags to try_compile()
Exp-run by: antoine
PR: 258206
That flag is necessary to install extensions, and being able to install
extensions for advanced/specialized workflows is a major reason why
someone would use LibreOffice suite.
Bump PORTREVISION to force rebuild package with new defaults
Release 21.08.0:
core:
* Add API to allow addition and modification of outlines into a PDF
* Use additional samples to test for constant parts of an axial gradient
* forms: Create fallback fonts for some well known font names
* Support reading the PDF Version from the Catalog
* Fix XRef::copy when there are modified objects
* Take into account that Date string may be in unicode
* JBIG2Stream: Fix regression in "Do not consider a size-0 to be an error"
* Replace a local bubble sort implementation by std::sort
* Fix issues with malformed files
build system:
* Better error message when libjpeg is not found
* Better error messages when libopenjpeg2 is not found
qt5/qt6:
* Document that a document has to outlive its pages
* Make getPdfVersion return a dedicated version object
glib:
* mimick TextSelectionDumper logic change for spaceAfter
Exp-run by: antoine
PR: 257539
In the earlier net/openldap24-server commit, only those which depend on
net/openldap24-sasl-client were bumped. Bumping all dependent port that
didn't get a bump to force a rebuild of these packages.
Suggested by: kib
Release 21.07.0:
core:
* JBIG2Stream: Do not consider a size-0 to be an error. Issue #535
* PSOutputDev: fix off-by-one error for image masking in L1/L2 output. Issue #1088
* CairoOutputDev: Fix memory leak on broken files
* Minor code improvements
build system:
* set C standard to 11 without extensions
Exp-run by: antoine
PR: 256981
Release 21.06.0:
core:
* Fix rendering of some extended latin1 characters in annotations. Issue #1070
* Support some not so well formed documents with password. Issue #1083
* Add API to get notified if the xref is reconstructed
* Add somewhat fancier left/right signature visual representation
* Fix crashes in malformed files
* Minor code improvements
qt6:
* Change some functions to return std::unique_ptr
qt5/qt6:
* Add API to get notified if the xref is reconstructed
* Add somewhat fancier left/right signature visual representation
* Don't assert when trying to invert singular matrices
build system:
* make boost opt-out if building splash
- Add dependency on boost to enable the splash backend.
PR: 256370
Exp-run by: antoine