(08-15-2011, 01:03 PM)Gumbo Wrote: Thanks for doing all this work Seve, a really professional job
I'm not aware of an upload limit that would preclude you uploading an srpm.
How did you compile your source? the spec file doesn't seem immediately compatible with a source compiled using gregory's "create_pcsx2_tarball_from_svn_repository.sh" script which cuts out a lot of deprecated plugins, windows stuff and other licensing problems (available in the svn repository but I've attached a copy for your convenience). I've set to work modifying your spec file to take account of this - I'll post when I'm done.
...
okay all done: it builds fine and seems to run okay on a clean install.
I'll top post the new rpms for the time being, but look over what I've done with the spec - I don't think I've altered it much - but you may disagree.
Go ahead and fee free to change what ever you like.
You may want to ensure that any changes you make, successfully pass by both a
mock build and rpmlint error free.
That is, if you wish to submit the final build to rpmfusion for inclusion at some point.
There is still one outstanding issue and that was the with the installation of
/usr/bin/Docs/*.pdf
Packaging guidelines prohibit creating sub-directories in /bin
However, I was unable to install it elsewhere and have the Application find them.
I have attached a picture of the error generated.
My spec file also built the application using Fedora libraries which I think you will find is the preferred method for package acceptance. The only exception was for SDL, which used the included 1.3x snapshot.
I was not able to successfully build the GSdx plugin without using the Internal SDL snapshot.
Code:
-- Internal SDL is a development snapshot of libsdl 1.3
Crashes can be expected and no support will be provided
-- Found Freetype: /usr/lib/libfreetype.so
-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found ALSA: /usr/lib/libasound.so
-- Found BZip2: /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- Found JPEG: /usr/lib/libjpeg.so
-- Found OpenGL: /usr/lib/libGL.so
-- Found Subversion: /usr/bin/svn (found version "1.6.17")
-- Found wxWidgets: TRUE
-- Found ZLIB: /usr/include (found version "1.2.5")
-- Found Cg: /usr/lib/libCg.so;/usr/lib/libCgGL.so
-- Found GLEW: /usr/lib/libGLEW.so
-- Found PortAudio: /usr/lib/libportaudio.so
-- Found SoundTouch: /usr/lib/libSoundTouch.so
-- Found SparseHash: /usr/include
-- Use internal pcsx2 SDL library
-- Configuring done
-- Generating done
-- Build files have been written to:
Code:
[ 2%] Built target translations_pcsx2_Iconized
[ 4%] Built target translations_pcsx2_Main
[ 26%] Built target pcsx2_SDL
[ 32%] Built target Utilities
[ 34%] Built target x86emitter
[ 34%] Built target bin2cpp
[ 69%] Built target pcsx2
[ 70%] Built target CDVDiso
[ 72%] Built target CDVDlinuz
[ 72%] Built target CDVDnull
[ 72%] Built target dev9null-0.5.0
[ 73%] Built target FWnull-0.7.0
[ 83%] Built target GSdx-0.1.16
[ 84%] Built target GSnull
[ 86%] Built target onepad-1.1.0
[ 87%] Built target PADnull
[ 87%] Built target SPU2null
[ 92%] Built target spu2x-2.0.0
[ 92%] Built target USBnull-0.7.0
[ 98%] Built target zzogl-0.3.0
[100%] Built target zerospu2
I can't upload the src rpm due to size restrictions, but, it's not really needed,
You might also want to note in the installation [Top of Post] that people need to
have the rpmfusion repositories installed to allow yum localinstall to resolve all the dependencies.