Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sagesmc
Path: blob/master/build/pkgs/libpng/SPKG.txt
8818 views
1
= libpng =
2
3
== Description ==
4
5
libpng is the official PNG reference library. It supports almost all PNG
6
features, is extensible, and has been extensively tested for over 13 years.
7
The home site for development versions (i.e., may be buggy or subject to
8
change or include experimental features) is http://libpng.sourceforge.net/,
9
and the place to go for questions about the library is the png-mng-implement
10
mailing list.
11
12
Website: http://www.libpng.org/pub/png/libpng.html
13
14
== License ==
15
16
The libpng license - see http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
17
18
== SPKG Maintainers ==
19
20
* William Stein
21
22
== Upstream Contact ==
23
24
The png mailing lists - see http://www.libpng.org/pub/png/pngmisc.html#lists
25
26
== Dependencies ==
27
28
This spkg depends on:
29
30
* libz
31
32
== Special Update/Build Instructions ==
33
34
* No changes went into src. There are two different tarballs, but we use the
35
one with configure.
36
* On Darwin, the symbolic links libpng.* created by libpng12 may interfere
37
with a system-wide libPng.dylib.
38
This system-wide library is likely to be a different version and on top of
39
that the symbols exported there are prefixed with "_cg" (for "Core Graphics"),
40
so even if by chance the functionalities of the two libraries were interchangeable,
41
libraries or applications looking for one and being presented the other won't
42
find the symbols they expect.
43
Note the uppercase "P" which could prevent this conflict; unfortunately, the
44
default filesystem used by Apple is case-insensitive.
45
Also note there would be no problem if the system-wide library was not looked
46
for when Sage is being built or run, but that's not the case either;
47
it is at least looked for by the "ImageIO" framework:
48
- when Python is built with Mac OS extensions, fixed in #4008;
49
- when Mercurial is built because it uses $EDITOR, cf. #4678;
50
- when R is built and it finds -lpng, cf. #4409 and #11696.
51
As not all of these problems are easily dealt with and new ones may arise,
52
we chose to delete the $SAGE_LOCAL/lib/libpng.* symlinks on Darwin.
53
Therefore, some package as matplotlib (cf. #11686) which by default looks for
54
-lpng are patched to look for -lpng12 (unless pkg-config is installed; in
55
this case indeed we can use a non-conflicting libpng.pc symlinking to
56
libpng12.pc).
57
58
== Changelog ==
59
60
=== libpng-1.2.35.p6 (Emmanuel Charpentier, December 21st 2013) ===
61
* #15561: Working around SETJMP detection (in pngconf.h) for
62
compilation of libfreetype-2.5.2, by conditioning it on the
63
PNG_SKIP_SETJMP_CHECK macro defined by libfreetype-2.5.2 being
64
undefined or set to false.
65
66
=== libpng-1.2.35.p5 (Leif Leonhardy, Jean-Pierre Flori, 19 February 2013) ===
67
* #11696: Correctly build and install libpng.
68
* Delete symlinks from libpng.* in $SAGE_LOCAL/lib on Darwin only.
69
* Fix order of additions of flags and do not drop user settings.
70
* Use $MAKE and quote $UNAME.
71
* Use SYMBOL_PREFIX trick on Cygwin to build a correct import library.
72
73
=== libpng-1.2.35.p4 (Simon King, 10th December 2011) ===
74
* #12131: Use --libdir, to make the package work on openSUSE.
75
76
=== libpng-1.2.35.p3 (David Kirkby 1st April 2011) ===
77
* Remove the erronous file '.#spkg-install' in the root
78
directory of the package.
79
80
=== libpng-1.2.35.p2 (Mike Hansen, June 4th, 2010) ===
81
* #9146: cygwin: gd doesn't correctly link in libpng with sage-4.4.3.
82
83
=== libpng-1.2.35.p1 (Jaap Spies, Feb 1th, 2010) ===
84
* Remove duplicate copy of libpng from spkg
85
* #8767: Use CPPFLAGS instead of CFLAGS for include paths
86
87
=== libpng-1.2.35.p0 (Jaap Spies, Feb 1th, 2010) ===
88
*
89
90
=== libpng-1.2.35 (Michael Abshoff, April 10th, 2009) ===
91
* update to latest upstream due to security issue in libpng (#5696)
92
93
=== libpng-1.2.34 (Michael Abshoff, February 15th, 2009) ===
94
* update to latest upstream release (security related)
95
* delete SAGE_LOCAL/lib/libpng.* to avoid OSX specific issues. This required
96
a set of other fixes.
97
* unset RM
98
* check if SAGE_LOCAL is set
99
100
=== libpng-1.2.22.p8 (Michael Abshoff, August 29th, 2008) ===
101
* Do not delete libpng.dylib on OSX
102
103
=== libpng-1.2.22.p7 (Michael Abshoff, May 22nd, 2008) ===
104
* on OSX: delete libtool files also to make graphviz compile on OSX
105
106
=== libpng-1.2.22.p6 (Michael Abshoff, May 18th, 2008) ===
107
* improve 64 bit OSX build support
108
109
=== libpng-1.2.22.p5 (michael Abshoff, Feb. 15th, 2008) ===
110
* add OSX 10.5 64 bit support
111
* fix zlib headers detection issue (#2068)
112
113
=== libpng-1.2.22.p4 (Michael Abshoff, Jan. 31st, 2008) ===
114
* remove loads of ._* files (#2010)
115
116