Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43951 - Zlib support not accesible via flags when trying to emerge fakenes (NES emulator)
Summary: Zlib support not accesible via flags when trying to emerge fakenes (NES emula...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-07 05:14 UTC by Marcos González
Modified: 2004-03-07 22:04 UTC (History)
0 users

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 Marcos González 2004-03-07 05:14:12 UTC
FakeNES (Nintendo NES emulator) can support ROMs stored into compressed ZIP files. The ebuild has no option for enabling this feature (no flags or anything). If yoy compile FakeNES from the sourcefile available in their homepage you can enable Zlib support and open ZIP files.

Reproducible: Always
Steps to Reproduce:
1. Install FakeNES
2. Try to open a ZIP file including his name in the command line
3. Alternatively try to load a ZIP file from the "Load ROM" menu.

Actual Results:  
The "load *.zip" doesn't appear in the "Load ROM" menu. If you try to open a ZIP
file from the command line, the program will return a "unknown ROM format" and exit.

Expected Results:  
Loaded the ZIP and started emulating the ROM inside, as the 3.0.1 version I
downloaded from the homepage does.

To compile the sources I had to download the zipped source files from the
FakeNES WIP homepage, but also a build package. Also had to run "Autoconf" as
the "Configure" files were outdated. The Zlib support was automatically enabled.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-03-07 12:25:37 UTC
This seems to be supported via the zlib USE flag in the 0.3.0 ebuild.  Does it
not work for you?
Comment 2 Marcos González 2004-03-07 12:33:12 UTC
I dont know if the zlib USE flag works for other packages. I added it to my make.conf and did etc-update. Also used the USE="zlib". None of both enable a zlib flag:

max root # USE="zlib" emerge -pv fakenes
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild     UD] games-emulation/fakenes-0.1.5 [0.3.0] +X +gnome  92 kB
 
Total size of downloads: 92 kB
 
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-03-07 12:39:28 UTC
post the output of emerge --info please.
Comment 4 Marcos González 2004-03-07 13:41:37 UTC
max root # emerge --info
Portage 2.0.50-r1 (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 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.15/sites/www.ibiblio.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib alsa apache2 apm autofs avi berkdb bonobo cddb cdr crypt cups dga directfb encode esd evo fam fbcon flash foomaticdb freetype gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java javascript joystick jpeg lcms ldap libg++ libwww mad mikmod mldonkeypango mmx mozilla mpeg music ncurses net nls nocardbus offensive oggvorbis opengl oss pam pdflib perl plotutils png pnp python quicktime readline rogue ruby sdl slang spell ssl stencil-buffer svga tcltk tcpd tiff truetype usb x86 xatrix xface xml xml2 xmms xv xvid zlib"
 
max root # emerge -pv fakenes
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild     UD] games-emulation/fakenes-0.1.5 [0.3.0] +X +gnome  92 kB
 
Total size of downloads: 92 kB
 
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-03-07 16:50:40 UTC
Ok, the problem here is that you need fakenes 0.3.0 for zip file support but
fakenes isn't stable yet for x86 and you don't have ~x86 in your ACCEPT_KEYWORDS.

If you want to run the unstable version of fakenes you need to merge it like this:

ACCEPT_KEYWORDS="~x86" emerge fakenes

This will install the unstable version of allegro that 0.3.0 needs and then install the unstable version of fakenes.

You'll probably want to look into package.keywords from man portage.  There's
a lot of other helpful information in there as well.

Since this isn't really a bug, but rather a misunderstanding of how keywording works I'll mark this bug INVALID.
Comment 6 Marcos González 2004-03-07 22:04:38 UTC
I apologize for opening a bug that really wasnt. Thanx a lot, Mr. Bones.