Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260951 - media-gfx/xfig needs pspdflatex export
Summary: media-gfx/xfig needs pspdflatex export
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 286483
Blocks:
  Show dependency tree
 
Reported: 2009-03-02 14:59 UTC by Per Öberg
Modified: 2010-01-14 20:34 UTC (History)
1 user (show)

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


Attachments
Updated ebuild file for xfig (xfig-3.2.5-r4.ebuild,1.92 KB, text/plain)
2009-03-17 11:56 UTC, Heiko Rosemann
Details
The patch mentioned by the OP (from the debian bug report system) (xfig_pspdftex.patch,1.72 KB, patch)
2009-03-17 11:58 UTC, Heiko Rosemann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.