Package Details: palemoon 1:33.2.0-1

Git Clone URL: https://aur.archlinux.org/palemoon.git (read-only, click to copy)
Package Base: palemoon
Description: Open source web browser based on Firefox focusing on efficiency.
Upstream URL: https://www.palemoon.org/
Keywords: browser goanna web
Licenses: MPL-2.0
Submitter: artiom
Maintainer: WorMzy
Last Packager: WorMzy
Votes: 141
Popularity: 0.010416
First Submitted: 2014-06-05 10:54 (UTC)
Last Updated: 2024-06-18 17:22 (UTC)

Pinned Comments

micwoj92 commented on 2024-06-02 13:20 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 39a928a..05d50a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ url="https://www.palemoon.org/"
 license=('MPL-2.0')
 depends=('gtk2' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'alsa-lib'
          'startup-notification')
-makedepends=('python2' 'autoconf2.13' 'unzip' 'zip' 'yasm'
+makedepends=('python2' 'unzip' 'zip' 'yasm'
              'libpulse' 'git')
 optdepends=('libpulse: PulseAudio audio driver'
             'ffmpeg: various video and audio support')
@@ -38,6 +38,10 @@ prepare() {
   git submodule init
   git config submodule.platform.url "${srcdir}/UXP"
   git -c protocol.file.allow=always submodule update
+  cd platform
+  git cherry-pick -n 6cbb2c372b208902e765aa577539c018d76ba1b8
+  git cherry-pick -n e484c9d31136fc7e197bb0d686463a6555897784
+  git cherry-pick -n acb34c35dbc3452101318cbb3cccf50b1a1c90b2
 }

 build() {
@@ -49,9 +53,6 @@ build() {
   export MOZCONFIG="${srcdir}/mozconfig"
   export CPPFLAGS="${CPPFLAGS} -O2 -Wno-format-overflow"

-  # Fix build failures with GCC>=14
-  export CFLAGS="${CFLAGS} -Wno-implicit-int -Wno-incompatible-pointer-types -Wno-int-conversion"
-
   ./mach build
 }

To drop autoconf2.13, alternatively just wait next month until 33.2.0, I cherry picked these patches for gtk3 version.

WorMzy commented on 2021-03-02 16:19 (UTC) (edited on 2022-08-03 21:12 (UTC) by WorMzy)

The following key is used to sign release commits:

40481E7B8FCF9CEC

Import it into your keyring however you want.

https://wiki.archlinux.org/index.php/GnuPG#Import_a_public_key

Latest Comments

« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 .. 37 Next › Last »

sekret commented on 2017-11-12 09:17 (UTC)

I build in a clean chroot too and palemoon failed to build with gcc5 from the AUR.

runical commented on 2017-11-12 09:06 (UTC)

@fabertawe: I think this is his specific issue. GCC5 built just fine for me and the same goes for palemoon. I do build in a clean chroot though, so that removes a lot of the issues anyway.

fabertawe commented on 2017-11-11 13:19 (UTC)

I'm confused... Pale Moon builds for me with gcc5 5.5.0-2 from the AUR. Is it failing for everyone else or is wolf's a specific issue?

wolf commented on 2017-11-11 11:37 (UTC)

Can confirm 5.4 from https://archive.archlinux.org/packages/g/gcc5/ works just fine, maybe you could add info about this (5.5 not working) into that pinned comment :)

WorMzy commented on 2017-11-09 22:22 (UTC)

Yes, unfortunately I haven't had time to do anything about this yet. If you want to help out, please check other packages which use gcc5 to build and see if they fail with the same errors when you use v5.5.0. Then see if they build successfully when you edit /usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0/include/c++/x86_64-pc-linux-gnu/bits/c++config.h, changing line #1346 to read: #define _GLIBCXX_USE_C99_MATH 1 Alternatively, if you can find a way to override c++config.h on a case-by-case basis, that doesn't involve editing source code (upstream is getting arsey about from-source builds as it is [1]), that would be a big help. [1] https://forum.palemoon.org/viewtopic.php?f=1&t=17148

sekret commented on 2017-11-09 20:37 (UTC)

Trying to build palemoon 27.6.0-1 with gcc5 5.5.0-2 from the AUR still fails. [...] 39:00.72 make[5]: *** [/build/palemoon/src/Pale-Moon/config/rules.mk:937: Unified_cpp_dom_canvas0.o] Error 1 39:00.72 make[4]: *** [/build/palemoon/src/Pale-Moon/config/recurse.mk:74: dom/canvas/target] Error 2 39:00.72 make[4]: *** Waiting for unfinished jobs.... 39:00.72 Unified_cpp_dom_media3.o 39:11.72 In file included from /build/palemoon/src/pmbuild/dom/media/Unified_cpp_dom_media1.cpp:20:0: 39:11.72 /build/palemoon/src/Pale-Moon/dom/media/MP3Demuxer.cpp: At global scope: 39:11.72 Warning: -Wunused-variable in /build/palemoon/src/Pale-Moon/dom/media/MP3Demuxer.cpp: ‘mozilla::mp3::vbr_header::TYPE_STR’ defined but not used 39:11.72 /build/palemoon/src/Pale-Moon/dom/media/MP3Demuxer.cpp:893:20: warning: ‘mozilla::mp3::vbr_header::TYPE_STR’ defined but not used [-Wunused-variable] 39:11.72 static const char* TYPE_STR[3] = {"NONE", "XING", "VBRI"}; 39:11.72 ^ 39:32.51 UnifiedBindings7.o 39:36.68 UnifiedBindings8.o 39:37.43 libdom_media.a.desc 39:37.55 UnifiedBindings9.o 40:29.59 StructuredClone.o 40:51.58 Unified_cpp_dom_bindings0.o 41:15.21 libdom_bindings.a.desc 41:15.26 make[3]: *** [/build/palemoon/src/Pale-Moon/config/recurse.mk:37: compile] Error 2 41:15.27 make[2]: *** [/build/palemoon/src/Pale-Moon/config/rules.mk:541: default] Error 2 41:15.27 make[1]: *** [/build/palemoon/src/Pale-Moon/client.mk:399: realbuild] Error 2 41:15.27 make: *** [client.mk:171: build] Error 2 41:15.31 114 compiler warnings present. 41:15.82 Notification center failed: Install the python dbus module to get a notification when the build finishes. ==> ERROR: A failure occurred in build(). Aborting... I'll try with the old gcc5...

WorMzy commented on 2017-10-31 13:02 (UTC)

I think this is related to this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21930 which is actually a bug in glibc 2.26 (gcc 5.4.0 has _GLIBCXX_USE_C99_MATH defined in c++config.h, so doesn't trigger it) Should be fixed in glibc 2.27, but since that's many months away (Feb 2018), I'll see if I can find time to find a workaround for the interim. This workaround may be prodding the gcc5 maintainer and seeing if they'd readd the _GLIBCXX_USE_C99_MATH definition to c++config.h until glibc 2.27 lands. \o/ Temporary workaround: use the old gcc 5.4.0 packages from the ALA

wolf commented on 2017-10-29 00:36 (UTC)

Cannot build with gcc5 from AUR, any help? 12:35.30 In file included from /build/palemoon/src/pmbuild/dom/canvas/Unified_cpp_dom_canvas0.cpp:11:0: 12:35.30 Warning: -Wunknown-pragmas in /build/palemoon/src/Pale-Moon/dom/canvas/CanvasRenderingContext2D.cpp: ignoring #pragma omp parallel 12:35.30 /build/palemoon/src/Pale-Moon/dom/canvas/CanvasRenderingContext2D.cpp:1635:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] 12:35.30 #pragma omp parallel for 12:35.30 ^ 12:36.46 libembedding_components_printingui_ipc.a.desc 12:36.55 nsAppRunner.o 12:36.58 nsEmbedFunctions.o 12:38.41 UnifiedProtocols9.o 12:42.29 /build/palemoon/src/Pale-Moon/dom/canvas/CanvasRenderingContext2D.cpp: In function ‘bool mozilla::dom::ValidateRect(double&, double&, double&, double&)’: 12:42.29 /build/palemoon/src/Pale-Moon/dom/canvas/CanvasRenderingContext2D.cpp:2420:8: error: ‘__builtin_isfinite’ is not a member of ‘std’ 12:42.29 if (!std::isfinite((float)aX) | !std::isfinite((float)aY) | 12:42.29 ^

WorMzy commented on 2017-10-25 08:04 (UTC) (edited on 2017-11-12 12:41 (UTC) by WorMzy)

Alas, gcc5 has now been dropped from the official repos. However, you can still get the old package here: https://archive.archlinux.org/packages/g/gcc5/ Note that that package is out of date, and the final version of gcc5 (5.5) is available on the AUR here: https://aur.archlinux.org/packages/gcc5/ it is unlikely that you will need to build this package more than once, since it's no longer receiving updates. Also worth noting is that palemoon upstream /still/ reccomend the long defunct gcc49 over any modern compiler, if you want to use that you will need to modify the mozconfig file's CC and CXX flags as well as the PKGBUILD's makedepends array and md5sums.

WorMzy commented on 2017-10-03 08:24 (UTC)

Builds fine here. All I can recommend is that you ditch yaourt and build in a clean chroot. https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot