Compare commits

..

No commits in common. "c8" and "a10s" have entirely different histories.
c8 ... a10s

43 changed files with 308 additions and 14 deletions

138
.gitignore vendored
View File

@ -1,6 +1,132 @@
SOURCES/cbindgen-vendor.tar.xz
SOURCES/nspr-4.35.0-1.el8_1.src.rpm
SOURCES/nss-3.101.0-7.el8_2.src.rpm
SOURCES/nss-3.101.0-7.el9_2.src.rpm
SOURCES/thunderbird-128.3.1esr.processed-source.tar.xz
SOURCES/thunderbird-langpacks-128.3.1esr-20241009.tar.xz
/cbindgen-vendor.tar.xz
/nspr-4.32.0-1.el8_1.src.rpm
/nss-3.67.0-6.el8_1.src.rpm
/thunderbird-91.1.2.processed-source.tar.xz
/thunderbird-langpacks-91.1.2-20210929.tar.xz
/thunderbird-langpacks-91.2.0-20211004.tar.xz
/thunderbird-91.2.0.processed-source.tar.xz
/thunderbird-91.3.0.processed-source.tar.xz
/thunderbird-langpacks-91.3.0-20211101.tar.xz
/thunderbird-langpacks-91.3.0-20211102.tar.xz
/thunderbird-91.4.0.processed-source.tar.xz
/thunderbird-langpacks-91.4.0-20211201.tar.xz
/nss-3.67.0-7.el8_1.src.rpm
/thunderbird-langpacks-91.4.0-20211206.tar.xz
/thunderbird-91.5.0.processed-source.tar.xz
/thunderbird-langpacks-91.5.0-20220107.tar.xz
/thunderbird-langpacks-91.6.0-20220207.tar.xz
/thunderbird-91.6.0.processed-source.tar.xz
/thunderbird-langpacks-91.7.0-20220303.tar.xz
/thunderbird-91.7.0.processed-source.tar.xz
/thunderbird-langpacks-91.7.0-20220308.tar.xz
/thunderbird-langpacks-91.8.0-20220405.tar.xz
/thunderbird-91.8.0.processed-source.tar.xz
/thunderbird-langpacks-91.9.0-20220428.tar.xz
/thunderbird-91.9.0.processed-source.tar.xz
/thunderbird-langpacks-91.9.0-20220502.tar.xz
/thunderbird-langpacks-91.9.0-20220503.tar.xz
/thunderbird-91.9.1.processed-source.tar.xz
/thunderbird-langpacks-91.9.1-20220523.tar.xz
/thunderbird-91.10.0.processed-source.tar.xz
/thunderbird-langpacks-91.10.0-20220530.tar.xz
/thunderbird-91.11.0.processed-source.tar.xz
/thunderbird-langpacks-91.11.0-20220623.tar.xz
/thunderbird-91.11.0.b2.processed-source.tar.xz
/thunderbird-langpacks-91.11.0-20220628.tar.xz
/thunderbird-91.12.0.processed-source.tar.xz
/thunderbird-langpacks-91.12.0-20220725.tar.xz
/thunderbird-91.13.0.processed-source.tar.xz
/thunderbird-langpacks-91.13.0-20220819.tar.xz
/nss-3.79.0-6.el8_1.src.rpm
/nspr-4.34.0-3.el8_1.src.rpm
/thunderbird-102.2.1.source.tar.xz
/thunderbird-langpacks-102.2.1-20220901.tar.xz
/thunderbird-102.2.1.processed-source.tar.xz
/thunderbird-102.3.0.processed-source.tar.xz
/thunderbird-langpacks-102.3.0-20220916.tar.xz
/thunderbird-langpacks-102.4.0-20221017.tar.xz
/thunderbird-102.4.0.processed-source.tar.xz
/thunderbird-102.5.0.processed-source.tar.xz
/thunderbird-langpacks-102.5.0-20221111.tar.xz
/thunderbird-langpacks-102.5.0-20221115.tar.xz
/thunderbird-102.6.0.processed-source.tar.xz
/thunderbird-langpacks-102.6.0-20221209.tar.xz
/thunderbird-langpacks-102.6.0-20221213.tar.xz
/thunderbird-102.7.0.processed-source.tar.xz
/thunderbird-langpacks-102.7.0-20230116.tar.xz
/thunderbird-102.7.1.processed-source.tar.xz
/thunderbird-langpacks-102.7.1-20230124.tar.xz
/thunderbird-langpacks-102.7.1-20230131.tar.xz
/thunderbird-102.8.0.processed-source.tar.xz
/thunderbird-langpacks-102.8.0-20230210.tar.xz
/thunderbird-102.8.0.b2.processed-source.tar.xz
/thunderbird-langpacks-102.8.0-20230215.tar.xz
/thunderbird-102.9.0.processed-source.tar.xz
/thunderbird-langpacks-102.9.0-20230313.tar.xz
/nss-3.79.0-11.el8_1.src.rpm
/thunderbird-102.10.0.processed-source.tar.xz
/thunderbird-langpacks-102.10.0-20230406.tar.xz
/thunderbird-102.10.0.b2.processed-source.tar.xz
/thunderbird-langpacks-102.10.0-20230411.tar.xz
/thunderbird-102.11.0.processed-source.tar.xz
/thunderbird-langpacks-102.11.0-20230504.tar.xz
/thunderbird-115.1.0.processed-source.tar.xz
/thunderbird-langpacks-115.1.0-20230804.tar.xz
/nspr-4.35.0-1.el8_1.src.rpm
/nss-3.90.0-2.el8_1.src.rpm
/thunderbird-115.2.1.processed-source.tar.xz
/thunderbird-langpacks-115.2.1-20230908.tar.xz
/nss-3.90.0-3.el9_0.src.rpm
/nss-3.90.0-3-no-buildid.el9_0.src.rpm
/thunderbird-115.3.0.processed-source.tar.xz
/thunderbird-langpacks-115.3.0-20230926.tar.xz
/thunderbird-langpacks-115.3.1-20230929.tar.xz
/thunderbird-115.3.1.processed-source.tar.xz
/thunderbird-langpacks-115.4.0-20231020.tar.xz
/thunderbird-115.4.0.processed-source.tar.xz
/thunderbird-langpacks-115.4.0-20231021.tar.xz
/thunderbird-115.4.0.b2.processed-source.tar.xz
/thunderbird-langpacks-115.4.0-20231024.tar.xz
/thunderbird-115.4.0.b3.processed-source.tar.xz
/thunderbird-115.4.1.processed-source.tar.xz
/thunderbird-langpacks-115.4.1-20231025.tar.xz
/thunderbird-115.5.0.processed-source.tar.xz
/thunderbird-langpacks-115.5.0-20231121.tar.xz
/thunderbird-115.6.0.processed-source.tar.xz
/thunderbird-langpacks-115.6.0-20231218.tar.xz
/thunderbird-115.7.0.processed-source.tar.xz
/thunderbird-langpacks-115.7.0-20240122.tar.xz
/thunderbird-115.8.0.processed-source.tar.xz
/thunderbird-langpacks-115.8.0-20240219.tar.xz
/thunderbird-115.9.0.processed-source.tar.xz
/thunderbird-langpacks-115.9.0-20240318.tar.xz
/thunderbird-115.10.0.processed-source.tar.xz
/thunderbird-langpacks-115.10.0-20240412.tar.xz
/thunderbird-115.10.0.b2.processed-source.tar.xz
/thunderbird-langpacks-115.10.0-20240415.tar.xz
/thunderbird-115.11.0.processed-source.tar.xz
/thunderbird-langpacks-115.11.0-20240513.tar.xz
/thunderbird-115.12.0.processed-source.tar.xz
/thunderbird-langpacks-115.12.0-20240610.tar.xz
/thunderbird-langpacks-115.12.0-20240611.tar.xz
/thunderbird-115.12.0.b2.processed-source.tar.xz
/thunderbird-115.12.1.processed-source.tar.xz
/thunderbird-langpacks-115.12.1-20240618.tar.xz
/thunderbird-128.0b4.processed-source.tar.xz
/thunderbird-langpacks-128.0b4-20240627.tar.xz
/thunderbird-langpacks-128.0esr-20240710.tar.xz
/thunderbird-128.0esr.processed-source.tar.xz
/nss-3.101.0-6.el9_2.src.rpm
/nss-3.101.0-6.fc40.src.rpm
/nss-3.101.0-6.el8_2.src.rpm
/thunderbird-langpacks-128.1.1esr-20240829.tar.xz
/nss-3.101.0-6.el9_0.src.rpm
/thunderbird-128.1.1esr.processed-source.tar.xz
/thunderbird-128.2.0esr.processed-source.tar.xz
/thunderbird-langpacks-128.2.0esr-20240905.tar.xz
/thunderbird-langpacks-128.3.0esr-20240930.tar.xz
/thunderbird-128.3.0esr.processed-source.tar.xz
/nss-3.101.0-7.el9_2.src.rpm
/nss-3.101.0-7.el8_2.src.rpm
/thunderbird-128.3.1esr.processed-source.tar.xz
/thunderbird-langpacks-128.3.1esr-20241009.tar.xz

View File

@ -1,6 +0,0 @@
5012b69e54cbebe3b5e74011dacf3a2097f49921 SOURCES/cbindgen-vendor.tar.xz
d744f92e874688cc4b5376477dfdd639a97a6cd4 SOURCES/nspr-4.35.0-1.el8_1.src.rpm
f466d7213e85773e002c48897524eaf909480046 SOURCES/nss-3.101.0-7.el8_2.src.rpm
0413d22a58ba1bba99acec9c3c2a4db56a4100c7 SOURCES/nss-3.101.0-7.el9_2.src.rpm
cb08af756e2def716a67ba6cfa82c7ba5531fe46 SOURCES/thunderbird-128.3.1esr.processed-source.tar.xz
2142c8e71c60688c410f2d9022f52c0d67267f39 SOURCES/thunderbird-langpacks-128.3.1esr-20241009.tar.xz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

126
get-calendar-langpacks.sh Executable file
View File

@ -0,0 +1,126 @@
#!/bin/bash
#set -x
set -e
usage()
{
cat << EOF
usage: $0 options
This script downloads calendar langpacks for Thunderbird.
OPTIONS:
-h Show this message
-v Version string (7.0.1)
-b Build number (1, 2, 3)
-r Reuse downloaded files (when you don't want to redownload)
EOF
}
VER=
BUILDNUM=
LANG_DATE=`date "+%Y%m%d"`
while getopts “hv:b:r” OPTION
do
case $OPTION in
h)
usage
exit 1
;;
v)
VER=$OPTARG
;;
b)
BUILDNUM=$OPTARG
;;
?)
usage
exit
;;
esac
done
if [ -z "$VER" -o -z "$BUILDNUM" ]
then
echo "Missing version or build number."
usage
exit 1
fi
WHITE='\033[1;33m'
NC='\033[0m' # No Color
LOCALES=`curl -f https://archive.mozilla.org/pub/thunderbird/candidates/$VER-candidates/build$BUILDNUM/linux-i686/ | grep "a href"|sed -e "s|.*/\([^/]*\)/\".*|\1|"|tail -n+2 |grep -v xpi`
#echo $LOCALES
rm -rf lightning-langpacks
mkdir -p lightning-langpacks
cd lightning-langpacks
LOCALE_COUNT=`echo $LOCALES| tr ' ' '\n' | wc -l`
LOCALE_NUM=0
for lang in $LOCALES; do
LOCALE_NUM=$((LOCALE_NUM+1))
echo -e "${WHITE}Processing calendar locale: $lang ($LOCALE_NUM/$LOCALE_COUNT)${NC}"
mkdir -p extracted_lightning
mkdir -p calendar-locales
#echo Downloading TB binary for locale: $lang
wget --quiet https://archive.mozilla.org/pub/thunderbird/candidates/$VER-candidates/build$BUILDNUM/linux-i686/$lang/thunderbird-$VER.tar.bz2
cd extracted_lightning
tar -xf ../thunderbird-$VER.tar.bz2 thunderbird/distribution/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}.xpi
set +e
unzip -qq thunderbird/distribution/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}.xpi
set -e
LIGHTNING_VERSION=`cat app.ini |grep "^Version="|sed -e 's/Version=//'`
BUILD_ID=`cat app.ini |grep "^BuildID="|sed -e 's/BuildID=//'`
MAX_VERSION=`cat app.ini |grep MaxVersion|sed -e s/MaxVersion=//`
MIN_VERSION=`cat app.ini |grep MinVersion|sed -e s/MinVersion=//`
rm -rf thunderbird
mkdir -p ../calendar-locales/chrome
cp -r chrome/calendar-$lang ../calendar-locales/chrome
cp -r chrome/lightning-$lang ../calendar-locales/chrome
cd -
cd calendar-locales
# create manifest
cat > manifest.json <<EOL
{
"languages": {
"$lang": {
"chrome_resources": {
"calendar": "chrome/calendar-$lang/locale/$lang/calendar/",
"lightning": "chrome/lightning-$lang/locale/$lang/lightning/"
},
"version": "$LIGHTNING_VERSION"
}
},
"applications": {
"gecko": {
"strict_min_version": "$MIN_VERSION",
"id": "langpack-cal-$lang@lightning.mozilla.org",
"strict_max_version": "$MAX_VERSION"
}
},
"langpack_id": "$lang",
"version": "7.$LIGHTNING_VERSION.$BUILD_ID",
"name": "$lang Language Pack Calendar",
"manifest_version": 2,
"sources": {
"browser": {
"base_path": "browser/"
}
},
"author": "Mozilla.cz (contributors: Pavel Cvrček, Pavel Franc, Michal Stanke, Michal Vašíček)",
"description": "Language pack for Thunderbird for $lang, this was repacked by Fedora/RHEL package maintainer from original binaries."
}
EOL
zip --quiet -r ../langpack-cal-$lang@lightning.mozilla.org.xpi *
cd -
rm -rf calendar-locales
rm -rf extracted_lightning
rm -f thunderbird-$VER.tar.bz2
done
echo "Creating lightning-langpacks-$VER.tar.xz..."
tar cJf ../lightning-langpacks-$VER.tar.xz *.xpi
cd ..
rm -rf lightning-langpacks

14
get_rust_bundled_provides.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
# Get the list of the compiled bundled rust crates.
# Usage: $0 build.log
if [ -z $1 ]; then
echo Get the list of the compiled bundled rust crates.
echo Usage: $0 build.log
exit
fi
while read LINE; do
name=`echo $LINE | cut -d\ -f1`
version=`echo $LINE | cut -d\ -f2|sed -e 's/^v//g'`
echo "Provides: bundled(crate($name)) = $version"
done < <(cat $1 |grep "[0-9]\+[ ]*Compiling [a-z]"|sed -e 's/.*Compiling //'g| sort|uniq)

19
rpminspect.yaml Normal file
View File

@ -0,0 +1,19 @@
---
inspections:
# this inspection is taking way too long and causing timeouts
abidiff: off
# the badfunc is triggered by inet_addr and inet_ntoa which is in the third party
# libraries bundled to thunderbird sources.
badfuncs:
ignore:
- /usr/lib*/thunderbird/libxul.so
- /app/lib*/thunderbird/libxul.so
# We don't plan to build Thunderbird with the LTO because it brings more problems
# than benefits to the package.
annocheck:
- hardened: --ignore-unknown --verbose --skip-lto --skip-cf-protection --skip-property-note
runpath:
# rpath to bundled content
allowed_paths:
- /usr/lib64/thunderbird/bundled/lib64
- /app/lib64/thunderbird/bundled/lib64

6
sources Normal file
View File

@ -0,0 +1,6 @@
SHA512 (nspr-4.35.0-1.el8_1.src.rpm) = 5123a443fcc42602e31104999be339ae899eb7b1f1e2f1ea87ba4f283eb894d08ab568e421dba1df4770f23be91ff88aa6a0748bce7feef31ed88bee5bdecb2c
SHA512 (cbindgen-vendor.tar.xz) = 0c7a40033ccd38dadd30ad064feef390444af4562be07d3dfd0c4cccc55821b01b5228ddee367d0af3bd1b4ef9b1552cdd104506579b020ac1940a7c536b8b68
SHA512 (nss-3.101.0-7.el9_2.src.rpm) = 7c325e0e437c1266031af02b3a026d20b789548ae435be6c39d710aa9d19c967ac0a79097fd50dd8ab878bf0d72c19e937d54863aa8cd0654ef2ef288e3102ec
SHA512 (nss-3.101.0-7.el8_2.src.rpm) = c25551b06cf9239bb54aaf3edaea2c60804b449de4e06af4f5192bc181b5c6468ea8a69ddeff9de1b11bfc123e894b1ce8fc5d6deddfd5062f8736b75db56f8d
SHA512 (thunderbird-128.3.1esr.processed-source.tar.xz) = 5d2b72e2d5d9713d1dd3789c73ac1c0a5fb3d7c540599475469216bf1c34fdae12bbea13f68e05562139c262df46ef482b0fce6ccf08bf2757e36982b95a53dd
SHA512 (thunderbird-langpacks-128.3.1esr-20241009.tar.xz) = 978ad8d3e847a78915a67ca381c4f821d3150aa385eca811a5abd999805da22b85633ffe1885301cce8cd7dc6d09d1c0d26e666e9f3db90cb7c4a14e63b5a8bb

View File

View File

@ -2,7 +2,7 @@ pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false);
/* Allow users to set custom colors*/
/* pref("browser.display.use_system_colors", true);*/
pref("general.useragent.vendor", "Red Hat");
pref("general.useragent.vendor", "AlmaLinux");
pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR");
pref("intl.locale.matchOS", true);
pref("mail.shell.checkDefaultClient", false);

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -132,7 +132,7 @@ end}
Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird
Version: 128.3.1
Release: 1%{?dist}
Release: 1%{?dist}.alma.1
URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+
@ -1634,6 +1634,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#===============================================================================
%changelog
* Thu Oct 17 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 128.3.1-1.alma.1
- Debrand User-Agent
* Wed Oct 09 2024 Eike Rathke <erack@redhat.com> - 128.3.1-1
- Update to 128.3.1