editors/openoffice-3 fails in vcl with graphics/silgraphite installed

Jan Henrik Sylvester me at janh.de
Mon Aug 5 21:16:56 UTC 2013


On 05/15/2013 12:48, Jan Henrik Sylvester wrote:
> On my latest attempt to build editors/openoffice-3 on 9.1-RELEASE/amd64,
> it fails with the following error:
> 
> Entering /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/odk/util
> 
> In file included from /usr/local/include/graphite/GrClient.h:31,
>                  from
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_layout.hxx:40,
>                  from
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/pspgraphics.cxx:52:
> /usr/local/include/graphite/GrFeature.h:110: error: 'wstring' in
> namespace '_STL' does not name a type
> /usr/local/include/graphite/GrFeature.h:111: error: 'wstring' in
> namespace '_STL' does not name a type
> /usr/local/include/graphite/GrFeature.h:113: error: 'wstring' in
> namespace '_STL' does not name a type
> In file included from
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_layout.hxx:41,
>                  from
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/pspgraphics.cxx:52:
> /usr/local/include/graphite/Font.h:392: error: '_STL::wstring' has not
> been declared
> cd ../unxfbsdx.pro/bin/odkcommon && zip -urq ../odkcommon.zip . ||
> ret=$?; if [[ "$ret" != "12" && "$ret" != "1" ]] ; then exit $ret  ; fi
> && echo "Nothing to update for zip"
> /usr/bin/perl -w
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/solenv/bin/cleanzip.pl
> ../unxfbsdx.pro/bin/odkcommon.zip
> In file included from
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_serverfont.hxx:32,
>                  from
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/unx/generic/gdi/pspgraphics.cxx:53:
> /usr/ports/editors/openoffice-3/work/aoo-3.4.1/main/vcl/inc/graphite_adaptors.hxx:118:
> error: 'ext_std::wstring' has not been declared
> 
> My last successful build was on May-5. I do not know what changed in the
> meantime. Yesterday, I deleted all packages to swap from the unofficial
> TeX Live to the new official port. Hence, all packages on my system are
> fresh.

I figured out that the change to the official TeX Live really is the
problem, since print/texlive-base pulled in graphics/silgraphite.

With graphics/silgraphite installed, aoo configure correctly determines
that the internal graphite should still be used, but the vlc module uses
graphite from ${LOCALBASE} anyhow.

Of course, the hack in editors/openoffice-3/files/patch-graphite is not
applied to the graphite header in ${LOCALBASE} and the problem that was
supposed to be fixed by that hack is back.

Unfortunately, I do not know how to fix the vlc module to really use the
internal graphite.

Cheers,
Jan Henrik


More information about the freebsd-office mailing list