On Tue, 11 Jan 2011, Sven Joachim wrote:

On 2011-01-10 23:52 +0100, Colin Watson wrote:

Package: ncurses
Version: 5.7+20101128-1
Severity: wishlist

Apparently ncurses has an --enable-pc-files option to generate
pkg-config files.  pkg-config is quite common nowadays; perhaps it would
be worth enabling that option and installing those files in -dev?

Sounds reasonable to me.  Do you know if the lib{32,64}ncurses*-dev
packages need special treatment or if they can use the .pc files from
their normal counterparts?  I see that the .pc files set
libdir=/usr/lib, but (fortunately) do not use -L${libdir} in Libs, so
they might work for the lib{32,64}*-dev packages as well, but I'm not a
pkg-config expert.

I'm not - but there's not a lot of comment on them. fwiw, this is "ncurses.pc" from my last build:

prefix=/usr/local/ncurses
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/ncurses
major_version=5
version=5.7.20110108

Name: ncurses
Description: ncurses 5.7 library
Version: ${version}
Requires:
Libs: -L${libdir} -lncurses
Cflags: -I${includedir}

If the lib{32,64}*-dev packages needed their own .pc files, where would
those be installed?

suggestions?

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to