Skip to content

The libpng12 spkg should also create symbolic links from libpng.* for its libraries #11696

@nexttime

Description

@nexttime
mannequin

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.


Use spkg at:
http://boxen.math.washington.edu/home/jpflori/libpng-1.2.35.p5.spkg


Original changes:

libpng-1.2.35.p4 (Leif Leonhardy, August 17th 2011)

Further changes:

  • Let libpng build a correct import on Cygwin using the SYMBOL_PREFIX trick, seehttp://old.nabble.com/Fwd%3A---libpng-Bugs-2981656---Import-library-definitions-missing-in-Windows-td28130513.html.
  • Further cleanups.

CC: @jdemeyer @jhpalmieri @kcrisman @dimpase

Component: packages: standard

Keywords: PNG libpng spkg

Author: Leif Leonhardy, Jean-Pierre Flori

Reviewer: Dmitrii Pasechnik

Merged: sage-5.8.beta1

Issue created by migration from https://trac.sagemath.org/ticket/11696

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions