Coder Social home page Coder Social logo

pspdev / psp-ports Goto Github PK

View Code? Open in Web Editor NEW
101.0 28.0 38.0 30.04 MB

A collection of open source software ported to the PSP.

HTML 8.56% Shell 8.84% C 69.47% C++ 3.24% Assembly 1.00% Objective-C 0.54% Makefile 2.77% Logos 0.01% Perl 0.15% CSS 0.02% XSLT 0.06% Python 0.16% SAS 0.06% Smalltalk 0.02% TeX 1.25% AppleScript 0.01% CMake 0.23% Awk 0.16% Lua 0.01% Tcl 3.44%

psp-ports's Introduction

PSP ports

This repo is no longer being used! It has been superseded by psp-packages and upstream libraries!

A collection of open source software ported to the PSP.

This repo contains various libraries with their associated patches.

These libraries are hosted at their dedicated repositories:

Library Repository
pspGL pspdev/pspgl
ogg pspdev/ogg
vorbis pspdev/vorbis
libpng pspdev/libpng
zlib pspdev/zlib
freetype2 pspdev/freetype2
sqlite pspdev/sqlite
mikmod pspdev/mikmod
SDL2 joel16/SDL2

These SDL libraries are hosted at dedicated branches in these repositories:

Library Branch @ Repository
SDL_mixer SDL_mixer-psp @ pspdev/SDL_mixer
SDL2_mixer SDL2_mixer-psp @ pspdev/SDL_mixer
SDL_ttf SDL_ttf-psp @ pspdev/SDL_ttf
SDL2_ttf SDL2_ttf-psp @ pspdev/SDL_ttf
SDL_image SDL_image-psp @ pspdev/SDL_image
SDL2_image SDL2_image-psp @ pspdev/SDL_image
SDL_gfx SDL_gfx-psp @ pspdev/SDL_gfx
SDL2_gfx SDL2_gfx-psp @ pspdev/SDL_gfx

psp-ports's People

Contributors

artart78 avatar brunorex avatar carstene1ns avatar ftpiano avatar gtzampanakis avatar iyenal avatar krystalgamer avatar libcg avatar oopo avatar samrh avatar sergiou87 avatar sharkwouter avatar spicedev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

psp-ports's Issues

sdl_mixer and libmikmod fail linking against pspsdk's libc

Here's what I get when I add -lSDL_mixer and -lmikmod to LIBS in my project's Makefile :

/usr/local/pspdev/lib/gcc/psp/4.6.3/../../../../psp/lib/libSDL_mixer.a(music_cmd.o): In function `MusicCMD_Start':
/home/geecko/psplibraries/build/SDL_mixer-1.2.11/music_cmd.c:166: undefined reference to `sigprocmask'
/home/geecko/psplibraries/build/SDL_mixer-1.2.11/music_cmd.c:173: undefined reference to `execvp'
/usr/local/pspdev/lib/gcc/psp/4.6.3/../../../../psp/lib/libSDL_mixer.a(music_cmd.o): In function `MusicCMD_Stop':
/home/geecko/psplibraries/build/SDL_mixer-1.2.11/music_cmd.c:198: undefined reference to `waitpid'
/usr/local/pspdev/lib/gcc/psp/4.6.3/../../../../psp/lib/libSDL_mixer.a(music_cmd.o): In function `MusicCMD_Active':
/home/geecko/psplibraries/build/SDL_mixer-1.2.11/music_cmd.c:234: undefined reference to `waitpid'
/usr/local/pspdev/lib/gcc/psp/4.6.3/../../../../psp/lib/libmikmod.a(mdriver.o): In function `MD_Access':
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:913: undefined reference to `getuid'
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:915: undefined reference to `getgid'
/usr/local/pspdev/lib/gcc/psp/4.6.3/../../../../psp/lib/libmikmod.a(mdriver.o): In function `MD_DropPrivileges':
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:927: undefined reference to `geteuid'
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:928: undefined reference to `getuid'
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:936: undefined reference to `getpwnam'
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:940: undefined reference to `setuid'
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:930: undefined reference to `getuid'
/home/geecko/psplibraries/build/libmikmod-3.2.0-beta2/libmikmod/../playercode/mdriver.c:930: undefined reference to `setuid'

These functions are unavailable on the PSP.

libmad doesn't build - fix proposal

Uncommenting exit in libmad.sh it says:
psp-ar: ../lib/libmad.a: No such file or directory

This can be fixed by creating 'lib' folder inside psp-ports/libmad

not all ports building

Not all ports build and install correctly. I'll start fixing them soon, if anyone could help it wouldbe appreciated.

zziplib doesn't build

I just recompiled my entire SDK but zziplib doesn't build.

/bin/sh ../libtool --silent --mode=link --tag=CC psp-gcc -O2 -D_USE_MMAP -fomit-frame-pointer -Wall -Wstrict-prototypes -Wpointer-arith -Wsign-compare -Wmissing-declarations -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o zzipwrap --export-dynamic zzipwrap.o libzzipwrap.la -lc -lpspuser psp-gcc: error: unrecognized option '--export-dynamic'

It seems to be caused by the new version of GCC : http://gcc.gnu.org/gcc-4.6/changes.html
I'm trying to fix that ASAP.

OpenAL doesn't build

Getting some really strange errors here…

Building C object CMakeFiles/openal.dir/OpenAL32/alBuffer.obj
In file included from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/alBuffer.c:28:0:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:1: error: unknown type name ‘pthread_mutex_t’
In file included from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/alEffect.c:28:0:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:1: error: unknown type name ‘pthread_mutex_t’
In file included from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345:0,
                 from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/alEffect.c:28:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:250:41: warning: unused parameter ‘state’ [-Wunused-parameter]
In file included from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345:0,
                 from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/alBuffer.c:28:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:250:41: warning: unused parameter ‘state’ [-Wunused-parameter]
In file included from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/alAuxEffectSlot.c:28:0:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:111:1: error: unknown type name ‘pthread_mutex_t’
In file included from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alMain.h:345:0,
                 from /tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/alAuxEffectSlot.c:28:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h: In function ‘RestoreFPUMode’:
/tmp/psptoolchain/build/psplibraries/build/openal-soft-1.14/OpenAL32/Include/alu.h:250:41: warning: unused parameter ‘state’ [-Wunused-parameter]
make[2]: *** [CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/openal.dir/OpenAL32/alEffect.obj] Error 1
make[2]: *** [CMakeFiles/openal.dir/OpenAL32/alBuffer.obj] Error 1
make[1]: *** [CMakeFiles/openal.dir/all] Error 2

Any idea what's going on? I'm building on a Ubuntu 12.04 machine (that image was conveniently available…), this looks like there's an include missing somewhere.

freetype in PR #17 was not configured correctly

Ah ha, here is the "someone" in PR #17 :-p. Unfortunately, this commit really gives me some trouble on Mac OS X:

  • Executable names like "psp-gcc.exe" & "psp-ar.exe" will not work in non-emulated POSIX environments, e.g., OS X in my case, due to the ".exe" suffix. However, this may not be a big deal, they could be easily detected & fixed.

  • There is no target named "install" in the make system, which means...well, breaks the outer build script in psplibraries/script/freetype.sh. Even a quick fix like this will not work:

    --- a/scripts/freetype.sh
    +++ b/scripts/freetype.sh
    @@ -1,3 +1,2 @@
    get_pspports freetype
    -run_autogen_build
    -
    +run_make -j `num_cpus`

    As a result, the library could not install itself properly. There will be no header files nor library files in usual places such as "/usr/local/pspdev/psp/include" & "/usr/local/pspdev/psp/lib", not even a "freetype-config" script to figure out where the files resides in, and what options & flags should be passed to compiler, this is really awkward...especially when composing Makefiles.

So...@gtzampanakis could you please fix these issues and make the library fit into the whole collection gracefully? Thanks in advance.

libzzip installation adds broken links with useless names

This part can probably be removed all together:

install-exec-local:
@ for i in . $(DESTDIR)$(libdir)/libzzip*.so.13 \
; do test -d $$i && continue ; lib=`basename "$$i" .so.13` \
; echo "$(DESTDIR)$(libdir): ln -s $$lib.so.13 $$lib.so.10" \
; (cd $(DESTDIR)$(libdir) && ln -s $$lib.so.13 $$lib.so.10) \
; echo "$(DESTDIR)$(libdir): ln -s $$lib.so.13 $$lib.so.11" \
; (cd $(DESTDIR)$(libdir) && ln -s $$lib.so.13 $$lib.so.11) \
; echo "$(DESTDIR)$(libdir): ln -s $$lib.so.13 $$lib.so.12" \
; (cd $(DESTDIR)$(libdir) && ln -s $$lib.so.13 $$lib.so.12) \
; done ; true

Here is a picture of the result:
Screenshot from 2020-05-01 22-21-39

I can make a pull request, but it would be untested.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.