Summary: | dev-libs/cdk:-5.0.20060507 - install examples | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeff Shanab <jshanab> |
Component: | New packages | Assignee: | Timothy Redaelli (RETIRED) <drizzt> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Upgraded ebuild to expand examples into /usr/share/docs/${P} |
Description
Jeff Shanab
2007-07-22 21:25:09 UTC
Created attachment 125705 [details]
Upgraded ebuild to expand examples into /usr/share/docs/${P}
I needed the examples and thought others might appreciate this ebuild upgrade.
Installing this cruft should definitely be optional (USE=examples or whatever). In a lot of packages where the examples are just extra, I agree. I can certainly add this. But in this case they are heavily referred to in the man pages. The normal install unpacks these but doesn't run the make. As I have done here. I just moved them out of the tmp directory so they are not lost. I think that becuase this is a library for writing C apps that they should be included as the author intended. The tarfile provided should provide the same functionality via portage and otherwise. I needed them. I will let others discuss the options but rather than a use flag I would rather see a cdk and cdk_dev ebuild in that case. Then they show up in en emerge --search and you know what you are missing. PS, this is a small package but an improvement can be made in that I copied over the include directory so the relative include path works in the make for the examples. about 3/4 of the includes are copied to /usr/include/cdk but the other 1/4 are needed for the examples. Coping only the 1/4 that are needed will be my next improvement. Done with use examples |