Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47707 - xloadimage 4.1.-r1 lacks PNG support even with USE="png" set
Summary: xloadimage 4.1.-r1 lacks PNG support even with USE="png" set
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 07:59 UTC by Greg Watson (linuxkrn)
Modified: 2004-06-03 20:06 UTC (History)
1 user (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 Greg Watson (linuxkrn) 2004-04-13 07:59:24 UTC
xloadimage has three USE flags tiff,jpeg,png.  However, with USE="png" set the binary still doesn't have PNG support.

$ emerge -vp xloadimage
[ebuild   R   ] media-gfx/xloadimage-4.1-r1  +jpeg +png +tiff

$ xloadimage -supported

Type Name  Can Dump Description
---------- -------- -----------
niff       Yes      Native Image File Format (NIFF)
sunraster  No       Sun Rasterfile
gif        No       GIF Image
jpeg       Yes      JFIF-style JPEG Image
tiff       Yes      TIFF image
png        No       PNG image
fbm        No       FBM Image
cmuraster  No       CMU WM Raster
pbm        Yes      Portable Bit Map (PBM, PGM, PPM)
faces      No       Faces Project
rle        No       Utah RLE Image
xwd        No       X Window Dump
vff        No       Sun Visualization File Format
mcidas     No       McIDAS areafile
vicar      No       VICAR Image
pcx        No       PC Paintbrush Image
gem        No       GEM Bit Image
macpaint   No       MacPaint Image
xpm        No       X Pixmap
xbm        No       X Bitmap


It should also be noted that X[pb]m should be supported as well.  Not sure why there are so many unsupported formats. 

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo rsync://cudlug.cudenver.edu/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd evo foomaticdb gdbm gif gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad mikmod milter mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba sdl slang spell sse ssl svga tcpd tiff truetype x86 xinerama xml2 xmms xv zlib"
Comment 1 Greg Watson (linuxkrn) 2004-06-03 20:06:15 UTC
/* void pngDump(Image *image, char *options, char *file, int verbose); */

 * TODO:
 * pngLoad(): Alpha channel, Transparency palette.
 * pngDump(): Dump.

*/

Appears that the code for most of them are not finished. :-/