ATTENTION PACKAGE BUILDERS

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
New Tobin Paradigm

ATTENTION PACKAGE BUILDERS

Unread post by New Tobin Paradigm » 2020-08-22, 14:31

We would like to remind you to always check the Pale Moon Build Instructions to ensure that your build configuration is up to date with changes in the application and platform. Every effort will be made to keep this up to date as changes happen. This includes mozconfig options, dependencies, and various notes relating to the build process.

Additionally, if you are creating binary repacks as packages that can be installed by a system package manager you should be aware that the mainline linux builds do have the internal software updater enabled. This configuration conflicts with packages managed by a package manager. As such, it is advisable to inject a file into the browser/defaults/preferences directory named zz-disableUpdates.js with the following contents:

Code: Select all

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

pref("app.update.enabled", false);
Please do not take this as permission to change, remove, or alter any other preferences as that is forbidden without express permission according to the Pale Moon Redistribution License. We are allowing this one and ONLY one exception in order to properly facilitate such repacks.

Thank you for your attention!

bgstack15
Fanatic
Fanatic
Posts: 121
Joined: 2018-01-22, 23:04

Re: ATTENTION PACKAGE BUILDERS

Unread post by bgstack15 » 2020-08-22, 23:45

This is a different step from the "ac_add_options --disable-updater" line for the mozconfig file for Linux demonstrated in the building instructions that you linked. Are both required to disable the auto-update function?

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

Re: ATTENTION PACKAGE BUILDERS

Unread post by Moonchild » 2020-08-22, 23:47

This is a different step from the "ac_add_options --disable-updater"
Pay attention please. That particular instruction is for people repackaging already-built binaries that would normally have the updater built and enabled.
"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
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: ATTENTION PACKAGE BUILDERS

Unread post by adesh » 2020-08-23, 03:20

bgstack15 wrote:
2020-08-22, 23:45
This is a different step from ...?
Just to clarify, this will prevent the internal updater (already built) from checking for updates. This will effectively have the same effect as going to browser settings and selecting "Do not check for updates".

Locked