View Issue Details

IDProjectCategoryView StatusLast Update
0014979ScribusPDFpublic2017-12-20 20:58
Reporterwiz Assigned Tojghali  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.3 
Target VersionFixed in Version1.5.4.svn 
Summary0014979: poppler-0.58 breaks build
Descriptionscribus is using poppler's unsupported xpdf compatibility API. The API changed in version 0.58, which breaks the build:
````
/var/tmp/portage/app-office/scribus-1.5.3/work/scribus-1.5.3/scribus/plugins/import/pdf/slaoutput.cpp: In constructor ‘LinkSubmitForm::LinkSubmitForm(Object*)’:
/var/tmp/portage/app-office/scribus-1.5.3/work/scribus-1.5.3/scribus/plugins/import/pdf/slaoutput.cpp:29:35: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
   if (!actionObj->dictLookup("F", &obj1)->isNull())
                                   ^~~~~
In file included from /var/tmp/portage/app-office/scribus-1.5.3/work/scribus-1.5.3/scribus/plugins/import/pdf/slaoutput.h:30:0,
                 from /var/tmp/portage/app-office/scribus-1.5.3/work/scribus-1.5.3/scribus/plugins/import/pdf/slaoutput.cpp:8:
/usr/include/poppler/Object.h:361:15: note: initializing argument 2 of ‘Object Object::dictLookup(const char*, int)’
 inline Object Object::dictLookup(const char *key, int recursion)
               ^~~~~~
````

See e.g. https://bugs.gentoo.org/show_bug.cgi?id=629752
Steps To ReproduceBuild scribus against poppler-0.58 or 0.59.
TagsNo tags attached.
PatchNo

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-09-08 08:05 wiz New Issue
2017-09-08 16:55 jghali Assigned To => jghali
2017-09-08 16:55 jghali Status new => resolved
2017-09-08 16:55 jghali Resolution open => fixed
2017-09-08 16:55 jghali Fixed in Version => 1.5.4.svn
2017-12-20 20:58 cbradney Status resolved => closed