Mac 27.5.0a1 build Unofficial

Support and discussions for the Apple Mac OSX builds of Pale Moon

Moderators: Indalecio, satrow

Forum rules
Important note:
The Mac OSX version of Pale Moon is still very much in development. Your assistance in bringing this build to fruition is greatly appreciated, but you can expect there to be bugs and problems for a while yet!

Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.

Please also note that these builds are currently created by Sugis and Moonchild will likely not be able to provide insight or assistance due to lack of Mac hardware and OS/build knowledge for Mac.
awalp
Newbie
Newbie
Posts: 3
Joined: Wed Sep 20, 2017 5:52 am

Mac 27.5.0a1 build Unofficial

Postby awalp » Wed Sep 20, 2017 7:44 am

I like Palemoon as my MacOS browser, but the latest (official unofficial) build is more than 6 months old.
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! :D




------------------------------------------------------------

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)
Image

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.13
iMac27inen0:Pale-Moon-master awalp$ apr-1-config --version
1.6.2
iMac27inen0: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. :wave:
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.

HarmonicResonance
Apollo supporter
Apollo supporter
Posts: 43
Joined: Sat Feb 14, 2015 2:53 pm
Location: Tallahassee, FL
Contact:

Re: Mac 27.5.0a1 build Unofficial

Postby HarmonicResonance » Thu Sep 21, 2017 6:12 am

Awesome! :thumbup: :thumbup:

Using your instructions, I was able to build it on 10.9 (Mavericks) using macports. :D

Anyone try the above build on Snow Leopard? I'm using it as my daily browser now so I'll report on anything I find.

Thank you!
Lonely Planets - serial fiction on the Radish app! http://www.radishfiction.com/

User avatar
realmdee
Moongazer
Moongazer
Posts: 13
Joined: Tue Feb 24, 2015 6:34 am
Location: Dartmouth, Nova Scotia, Canada

Re: Mac 27.5.0a1 build Unofficial

Postby realmdee » Thu Sep 21, 2017 4:13 pm

Thanks awalp for this update. I installed it yesterday on my mid 2009 Macbook Pro running OS X 10.9.5. It seems to all be working as expected except for the videos on YouTube which now seem to hang a bit, I had not experienced this in any of the older versions of Pale Moon for Mac.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19679
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Mac 27.5.0a1 build Unofficial

Postby Moonchild » Fri Sep 22, 2017 8:34 am

Awalp; maybe you and Sugis can band together to work on a Mac port of Pale Moon, then? I understood that Sugis had trouble getting this to work for v27, but he does have good past experience in building on Mac. Even if just to get things aligned or the past knowledge transferred to you if you're willing to build more regularly, and ultimately maybe come to an official build if all goes well?
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19679
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Mac 27.5.0a1 build Unofficial

Postby Moonchild » Sat Sep 23, 2017 12:29 pm

awalp wrote:I also had to modify only one piece of code...
--- palemoon-master/xpcom/io/nsLocalFileUnix.cpp --- Completely remove this line:

I'll see about putting that behind a conditional for mac, then. It never ends.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

HarmonicResonance
Apollo supporter
Apollo supporter
Posts: 43
Joined: Sat Feb 14, 2015 2:53 pm
Location: Tallahassee, FL
Contact:

Re: Mac 27.5.0a1 build Unofficial

Postby HarmonicResonance » Sun Sep 24, 2017 10:51 am

Very cool. This build does work on Snow Leopard -- tested in a VM this morning. Downloaded, copied to Applications, launched and browsed with zero problems. :D
Lonely Planets - serial fiction on the Radish app! http://www.radishfiction.com/

tingo
New to the forum
New to the forum
Posts: 1
Joined: Sun Sep 24, 2017 5:47 pm

Re: Mac 27.5.0a1 build Unofficial

Postby tingo » Sun Sep 24, 2017 5:52 pm

I just downloaded the unofficial OSX build and when I tried to install it, my anti-virus program says the application is infected with: Html.Exploit.CVE_2017_8757-6336185-0
Great start, what's up?

User avatar
Nigaikaze
Astronaut
Astronaut
Posts: 574
Joined: Sun Feb 02, 2014 10:15 pm
Location: Chicago, IL, USA

Re: Mac 27.5.0a1 build Unofficial

Postby Nigaikaze » Sun Sep 24, 2017 10:58 pm

tingo wrote:I just downloaded the unofficial OSX build and when I tried to install it, my anti-virus program says the application is infected with: Html.Exploit.CVE_2017_8757-6336185-0
Great start, what's up?

False positive. Please report it as a false positive to your anti-virus vendor. Further info here:
viewtopic.php?t=16748&p=122321#p122322

biopsin
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: Sun Feb 07, 2016 5:15 pm

Re: Mac 27.5.0a1 build Unofficial

Postby biopsin » Tue Sep 26, 2017 9:36 am

Test under uhm Leopard (10.7.5) ,and some obvious issues emerged. Well guess I should upgrade this particular pc to a minimum of 10.9.5.
Thank you for these release! I tried compile my own, but unfortunate my apple hardware is just to old and underpowerd.

HarmonicResonance
Apollo supporter
Apollo supporter
Posts: 43
Joined: Sat Feb 14, 2015 2:53 pm
Location: Tallahassee, FL
Contact:

Re: Mac 27.5.0a1 build Unofficial

Postby HarmonicResonance » Tue Sep 26, 2017 10:34 am

What issues did you see? Could you tell us how they happened? I've tested this build -- albeit quickly -- under 10.6.8 and saw no problems.
Lonely Planets - serial fiction on the Radish app! http://www.radishfiction.com/

User avatar
hobbledehoy899
Fanatic
Fanatic
Posts: 106
Joined: Wed Jul 27, 2016 11:18 pm
Contact:

Re: Mac 27.5.0a1 build Unofficial

Postby hobbledehoy899 » Wed Sep 27, 2017 2:29 am

Will there be a build of the proper 27.5 release?

sugis
Moonbather
Moonbather
Posts: 71
Joined: Tue Jun 02, 2015 5:45 pm
Location: California

Re: Mac 27.5.0a1 build Unofficial

Postby sugis » Wed Sep 27, 2017 3:23 am

Nice, I'm glad more people figured out the build! I'm trying to do a 27.5.0 final build right now, we'll see if it works.

biopsin
Hobby Astronomer
Hobby Astronomer
Posts: 21
Joined: Sun Feb 07, 2016 5:15 pm

Re: Mac 27.5.0a1 build Unofficial

Postby biopsin » Thu Sep 28, 2017 10:50 am

HarmonicResonance wrote:What issues did you see? Could you tell us how they happened? I've tested this build -- albeit quickly -- under 10.6.8 and saw no problems.

I saw some issues with javascript not executing, I don't use any extensions, so I assumed a problem with depricated OS. But after a restart of palemoon later resolved the issue and all is well even on 10.7 ;)


Return to “Pale Moon for Mac OSX”

Who is online

Users browsing this forum: No registered users and 1 guest