Dinesh Manajipet
7d795fd967
Add a warning message when there are libraries to be excluded
7 years ago
TheAssassin
1894c66a8f
Generate excludelist, CMake version
Thanks @patrickelectric for the script.
7 years ago
Patrick José Pereira
464f1f249b
Create excludelist at build time
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
4c23dc5cf2
shared: Update excludelist
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
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.
7 years ago
Dinesh Manajipet
b4af14575a
Updated help text
7 years ago
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
7 years ago
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.
7 years ago
probonopd
e915ad00ee
Do not deploy platformthemes for now (FIXME)
https://github.com/probonopd/linuxdeployqt/issues/236
7 years ago
probonopd
8e2b6df2c1
Comment out platformthemes special treatment
[ci skip]
7 years ago
probonopd
bea3474008
Still trying to fight segfault introduced in 22d7667
7 years ago
probonopd
a7889b0d83
Do not bundle dependencies of platformthemes, should fix #236 ; previous commit led to segfault
7 years ago
probonopd
22d766797f
Do not bundle dependencies of platformthemes, should fix #236
7 years ago
TheAssassin
4714c5ad7a
Fix version information, mk. 4
Thanks #qt on Freenode
7 years ago
TheAssassin
d1d3641f58
Fix version information, mk. 3
7 years ago
TheAssassin
d3d76b5df6
Fix version information, mk. 2
7 years ago
TheAssassin
fe98a41328
Fix version information, mk. 1
7 years ago
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.
7 years ago
TheAssassin
84a7f6b37f
"Fancy" version statement (CMake part)
7 years ago
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.
7 years ago
TheAssassin
348365050e
CMake configuration for linuxdeployqt
Not meant to replace the qmake build system, but for use with
CMake based IDEs.
7 years ago
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
7 years ago
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.
7 years ago
probonopd
da29f366d8
Need to bundle libk5crypto according to https://github.com/AppImage/AppImages/issues/301
7 years ago
probonopd
935a629e9e
Happy New Year!
7 years ago
probonopd
38a727345d
Do not bundle libnsl.so.1 as it belongs to glibc
7 years ago
probonopd
ff5cd2102b
Remove libgssapi_krb5.so.2 because https://github.com/Subsurface-divelog/subsurface/issues/917
7 years ago
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
7 years ago
probonopd
c8016ad707
Revert "Call close(); on QProcess"
7 years ago
probonopd
fea29bda61
Call close(); on QProcess
https://github.com/probonopd/linuxdeployqt/issues/194#issuecomment-347322024
7 years ago
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
7 years ago
probonopd
d143cf7897
Deploy platforminputcontexts whenever libQt5Gui is deployed ( #190 )
Closes #131
7 years ago
Abylay Ospan
25e0269001
deploy xcbglintegrations plugin if libxcb-glx used ( #188 )
if xcbglintegrations plugin not deployed then we get
following error message when try to run AppImage application:
"QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor
EGL are enabled"
we should include xcbglintegrations plugin when libxcb-glx.so found in
library list (obtained from ldd output). Some applications do not
depends on libQt5OpenGL.so but depends on libxcb-glx.so.
7 years ago
probonopd
d3e269f31d
libgtk-x11-2.0.so.0 and libgdk-x11-2.0.so.0 are missing on openSUSE-Tumbleweed-KDE-Live-x86_64-*-Media.iso
7 years ago
probonopd
717eebcaf7
Fix bugs as per https://github.com/probonopd/linuxdeployqt/issues/184#issuecomment-345293540
Thanks @tresf
7 years ago
probonopd
ac639bb146
libidn.so.11 does not come with Solus by default
7 years ago
probonopd
f135499521
Fix #184 segfault caused by trying to copy copyright files
7 years ago
Chris Rizzitello
35c2fedfa6
Remove duplicate if on svgz icon check
7 years ago
probonopd
5dc2aaea62
Use QDir::cleanPath
7 years ago
probonopd
c5ba2e7599
Deploy copyright files along with libraries copied from the host system
This is only implemented for Debian-like systems. Generalizations welcome.
7 years ago
probonopd
099f3c0433
Do not skip deployment just because the library is already at the target location
It might be pre-existing (prior to running linuxdeployqt) any may need to be properly deployed nevertheless
7 years ago
probonopd
b5e9de7331
Make ldd detect pre-existing libraries in the AppDir
7 years ago
probonopd
5b4339a0f6
Use -g option for appimagetool
7 years ago
Taras Kushnir
148e6bb3cc
Workaround for FHS mode for translations
7 years ago
Klaas Freitag
534f1cf79a
Fix: Check if desktop file from first argument really exists
and issue a proper error message if not.
When using linuxdeployqt for example in OBS and packages can not
be installed, it can happen that the desktop file is not existing.
This error message makes debugging easier.
7 years ago
probonopd
60dea92aff
Do not exclude libselinux.so.1
https://github.com/AppImage/AppImages/issues/83
7 years ago
Martin Höher
8c13c97c77
Add test for qmake option
7 years ago
probonopd
9d9192f31b
Attempt to fix "not found" error
7 years ago
Thorbjørn Lindeijer
ddb3e4e41c
Added path of problematic binary when dependency could not be found
Without verbose logging (which is really spammy) this information is
otherwise not available, but it can be very helpful in finding out
what's causing the problem.
7 years ago
probonopd
892964978c
Exit if appDirPath == "/", closes #144
7 years ago