So I built Palemoon using the latest palemoon-master tree as of 20170915.
Palemoon 27.5.0a1 (Mac64 build)
http://www.awalp.com/palemoon-27.5.0a1.mac64.dmg
You can grab it for yourself from here!
------------------------------------------------------------
This was my first time building Palemoon, it did take a few tries to compile, with several version and development package changes.
-- apple-make -> gnumake
-- apple-gcc -> gcc7
-- apple-llvm-3.8? -> llvm-4.0
-- apple-clang (v 3.9?) -> clang 6.0? (llvm-4.0)
+ added autoconf, gmake, yasm, llvm-4.0, gcc7, apr (maybe others, details below)
This also required changes to $PATH to correctly use the right development files, and a symlink from make -> gmake, with it first in the $PATH.
I also had to modify only one piece of code...
--- palemoon-master/xpcom/io/nsLocalFileUnix.cpp --- Completely remove this line:
Code: Select all
#include <sys/sysmacros.h> // No longer implicitly included in later glibc
Build on an iMac 27in, i7 3.4ghz, 12gb Ram.
Mac OS X Yosemite 10.10.5.
XCode 6.1.1 (but I don't think by the time it would compile, whether much if anything was used from XCode)
iMac27inen0:Pale-Moon-master awalp$ make --version
GNU Make 4.2.1
Built for x86_64-apple-darwin14.5.0
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
iMac27inen0:Pale-Moon-master awalp$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin14/7.2.0/lto-wrapper
Target: x86_64-apple-darwin14
Configured with: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_gcc7/gcc7/work/gcc-7.2.0/configure --prefix=/opt/local --build=x86_64-apple-darwin14 --enable-languages=c,c++,objc,obj-c++,lto,fortran --libdir=/opt/local/lib/gcc7 --includedir=/opt/local/include/gcc7 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-7 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-7 --with-gxx-include-dir=/opt/local/include/gcc7/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --disable-tls --with-pkgversion='MacPorts gcc7 7.2.0_0'
Thread model: posix
gcc version 7.2.0 (MacPorts gcc7 7.2.0_0)
Mac27inen0:Pale-Moon-master awalp$ clang -v
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
iMac27inen0:Pale-Moon-master awalp$ yasm --version
yasm 1.3.0
Compiled on Nov 13 2014.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.iMac27inen0:Pale-Moon-master awalp$ autoconf213 --version
Autoconf version 2.13iMac27inen0:Pale-Moon-master awalp$ apr-1-config --version
1.6.2iMac27inen0:Pale-Moon-master awalp$ port installed | grep -e autoconf -e gcc -e gmake -e yasm -e m4 -e bzip2 -e llvm-4.0 -e llvm_select -e clang -e autoconf -e " apr "
apr @1.5.2_1
apr @1.6.2_0 (active)
autoconf-archive @2017.03.21_0 (active)
autoconf213 @2.13_1 (active)
bzip2 @1.0.6_0 (active)
clang_select @2_0 (active)
gcc7 @7.2.0_0 (active)
gcc_select @0.1_8 (active)
gmake @4.2.1_0 (active)
libgcc @6.4.0_0
libgcc @7.2.0_0 (active)
llvm-4.0 @4.0.1_0 (active)
llvm_select @2_0 (active)
m4 @1.4.18_2 (active)
yasm @1.3.0_0 (active)iMac27inen0:Pale-Moon-master awalp$ port select --summary
Name Selected Options
==== ======== =======
clang none none
cython cython27 cython27 none
db none db48 none
gcc mp-gcc7 mp-gcc7 none
llvm mp-llvm-4.0 mp-llvm-3.9 mp-llvm-4.0 none
nosetests none nosetests27 none
python python27 python26-apple python27 python27-apple none
python2 python27 python26-apple python27 python27-apple none
------------------------------------------------------------------------------------------
Hopefully this helps us keep Palemoon current on Mac OS.
If I should have done anything differently, please let me know.
for example: Why the build resulted in NewMoon.app, instead of PaleMoon.app
I know NewMoon is the distribution licensing safe naming scheme, but anyway.