Alexander Larsson
69123b564e
builder: Make git patch apply verbose by default
...
Git is prone to ignoring patches in some cases, lets
at least print the details.
2017-04-24 10:29:57 +02:00
Alexander Larsson
a5157d445b
builder: Use context_find_in_sources_dirs to simplify code
...
Instead of open-coding the search everywhere. Also some places
are changed to use flatpak_build_file to further simplify
the code.
2017-04-24 09:02:42 +02:00
Alexander Larsson
3058d413f0
builder: Use flatpak_mkdir_p instead of query + mkdir
2017-04-21 16:38:05 +02:00
Simon Schampijer
bb11ef3c37
Merge remote-tracking branch 'upstream/master' into bundle-sources
2017-04-21 00:13:01 +02:00
Alexander Larsson
63978c299a
builder: Load source files from the directory of the module
...
This means if you include a json snippet in a subdirectory, then
that module will load e.g. patches from the same subdirectory.
2017-04-19 18:54:33 +02:00
Simon Schampijer
d567b31d3d
Bundle sources: initialize app_dir_path later
2017-04-13 13:32:33 +02:00
Simon Schampijer
057f420b47
Bundle sources: add support to bundle patches as well
...
Also add the necessary bits to consume the patches
stored.
2017-04-13 13:32:33 +02:00
Simon Schampijer
894311e243
flatpak-builder: bundle module sources as runtime
...
This adds a step to the build process to bundle
the module sources, used for building the flatpak,
as a runtime extension.
The sources can then be installed like the
debug or translation runtime.
This also adds an option to flatpak-builder
for specifying sources directories. One can specify
source dirctories with the use-sources argument. This
will skip the download part of the processing
and will extract the sources from the given sources
directory directly for further processing.
Those source directories do need the same
structure as the ones that flatpak-builder
creates during processing in .flatpak-builder
and which is also used in the exported sources
runtime.
2017-04-13 13:32:33 +02:00
Alexander Larsson
364def2135
builder: Add some spew when applying patches
...
This makes it easier to figure out what patch is broken
2016-12-12 17:20:36 +01:00
Alexander Larsson
632f714509
builder: Add "options" property to patch sources
...
This lets you specify custom arguments to the patch command.
Fixes https://github.com/flatpak/flatpak/issues/417
2016-11-30 10:17:15 +01:00
Alexander Larsson
91c9d474dd
flatpak-builder: Add support for --show-deps
2016-09-20 15:58:43 +02:00
Alexander Larsson
e792686892
builder: Propagate build-args to shell sources
...
This way you can e.g. do network i/o in them.
Thats not a recommended way to do it though, as you work around
a lot of the feature in flatpak-builder like the caching and
verification.
2016-09-05 22:01:56 +02:00
Bastien Nocera
c646f386eb
builder: Add "use-git" option for patch source type
...
Closes #6
2016-06-28 14:24:16 +02:00
Alexander Larsson
c24528d369
Rename source files to flatpak
2016-05-09 09:00:20 +02:00
Alexander Larsson
6a613d1fab
Rename all non-autogenerated symbols to flatpak
2016-05-09 09:00:20 +02:00
Alexander Larsson
1ffdf27d92
uncruftify: Initial run, all non-problematic changes
2016-05-06 16:03:27 +02:00
Alexander Larsson
1264335458
builder: Add --disable-updates
...
Download sources, but never update existing sources (like git or bzr).
2015-12-21 10:39:23 +01:00
Alexander Larsson
efe378f46c
builder: Fix typo in patch applying
...
It was using git, not patch
2015-12-15 08:14:20 +01:00
Alexander Larsson
e76da99cdc
builder: Merge spawn helpers to single base helper
2015-12-03 13:29:08 +01:00
Alexander Larsson
f710eb9322
Correct license, we're LGPL 2+, not 3+
...
Some files accidentally got the LGPL 3+ header, but we
want to be LGPL2+.
2015-11-26 14:50:21 +01:00
Alexander Larsson
b2790349d6
Add xdg-app-builder
...
This is a tool that makes it easy to build applications and their
dependecies by automating the configure && make && make install steps.
2015-11-25 15:26:32 +01:00