Gwyn Ciesla wrote:
> libreoffice is done.
> inkscape, sadly, uses the unstable API and fails:
> In file included from /usr/include/poppler/Object.h:44,
>                  from /usr/include/poppler/GfxState.h:41,
>                  from /usr/include/poppler/Gfx.h:40,
>                  from 
> /builddir/build/BUILD/inkscape-1.3.2-build/inkscape-1.3.2_2023-11-25_091e20ef0f/src/extension/internal/pdfinput/svg-builder.h:30,
>                  from 
> /builddir/build/BUILD/inkscape-1.3.2-build/inkscape-1.3.2_2023-11-25_091e20ef0f/src/extension/internal/pdfinput/pdf-input.h:25,
>                  from 
> /builddir/build/BUILD/inkscape-1.3.2-build/inkscape-1.3.2_2023-11-25_091e20ef0f/src/extension/init.cpp:41:
> /usr/include/poppler/goo/GooString.h:241:24: error: ‘starts_with’ has not 
> been declared in ‘std::string’
>   241 |     using std::string::starts_with;
>       |                        ^~~~~~~~~~~
> /usr/include/poppler/goo/GooString.h:244:24: error: ‘ends_with’ has not been 
> declared in ‘std::string’
>   244 |     using std::string::ends_with;
>       |                        ^~~~~~~~~
> I'll dig further unless someone else has seen this before.

Both std::string::starts_with() and std::string::ends_with() were added in 
C++20, so if this header is being included in a build using an older C++ 
standard, these two functions won't be defined by the string header.

> -- 
> Gwyn Ciesla
> she/her/hers
> ------------------------------------------------ 
> in your fear, seek only peace 
> in your fear, seek only love
> -d. bowie
> Sent with Proton Mail secure email.
> On Tuesday, August 6th, 2024 at 10:12 AM, Marek Kasik mka...@redhat.com wrote:
> > Hi,
> > > I've prepared rebase of poppler to 24.08.0, which was released last
> > week, in the side tag "f41-build-side-93673". I'm asking you to build
> > your dependent packages in it and I will merge it to the main buildroot
> > at Monday (12th of August) just before the branching.
> > > There are several API changes and soname bump of the base library
> > libpoppler.so.* and also some changes in CPP frontend which needed bump
> > of libpoppler-cpp.so.* too.
> > > Packages which need to be rebuilt:
> > boomaga
> > calligra
> > deepin-file-manager
> > docparser
> > efl
> > extractpdfmark
> > gambas3
> > gdal
> > gdcm
> > inkscape
> > kf5-kitinerary
> > kitinerary
> > libcupsfilters
> > libreoffice
> > pdf2djvu
> > pdfgrep
> > R-pdftools
> > scribus
> > > If your package still uses the unstable API (headers from
> > poppler-devel), could you consider to change it to use a stable API in
> > the future (glib, qt5, C++)? It would mean less work for you and I would
> > be able to disable the unstable API.
> > > Regards
> > Marek
> > > --
> > _______________________________________________
> > devel mailing list -- devel@lists.fedoraproject.org
> > To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> > Fedora Code of Conduct: 
> > https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: 
> > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> > Do not reply to spam, report it: 
> > https://pagure.io/fedora-infrastructure/new_issue
> >
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to