From 646a8909b00503aee192285d6c9eb328deb09999 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sat, 25 Mar 2017 14:17:31 +0100 Subject: [PATCH] Update palemoon to 27.2.1 --- satellites/palemoon.sat | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/satellites/palemoon.sat b/satellites/palemoon.sat index 41043e3..cfda4a1 100644 --- a/satellites/palemoon.sat +++ b/satellites/palemoon.sat @@ -1,7 +1,7 @@ -# TODO: Slap the devs for relying on gcc 4.9 (It segfaults often when building with newer versions, probably due to new optimizations) +# NOTE: Requires GCC 5.x to build properly (Untested with 6.x, might cause segfaults) name=Pale-Moon -version=27.2.0 +version=27.2.1 version_autoconf=2.13 version_gcc=4.9.4 update_url="https://github.com/MoonchildProductions/$name/releases" @@ -10,17 +10,11 @@ update_names="/archive/${version}_Release.tar.gz" define_option 'pulseaudio: Build with support for PulseAudio' dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ - 'd122a69ceaac94efeeb365fce39aa31f' -dlfile "https://github.com/MoonchildProductions/$name/commit/a8a31880a42f5283f30c6f670ce7da8940fe43a3.diff" \ - 'cfeaea882f7c958ca9702399494b9338' + '85da96b5a1403be3772885f9c5852268' ( name=autoconf version="$version_autoconf" dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ '9de56d4a161a723228220b0f425dc711' ) -( name=gcc version="$version_gcc" - dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \ - '87c24a4090c1577ba817ec6882602491' -) extrafile 'palemoon.desktop' header_end @@ -30,19 +24,8 @@ header_end make install ) -( cd "gcc-$version_gcc" - sed -i -e 's/\.\/fixinc\.sh/-c true/' gcc/Makefile.in - mkdir build; cd build - ../configure --prefix="$PWD/../install" --disable-bootstrap --enable-languages=c++ - make - make install -) - cd "$name-${version}_Release" -# Circumvents segfault when loading pentadactyl (https://github.com/MoonchildProductions/Pale-Moon/issues/966) -patch -p1 -R -i ../a8a31880a42f5283f30c6f670ce7da8940fe43a3.diff - cat > .mozconfig << EOF # Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding. #ac_add_options --enable-official-branding @@ -93,7 +76,7 @@ $(option pulseaudio && echo ac_add_options --enable-pulseaudio || echo ac_add_op EOF # Build -PATH="$PWD/../autoconf-$version_autoconf/install/bin:$PWD/../gcc-$version_gcc/install/bin:$PATH" \ +PATH="$PWD/../autoconf-$version_autoconf/install/bin:$PATH" \ make -f client.mk build # Install