#11696: The libpng12 spkg should also create symbolic links from `libpng.*` for
its
libraries
------------------------+---------------------------------------------------
Reporter: leif | Owner: tbd
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: packages | Keywords: PNG libpng spkg
Work_issues: | Upstream: N/A
Reviewer: | Author: Leif Leonhardy
Merged: | Dependencies:
------------------------+---------------------------------------------------
Changes (by newvalueoldvalue):
* cc: jdemeyer, jhpalmieri (added)
* status: new => needs_review
* author: => Leif Leonhardy
Old description:
> Doing so avoids trouble if `pkg-config` isn't available, and packages
> look for just `libpng`.
>
> The header `png.h` is already installed in `$SAGE_LOCAL/include/`, and a
> symbolic link from `$SAGE_LOCAL/lib/pkgconfig/libpng.pc` to the actual
> `libpng12.pc` is also created.
New description:
Doing so avoids trouble if `pkg-config` isn't available, and packages look
for just `libpng`.
The header `png.h` is already installed in `$SAGE_LOCAL/include/`, and a
symbolic link from `$SAGE_LOCAL/lib/pkgconfig/libpng.pc` to the actual
`libpng12.pc` is also created.
----
Actually the links (and a compatibility `libpng` shared library) '''are'''
created by upstream, but `spkg-install` deleted these.
----
'''New spkg: http://spkg-
upload.googlecode.com/files/libpng-1.2.35.p4.spkg'''
'''md5sum:''' `3789f82616a101eb1b00f339509f9616 libpng-1.2.35.p4.spkg`
=== libpng-1.2.35.p4 (Leif Leonhardy, August 17th 2011) ===
* #11696: Do *not* delete symbolic links from `libpng.*` (and the shared
library named `libpng.so.*`) in `$SAGE_LOCAL/lib`; see the comment in
`spkg-install` for why (cf. also #11686).
* Add `-L$SAGE_LOCAL/lib` to `LDFLAGS`, since otherwise Sage's zlib won't
be used.
* Fix order of additions to flags, and don't drop user's settings. (Some
might still intentionally get overridden though.)
* Use `$MAKE`, but also install serially since this shouldn't take much
time and is certainly safer.
* Quote also `$UNAME`.
--
Comment:
New spkg is up.
Needs review and testing, the latter especially on Darwin.
(Though I see no reason for doing so, we could still delete some of the
links / the compatibility shared library on Darwin only.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11696#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.