You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/PACKAGING.md
+38-34Lines changed: 38 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,55 +10,59 @@ Perl Distribution Compactor depends on [Module::ScanDeps](https://metacpan.org/p
10
10
11
11
## AppImage Support
12
12
13
-
PEB or any PEB-based application can be easily packed as a 64-bit single-file Linux [AppImage](https://appimage.org/) executable by the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script, which has two modes of operation:
13
+
***PEBAppImageMaker**
14
14
15
-
* packing a Perl application together with a PEB executable, its Qt libraries and a relocatable Perl distribution:
15
+
PEB or any PEB-based application can be easily packed as a 64-bit single-file Linux [AppImage](https://appimage.org/)executable by the [PEB AppImage Maker](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/appimage-maker.sh) script, which has two modes of operation:
16
16
17
-
```bash
18
-
./appimage-maker.sh --include-resources
19
-
```
17
+
* packing a Perl application together with a PEB executable, its Qt libraries and a relocatable Perl distribution:
20
18
21
-
In this case the PEB AppImage invokes the [Perl Distribution Compactor](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/compactor.pl), which finds all dependencies of all Perl scripts in the ``{PEB_executable_directory}/resources/app`` directory and copies only the necessary Perl modules.
19
+
```bash
20
+
./appimage-maker.sh --include-resources
21
+
```
22
22
23
-
* packing only a PEB executable with its Qt libraries:
23
+
In this case the PEB AppImage invokes the [Perl Distribution Compactor](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/compactor.pl), which finds all dependencies of all Perl scripts in the ``{PEB_executable_directory}/resources/app`` directory and copies only the necessary Perl modules.
24
24
25
-
```bash
26
-
./appimage-maker.sh --no-resources
27
-
```
25
+
* packing only a PEB executable with its Qt libraries:
26
+
27
+
```bash
28
+
./appimage-maker.sh --no-resources
29
+
```
30
+
31
+
In this case a PEB executable from an AppImage will try to find its application files and folders in the directory of the AppImage.
28
32
29
-
In this case a PEB executable from an AppImage will try to find its application files and folders in the directory of the AppImage.
33
+
In both modes of operation, the PEB AppImage uses the [linuxdeployqt](https://github.com/probonopd/linuxdeployqt/releases/) tool to detect all Qt dependencies of PEB and build the final image.
30
34
31
-
In both modes of operation, the PEB AppImage uses the [linuxdeployqt](https://github.com/probonopd/linuxdeployqt/releases/) tool to detect all Qt dependencies of PEB and build the final image.
35
+
The PEB AppImage Maker script must be started from the ``{PEB_executable_directory}/sdk`` directory.
32
36
33
-
The PEB AppImage Maker script must be started from the ``{PEB_executable_directory}/sdk`` directory.
37
+
***PEB AppImage Builder Docker Container**
34
38
35
-
An easy building environment for PEB AppImage executables is the provided [PEB AppImage Builder Docker Container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile).
36
-
To build it, type the following command in the PEB project root directory (the directory of the README.md):
39
+
An easy building environment for PEB AppImage executables is the provided [PEB AppImage Builder Docker Container](https://github.com/ddmitov/perl-executing-browser/blob/master/sdk/Dockerfile).
40
+
To build it, type the following commandin the PEB project root directory (the directory of the README.md):
37
41
38
-
```bash
39
-
sudo docker build -t peb-appimage-builder .
40
-
```
42
+
```bash
43
+
sudo docker build -t peb-appimage-builder .
44
+
```
41
45
42
-
To start the PEB AppImage Builder Docker Container, type the following command in the PEB project root directory:
46
+
To start the PEB AppImage Builder Docker Container, type the following commandin the PEB project root directory:
0 commit comments