Mac 27.5.0a1 build Unofficial Topic is solved

Discussions for the Apple Mac OS builds of Pale Moon

Moderator: dbsoft

Forum rules
Important note:
The old Mac OS versions of Pale Moon were provided by various people and not official or in any way organized. Please make sure you check the date of topic threads to know if the topic is current or relevant! We are using this board for both old discussions and new development of Pale Moon on Mac.

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.
awalp

Mac 27.5.0a1 build Unofficial

Unread post by awalp » 2017-09-20, 07:44

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.

User avatar
HarmonicResonance
Moonbather
Moonbather
Posts: 67
Joined: 2015-02-14, 14:53
Location: Tallahassee, FL
Contact:

Re: Mac 27.5.0a1 build Unofficial

Unread post by HarmonicResonance » 2017-09-21, 06:12

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!
Nothing to say here.

User avatar
realmdee
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2015-02-24, 06:34
Location: Fredericton, New Brunswick, Canada
Contact:

Re: Mac 27.5.0a1 build Unofficial

Unread post by realmdee » 2017-09-21, 16:13

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: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Mac 27.5.0a1 build Unofficial

Unread post by Moonchild » 2017-09-22, 08:34

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?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Mac 27.5.0a1 build Unofficial

Unread post by Moonchild » 2017-09-23, 12:29

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.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
HarmonicResonance
Moonbather
Moonbather
Posts: 67
Joined: 2015-02-14, 14:53
Location: Tallahassee, FL
Contact:

Re: Mac 27.5.0a1 build Unofficial

Unread post by HarmonicResonance » 2017-09-24, 10:51

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
Nothing to say here.

tingo

Re: Mac 27.5.0a1 build Unofficial

Unread post by tingo » 2017-09-24, 17:52

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
Board Warrior
Board Warrior
Posts: 1322
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: Mac 27.5.0a1 build Unofficial

Unread post by Nigaikaze » 2017-09-24, 22:58

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
Nichi nichi kore ko jitsu = Every day is a good day.

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: Mac 27.5.0a1 build Unofficial

Unread post by biopsin » 2017-09-26, 09:36

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.
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

User avatar
HarmonicResonance
Moonbather
Moonbather
Posts: 67
Joined: 2015-02-14, 14:53
Location: Tallahassee, FL
Contact:

Re: Mac 27.5.0a1 build Unofficial

Unread post by HarmonicResonance » 2017-09-26, 10:34

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.
Nothing to say here.

hobbledehoy899

Re: Mac 27.5.0a1 build Unofficial

Unread post by hobbledehoy899 » 2017-09-27, 02:29

Will there be a build of the proper 27.5 release?

sugis
Moon lover
Moon lover
Posts: 94
Joined: 2015-06-02, 17:45
Location: California

Re: Mac 27.5.0a1 build Unofficial

Unread post by sugis » 2017-09-27, 03:23

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.

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: Mac 27.5.0a1 build Unofficial

Unread post by biopsin » 2017-09-28, 10:50

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 ;)
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

Locked