agoramachina / flam3

Automatically exported from code.google.com/p/flam3
0 stars 0 forks source link

flam3 installs invalid pkg-config file for libpng 1.4 #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install libpng 1.4.2
2. Install flam3
3. Try to compile anything against flam3 that's using it's pkg-config file

What is the expected output? 

Succesful ./configure; make

What do you see instead?

Fails to detect perfectly working libpng installation.

What version of the product are you using? On what operating system?

Linux. Gentoo. Could as well be Arch Linux, they migrated to libpng 1.4
also. Others will follow. It's only matter of time.

Please provide any additional information below.

Replace "libpng12" with "libpng" in flam3.pc.in because libpng-devel
includes libpng.pc, so it will work for both libpng 1.2 and libpng 1.4

http://code.google.com/p/flam3/source/browse/trunk/src/flam3.pc.in

sed -i -e 's:libpng12:libpng:' flam3.pc.in

Original issue reported on code.google.com by ssuomi...@unk.fi on 17 May 2010 at 11:58

GoogleCodeExporter commented 8 years ago
Also reported here: http://bugs.gentoo.org/show_bug.cgi?id=320121

Original comment by ssuomi...@unk.fi on 17 May 2010 at 12:04

GoogleCodeExporter commented 8 years ago
Sounds reasonable.  Checked in svn rev 89.

Original comment by e.reck...@gmail.com on 21 Nov 2010 at 2:56