[opensuse-packaging] New ncurses version in STABLE, now with thread safe support
Hi, just submitted a new ncurses version 5.6 pachlevel 20080405 to factory. Please note that beside the normal libncurses 5.6 we now have libncurses 6.0. The later has two versions one is thread safe and one is thread safe combined with wide character support. This together with the libncurses 5.6 and ts normal and wide characters support requires *FOUR* different header files. To be noted: do *never* use wrong headers with any from the libraries above as this are binary incomaptible. To use the normal vesion you may link simply with the value returned from ncurses5-config --libs e.g. `-L/usr/lib -lncurses', this uses libncurses.so.5.6. Remark: the command `ncurses5-config --cflags' returns nothing as the headers of libncurses.so.5.6 are found in the standard include path. For the version with wide character support the value returned from ncursesw5-config --cflags ncursesw5-config --libs have to be used for compiling and and linkage, which use then libncursesw.so.5.6 then. For the new thread support, the new ABI 6 has to be used which is automatically returned from ncursest6-config --cflags ncursest6-config --libs to be used for compiling and and linkage, which use then libncursest.so.6.0 then. Last but not least for new thread support combined with wide character support also the new ABI 6 has to be used which is automatically returned from ncursestw6-config --cflags ncursestw6-config --libs to be used for compiling and and linkage, which use then the libncursestw.so.6.0. For more informations you may read /usr/share/doc/packages/ncurses/README.devel for further informations. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Wed, 13 Aug 2008, Dr. Werner Fink wrote:
Hi,
just submitted a new ncurses version 5.6 pachlevel 20080405 to factory. Please note that beside the normal libncurses 5.6 we now have libncurses 6.0. The later has two versions one is thread safe and one is thread safe combined with wide character support. This together with the libncurses 5.6 and ts normal and wide characters support requires *FOUR* different header files.
To be noted: do *never* use wrong headers with any from the libraries above as this are binary incomaptible.
To use the normal vesion you may link simply with the value returned from
ncurses5-config --libs
e.g. `-L/usr/lib -lncurses', this uses libncurses.so.5.6. Remark: the command `ncurses5-config --cflags' returns nothing as the headers of libncurses.so.5.6 are found in the standard include path.
For the version with wide character support the value returned from
ncursesw5-config --cflags ncursesw5-config --libs
have to be used for compiling and and linkage, which use then libncursesw.so.5.6 then.
For the new thread support, the new ABI 6 has to be used which is automatically returned from
ncursest6-config --cflags ncursest6-config --libs
to be used for compiling and and linkage, which use then libncursest.so.6.0 then.
Last but not least for new thread support combined with wide character support also the new ABI 6 has to be used which is automatically returned from
ncursestw6-config --cflags ncursestw6-config --libs
to be used for compiling and and linkage, which use then the libncursestw.so.6.0.
For more informations you may read
/usr/share/doc/packages/ncurses/README.devel
for further informations.
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0? Thanks, Richard. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Aug 14, 2008 at 02:38:23PM +0200, Richard Guenther wrote:
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0?
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
On Thu, Aug 14, 2008 at 02:38:23PM +0200, Richard Guenther wrote:
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0?
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5. Richard. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Aug 14, 2008 at 03:32:19PM +0200, Richard Guenther wrote:
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
On Thu, Aug 14, 2008 at 02:38:23PM +0200, Richard Guenther wrote:
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0?
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5.
This is a nogo because this will cause a huge rate of bugzillas due missing libraries during build. It will be only the difference between the ABI version and hold in mind that we have already a libncurses5 and not a libncurses5 and libncursesw5. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
On Thu, Aug 14, 2008 at 03:32:19PM +0200, Richard Guenther wrote:
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
On Thu, Aug 14, 2008 at 02:38:23PM +0200, Richard Guenther wrote:
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0?
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5.
This is a nogo because this will cause a huge rate of bugzillas due missing libraries during build.
I don't think so. How should the shared library packages cause missing libraries during build?
It will be only the difference between the ABI version and hold in mind that we have already a libncurses5 and not a libncurses5 and libncursesw5.
Well, past mistakes are not an excuse for new ones ;) Richard. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5.
This is a nogo because this will cause a huge rate of bugzillas due missing libraries during build.
You don't need to split the -devel packages.
It will be only the difference between the ABI version and hold in mind that we have already a libncurses5 and not a libncurses5 and libncursesw5.
That's a problem too. The ugly thing with ncurses is that it also contains four support libraries (libform, libmenu, libpanel and libtic, the former three also in two versions), which also would have to be split to be really correct, and that quickly leads to insanity. Let's declare ncurses broken beyond repair regarding nice packaging. The (unfortunately defined) API for Curses exposes too many internals to build a really nice library without duplicating all the code in four libraries. Ciao, Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Aug 14, 2008 at 04:14:01PM +0200, Michael Matz wrote:
Hi,
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5.
This is a nogo because this will cause a huge rate of bugzillas due missing libraries during build.
You don't need to split the -devel packages.
Right, this is exactly how it works.
It will be only the difference between the ABI version and hold in mind that we have already a libncurses5 and not a libncurses5 and libncursesw5.
That's a problem too. The ugly thing with ncurses is that it also contains four support libraries (libform, libmenu, libpanel and libtic, the former three also in two versions), which also would have to be split to be really correct, and that quickly leads to insanity.
Let's declare ncurses broken beyond repair regarding nice packaging. The (unfortunately defined) API for Curses exposes too many internals to build a really nice library without duplicating all the code in four libraries.
If we do not want to be backward compatible, e.g. with existing customers programs, I could drop three of four. But this would cause that all ncurses based programs will linked with the libpthread, even the bash. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 2008-08-14 09:32, Richard Guenther wrote:
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
On Thu, Aug 14, 2008 at 02:38:23PM +0200, Richard Guenther wrote:
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0?
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5.
That is needlessy more packages. $ rpm -e libncurses5 2>&1 | grep libncurses.so | wc -l 33 $ rpm -e libncurses5 2>&1 | grep libncursesw.so | wc -l 12 And that's a fair share already IMHO to put them together, like it is done in SUSE 11.0. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Aug 14, 2008 at 10:39:20AM -0400, Jan Engelhardt wrote:
On Thursday 2008-08-14 09:32, Richard Guenther wrote:
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
On Thu, Aug 14, 2008 at 02:38:23PM +0200, Richard Guenther wrote:
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0?
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5.
That is needlessy more packages.
$ rpm -e libncurses5 2>&1 | grep libncurses.so | wc -l 33 $ rpm -e libncurses5 2>&1 | grep libncursesw.so | wc -l 12
And that's a fair share already IMHO to put them together, like it is done in SUSE 11.0.
Di you want enforce all applications tio use the wide character version ... even is incompatible? Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
$ rpm -e libncurses5 2>&1 | grep libncursesw.so | wc -l 12
And that's a fair share already IMHO to put them together, like it is done in SUSE 11.0.
Di you want enforce all applications tio use the wide character version ... even is incompatible?
Jan was making a case for _not_ splitting the libraries, IOW he agrees with you. ;-) Ciao, Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 14 Aug 2008, Jan Engelhardt wrote:
On Thursday 2008-08-14 09:32, Richard Guenther wrote:
On Thu, 14 Aug 2008, Dr. Werner Fink wrote:
On Thu, Aug 14, 2008 at 02:38:23PM +0200, Richard Guenther wrote:
Shouldn't the shared libraries be split into separate packages and not simply grouped by .so.6.0 and .so.5.0?
Those libraries *are* splitted into separate packages, we have libncurses5 for 5.6 and libncurses6 for 6.0.
But you have libncurses.so.5.6 and libncursesw.so.5.6 in libncurses5 and libncursest.so.6.0 and libncursestw.so.6.0 in libncurses6, right? I was suggesting to have libncursest6, libncursestw6, libncursesw5 and libncurses5.
That is needlessy more packages.
$ rpm -e libncurses5 2>&1 | grep libncurses.so | wc -l 33 $ rpm -e libncurses5 2>&1 | grep libncursesw.so | wc -l 12
And that's a fair share already IMHO to put them together, like it is done in SUSE 11.0.
It's not about "fair share" but about policy and small size of installed systems. Richard. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Dr. Werner Fink
-
Jan Engelhardt
-
Michael Matz
-
Richard Guenther