Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450072 - New ebuild: dev-libs/loadpng - Some glue that makes it easy to use libpng to load and save bitmaps from Allegro programs.
Summary: New ebuild: dev-libs/loadpng - Some glue that makes it easy to use libpng to ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://tjaden.strangesoft.net/loadpng/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 22:58 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2013-01-04 13:52 UTC (History)
2 users (show)

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


Attachments
loadpng-1.5.ebuild (file_450072.txt,474 bytes, text/plain)
2013-01-03 22:58 UTC, Tom Wijsman (TomWij) (RETIRED)
Details
build.log (file_450072.txt,2.59 KB, text/plain)
2013-01-03 22:59 UTC, Tom Wijsman (TomWij) (RETIRED)
Details
emerge --info (file_450072.txt,16.55 KB, text/plain)
2013-01-03 23:03 UTC, Tom Wijsman (TomWij) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-03 22:58:18 UTC
Created attachment 334258 [details]
loadpng-1.5.ebuild

Here's a start to a loadpng ebuild, I can't get it to compile yet because I haven't yet figured out what is causing the errors; will attach the build log.

If possible, I am interested in becoming a proxy maintainer for this package.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-03 22:59:21 UTC
Created attachment 334260 [details]
build.log

savepng.c: In function ‘really_save_png’:
savepng.c:191:25: error: dereferencing pointer to incomplete type
make: *** [savepng.o] Error 1
make: *** Waiting for unfinished jobs....
loadpng.c:22:30: error: ‘Z_BEST_COMPRESSION’ undeclared here (not in a function)
loadpng.c: In function ‘really_load_png’:
loadpng.c:89:9: warning: variable ‘tRNS_to_alpha’ set but not used [-Wunused-but-set-variable]
loadpng.c: In function ‘load_png_pf’:
loadpng.c:279:25: error: dereferencing pointer to incomplete type
loadpng.c: In function ‘load_memory_png’:
loadpng.c:375:25: error: dereferencing pointer to incomplete type
make: *** [loadpng.o] Error 1
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-03 23:03:44 UTC
Created attachment 334262 [details]
emerge --info

The output of `emerge --info` is too long for a comment, hence it has been attached.
Comment 3 Julian Ospald 2013-01-03 23:12:49 UTC
6 years old, does not compile... seems dead
Comment 4 Julian Ospald 2013-01-03 23:35:45 UTC
I made it compile, but there is a file collision with media-libs/allegro in 
/usr/include/loadpng.h

also, doesn't allegro already provide that functionality?
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-04 01:36:10 UTC
> also, doesn't allegro already provide that functionality?

This would explain why I didn't need to include the loadpng library before, Aseprite (see the bug I block) has Allegro as a dependency. As a result, I see no need for this dead library to be added to Portage, since it's most likely the case that this has been merged into Allegro and further developed by them.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-01-04 13:52:18 UTC
right, use loadpng from allegro