Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9651 - libpng 1.2.5 is out !
Summary: libpng 1.2.5 is out !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-25 09:03 UTC by mgirard
Modified: 2002-11-29 16:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mgirard 2002-10-25 09:03:50 UTC
Problem: libpng-1.2.4.tar.bz2 in no longer available at swrinde.nde.swri.edu
In its place there is a new version, libpng-1.2.5.tar.bz2. Right now anything
that depends on png (and the png use flag is in make.defaults) will fail to
compile if the user needs to download the png library. The compiling works fine,
but that is not much good if the user can't get the source.

Suggested fix: create a libpng-1.2.5 ebuild
Comment 1 mgirard 2002-10-25 09:09:39 UTC
No changes are needed to the ebuild file. Simply copy to libpng-1.2.5.ebuild and
use the following for "digest-libpng-1.2.5":

MD5 0cec860559f2f5f7145da3c6851bacb7 libpng-1.2.5.tar.gz 505988
Comment 2 SpanKY gentoo-dev 2002-10-25 10:10:54 UTC
root@vapier root # wget 
ftp://ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/libpng-1.2.4.tar.gz 
--11:10:40--  
ftp://ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/libpng-1.2.4.tar.gz 
           => `libpng-1.2.4.tar.gz' 
Resolving ftp.ibiblio.org... done. 
Connecting to ftp.ibiblio.org[152.2.210.81]:21... connected. 
Logging in as anonymous ... Logged in! 
==> SYST ... done.    ==> PWD ... done. 
==> TYPE I ... done.  ==> CWD /pub/Linux/distributions/gentoo/distfiles ... 
done. 
==> PORT ... done.    ==> RETR libpng-1.2.4.tar.gz ... done. 
Length: 520,206 (unauthoritative) 
 
100%[==================================================>] 520,206      
449.57K/s    ETA 00:00 
 
11:10:42 (449.57 KB/s) - `libpng-1.2.4.tar.gz' saved [520206] 
 
Comment 3 SpanKY gentoo-dev 2002-10-25 11:50:28 UTC
added to cvs 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-28 18:01:20 UTC
the fix would be to add 1.2.4 to the mirrors for now. 1.2.5 is masked into
testing as it breaks things like gnome.
Comment 5 SpanKY gentoo-dev 2002-10-28 20:30:08 UTC
its not that it breaks them, its that they need to link against more things ... 
you compile with '-lpng -lz -lstdc++' not just '-lpng' ... 
 
and my bad :/ 
Comment 6 mgirard 2002-10-29 07:59:10 UTC
Funny, I built my gnome2 linked against 1.2.5 when 1.2.4 wasn't on the mirror
and I have not had any problems with it (but that is VERY far from exhaustive
testing, just my experiance).
Comment 7 Nick Hadaway 2002-10-30 18:57:15 UTC
Adding this sed line will stop the -I/usr/include warnings...
-e "s:-I\$(ZLIBINC)::" \

AND

See bug #6760 for proof of...
------ Additional Comment #5 From SpanKY 2002-10-28 20:30 -------

its not that it breaks them, its that they need to link against more things ... 
you compile with '-lpng -lz -lstdc++' not just '-lpng' ... 

I only added -lz... -lstdc++ isn't needed...
Comment 8 SpanKY gentoo-dev 2002-10-30 22:22:18 UTC
actually the reason that worked was because you had -lm ... 
-lm or -lstdc++ ... both provide the 'pow' function ...