[MPlayer-dev-eng] Re: latest version of translated manpage installation + [PATCH]

Andreas Hess jaska at gmx.net
Wed Mar 5 16:57:21 CET 2003


On Wed, Mar 05, 2003 at 02:54:35PM +0100, Gabucino wrote:
> Andriy N. Gritsenko wrote:
> > >Any other package always install english (as default) localization but
> > >your patch skipped that. Fix it, please, back as I did it.
> > I still insist on that - it's ugly if you'll never have default manpage,
> > no other package do or will do it. Please, return back old behavior, you
> > made it worse than before.
> Agreed

Here is your always-install-en-as-default-manpage-patch.
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.677
diff -u -r1.677 configure
--- configure	5 Mar 2003 10:56:21 -0000	1.677
+++ configure	5 Mar 2003 16:05:55 -0000
@@ -1621,7 +1621,7 @@
 echocheck "language"
 test -z "$_language" && _language=$LINGUAS
 _language=`echo $_language | sed 's/,/ /g'`
-echo $_language | grep all > /dev/null || LANGUAGES=$_language
+echo $_language | grep all > /dev/null || LANGUAGES="$_language en"
 for i in $_language ; do
   test "$i" = all && i=en
   if test -f "help/help_mp-${i}.h" ; then
@@ -1640,7 +1640,6 @@
     LANGUAGES=`echo $LANGUAGES | sed "s/$i *//g" | sed 's/ *$//'`
   fi
 done
-test -z "$LANGUAGES" && LANGUAGES=en
 echores "using $_language (man pages: $LANGUAGES)"
 _mp_help="help/help_mp-${_language}.h"
 test -f $_mp_help || die "$_mp_help not found"


More information about the MPlayer-dev-eng mailing list