Re: How to do with glibc-2.1.3 in AOOo?

2011-09-16 Thread Jürgen Schmidt
On Wed, Sep 14, 2011 at 3:42 PM, Tor Lillqvist t...@iki.fi wrote: The question is why do we need this? I would think all supported platforms have standard conformant C/C++ libs. Yeah, but the code uses non-standard library functions, apparently. See external/glibc/makefile.mk. Apparently

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-15 Thread Dennis E. Hamilton
Support for w_char matters to me, but that is unrelated to work here. However, there's another place to look. I know there are command-line utilities in Subversion releases, so I went nosing around. There is an apr_lib.h reference and apr_getopt... calls. I haven't found the library and its

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-15 Thread Dave Fisher
http://apr.apache.org/docs/apr/1.4/apr__getopt_8h-source.html http://svnbook.red-bean.com/en/1.5/svn.developer.usingapi.html On Sep 15, 2011, at 1:41 PM, Dennis E. Hamilton wrote: Support for w_char matters to me, but that is unrelated to work here. However, there's another place to look.

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-15 Thread Pedro Giffuni
On Thu, 15 Sep 2011 13:41:39 -0700, Dennis E. Hamilton dennis.hamil...@acm.org wrote: Support for w_char matters to me, but that is unrelated to work here. The idea is simply to replace some glibc routines in the stubs package. If the gnu version supports w_char, then it matters, otherwise

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-15 Thread Daniel Shahaf
Yes, apr_getopt calls in Subversion would come from one of those two libraries. If you need a minimal example I suggest subversion/svnversion/main.c and subversion/tests/cmdline/atomic-ra-revprop-change.c. Dennis E. Hamilton wrote on Thu, Sep 15, 2011 at 13:41:39 -0700: Support for w_char

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-15 Thread Daniel Shahaf
Dave Fisher wrote on Thu, Sep 15, 2011 at 14:17:43 -0700: http://apr.apache.org/docs/apr/1.4/apr__getopt_8h-source.html http://svnbook.red-bean.com/en/1.5/svn.developer.usingapi.html That's an old/previous release of the book. Also: http://subversion.apache.org/HACKING On Sep 15, 2011,

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pavel Janík
On Sep 14, 2011, at 10:56 AM, Shao Zhi Zhao wrote: glibc-2.1.3 is under GNU GPL 2 Really? I think it is http://www.gnu.org/software/libc/manual/html_node/Copying.html#Copying GNU LGPL 2.1. -- Pavel Janík

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pavel Janík
On Sep 14, 2011, at 11:17 AM, Shao Zhi Zhao wrote: unzip glibc-2.1.3-stub,open the file of COPYING, Where you have got this file? -- Pavel Janík

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pedro Giffuni
On Wed, 14 Sep 2011 12:26:53 +0200, Pavel Janík pa...@janik.cz wrote: On Sep 14, 2011, at 11:17 AM, Shao Zhi Zhao wrote: unzip glibc-2.1.3-stub,open the file of COPYING, Where you have got this file? It appears listed as external source tarball in the ApacheMigration wiki. The question is

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Maho NAKATA
From: Pavel Janík pa...@janik.cz Subject: Re: How to do with glibc-2.1.3 in AOOo? Date: Wed, 14 Sep 2011 12:26:53 +0200 On Sep 14, 2011, at 11:17 AM, Shao Zhi Zhao wrote: unzip glibc-2.1.3-stub,open the file of COPYING, Where you have got this file?

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Tor Lillqvist
The question is why do we need this? I would think all supported platforms have standard conformant C/C++ libs. Yeah, but the code uses non-standard library functions, apparently. See external/glibc/makefile.mk. Apparently what's needed is getopt() and readdir_r(). In the same line of

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pedro F. Giffuni
Thanks Tor, this is all good to know! --- On Wed, 9/14/11, Tor Lillqvist t...@iki.fi wrote: ... The question is why do we need this? I would think all supported platforms have standard conformant C/C++ libs. Yeah, but the code uses non-standard library functions, apparently. Both of

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Michael Stahl
On 14.09.2011 17:23, Pedro F. Giffuni wrote: Thanks Tor, this is all good to know! --- On Wed, 9/14/11, Tor Lillqvist t...@iki.fi wrote: The question is why do we need this? I would think all supported platforms have standard conformant C/C++ libs. Yeah, but the code uses

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pedro F. Giffuni
--- On Wed, 9/14/11, Michael Stahl wrote: ... In FreeBSD we were using an independent library in some ports to support getopt_long but the regular library now supports the GNU extensions. If it's needed it can be taken from there. if it's not in a C standard at least 20 years old

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Dennis E. Hamilton
If you list the functions you have in mind, and the names of the headers normally used to introduce their signatures, I will double-check the VC++ 2008 and VC++ 2010 libraries to see what the status is. - Dennis -Original Message- From: Michael Stahl [mailto:m...@openoffice.org]

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pedro F. Giffuni
Ahem ... Guys; --- On Wed, 9/14/11, Dennis E. Hamilton dennis.hamil...@acm.org wrote: ... If you list the functions you have in mind, and the names of the headers normally used to introduce their signatures, I will double-check the VC++ 2008 and VC++ 2010 libraries to see what the status

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Dennis E. Hamilton
Most stock implementations on Windows seem to have the original BSD license. However, I found one that should work at http://suacommunity.com/dictionary/getopt-entry.php. The getopt_source.zip has two files, getopt.h and getopt_long.c, and the getopt_long.c licenses are modified BSD (i.e.,

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pedro Giffuni
On Wed, 14 Sep 2011 13:43:09 -0700, Dennis E. Hamilton dennis.hamil...@acm.org wrote: Most stock implementations on Windows seem to have the original BSD license. Including MSVC in the search produces more specific results. Mesa uses OpenBSD's version which is a 2 clause BSD license.

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Dennis E. Hamilton
Apparently the getopt.h has been cleaned up in later OpenBSD, FreeBSD releases. The Todd Miller 2002 getopt_long.c version is the same, so that looks like a clear choice. Thanks, - Dennis -Original Message- From: Pedro Giffuni [mailto:giffu...@tutopia.com] Sent: Wednesday,

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Dennis E. Hamilton
Backing up a little. I don't know if the original BSD license is a problem for Apache, but it becomes a problem downstream, so it is good to avoid having to carry that license and a NOTICE file about it around in Apache OOo. LESS RELEVANT: I've been looking for a good getopt( ) for my own use

RE: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pedro F. Giffuni
--- On Wed, 9/14/11, Dennis E. Hamilton dennis.hamil...@acm.org wrote: .. Backing up a little.  I don't know if the original BSD license is a problem for Apache, but it becomes a problem downstream, so it is good to avoid having to carry that license and a NOTICE file about it around in

Re: How to do with glibc-2.1.3 in AOOo?

2011-09-14 Thread Pedro Giffuni
On Thu, 15 Sep 2011 08:06:40 +0300, Tor Lillqvist t...@iki.fi wrote: For command line options I think the normal char is enough I don't know what the OOo code actually uses getopt() for (I am pretty sure it is just some build-time tools that actually use it...), but you can be assured that