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.010207
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 2 3 4 5 6 7 8 .. 37 Next › Last »

Muflone commented on 2022-12-09 17:50 (UTC) (edited on 2022-12-09 19:17 (UTC) by Muflone)

@WorMzy

I was using python2 2.7.18-6. After upgrading python2 2.7.18-8 the build is going on, but it fails with

28:18.00 lto-wrapper: fatal error: write: No space left on device
28:18.00 compilation terminated.
28:18.00 ../../build/unix/gold/ld: fatal error: lto-wrapper failed
28:18.00 collect2: error: ld returned 1 exit status
28:18.04 make[5]: *** [/build/palemoon/src/Pale-Moon/platform/config/rules.mk:773: libxul.so] Error 1
28:18.04 make[4]: *** [/build/palemoon/src/Pale-Moon/platform/config/recurse.mk:71: toolkit/library/target] Error 2
28:18.05 make[3]: *** [/build/palemoon/src/Pale-Moon/platform/config/recurse.mk:33: compile] Error 2
28:18.05 make[2]: *** [/build/palemoon/src/Pale-Moon/platform/config/rules.mk:494: default] Error 2
28:18.05 make[1]: *** [/build/palemoon/src/Pale-Moon/client.mk:406: realbuild] Error 2

It needs more RAM than I can handle ATM

building it without LTO option options=('!lto') worked like a charm

sorry for the noise

t3kk3n commented on 2022-12-05 12:22 (UTC)

I had the same errors, and I realized I had an older python2 version installed; I compiled python2 from the AUR, and the errors/issues went away, when building palemoon. My apologies for not properly troubleshooting, as I was just trying to get packages built and installed on several computers, as fast as possible.

WorMzy commented on 2022-12-04 17:03 (UTC)

Cannot reproduce here. Which python2 package are you using?

Muflone commented on 2022-12-04 16:13 (UTC)

I'm unable to build it in a clean chroot:

==> Starting build()...
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1

micwoj92 commented on 2022-11-28 01:02 (UTC)

Please add jpeg-xl support ac_add_options --enable-jxl

WorMzy commented on 2022-10-22 12:58 (UTC)

@saburouta, I've updated the commit comment to point to the tags rather than releases, as the latter seems to have stagnated (upstream is consistently inconsistent with their release procedure, presumably in an effort to frustrate people who want to build from source rather than use the upstream binaries). The comment is only there to help people update the PKGBUILD themselves if I'm slow to update. You shouldn't need to manually edit the PKGBUILD in normal circumstances.

WorMzy commented on 2022-10-20 10:44 (UTC)

Thanks for the heads up, fixed.

micwoj92 commented on 2022-10-19 23:28 (UTC)

Needs update to submodules git submodule update to git submodule--helper update

https://bbs.archlinux.org/viewtopic.php?pid=2063006#p2063006