2009-01-04 10:08:30 +08:00
|
|
|
#!@SHELL@
|
2018-06-10 07:57:16 +08:00
|
|
|
# $Id: gen-pkgconfig.in,v 1.34 2018/06/09 22:21:33 tom Exp $
|
2009-01-04 10:08:30 +08:00
|
|
|
##############################################################################
|
ncurses 6.0 - patch 20180106
+ fixes for writing extended color pairs in putwin.
+ modify test/savescreen.c to add test patterns that exercise 88-,
256-, etc., colors.
+ modify configure option --with-build-cc, adding clang, c89 and c99
as possible default values.
+ modify ncurses-examples configure script to use pkg-config for the
extra form/menu/panel libraries, to be more consistent with the
handling of the curses/ncurses library.
+ modify test-packages for mingw to supply "pc" files.
+ modify gen-pkgconfig.in to list -lpthread as a private library when
configured to access it via weak symbols.
+ simplify gen-pkgconfig.in, adding -ltinfo without the special linker
checks because some versions of the linker simply hard-code the
behavior.
+ update URLs for ncurses website to use https.
+ modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
ncurses-examples are built with a system ncurses that lacks the
standard "curses" symbolic link, as done by SuSE. The symbol is
needed to make a followup check for the pthread library work, and
would be set properly using the options "--with-screen", etc.
+ generate misc/*.pc with "all" rule, as done for "sources" rule
(report by Jeffrey Walton).
2018-01-07 10:47:04 +08:00
|
|
|
# Copyright (c) 2009-2015,2018 Free Software Foundation, Inc. #
|
2009-01-04 10:08:30 +08:00
|
|
|
# #
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a #
|
|
|
|
# copy of this software and associated documentation files (the "Software"), #
|
|
|
|
# to deal in the Software without restriction, including without limitation #
|
|
|
|
# the rights to use, copy, modify, merge, publish, distribute, distribute #
|
|
|
|
# with modifications, sublicense, and/or sell copies of the Software, and to #
|
|
|
|
# permit persons to whom the Software is furnished to do so, subject to the #
|
|
|
|
# following conditions: #
|
|
|
|
# #
|
|
|
|
# The above copyright notice and this permission notice shall be included in #
|
|
|
|
# all copies or substantial portions of the Software. #
|
|
|
|
# #
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
|
|
|
|
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
|
|
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
|
|
|
|
# DEALINGS IN THE SOFTWARE. #
|
|
|
|
# #
|
|
|
|
# Except as contained in this notice, the name(s) of the above copyright #
|
|
|
|
# holders shall not be used in advertising or otherwise to promote the sale, #
|
|
|
|
# use or other dealings in this Software without prior written #
|
|
|
|
# authorization. #
|
|
|
|
##############################################################################
|
|
|
|
#
|
2011-10-09 08:51:26 +08:00
|
|
|
# Author: Thomas E. Dickey
|
2009-01-04 10:08:30 +08:00
|
|
|
#
|
|
|
|
# The complete configure script for ncurses is the ncurses5-config (or similar
|
|
|
|
# name, depending on the flavor, e.g., ncursesw5-config, ncurses6-config, etc).
|
|
|
|
# That provides more information than pkg-config, and is the portable and
|
|
|
|
# recommended solution.
|
|
|
|
#
|
|
|
|
# For each library, generate a ".pc" file which depends on the base ncurses
|
|
|
|
# library, except that the tinfo library does not depend on ncurses.
|
|
|
|
LIB_NAME=@LIB_NAME@
|
|
|
|
TINFO_NAME=@TINFO_NAME@
|
2013-03-17 09:23:04 +08:00
|
|
|
PANEL_NAME=@PANEL_NAME@
|
|
|
|
MENU_NAME=@MENU_NAME@
|
|
|
|
FORM_NAME=@FORM_NAME@
|
|
|
|
CXX_NAME=@CXX_NAME@
|
2009-01-04 10:08:30 +08:00
|
|
|
DFT_DEP_SUFFIX=@DFT_DEP_SUFFIX@
|
2010-02-07 09:40:29 +08:00
|
|
|
TINFO_ARG_SUFFIX=@TINFO_ARG_SUFFIX@
|
2009-01-04 10:08:30 +08:00
|
|
|
CXX_LIB_SUFFIX=@CXX_LIB_SUFFIX@
|
2018-06-10 07:57:16 +08:00
|
|
|
PRIVATE_LIBS="@PRIVATE_LIBS@"
|
2009-01-04 10:08:30 +08:00
|
|
|
|
2014-12-14 10:33:09 +08:00
|
|
|
suffix=@PC_MODULE_SUFFIX@
|
2009-01-04 10:08:30 +08:00
|
|
|
prefix="@prefix@"
|
|
|
|
exec_prefix="@exec_prefix@"
|
2014-01-19 08:49:51 +08:00
|
|
|
includedir="@includedir@@includesubdir@"
|
2009-01-04 10:08:30 +08:00
|
|
|
libdir="@libdir@"
|
|
|
|
|
|
|
|
show_prefix='@prefix@'
|
|
|
|
show_exec_prefix='@exec_prefix@'
|
2014-01-19 08:49:51 +08:00
|
|
|
show_includedir='@includedir@@includesubdir@'
|
2009-01-04 10:08:30 +08:00
|
|
|
show_libdir='@libdir@'
|
|
|
|
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
MAIN_LIBRARY="${LIB_NAME}@USE_ARG_SUFFIX@"
|
2010-02-07 09:40:29 +08:00
|
|
|
SUB_LIBRARY="${TINFO_ARG_SUFFIX}"
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
PANEL_LIBRARY="${PANEL_NAME}@USE_ARG_SUFFIX@"
|
|
|
|
MENU_LIBRARY="${MENU_NAME}@USE_ARG_SUFFIX@"
|
|
|
|
FORM_LIBRARY="${FORM_NAME}@USE_ARG_SUFFIX@"
|
2009-03-15 09:02:54 +08:00
|
|
|
|
2015-02-22 10:09:20 +08:00
|
|
|
CFLAGS="@PKG_CFLAGS@"
|
|
|
|
if test "$includedir" != "/usr/include" ; then
|
2015-07-05 09:59:07 +08:00
|
|
|
includetop=`echo "$includedir" | sed -e 's,/include/[^/]*$,/include,'`
|
2014-12-14 10:33:09 +08:00
|
|
|
test "$includetop" = "/usr/include" && includetop="$includedir"
|
2015-07-05 09:59:07 +08:00
|
|
|
if test "x$includetop" != "x$includedir"
|
2014-12-14 10:33:09 +08:00
|
|
|
then
|
2015-02-22 10:09:20 +08:00
|
|
|
CFLAGS="$CFLAGS -I${includetop}"
|
2014-12-14 10:33:09 +08:00
|
|
|
fi
|
2015-02-22 10:09:20 +08:00
|
|
|
CFLAGS="$CFLAGS -I\${includedir}"
|
2011-10-09 08:51:26 +08:00
|
|
|
fi
|
|
|
|
|
2015-05-17 05:01:22 +08:00
|
|
|
LDFLAGS=
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
if test "$libdir" != "/usr/lib" ; then
|
|
|
|
LDFLAGS="$LDFLAGS -L\${libdir}"
|
2011-10-09 08:51:26 +08:00
|
|
|
fi
|
2015-04-26 09:21:33 +08:00
|
|
|
if test "x@EXTRA_LDFLAGS@" != "x" ; then
|
|
|
|
LDFLAGS="$LDFLAGS @EXTRA_LDFLAGS@"
|
|
|
|
fi
|
2011-10-09 08:51:26 +08:00
|
|
|
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
# Check if we should specify the tinfo library explicitly so that terminfo
|
|
|
|
# functions or curses variables (which also reside in tinfo) can be linked
|
|
|
|
# using the -lncurses option.
|
|
|
|
NEED_TINFO=no
|
2015-05-10 09:39:21 +08:00
|
|
|
if test "x@TINFO_LIBS@" != "x" && \
|
|
|
|
test "x$TINFO_ARG_SUFFIX" != "x$MAIN_LIBRARY"
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
then
|
ncurses 6.0 - patch 20180106
+ fixes for writing extended color pairs in putwin.
+ modify test/savescreen.c to add test patterns that exercise 88-,
256-, etc., colors.
+ modify configure option --with-build-cc, adding clang, c89 and c99
as possible default values.
+ modify ncurses-examples configure script to use pkg-config for the
extra form/menu/panel libraries, to be more consistent with the
handling of the curses/ncurses library.
+ modify test-packages for mingw to supply "pc" files.
+ modify gen-pkgconfig.in to list -lpthread as a private library when
configured to access it via weak symbols.
+ simplify gen-pkgconfig.in, adding -ltinfo without the special linker
checks because some versions of the linker simply hard-code the
behavior.
+ update URLs for ncurses website to use https.
+ modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
ncurses-examples are built with a system ncurses that lacks the
standard "curses" symbolic link, as done by SuSE. The symbol is
needed to make a followup check for the pthread library work, and
would be set properly using the options "--with-screen", etc.
+ generate misc/*.pc with "all" rule, as done for "sources" rule
(report by Jeffrey Walton).
2018-01-07 10:47:04 +08:00
|
|
|
NEED_TINFO=yes
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
fi
|
|
|
|
|
2011-11-27 10:34:54 +08:00
|
|
|
for name in @PC_MODULES_TO_MAKE@
|
2009-01-04 10:08:30 +08:00
|
|
|
do
|
2012-01-01 11:05:05 +08:00
|
|
|
name="${name}"
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
LIBS="-l$name"
|
2009-01-04 10:08:30 +08:00
|
|
|
|
|
|
|
desc="ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@"
|
2011-10-09 08:51:26 +08:00
|
|
|
reqs=
|
|
|
|
|
2009-01-04 10:08:30 +08:00
|
|
|
if test $name = $MAIN_LIBRARY ; then
|
|
|
|
desc="$desc library"
|
2015-05-10 09:39:21 +08:00
|
|
|
test $NEED_TINFO = yes && LIBS="$LIBS -l$TINFO_ARG_SUFFIX"
|
2009-01-04 10:08:30 +08:00
|
|
|
elif test $name = $SUB_LIBRARY ; then
|
|
|
|
desc="$desc terminal interface library"
|
2009-03-15 09:02:54 +08:00
|
|
|
elif expr $name : ".*${CXX_NAME}.*" >/dev/null ; then
|
2014-12-14 10:33:09 +08:00
|
|
|
reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}"
|
2009-03-15 09:02:54 +08:00
|
|
|
desc="$desc add-on library"
|
2009-01-04 10:08:30 +08:00
|
|
|
else
|
2014-12-14 10:33:09 +08:00
|
|
|
reqs="$MAIN_LIBRARY${suffix}"
|
2009-01-04 10:08:30 +08:00
|
|
|
desc="$desc add-on library"
|
|
|
|
fi
|
|
|
|
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
if test $name != $SUB_LIBRARY && \
|
|
|
|
test $SUB_LIBRARY != $MAIN_LIBRARY && \
|
|
|
|
test $name != $TINFO_NAME && \
|
|
|
|
test $NEED_TINFO != yes ; then
|
|
|
|
test -n "$reqs" && reqs="$reqs, "
|
|
|
|
reqs="${reqs}${SUB_LIBRARY}${suffix}"
|
2009-01-04 10:08:30 +08:00
|
|
|
fi
|
|
|
|
|
2018-06-10 07:57:16 +08:00
|
|
|
if test $name = $MAIN_LIBRARY
|
|
|
|
then
|
|
|
|
main_libs="$PRIVATE_LIBS"
|
|
|
|
else
|
|
|
|
main_libs=
|
|
|
|
fi
|
|
|
|
|
2015-04-19 08:05:38 +08:00
|
|
|
echo "** creating ${name}${suffix}.pc"
|
2014-12-14 10:33:09 +08:00
|
|
|
cat >${name}${suffix}.pc <<EOF
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
# pkg-config file generated by `basename $0`
|
|
|
|
# vile:makemode
|
|
|
|
|
2009-01-04 10:08:30 +08:00
|
|
|
prefix=$show_prefix
|
|
|
|
exec_prefix=$show_exec_prefix
|
|
|
|
libdir=$show_libdir
|
|
|
|
includedir=$show_includedir
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
abi_version=@cf_cv_abi_version@
|
2009-01-04 10:08:30 +08:00
|
|
|
major_version=@NCURSES_MAJOR@
|
|
|
|
version=@NCURSES_MAJOR@.@NCURSES_MINOR@.@NCURSES_PATCH@
|
|
|
|
|
2014-12-14 10:33:09 +08:00
|
|
|
Name: ${name}${suffix}
|
2009-01-04 10:08:30 +08:00
|
|
|
Description: $desc
|
|
|
|
Version: \${version}
|
ncurses 6.0 - patch 20180106
+ fixes for writing extended color pairs in putwin.
+ modify test/savescreen.c to add test patterns that exercise 88-,
256-, etc., colors.
+ modify configure option --with-build-cc, adding clang, c89 and c99
as possible default values.
+ modify ncurses-examples configure script to use pkg-config for the
extra form/menu/panel libraries, to be more consistent with the
handling of the curses/ncurses library.
+ modify test-packages for mingw to supply "pc" files.
+ modify gen-pkgconfig.in to list -lpthread as a private library when
configured to access it via weak symbols.
+ simplify gen-pkgconfig.in, adding -ltinfo without the special linker
checks because some versions of the linker simply hard-code the
behavior.
+ update URLs for ncurses website to use https.
+ modify CF_CURSES_LIBS to fill in $cf_nculib_root in case the
ncurses-examples are built with a system ncurses that lacks the
standard "curses" symbolic link, as done by SuSE. The symbol is
needed to make a followup check for the pthread library work, and
would be set properly using the options "--with-screen", etc.
+ generate misc/*.pc with "all" rule, as done for "sources" rule
(report by Jeffrey Walton).
2018-01-07 10:47:04 +08:00
|
|
|
URL: https://invisible-island.net/ncurses
|
2011-10-09 08:51:26 +08:00
|
|
|
Requires.private: $reqs
|
ncurses 5.9 - patch 20150502
+ modify the configure script to allow different default values
for ABI 5 versus ABI 6.
+ add wgetch-events to test-packages.
+ add a note on how to build ncurses-examples to test/README.
+ fix a memory leak in delscreen (report by Daniel Kahn Gillmor,
Debian #783486) -TD
+ remove unnecessary ';' from E3 capabilities -TD
+ add tmux entry, derived from screen (patch by Nicholas Marriott).
+ split-out recent change to nsterm-bce as nsterm-build326, and add
nsterm-build342 to reflect changes with successive releases of OSX
(discussion with Leonardo B Schenkel)
+ add xon, ich1, il1 to ibm3161 (patch by Stephen Powell, Debian
#783806)
+ add sample "magic" file, to document ext-putwin.
+ modify gen-pkgconfig.in to add explicit -ltinfo, etc., to the
generated ".pc" file when ld option "--as-needed" is used, or when
ncurses and tinfo are installed without using rpath (prompted by
discussion with Sylvain Bertrand).
+ modify test-package for ncurses6 to omit rpath feature when installed
in /usr.
+ add OSX's "*.dSYM" to clean-rules in makefiles.
+ make extra-suffix work for OSX configuration, e.g., for shared
libraries.
+ modify Ada95/configure script to work with pkg-config
+ move test-package for ncurses6 to /usr, since filename-conflicts have
been eliminated.
+ corrected build rules for Ada95/gen/generate; it does not depend on
the ncurses library aside from headers.
+ reviewed man pages, fixed a few other spelling errors.
+ fix a typo in curs_util.3x (Sven Joachim).
+ use extra-suffix in some overlooked shared library dependencies
found by 20150425 changes for test-packages.
+ update config.guess, config.sub from
http://git.savannah.gnu.org/cgit/config.git
2015-05-03 09:06:46 +08:00
|
|
|
Libs: $LDFLAGS $LIBS
|
2018-06-10 07:57:16 +08:00
|
|
|
Libs.private: @LIBS@ $main_libs
|
2011-10-09 08:51:26 +08:00
|
|
|
Cflags: $CFLAGS
|
2009-01-04 10:08:30 +08:00
|
|
|
EOF
|
2011-10-09 08:51:26 +08:00
|
|
|
|
2009-01-04 10:08:30 +08:00
|
|
|
done
|
|
|
|
# vile:shmode
|