Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19525 - ebuild for sexypsf 0.2.6
Summary: ebuild for sexypsf 0.2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
: 46002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-17 21:00 UTC by Bret Towe
Modified: 2004-07-16 09:16 UTC (History)
3 users (show)

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


Attachments
sexypsf/sexypsf-0.2.6.ebuild (sexypsf-0.2.6.ebuild,983 bytes, text/plain)
2003-04-17 21:01 UTC, Bret Towe
Details
sexypsf/sexypsf-0.4.3.ebuild (sexypsf-0.4.3.ebuild,847 bytes, text/plain)
2003-10-06 19:06 UTC, Bret Towe
Details
sexyspc-0.4.4.ebuild (sexyspc-0.4.4.ebuild,1.55 KB, text/plain)
2004-02-06 14:25 UTC, Travis Tilley (RETIRED)
Details
sexypsf-0.4.5.ebuild (sexypsf-0.4.5.ebuild,987 bytes, text/plain)
2004-03-29 08:28 UTC, David Masover
Details
files/gentoo-0.4.5.patch (gentoo-0.4.5.patch,1.43 KB, patch)
2004-03-29 08:29 UTC, David Masover
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Towe 2003-04-17 21:00:27 UTC
no ebuild exists for this so i made one
the program is a player for playstation format music files
has an xmms plugin and a gtk based one
the gtk based one needs testing it might not work for me due to fact im on a 2.5
kernel


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bret Towe 2003-04-17 21:01:18 UTC
Created attachment 10814 [details]
sexypsf/sexypsf-0.2.6.ebuild

im not sure where this would go i put in media-plugins but with the seperate
app it has maybe its better suited elsewhere?
Comment 2 Bret Towe 2003-10-06 19:06:41 UTC
Created attachment 18881 [details]
sexypsf/sexypsf-0.4.3.ebuild

almost 6 months later .4.3 is out
i removed the moding the ebuild did to cflags
Comment 3 Spider (RETIRED) gentoo-dev 2003-11-30 15:39:24 UTC
I can't test this so I won't add it, here are some comments however: 

DEPEND="x11-libs/gtk+
		xmms? ( media-sound/xmms )"


all versions of gtk?  neat.
KEYWORDS="x86"
No. ~x86


mangled header
Comment 4 Bret Towe 2004-01-21 18:39:05 UTC
0.4.4 is out
to test it you can get some psf files from
http://www.zophar.net/psf/
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-02-06 03:39:14 UTC
this program can run on other archs than x86 with a little bit of ebuild editing. also, it seems to hate 64bit systems.

also... it doesn't depend directly on gtk at all:

ayanami Linux # ldd sexypsf
        libz.so.1 => /usr/lib/libz.so.1 (0x55580000)
        libc.so.6 => /lib/libc.so.6 (0x5558f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)

the xmms plugin depends on xmms, which depends on gtk... which isn't quite the same as depending on gtk.

only in 64bit do i get this:
ayanami Linux # ./sexypsf
Segmentation fault

I'll clean the ebuild up today and submit it. hopefully with fixes for the 64bit issues.

for now... it's 6:38am and i have yet to sleep. O_O
Comment 6 Travis Tilley (RETIRED) gentoo-dev 2004-02-06 14:25:11 UTC
Created attachment 25108 [details]
sexyspc-0.4.4.ebuild

updated and cleaned. compiles on amd64, but segfaults. works perfectly on x86.
untested on ppc, but it SHOULD work there now too. untested on sparc, and i'm
guessing it's not going to work there.

I would like to note that the command-line version of this is meant for
debugging and testing only in the readme the author provides... so the xmms
plugin is the only part that's supposed to really work. but at the moment, the
xmms plugin is optional like in the original ebuild.
Comment 7 Travis Tilley (RETIRED) gentoo-dev 2004-02-06 14:28:11 UTC
oh yeah, forgot to mention: untested on alpha, but it really should work there.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-09 02:55:48 UTC
Where can I get or how can I rip spf's to test this out?
Comment 9 Bret Towe 2004-02-09 10:17:12 UTC
comment #4 has url to a psf archive
(ripping the music from psx cds is a pain getting em is easier)
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-09 11:30:28 UTC
I get this error when runnign th epsf

$ xmms FF7\ 319\ Aerith\'s\ Theme.minipsf 
ALSA lib pcm_hw.c:535:(snd_pcm_hw_pause) SNDRV_PCM_IOCTL_PAUSE failed: File descriptor in bad state

but sexypsf works fine.  What version of xmms did you test this on?  Can you try it woth 1.2.9-r2?  Maybe something borked...
Comment 11 Bret Towe 2004-02-09 12:23:39 UTC
xmms loads doesnt play when trying to kill it/exit it gives that error
perhaps it doesnt like minipsf format...
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-12 03:42:37 UTC
well... I posted a comment on their forums, but still hav eno response... I want to get this bug taken care of before committing this ebuild.
Comment 13 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-11 11:19:45 UTC
still no response to my bug report after 1 month... I don't want to add a package to portage that is buggy off the bat with no support upstream...
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-28 16:45:43 UTC
*** Bug 46002 has been marked as a duplicate of this bug. ***
Comment 15 David Masover 2004-03-29 08:27:18 UTC
0.4.5 is out

There shouldn't really be significant changes to any ebuilds we might have.

I didn't know there was a gtk+ interface, which is why my ebuild didn't have one.  In fact, as I scroll down the list, gtk+ support was a bad idea anyway.

I haven't really looked at these other ebuilds much, but mine (attaching for 0.4.5) includes a patch for its makefiles to remove all its own optimizations and force to use CFLAGS.  If the user wants -ffast-math, that's up to them -- they don't necessarily have to put it in global CFLAGS to want it in this package.

Because flac is in media-libs, I thought it should go in media-libs -- also, because it's only a plugin if USE="xmms".

Works fine on 2.6, and I only ever tried it with pure .psf files -- none of these minipsf/libpsf things, and it isn't supposed to work with psf2.  But the only other psf player for Linux is closed source and compiled against gcc 2.
Comment 16 David Masover 2004-03-29 08:28:24 UTC
Created attachment 28288 [details]
sexypsf-0.4.5.ebuild
Comment 17 David Masover 2004-03-29 08:29:20 UTC
Created attachment 28289 [details, diff]
files/gentoo-0.4.5.patch

goes in files/, patches Makefiles to use user's CFLAGS
Comment 18 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-29 09:19:15 UTC
I tested 0.4.4... I'll see if 0.4.5 fixes the bug... if not, it will remain WONTFIX unless someone can correct it...
Comment 19 David Masover 2004-03-29 09:46:55 UTC
> $ xmms FF7\ 319\ Aerith\'s\ Theme.minipsf 

You tested it with a minipsf file.  I haven't tried that, but it does work with straight '.psf' files.  Usually both versions are distributed in the same place -- if you can't find any, I can send you some to test.

I've been using this since at least 0.4.3.  0.4.3 had error messages every time I changed the song or hit "stop" while playing a psf file, but those were not fatal and ended with 0.4.4.
Comment 20 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-30 17:22:14 UTC
this is now in portage, but I won't mark it stable unless that xmms plugin bug gets fixed.
Comment 21 René Rhéaume (a.k.a. repzilon, rener) 2004-07-16 09:16:54 UTC
xodnizel.net contents was wiped for an unknown reason. I found one place which still hosts the source archive. It's at http://www.zophar.net/utilities/download/sexypsf045.tar.gz , but you are better to ask webmasters first.

About the bug described in comment #10, it happens when you use the ALSA output plug-in in XMMS. If you use the OSS plug-in (even with ALSA drivers), playback is fine. It's unrelated to miniPSF files.