Util-Linux package development
 help / color / mirror / Atom feed
From: Ruediger Meier <sweet_f_a@gmx.de>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [ANNOUNCE] util-linux v2.29-rc2
Date: Thu, 20 Oct 2016 12:25:31 +0200	[thread overview]
Message-ID: <201610201225.31755.sweet_f_a@gmx.de> (raw)
In-Reply-To: <20161020091745.drjshipye5wwn2dv@ws.net.home>

On Thursday 20 October 2016, Karel Zak wrote:
> On Thu, Oct 20, 2016 at 08:03:03AM +0200, Ruediger Meier wrote:
> > On Wednesday 19 October 2016, Karel Zak wrote:
> > > The util-linux release v2.29-rc1 is available at
> > >
> > >   http://ftp.kernel.org/pub/linux/utils/util-linux/v2.29/
> > >
> > > Feedback and bug reports, as always, are welcomed.
> > >
> > >     Karel
> >
> > Looks like ncurses(w) detection does not work anymore without
> > pkgconfig files, for example on openSUSE <=13.1, SLE 12 and
> > openSUSE Leap.
>
> Ah, I have thought that people already use pkg-config for ncurses on
> all current distributions. For example we have .pc for ncurses on
> old CentOS/RHEL 6 (year 2011).
>
> I can add the fallback, but it makes configure messy. Do we really
> need it? :-)


I've just checked a bit.

The pkg-config files were introduced in ncurses 5.9 (2011). But they are 
still not enabled by default. So many distros may still miss it and 
users who install ncurses from source will probably also miss it in the 
first run. That's a bit annoying.

Actually I was not even able to figure out quickly how to install 
ncursesw.pc. Looks like this would be needed

./configure --enable-pc-files --enable-widec --enable-lib-suffixes --enable-pc-suffixes

That also means that ncurses without suffix "w" may have wide char 
support if not configured with --enable-lib-suffixes 
and --enable-pc-suffixes. So probably our new error does not really 
make sense: "wide-char support enabled, but non-wide ncurses selects"


I wonder why we don't try the config scripts (--libs --cflags) in this 
order:
 ncursesw6-config 
 ncurses6-config
 ncursesw5-config
 ncurses5-config

Looks like they are always installed by default and also always with the 
right suffixes. No fallback needed if we don't use pkg-config at all. 

cu,
Rudi

  reply	other threads:[~2016-10-20 10:25 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-19 13:25 [ANNOUNCE] util-linux v2.29-rc2 Karel Zak
2016-10-20  6:03 ` Ruediger Meier
2016-10-20  9:17   ` Karel Zak
2016-10-20 10:25     ` Ruediger Meier [this message]
2016-10-20 11:00       ` Karel Zak
2016-10-20 11:34         ` Ruediger Meier
2016-10-20 15:19           ` Karel Zak
2016-10-20 16:28             ` Ruediger Meier
2016-10-20 16:40               ` Karel Zak
2016-10-20 17:08                 ` Ruediger Meier
2016-10-21 14:44                   ` Karel Zak
2016-10-21 15:03                     ` Ruediger Meier
2016-10-20 19:20             ` Ruediger Meier
2016-12-10 17:15             ` Mike Frysinger
2016-12-12 10:29               ` Karel Zak
2016-12-12 14:31                 ` Ruediger Meier
2016-12-12 14:01               ` Ruediger Meier
2016-12-12 14:28                 ` Karel Zak
2016-12-12 18:27                   ` Mike Frysinger
2016-12-13 11:44                     ` Karel Zak
2016-12-12 17:52                 ` Mike Frysinger
2016-10-20 17:11 ` Ruediger Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201610201225.31755.sweet_f_a@gmx.de \
    --to=sweet_f_a@gmx.de \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox