Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555906 - www-client/netsurf-3.3-r1 compile failed: desktop/save_pdf.c: undeclared: CONTENT_JPEG, option_enable_PDF_compression, option_enable_PDF_password, guit, save_pdf
Summary: www-client/netsurf-3.3-r1 compile failed: desktop/save_pdf.c: undeclared: CON...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 555904
Blocks:
  Show dependency tree
 
Reported: 2015-07-25 23:40 UTC by Oschtan
Modified: 2015-08-11 14:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,103.63 KB, text/x-log)
2015-07-25 23:40 UTC, Oschtan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oschtan 2015-07-25 23:40:25 UTC
USE="pdf-writer"
desktop/save_pdf.c: In function ‘pdf_extract_image’:
desktop/save_pdf.c:453:8: error: ‘CONTENT_JPEG’ undeclared (first use in this function)
   case CONTENT_JPEG:
        ^
desktop/save_pdf.c:453:8: note: each undeclared identifier is reported only once for each function it appears in
desktop/save_pdf.c: In function ‘pdf_begin’:
desktop/save_pdf.c:703:6: error: ‘option_enable_PDF_compression’ undeclared (first use in this function)
  if (option_enable_PDF_compression)
      ^
desktop/save_pdf.c: In function ‘pdf_end’:
desktop/save_pdf.c:777:6: error: ‘option_enable_PDF_password’ undeclared (first use in this function)
  if (option_enable_PDF_password)
      ^
desktop/save_pdf.c:778:3: error: ‘guit’ undeclared (first use in this function)
   guit->browser->pdf_password(&owner_pass, &user_pass,
   ^
desktop/save_pdf.c: In function ‘save_pdf’:
desktop/save_pdf.c:792:6: error: ‘option_enable_PDF_password’ undeclared (first use in this function)
  if (option_enable_PDF_password && owner_pass != NULL ) {
      ^
Makefile:796: recipe for target 'build-Linux-gtk/desktop_save_pdf.o' failed
make: *** [build-Linux-gtk/desktop_save_pdf.o] Error 1

Reproducible: Always
Comment 1 Oschtan 2015-07-25 23:40:57 UTC
Created attachment 407630 [details]
build.log
Comment 2 Pacho Ramos gentoo-dev 2015-07-31 11:42:42 UTC
please post emerge --info output
Comment 3 Michael Weber (RETIRED) gentoo-dev 2015-08-11 14:16:21 UTC
commit 7d92c734e256d255b72a4a25881493e3923cd0e4
Author: Michael Weber <xmw@gentoo.org>
Date:   Tue Aug 11 16:14:57 2015 +0200

    www-client/netsurf: fix USE=pdf-writer (bug 555904, bug 555906, thanks Oschtan).
    
    Package-Manager: portage-2.2.20

www-client/netsurf/files/netsurf-3.2-pdf-writer.patch
www-client/netsurf/files/netsurf-3.3-pdf-writer.patch
www-client/netsurf/netsurf-3.2-r1.ebuild
www-client/netsurf/netsurf-3.3-r1.ebuild