1 |
probably the matter has been discussed earlier, but not recently, so please excuse me asking: |
2 |
|
3 |
i plan writing an ebuild for my little software project, motiontrack, (motiontrack.sf.net) |
4 |
which needs an image I/O library, either libGD or ImageMagick to compile. |
5 |
|
6 |
but it cant compile against both of them. |
7 |
|
8 |
if only one is present the configure script auto-detects the installed, and compiles with it, |
9 |
if there are both, configure prefers libGD since it might be faster, |
10 |
on the other hand ImageMagick provides better debug output when trying things out (view images on X screen ...) |
11 |
so configure's behaviour can be tweaked to force usage of Imagemagick even if GD is present (or visa versa) |
12 |
|
13 |
the obvious approach would be use-flags ;) , however there are a global useflag both for gd and imagemagick, |
14 |
and the problem persists if both are set. |
15 |
|
16 |
So is there to be an extra-lokal useflag? Or should it silently default to one of the libs? |
17 |
What is if libgd but not imagemagick is installed, but the imagemagick, and not gd useflag is set? |
18 |
compile with the installed libgd and ignore imagemagick? (nah, that would be stupid - or not?) |
19 |
should the ebuild read an env-var like openoffice does for the language? |
20 |
|
21 |
This all are questions i'd like to hear some opinions before trying to write an ebuild. |
22 |
|
23 |
thanx for advice :-) |
24 |
|
25 |
Corvus Corax |
26 |
|
27 |
-- |
28 |
gentoo-dev@g.o mailing list |