Commit Graph

63 Commits

Author SHA1 Message Date
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
probonopd d143cf7897 Deploy platforminputcontexts whenever libQt5Gui is deployed (#190)
Closes #131
2017-11-24 19:45:14 +00:00
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.
2017-11-20 18:06:23 +01:00
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 2017-11-17 21:58:40 +01:00
probonopd 717eebcaf7 Fix bugs as per https://github.com/probonopd/linuxdeployqt/issues/184#issuecomment-345293540
Thanks @tresf
2017-11-17 17:50:44 +01:00
probonopd ac639bb146 libidn.so.11 does not come with Solus by default 2017-11-16 18:32:24 +01:00
probonopd f135499521 Fix #184 segfault caused by trying to copy copyright files 2017-11-15 19:28:29 +01:00
Chris Rizzitello 35c2fedfa6 Remove duplicate if on svgz icon check 2017-11-11 08:33:45 -05:00
probonopd 5dc2aaea62 Use QDir::cleanPath 2017-11-10 16:34:15 +01:00
probonopd c5ba2e7599 Deploy copyright files along with libraries copied from the host system
This is only implemented for Debian-like systems. Generalizations welcome.
2017-11-10 16:14:42 +01:00
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
2017-11-09 21:36:23 +01:00
probonopd b5e9de7331 Make ldd detect pre-existing libraries in the AppDir 2017-11-09 18:53:12 +01:00
probonopd 5b4339a0f6 Use -g option for appimagetool 2017-11-06 17:12:41 +00:00
Taras Kushnir 148e6bb3cc Workaround for FHS mode for translations 2017-11-05 17:35:54 +02:00