Commit Graph

3044 Commits (e8adec425cf0f53716a64b5573eeadee12b2b2a2)
 

Author SHA1 Message Date
Alexander Larsson e8adec425c Update version to 0.9.11 2017-09-13 16:05:16 +02:00
Alexander Larsson 82344e3ec2 Update NEWS for release 2017-09-13 16:05:03 +02:00
Simon McVittie 7874e87c47 Direct bug reports to flatpak-builder, not flatpak
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-12 16:16:53 +02:00
Simon McVittie c011526e87 Disable unused support for gobject-introspection
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-12 16:16:38 +02:00
Alexander Larsson 163785f173 Merge pull request #33 from smcv/docs
Add missing documentation
2017-09-12 16:15:53 +02:00
Alexander Larsson cf6c310f04 Support qmake buildssytem 2017-09-11 16:46:43 +02:00
Simon McVittie 0243f05b9b flatpak-builder(1): Document what can be combined with --show-deps
As with --run, most options are not allowed here.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-08 16:58:03 +01:00
Simon McVittie e177c4c07c flatpak-builder(1): Document what can be combined with --run
Most options are not allowed when combined with --run.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-08 16:58:03 +01:00
Simon McVittie 9f9244b9c8 flatpak-builder(1): Document --bundle-sources
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-08 16:58:02 +01:00
Simon McVittie 12c5a71c42 flatpak-builder(1): Document --default-branch
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-08 16:58:01 +01:00
Alexander Larsson d91037be22 Re-open the cache OstreeRepo if we change the min-free-space-percent
Without this it doesnn't work the first time the property is set.
2017-09-08 15:47:56 +02:00
Alexander Larsson 21cd4963b1 Add append-path and append-ld-libary-path build options
These are useful for e.g. sdk extensions.
2017-09-06 19:47:12 +02:00
Alexander Larsson f779394d92 Set same environment vars in shell sources as in build 2017-09-06 19:20:49 +02:00
Alexander Larsson db60f2d5f7 Fix warning about unused function on some arches 2017-09-06 19:16:23 +02:00
Alexander Larsson 584af95176 Add more terminal title status updates 2017-09-06 17:03:37 +02:00
Alexander Larsson 23b49e676d Disable free disk check on the cache repo 2017-09-06 17:03:34 +02:00
Alexander Larsson df1305b60a Merge pull request #32 from kalev/flatpak_get_kernel_arch
Add back accidentally lost flatpak_get_kernel_arch
2017-09-04 14:35:01 +02:00
Kalev Lember d69db55cae Add back accidentally lost flatpak_get_kernel_arch
This fixes the build on ppc64le and various other arches.
2017-09-04 12:18:22 +02:00
Alexander Larsson bf876b2e47 Bump version to 0.9.9 2017-09-01 16:46:13 +02:00
Alexander Larsson 16e27a1a73 Update NEWS for release 2017-09-01 16:45:56 +02:00
Alexander Larsson 012f1558e8 require flatpak 0.9.9 2017-09-01 16:44:36 +02:00
Alexander Larsson 5068a700d0 builder: Pass --die-with-parent to all flatpak build commands
This is not done by default anymore, as per
 75d7e76276
2017-08-30 11:27:57 +02:00
Alexander Larsson 4ff21f43ad Remove old doc/reference/Makefile references 2017-08-29 16:48:30 +02:00
Alexander Larsson 2af37012f9 Update README and clean out NEWS 2017-08-25 10:12:16 +02:00
Alexander Larsson d2b238dc36 Clean up configuration 2017-08-25 10:06:18 +02:00
Alexander Larsson ccdc551b44 Update .gitignore 2017-08-25 09:41:39 +02:00
Alexander Larsson a5a12d14ee The module is flatpak-builder, not flatpak 2017-08-25 09:40:42 +02:00
Alexander Larsson faba587a72 Move common/flatpak-utils.* to src/builder-flatpak-utils.* 2017-08-25 09:36:49 +02:00
Alexander Larsson 5823533bd7 Move builder/ to src/ 2017-08-25 09:30:53 +02:00
Alexander Larsson 9d1f1ed59c Delete non-builder files 2017-08-25 09:27:42 +02:00
Matthias Clasen bbfb53abd6 Merge pull request #976 from sgnn7/README_fixes
Fixed README.md
2017-08-23 14:07:09 -04:00
Matthias Clasen 4b030b934d Merge pull request #980 from pwithnall/flatpak-remote-type
Add missing flatpak_remote_get_remote_type() implementation
2017-08-23 14:03:06 -04:00
Philip Withnall 15df314ca4 lib/remote: Add implementation of flatpak_remote_get_remote_type()
This is declared in the header file, but was never actually implemented.
Oops.

If anybody is hit by this issue, they can work around it by using
g_object_get() to get the FlatpakRemote:type property, which this is the
getter for.

Add it to the tests as well, so it gets exercised.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2017-08-23 16:59:11 +01:00
Philip Withnall 00e5a0d325 lib/remote: Add documentation for the class properties
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2017-08-23 16:55:02 +01:00
Alexander Larsson 706d13895e Inherit min-percent-free-space from system repo into child repo
This way you can at least work around the free space check in *some*
way.
See https://github.com/flatpak/flatpak/issues/975
2017-08-23 11:13:45 +02:00
Srdjan Grubor 140b646a58 Fixed README.md
Many fixes to phrasing, wording, proper noun capitalization, etc
2017-08-22 10:52:33 -05:00
Matthias Clasen 503b2f8b4c Merge pull request #974 from AsciiWolf/cs-update
Update Czech translation
2017-08-22 08:42:55 -04:00
AsciiWolf 227e547367 Update Czech translation 2017-08-21 19:58:33 +02:00
Alexander Larsson cc8c8e6e30 Update pofiles 2017-08-21 18:25:30 +02:00
Alexander Larsson 3ac5747e39 Bump version to 0.9.8 2017-08-21 18:15:26 +02:00
Alexander Larsson 570665d0ae Update NEWS for release 2017-08-21 18:15:18 +02:00
Alexander Larsson a44bae6936 builder: Install all subpaths when installing dependencies
This means we e.g. always get the entire locale.
2017-08-21 17:26:03 +02:00
Alexander Larsson c6ef29c06b builder: Add support for defining extensions in flatpak-builder
This takes a list of properties and generate finish arguments.
Additionally you can specify "bundle": true, which causes f-b to emit
an actual extension implementation, similar to e.g. the locale
and debuginfo extension.
2017-08-21 15:46:06 +02:00
Alexander Larsson 0305628758 common: Fix up error reporting for local extra data
Report the actual error message if we failed to read the file.
2017-08-21 10:40:20 +02:00
Manuel Quiñones 9e38de1556 extra-data: Support reading from local directory
Lookup extra-data files as
~/.local/share/flatpak/extra-data/SHA256/FILENAME, Similar to files
downloaded in the .flatpak-builder directory.

For now, if a corresponding file exists, assume it's the full download
and read bytes from it.  Then proceed to do the same checks as for the
bytes downloaded by Soup.

In the future this directory could be used to support resumed downloads
by storing partial downloads.
2017-08-21 10:33:15 +02:00
Matthias Clasen 39a8abb788 Merge pull request #972 from piotrdrag/pl-update-170818
Update Polish translation
2017-08-18 13:02:40 -04:00
Piotr Drąg 2d14812f18 Update Polish translation 2017-08-18 18:50:16 +02:00
Alexander Larsson 1aadc3ee40 build: Fix issues when symlinks in / point into /var
Set up /var to $appdir/var binding after all the other filesystem
setup has happened. Before we did not do this, so a link from e.g.
/foo to /var/foo would be created in the appdir var rather than the tmpfs
var, which would fail with EEXIST the second time because that directory
is persisted.

In particular, this was problematic on endless os where /var/home is
a symlink.
2017-08-18 17:06:03 +02:00
Alexander Larsson 37fa3461c9 builder: Add --delete-build-dirs
This makes sure we always delete build dirs, even if there
was a build failure. This is useful for automatic build systems
like flathub or continuous integration.

This fixes https://github.com/flatpak/flatpak/issues/646
2017-08-18 16:29:17 +02:00
Alexander Larsson 326507602c build-update-repo: Don't remove next-to-last deltas
When creating a new commit of an app, we create deltas of it and from
its parent to it, and remove all other deltas. This can be problematic
during the switchover to the new delta, because some active operation
may be using the current delta when its deleted.

We fix this by keeping the parent and grandparent-to-parent deltas
around (but we never *generate* them).
2017-08-18 15:53:09 +02:00