Commit Graph

25 Commits

Author SHA1 Message Date
TheAssassin
22df875849 Add libmagic wrapper
Also builds separate static library linuxdeploy_util providing old util
header and new magic wrapper.
2018-06-03 02:09:24 +02:00
TheAssassin
b64270c37b Add include dir to public linking interface 2018-06-02 01:19:57 +02:00
TheAssassin
96f77423d6 Remove util.h from public interface
It doesn't belong to the core namespace anyway.
2018-06-02 01:15:07 +02:00
TheAssassin
6b88cd4721 Rename core library for external usage 2018-06-02 01:11:52 +02:00
TheAssassin
749110852c Force static build of the core library 2018-06-02 01:11:17 +02:00
TheAssassin
2bee994f53 Rename icons like <appname>_*.ext to <appname>.ext
This allows users to specify multiple icons like
-i app_res1.png -i app_res2.png -i [...]
linuxdeploy can sort them into the right directory structure, and
their name will be equal to the app name (which is most likely equal
to the Icon entry in the desktop file).
2018-06-01 21:52:43 +02:00
TheAssassin
d1e2f9a5d9 Add stringStartsWith utility function 2018-06-01 21:43:56 +02:00
TheAssassin
0cc71b2d84 Link boost statically 2018-06-01 20:33:53 +02:00
TheAssassin
3244f44b9a Don't overwrite existing files unless explicitly requested 2018-06-01 20:28:32 +02:00
TheAssassin
aa345a3dfe Initialize all variables 2018-06-01 16:56:28 +02:00
TheAssassin
a4103bde5b Add note about default verbosity value 2018-06-01 16:01:40 +02:00
TheAssassin
118b4f2ca2 Improve deployment efficiency
This commit introduces a "visited files" list that contains all files
that have already been processed by the deployment operations.
This is similar to the visited node lists many routing algorithms use,
e.g., Dijkstra and its derivatives like A*.
2018-06-01 15:27:08 +02:00
TheAssassin
2760ed2e8a Improve duplicates check efficiency
Use binary search instead of linear search.
2018-06-01 15:15:40 +02:00
TheAssassin
f65ce9a2b1 Improve docs and initialization of containers 2018-06-01 15:12:26 +02:00
TheAssassin
563be1a14c Improve rpath handling 2018-06-01 15:02:05 +02:00
TheAssassin
72e20ec6fc Improve desktop file related messages 2018-06-01 14:57:14 +02:00
TheAssassin
8f59b3ef4a Allow using custom AppRun
There's two ways to do this:

 - either place an AppRun in the AppDir before calling linuxdeploy
 - or use the new --custom-apprun parameter

Also fixes a small naming inconsisteny in the info messages.
2018-06-01 02:55:37 +02:00
TheAssassin
a382a0fd98 Show usage if --appdir is missing 2018-05-31 23:21:20 +02:00
TheAssassin
2e1873d8b9 Upload built AppImage 2018-05-30 22:58:09 +02:00
TheAssassin
fbb871ba25 Check whether built AppImage works 2018-05-30 22:47:52 +02:00
TheAssassin
879176ca7b Don't crash if patchelf binary is not found
TODO: fix this in cpp-subprocess.
2018-05-30 22:33:05 +02:00
TheAssassin
c67239082e Use local patchelf if available 2018-05-30 22:30:44 +02:00
TheAssassin
1fd396749b Deploy patchelf binary 2018-05-30 21:31:22 +02:00
TheAssassin
17b55f02e8 Travis configuration (#1) 2018-05-30 21:27:39 +02:00
TheAssassin
e598536173 Initial commit 2018-05-30 19:21:08 +02:00