thunderbird
This commit is contained in:
@@ -14,7 +14,6 @@ from pisi.actionsapi import shelltools
|
||||
MOZAPPDIR= "/usr/lib/thunderbird"
|
||||
shelltools.export("SHELL", "/bin/sh")
|
||||
shelltools.export("PYTHON", "/usr/bin/python3")
|
||||
# shelltools.export("MACH_USE_SYSTEM_PYTHON", "1")
|
||||
shelltools.system("export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none")
|
||||
shelltools.export("MOZBUILD_STATE_PATH", "mozbuild")
|
||||
|
||||
@@ -37,21 +36,15 @@ def setup():
|
||||
#shelltools.makedirs("langpack-tb/langpack-%s@thunderbird.mozilla.org" % locale)
|
||||
#shelltools.system("unzip -uo %s/%s.xpi -d langpack-tb/langpack-%s@thunderbird.mozilla.org" % (xpidir, locale, locale))
|
||||
|
||||
# shelltools.makedirs(ObjDir)
|
||||
# shelltools.cd(ObjDir)
|
||||
shelltools.system("./mach configure")
|
||||
|
||||
def build():
|
||||
# shelltools.cd(ObjDir)
|
||||
shelltools.system("./mach build")
|
||||
shelltools.system("./mach buildsymbols")
|
||||
|
||||
def install():
|
||||
# shelltools.cd(ObjDir)
|
||||
shelltools.system("DESTDIR=%s ./mach install " % get.installDIR())
|
||||
|
||||
# shelltools.cd("..")
|
||||
|
||||
# Install fix language packs
|
||||
pisitools.insinto("/usr/lib/thunderbird/extensions", "./langpack-tb/*")
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
set rust crate lto to thin to not use fatlto for gkrust which fails sometimes
|
||||
--- a/config/makefiles/rust.mk
|
||||
+++ b/config/makefiles/rust.mk
|
||||
@@ -92,7 +92,7 @@
|
||||
# Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045.
|
||||
ifndef MOZ_CODE_COVERAGE
|
||||
ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
|
||||
-cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=fat)
|
||||
+cargo_rustc_flags += -Clto=thin
|
||||
endif
|
||||
# We need -Cembed-bitcode=yes for all crates when using -Clto.
|
||||
RUSTFLAGS += -Cembed-bitcode=yes
|
||||
@@ -59,6 +59,7 @@
|
||||
<Patches>
|
||||
<Patch level="1">metainfo.patch</Patch>
|
||||
<Patch level="1">D231480.patch</Patch>
|
||||
<Patch level="1">rust-lto-thin.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -475,7 +476,7 @@
|
||||
<Update release="15">
|
||||
<Date>2025-01-04</Date>
|
||||
<Version>128.5.2</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
|
||||
Reference in New Issue
Block a user