Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369709 - app-misc/emelfm2-0.7.5 - modified ebuild to install language support
Summary: app-misc/emelfm2-0.7.5 - modified ebuild to install language support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 23:24 UTC by dragongrot
Modified: 2011-12-29 20:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dragongrot 2011-06-01 23:24:22 UTC
Hi

Emelfm2-0.7.5 has no german languages (i18n) support.
I have modified the ebuild:

....
....
src_compile() {
    tc-export CC
    emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
        ${myemelconf[@]}
    emake i18n ${myemelconf[@]} || die "emake i18n failed."
}

src_install() {
    emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
        ${myemelconf[@]} install
    emake PREFIX="${D}/usr" install_i18n || die "emake install failed."
    newicon icons/${PN}_48.png ${PN}.png
}


and now emelfm has german languages support.
Comment 1 Wormo (RETIRED) gentoo-dev 2011-06-05 02:21:06 UTC
Thanks for submitting your ebuild enhancement -- assigning to emelfm2 maintainers
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-29 19:36:41 UTC
Your changes resemble the solution I was working on, but because of a Makefile problem, gettext is run twice (once in src_compile() and once in src_install(), so I am working on a fix for that too (even though the issue is trivial).
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-29 20:10:34 UTC
Fixed in 0.8.0.