Alexander Gottwald
8a17fbf310
Fix generate-excludelist.sh for Bash 4.1
...
Bash 4.1 does not support a -1 array subscript. Compute the last index instead.
2018-04-27 10:05:05 +02:00
probonopd
9c90a882ac
Remove VDSO code, discussion in #283 ( #285 )
2018-04-21 10:09:13 +02:00
TheAssassin
45088e5a5e
Fix -show-exclude-libs
...
Had to move the parsing of -show-exclude-lib up to the block where the
version options are parsed, otherwise a call like
./linuxdeployqt<...>.AppImage -show-exclude-libs
wouldn't work.
CC @patrickelectric
2018-04-13 03:37:26 +02:00
TheAssassin
a99685ca77
Merge branch 'master' into TheAssassin/fix-274
2018-04-13 03:26:56 +02:00
TheAssassin
b09cf168d7
C++11 required
2018-04-13 03:26:25 +02:00
TheAssassin
4ae11ebc2d
Restore original argument parser
2018-04-13 02:55:38 +02:00
TheAssassin
22469d636c
Move argument parser to previous location
2018-04-13 02:47:49 +02:00
TheAssassin
d883d6df64
Improve excludelist generation ( fixes #274 )
2018-04-13 02:38:47 +02:00
Patrick José Pereira
9f738288ef
Add -show-exclude-libs
...
fix #270
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-04-12 10:31:30 -03:00
Patrick José Pereira
c1e8ce62c9
Organize help order
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-04-12 00:10:04 -03:00
TheAssassin
65ceffeffd
Properly check exit code of excludelist.sh in qmake
...
qmake is really making this overly complicated.
We should rather try to use this syntax, which is only available in
Qt 5.6 and higher, apparently:
https://doc.qt.io/qt-5/qmake-function-reference.html#system-replace
2018-04-12 02:55:14 +02:00
TheAssassin
ba3495b855
Fix exit code ot excludelist.sh
2018-04-12 02:54:08 +02:00
TheAssassin
4c615555bf
Check exit code of excludelist command in CMake
2018-04-12 02:08:12 +02:00
Patrick José Pereira
cfb75a2f79
linuxdeployqt: Check if EXCLUDELIST is empty or specified
...
Fix #273
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-04-09 20:52:25 -03:00
Patrick José Pereira
7b7f603278
excludelist: Return empty string if something goes wrong
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-04-09 20:49:58 -03:00
Skycoder42
4830aa2490
fixed usage of qmake message function
2018-04-08 16:51:21 +02:00
Skycoder42
ff57bec408
cd into src dir before invoking git
...
fixes #267
2018-04-08 16:49:48 +02:00
TheAssassin
572bf782a5
Merge branch 'master' into master
2018-04-01 16:17:19 +02:00
Dinesh Manajipet
7d795fd967
Add a warning message when there are libraries to be excluded
2018-04-01 18:49:38 +05:30
TheAssassin
1894c66a8f
Generate excludelist, CMake version
...
Thanks @patrickelectric for the script.
2018-04-01 14:55:26 +02:00
Dinesh Manajipet
f7d0520324
Merge branch 'master' into master
2018-04-01 17:48:42 +05:30
Patrick José Pereira
464f1f249b
Create excludelist at build time
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-03-31 14:43:46 -03:00
Patrick José Pereira
4c23dc5cf2
shared: Update excludelist
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-03-30 16:54:16 -03:00
TheAssassin
8b484dabec
Improve argument parser user experience
...
See https://github.com/probonopd/linuxdeployqt/issues/256#issuecomment-373916136
The argument parser requires flags expecting a payload to be passed in
the form -arg=payload. If not, it fails to recognize them and falsely
reports "argument must not start with --". These usability issues
should be gone with these two minor changes.
2018-03-17 13:27:24 +01:00
Dinesh Manajipet
b4af14575a
Updated help text
2018-03-09 21:30:22 +05:30
Dinesh Manajipet
7ffc790e2e
Added support for -excludeLibs command line option
...
This helps us avoid pesky libraries which are optional by the main
binary but may be dragged in by some other libraries like
https://github.com/probonopd/linuxdeployqt/issues/235
Usage: -exclude-libs=libqsqlibase,libqsqlodbc,libqsqlpsql,libqsqltds
2018-03-09 21:12:19 +05:30
TheAssassin
79c990c787
Add flag to disable copyright files deployment
...
Should speed up linuxdeployqt runs on less powerful devices. Also makes
sense to use while developing build scripts etc.
2018-03-05 20:50:19 +01:00
probonopd
e915ad00ee
Do not deploy platformthemes for now (FIXME)
...
https://github.com/probonopd/linuxdeployqt/issues/236
2018-02-10 11:32:32 +00:00
probonopd
8e2b6df2c1
Comment out platformthemes special treatment
...
[ci skip]
2018-02-10 11:29:17 +00:00
probonopd
bea3474008
Still trying to fight segfault introduced in 22d7667
2018-02-10 11:09:52 +00:00
probonopd
a7889b0d83
Do not bundle dependencies of platformthemes, should fix #236 ; previous commit led to segfault
2018-02-10 10:49:33 +00:00
probonopd
22d766797f
Do not bundle dependencies of platformthemes, should fix #236
2018-02-10 10:33:31 +00:00
TheAssassin
4714c5ad7a
Fix version information, mk. 4
...
Thanks #qt on Freenode
2018-02-02 15:53:39 +01:00
TheAssassin
d1d3641f58
Fix version information, mk. 3
2018-02-02 13:18:19 +01:00
TheAssassin
d3d76b5df6
Fix version information, mk. 2
2018-02-02 13:01:42 +01:00
TheAssassin
fe98a41328
Fix version information, mk. 1
2018-02-02 12:54:39 +01:00
TheAssassin
b3d31bbc84
"Fancy" version statement (qmake part)
...
After some highly annoying and time consuming tinkering with quotes and
escaping, the embedding of versioning data seems to work as intended
now.
2018-01-26 20:37:38 +01:00
TheAssassin
84a7f6b37f
"Fancy" version statement (CMake part)
2018-01-26 13:18:39 +01:00
TheAssassin
2c4c59684b
"Fancy" version statement (C++ part)
...
Also introduces a hint for users about the single quote parameters this
tool provides, most other CLI tools use double quotes for
non-single-char parameters.
2018-01-26 13:18:01 +01:00
TheAssassin
348365050e
CMake configuration for linuxdeployqt
...
Not meant to replace the qmake build system, but for use with
CMake based IDEs.
2018-01-26 09:26:16 +01:00
probonopd
fd33511ce7
Do not run ldd on platformthemes, don't bundle their dependencies ( #217 )
...
Do not run ldd on platformthemes, don't bundle their dependencies
https://github.com/lupoDharkael/flameshot/issues/86#issuecomment-359160310
2018-01-20 13:07:37 +00:00
Gary Talent
cb3e3e62dc
Move RPATH adjustment to after library bundling ( #216 )
...
Libraries found with the RPATH could not be found by the bundler because
the RPATH was getting changed before the bundling.
2018-01-19 18:10:43 +01:00
probonopd
da29f366d8
Need to bundle libk5crypto according to https://github.com/AppImage/AppImages/issues/301
2018-01-19 17:07:43 +00:00
probonopd
935a629e9e
Happy New Year!
2018-01-06 17:00:12 +01:00
probonopd
38a727345d
Do not bundle libnsl.so.1 as it belongs to glibc
2017-12-31 16:59:14 +01:00
probonopd
ff5cd2102b
Remove libgssapi_krb5.so.2 because https://github.com/Subsurface-divelog/subsurface/issues/917
2017-12-06 18:24:53 +01:00
Verban Adrian
122eaca6d5
Add extra Qt plugins manually ( #152 )
...
Added posibility for developer to deploy aditional Qt plugins through a
list of plugins directories and plugins, relative path to the Qt plugins
directory
2017-12-02 19:47:43 +01:00
probonopd
c8016ad707
Revert "Call close(); on QProcess"
2017-11-27 21:05:29 +00:00
probonopd
fea29bda61
Call close(); on QProcess
...
https://github.com/probonopd/linuxdeployqt/issues/194#issuecomment-347322024
2017-11-27 20:54:39 +00:00
probonopd
e129d347bf
Bundle platformthemes, closes #60
...
Note that this only has an effect if the Qt installation has platformthemes installed,
https://launchpad.net/~beineri/+archive/ubuntu/opt-qt592-trusty has
2017-11-26 23:52:31 +01:00