Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
SeaMonkey Project
SeaMonkey 2.53 Comm
Commits
0e48d4af
Commit
0e48d4af
authored
Aug 20, 2018
by
Frank-Rainer Grahl
Browse files
Bug 1481067 - Remove option to build comm-central as topsourcedir from suite. r=IanN a=IanN
parent
d335c11c
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
53 additions
and
59 deletions
+53
-59
suite/Makefile.in
suite/Makefile.in
+1
-1
suite/app.mozbuild
suite/app.mozbuild
+5
-5
suite/app/Makefile.in
suite/app/Makefile.in
+3
-3
suite/app/moz.build
suite/app/moz.build
+7
-7
suite/base/jar.mn
suite/base/jar.mn
+2
-2
suite/base/moz.build
suite/base/moz.build
+1
-1
suite/build.mk
suite/build.mk
+8
-10
suite/components/build/Makefile.in
suite/components/build/Makefile.in
+1
-1
suite/components/shell/moz.build
suite/components/shell/moz.build
+1
-1
suite/confvars.sh
suite/confvars.sh
+2
-3
suite/installer/Makefile.in
suite/installer/Makefile.in
+4
-4
suite/installer/windows/Makefile.in
suite/installer/windows/Makefile.in
+9
-9
suite/locales/Makefile.in
suite/locales/Makefile.in
+8
-10
suite/moz.build
suite/moz.build
+1
-1
suite/themes/modern/moz.build
suite/themes/modern/moz.build
+0
-1
No files found.
suite/Makefile.in
View file @
0e48d4af
...
...
@@ -3,7 +3,7 @@
# 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/.
include
$(
moz
topsrcdir)/config/rules.mk
include
$(topsrcdir)/config/rules.mk
ifdef
MAKENSISU
# For Windows build the uninstaller during the application build since the
...
...
suite/app.mozbuild
View file @
0e48d4af
...
...
@@ -5,7 +5,7 @@
GENERATED_FILES
[
'source-repo.h'
].
script
=
'comm/build/source_repos.py:source_repo_header'
include
(
'/
%s
/mailnews/mailnews.mozbuild'
%
CONFIG
[
'commreltopsrcdir'
]
)
include
(
'/
comm
/mailnews/mailnews.mozbuild'
)
include
(
'/toolkit/toolkit.mozbuild'
)
...
...
@@ -19,17 +19,17 @@ if CONFIG['MOZ_DOMINSPECTOR']:
DIRS
+=
[
'/extensions/inspector'
]
if
CONFIG
[
'MOZ_COMPOSER'
]:
DIRS
+=
[
'/
%s
/editor/ui'
%
CONFIG
[
'commreltopsrcdir'
]
]
DIRS
+=
[
'/
comm
/editor/ui'
]
DIRS
+=
[
'/%s'
%
CONFIG
[
'MOZ_BRANDING_DIRECTORY'
]]
if
CONFIG
[
'MOZ_CALENDAR'
]:
DIRS
+=
[
'/
%s
/calendar/lightning'
%
CONFIG
[
'commreltopsrcdir'
]
,
'/
%s
/calendar/timezones'
%
CONFIG
[
'commreltopsrcdir'
]
'/
comm
/calendar/lightning'
,
'/
comm
/calendar/timezones'
,
]
DIRS
+=
[
'/xpfe/components/autocomplete'
,
'/
%s
/suite'
%
CONFIG
[
'commreltopsrcdir'
]
,
'/
comm
/suite'
,
]
suite/app/Makefile.in
View file @
0e48d4af
...
...
@@ -6,7 +6,7 @@ dist_dest = $(DIST)/$(MOZ_MACBUNDLE_NAME)
AB_CD
=
$(MOZ_UI_LOCALE)
LICENSE_TXT_FILE
=
$(
comm
topsrcdir)
/suite/installer/license.txt
LICENSE_TXT_FILE
=
$(topsrcdir)
/
comm/
suite/installer/license.txt
# Build a binary bootstrapping with XRE_main
...
...
@@ -22,7 +22,7 @@ endif
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
NSDISTMODE
=
copy
include
$(
moz
topsrcdir)/config/config.mk
include
$(topsrcdir)/config/config.mk
# If we are trying to show an error dialog about the lack of SSE2 support,
# make sure that code itself doesn't use SSE2.
...
...
@@ -39,7 +39,7 @@ ifeq ($(OS_ARCH),WINNT)
EXTRA_DEPS
+=
seamonkey.exe.manifest
endif
include
$(
moz
topsrcdir)/config/rules.mk
include
$(topsrcdir)/config/rules.mk
# channel-prefs.js is handled separate from other prefs due to bug 756325.
libs
::
$(srcdir)/profile/channel-prefs.js
...
...
suite/app/moz.build
View file @
0e48d4af
...
...
@@ -9,10 +9,10 @@ SOURCES += ['nsSuiteApp.cpp']
LOCAL_INCLUDES
+=
[
'!/build'
,
'/
%s/
ipc/contentproc/'
%
CONFIG
[
'mozreltopsrcdir'
]
,
'/
%s/
toolkit/xre'
%
CONFIG
[
'mozreltopsrcdir'
]
,
'/
%s/
xpcom/base'
%
CONFIG
[
'mozreltopsrcdir'
]
,
'/
%s/
xpcom/build'
%
CONFIG
[
'mozreltopsrcdir'
]
,
'/ipc/contentproc/'
,
'/toolkit/xre'
,
'/xpcom/base'
,
'/xpcom/build'
,
]
if
CONFIG
[
'OS_ARCH'
]
==
'WINNT'
:
...
...
@@ -22,7 +22,7 @@ if CONFIG['OS_ARCH'] == 'WINNT':
if
CONFIG
[
'LIBFUZZER'
]:
USE_LIBS
+=
[
'fuzzer'
]
LOCAL_INCLUDES
+=
[
'/
%s/
tools/fuzzing/libfuzzer'
%
CONFIG
[
'mozreltopsrcdir'
]
,
'/tools/fuzzing/libfuzzer'
,
]
if
CONFIG
[
'CC_TYPE'
]
in
(
'msvc'
,
'clang-cl'
):
...
...
@@ -33,8 +33,8 @@ if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
if
CONFIG
[
'MOZ_SANDBOX'
]
and
CONFIG
[
'OS_ARCH'
]
==
'WINNT'
:
# For sandbox includes and the include dependencies those have
LOCAL_INCLUDES
+=
[
'/
%s/
security/sandbox/chromium'
%
CONFIG
[
'mozreltopsrcdir'
]
,
'/
%s/
security/sandbox/chromium-shim'
%
CONFIG
[
'mozreltopsrcdir'
]
,
'/security/sandbox/chromium'
,
'/security/sandbox/chromium-shim'
,
]
USE_LIBS
+=
[
...
...
suite/base/jar.mn
View file @
0e48d4af
...
...
@@ -77,9 +77,9 @@ comm.jar:
content/communicator/helpEditorOverlay.xul (content/helpEditorOverlay.xul)
content/communicator/helpMessengerOverlay.xul (content/helpMessengerOverlay.xul)
content/communicator/helpSecurityOverlay.xul (content/helpSecurityOverlay.xul)
content/communicator/labelsencodings.properties (/
@mozreltopsrcdir@/
dom/encoding/labelsencodings.properties)
content/communicator/labelsencodings.properties (/dom/encoding/labelsencodings.properties)
# the following file is a suite-specific override of the generic license.html, using suite/common/app-license.html as input:
* content/communicator/license.html (/
@mozreltopsrcdir@/
toolkit/content/license.html)
* content/communicator/license.html (/toolkit/content/license.html)
content/communicator/nsContextMenu.js (content/nsContextMenu.js)
content/communicator/openLocation.js (content/openLocation.js)
content/communicator/openLocation.xul (content/openLocation.xul)
...
...
suite/base/moz.build
View file @
0e48d4af
...
...
@@ -13,7 +13,7 @@ JAR_MANIFESTS += ['jar.mn']
# chrome://global/content/license.html (about:license)
DEFINES
[
'APP_LICENSE_BLOCK'
]
=
'%s/content/overrides/app-license.html'
%
SRCDIR
for
var
in
(
'MOZ_APP_NAME'
,
'MOZ_MACBUNDLE_NAME'
,
'mozreltopsrcdir'
):
for
var
in
(
'MOZ_APP_NAME'
,
'MOZ_MACBUNDLE_NAME'
):
DEFINES
[
var
]
=
CONFIG
[
var
]
# For customized buildconfig
...
...
suite/build.mk
View file @
0e48d4af
...
...
@@ -2,34 +2,33 @@
# 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/.
ifndef
COMM_BUILD
package
:
@
$(MAKE)
-C
$(
comm
topobjdir)
/suite/installer
@
$(MAKE)
-C
comm
/suite/installer
package-compare
:
@
$(MAKE)
-C
$(
comm
topobjdir)
/suite/installer package-compare
@
$(MAKE)
-C
comm
/suite/installer package-compare
install
::
@
$(MAKE)
-C
$(
comm
topobjdir)
/suite/installer
install
@
$(MAKE)
-C
comm
/suite/installer
install
source-package
::
@
$(MAKE)
-C
$(
comm
topobjdir)
/suite/installer source-package
@
$(MAKE)
-C
comm
/suite/installer source-package
upload
::
@
$(MAKE)
-C
$(
comm
topobjdir)
/suite/installer upload
@
$(MAKE)
-C
comm
/suite/installer upload
source-upload
::
@
$(MAKE)
-C
$(
comm
topobjdir)
/suite/installer source-upload
@
$(MAKE)
-C
comm
/suite/installer source-upload
# make -j1 because dependencies in l10n build targets don't work
# with parallel builds
distribution
:
$(MAKE)
-j1
-C
$(
comm
topobjdir)
/suite/locales
$@
$(MAKE)
-j1
-C
comm
/suite/locales
$@
# make -j1 because dependencies in l10n build targets don't work
# with parallel builds
merge-% installers-% langpack-% chrome-% clobber-%
:
$(MAKE)
-j1
-C
$(
comm
topobjdir)
/suite/locales
$@
$(MAKE)
-j1
-C
comm
/suite/locales
$@
# mochitests need to be run from the Mozilla build system
ifdef
ENABLE_TESTS
...
...
@@ -44,4 +43,3 @@ mochitest:: mochitest-browser-chrome
.PHONY
:
mochitest-browser-chrome
endif
endif
suite/components/build/Makefile.in
View file @
0e48d4af
...
...
@@ -2,7 +2,7 @@
# 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/.
include
$(
moz
topsrcdir)/config/rules.mk
include
$(topsrcdir)/config/rules.mk
# Ensure that we don't embed a manifest referencing the CRT.
EMBED_MANIFEST_AT
=
suite/components/shell/moz.build
View file @
0e48d4af
...
...
@@ -24,7 +24,7 @@ if CONFIG['OS_ARCH'] == 'WINNT':
'nsWindowsShellService.cpp'
,
]
LOCAL_INCLUDES
+=
[
'/
%s/
other-licenses/nsis/Contrib/CityHash/cityhash'
%
(
CONFIG
[
'mozreltopsrcdir'
],)
,
'/other-licenses/nsis/Contrib/CityHash/cityhash'
,
]
elif
CONFIG
[
'MOZ_WIDGET_TOOLKIT'
]
==
'cocoa'
:
SOURCES
+=
[
'nsMacShellService.cpp'
]
...
...
suite/confvars.sh
View file @
0e48d4af
...
...
@@ -11,8 +11,8 @@ MOZ_APP_NAME=seamonkey
MOZ_APP_DISPLAYNAME
=
SeaMonkey
MOZ_COMPOSER
=
1
MOZ_SUITE
=
1
MOZ_BRANDING_DIRECTORY
=
$
comm
reltopsrcdir
/suite/branding/seamonkey
MOZ_OFFICIAL_BRANDING_DIRECTORY
=
$
comm
reltopsrcdir
/suite/branding/seamonkey
MOZ_BRANDING_DIRECTORY
=
comm
/suite/branding/seamonkey
MOZ_OFFICIAL_BRANDING_DIRECTORY
=
comm
/suite/branding/seamonkey
MOZ_UPDATER
=
1
# This should usually be the same as the value MAR_CHANNEL_ID.
...
...
@@ -21,7 +21,6 @@ MOZ_UPDATER=1
ACCEPTED_MAR_CHANNEL_IDS
=
seamonkey-comm-central
# The MAR_CHANNEL_ID must not contain the following 3 characters: ",\t "
MAR_CHANNEL_ID
=
seamonkey-comm-central
MOZ_SERVICES_FXACCOUNTS
=
1
MOZ_APP_VERSION_TXT
=
${
_topsrcdir
}
/
$MOZ_BUILD_APP
/config/version.txt
MOZ_APP_VERSION
=
`
cat
$MOZ_APP_VERSION_TXT
`
...
...
suite/installer/Makefile.in
View file @
0e48d4af
...
...
@@ -4,7 +4,7 @@
STANDALONE_MAKEFILE
:=
1
include
$(
moz
topsrcdir)/config/rules.mk
include
$(topsrcdir)/config/rules.mk
MOZ_PKG_REMOVALS
=
$(srcdir)
/removed-files.in
...
...
@@ -17,7 +17,7 @@ endif
MOZ_PKG_DUPEFLAGS
=
\
-w
\
-f
$(srcdir)
/allowed-dupes.mn
\
-f
$(
moz
topsrcdir)
/browser/installer/allowed-dupes.mn
\
-f
$(topsrcdir)
/browser/installer/allowed-dupes.mn
\
$(NULL)
MOZ_NONLOCALIZED_PKG_LIST
=
\
...
...
@@ -143,7 +143,7 @@ NON_OMNIJAR_FILES = \
defaults/profile/chrome/userContent-example.css
\
$(NULL)
include
$(
moz
topsrcdir)/toolkit/mozapps/installer/packager.mk
include
$(topsrcdir)/toolkit/mozapps/installer/packager.mk
ifeq
(Darwin, $(OS_ARCH))
BINPATH
=
$(_BINPATH)
...
...
@@ -183,7 +183,7 @@ DEFINES += -DMOZ_CLANG_RT_ASAN_LIB=$(notdir $(MOZ_CLANG_RT_ASAN_LIB_PATH))
endif
libs
::
$(MAKE)
-C
$(
comm
topobjdir)
/suite/locales langpack
$(MAKE)
-C
$(topobjdir)
/
comm/
suite/locales langpack
ifeq
(WINNT,$(OS_ARCH))
PKGCOMP_FIND_OPTS
=
...
...
suite/installer/windows/Makefile.in
View file @
0e48d4af
...
...
@@ -2,12 +2,12 @@
# 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/.
include
$(
moz
topsrcdir)/toolkit/mozapps/installer/package-name.mk
include
$(topsrcdir)/toolkit/mozapps/installer/package-name.mk
CONFIG_DIR
=
instgen
SFX_MODULE
=
$(
comm
topsrcdir)
/other-licenses/7zstub/seamonkey/7zSD.sfx
SFX_MODULE
=
$(topsrcdir)
/
comm/
other-licenses/7zstub/seamonkey/7zSD.sfx
EXPAND_COMM_LOCALE_SRCDIR
=
$(
if
$(
filter
en-US,
$(AB_CD)
)
,
$(topsrcdir)
/
$(
comm
reltopsrcdir)
/
$(1)
/en-US,
$(
or
$(
realpath
$(L10NBASEDIR)
)
,
$(
abspath
$(L10NBASEDIR)
))
/
$(AB_CD)
/
$(
subst
/locales,,
$(1)
))
EXPAND_COMM_LOCALE_SRCDIR
=
$(
if
$(
filter
en-US,
$(AB_CD)
)
,
$(topsrcdir)
/comm/
$(1)
/en-US,
$(
or
$(
realpath
$(L10NBASEDIR)
)
,
$(
abspath
$(L10NBASEDIR)
))
/
$(AB_CD)
/
$(
subst
/locales,,
$(1)
))
INSTALLER_FILES
=
\
app.tag
\
...
...
@@ -34,7 +34,7 @@ ifdef IS_LANGUAGE_REPACK
PPL_LOCALE_ARGS
=
\
--l10n-dir
=
$(REAL_LOCALE_MERGEDIR)
/suite/installer/windows
\
--l10n-dir
=
$(
call
EXPAND_COMM_LOCALE_SRCDIR,suite/locales
)
/installer/windows
\
--l10n-dir
=
$(
comm
topsrcdir)
/suite/locales/en-US/installer/windows
\
--l10n-dir
=
$(topsrcdir)
/
comm/
suite/locales/en-US/installer/windows
\
$(NULL)
else
PPL_LOCALE_ARGS
=
$(
call
EXPAND_COMM_LOCALE_SRCDIR,suite/locales
)
/installer/windows
...
...
@@ -45,15 +45,15 @@ $(CONFIG_DIR)/setup.exe::
$(MKDIR)
$(CONFIG_DIR)
$(INSTALL)
$(
addprefix
$(srcdir)
/,
$(INSTALLER_FILES)
)
$(CONFIG_DIR)
$(INSTALL)
$(
addprefix
$(topsrcdir)
/
$(MOZ_BRANDING_DIRECTORY)
/,
$(BRANDING_FILES)
)
$(CONFIG_DIR)
$(PYTHON)
$(
moz
topsrcdir)
/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py
\
--convert-utf8-utf16le
$(
comm
topsrcdir)
/suite/installer/license.txt
$(CONFIG_DIR)
/license.txt
$(PYTHON)
$(topsrcdir)
/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py
\
--convert-utf8-utf16le
$(topsrcdir)
/
comm/
suite/installer/license.txt
$(CONFIG_DIR)
/license.txt
$(
call
py_action,preprocessor,-Fsubstitution
$(DEFINES)
$(ACDEFINES)
\
$(srcdir)
/nsis/defines.nsi.in
-o
$(CONFIG_DIR)
/defines.nsi
)
$(PYTHON)
$(
moz
topsrcdir)
/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py
\
--preprocess-locale
$(
moz
topsrcdir)
\
$(PYTHON)
$(topsrcdir)
/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py
\
--preprocess-locale
$(topsrcdir)
\
$(PPL_LOCALE_ARGS)
$(AB_CD)
$(CONFIG_DIR)
GARBARGE_DIRS
+=
instgen
include
$(topsrcdir)/config/rules.mk
include
$(
moz
topsrcdir)/toolkit/mozapps/installer/windows/nsis/makensis.mk
include
$(topsrcdir)/toolkit/mozapps/installer/windows/nsis/makensis.mk
suite/locales/Makefile.in
View file @
0e48d4af
...
...
@@ -2,10 +2,10 @@
# 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/.
LOCALE_TOPDIR
=
$(
comm
topsrcdir)
LOCALE_TOPDIR
=
$(topsrcdir)
/comm
LOCALE_RELATIVEDIR
=
suite/locales
include
$(
moz
topsrcdir)/config/config.mk
include
$(topsrcdir)/config/config.mk
SUBMAKEFILES
+=
\
$(DEPTH)
/
$(MOZ_BRANDING_DIRECTORY)
/Makefile
\
...
...
@@ -35,7 +35,7 @@ MOZ_PKG_MAC_ICON=$(ABS_DIST)/branding/disk.icns
MOZ_PKG_MAC_EXTRA
=
--symlink
'/Applications:/ '
endif
MOZ_SFX_PACKAGE
=
$(
comm
topsrcdir)
/other-licenses/7zstub/seamonkey/7zSD.sfx
MOZ_SFX_PACKAGE
=
$(topsrcdir)
/
comm/
other-licenses/7zstub/seamonkey/7zSD.sfx
NON_OMNIJAR_FILES
=
\
defaults/messenger/mailViews.dat
\
...
...
@@ -64,13 +64,11 @@ libs:: searchplugins
# Currently not set in SeaMonkey.
DIST_SUBDIRS
=
$(DIST_SUBDIR)
include
$(
moz
topsrcdir)/config/rules.mk
include
$(topsrcdir)/config/rules.mk
ifeq
($(commreltopsrcdir),comm)
COMPARE_LOCALES_DEFINES
+=
-Dmozilla
=
..
endif
include
$(
moz
topsrcdir)/toolkit/locales/l10n.mk
include
$(topsrcdir)/toolkit/locales/l10n.mk
$(list-json)
:
$(call mkdir_deps
,
$(SEARCHPLUGINS_PATH)) $(if $(IS_LANGUAGE_REPACK)
,
FORCE)
$(
call
py_action,generate_searchjson,
$(srcdir)
/search/list.json
$(AB_CD)
$
(
list-json
))
...
...
@@ -190,13 +188,13 @@ endif
ident
:
@
printf
'comm_revision '
@
$(PYTHON)
$(
moz
topsrcdir)
/config/printconfigsetting.py
\
@
$(PYTHON)
$(topsrcdir)
/config/printconfigsetting.py
\
$(STAGEDIST)
/application.ini App SourceStamp
@
printf
'moz_revision '
@
$(PYTHON)
$(
moz
topsrcdir)
/config/printconfigsetting.py
\
@
$(PYTHON)
$(topsrcdir)
/config/printconfigsetting.py
\
$(STAGEDIST)
/platform.ini Build SourceStamp
@
printf
'buildid '
@
$(PYTHON)
$(
moz
topsrcdir)
/config/printconfigsetting.py
\
@
$(PYTHON)
$(topsrcdir)
/config/printconfigsetting.py
\
$(STAGEDIST)
/application.ini App BuildID
ifdef
MOZ_IRC
...
...
suite/moz.build
View file @
0e48d4af
...
...
@@ -23,7 +23,7 @@ if CONFIG['MAKENSISU']:
DIRS
+=
[
'installer/windows'
]
if
CONFIG
[
'MOZ_BUNDLED_FONTS'
]:
DIRS
+=
[
'/
%s/
browser/fonts'
%
CONFIG
[
'mozreltopsrcdir'
]
]
DIRS
+=
[
'/browser/fonts'
]
# app is always last as it packages up the built files on mac.
DIRS
+=
[
...
...
suite/themes/modern/moz.build
View file @
0e48d4af
...
...
@@ -12,7 +12,6 @@ JAR_MANIFESTS += ['jar.mn']
USE_EXTENSION_MANIFEST
=
True
DEFINES
[
'SEAMONKEY_VERSION'
]
=
CONFIG
[
'SEAMONKEY_VERSION'
]
DEFINES
[
'mozreltopsrcdir'
]
=
CONFIG
[
'mozreltopsrcdir'
]
FINAL_TARGET_FILES
+=
[
'icon.png'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment