Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 88280 - mutt erata has extra dependency
Summary: mutt erata has extra dependency
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mutt
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-04-08 15:34 UTC by Jonathan Peatfield
Modified: 2014-03-17 02:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-04-08 15:37:56 UTC

Attachments (Terms of Use)

Description Jonathan Peatfield 2003-04-08 15:34:21 UTC
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 15:37:56 UTC
It's a fix for 76448. That gettext requires libgcj is... unfortunate.

Comment 2 Jonathan Peatfield 2003-04-08 19:07:30 UTC
Could we not use a script which checks if gettext is installed instead of
depending on gettext?

e.g. a script called (say)

 #! /bin/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="` 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.