| Summary: | x11-libs/goffice-0.8.3 has broken intltool rules | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Priit Laes (IRC: plaes) <plaes> |
| Component: | [OLD] GNOME | Assignee: | GNOME Office (OBSOLETE) <gnome-office+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | InVCS |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Only one question, how did you detected this issue? (In reply to comment #1) > Only one question, how did you detected this issue? > evasdk gave me following snippet: Add this file as /etc/portage/bashrc (also set executable): [snip] #!/bin/bash post_src_prepare() { if [ ! -e "${S}/po/Makefile.in.in" ]; then return 0 fi checksum=$(md5sum "${S}/po/Makefile.in.in" | cut -f1 -d' ') tempfile=$(tempfile) cat >> $tempfile <<EOF 26d0fa167a5a49e7f2b57b99d08c6586 f81285d13b63167be6981aad0e1a2038 955fb57559c7d112f749e185fc34e07f EOF if grep -q "$checksum" $tempfile; then eerror "Bad intltool rules detected" die "Bad intltool rules detected" fi } [/snip] Thanks a lot :-) In this exact case seems that it installs the same with or without broken rules, then, I am not sure about committing that fix since Eva didn't also added the sed command when he bumped 0.8.1 version (also affected by this). I will ask then to the rest of the team + 16 May 2010; Gilles Dartiguelongue <eva@gentoo.org> goffice-0.8.3.ebuild: + Fix intltool rules, bug #319051. Thanks for reporting. |
Please add following snippet to src_prepare(): [snip] # Fix intltoolize broken file, see upstream #577133 sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \ || die "sed failed" [/snip]