First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 183008
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ed Catmur <ed@catmur.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
poppler-0.5.9.patch app-text/xpdf/poppler-0.5.9.patch patch Ed Catmur 2007-06-24 00:04 0000 15.54 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 183008 depends on: Show dependency tree
Bug 183008 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-23 22:58 0000
g++ -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow
-I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash
 -c -o PDFCore.o PDFCore.cc
In file included from /usr/include/poppler/Object.h:19,
                 from CoreOutputDev.cc:13:
/usr/include/poppler/goo/gmem.h:13:20: error: config.h: No such file or
directory
distcc[17287] ERROR: compile CoreOutputDev.cc on localhost failed
make: *** [CoreOutputDev.o] Error 1

!!! ERROR: app-text/xpdf-3.01-r8 failed.
Call stack:
  ebuild.sh, line 1629:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 649:   Called die

------- Comment #1 From Ed Catmur 2007-06-23 23:00:48 0000 -------
Looks to be https://bugs.freedesktop.org/show_bug.cgi?id=11243
Testing patch now.

------- Comment #2 From Ed Catmur 2007-06-23 23:11:51 0000 -------
Note patch there has DOS line breaks, so may need fixing before using.

------- Comment #3 From Ed Catmur 2007-06-23 23:32:45 0000 -------
OK, that works.

Next error:
g++  -I/usr/include/poppler -I/usr/include/poppler/goo
-I/usr/include/poppler/splash  -c -o PDFCore.o PDFCore.cc
In file included from PDFCore.cc:27:
PDFCore.h:19:24: error: UGooString.h: No such file or directory
PDFCore.h:159: error: ‘UGooString’ has not been declared
PDFCore.cc: In constructor ‘PDFCore::PDFCore(SplashColorMode, int, GBool,
Guchar*)’:
PDFCore.cc:84: error: ‘class GlobalParams’ has no member named
‘getContinuousView’
PDFCore.cc: In member function ‘void PDFCore::needTile(PDFCorePage*, int,
int)’:
PDFCore.cc:794: error: ‘class PDFDoc’ has no member named ‘takeLinks’
PDFCore.cc: At global scope:
PDFCore.cc:854: error: ‘GBool PDFCore::gotoNamedDestination’ is not a
static member of ‘class PDFCore’
PDFCore.cc:854: error: ‘UGooString’ was not declared in this scope
PDFCore.cc:854: error: ‘dest’ was not declared in this scope
PDFCore.cc:854: error: expected ‘,’ or ‘;’ before ‘{’ token
PDFCore.cc: In member function ‘void PDFCore::xorRectangle(int, int, int,
int, int, SplashPattern*, PDFCoreTile*)’:
PDFCore.cc:1216: error: no matching function for call to
‘Splash::Splash(SplashBitmap*&)’
/usr/include/poppler/splash/Splash.h:73: note: candidates are:
Splash::Splash(SplashBitmap*, GBool, SplashScreen*)
/usr/include/poppler/splash/Splash.h:71: note:                
Splash::Splash(SplashBitmap*, GBool, SplashScreenParams*)
/usr/include/poppler/splash/Splash.h:66: note:                
Splash::Splash(const Splash&)
PDFCore.cc: In member function ‘void PDFCore::cvtUserToDev(int, double,
double, int*, int*)’:
PDFCore.cc:1587: error: no matching function for call to
‘Page::getDefaultCTM(double [6], double&, double&, int&, GBool)’
/usr/include/poppler/Page.h:211: note: candidates are: void
Page::getDefaultCTM(double*, double, double, int, GBool, GBool)
make: *** [PDFCore.o] Error 1

------- Comment #4 From Ed Catmur 2007-06-24 00:03:51 0000 -------
Right, a proper a fix will involve xpdf 3.02 (bug 176081) but a hack to compile
should be doable.

------- Comment #5 From Ed Catmur 2007-06-24 00:04:53 0000 -------
Created an attachment (id=122920) [edit]
app-text/xpdf/poppler-0.5.9.patch

Patch, converting UGooString to GooString, hacking API and removing unsupported
GlobalParams calls.

------- Comment #6 From Ed Catmur 2007-06-24 00:05:49 0000 -------
xpdf compiles and appears to work with both patches applied.

------- Comment #7 From Stefan Schweizer 2007-06-24 09:20:47 0000 -------
thank you! I have made the necessary commits.

First Last Prev Next    No search results available      Search page      Enter new bug