You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "C. Scott Ananian" <ca...@lesser-magoo.lcs.mit.edu> on 2001/08/22 17:32:45 UTC

Re: [SVN-DEV] Re: working.

On 22 Aug 2001, Ben Collins-Sussman wrote:

> gettext is GPLed, not LGPLed, so we can't use it.  Not unless we find
> a BSD-compatible replacement, or reinvent the wheel.  We've been over
> this bridge before.  :-)

I don't think this is right.  The gettext *standard* is Uniforum's.  It's
not related to GNU at all.  GNU have *an implementation* of gettext, with
some GPL'ed utilities to make it easier to generate PO files and such.
There's *also* an implementation (perhaps the same one) of gettext in
glibc.  THIS IMPLEMENTATION IS LGPL'ED.  Look at /usr/include/libintl.h on
your system, if you don't believe me.

And even if it wasn't, the 'info gettext' page says that many "standard"
Unices come with (at least partial) implementations of gettext.

I agree that 'catgets' is too painful for words.  But it is slightly more
"standard" Unix, as it's an X/OPEN standard.  POSIX declined to settle the
catgets/gettext dispute (remember, no FSF involved here) and so didn't
make either POSIX-standard (unfortunately).  Many unices end up with
both.  Supporting X/OPEN is really the only reason to prefer catgets.

Many programs chose to include the GNU 'gettext' package in their build
tree to ease portability to those platforms without a native 'gettext'.
SVN can't do that because the GNU 'gettext' is GPL'ed.  But that shouldn't
be too much of a problem.

Conclusion: use 'gettext' but don't include the GNU implementation in the
package.  Allow a non-localizable version to be compiled for people
without a gettext(3) function in their C library.
 --s

p.s. i didn't know most of this stuff when I started writing this email,
or else i probably wouldn't have asked the question in the first place. =)

ASW Shoal Bay colonel Delta Force WTO milita algorithm SSBN 743 Nader 
MI5 Legion of Doom FSF LA SDI Echelon assassination politics COBRA JUDY 
              ( http://lesser-magoo.lcs.mit.edu/~cananian )
 --
 "These students are going to have to find out what law and order is
 all about."  -- Brig. General Robert Canterbury, Noon, May 4, 1970,
 minutes before his troops shot 13 unarmed Kent State students, killing 4.
 --
            [http://www.cs.cmu.edu/~dst/DeCSS/Gallery/]
#!/usr/bin/perl -w
# 526-byte qrpff, Keith Winstein and Marc Horowitz <si...@mit.edu>
# MPEG 2 PS VOB file on stdin -> descrambled output on stdout
# arguments: title key bytes in least to most-significant order
$_='while(read+STDIN,$_,2048){$a=29;$c=142;if((@a=unx"C*",$_)[20]&48){$h=5;
$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$b=73;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=($t=255)&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9
,$_=(map{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t
^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271))
[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [SVN-DEV] Re: working.

Posted by Ben Collins-Sussman <su...@collab.net>.
"C. Scott Ananian" <ca...@lesser-magoo.lcs.mit.edu> writes:

> On 22 Aug 2001, Ben Collins-Sussman wrote:
> 
> > gettext is GPLed, not LGPLed, so we can't use it.  Not unless we find
> > a BSD-compatible replacement, or reinvent the wheel.  We've been over
> > this bridge before.  :-)
> 
> I don't think this is right.  The gettext *standard* is Uniforum's.  It's
> not related to GNU at all.  GNU have *an implementation* of gettext, with
> some GPL'ed utilities to make it easier to generate PO files and such.
> There's *also* an implementation (perhaps the same one) of gettext in
> glibc.  THIS IMPLEMENTATION IS LGPL'ED.  Look at /usr/include/libintl.h on
> your system, if you don't believe me.

Well, I use FreeBSD, so I can't see.  :-)


> Conclusion: use 'gettext' but don't include the GNU implementation in the
> package.  Allow a non-localizable version to be compiled for people
> without a gettext(3) function in their C library.

Sounds good to me.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org