Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 260951

Summary: media-gfx/xfig needs pspdflatex export
Product: Gentoo Linux Reporter: Per Öberg <per>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: normal CC: heiko.rosemann
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 286483    
Bug Blocks:    
Attachments: Updated ebuild file for xfig
The patch mentioned by the OP (from the debian bug report system)

Description Per Öberg 2009-03-02 14:59:06 UTC
The problem is that xfig disregards the special flag when it exports combined ps/pdf/latex.

Upstreams fix is on the way but nothing has happened since march 2008 if I understand the situation correctly. Would it therefore be possible to fix the issue by adding a patch in the meantime?

Debian bug-system has a bug report and a patch which I used with great success:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482412

I renamed the patch to "xfig_pspdftex.patch" and made a new ebuild wich uses the patch by simply adding it in the src_unpack().

src_unpack() {
        unpack ${A}
        cd "${S}"
        epatch ${FILESDIR}/xfig_pspdftex.patch



Reproducible: Always

Steps to Reproduce:
1. Start xfig
2. Draw text
3. Set special flag
4. Export to pspdflatex
5. Open ps or pdf file in viewer
6. Text is still there and not only in the latex-part

Actual Results:  
Xfig disregards the special flag when exporting pspdflatex

Expected Results:  
Xfig should honour the flag...
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-05 21:44:00 UTC
Reassigning to maintainer.
Comment 2 Heiko Rosemann 2009-03-17 11:56:56 UTC
Created attachment 185311 [details]
Updated ebuild file for xfig
Comment 3 Heiko Rosemann 2009-03-17 11:58:52 UTC
Created attachment 185312 [details, diff]
The patch mentioned by the OP (from the debian bug report system)

I can confirm both the bug and its solution. I have attached the patch and an updated ebuild file (which also includes a typo-correction nescape->netscape that just sprang into my eyes)

That works for me now...

Regards, Heiko
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-01-12 19:53:00 UTC
Thank you for report guys. This problem is fixed in 3.2.5b that will be bumped soon.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-01-14 20:34:47 UTC
3.2.5b is in the tree and should have this bug fixed. Please, try it and reopen bug if something goes wrong. Although we did not used this patch since it was incorporated upstream, thank you for this report any way.