Skip to content

Commit

Permalink
firefox-bin: initial import (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
sepen authored Dec 5, 2024
1 parent 323accf commit 8e41b7a
Show file tree
Hide file tree
Showing 5 changed files with 134 additions and 0 deletions.
77 changes: 77 additions & 0 deletions firefox-bin/.footprint
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/revdep.d/
-rw-r--r-- root/root etc/revdep.d/firefox-bin
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/firefox -> /usr/lib/firefox/firefox
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/firefox/
-rw-r--r-- root/root usr/lib/firefox/application.ini
drwxr-xr-x root/root usr/lib/firefox/browser/
drwxr-xr-x root/root usr/lib/firefox/browser/chrome/
drwxr-xr-x root/root usr/lib/firefox/browser/chrome/icons/
drwxr-xr-x root/root usr/lib/firefox/browser/chrome/icons/default/
-rw-r--r-- root/root usr/lib/firefox/browser/chrome/icons/default/default128.png
-rw-r--r-- root/root usr/lib/firefox/browser/chrome/icons/default/default16.png
-rw-r--r-- root/root usr/lib/firefox/browser/chrome/icons/default/default32.png
-rw-r--r-- root/root usr/lib/firefox/browser/chrome/icons/default/default48.png
-rw-r--r-- root/root usr/lib/firefox/browser/chrome/icons/default/default64.png
-rw-r--r-- root/root usr/lib/firefox/browser/omni.ja
-rwxr-xr-x root/root usr/lib/firefox/crashreporter
drwxr-xr-x root/root usr/lib/firefox/defaults/
drwxr-xr-x root/root usr/lib/firefox/defaults/pref/
-rw-r--r-- root/root usr/lib/firefox/defaults/pref/channel-prefs.js
-rw-r--r-- root/root usr/lib/firefox/dependentlibs.list
drwxr-xr-x root/root usr/lib/firefox/distribution/
-rw-r--r-- root/root usr/lib/firefox/distribution/policies.json
-rwxr-xr-x root/root usr/lib/firefox/firefox
-rwxr-xr-x root/root usr/lib/firefox/firefox-bin
-rw-r--r-- root/root usr/lib/firefox/firefox-bin.sig
-rw-r--r-- root/root usr/lib/firefox/firefox.sig
drwxr-xr-x root/root usr/lib/firefox/fonts/
-rw-r--r-- root/root usr/lib/firefox/fonts/TwemojiMozilla.ttf
-rwxr-xr-x root/root usr/lib/firefox/glxtest
drwxr-xr-x root/root usr/lib/firefox/gmp-clearkey/
drwxr-xr-x root/root usr/lib/firefox/gmp-clearkey/0.1/
-rwxr-xr-x root/root usr/lib/firefox/gmp-clearkey/0.1/libclearkey.so
-rw-r--r-- root/root usr/lib/firefox/gmp-clearkey/0.1/libclearkey.so.sig
-rw-r--r-- root/root usr/lib/firefox/gmp-clearkey/0.1/manifest.json
drwxr-xr-x root/root usr/lib/firefox/icons/
-rw-r--r-- root/root usr/lib/firefox/icons/updater.png
drwxr-xr-x root/root usr/lib/firefox/lib/
-rwxr-xr-x root/root usr/lib/firefox/libfreeblpriv3.so
-rwxr-xr-x root/root usr/lib/firefox/libgkcodecs.so
-rwxr-xr-x root/root usr/lib/firefox/libipcclientcerts.so
-rwxr-xr-x root/root usr/lib/firefox/liblgpllibs.so
-rwxr-xr-x root/root usr/lib/firefox/libmozavcodec.so
-rwxr-xr-x root/root usr/lib/firefox/libmozavutil.so
-rwxr-xr-x root/root usr/lib/firefox/libmozgtk.so
-rwxr-xr-x root/root usr/lib/firefox/libmozsandbox.so
-rwxr-xr-x root/root usr/lib/firefox/libmozsqlite3.so
-rwxr-xr-x root/root usr/lib/firefox/libmozwayland.so
-rwxr-xr-x root/root usr/lib/firefox/libnspr4.so
-rwxr-xr-x root/root usr/lib/firefox/libnss3.so
-rwxr-xr-x root/root usr/lib/firefox/libnssckbi.so
-rwxr-xr-x root/root usr/lib/firefox/libnssutil3.so
-rwxr-xr-x root/root usr/lib/firefox/libplc4.so
-rwxr-xr-x root/root usr/lib/firefox/libplds4.so
-rwxr-xr-x root/root usr/lib/firefox/libsmime3.so
-rwxr-xr-x root/root usr/lib/firefox/libsoftokn3.so
-rwxr-xr-x root/root usr/lib/firefox/libssl3.so
-rwxr-xr-x root/root usr/lib/firefox/libxul.so
-rw-r--r-- root/root usr/lib/firefox/libxul.so.sig
-rw-r--r-- root/root usr/lib/firefox/omni.ja
-rwxr-xr-x root/root usr/lib/firefox/pingsender
-rw-r--r-- root/root usr/lib/firefox/platform.ini
-rw-r--r-- root/root usr/lib/firefox/precomplete
-rw-r--r-- root/root usr/lib/firefox/removed-files (EMPTY)
-rw-r--r-- root/root usr/lib/firefox/update-settings.ini
-rwxr-xr-x root/root usr/lib/firefox/updater
-rw-r--r-- root/root usr/lib/firefox/updater.ini
-rwxr-xr-x root/root usr/lib/firefox/v4l2test
-rwxr-xr-x root/root usr/lib/firefox/vaapitest
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/firefox.desktop
drwxr-xr-x root/root usr/share/pixmaps/
lrwxrwxrwx root/root usr/share/pixmaps/firefox.png -> /usr/lib/firefox/browser/chrome/icons/default/default32.png
7 changes: 7 additions & 0 deletions firefox-bin/.signature
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
untrusted comment: verify with /etc/ports/raspberrypi3-arm64.pub
RWROOThsoDo5hPwlS1gULppM3PlAM6ZS6f0nFH03gqQHIkUyS1vEAodxRrve+K1hVU0lGDJuzwXCzoGVu34r4Z6j8See/2QPbwI=
SHA256 (Pkgfile) = d2d4b7f2eb84d20d828bd8ae4fa2c90afb3884a5b13522edd7a766a309d069d6
SHA256 (.footprint) = 14db59ae4315ee3faaa8a27bbed38484c7db4addd0b0c8c5c45d4406a5982aae
SHA256 (firefox-135.0a1.en-US.linux-aarch64.tar.bz2) = c44c55d3b0d5ab2a266e13ca5080a20767ac042c30f21b8c25dc57c719af5dd0
SHA256 (policies.json) = cf856011307f7831d74cdacb4e80b6dceaa49882b8dcba008d527a78764903f4
SHA256 (firefox.desktop) = 05bd1a4e283bc68f525f87cabf35ad0a59e5e63e107ce3901a4ac73e3d16ef33
34 changes: 34 additions & 0 deletions firefox-bin/Pkgfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Description: Firefox binary
# URL: http://www.mozilla.com
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on: gtk3 dbus-glib xorg-libxcomposite xorg-libxcursor

name=firefox-bin
version=135.0a1
release=1
source=(https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-$version.en-US.linux-aarch64.tar.bz2 \
policies.json firefox.desktop)

build() {
cd firefox
install -d $PKG/usr/{lib,bin}
mv $SRC/firefox $PKG/usr/lib/firefox
ln -s /usr/lib/firefox/firefox $PKG/usr/bin/firefox
mkdir -p $PKG/usr/lib/firefox/lib

mkdir -p $PKG/etc/revdep.d
echo "/usr/lib/firefox" > $PKG/etc/revdep.d/firefox-bin

# We don't want these 'features'
rm -r $PKG/usr/lib/firefox/browser/features
# Disable autoupdate
mkdir $PKG/usr/lib/firefox/distribution

install -m644 $SRC/policies.json $PKG/usr/lib/firefox/distribution/

install -m644 -D $SRC/firefox.desktop $PKG/usr/share/applications/firefox.desktop
install -m755 -d $PKG/usr/share/pixmaps
ln -s /usr/lib/firefox/browser/chrome/icons/default/default32.png \
$PKG/usr/share/pixmaps/firefox.png
}
11 changes: 11 additions & 0 deletions firefox-bin/firefox.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Name=Firefox
Name[en_US]=Firefox
GenericName=Web Browser
GenericName[en_US]=Web Browser
Comment=Free web browser from Mozilla
Exec=firefox %U
Terminal=false
Type=Application
Icon=firefox
Categories=Network;
5 changes: 5 additions & 0 deletions firefox-bin/policies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"policies": {
"DisableAppUpdate": true
}
}

0 comments on commit 8e41b7a

Please sign in to comment.