renamed to NewMoon where possible

This commit is contained in:
shelldweller 2023-09-14 11:39:01 -05:00
parent 734ea36f04
commit 3725e92cc7
5 changed files with 35 additions and 33 deletions

View File

@ -1,16 +1,17 @@
palemoon (Web browser -- BUILD FROM SOURCE) newmoon (Web browser -- BUILD FROM SOURCE)
This SlackBuild builds Pale Moon from source. This SlackBuild builds New Moon from source.
For a binary repackage, see 'palemoon-bin' at SlackBuilds.org. For a binary repackage, see 'palemoon-bin' at SlackBuilds.org.
Pale Moon is an Open Source, Goanna-based web browser available for New Moon = Pale Moon minus official branding.
New Moon is an Open Source, Goanna-based web browser available for
Microsoft Windows and Linux (with other operating systems in Microsoft Windows and Linux (with other operating systems in
development), focusing on efficiency and ease of use. development), focusing on efficiency and ease of use.
This SlackBuild attempts to compile, build and package Pale Moon, This SlackBuild attempts to compile, build and package New Moon,
Slackware style, in a manner that conforms to official Pale Moon Linux Slackware style, while, providing useful and easy ways to deviate
releases; while, at the same time, providing useful and easy ways to if desired. This SlackBuild may conflict with the alternative
deviate if desired. This SlackBuild may conflict with the alternative
SlackBuild known, here at SBo, as "palemoon-bin"; which repackages SlackBuild known, here at SBo, as "palemoon-bin"; which repackages
binaries offically released by the Pale Moon devs. binaries offically released by the Pale Moon devs.
@ -19,22 +20,22 @@ binaries offically released by the Pale Moon devs.
See http://docs.slackware.com/howtos:software:palemoon for additional See http://docs.slackware.com/howtos:software:palemoon for additional
tips and help resources. tips and help resources.
Using the Oxygen theme is known to cause Pale Moon to crash; if you are Using the Oxygen theme is known to cause New Moon to crash; if you are
experiencing crashes, and segfaults, make sure you are not using this experiencing crashes, and segfaults, make sure you are not using this
theme; or use Alienbob's patched oxygen-gtk2; which will fix this issue. theme; or use Alienbob's patched oxygen-gtk2; which will fix this issue.
http://www.slackware.com/~alien/slackbuilds/oxygen-gtk2/build/ See the http://www.slackware.com/~alien/slackbuilds/oxygen-gtk2/build/ See the
help doc link above for other creative tips and workarounds. help doc link above for other creative tips and workarounds.
A native fork of FireFox's developer tools exists as an external add-on A native fork of FireFox's developer tools exists as an external add-on
or internally. Pale Moon by default ships with the developer tools or internally. New Moon by default ships with the developer tools
internally; if this is undesirable, dev tools can be disabled by passing internally; if this is undesirable, dev tools can be disabled by passing
the script the parameter: the script the parameter:
DEVTOOLS=no ./palemoon.SlackBuild DEVTOOLS=no ./newmoon.SlackBuild
Pale Moon's default is to build, ship, and use its own internal New Moon's default is to build, ship, and use its own internal
dictionary; if desired, however, do USE_SYSTEM_HUNSPELL=yes dictionary; if desired, however, do USE_SYSTEM_HUNSPELL=yes
./palemoon.SlackBuild, to use the Slackware system Hunspell instead. ./newmoon.SlackBuild, to use the Slackware system Hunspell instead.
This assumes you have dictionaries such as hunspell-en or hunspell-es This assumes you have dictionaries such as hunspell-en or hunspell-es
installed in /usr/share/hunspell -- the location that a few SlackBuilds installed in /usr/share/hunspell -- the location that a few SlackBuilds
at SBo install them. at SBo install them.
@ -47,9 +48,9 @@ jack-audio-connection-kit is an optional dependency and, if detected,
automatically built. If this is undesirable you can blacklist jack, by automatically built. If this is undesirable you can blacklist jack, by
passing the variable: passing the variable:
BLACKLIST_JACK=yes ./palemoon.SlackBuild BLACKLIST_JACK=yes ./newmoon.SlackBuild
ALSA=1 will disable pulse audio and build a pure alsa Pale Moon. ALSA=1 will disable pulse audio and build a pure alsa New Moon.
GLIB-C-1PATCH=1 is a patch that will enable compiling on newer glibc GLIB-C-1PATCH=1 is a patch that will enable compiling on newer glibc
(such as is found in Slackware current). (such as is found in Slackware current).

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Slackware build script for Pale Moon # Slackware build script for New Moon
# Copyright 2018,2019,2022 Vasily Sora USA # Copyright 2018,2019,2022 Vasily Sora USA
# All rights reserved. # All rights reserved.
@ -36,13 +36,13 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=palemoon PRGNAM=newmoon
VERSION=${VERSION:-32.4.0} VERSION=${VERSION:-32.4.0.1}
SRCNAM1=${SRCNAM1:-$PRGNAM-${VERSION}_Release} SRCNAM1=${SRCNAM1:-$PRGNAM-${VERSION}_Release}
#SRCNAM2=${SRCNAM2:-uxp-RB_20230320} #SRCNAM2=${SRCNAM2:-uxp-RB_20230320}
BUILD=${BUILD:-3} BUILD=${BUILD:-1}
TAG=${TAG:-_shldwlr} TAG=${TAG:-_shldwlr}
PKGTYPE=${PKGTYPE:-txz} PKGTYPE=${PKGTYPE:-tlz}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -87,10 +87,11 @@ else
LIBDIRSUFFIX="64" LIBDIRSUFFIX="64"
fi fi
# The default is to build with official branding. This SlackBuild is used to # The default is to build with unofficial branding. This SlackBuild is used to
# produce officially approved third party "contributed builds" of Pale Moon. # produce unapproved third party "contributed builds" of New Moon -- which
# This SlackBuild can also be used to produce unapproved packages -- which
# requires the use of the "new moon", or if applicable, "unstable" branding. # requires the use of the "new moon", or if applicable, "unstable" branding.
# This SlackBuild can also be used to produce approved packages, just comment
# out the BRANDING= line.
# In general, the "unstable" branding is intended for those building from the # In general, the "unstable" branding is intended for those building from the
# master trunck of the Pale Moon github repository. # master trunck of the Pale Moon github repository.
BRANDING=${BRANDING:---disable-official-branding --with-branding=palemoon/branding/unofficial} BRANDING=${BRANDING:---disable-official-branding --with-branding=palemoon/branding/unofficial}
@ -137,7 +138,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Build a temporary copy of autoconf-2.13 only to be used to compile # Build a temporary copy of autoconf-2.13 only to be used to compile
# Pale Moon, since it somewhat inexplicably requires this ancient version: # New Moon, since it somewhat inexplicably requires this ancient version:
rm -rf $TMP/autoconf-tmp rm -rf $TMP/autoconf-tmp
mkdir -p $TMP/autoconf-tmp mkdir -p $TMP/autoconf-tmp
# This will be at the beginning of the $PATH, so protect against nonsense # This will be at the beginning of the $PATH, so protect against nonsense
@ -157,7 +158,7 @@ make || make -j1
make install make install
PATH=$TMP/autoconf-tmp/usr/bin:$PATH PATH=$TMP/autoconf-tmp/usr/bin:$PATH
# Build Pale Moon # Build New Moon
cd $TMP cd $TMP
git clone https://repo.palemoon.org/MoonchildProductions/Pale-Moon.git git clone https://repo.palemoon.org/MoonchildProductions/Pale-Moon.git
# rm $SRCNAM1 # rm $SRCNAM1
@ -246,7 +247,7 @@ echo "ac_add_options --enable-jack" >> .mozconfig; fi
./mach build ./mach build
## Clean up; and package Pale Moon. ## Clean up; and package New Moon.
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
cd $TMP/$OBJ cd $TMP/$OBJ
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -257,7 +258,7 @@ cd $PKG
rm -rf usr/lib${LIBDIRSUFFIX}/$PRGNAM-devel-$VERSION rm -rf usr/lib${LIBDIRSUFFIX}/$PRGNAM-devel-$VERSION
# Avoid duplicate binaries; details: https://bugzilla.mozilla.org/show_bug.cgi?id=658850 # Avoid duplicate binaries; details: https://bugzilla.mozilla.org/show_bug.cgi?id=658850
# Pale Moon package scripts appear to attempt this, on other 'distros'; those scripts, # New Moon package scripts appear to attempt this, on other 'distros'; those scripts,
# however, appear to fail on Slackware. # however, appear to fail on Slackware.
rm -f usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/$PRGNAM-bin rm -f usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/$PRGNAM-bin
@ -279,7 +280,7 @@ ln -s /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/browser/icons/mozicon128.png \
$PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM.png $PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM.png
mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/share/applications
cat $CWD/palemoon.desktop > $PKG/usr/share/applications/$PRGNAM.desktop cat $CWD/newmoon.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/UXP mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/UXP
for docs in $DOCS; do for docs in $DOCS; do

View File

@ -1,5 +1,5 @@
PRGNAM="palemoon" PRGNAM="newmoon"
VERSION="32.1.1" VERSION="32.4.0.1"
HOMEPAGE="http://www.palemoon.org/" HOMEPAGE="http://www.palemoon.org/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz" DOWNLOAD="http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz"
MD5SUM="f2994d302cf736e7e71974edfa51da3c" MD5SUM="f2994d302cf736e7e71974edfa51da3c"

View File

@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
palemoon: palemoon (Web browser -- BUILD FROM SOURCE) palemoon: newmoon (Unbranded Web browser -- BUILD FROM SOURCE)
palemoon: palemoon:
palemoon: Pale Moon is an Open Source, Goanna-based web browser available for palemoon: New Moon is an Open Source, Goanna-based web browser available for
palemoon: Microsoft Windows and Linux (with other operating systems in palemoon: Micro$oft Windows and Linux (with other operating systems in
palemoon: development), focusing on efficiency and ease of use. Make sure to palemoon: development), focusing on efficiency and ease of use. Make sure to
palemoon: get the most out of your browser! palemoon: get the most out of your browser!
palemoon: palemoon:
palemoon: Pale Moon's been built from its own, independently developed source palemoon: New Moon's been built from its own, independently developed source
palemoon: that has been forked off from Firefox/Mozilla code. palemoon: that has been forked off from Firefox/Mozilla code.
palemoon: palemoon:
palemoon: palemoon: