Description of problem: The recent mutt-1.4.1-0.8.x for RH8 now has a dependency on gettext which in turn depends on libgjc. This means +30M for systems which previously didn't have either. Can this be right? I can imagine gettext being used during mutt BUILD time, but surely not at runtime. What does it do, generate message catalogs on the fly? Version-Release number of selected component (if applicable): mutt-1.4.1-0.8.x How reproducible: Easily Steps to Reproduce: 1. rpm -e gettext (if you have it atm): 2. $ rpm --upgrade mutt-1.4.1-0.8.x.i386.rpm error: Failed dependencies: gettext is needed by mutt-1.4.1-0.8.x 3. Actual results: error: Failed dependencies: gettext is needed by mutt-1.4.1-0.8.x Expected results: None. Additional info: It seems to have been added the the specfile at about the same time that mailcap was (if I read the changelog right), but no comment about why it was added or what on earth is is needed for...
It's a fix for 76448. That gettext requires libgcj is... unfortunate.
Could we not use a script which checks if gettext is installed instead of depending on gettext? e.g. a script called callgettext.sh (say) #! /bin/sh # callgettext.sh if gettext -d $1 -s "$2 \"" | tr -d '"' 2>/dev/null then # already have an answer to stdout else echo "$2 " fi (I'm sure you can do better), and call it as: set pgp_good_sign="`callgettext.sh gnupg 'Good signature from'`" then such a script could also be used in other places where if gettext is installed we want a properly internationalised version, but fallback to the fixed string if it isn't.... [ Sorry for the duplication of this, I'd forgotten that just replying to the e-mail wouldn't get it added to the bugzilla comment-log... ] -- Jon