Compare commits

...

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

43 changed files with 239 additions and 23 deletions

73
.gitignore vendored
View File

@ -1,6 +1,69 @@
SOURCES/cbindgen-vendor.tar.xz
SOURCES/nspr-4.35.0-1.el8_1.src.rpm
SOURCES/nss-3.90.0-2.el8_1.src.rpm
SOURCES/nss-3.90.0-3.el9_0.src.rpm
SOURCES/thunderbird-115.13.0.b5.processed-source.tar.xz
SOURCES/thunderbird-langpacks-115.13.0-20240716.tar.xz
SOURCES/nspr-4.34.0-3.el8_1.src.rpm
SOURCES/nss-3.79.0-6.el8_1.src.rpm
SOURCES/thunderbird-102.8.0.b2.processed-source.tar.xz
SOURCES/thunderbird-langpacks-102.8.0-20230215.tar.xz
SOURCES/thunderbird-symbolic.svg
/cbindgen-vendor.tar.xz
/nspr-4.34.0-3.el8_1.src.rpm
/nss-3.79.0-6.el8_1.src.rpm
/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-115.13.0.processed-source.tar.xz
/thunderbird-langpacks-115.13.0esr-20240708.tar.xz
/thunderbird-langpacks-115.13.0-20240708.tar.xz
/thunderbird-langpacks-115.13.0-20240710.tar.xz
/thunderbird-115.13.0.b3.processed-source.tar.xz
/thunderbird-115.13.0.b5.processed-source.tar.xz
/thunderbird-langpacks-115.13.0-20240716.tar.xz

View File

@ -1,6 +0,0 @@
b963b16f6879c5dbe6e33a3a3da058b494453922 SOURCES/cbindgen-vendor.tar.xz
d744f92e874688cc4b5376477dfdd639a97a6cd4 SOURCES/nspr-4.35.0-1.el8_1.src.rpm
39d1004f8948186cdaa33bbb90423f6f994bdf6c SOURCES/nss-3.90.0-2.el8_1.src.rpm
df0dd588680f6ade6728a1fd3ff2d71e7a46255d SOURCES/nss-3.90.0-3.el9_0.src.rpm
edaa489a1ace321a8efdd9a706e2ce18d87fb092 SOURCES/thunderbird-115.13.0.b5.processed-source.tar.xz
27d8cb8b0d96464a810f6d8393990c5bef601784 SOURCES/thunderbird-langpacks-115.13.0-20240716.tar.xz

View File

@ -1,12 +0,0 @@
diff -up thunderbird-115.1.0/comm/third_party/rnp/moz.build.rnp-openssl thunderbird-115.1.0/comm/third_party/rnp/moz.build
--- thunderbird-115.1.0/comm/third_party/rnp/moz.build.rnp-openssl 2023-08-07 16:38:39.272780256 +0200
+++ thunderbird-115.1.0/comm/third_party/rnp/moz.build 2023-08-07 16:38:42.822780087 +0200
@@ -93,7 +93,7 @@ elif CONFIG["MZLA_LIBRNP_BACKEND"] == "o
# Supported, but not with RHEL's OpenSSL, disabled for now;
"ENABLE_BRAINPOOL": False,
})
- rnp_defines["PACKAGE_STRING"] = rnp_defines["PACKAGE_STRING"][:-1] + '-openssl"'
+ #rnp_defines["PACKAGE_STRING"] = rnp_defines["PACKAGE_STRING"][:-1] + '-openssl"'
if CONFIG["MZLA_LIBRNP_OPENSSL_VERSION"][0] == "3":
rnp_defines["CRYPTO_BACKEND_OPENSSL3"] = True

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
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 firefox sources.
badfuncs:
allowed:
/usr/lib64/thunderbird/libxul.so:
- inet_addr
- inet_ntoa
# We don't plan to build Firefox with the LTO because it brings more problems
# than benefits to the package.
annocheck:
- rhel-policy: --ignore-unknown --verbose --skip-lto --skip-cf-protection --skip-property-note
runpath:
# rpath to bundled content
allowed_paths:
- /usr/lib64/thunderbird/bundled/lib64

6
sources Normal file
View File

@ -0,0 +1,6 @@
SHA512 (cbindgen-vendor.tar.xz) = 161811f4adfc74e5d92871c78139704d32e1e1ad6b615c85353de300d9647a68f1ca8b1c953f7cc5539d861e9e8d8e42892cae757a3eafea78804e19bc323c16
SHA512 (nspr-4.35.0-1.el8_1.src.rpm) = 5123a443fcc42602e31104999be339ae899eb7b1f1e2f1ea87ba4f283eb894d08ab568e421dba1df4770f23be91ff88aa6a0748bce7feef31ed88bee5bdecb2c
SHA512 (nss-3.90.0-2.el8_1.src.rpm) = 850cd6a343e62d34ad28ac356db03371f0b1f018274901cc700cc4f8138c9929eb159bbb1ebe167f727a69f6499423a54581ca65ed655ee468f1cae8450df85c
SHA512 (nss-3.90.0-3.el9_0.src.rpm) = f321b9c1bda0b09eee564e2903023435851a4ff2e55bdd5b03012ca51be7999b18d85061f874065d0b25913721eb574f49746a3111f8f1cdd5b21268dddd8367
SHA512 (thunderbird-115.13.0.b5.processed-source.tar.xz) = b8d241d0eaf3f35e5972f38af8741343fc08ad80b1a93a0dfa833d5eaa3f9f7f85828c4bf68e5d40624c9c0c7b2623a981ede84862c349cc35ebc9b1bdca9148
SHA512 (thunderbird-langpacks-115.13.0-20240716.tar.xz) = f8b27c10286fd5936ea2d6178ba5a5d13e67150ccb6c1dac1254ab1a88dff8538353627ad7a6195fc02789e5f8c889cccbd795f95d20fe4169bbfa58555b4976

View File

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB