Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 176081
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: mips team <mips@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Karl Koch <splinta@web.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xpdf-3.02.ebuild app-text/xpdf-3.02 ebuild (uses poppler) text/plain Thomas Kreuzer 2007-11-16 21:26 0000 2.33 KB Details
xpdf-3.02-poppler.tar.bz2 xpdf-3.02-poppler source package application/octet-stream Thomas Kreuzer 2007-11-16 21:28 0000 90.01 KB Details
xpdf-3.02-poppler.tar.bz2 xpdf-3.02-poppler source package (updated) application/octet-stream Thomas Kreuzer 2007-11-16 23:26 0000 89.97 KB Details
xpdf-3.02-poppler.tar.bz2 xpdf-3.02-poppler source package (works without patched poppler) application/octet-stream Thomas Kreuzer 2007-11-18 07:54 0000 103.46 KB Details
xpdf-3.02.ebuild app-text/xpdf-3.02 ebuild (updated) text/plain Thomas Kreuzer 2007-11-18 08:00 0000 2.32 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 176081 depends on: 196735 Show dependency tree
Bug 176081 blocks: 146062 194791
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-04-26 08:26 0000
A new version of Xpdf has been released on 2007-feb-27, it has been taken care
of a lot of bugs, and finally fullscreen does work.
A new ebuild would be appreciated.

Reproducible: Always

------- Comment #1 From Stefan Schweizer 2007-05-07 09:31:27 0000 -------
The problem is our current xpdf has poppler as basis. And I dont have a new
poppler patch nor a new poppler. I guess I will wait for a new poppler and then
look into making the poppler patch work with the new xpdf.

If you got a better suggestion feel free to share.

------- Comment #2 From Daniel Gryniewicz 2007-05-07 15:27:51 0000 -------
There is a new poppler coming out Real Soon Now (tm) that has all those fixes
in it.

------- Comment #3 From Stefan Schweizer 2007-06-19 08:54:13 0000 -------
hmh, the new poppler does not compile with our xpdf. Neither with anything else
atm :(

Probably we should return to the old xpdf ebuild and just use upstream sources
instead of the poppler workaround.

------- Comment #4 From William Xu 2007-09-03 11:59:33 0000 -------
Oooh, still no progress yet ?

So long time passed..

------- Comment #5 From Stefan Schweizer 2007-09-03 19:38:50 0000 -------
xpdf compiles with new poppler now after patching so all ok

------- Comment #6 From Shark 2007-09-30 17:20:55 0000 -------
> xpdf compiles with new poppler now after patching so all ok
> 

Is there any other problem with the new xpdf? It isn't in portage yet.(In reply
to comment #5)

------- Comment #7 From Jakub Moc (RETIRED) 2007-10-05 11:48:57 0000 -------
No idea why's this bug closed as FIXED, nothing has been bumped. Reopen.

------- Comment #8 From Dominique Michel 2007-11-04 15:55:47 0000 -------
I added a working ebuild for xpdf-3.02 in
http://bugs.gentoo.org/show_bug.cgi?id=139805

It doesn't use poppler or include any patch but work for me.

------- Comment #9 From Thomas Kreuzer 2007-11-11 11:46:10 0000 -------
(In reply to comment #5)
> xpdf compiles with new poppler now after patching so all ok
> 

So is the current xpdf-3.01-r8 the same as xpdf-3.02 when it is compiled with
the new poppler?

Shouldn't there be a version renaming to avoid confusion? Or am I totally off,
and xpdf-3.02 is still not in prortage?

------- Comment #10 From Dominique Michel 2007-11-11 18:33:51 0000 -------
(In reply to comment #9)
> (In reply to comment #5)
> > xpdf compiles with new poppler now after patching so all ok
> > 
> 
> So is the current xpdf-3.01-r8 the same as xpdf-3.02 when it is compiled with
> the new poppler?
> 
> Shouldn't there be a version renaming to avoid confusion? Or am I totally off,
> and xpdf-3.02 is still not in prortage?
> 

I don't think so, because, as in bug 139805
http://bugs.gentoo.org/show_bug.cgi?id=139805 xpdf-3.01-r8 doesn't show
correctly some graphics, when xpdf-3.02 show them without problem.

A test file: http://hdr.undp.org/en/media/hdr05_fr_chapter_41.pdf

------- Comment #11 From Thomas Kreuzer 2007-11-14 16:26:49 0000 -------
Sorry if I am bugging (pun intended :-)), but what is the problem then?
I tried to make a xpdf-poppler ebuild, but I couldn't get it to compile with
it.
Is there any light at the end of the tunnel?

regards,
Thomas

------- Comment #12 From Dominique Michel 2007-11-14 19:48:37 0000 -------
Why is the reason to use poppler instead of the original sources?

Especially, does the poppler patch add any function or remove any bug to xpdf?
If it is not the case, why not to use the original sources?

------- Comment #13 From Thomas Kreuzer 2007-11-15 09:18:31 0000 -------
(In reply to comment #11)
>Why is the reason to use poppler instead of the original sources?
>

I guess it is cleaner, since ghostscript (so generally printing) draws poppler
into your system anyway, and in that way you don't have to compile redundant
code :) 

------- Comment #14 From Thomas Kreuzer 2007-11-15 13:18:20 0000 -------
Once more I tried to get xpdf to compile with poppler, I had some initial
success, however xpdf seems to call the function 'getContinuousView' of
'globalParams' which is not present in the current poppler-0.6.2 declaration of
GlobalParams ( I checked for possible name change, but the function is just
absent. :( )

> PDFCore.cc: In constructor 'PDFCore::PDFCore(SplashColorMode, int, GBool, Guchar*, GBool)':
>PDFCore.cc:87: error: 'class GlobalParams' has no member named 'getContinuousView'

One solution would be to patch poppler against the current xpdf version, or
just drop the poppler compiling. Stefan Schweizer comment #5 said he got it
working, could you please provide more information on this?

regards,
Thomas

------- Comment #15 From Dominique Michel 2007-11-15 20:46:56 0000 -------
(In reply to comment #13)
> (In reply to comment #11)
> >Why is the reason to use poppler instead of the original sources?
> >
> 
> I guess it is cleaner, since ghostscript (so generally printing) draws poppler
> into your system anyway, and in that way you don't have to compile redundant
> code :) 
> 

I don't care about this because I can almost always do something else when
portage is compiling. Otherwise, I can stop portage and restart it later. But
it seems that it make the life easier for maintainers: according to
http://www.gentoo.org/news/en/gwn/20060206-newsletter.xml, it greatly
simplifies the security process.

I am not convinced about this because I done a little search and found more
security reports about poppler as about xpdf. But no matter. Don't stress for
me, my system can live with my custom xpdf ebuild on comment #8.

And thank you all for the work.

------- Comment #16 From Thomas Kreuzer 2007-11-16 10:16:36 0000 -------
Oky dok, I got it now!

There are still two problems however, first 'GlobalParams' is redundant (which
means  I have it in xpdf and in poppler) which kind of defeats the purpose, but
the xpdf version has about 1,100 lines more code, so I guess we need to patch
poppler?!
the second problem is also about poppler, in 'goo/gfiles.h' it checks for
'HAVE_DIRENT_H' a macro which would be set by 'configure' but it isn't set at
compile time of xpdf, thus it never passes this check and thus a compile error
occurs because a header file is missing. I don't know how to fix this, besides
a very ugly hack, where I just insert the header in gfiles.h by hand :p

Any suggestions?

regards,
Thomas

------- Comment #17 From Thomas Kreuzer 2007-11-16 21:26:16 0000 -------
Created an attachment (id=136116) [details]
app-text/xpdf-3.02 ebuild (uses poppler)

This is the ebuild which works with poppler :)

------- Comment #18 From Thomas Kreuzer 2007-11-16 21:28:05 0000 -------
Created an attachment (id=136117) [details]
xpdf-3.02-poppler source package

xpdf-3.02-poppler source package, you will need this to put in your
'distfiles/' folder, since I don't have any upload stream yet.

------- Comment #19 From Thomas Kreuzer 2007-11-16 21:29:26 0000 -------
I got it! :)

Please test it to the max, and you will need the poppler-0.6.2-r1 ebuild with
the patch I created, have a look here
http://bugs.gentoo.org/show_bug.cgi?id=199398

------- Comment #20 From Thomas Kreuzer 2007-11-16 23:26:37 0000 -------
Created an attachment (id=136120) [details]
xpdf-3.02-poppler source package (updated)

I found a bug in the old sources, which wouldn't let you print to PS file,
sorry.

------- Comment #21 From Jakub Moc (RETIRED) 2007-11-17 09:46:46 0000 -------
*** Bug 199398 has been marked as a duplicate of this bug. ***

------- Comment #22 From Thomas Kreuzer 2007-11-18 07:54:08 0000 -------
Created an attachment (id=136222) [details]
xpdf-3.02-poppler source package (works without patched poppler)

I decided that for now, the problem of a little redundant code is not as bad as
a "gentoo-only" patched poopler, which could have security issues which only
gentoo would have to keep track, so this package works without a patched
poppler, meanwhile I will try to get the patch upstream in poppler. For the
xpdf-poppler uses nothing changes, and he won't notice :)

regards,
Thomas

------- Comment #23 From Thomas Kreuzer 2007-11-18 08:00:22 0000 -------
Created an attachment (id=136223) [details]
app-text/xpdf-3.02 ebuild (updated)

This ebuild is not anymore dependant on a patched poppler :)

------- Comment #24 From Stefan Schweizer 2007-11-18 11:56:24 0000 -------
This is now in the tree. We need this stable asap because the old version is
broken on the arches in CC

------- Comment #25 From Dawid Węgliński 2007-11-18 13:40:53 0000 -------
x86 done

------- Comment #26 From Robert Buchholz 2007-11-18 14:39:43 0000 -------
I'll un-cc arches and re-add them to bug 196735.

Since this is holding back the Poppler GLSA, we need a fast reaction.

------- Comment #27 From Jeroen Roovers 2007-11-18 17:37:09 0000 -------
Stable for HPPA.

------- Comment #28 From Tobias Scherbaum 2007-11-18 17:42:00 0000 -------
ppc stable

------- Comment #29 From Ferris McCormick 2007-11-18 17:50:27 0000 -------
Sparc stable.  Didn't quite realize there were two bugs asking for the same
thing.  Or does this bug ask for something different than bug #196735 does?  It
also asks for stablization for xpdf-3.02.

------- Comment #30 From Samuli Suominen 2007-11-18 18:12:33 0000 -------
amd64 stable for xpdf 3.02

------- Comment #31 From Robert Buchholz 2007-11-18 18:30:00 0000 -------
seems i forgot the checkbox "Remove CC"

------- Comment #32 From Robert Buchholz 2007-11-18 21:24:17 0000 -------
Readding all security-unsupported arches since bug 196735 is now closed.

------- Comment #33 From Jakub Moc (RETIRED) 2007-12-11 11:48:17 0000 -------
10:33:51 <+CIA-23> vapier * gentoo-x86/app-text/xpdf/xpdf-3.02-r1.ebuild: 
10:33:51 <+CIA-23> arm/sh stable 

------- Comment #34 From Jakub Moc (RETIRED) 2008-02-12 23:43:49 0000 -------
Closing wrt http://www.gentoo.org/news/20080210-mips-experimental-arch.xml

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug