Commit Graph

29 Commits

Author SHA1 Message Date
TheAssassin 364afc384d Fix libmagic missing dependencies 2018-06-03 02:44:28 +02:00
TheAssassin 049661aeca Fix location of function 2018-06-03 02:32:39 +02:00
TheAssassin e97dd29da5 Rename wrapper class 2018-06-03 02:29:46 +02:00
TheAssassin 76399d15e2 Refactor util lib 2018-06-03 02:14:51 +02:00
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