Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
games-puzzle/pingus-0.7.6: can't play its own music files
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tux's lil' helper
Tux's lil' helper

Joined: 31 Jan 2011
Posts: 135
Location: Alaska

PostPosted: Sat Dec 08, 2012 5:15 am    Post subject: games-puzzle/pingus-0.7.6: can't play its own music files Reply with quote

I recently installed pingus-0.7.6, to try out all the new levels (haven't played it for about three years now). Installs fine and almost everything seems to work fine in the game, including sfx, but there is no music. Found messages like so on stderr:

[ERROR] Sound::PingusSoundReal::real_play_music(): Can't load music: /usr/share/games/pingus/music/' -- skipping
  Mix_Error: Unrecognized music format

Seems that all the music files are ".it" files:

$ file /usr/share/games/pingus/music/
/usr/share/games/pingus/music/ Impulse Tracker module sound data - "pingus - menus" compatible w/ITv217 created w/ITv214

So, presumably we are missing a dependency some where...? Here is the graph for pingus:

$ equery g pingus
 * Searching for pingus ...

 * dependency graph for games-puzzle/pingus-0.7.6
 `--  games-puzzle/pingus-0.7.6  amd64
   `--  media-libs/libsdl-1.2.15-r2  (media-libs/libsdl) amd64  [joystick opengl? video]
   `--  media-libs/sdl-image-1.2.12  (media-libs/sdl-image) amd64  [png]
   `--  media-libs/sdl-mixer-1.2.12-r1  (media-libs/sdl-mixer) amd64
   `--  virtual/opengl-7.0  (virtual/opengl) amd64
   `--  media-libs/libpng-1.5.13-r1  (media-libs/libpng) amd64
   `--  dev-libs/boost-1.49.0-r2  (dev-libs/boost) amd64
   `--  dev-util/scons-2.2.0  (dev-util/scons) ~amd64
[ games-puzzle/pingus-0.7.6 stats: packages (8), max depth (1) ]

Here's the usual data:

$ emerge --info "=games-puzzle/pingus-0.7.6"
Portage (default/linux/amd64/10.0/desktop, gcc-4.5.4, glibc-2.14.1-r3, 3.5.0-gentoo-gnu x86_64)
                        System Settings
System uname: Linux-3.5.0-gentoo-gnu-x86_64-AMD_Athlon-tm-_II_X3_455_Processor-with-gentoo-2.1
Timestamp of tree: Wed, 05 Dec 2012 00:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.3-r2, 3.1.4-r3, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo gamerlay x-portage
ACCEPT_LICENSE="@FREE freedist CCPL-Sampling-Plus-1.0 ISOC-rfc EDB MOTIF"
CFLAGS="-O2 -march=native"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /usr/local/portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bindist branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus deblob dri dts dvd dvdr emacs emboss encode exif fam firefox flac fluidsynth fortran gdbm gif gnutls gpm gtk iconv ipv6 jack jpeg lcms ldap libnotify mad midi mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sdl session spell sse sse2 sse4a ssl startup-notification svg tcpd theora tiff timidity truetype udev udisks unicode upower usb vorbis vpx wxwidgets x264 xcb xinerama xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2 adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11 tp6801" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa fbdev radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.6 2.7"

                        Package Settings

games-puzzle/pingus-0.7.6 was built with the following:
USE="(multilib) opengl"
CXXFLAGS="-O2 -march=native -I/usr/include/boost-1_42"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -L/usr/lib64/boost-1_42"

So, anyone know what the dealio is? It is pretty lame playing the game without music.
Back to top
View user's profile Send private message
Tux's lil' helper
Tux's lil' helper

Joined: 31 Jan 2011
Posts: 135
Location: Alaska

PostPosted: Sat Dec 08, 2012 5:26 am    Post subject: Reply with quote

Figured it out on my own. Looks like sdl-mixer has to built with the "mod" and "modplug" flags enabled. After rebuilding sdl-mixer, sound in pingus works fine. I'll file a bug report to get them to add the use flag to the pingus dependencies.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum