Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64931 - libdc1394 does not emerge on X-less system because of included example
Summary: libdc1394 does not emerge on X-less system because of included example
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 22:57 UTC by Gary Stein
Modified: 2004-10-22 07:10 UTC (History)
0 users

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


Attachments
Updated ebuild, added X11 USE flag check (libdc1394-0.9.5-r1.ebuild,970 bytes, application/octet-stream)
2004-09-22 16:31 UTC, Gary Stein
Details
Patch to remove the example multidisplay, that requires X (libdc1394-noX.diff,3.61 KB, patch)
2004-09-22 16:32 UTC, Gary Stein
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Stein 2004-09-21 22:57:23 UTC
libdc1394 itself does not have dependancy on virtual/x11, but examples need it.
the one of the examples creates an X window and displays the camera image.
I was developing an embedded firewire capturing system, obviously no X installed and no headers for it.

I simply deleted out all references to that example in the headers, and it compiled and installed fine.

for the point of completeness, it would be nice set up an IUSE check for X
and then if it is in the USE flags, add the dependany, else, patch the makefile

Reproducible: Always
Steps to Reproduce:
1. install gentoo with -X in USE flags
2. emerge libdc1394
3. break 
Actual Results:  
it breaks the compile when it wants some headers for an example (not the lib)


Expected Results:  
emerge properly

just no X on the system
Comment 1 Gary Stein 2004-09-21 22:59:21 UTC
that is what I get for not re-reading submit

the section section should read:
I simply deleted out all references to that example in the makefile, and it compiled and installed fine.

Comment 2 Gary Stein 2004-09-22 16:31:28 UTC
Created attachment 40191 [details]
Updated ebuild, added X11 USE flag check

had a check for X and adds dependancy accordingly

and if no X, then use a simple patch to the Makefine.in in the examples folder
Comment 3 Gary Stein 2004-09-22 16:32:27 UTC
Created attachment 40192 [details, diff]
Patch to remove the example multidisplay, that requires X

Works for me, but I'd check it over
Comment 4 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-10-22 07:10:46 UTC
Fixed in CVS. Thnxs