[Bug 224288] editors/libreoffice: update to 6.0.0 (BETA, WIP)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 12 17:49:52 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224288

            Bug ID: 224288
           Summary: editors/libreoffice: update to 6.0.0 (BETA, WIP)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: office at FreeBSD.org
          Reporter: greg at unrelenting.technology
             Flags: maintainer-feedback?(office at FreeBSD.org)
          Assignee: office at FreeBSD.org

Created attachment 188766
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188766&action=edit
libreoffice6.patch

Hi. This is a work-in-progress update of the LibreOffice port to version 6.0,
which is now in beta.

Installation/packaging doesn't work right now, I'm seeing weird C parsing
errors:

/usr/ports/editors/libreoffice/work/libreoffice-6.0.0.0.beta2/bin/distro-install-desktop-integration 
/usr/include/signal.h:90: syntax error, unexpected RESTRICT, expecting ')' or
',' in 'int sigwait(const sigset_t * _Nonnull restrict,' at 'restrict'    
/usr/include/signal.h:91: syntax error, unexpected ')', expecting identifier or
'(' or '*' or ';' in '     int * _Nonnull restrict);' at ')'                 
/usr/include/signal.h:110: syntax error, unexpected identifier, expecting ')'
in 'void (* _Nullable sigset(int, void (* _Nullable)(int)))(int);' at 'sigset'
/usr/include/signal.h:110: syntax error, unexpected ')', expecting ',' or ';'
in 'void (* _Nullable sigset(int, void (* _Nullable)(int)))(int);' at ')'      
/usr/include/pthread.h:154: syntax error, unexpected RESTRICT, expecting ')' or
',' in '      const pthread_attr_t * _Nonnull restrict,' at 'restrict'

But I can run it directly from the stage directory like this:

$ work/stage/usr/local/lib/libreoffice/program/soffice --writer

And it works — actually, it works natively under Wayland! :)

Can someone help me with the install problem? I'm not sure how this error even
happens, just running the C preprocessor on these headers of course works fine…

Notes:

- pdfium is disabled. We have patches for that in www/chromium but I'm not sure
how to best apply them (pdfium is extracted in the build process, after the
normal patch step);
- I put system cppunit in there, but upgrading the system cppunit (bug 224286)
would break other ports, since cppunit dropped the cppunit-config binary. Might
make sense to use bundled cppunit here, but I'll look into unbreaking these
ports;
- GTK3 is no longer experimental. Ubuntu has been shipping GTK3 LibreOffice
since 16.10. I made it default;
- enabled NSS by default in the xmlsec port (bug 224282), using system NSS.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list