pspdev / psp-packages

https://pspdev.github.io/psp-packages/
The Unlicense
24 stars 13 forks source link

Several config scripts are not portable yet #12

Closed sharkwouter closed 2 years ago

sharkwouter commented 2 years ago

The following files still have references to absolute paths:

Source:

➜  pspdev grep -r psp-packages .
Binary file ./psp/bin/unzzip-big matches
Binary file ./psp/bin/zzxorcat matches
Binary file ./psp/bin/zzdir matches
./psp/bin/libpng16-config:prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng16-config:exec_prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng16-config:libdir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/lib"
./psp/bin/libpng16-config:includedir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/include/libpng16"
Binary file ./psp/bin/unzzip-mix matches
./psp/bin/libpng-config:prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng-config:exec_prefix="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp"
./psp/bin/libpng-config:libdir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/lib"
./psp/bin/libpng-config:includedir="/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp/include/libpng16"
Binary file ./psp/bin/zzxordir matches
Binary file ./psp/bin/zzcat matches
./psp/bin/libmikmod-config:prefix=/__w/psp-packages/psp-packages/libmikmod/pkg/libmikmod/psp
Binary file ./psp/bin/unzzip-mem matches
Binary file ./psp/bin/unzzip matches
Binary file ./psp/bin/unzip-mem matches
Binary file ./psp/bin/zzxorcopy matches
Binary file ./psp/lib/libAngelscript.a matches
./psp/lib/pkgconfig/expat.pc:prefix=/__w/psp-packages/psp-packages/expat/pkg/expat/psp
./psp/lib/pkgconfig/libxmp.pc:prefix=/__w/psp-packages/psp-packages/libxmp/pkg/libxmp/psp
./psp/lib/pkgconfig/libxmp.pc:libdir=/__w/psp-packages/psp-packages/libxmp/pkg/libxmp/psp/lib
./psp/lib/pkgconfig/libxmp.pc:includedir=/__w/psp-packages/psp-packages/libxmp/pkg/libxmp/psp/include
./psp/lib/pkgconfig/libpng16.pc:prefix=/__w/psp-packages/psp-packages/libpng/pkg/libpng/psp
carstene1ns commented 2 years ago

At least the pkgconfig files should not matter, paths are relocated in pkgconf: https://github.com/pspdev/psp-pkgconf/blob/master/libpkgconf/personality.c#L93-L108

sharkwouter commented 2 years ago

Oh that is cool. I am having some issues using psp-pkgconf on Ubuntu 20.04 when using the pre-compiled toolchain, though. It seems to require me to compile it myself.

Here is the error, in case it's worth making an issue for:

wouter@wouter-XPS-15-9500:~$ psp-pkgconf
psp-pkgconf: symbol lookup error: psp-pkgconf: undefined symbol: pkgconf_cross_personality_deinit
sharkwouter commented 2 years ago

This has been fixed now. The pc files are not a problem.