Skip to content

Commit 904ea0e

Browse files
committed
Use up-to-date config.guess and config.sub
This is required to build on modern hosts.
1 parent 9958cc4 commit 904ea0e

15 files changed

+105
-0
lines changed

scripts/002-libpng-1.4.4.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://download.sourceforge.net/libpng/libpng-1.4.4.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf libpng-1.4.4 && tar xfvz libpng-1.4.4.tar.gz && cd libpng-1.4.4
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub .
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

scripts/003-jpeg-8b.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://www.ijg.org/files/jpegsrc.v8b.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf jpeg-8b && tar xfvz jpegsrc.v8b.tar.gz && cd jpeg-8b
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub .
16+
1017
## Patch the source code.
1118
cat ../../patches/jpeg-8b-PPU.patch | patch -p1
1219

scripts/004-freetype-2.4.3.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://download.savannah.gnu.org/releases/freetype/freetype-2.4.3.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf freetype-2.4.3 && tar xfvz freetype-2.4.3.tar.gz && cd freetype-2.4.3
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub builds/unix/
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

scripts/005-pixman-0.20.0.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://cairographics.org/releases/pixman-0.20.0.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf pixman-0.20.0 && tar xfvz pixman-0.20.0.tar.gz && cd pixman-0.20.0
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub .
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

scripts/006-cairo-1.10.0.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://cairographics.org/releases/cairo-1.10.0.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf cairo-1.10.0 && tar xfvz cairo-1.10.0.tar.gz && cd cairo-1.10.0
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub build/
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

scripts/007-libogg-1.2.1.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://downloads.xiph.org/releases/ogg/libogg-1.2.1.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf libogg-1.2.1 && tar xfvz libogg-1.2.1.tar.gz && cd libogg-1.2.1
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub .
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

scripts/008-libvorbis-1.3.2.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf libvorbis-1.3.2 && tar xfvz libvorbis-1.3.2.tar.gz && cd libvorbis-1.3.2
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub .
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

scripts/009-libzip-0.9.3.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue http://www.nih.at/libzip/libzip-0.9.3.tar.bz2
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf libzip-0.9.3 && tar xfvj libzip-0.9.3.tar.bz2 && cd libzip-0.9.3
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub .
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

scripts/010-tiff-3.9.4.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ wget --tries 5 --timeout 15 --continue \
77
|| wget --continue \
88
https://github.com/downloads/ps3dev/ps3libraries/tiff-3.9.4.tar.gz
99

10+
## Download an up-to-date config.guess and config.sub
11+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
12+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
13+
1014
## Unpack the source code.
1115
rm -Rf tiff-3.9.4 && tar xfvz ./tiff-3.9.4.tar.gz && cd tiff-3.9.4
1216

17+
## Replace config.guess and config.sub
18+
cp ../config.guess ../config.sub config/
19+
1320
## Patch the source code.
1421
cat ../../patches/tiff-3.9.4-PPU.patch | patch -p1
1522

scripts/012-libxml2-2.7.8.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@
44
## Download the source code.
55
wget --continue ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz
66

7+
## Download an up-to-date config.guess and config.sub
8+
if [ ! -f config.guess ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.guess; fi
9+
if [ ! -f config.sub ]; then wget --continue http://git.savannah.gnu.org/cgit/config.git/plain/config.sub; fi
10+
711
## Unpack the source code.
812
rm -Rf libxml2-2.7.8 && tar xfvz libxml2-2.7.8.tar.gz && cd libxml2-2.7.8
913

14+
## Replace config.guess and config.sub
15+
cp ../config.guess ../config.sub .
16+
1017
## Create the build directory.
1118
mkdir build-ppu && cd build-ppu
1219

0 commit comments

Comments
 (0)