Commit Graph

14 Commits (d3399fd7856000f81030563d9c5eb01539399625)

Author SHA1 Message Date
Christian Hergert d3399fd785 utils: force exit host commands when flatpak-builder exits
If we are spawning applications on the host using the Development service,
then we want those commands to exit when the flatpak-builder process
exits, as can happen from Ctrl^C or kill().

By using a static FlatpakHostCommandFlags we only ever check this a single
time and then each subsequent request will do the right thing.
2019-05-06 13:03:17 +02:00
Christian Hergert e93eb8defc build: handle changes to soup autocleanups
Closes: #173
Approved by: alexlarsson
2018-06-26 10:47:39 +00:00
Denis Ollier 74e43641ee flatpak-utils: Remove undefined functions
Closes: #152
Approved by: alexlarsson
2018-05-16 08:12:37 +00:00
Denis Ollier aa402ca259 flatpak-utils: Remove libsoup dead code
Closes: #152
Approved by: alexlarsson
2018-05-16 08:12:37 +00:00
Denis Ollier a922cd49a4 Add support for FTP sources using libcurl
Closes: #143
Approved by: TingPing
2018-05-14 09:54:39 +00:00
Alexander Larsson aa2601dbb3 flatpak_cp_a: Add support for skipping some source files
Closes: #136
Approved by: alexlarsson
2018-04-26 07:15:38 +00:00
Alexander Larsson 3d62f01610 Record the built extensions in the metadata
This adds a section to the main metadata like:
```
[Build]
built-extension=org.the.App.Locale;
```

This can be used to figure out what refs where built that are
related to the app, for example if you want to bundle them all.

Closes: #128
Approved by: alexlarsson
2018-04-19 12:54:02 +00:00
Alexander Larsson 9b4f14cd45 Add flatpak_file_rename
Closes: #98
Approved by: alexlarsson
2018-01-11 09:30:42 +00:00
Alexander Larsson 39ad84c499 flatpak_compose_ref: Remove unused error argument
Closes: #81
Approved by: alexlarsson
2017-12-14 09:27:59 +00:00
Alexander Larsson c572831b21 Add g_autoptr(BuilderObjectList) support
This is a deeply freed GList of GObjects.

Closes: #77
Approved by: alexlarsson
2017-12-08 15:00:56 +00:00
Alexander Larsson adc84ac4ca
Add more checksum types for files and archives (#75)
* Add more checksum types for files and archives

Many upstreams don't use sha256, some use even stronger checksums like
sha512, and its nice to be able to use these. Some system uses
weaker checksums, which you can work around by recomputing your own,
but sometimes that is a bit painful, for example when you're
auto-generating flatpak-builder manifests based on some other format
such as npm lock files.

This adds all the checksum types that GChecksum supports in the
glib version we currently use: md5, sha1, sha256, sha512
2017-12-07 15:40:04 +01:00
Alexander Larsson 039a24aeb4 utils: Add flags argument to flatpak_spawn
This allows you to e.g. silence STDERR

Closes: #47
Approved by: alexlarsson
2017-10-17 10:31:28 +00:00
Alexander Larsson 2c86d53b63 Add locale-subset support to add-extension 2017-09-21 17:06:16 +02:00
Alexander Larsson faba587a72 Move common/flatpak-utils.* to src/builder-flatpak-utils.* 2017-08-25 09:36:49 +02:00