Bug 88280 - mutt erata has extra dependency
mutt erata has extra dependency
Product: Red Hat Linux
Classification: Retired
Component: mutt (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2003-04-08 11:34 EDT by Jonathan Peatfield
Modified: 2014-03-16 22:35 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-08 11:37:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jonathan Peatfield 2003-04-08 11:34:21 EDT
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):


How reproducible:


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

Actual results:

error: Failed dependencies:
        gettext is needed by mutt-1.4.1-0.8.x

Expected results:


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...
Comment 1 Bill Nottingham 2003-04-08 11:37:56 EDT
It's a fix for 76448. That gettext requires libgcj is... unfortunate.
Comment 2 Jonathan Peatfield 2003-04-08 15:07:30 EDT
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
   echo "$2 "

(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

Note You need to log in before you can comment on or make changes to this bug.