thunderbird

This commit is contained in:
Rmys
2025-01-04 22:10:09 +03:00
parent 82f40d43c9
commit f7f5133e2b
2 changed files with 22 additions and 19 deletions
+15 -13
View File
@@ -10,13 +10,15 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
ObjDir = "build"
# ObjDir = "build"
MOZAPPDIR= "/usr/lib/thunderbird"
shelltools.export("SHELL", "/bin/sh")
shelltools.export("MACH_USE_SYSTEM_PYTHON", "1")
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")
locales = "ca da de el en-GB en-US es-AR es-ES fi fr hr hu it lt nl pl pt-BR pt-PT ro ru sr sv-SE tr uk".split()
locales = "be ca da de el en-GB en-US es-AR es-ES fi fr hr hu it lt nl pl pt-BR pt-PT ro ru sr sv-SE tr uk".split()
xpidir = "%s/xpi" % get.workDIR()
arch = get.ARCH()
ver = ".".join(get.srcVERSION().split(".")[:3])
@@ -28,27 +30,27 @@ def setup():
shelltools.system("rm -rf langpack-tb/*/browser/defaults")
if not shelltools.isDirectory(xpidir): shelltools.makedirs(xpidir)
for locale in locales:
shelltools.system("wget -c -P %s http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/%s/linux-%s/xpi/%s.xpi" % (xpidir, ver, arch, locale))
shelltools.system("wget -c -P %s http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/%sesr/linux-%s/xpi/%s.xpi" % (xpidir, ver, arch, locale))
shelltools.makedirs("langpack-tb")
shelltools.system("cp %s/%s.xpi langpack-tb/langpack-%s@thunderbird.mozilla.org.xpi" % (xpidir, locale, locale))
#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")
# shelltools.makedirs(ObjDir)
# shelltools.cd(ObjDir)
shelltools.system("./mach configure")
def build():
shelltools.cd(ObjDir)
shelltools.system("../mach build")
shelltools.system("../mach buildsymbols")
# 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(ObjDir)
shelltools.system("DESTDIR=%s ./mach install " % get.installDIR())
shelltools.cd("..")
# shelltools.cd("..")
# Install fix language packs
pisitools.insinto("/usr/lib/thunderbird/extensions", "langpack-tb/*")
+7 -6
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>thunderbird</Name>
@@ -15,7 +15,7 @@
<IsA>app:gui</IsA>
<Summary>The Stand-Alone Mozilla Mail Component</Summary>
<Description>Thunderbird is a redesign of the Mozilla Mail Component. It is written using the XUL user interface language and designed to be cross-platform.</Description>
<Archive sha1sum="ab442b395cd996f91e50048fd5cb5572e6c47f2f" type="tarxz">https://ftp.mozilla.org/pub/thunderbird/releases/133.0/source/thunderbird-133.0.source.tar.xz</Archive>
<Archive sha1sum="4eef82bdeb9804634c0bbc5a154407215ed616ef" type="tarxz">https://ftp.mozilla.org/pub/thunderbird/releases/128.5.2esr/source/thunderbird-128.5.2esr.source.tar.xz</Archive>
<AdditionalFiles>
<AdditionalFile target=".mozconfig">pisilinux/mozconfig</AdditionalFile>
</AdditionalFiles>
@@ -51,6 +51,7 @@
<Dependency>python3-devel</Dependency>
<Dependency>llvm-clang-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-psutil</Dependency>
<Dependency>nodejs</Dependency>
<Dependency>libuv-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
@@ -472,11 +473,11 @@
<History>
<Update release="15">
<Date>2025-01-01</Date>
<Version>133.0</Version>
<Date>2025-01-04</Date>
<Version>128.5.2</Version>
<Comment>Version bump.</Comment>
<Name>Bedirhan KURT</Name>
<Email>bedirhan.kurt@outlook.com</Email>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="14">
<Date>2024-05-02</Date>