Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
0bbec481
Commit
0bbec481
authored
Aug 27, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add firefox-esr
parent
996e6459
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
83 additions
and
0 deletions
+83
-0
firefox-esr.sh
pack.d/firefox-esr.sh
+27
-0
firefox-esr.sh
play.d/firefox-esr.sh
+24
-0
firefox-esr.sh
repack.d/firefox-esr.sh
+32
-0
No files found.
pack.d/firefox-esr.sh
0 → 100755
View file @
0bbec481
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
mkdir
-p
opt/
erc unpack
$TAR
||
fatal
mv
firefox
*
opt/
$PRODUCT
chmod
0755 opt/
$PRODUCT
/glxtest
cat
<<
EOF
>
$PKGNAME
.tar.eepm.yaml
name:
$PRODUCT
group: Networking/WWW
license: MPL-2.0
url: https://www.mozilla.org/en-US/firefox/
summary: Fast and Private Web Browser
description: Fast and Private Web Browser
EOF
erc pack
$PKGNAME
.tar opt
||
fatal
return_tar
$PKGNAME
.tar
play.d/firefox-esr.sh
0 → 100755
View file @
0bbec481
#!/bin/sh
PKGNAME
=
firefox-esr
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Firefox ESR - Fast and Private Web Browser"
URL
=
"https://www.mozilla.org/en-US/firefox"
.
$(
dirname
$0
)
/common.sh
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
"
$(
eget
-O-
https://ftp.mozilla.org/pub/firefox/releases/ |
grep
-oP
'/releases/\K[0-9]+\.[0-9]+\.[0-9]+esr'
|
sort
-V
|
tail
-n1
)
"
fi
arch
=
$(
epm print info
-a
)
if
[
"
$(
epm print compare
"
$VERSION
"
136.0
)
"
!=
"-1"
]
;
then
ext
=
"tar.xz"
else
ext
=
"tar.bz2"
fi
PKGURL
=
"https://ftp.mozilla.org/pub/firefox/releases/
$VERSION
/linux-
$arch
/en-US/firefox-
$VERSION
.
$ext
"
install_pack_pkgurl
$VERSION
repack.d/firefox-esr.sh
0 → 100755
View file @
0bbec481
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/firefox
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Firefox ESR
Comment=Fast and Private Web Browser
Exec=
$PRODUCT
%f
Icon=
$PRODUCT
Terminal=false
StartupNotify=true
Categories=Networking;WWW
EOF
iconpath
=
$PRODUCTDIR
/browser/chrome/icons/default/
iconname
=
$PRODUCT
for
i
in
16 32 48 64 128
;
do
install_file
$iconpath
/default
$i
.png /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$iconname
.png
done
set_alt_alternatives 65
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment