Bug 88280 - mutt erata has extra dependency
Summary: mutt erata has extra dependency
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mutt
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2003-04-08 15:37:56 UTC
Embargoed:


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):

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...

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 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



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