Summary: | sys-apps/gptfdisk - make dev-libs/icu dependency optional | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | fdupoux <gentoobugs> |
Component: | [OLD] Library | Assignee: | Alexey Shvetsov <alexxy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlec, Martin.Jansa, nikoli |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to make dependency on dev-libs/icu optional |
Any progress. (In reply to comment #1) > Any progress. There's a new version (0.8.6) of gptfdisk available. I submitted a new ebuild that incorporates the changes from fdupoux's patch to an open version-bump request: https://bugs.gentoo.org/show_bug.cgi?id=461454 +*gptfdisk-0.8.6 (29 Mar 2013) + + 29 Mar 2013; Justin Lecher <jlec@gentoo.org> gptfdisk-0.8.4.ebuild, + gptfdisk-0.8.5.ebuild, +gptfdisk-0.8.6.ebuild, metadata.xml: + Version BUmp and make icu support optional, #428410, #461454 + |
Created attachment 319502 [details, diff] Patch to make dependency on dev-libs/icu optional sys-apps/gptfdisk depends on dev-libs/icu for unicode support. gptfdisk installation is quite small (650 KB) but unfortunately dev-libs/icu is quite large (around 20MB, mostly because of libicudata.so). So it makes it difficult to put gptfdisk on systems with limited storage such as rescue medias and this is a shame as the package itself is really small and quite useful. Hence the implementation of an use variable (USE='+icu') allows people to remove this dependency. The README file in gptfdisk says how the unicode support can be removed: <quote> To compile without ICU support, you must modify the Makefile: Remove the "-D USE_UTF16" part from the CXXFLAGS line and remove references to -licuio, -licuuc, -licudata, and -licucore (details vary between platforms) from the compilation options. Suitable lines are present, but commented out, in the Makefile, Makefile.mac, and Makefile.bsd files. </quote> I have implemented this new USE variable for sys-apps/gptfdisk. The patch is extremely simple and clean, hence I hope it will be included in the official gptfdisk ebuild.