forked from puppylinux-woof-CE/woof-CE
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automate the construction of the BookwormPup64 adrv
- Loading branch information
Showing
16 changed files
with
90 additions
and
8 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
woof-code/rootfs-petbuilds/firefox-portable64/opt/FirefoxESR-portable64/.DirIcon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
firefox64/browser/chrome/icons/default/default64.png |
9 changes: 9 additions & 0 deletions
9
...-petbuilds/firefox-portable64/opt/FirefoxESR-portable64/DATA/firefox_esr-portable.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Name=Firefox ESR | ||
Comment=Firefox web browser | ||
Exec=/usr/bin/firefox_esr | ||
Icon=/usr/share/pixmaps/firefox_esr.png | ||
Type=Application | ||
Terminal=false | ||
Categories=X-Internet-browser; |
1 change: 1 addition & 0 deletions
1
woof-code/rootfs-petbuilds/firefox-portable64/opt/FirefoxESR-portable64/DATA/firefox_esr.png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../firefox64/browser/chrome/icons/default/default64.png |
8 changes: 8 additions & 0 deletions
8
woof-code/rootfs-petbuilds/firefox-portable64/opt/FirefoxESR-portable64/LAUNCH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
# | ||
# Launcher for 'portable' Firefox ESR browser | ||
# | ||
HERE="$(dirname "$(readlink -f "$0")")" | ||
mkdir "$HERE/profile" 2> /dev/null | ||
# | ||
"$HERE/firefox64/firefox" "$@" -profile "$HERE/profile" |
15 changes: 15 additions & 0 deletions
15
woof-code/rootfs-petbuilds/firefox-portable64/opt/FirefoxESR-portable64/Menu-Add
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
# | ||
# Add Menu Entry... | ||
# | ||
HERE="$(dirname "$(readlink -f "$0")")" | ||
APP=firefox_esr | ||
# | ||
ln -s $HERE/LAUNCH /usr/bin/$APP | ||
cp $HERE/DATA/$APP-portable.desktop /usr/share/applications/$APP-portable.desktop | ||
cp $HERE/DATA/$APP.png /usr/share/pixmaps/$APP.png | ||
# | ||
fixmenus | ||
sleep 1 | ||
# | ||
jwm -restart |
14 changes: 14 additions & 0 deletions
14
woof-code/rootfs-petbuilds/firefox-portable64/opt/FirefoxESR-portable64/Menu-Remove
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
# | ||
# Remove Menu Entry... | ||
# | ||
APP=firefox_esr | ||
# | ||
rm /usr/bin/$APP | ||
rm /usr/share/applications/$APP-portable.desktop | ||
rm /usr/share/pixmaps/$APP.png | ||
# | ||
fixmenus | ||
sleep 1 | ||
# | ||
jwm -restart |
17 changes: 17 additions & 0 deletions
17
woof-code/rootfs-petbuilds/firefox-portable64/opt/FirefoxESR-portable64/MenuReadMe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
PLEASE NOTE:- | ||
-------------------- | ||
|
||
The *recommended* location for this portable application is in /mnt/home. If you place your portable in /mnt/home, when adding the MenuEntry it will sym-link the 'LAUNCH' script into /usr/bin, place a .desktop entry in /usr/share/applications, and an icon in /usr/share/pixmaps. It will then restart "X", in order that the MenuEntry will show up in the Menu. | ||
|
||
Specific advice for Chromium-based browsers:- | ||
------------------------------------------------------------ | ||
|
||
CAUTION: make sure to use the appropriate 'MenuAdd' script for your Puppy. 'MenuAdd-Old' is for Bionicpup64 and older; 'MenuAdd-New' is for Fossapup64 and newer. This ensures the correct 'LAUNCH' script is sym-linked into /usr/bin. | ||
|
||
It should launch without issue. | ||
|
||
However; IF you wish to place the portable application in a different location, that's not a problem. First, use the 'MenuRemove' script to remove the existing MenuEntry. Let the desktop settle after "X" has restarted, then move the portable to the desired location. Finally, re-add the MenuEntry with the appropriate 'Menu-Add' script. | ||
|
||
The MenuEntry removal/re-adding steps are necessary because Linux does not, under normal circumstances, permit the migrating of links from one location/file-system to another. 'Soft' links will lose their 'target', and hard links can no longer locate the specified inode. Therefore, the MenuEntry needs to be re-created from its new location. | ||
|
||
None of these steps take long to perform, and add another layer of convenience, since with a .desktop file you can also add the application to the QuickLaunch area of the tray, etc. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
firefox-portable64-115.9.1esr|firefox-portable64|115.9.1esr||Internet|2800K||firefox-portable64-115.9.1esr||Firefox web browser|puppy||| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
download() { | ||
[ -f firefox-115.9.1esr.tar.bz2 ] || wget -t 3 -T 60 https://ftp.mozilla.org/pub/firefox/releases/115.9.1esr/linux-x86_64/en-US/firefox-115.9.1esr.tar.bz2 | ||
} | ||
|
||
build() { | ||
tar -xjf firefox-115.9.1esr.tar.bz2 -C opt/FirefoxESR-portable64 | ||
mv opt/FirefoxESR-portable64/firefox{,64} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ecaa0d9a965973a1c29c21ae01f46fb3503e8c7acab934fde8f40afa5a28c03d firefox-115.9.1esr.tar.bz2 |
1 change: 1 addition & 0 deletions
1
woof-code/rootfs-petbuilds/firefox-portable64/usr/bin/firefox_esr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../opt/FirefoxESR-portable64/LAUNCH |
9 changes: 9 additions & 0 deletions
9
...e/rootfs-petbuilds/firefox-portable64/usr/share/applications/firefox_esr-portable.desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Name=Firefox ESR | ||
Comment=Firefox web browser | ||
Exec=firefox_esr | ||
Icon=/usr/share/pixmaps/firefox_esr.png | ||
Type=Application | ||
Terminal=false | ||
Categories=X-Internet-browser |
1 change: 1 addition & 0 deletions
1
woof-code/rootfs-petbuilds/firefox-portable64/usr/share/pixmaps/firefox_esr.png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../opt/FirefoxESR-portable64/firefox64/browser/chrome/icons/default/default64.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters