From 5285a032e1d261519124a85eceaf148c44335884 Mon Sep 17 00:00:00 2001 From: Damian Parrino Date: Sun, 7 Jun 2026 11:08:25 -0300 Subject: [PATCH 1/3] add pthread-emb --- archives/archives.txt | 5 +++-- scripts/032-pthread-emb.sh | 12 ++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100755 scripts/032-pthread-emb.sh diff --git a/archives/archives.txt b/archives/archives.txt index b6be568..887e54d 100644 --- a/archives/archives.txt +++ b/archives/archives.txt @@ -25,7 +25,8 @@ d12e48309d6d1cfdc31a6ebf866c25db 3489179 https://github.com/Mbed-TLS/mbedtls/re - - https://github.com/wargio/NoRSX/tarball/master -> NoRSX.tar.gz - - https://github.com/sergiou87/ps3debugnet/tarball/master -> ps3debugnet.tar.gz - - https://github.com/wargio/ps3soundlib/tarball/master -> ps3soundlib.tar.gz -- - https://github.com/wargio/tiny3d/tarball/master -> tiny3d.tar.gz -- - https://github.com/bucanero/libunrar-ps3/tarball/master -> libunrar.tar.gz +- - https://github.com/wargio/tiny3d/tarball/master -> tiny3d.tar.gz +- - https://github.com/bucanero/libunrar-ps3/tarball/master -> libunrar.tar.gz - - https://github.com/sahlberg/libnfs/tarball/master -> libnfs.tar.gz - - https://github.com/sahlberg/libsmb2/tarball/master -> libsmb2.tar.gz +- - https://github.com/bucanero/pthread-emb-ps3/tarball/master -> pthread-emb-ps3.tar.gz diff --git a/scripts/032-pthread-emb.sh b/scripts/032-pthread-emb.sh new file mode 100755 index 0000000..d86226b --- /dev/null +++ b/scripts/032-pthread-emb.sh @@ -0,0 +1,12 @@ +#!/bin/sh -e +# +# pthread-emb ps3 library + +## Download the source code. +../download.sh pthread-emb-ps3.tar.gz + +## Unpack the source code. +rm -Rf pthread-emb-ps3 && mkdir pthread-emb-ps3 && tar --strip-components=1 --directory=libunrar -xvzf ../archives/pthread-emb-ps3.tar.gz && cd pthread-emb-ps3/platform/psl1ght + +## Compile and install. +${MAKE:-make} install From bf30f0303a52cffda779a5bedc845cce548dc128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Parrino?= Date: Sun, 7 Jun 2026 11:40:12 -0300 Subject: [PATCH 2/3] Fix extraction directory for pthread-emb-ps3 --- scripts/032-pthread-emb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/032-pthread-emb.sh b/scripts/032-pthread-emb.sh index d86226b..b6d8a88 100755 --- a/scripts/032-pthread-emb.sh +++ b/scripts/032-pthread-emb.sh @@ -6,7 +6,7 @@ ../download.sh pthread-emb-ps3.tar.gz ## Unpack the source code. -rm -Rf pthread-emb-ps3 && mkdir pthread-emb-ps3 && tar --strip-components=1 --directory=libunrar -xvzf ../archives/pthread-emb-ps3.tar.gz && cd pthread-emb-ps3/platform/psl1ght +rm -Rf pthread-emb-ps3 && mkdir pthread-emb-ps3 && tar --strip-components=1 --directory=pthread-emb-ps3 -xvzf ../archives/pthread-emb-ps3.tar.gz && cd pthread-emb-ps3/platform/psl1ght ## Compile and install. ${MAKE:-make} install From 698433250c4f8c0013c96809522924ecff1d0bfa Mon Sep 17 00:00:00 2001 From: Damian Parrino Date: Sun, 7 Jun 2026 11:54:21 -0300 Subject: [PATCH 3/3] Update build.yml --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9a4481..fc48b90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: run: | curl -sL https://github.com/bucanero/ps3toolchain/releases/download/ubuntu-latest-fad3b5fb/ps3dev-ubuntu-latest-2020-08-31.tar.gz | tar xvz -C ./ curl -sL https://github.com/ps3dev/PSL1GHT/raw/master/ppu/include/sysutil/sysutil.h -o ps3dev/ppu/include/sysutil/sysutil.h + curl -sL https://github.com/ps3dev/PSL1GHT/raw/master/ppu/include/sys/atomic.h -o ps3dev/ppu/include/sys/atomic.h curl -sL https://gist.github.com/bucanero/150ec41325894bbd1b4513ecb9e1cfb6/raw/1814600a1b3c804209c4f71dd6316779e160cb25/utime.h -o ps3dev/ppu/ppu/include/sys/utime.h echo "PS3DEV=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV echo "PSL1GHT=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV