Date: Thu, 15 Dec 2005 00:04:22 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 669 ************************************************** Wednesday 14 December 2005 Number 669 ************************************************** Subjects for today 1 Re: libpng : Stefan.Neis at t-online.de" 2 Re: libpng : John Poltorak 1 Re: Re: libpng : John Poltorak 3 Re: libpng : Dave Yeo" 2 Re: Re: libpng : Stefan.Neis at t-online.de" 4 Re: libpng : Dave Yeo" 3 Re: libpng : Dave Yeo" 5 Re: Tar v1.1.5 : Dave Saville" **= Email 1 ==========================** Date: Tue, 13 Dec 2005 11:53:39 +0100 From: "Stefan.Neis at t-online.de" Subject: Re: libpng > What is the latest version of libpng available for OS/2? > > The latest release ix v1.2.8 according to libpng's home page:- > > http://www.libpng.org/pub/png/libpng.html Well, wxWidgets compiles v1.2.7 as part of its build process, So static libs of that version are definitely no problem on OS/2. Now, I don't quite understand how wx managed to not notice the crashes said home page claims to be unavoidable when using alpha channels, since quite some support for alpha channels was added "recently", but it does sound like we really should update wx. Regards, Stefan **= Email 2 ==========================** Date: Tue, 13 Dec 2005 14:39:26 +0000 From: John Poltorak Subject: Re: libpng On Tue, Dec 13, 2005 at 10:06:58PM +1000, Andrew MacIntyre wrote: > John Poltorak wrote: > > What is the latest version of libpng available for OS/2? > > > > The latest release ix v1.2.8 according to libpng's home page:- > > > > http://www.libpng.org/pub/png/libpng.html > > > > Anyone tried building this? > > I think there's a version on my libraries page - I've got a local build > directory with libs & a .dll, which I think I packaged up & put up; let > me know if that version isn't there. I didn't realise you had updated it, but I've just checked your version against the official distribution which actually, to my surprise, contains a pngos2.def file. Here is a diff between the two:- --- pngos2.def.andymac Sun Aug 3 19:55:02 2003 +++ pngos2.def Fri Dec 3 00:14:30 2004 at at -2,12 +2,12 at at ; PNG.LIB module definition file for OS/2 ;---------------------------------------- -; Version 1.2.5 +; Version 1.2.8 -LIBRARY PNG_125 INITINSTANCE TERMINSTANCE +LIBRARY PNG DESCRIPTION "PNG image compression library for OS/2" CODE PRELOAD MOVEABLE DISCARDABLE -DATA PRELOAD MOVEABLE MULTIPLE NONSHARED +DATA PRELOAD MOVEABLE MULTIPLE EXPORTS at at -186,7 +186,7 at at ; Added at version 1.2.0: png_mmx_support -; png_permit_empty_plte + png_permit_empty_plte png_permit_mng_features png_get_mmx_flagmask png_get_asm_flagmask at at -206,6 +206,13 at at ; Added at version 1.2.4 png_malloc_warn +; Added at version 1.2.6 + png_set_user_limits + png_get_user_height_max + png_get_user_width_max +; Added at version 1.2.7 + png_set_add_alpha + ; These are not present when libpng is compiled with PNG_NO_GLOBAL_ARRAYS png_libpng_ver png_pass_start at at -239,10 +246,3 at at png_tIME png_tRNS png_zTXt - -; extras - png_create_read_struct_2 - png_create_write_struct_2 - png_malloc_default - png_free_default - The official one does not include all the extras which yours does. Should it? It looks as though someone has updated the OS/2 related part of the official distro within the last year, but I'm not aware of an OS/2 maintainer... > ------------------------------------------------------------------------- > Andrew I MacIntyre "These thoughts are mine alone..." > E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 > andymac at pcug.org.au (alt) | Belconnen ACT 2616 > Web: http://www.andymac.org/ | Australia -- John **= Email 1 ==========================** Date: Tue, 13 Dec 2005 15:22:21 +0000 From: John Poltorak Subject: Re: Re: libpng On Tue, Dec 13, 2005 at 11:53:39AM +0100, Stefan.Neis at t-online.de wrote: > > What is the latest version of libpng available for OS/2? > > > > The latest release ix v1.2.8 according to libpng's home page:- > > > > http://www.libpng.org/pub/png/libpng.html > > Well, wxWidgets compiles v1.2.7 as part of its build process, > So static libs of that version are definitely no problem on OS/2. How about an update on wxWidgets? Don't seem to hear much about it these days. Where is the latest archive if anyone wants to try it out? > Now, I don't quite understand how wx managed to not notice the > crashes said home page claims to be unavoidable when using > alpha channels, since quite some support for alpha channels was > added "recently", but it does sound like we really should update wx. > > Regards, > Stefan > > > -- John **= Email 3 ==========================** Date: Tue, 13 Dec 2005 08:59:47 -0800 From: "Dave Yeo" Subject: Re: libpng On Tue, 13 Dec 2005 09:15:41 +0000, John Poltorak wrote: > >What is the latest version of libpng available for OS/2? > >The latest release ix v1.2.8 according to libpng's home page:- > >http://www.libpng.org/pub/png/libpng.html > >Anyone tried building this? **= Email 2 ==========================** Date: Tue, 13 Dec 2005 18:11:08 +0100 From: "Stefan.Neis at t-online.de" Subject: Re: Re: libpng Hi, > How about an update on wxWidgets? Don't seem to hear much about it these > days. Where is the latest archive if anyone wants to try it out? Where it always is: wxWidgets.org's download page. Currently we're at version 2.6.2. Regards, Stefan **= Email 4 ==========================** Date: Tue, 13 Dec 2005 09:14:17 -0800 From: "Dave Yeo" Subject: Re: libpng On Tue, 13 Dec 2005 09:15:41 +0000, John Poltorak wrote: > >What is the latest version of libpng available for OS/2? > >The latest release ix v1.2.8 according to libpng's home page:- > >http://www.libpng.org/pub/png/libpng.html > >Anyone tried building this? Sorry for hitting send on previous message before writing anything. One thing with libpng is that the 1.0.x tree is incompatible with the 1.2.x tree and really we should have both. A lot of older projects, mostly X related such as the gimp, use the 1.0.x tree. These also use ordinal numbers. I have a makefile and def for this branch which is compatible. The 1.2.x branch really should have the DLLs named something like png3.dll (see the top of png.h). I also have a makefile and def around here somewhere for the 1.2.x branch though Andrews is most likely good. Dave **= Email 3 ==========================** Date: Tue, 13 Dec 2005 09:14:08 -0800 From: "Dave Yeo" Subject: Re: libpng On Tue, 13 Dec 2005 14:39:26 +0000, John Poltorak wrote: >On Tue, Dec 13, 2005 at 10:06:58PM +1000, Andrew MacIntyre wrote: >> John Poltorak wrote: >> > What is the latest version of libpng available for OS/2? >> > >> > The latest release ix v1.2.8 according to libpng's home page:- >> > >> > http://www.libpng.org/pub/png/libpng.html >> > >> > Anyone tried building this? >> >> I think there's a version on my libraries page - I've got a local build >> directory with libs & a .dll, which I think I packaged up & put up; let >> me know if that version isn't there. > >I didn't realise you had updated it, but I've just checked your version >against the official distribution which actually, to my surprise, >contains a pngos2.def file. > >Here is a diff between the two:- > >--- pngos2.def.andymac Sun Aug 3 19:55:02 2003 >+++ pngos2.def Fri Dec 3 00:14:30 2004 > at at -2,12 +2,12 at at > ; PNG.LIB module definition file for OS/2 > ;---------------------------------------- > >-; Version 1.2.5 >+; Version 1.2.8 > >-LIBRARY PNG_125 INITINSTANCE TERMINSTANCE >+LIBRARY PNG > DESCRIPTION "PNG image compression library for OS/2" > CODE PRELOAD MOVEABLE DISCARDABLE >-DATA PRELOAD MOVEABLE MULTIPLE NONSHARED >+DATA PRELOAD MOVEABLE MULTIPLE > > EXPORTS > > at at -186,7 +186,7 at at > > ; Added at version 1.2.0: > png_mmx_support >-; png_permit_empty_plte >+ png_permit_empty_plte > png_permit_mng_features > png_get_mmx_flagmask > png_get_asm_flagmask > at at -206,6 +206,13 at at > ; Added at version 1.2.4 > png_malloc_warn > >+; Added at version 1.2.6 >+ png_set_user_limits >+ png_get_user_height_max >+ png_get_user_width_max >+; Added at version 1.2.7 >+ png_set_add_alpha >+ > ; These are not present when libpng is compiled with PNG_NO_GLOBAL_ARRAYS > png_libpng_ver > png_pass_start > at at -239,10 +246,3 at at > png_tIME > png_tRNS > png_zTXt >- >-; extras >- png_create_read_struct_2 >- png_create_write_struct_2 >- png_malloc_default >- png_free_default >- > > >The official one does not include all the extras which yours does. Should >it? It looks as though someone has updated the OS/2 related part of the >official distro within the last year, but I'm not aware of an OS/2 >maintainer... > > > If you look at the pngw32.def file you will find all the exports that we should have though ideally without the ordinals. Quite often a new version introduces new functions such as Andrew's extras. I'd add any exports that are in the pngw32.def but not in the pngos2.def. Dave **= Email 5 ==========================** Date: Wed, 14 Dec 2005 12:20:44 +0000 (GMT) From: "Dave Saville" Subject: Re: Tar v1.1.5 On Tue, 13 Dec 2005 10:46:21 +0000, John Poltorak wrote: > >I've managed to build GNU Tar v1.1.5 straight out of the box using UX2BS >and it runs with partial success, but I get warnings and errors like this >when extracting the Apache2 archive:- I assume, as it is "out of the box", that there is no support for EA's? -- Regards Dave Saville