Commit Graph

3119 Commits (1b16d7cd950305d5220bc0d0d050543cb5f529b5)
 

Author SHA1 Message Date
Alexander Larsson 3b14684464 Drop _compat_ things we added
We want a clean slate for 0.10, and it actually makes sense to rebuild
now, because the debuginfo compression will change everything (for
the better).
2017-10-09 13:32:41 +02:00
Alexander Larsson 1a4240eacc platform: Delete from base the things that were deleted in the sdk.
This fixes the issue in:
    https://github.com/flatpak/flatpak/issues/1024#issuecomment-333321323
Where we removed the base platform gstreamer plugins in the the
sdk, but they were not removed in the platform.
2017-10-09 13:29:19 +02:00
Alexander Larsson 01eb5dc945 Add prepare-platform-commands property
This allows you to modify the base platform, before applying the
new files. For instance, this is one way to fix
https://github.com/flatpak/flatpak/issues/1024#issuecomment-333321323
where we need to remove old gstreamer plugins from the base.
2017-10-09 13:29:19 +02:00
Alexander Larsson fb71c99ffb Accept .metainfo.xml appdata extensions
We find these either in the appdata or the metainfo directory.
However, we always move it to the appdata dir with the appdata
extension, because that means older versions of appstream-compose
will always pick it up.

Closes: #44
Approved by: alexlarsson
2017-10-06 12:48:58 +00:00
Alexander Larsson c7784cbde3 Fix tests
We need an ldconfig these days

Closes: #43
Approved by: alexlarsson
2017-10-05 18:11:21 +00:00
Alexander Larsson 34710550ef Automatically compress debug info unless no-debuginfo-compression is set
This uses eu-elfcompress to compress the debuginfo. We use the older
zlib-gnu compression format which is older and has more widespread
support.

Closes: #43
Approved by: alexlarsson
2017-10-05 18:11:21 +00:00
Alexander Larsson 5818790510 Add extra-data source type
All this does is construct a finish arg, but it makes it a lot nicer
to create extra-data using manifest. Additionally, it allows you to
create per-arch extra data if you set only-arches on the source.

Closes: #40
Approved by: alexlarsson
2017-09-29 07:01:53 +00:00
Alexander Larsson 1f57553d20 Add builder_cache_checksum_uint64
Closes: #40
Approved by: alexlarsson
2017-09-29 07:01:53 +00:00
Alexander Larsson 9f3e786c29 Add appdata-license field
This lets you modify the project_license field in the appdata file.
This is useful because appdata files from upstream generally only
contain license information for the app itself, whereas the
bundled app may contain other code with additional licenses.

Closes: #41
Approved by: alexlarsson
2017-09-29 07:01:40 +00:00
Alexander Larsson 14df2dfc9a Fix CI
This builds flatpak master before building flatpak-builder and installs
ostree 2017.11 from fedora.
Also it adds gettext-devel which is used for autopoint.

Closes: #39
Approved by: alexlarsson
2017-09-28 09:12:10 +00:00
Alexander Larsson 3e65d29fac Remove unused variables
These were reported by clang

Closes: #39
Approved by: alexlarsson
2017-09-28 09:12:10 +00:00
Alexander Larsson 10a89bff2a Fix up docs link
Closes: #39
Approved by: alexlarsson
2017-09-28 09:12:10 +00:00
Alexander Larsson 6294fafcc4 git: Fix problems bundling git repos on older git versions
It seems we have to specify

git fetch --depth 1 origin $ref:$ref

instead of

git fetch --depth 1 origin $ref

because on older versions of git (1.8.3 at least) this otherwise just
sets FETCH_HEAD, rather than $ref in the fetching repo.
2017-09-26 19:36:09 +02:00
Alexander Larsson 7e0619a4de Update for release 2017-09-25 17:44:24 +02:00
Alexander Larsson ef07c3f2fd Update version to 0.9.98 2017-09-25 17:44:24 +02:00
handsome-feng bede3d19b0 add the missing '[]' around AC_MSG_ERROR 2017-09-25 16:54:52 +02:00
Alexander Larsson d768afabfe Drop all compat from the checksum in preparation of new stable release
This means a lot of caches will rebuild, but we're then in a
stage where we can start adding new things in a compat way in the
stable series.
2017-09-22 17:10:06 +02:00
Alexander Larsson 38f409a041 Add make-args and make-install-args to build-options
This lets you override these on a per-arch level.

Fixes https://github.com/flatpak/flatpak/issues/1029
2017-09-22 17:07:22 +02:00
Alexander Larsson 2c86d53b63 Add locale-subset support to add-extension 2017-09-21 17:06:16 +02:00
Alexander Larsson 709b71a268 Always set locale-subset=true for locale extensions 2017-09-21 17:04:07 +02:00
Alexander Larsson 0e5fdaf89a bundle git repos shallowly
There is no need to bundle the entire history in a git repo.
Instead we only bundle shallow versions of all the branches/tags/commit
that we reference.

For directly specified commit ids we can't really shallow-clone those,
so we create fake tags in the mirrored repo.
2017-09-21 16:05:05 +02:00
Alexander Larsson 9e5a4b1103 Pass --with-appdir when doing flatpak-builder --run 2017-09-19 11:53:53 +02:00
Alexander Larsson 6b7b5fae0a Add tag property for git sources
This is essentially an alias for branch, but makes the json
nicer to read.
2017-09-18 16:03:48 +02:00
Alexander Larsson 85d2d18ba4 cache: Save changes in cache so that we can extract them fast later. 2017-09-14 13:29:32 +02:00
Alexander Larsson 2b61639790 cache: Always return changes sorted
This helps in comparisons, etc.
2017-09-14 13:27:33 +02:00
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