Bug#857003: ncurses: Build x32 packages

2024-01-13 Thread Boyuan Yang
X-Debbugs-CC: d...@debian.org

On Sat, 10 Feb 2018 13:25:57 +0100 Sven Joachim  wrote:
> Control: tags -1 = wontfix
> 
> On 2017-03-06 23:38 -0300, Tiago Daitx wrote:
> 
> > On Mon, Mar 6, 2017 at 11:30 PM, Adam Borowski 
wrote:
> >>> Please consider applying the attached patch to add x32 packages to
> >>> ncurses. This patch has been a part of Ubuntu since late 2012 [1].
> >>
> >> ncurses work fine on x32, natively and/or via multiarch.  Is there a real
> >> reason to add multi_lib_ packages?
> >
> > Sorry, I forgot to add an extra comment about this particular patch.
> >
> > I'm simply trying to reduce the diff between Ubuntu and Debian and
> > these patches have been carried on for a long while and these extra
> > pieces cause constant merge failures on the Ubuntu side.
> >
> > In the case of x32 I'm really not sure if the patches are still
> > required, they have been added long ago. I'm actually interested in
> > your point of view as a maintainer - and this is the part I forgot to
> > ask you about: do you believe the x32 patches add any value to the
> > package nowadays? They seem to be no longer required.
> 
> I guess this boils down to the question to what extent Canonical/Ubuntu
> want to support x32.  Unlike Debian, they don't have an x32 port but
> instead added libx32 multilib packages for the most popular libraries
> (zlib, ncurses, readline).  Although this effort seems to have mostly
> stopped for now, since there is no libx32readline7 package while there
> used to be libx32readline6 in trusty and xenial.
> 
> From my POV these packages are a huge maintenance burden for very
> little gain, and I am neither willing nor able to support them.

From what I read from https://launchpad.net/ubuntu/+source/ncurses ,
currently Ubuntu is no longer carrying patches for src:ncurses after 2022.
Obviously this bug report ( https://bugs.debian.org/857003 ) is no longer
useful. Probably it's time to close it?

Thanks,
Boyuan Yang


signature.asc
Description: This is a digitally signed message part


Bug#857003: ncurses: Build x32 packages

2018-02-10 Thread Sven Joachim
Control: tags -1 = wontfix

On 2017-03-06 23:38 -0300, Tiago Daitx wrote:

> On Mon, Mar 6, 2017 at 11:30 PM, Adam Borowski  wrote:
>>> Please consider applying the attached patch to add x32 packages to
>>> ncurses. This patch has been a part of Ubuntu since late 2012 [1].
>>
>> ncurses work fine on x32, natively and/or via multiarch.  Is there a real
>> reason to add multi_lib_ packages?
>
> Sorry, I forgot to add an extra comment about this particular patch.
>
> I'm simply trying to reduce the diff between Ubuntu and Debian and
> these patches have been carried on for a long while and these extra
> pieces cause constant merge failures on the Ubuntu side.
>
> In the case of x32 I'm really not sure if the patches are still
> required, they have been added long ago. I'm actually interested in
> your point of view as a maintainer - and this is the part I forgot to
> ask you about: do you believe the x32 patches add any value to the
> package nowadays? They seem to be no longer required.

I guess this boils down to the question to what extent Canonical/Ubuntu
want to support x32.  Unlike Debian, they don't have an x32 port but
instead added libx32 multilib packages for the most popular libraries
(zlib, ncurses, readline).  Although this effort seems to have mostly
stopped for now, since there is no libx32readline7 package while there
used to be libx32readline6 in trusty and xenial.

>From my POV these packages are a huge maintenance burden for very
little gain, and I am neither willing nor able to support them.

Cheers,
   Sven



Bug#857003: ncurses: Build x32 packages

2017-03-06 Thread Tiago Stürmer Daitx
Package: ncurses
Version: 6.0+20161126-1
Severity: wishlist
Tags: patch

Dear Maintainer,

Please consider applying the attached patch to add x32 packages to
ncurses. This patch has been a part of Ubuntu since late 2012 [1].

The original patch [2] has outdated symbols.

Many thanks,
Tiago Daitx

[1] https://launchpad.net/ubuntu/+source/ncurses/5.9-10ubuntu2
[2]
http://launchpadlibrarian.net/123000501/ncurses_5.9-10ubuntu1_5.9-10ubuntu2.diff.gz

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (400, 'xenial-proposed'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-34-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru ncurses-6.0+20161126/debian/changelog ncurses-6.0+20161126/debian/changelog
--- ncurses-6.0+20161126/debian/changelog	2016-11-29 18:19:08.0 -0200
+++ ncurses-6.0+20161126/debian/changelog	2017-03-03 22:33:14.0 -0300
@@ -1,3 +1,9 @@
+ncurses (6.0+20161126-2) UNRELEASED; urgency=low
+
+  * Build x32 packages.
+
+ -- Matthias Klose   Wed, 14 Nov 2012 11:07:12 +0100
+
 ncurses (6.0+20161126-1) unstable; urgency=low
 
   * New upstream patchlevel.
diff -Nru ncurses-6.0+20161126/debian/control ncurses-6.0+20161126/debian/control
--- ncurses-6.0+20161126/debian/control	2016-11-28 15:50:38.0 -0200
+++ ncurses-6.0+20161126/debian/control	2016-11-30 02:13:08.0 -0200
@@ -403,3 +403,104 @@
  includes the libraries' man pages.
  .
  Non-developers likely have little use for this package.
+
+Package: libx32ncurses5
+Architecture: amd64 i386
+Priority: optional
+Depends: libx32tinfo5 (= ${binary:Version}),
+ ${shlibs:Depends}, ${misc:Depends}
+Build-Profiles: 
+Description: shared libraries for terminal handling (x32)
+ The ncurses library routines are a terminal-independent method of
+ updating character screens with reasonable optimization.
+ .
+ This package contains the shared libraries necessary to run programs
+ compiled with ncurses.
+ .
+ This package supports the x32 ABI variant of your system's
+ architecure.
+
+Package: libx32ncurses5-dev
+Architecture: amd64 i386
+Section: libdevel
+Priority: optional
+Depends: libx32tinfo5 (= ${binary:Version}), libx32ncurses5 (= ${binary:Version}),
+ libx32tinfo-dev (= ${binary:Version}),
+ libncurses5-dev (= ${binary:Version}), libc6-dev-x32, ${misc:Depends}
+Suggests: ncurses-doc
+Build-Profiles: 
+Description: developer's libraries for ncurses (x32)
+ The ncurses library routines are a terminal-independent method of
+ updating character screens with reasonable optimization.
+ .
+ This package contains the header files, static libraries
+ and symbolic links that developers using ncurses will need.
+ .
+ This package supports the x32 ABI variant of your system's
+ architecure.
+
+Package: libx32ncursesw5
+Architecture: amd64 i386
+Priority: optional
+Depends: libx32tinfo5 (= ${binary:Version}),
+ ${shlibs:Depends}, ${misc:Depends}
+Build-Profiles: 
+Description: shared libraries for terminal handling (wide character support) (x32)
+ The ncurses library routines are a terminal-independent method of
+ updating character screens with reasonable optimization.
+ .
+ This package contains the shared libraries necessary to run programs
+ compiled with ncursesw, which includes support for wide characters.
+ .
+ This package supports the x32 ABI variant of your system's
+ architecure.
+
+Package: libx32ncursesw5-dev
+Architecture: amd64 i386
+Section: libdevel
+Priority: optional
+Depends: libx32tinfo5 (= ${binary:Version}), libx32ncursesw5 (= ${binary:Version}),
+ libx32tinfo-dev (= ${binary:Version}),
+ libncursesw5-dev (= ${binary:Version}), libc6-dev-x32, ${misc:Depends}
+Suggests: ncurses-doc
+Build-Profiles: 
+Description: developer's libraries for ncursesw (x32)
+ The ncurses library routines are a terminal-independent method of
+ updating character screens with reasonable optimization.
+ .
+ This package contains the header files, static libraries
+ and symbolic links that developers using ncursesw will need.
+ .
+ This package includes support for wide characters.
+ This package supports the x32 ABI variant of your system's
+ architecure.
+
+Package: libx32tinfo5
+Architecture: amd64 i386
+Priority: optional
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Build-Profiles: 
+Description: shared low-level terminfo library for terminal handling (x32)
+ The ncurses library routines are a terminal-independent method of
+ updating character screens with reasonable optimization.
+ .
+ This package contains the shared low-level terminfo library.
+ .
+ This package supports the x32 ABI variant of your system's architecure.
+
+Package: libx32tinfo-dev
+Architecture: amd64 i386