mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/firefox to 127.0-1
This commit is contained in:
parent
b426914c8d
commit
a634202ab2
6 changed files with 62 additions and 23422 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = firefox
|
||||
pkgdesc = Standalone web browser from mozilla.org
|
||||
pkgver = 126.0.1
|
||||
pkgver = 127.0
|
||||
pkgrel = 1
|
||||
url = https://www.mozilla.org/firefox/
|
||||
arch = x86_64
|
||||
|
@ -63,21 +63,21 @@ pkgbase = firefox
|
|||
options = !emptydirs
|
||||
options = !lto
|
||||
options = !makeflags
|
||||
source = https://archive.mozilla.org/pub/firefox/releases/126.0.1/source/firefox-126.0.1.source.tar.xz
|
||||
source = https://archive.mozilla.org/pub/firefox/releases/126.0.1/source/firefox-126.0.1.source.tar.xz.asc
|
||||
source = https://archive.mozilla.org/pub/firefox/releases/127.0/source/firefox-127.0.source.tar.xz
|
||||
source = https://archive.mozilla.org/pub/firefox/releases/127.0/source/firefox-127.0.source.tar.xz.asc
|
||||
source = firefox-symbolic.svg
|
||||
source = firefox.desktop
|
||||
source = identity-icons-brand.svg
|
||||
source = 0001-Bug-1882209-Update-encoding_rs-to-0.8.34-to-deal-wit.patch
|
||||
source = org.mozilla.firefox.metainfo.xml
|
||||
validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353
|
||||
sha256sums = f63026359f678a5d45cea4c7744fcef512abbb58a5b016bbbb1c6ace723a263b
|
||||
sha256sums = ea6b089ff046ca503978fdaf11ea123c64f66bbcdc4a968bed8f7c93e9994321
|
||||
sha256sums = SKIP
|
||||
sha256sums = 1f241fdc619f92a914c75aece7c7c717401d7467c9a306458e106b05f34e5044
|
||||
sha256sums = a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9
|
||||
sha256sums = 22c030ef8a047802ae56d20b1c2a6a3830e9a5ac4e5399163a2b57a1c09a20b2
|
||||
b2sums = b5d381bbf3ac7d63561dc4c8f8955faeb08fe41e57a05b39585f01054a5348d68d6fc50d9c00d151c211d26ba2d0fb21843868e4cfc1445e4c637ac5756af161
|
||||
sha256sums = 1f241fdc619f92a914c75aece7c7c717401d7467c9a306458e106b05f34e5044
|
||||
sha256sums = 58d78ce57b3ee936bc966458d6b20ab142d02a897bbe924b3f26717af0c5bee1
|
||||
b2sums = 78fe92863389763759ce6e25dccc8adb19b8c35b59e591f40982fe5cd3b5511fee8f809567fa5aade68fcf3b40c1860f5e63aabdef0421c94b803d30d32d4988
|
||||
b2sums = SKIP
|
||||
b2sums = d07557840097dd48a60c51cc5111950781e1c6ce255557693bd11306c7a9258b2a82548329762148f117b2295145f9e66e0483a18e2fe09c5afcffed2e4b8628
|
||||
b2sums = 63a8dd9d8910f9efb353bed452d8b4b2a2da435857ccee083fc0c557f8c4c1339ca593b463db320f70387a1b63f1a79e709e9d12c69520993e26d85a3d742e34
|
||||
b2sums = 6b8b6fe5d658fd76844fc1d9f47b3892bcb5a59a8d10baabf7d52fb4f7c9e8f4858576859390e6d4c542d46cabb335cd06f8c4a80a7d5dde0868b29cd048d308
|
||||
b2sums = d07557840097dd48a60c51cc5111950781e1c6ce255557693bd11306c7a9258b2a82548329762148f117b2295145f9e66e0483a18e2fe09c5afcffed2e4b8628
|
||||
b2sums = 2ce33432f8a73a4f1a412b7a065d3c124e1ca9f6bdf3fad0407e897efc0840f8ef43eeeb1b9bef4a102d9fac0b2c4a2ef205726b817f83fe9c3742d076778b14
|
||||
|
||||
pkgname = firefox
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10,7 +10,7 @@
|
|||
highmem=1
|
||||
|
||||
pkgname=firefox
|
||||
pkgver=126.0.1
|
||||
pkgver=127.0
|
||||
pkgrel=1
|
||||
pkgdesc="Standalone web browser from mozilla.org"
|
||||
url="https://www.mozilla.org/firefox/"
|
||||
|
@ -80,25 +80,25 @@ options=(
|
|||
)
|
||||
source=(
|
||||
https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc}
|
||||
$pkgname-symbolic.svg
|
||||
$pkgname.desktop
|
||||
identity-icons-brand.svg
|
||||
0001-Bug-1882209-Update-encoding_rs-to-0.8.34-to-deal-wit.patch
|
||||
org.mozilla.$pkgname.metainfo.xml
|
||||
)
|
||||
validpgpkeys=(
|
||||
# Mozilla Software Releases <release@mozilla.com>
|
||||
# https://blog.mozilla.org/security/2023/05/11/updated-gpg-key-for-signing-firefox-releases/
|
||||
14F26682D0916CDD81E37B6D61B7B526D98F0353
|
||||
)
|
||||
sha256sums=('f63026359f678a5d45cea4c7744fcef512abbb58a5b016bbbb1c6ace723a263b'
|
||||
sha256sums=('ea6b089ff046ca503978fdaf11ea123c64f66bbcdc4a968bed8f7c93e9994321'
|
||||
'SKIP'
|
||||
'1f241fdc619f92a914c75aece7c7c717401d7467c9a306458e106b05f34e5044'
|
||||
'a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9'
|
||||
'22c030ef8a047802ae56d20b1c2a6a3830e9a5ac4e5399163a2b57a1c09a20b2')
|
||||
b2sums=('b5d381bbf3ac7d63561dc4c8f8955faeb08fe41e57a05b39585f01054a5348d68d6fc50d9c00d151c211d26ba2d0fb21843868e4cfc1445e4c637ac5756af161'
|
||||
'1f241fdc619f92a914c75aece7c7c717401d7467c9a306458e106b05f34e5044'
|
||||
'58d78ce57b3ee936bc966458d6b20ab142d02a897bbe924b3f26717af0c5bee1')
|
||||
b2sums=('78fe92863389763759ce6e25dccc8adb19b8c35b59e591f40982fe5cd3b5511fee8f809567fa5aade68fcf3b40c1860f5e63aabdef0421c94b803d30d32d4988'
|
||||
'SKIP'
|
||||
'd07557840097dd48a60c51cc5111950781e1c6ce255557693bd11306c7a9258b2a82548329762148f117b2295145f9e66e0483a18e2fe09c5afcffed2e4b8628'
|
||||
'63a8dd9d8910f9efb353bed452d8b4b2a2da435857ccee083fc0c557f8c4c1339ca593b463db320f70387a1b63f1a79e709e9d12c69520993e26d85a3d742e34'
|
||||
'6b8b6fe5d658fd76844fc1d9f47b3892bcb5a59a8d10baabf7d52fb4f7c9e8f4858576859390e6d4c542d46cabb335cd06f8c4a80a7d5dde0868b29cd048d308')
|
||||
'd07557840097dd48a60c51cc5111950781e1c6ce255557693bd11306c7a9258b2a82548329762148f117b2295145f9e66e0483a18e2fe09c5afcffed2e4b8628'
|
||||
'2ce33432f8a73a4f1a412b7a065d3c124e1ca9f6bdf3fad0407e897efc0840f8ef43eeeb1b9bef4a102d9fac0b2c4a2ef205726b817f83fe9c3742d076778b14')
|
||||
|
||||
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
|
||||
# Note: These are for Arch Linux use ONLY. For your own distribution, please
|
||||
|
@ -117,9 +117,6 @@ prepare() {
|
|||
mkdir mozbuild
|
||||
cd firefox-$pkgver
|
||||
|
||||
# Fix build with Rust 1.78.0
|
||||
patch -Np1 -i ../0001-Bug-1882209-Update-encoding_rs-to-0.8.34-to-deal-wit.patch
|
||||
|
||||
echo -n "$_google_api_key" >google-api-key
|
||||
echo -n "$_mozilla_api_key" >mozilla-api-key
|
||||
|
||||
|
@ -259,11 +256,10 @@ END
|
|||
"$pkgdir/usr/share/icons/hicolor/384x384/apps/$pkgname.png"
|
||||
install -Dvm644 browser/branding/$theme/content/about-logo.svg \
|
||||
"$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
|
||||
install -Dvm644 ../identity-icons-brand.svg \
|
||||
"$pkgdir/usr/share/icons/hicolor/symbolic/apps/$pkgname-symbolic.svg"
|
||||
|
||||
install -Dvm644 ../$pkgname.desktop \
|
||||
"$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
install -Dvm644 ../$pkgname-symbolic.svg -t "$pkgdir/usr/share/icons/hicolor/symbolic/apps"
|
||||
install -Dvm644 ../$pkgname.desktop -t "$pkgdir/usr/share/applications"
|
||||
install -Dvm644 ../org.mozilla.$pkgname.metainfo.xml -t "$pkgdir/usr/share/metainfo"
|
||||
|
||||
# Install a wrapper to avoid confusion about binary path
|
||||
install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
39
extra/firefox/org.mozilla.firefox.metainfo.xml
Normal file
39
extra/firefox/org.mozilla.firefox.metainfo.xml
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>org.mozilla.firefox</id>
|
||||
<launchable type="desktop-id">firefox.desktop</launchable>
|
||||
<name>Firefox</name>
|
||||
<developer_name>Mozilla</developer_name>
|
||||
<summary>Fast, Private & Safe Web Browser</summary>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>MPL-2.0</project_license>
|
||||
<description>
|
||||
<p>When it comes to your life online, you have a choice: accept the factory settings or put your privacy first. When you choose Firefox as your default browser, you’re choosing to protect your data while supporting an independent tech company. Firefox is also the only major browser backed by a non-profit fighting to give you more openness, transparency and control of your life online. Join hundreds of millions of people who choose to protect what's important by choosing Firefox - a web browser designed to be fast, easy to use, customizable and private.</p>
|
||||
</description>
|
||||
<keywords>
|
||||
<keyword>mozilla</keyword>
|
||||
<keyword>internet</keyword>
|
||||
<keyword>web</keyword>
|
||||
</keywords>
|
||||
<content_rating type="oars-1.1" />
|
||||
<url type="homepage">https://www.mozilla.org/firefox/</url>
|
||||
<url type="donation">https://donate.mozilla.org/</url>
|
||||
<url type="bugtracker">https://bugzilla.mozilla.org/</url>
|
||||
<url type="help">https://support.mozilla.org/</url>
|
||||
<url type="translate">https://wiki.mozilla.org/L10n:Starting_a_localization</url>
|
||||
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image type="source">https://raw.githubusercontent.com/mozilla-releng/scriptworker-scripts/master/pushflatpakscript/media/screenshots/image1.png</image>
|
||||
<caption>The “New Tab” page</caption>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/mozilla-releng/scriptworker-scripts/master/pushflatpakscript/media/screenshots/image2.png</image>
|
||||
<caption>A Wikipedia article displayed in Firefox</caption>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image type="source">https://raw.githubusercontent.com/mozilla-releng/scriptworker-scripts/master/pushflatpakscript/media/screenshots/image3.png</image>
|
||||
<caption>The “Welcome to Firefox” page: “Open up an amazing internet”</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
</component>
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
die() {
|
||||
echo >&2 "$@"
|
||||
exit 1
|
||||
}
|
||||
|
||||
(( $# >= 2 )) || die "Usage: $0 TOKEN-FILE SYMBOL-ARCHIVE..."
|
||||
token="$1"
|
||||
shift
|
||||
|
||||
[[ -f $token && -s $token ]] || die "Invalid TOKEN-FILE ${token@Q}"
|
||||
|
||||
for zip; do
|
||||
[[ $(file -SEbi "$zip") == application/zip* ]] || die "Invalid SYMBOL-ARCHIVE ${zip@Q}"
|
||||
done
|
||||
|
||||
for zip; do
|
||||
echo >&2 "Uploading ${zip@Q} ..."
|
||||
curl -X POST -H "Auth-Token: $(<"$token")" -F "${zip##*/}=@$zip" \
|
||||
--retry 4 --retry-connrefused --connect-timeout 120 \
|
||||
https://symbols.mozilla.org/upload/
|
||||
echo
|
||||
mv -v "$zip" "$zip.uploaded"
|
||||
done
|
Loading…
Reference in a new issue