mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[alpha] Recognize and use "--sysroot=DIR" in libpng-config.in and libpng.pc.in
Recognize and use environment variable $PKG_CONFIG_SYSROOT_DIR as default
setting of ${sysroot} in libpng.pc.in
This commit is contained in:
7
ANNOUNCE
7
ANNOUNCE
@@ -49,8 +49,8 @@ version 1.4.1alpha02 [December 11, 2009]
|
||||
Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
|
||||
to put png.h and pngconf.h in $prefix/include, like the other scripts,
|
||||
instead of in $prefix/include/libpng. Also revised makefile.sco
|
||||
to put them in $prefix/include/libpng14 instead of in
|
||||
$prefix/include/libpng/libpng14.
|
||||
to put them in $prefix/include/libpng15 instead of in
|
||||
$prefix/include/libpng/libpng15.
|
||||
Relocated png_do_chop() to its original position in pngrtran.c; the
|
||||
change in version 1.2.41beta08 caused transparency to be handled wrong
|
||||
in some 16-bit datastreams (Yusaku Sugai).
|
||||
@@ -67,6 +67,9 @@ version 1.5.0alpha01 [January 2, 2010]
|
||||
Makefile.in to be consistent with changes in libpng-1.4.0rc03
|
||||
Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
|
||||
in pngtest.c
|
||||
Recognize and use "--sysroot=DIR" in libpng-config.in and libpng.pc.in
|
||||
Recognize and use environment variable $PKG_CONFIG_SYSROOT_DIR as default
|
||||
setting of ${sysroot} in libpng.pc.in
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
||||
7
CHANGES
7
CHANGES
@@ -2431,8 +2431,8 @@ version 1.4.1alpha02 [December 11, 2009]
|
||||
Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
|
||||
to put png.h and pngconf.h in $prefix/include, like the other scripts,
|
||||
instead of in $prefix/include/libpng. Also revised makefile.sco
|
||||
to put them in $prefix/include/libpng14 instead of in
|
||||
$prefix/include/libpng/libpng14.
|
||||
to put them in $prefix/include/libpng15 instead of in
|
||||
$prefix/include/libpng/libpng15.
|
||||
Relocated png_do_chop() to its original position in pngrtran.c; the
|
||||
change in version 1.2.41beta08 caused transparency to be handled wrong
|
||||
in some 16-bit datastreams (Yusaku Sugai).
|
||||
@@ -2450,6 +2450,9 @@ version 1.5.0alpha01 [January 2, 2010]
|
||||
Updated copyright year to 2010.
|
||||
Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
|
||||
in pngtest.c
|
||||
Recognize and use "--sysroot=DIR" in libpng-config.in and libpng.pc.in
|
||||
Recognize and use environment variable $PKG_CONFIG_SYSROOT_DIR as default
|
||||
setting of ${sysroot} in libpng.pc.in
|
||||
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# libpng-config
|
||||
# provides configuration info for libpng.
|
||||
|
||||
# Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson
|
||||
# Copyright (C) 2002, 2004, 2006, 2007, 2010 Glenn Randers-Pehrson
|
||||
|
||||
# This code is released under the libpng license.
|
||||
# For conditions of distribution and use, see the disclaimer
|
||||
@@ -11,11 +11,12 @@
|
||||
|
||||
# Modeled after libxml-config.
|
||||
|
||||
sysroot=""
|
||||
version="@PNGLIB_VERSION@"
|
||||
prefix="@prefix@"
|
||||
exec_prefix="@exec_prefix@"
|
||||
libdir="@libdir@"
|
||||
includedir="@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
|
||||
prefix="${sysroot}@prefix@"
|
||||
exec_prefix="${sysroot}@exec_prefix@"
|
||||
libdir="${sysroot}@libdir@"
|
||||
includedir="${sysroot}@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
|
||||
libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@"
|
||||
all_libs="-lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ @LIBS@"
|
||||
I_opts="-I${includedir}"
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
|
||||
sysroot=${PKG_CONFIG_SYSROOT_DIR}
|
||||
prefix=${sysroot}@prefix@
|
||||
exec_prefix=${sysroot}@exec_prefix@
|
||||
libdir=${sysroot}@libdir@
|
||||
includedir=${sysroot}@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
|
||||
|
||||
Name: libpng
|
||||
Description: Loads and saves PNG files
|
||||
|
||||
Reference in New Issue
Block a user