trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: August 2019

Re: [trinity-users] tdegraphics & FreeBSD & poppler: compile problem

From: Slávek Banko <slavek.banko@...>
Date: Sun, 18 Aug 2019 20:13:26 +0200
On Saturday 10 of August 2019 09:42:26 Dr. Nikolaus Klepp wrote:
> Hi all!
>
> I just tried to recompile TDE on FreeBSD 12.0-RELEASE-p9. While
> everything really builds nicely, I  ran into a problem with new poppler
> library: Looks like GooList is nonexisting in poppler-0.78.0:
>
> /usr/home/nik/TDE/tde-packaging/freebsd/tdegraphics/work/tdegraphics-tr
>inity_14.0.6/tdefile-plugins/dependencies/poppler-tqt/poppler-document.c
>c:130:12: error: cannot initialize a variable of type
> 'std::vector<OutlineItem *> *' with an rvalue of type
> 'std::vector<FontInfo *> *'
>   GooList *items = data->m_fontInfoScanner->scan( numPages );
>            ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/home/nik/TDE/tde-packaging/freebsd/tdegraphics/work/tdegraphics-tr
>inity_14.0.6/tdefile-plugins/dependencies/poppler-tqt/poppler-document.c
>c:147:3: error: use of undeclared identifier 'deleteGooList'
>   deleteGooList<::FontInfo>(items);
>   ^
>
> Does anybody have a good idea what to do about it?
>
> Nik

Hi Nick,

currently the easiest way is to add this patch to 'files':

http://mirror.git.trinitydesktop.org/cgit/tdegraphics/commit/?h=r14.0.x&id=b9469c0263

Sometime later I plan to update ports for FreeBSD to r14.0.7~pre, however 
now there are many changes every week :)

Cheers
-- 
Slávek