Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282363 - games-emulation/pcsx-r (New Package)
Summary: games-emulation/pcsx-r (New Package)
Status: RESOLVED DUPLICATE of bug 492936
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 3 votes (vote)
Assignee: Gentoo Games
URL: http://pcsxr.codeplex.com
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2009-08-22 21:07 UTC by Sergey Kondakov
Modified: 2013-12-11 20:04 UTC (History)
9 users (show)

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


Attachments
games-emulation/pcsx-r/pcsx-r-1.0_rc2.ebuild (pcsx-r-1.0_rc2.ebuild,1.96 KB, text/plain)
2009-08-22 21:10 UTC, Sergey Kondakov
Details
games-emulation/pcsx-r/pcsx-r-9999.ebuild (pcsx-r-9999.ebuild,1.79 KB, text/plain)
2009-08-22 21:11 UTC, Sergey Kondakov
Details
games-emulation/pcsx-r/pcsx-r-9999.ebuild (pcsx-r-9999.ebuild,1.78 KB, text/plain)
2009-09-05 23:47 UTC, Sergey Kondakov
Details
ebuild with my fixes (pcsx-r-9999.ebuild,1.73 KB, text/plain)
2009-09-06 20:58 UTC, Yaroslav Isakov
Details
pcsx-r-9999.ebuild (pcsx-r-9999.ebuild,1.57 KB, text/plain)
2009-11-26 10:52 UTC, James Le Cuirot
Details
games-emulation/pcsx-r-1.9.91.ebuild (pcsx-r-1.9.91.ebuild,1.92 KB, text/plain)
2010-01-11 18:47 UTC, Sergey Kondakov
Details
pcsxr-1.9.91 (pcsxr-1.9.91.ebuild,1.33 KB, text/plain)
2010-01-20 19:16 UTC, Michał Ziąbkowski
Details
Fixes datadir for pixmap and .desktop (pcsxr-datadir.patch,1.06 KB, patch)
2010-01-20 19:17 UTC, Michał Ziąbkowski
Details | Diff
Fixes implicit declarations in gfx plugin (pcsxr-implicit-declaration.patch,339 bytes, patch)
2010-01-23 17:02 UTC, Michał Ziąbkowski
Details | Diff
New ebuild (pcsxr-1.9.91-r1.ebuild,1.38 KB, text/plain)
2010-01-23 17:03 UTC, Michał Ziąbkowski
Details
Live SVN ebuild (pcsxr-9999.ebuild,1.31 KB, text/plain)
2010-01-23 17:03 UTC, Michał Ziąbkowski
Details
games-emulation/pcsx-r-1.9.92.ebuild (pcsx-r-1.9.92.ebuild,1.44 KB, text/plain)
2010-08-13 16:31 UTC, Sergey Kondakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Kondakov 2009-08-22 21:07:34 UTC
"PCSX-Reloaded is a PlayStation Emulator based on PCSX-df Project, with support for both Windows and GNU/Linux as well as several bugfixes/improvements."

so, pcsx-r is a fork of pcsx-df which is stagnated fork of pcsx which is old and totally unmaintained

Reproducible: Always

Steps to Reproduce:
1.eix psx
2.eix pcsx
3.eix epsxe

Actual Results:  
frustration

Expected Results:  
some quality PS1 emulator, as good as mefnafen for NES

Release Notes
- Added ability to run CD images directly.
- Added ability to switch CD images.
- GNU/Linux port: Integrated P.E.Op.S OpenGL Driver into the build tree. Ported the configuration utility to GTK2.
- GNU/Linux port: Added Cheat Code manager (Cheat Search is still not implemented).
- GNU/Linux port: Improved compatibility with x86_64 systems.
- GNU/Linux port: Supported translation of plugin configuration utilities.
- Tweaked UI.
- Bugfixes.
Comment 1 Sergey Kondakov 2009-08-22 21:10:13 UTC
Created attachment 201958 [details]
games-emulation/pcsx-r/pcsx-r-1.0_rc2.ebuild

[X] EAPI=2
[X] Gentoo 'games' paths
[!] locales (just 1 for now) not installs for some reason, probably a script bug
Comment 2 Sergey Kondakov 2009-08-22 21:11:17 UTC
Created attachment 201960 [details]
games-emulation/pcsx-r/pcsx-r-9999.ebuild

same as above but live SVN
Comment 3 Sergey Kondakov 2009-08-22 21:16:25 UTC
there is also "PCSX Rerecording" fork [http://code.google.com/p/pcsxrr/] which must be far far more advanced then any PS1 emulator but i didn't managed to compile it for gnu/linux.
author seems don't quite care but it might be helpful if someone from gentoo community will know.
Comment 4 Yaroslav Isakov 2009-09-05 21:53:45 UTC
Hello, thanks for a ebuild, but it doesn't work very well - pcsx complain about missing
/usr/share/games/pixmaps/pcsx-icon.png (it was installed in /usr/share/pixmaps/pcsx-icon.png)
/usr/local/share/psemu/dfxvideo.glade2 (it was installed in /usr/share/games/psemu/dfxvideo.glade2
etc
also configure says:
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
and
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
There is 29059 revision of pcsxr.
Comment 5 Yaroslav Isakov 2009-09-05 21:54:40 UTC
Ooops, copy-paste error :( Second message must be
configure: WARNING: unrecognized options: --enable-dfopengl
Comment 6 Yaroslav Isakov 2009-09-05 22:10:29 UTC
The last issue can be solved by changing
$(use_enable opengl dfopengl)
to
$(use_enable opengl)
Comment 7 Sergey Kondakov 2009-09-05 23:46:04 UTC
thanks for feetback.

however i know about --datarootdir issue and that's exactly what i meant with "locales (just 1 for now) not installs" and i don't know how to fix it yet :(

glade issue is new for me since i have not encountered it, didn't used 9990 though.

saw png error but didn't bother fix it yet.
Comment 8 Sergey Kondakov 2009-09-05 23:47:38 UTC
Created attachment 203243 [details]
games-emulation/pcsx-r/pcsx-r-9999.ebuild

[X] opengl error should be fixed
[TODO] png error
[TODO] locale error
[TODO] possible glade path error
Comment 9 Yaroslav Isakov 2009-09-06 20:37:26 UTC
Oops, sorry about /usr/local stuff, it's because I has non-symlinked cfg* in my .pcsx/plugins, and it was compiled with --prefix=/usr/local
Comment 10 Yaroslav Isakov 2009-09-06 20:57:57 UTC
Also, I change your ebuild:
*fixed pixmap issue
*sed -i -e "s:/usr/lib/games/psemu/:$(games_get_libdir)/psemu/:g" gui/LnxMain.c not needed because ScanAllPlugins also scans in DEF_PLUGIN_DIR ($(games_get_libdir)/psemu/)
Comment 11 Yaroslav Isakov 2009-09-06 20:58:54 UTC
Created attachment 203317 [details]
ebuild with my fixes
Comment 12 James Le Cuirot gentoo-dev 2009-11-26 10:52:33 UTC
Created attachment 211241 [details]
pcsx-r-9999.ebuild

Cleaned it up a bit. For example, src_compile was redundant. repoman was complaining about a few things. A live ebuild shouldn't be marked as stable.

The locale directory didn't exist, even if I enabled nls. I see a pt_BR file in there though, maybe it depends on LINGUAS or something?
Comment 13 Sergey Kondakov 2010-01-11 18:47:11 UTC
Created attachment 216102 [details]
games-emulation/pcsx-r-1.9.91.ebuild

version bump.

still with "locales"-issue
Comment 14 Michał Ziąbkowski 2010-01-19 14:26:52 UTC
I've committed a cleaned up version of the ebuild to the roslin overlay. It fixes some issues with dependencies and drops the mv workaround in favour of a patch. Will probably commit a live SVN ebuild soon.
Comment 15 Michał Ziąbkowski 2010-01-20 19:16:51 UTC
Created attachment 217000 [details]
pcsxr-1.9.91
Comment 16 Michał Ziąbkowski 2010-01-20 19:17:57 UTC
Created attachment 217002 [details, diff]
Fixes datadir for pixmap and .desktop
Comment 17 Michał Ziąbkowski 2010-01-23 17:02:40 UTC
Created attachment 217252 [details, diff]
Fixes implicit declarations in gfx plugin
Comment 18 Michał Ziąbkowski 2010-01-23 17:03:12 UTC
Created attachment 217254 [details]
New ebuild
Comment 19 Michał Ziąbkowski 2010-01-23 17:03:56 UTC
Created attachment 217256 [details]
Live SVN ebuild
Comment 20 Rick Harris 2010-04-18 11:27:42 UTC
Nice PS1 emulator and nice ebuild.

Good to see it rolling all it's video/audio/controller plugins into the one package.

Portage needs this especially since gtk+-1 dependant packages are now being masked in the slow move to get rid of gtk+-1 from the tree entirely.
Comment 21 Jan Buecken 2010-05-27 10:40:02 UTC
pcsxr-implicit-declaration.patch is obsolete for Live SVN: it is included (thus the ebuild fails).
Comment 22 seraph@xs4all.nl 2010-07-01 20:58:40 UTC
The pcsxr-1.9.91-r1 ebuild fails to download the source file, because it's not in the Gentoo repository yet and the codeplex site needs you to agree to the GPL first before it lets you download the file.
Comment 23 Sergey Kondakov 2010-07-02 07:02:18 UTC
change old
SRC_URI="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=pcsxr&DownloadId=98581&FileTime=129064504645100000&Build=16135"

to
SRC_URI="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=pcsxr&DownloadId=98581&FileTime=129064504645100000&Build=16821"

this is "direct" link to the file to override "GPL EULA"-nonsense... appoint MS to create a repository and this is what it will look like, just as MS's "shell"-like entity, the "power" one!

but enough of that, either we must restrict 'fetching' inside ebuild and download manually or keep up with changes.
i wonder however - what exactly has changed ? possible of course that it can change randomly all the time and we got "lucky".
Comment 24 fargred 2010-07-19 13:48:34 UTC
I've put all the files since 2010-01-20 into the local overlay, but it doesn't seems that portage has took that ebuild. After trying to create the manifest, emerge said the following:

# ebuild pcsxr-1.9.91-r1.ebuild manifest
!!! /usr/overportage/games-emulation/pcsx-r/pcsxr-1.9.91-r1.ebuild does not seem to have a valid PORTDIR structure.

What am i doing wrong?
Comment 25 Sergey Kondakov 2010-07-19 17:46:53 UTC
you are putting _pcsxr_-named ebuild into _pcsx-r_-named directory.
Comment 26 Sergey Kondakov 2010-08-13 16:31:41 UTC
Created attachment 242803 [details]
games-emulation/pcsx-r-1.9.92.ebuild
Comment 27 Wei Mingzhi 2010-08-17 03:44:47 UTC
Hi,

it seems archlinux aur guys use some shell script magic to get the correct download link, not sure if it's usable for gentoo's ebuild...

http://aur.archlinux.org/packages.php?ID=26998
Comment 28 Thomas Lindroth 2010-10-03 04:19:08 UTC
pcsx-r sometimes crash if the strict-aliasing optimization is used. I suggest stripping the flag -O3 or adding the -fno-strict-aliasing flag.

http://pcsxr.codeplex.com/workitem/7294
Comment 29 PeGa! 2011-12-13 06:17:14 UTC
I can confirm that with the actual URL the download works fine:

http://download.codeplex.com/Download?ProjectName=pcsxr&DownloadId=140521&FileTime=129254829621800000&Build=18301

Replacing the url in the last ebuild with this one does the job.
Comment 30 Myk Taylor 2012-04-30 17:18:57 UTC
After renaming the "Fixes datadir for pixmap and .desktop" from pcsxr-datadir.patch to pcsx-r-datadir.patch, the pcsx-r-1.9.92.ebuild works great for me (amd64).  I did have to  manually download the source, though.  Neither the link in the ebuild or the one in Comment 29 seems to work anymore.
Comment 31 Myk Taylor 2012-04-30 17:20:15 UTC
I should note that --enable-alsa does not seem to be accepted by the configure script.  Once installed, it works on my pulseaudio setup, though.
Comment 32 Michał Ziąbkowski 2012-04-30 17:56:33 UTC
For what it's worth, a new and improved ebuild for this has been available in the roslin overlay for some time now. And thanks to Sabayon Linux graciously mirroring the tarball, there should be no further problems with fetching.
Comment 33 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-12-11 20:04:06 UTC
I've committed 1.9.94 based on bug 492936. I've missed this one due to the hyphen in bug desc :).

@Sergey: did you actually find a good way of fetching files from codeplex? I've mirrored pcsxr for my ebuild but fetching directly from upstream would be better.

*** This bug has been marked as a duplicate of bug 492936 ***