Summary: | app-admin/eselect-wxwidgets: discuss prefix changes | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christoph Junghans (RETIRED) <junghans> |
Component: | [OLD] Development | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | prefix |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 315803 |
Description
Christoph Junghans (RETIRED)
2014-04-22 17:18:36 UTC
> In short, to add prefix support we need to change the following things: > > 1.) > $ sed -i 's/base gtk2/& mac/' wxwidgets.eselect > I have commit rights for eselect.git and can do that change and make a new > release Okay. I need to add gtk3 one of these days but I won't hold you up, so go ahead. > 2.) > $ sed -i 's@/\(var\|usr\)/lib@${EPREFIX}&@' wx{rc,-config} > We could do this using sed in the ebuild or eprefixify with a version having > @GENTOO_PORTAGE_EPREFIX@ in there. Any preference? sed please. > One a side note, wx{rc,-config} contains a hard-coded /usr/lib, which should > be /usr/$(get_libdir) instead. > > I think the cleanest would be to something like in the recent ccache builds: > $ sed -e "/^LIBDIR=/s:lib:$(get_libdir):" -e "/^EPREFIX=/s:'':'${EPREFIX}':" > > And define LIBDIR and EPREFIX somewhere in the the top of wx{rc,-config}. This sounds good to me. +*eselect-wxwidgets-20140423 (23 Apr 2014) + + 23 Apr 2014; Christoph Junghans <ottxor@gentoo.org> + +eselect-wxwidgets-20140423.ebuild, +files/wx-config-1.4, +files/wxrc-1.4: + add prefix support (bug #508438) + |