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/APPIMAGE.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,14 @@
2
2
3
3
## PEB AppImage Maker
4
4
5
-
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:
5
+
PEB and 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:
6
6
7
7
* packing a Perl application together with a PEB executable, Qt libraries and a relocatable Perl distribution:
8
8
9
9
```bash
10
10
./appimage-maker.sh --include-resources
11
11
```
12
12
13
-
In this case, the PEB AppImage Maker 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.
14
-
15
-
Perl Distribution Compactor depends on [Module::ScanDeps](https://metacpan.org/pod/Module::ScanDeps) and [File::Copy::Recursive](https://metacpan.org/pod/File::Copy::Recursive) CPAN modules, which are included in the ``{PEB_executable_directory}/sdk/lib`` directory.
16
-
17
13
* packing only a PEB executable and its Qt libraries:
18
14
19
15
```bash
@@ -32,7 +28,7 @@ The PEB AppImage Maker script must be started from the ``{PEB_executable_directo
is mandatory for any PEB-based application which will be packed by the PEB AppImage Maker.
31
+
is mandatory for any PEB-based application which is to be packed by the PEB AppImage Maker.
36
32
A minimal example of а ``.desktop`` file is available [here](https://github.com/ddmitov/perl-executing-browser/blob/master/resources/app/peb-demo.desktop).
37
33
``Icon=app`` in the ``.desktop`` file must not be changed for the proper display of the application icon.
38
34
All registered categories in a ``.desktop`` file are available [here](https://standards.freedesktop.org/menu-spec/latest/apa.html).
Copy file name to clipboardExpand all lines: doc/REQUIREMENTS.md
+3-25Lines changed: 3 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,9 @@
2
2
3
3
## Compile-Time Requirements
4
4
5
-
The only Linux and Mac compile-time requirement of PEB is a Qt development bundle version 5.2 or any later version.
5
+
The only Linux and Mac compile-time requirement of PEB is a Qt development bundle version 5.2 or higher.
6
6
7
-
Compiling PEB on Windows is subject to the following restrictions:
8
-
9
-
* PEB source code is not MSVC-compatible and PEB can not be linked against ``QtWebEngine``.
10
-
* Windows builds of PEB can only be compiled by a GCC-based MinGW Qt using the ``QtWebKit`` web engine.
11
-
*``QtWebKit`` can be added to MinGW Qt versions 5.6.x or higher from the [repository of Konstantin Tokarev (annulen)](https://github.com/annulen/webkit/releases).
7
+
PEB on Windows can be compiled only with a GCC-based MinGW Qt versions 5.2 to 5.6.
12
8
13
9
Compiled and tested successfully using:
14
10
@@ -27,30 +23,12 @@ qmake -qt=qt5
27
23
make
28
24
```
29
25
30
-
Please note that PEB builds using the standard ``QtWebKit`` web engine are single-process applications consuming less memory than PEB builds using the multiprocess ``QtWebEngine``.
26
+
Please note that PEB builds using the standard ``QtWebKit`` web engine are single-process applications and they consume less memory than PEB builds using the multiprocess ``QtWebEngine``.
31
27
32
28
## Compile-Time Settings
33
29
34
30
PEB compile-time settings can be changed by editing the ``src/peb.pro`` project file according to the following instructions.
35
31
36
-
* Updated QtWebKit
37
-
To use ``QtWebKit`` or ``QtWebEngine`` depending on the Qt version, which is the default setting:
38
-
39
-
```QMake
40
-
ANNULEN_QTWEBKIT = 0
41
-
```
42
-
43
-
The default web engine for Qt versions up to 5.5.x is ``QtWebKit``.
44
-
The default web engine for Qt versions 5.6.x or higher is ``QtWebEngine``.
45
-
46
-
To use [an updated QtWebKit from the repository of Konstantin Tokarev (annulen)](https://github.com/annulen/webkit/releases) with a Qt version 5.6.x or higher:
47
-
48
-
```QMake
49
-
ANNULEN_QTWEBKIT = 1
50
-
```
51
-
52
-
Setting ``ANNULEN_QTWEBKIT`` to ``1`` has no effect on Qt versions 5.5.x or lower.
53
-
54
32
* Mac Bundle
55
33
To make a bundle-less binary, which is the default setting:
0 commit comments