Browse Source

Update palemoon, build with GCC 4.9.4

master
mid-kid 8 years ago
parent
commit
738c92d9bd
  1. 21
      satellites/palemoon.sat

21
satellites/palemoon.sat

@ -1,26 +1,34 @@
# TODO: Slap the devs for relying on gcc 4.9 (It segfaults often when building with newer versions, probably due to new optimizations)
name=Pale-Moon name=Pale-Moon
version=27.1.0 version=27.1.1
update_url="https://github.com/MoonchildProductions/$name/releases" update_url="https://github.com/MoonchildProductions/$name/releases"
update_names="/archive/${version}_Release.tar.gz" update_names="/archive/${version}_Release.tar.gz"
define_option 'pulseaudio: Build with support for PulseAudio' define_option 'pulseaudio: Build with support for PulseAudio'
dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \
'a1dc6f6ad97acf544504d60cfae25d4e' 'a4148016d84345b081a3c5350acaa9f6'
dlextract 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz' \ dlextract 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz' \
'9de56d4a161a723228220b0f425dc711' '9de56d4a161a723228220b0f425dc711'
dlextract 'http://ftp.gnu.org/gnu/gcc/gcc-4.9.4/gcc-4.9.4.tar.bz2' \
'87c24a4090c1577ba817ec6882602491'
extrafile 'palemoon.desktop' extrafile 'palemoon.desktop'
header_end header_end
unset CFLAGS
unset CXXFLAGS
( cd 'autoconf-2.13' ( cd 'autoconf-2.13'
./configure --prefix="$PWD/install" --program-suffix=-2.13 ./configure --prefix="$PWD/install" --program-suffix=-2.13
make make
make install make install
) )
( cd 'gcc-4.9.4'
mkdir build; cd build
../configure --prefix="$PWD/../install" --disable-bootstrap --enable-languages=c++
make
make install
)
cd "$name-${version}_Release" cd "$name-${version}_Release"
cat > .mozconfig << EOF cat > .mozconfig << EOF
@ -79,7 +87,8 @@ ac_add_options --with-system-icu
$(option pulseaudio && echo ac_add_options --enable-pulseaudio || echo ac_add_options --disable-pulseaudio) $(option pulseaudio && echo ac_add_options --enable-pulseaudio || echo ac_add_options --disable-pulseaudio)
EOF EOF
PATH="../autoconf-2.13/install/bin:$PATH" make -f client.mk build PATH="$PWD/../autoconf-2.13/install/bin:$PWD/../gcc-4.9.4/install/bin:$PATH" \
make -f client.mk build
cd pmbuild cd pmbuild
make DESTDIR="$dir_install" install make DESTDIR="$dir_install" install

Loading…
Cancel
Save