First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 47130
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-video herd <media-video@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Corvus <corvus-bug-gentoo@cybertrench.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
motiontrack-0.1.0.ebuild the ebuild text/plain Corvus 2004-04-07 11:48 0000 1.59 KB Details
motiontrack-0.1.0-r1.ebuild new version of the ebuild text/plain Corvus 2004-04-10 02:14 0000 1.99 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 47130 depends on: Show dependency tree
Bug 47130 blocks:
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: 2004-04-07 11:45 0000
a new ebuild, a maintainer should look over it for mistakes.

motiontrack can either use libgd or imagemagick for image io
libgd might be faster but imagemagick supports more image formats
and has better debugging support

I hope the taken approach is apropriate,
i have asked in the gentoo-dev ml after all :-)


Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Corvus 2004-04-07 11:48:00 0000 -------
Created an attachment (id=28840) [edit]
the ebuild

------- Comment #2 From Sami Näätänen 2004-04-07 12:37:24 0000 -------
DEPEND="libgd? ( media-libs/libgd )
 	imagemagick? ( media-gfx/imagemagick ) : ( media-libs/libgd )"

If I haven't made any mistakes then the next DEPEND will take care of the debug case (use flag), which the above DEPEND (used in the ebuild) does NOT do.

DEPEND="libgd? ( media-libs/libgd )
 	imagemagick? ( media-gfx/imagemagick )
	!libgd? (
	    !imagemagick? (
		debug? ( media-gfx/imagemagick ) : ( media-libs/libgd )
	    )
	)"

------- Comment #3 From Sami Näätänen 2004-04-07 14:51:27 0000 -------
Final corrected version. (From the users mailinglist thread)

DEPEND="debug? ( media-gfx/imagemagick )
 	!debug? (
 		libgd? ( media-libs/libgd )
 		!libgd? (
			imagemagick? ( media-gfx/imagemagick )
			!imagemagick? ( media-libs/libgd )
		)
 	)"


------- Comment #4 From Corvus 2004-04-10 02:14:14 0000 -------
Created an attachment (id=29012) [edit]
new version of the ebuild

i tried the 

DEPEND="
useflag? (...)
!useflag? (...)
"
approach, but it somehow created a block (B) on imagemagick when none of the
useflags were set, so I used the ":" 'else' syntax instead, which seems to
work.

------- Comment #5 From Corvus 2004-07-18 22:55:13 0000 -------
update:

recent bug reports from motiontrack users showed, that the program cant be build with all features (especially speed enhancements) enabled with imagemagick versions prior to  5.5.7, since they dont have the ExportImagePixels() function

so while the current cvs version of motiontrack already trys to cope with that in the ./configure script and disable that feature with old imagemagick versions, this is not yet the case with motiontrack-0.1.0 so that has to be handled in the ebuild

the ebuild should then probably DEPEND on =media-gfx/imagemagick-5.5.7* instead of just any media/gfx/imagemagick, i hope that syntax is correct

------- Comment #6 From Chris White (RETIRED) 2004-07-19 23:28:45 0000 -------
Now in portage, added the imagemagick magic (pun intended) to the ebuild as
well.  `emerge sync` for it :).

First Last Prev Next    No search results available      Search page      Enter new bug