Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133290 - pstoedit compiles fine on amd64 without libemf
Summary: pstoedit compiles fine on amd64 without libemf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 107440
Blocks:
  Show dependency tree
 
Reported: 2006-05-14 05:11 UTC by whereami
Modified: 2006-05-21 10:10 UTC (History)
2 users (show)

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


Attachments
pstoedit-3.42.ebuild (pstoedit-3.42.ebuild,1.40 KB, text/plain)
2006-05-18 00:34 UTC, whereami
Details

Note You need to log in before you can comment on or make changes to this bug.
Description whereami 2006-05-14 05:11:30 UTC
pstoedit will compile without libemf. This allows it to compile cleanly on amd64 archs, simply missing support for EMF (which is some windows crud anyway so who cares ;)  ).

perhaps a useflag is in order?

also note bug #107440, which involves the underlying 64-bit compatibility problem in libemf. It's resolution may make this bug moot, although at that point amd64 should be added to both libemf and pstoedit ebuilds.
Comment 1 Patrick McLean gentoo-dev 2006-05-17 09:43:20 UTC
text-markup: is adding a USE flag or dropping the libEMF dep acceptable?
Comment 2 Alexandre Buisse (RETIRED) gentoo-dev 2006-05-17 14:15:05 UTC
From what I read, EMF is used for importing in OOo (which you can qualify of windows crud, though :) ), so I don't think dropping it is acceptable. Making it a USE flag seems a lot better to me.

whereami: can you provide an ebuild for this?
Comment 3 whereami 2006-05-18 00:34:13 UTC
Created attachment 86983 [details]
pstoedit-3.42.ebuild
Comment 4 whereami 2006-05-18 00:35:01 UTC
(In reply to comment #2)
> whereami: can you provide an ebuild for this?

certainly. I've attached a modified 3.42 ebuild that adds the use flag.

However, I noticed a note in the ebuild:
# secondly, we're not enabling libemf via a use flag, until it's
# actually switchable via configure, see bug #39557

(the attached ebuild removes this comment to avoid confusion)

Bug #39557 doesn't make the reason behind this policy clear. Added obz to the CC list so he can share his views.

Also, I suggest making this ebuild enabled by default on the archs that can build libemf: x86, ppc, ppc64, sparc (according to the libemf-1.0 ebuild)
Comment 5 whereami 2006-05-18 15:21:24 UTC
(In reply to comment #4)
> Also, I suggest making this ebuild enabled by default on the archs that can
And by ebuild, i mean the libemf use flag... sorry, typo.
Comment 6 Martin Ehmsen (RETIRED) gentoo-dev 2006-05-21 10:10:12 UTC
Added a emf use flag which pulls libemf to the 3.42 ebuild which only works on non amd64 (since libemf does not work on amd64) and then added the ~amd64 keyword.