Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 17:49:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 224288] editors/libreoffice: update to 6.0.0 (BETA, WIP)
Message-ID:  <bug-224288-25061-F4K29vGxhX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224288-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224288-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg V <greg@unrelenting.technology> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to office@FreeBSD.=
org:
Bug 224288: editors/libreoffice: update to 6.0.0 (BETA, WIP)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224288



--- Description ---
Created attachment 188766
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188766&action=
=3Dedit
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-in=
stal
l-desktop-integration=20
/usr/include/signal.h:90: syntax error, unexpected RESTRICT, expecting ')' =
or
',' in 'int sigwait(const sigset_t * _Nonnull restrict,' at 'restrict'=09=
=20=20
/usr/include/signal.h:91: syntax error, unexpected ')', expecting identifie=
r or
'(' or '*' or ';' in '	   int * _Nonnull restrict);' at ')'=09=09=20=20=20=
=20=20
/usr/include/signal.h:110: syntax error, unexpected identifier, expecting '=
)'
in 'void (* _Nullable sigset(int, void (* _Nullable)(int)))(int);' at 'sigs=
et'
/usr/include/signal.h:110: syntax error, unexpected ')', expecting ',' or '=
;'
in 'void (* _Nullable sigset(int, void (* _Nullable)(int)))(int);' at ')'=
=20=20=20=20=20=20
/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 =E2=80=94 actually, it works natively under Wayland! :)

Can someone help me with the install problem? I'm not sure how this error e=
ven
happens, just running the C preprocessor on these headers of course works f=
ine=E2=80=A6

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 2242=
86)
would break other ports, since cppunit dropped the cppunit-config binary. M=
ight
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224288-25061-F4K29vGxhX>