Commit Graph

1194 Commits (2f465215e23f956419b9ae905ae3c94717bc2de1)
 

Author SHA1 Message Date
Alexander Larsson af6ccd70c3 Post release version bump 2016-02-26 15:11:50 +01:00
David King 12d49beb72 Search for dwarf.h in configure
Add a --with-dwarf-header argument for supplying the path containing the
dwarf.h header from libdwarf. Either a path must be provided, or a fallback
location of $includedir/libdwarf will be tested.

https://bugs.freedesktop.org/show_bug.cgi?id=94308
2016-02-26 15:03:25 +01:00
Alexander Larsson 87be89a7b8 lib: Add xdg_app_bundle_ref_get_origin() 2016-02-26 14:20:28 +01:00
Alexander Larsson 1ee1ed6eb9 lib: Fix a tiny leak 2016-02-26 14:17:07 +01:00
Alexander Larsson 38c24d536a Update test-lib.c with the appstream api change 2016-02-26 12:53:47 +01:00
Alexander Larsson d43d8cd8c8 Change xdg_app_bundle_ref_get_appdata to xdg_app_bundle_ref_get_appstream
This is technically an ABI break, but nothing is using this yet.
2016-02-26 12:52:38 +01:00
Alexander Larsson b20e72e91c Update version to 0.4.13 2016-02-26 09:59:51 +01:00
Alexander Larsson 26c2bb1b81 lib: Add xdg_app_bundle_ref_get_installed_size() 2016-02-25 21:34:44 +01:00
Alexander Larsson 69890db5f1 build-update-repo: Add --generate-static-deltas option 2016-02-25 21:13:20 +01:00
Alexander Larsson 0e1d83e94c lib: Add XdgAppBundleRef api to get appdata and icons 2016-02-25 20:12:04 +01:00
Alexander Larsson 986224b80c build-bundle: Extract appdata and icons into metadata 2016-02-25 19:38:20 +01:00
Alexander Larsson ef14c9f8db common: Add and use xdg_app_appstream_xml_root_to_data 2016-02-25 19:38:08 +01:00
Alexander Larsson 7ac2722800 common: Add xdg_app_read_stream helper 2016-02-25 19:34:04 +01:00
Alexander Larsson eba6a1e552 Add appdata to test apps 2016-02-25 19:03:09 +01:00
Alexander Larsson 73defceec6 common: Break out xml appstream rewriting to helper functions 2016-02-25 18:26:40 +01:00
Alexander Larsson c84ebe0440 Support --filesystem=xdg-run/foo 2016-02-25 17:11:37 +01:00
Alexander Larsson 26cd90e100 Allow specifying subdir of xdg dir, like: --filesytem=xdg-download/subdir 2016-02-25 16:51:45 +01:00
Alexander Larsson 6c5e1a8a92 Fix some compiler warning (unused vars) 2016-02-25 16:09:49 +01:00
Alexander Larsson 382ae396b3 lib: Add xdg_app_installation_install_bundle 2016-02-25 16:05:13 +01:00
Alexander Larsson cd13e9e21d bundles: Don't lock during pull
There is no need for that
2016-02-25 15:41:37 +01:00
Alexander Larsson aefb4b6b82 Add make-test-bundles.sh 2016-02-25 15:27:37 +01:00
Alexander Larsson 0e595519c1 Add test scripts that create trivial a runtime and app 2016-02-25 15:14:57 +01:00
Alexander Larsson f89e004fa3 Remove origin repos on uninstall 2016-02-25 11:44:23 +01:00
Alexander Larsson eadb10cba7 common: Move part of bundle install to helper functions 2016-02-25 11:31:22 +01:00
Alexander Larsson e66e7e3f15 bundles: Verify that the header metadata matches the deployed one at install
Otherwise the bundle can lie about requested permissions.
2016-02-24 15:48:33 +01:00
Alexander Larsson 69052c7d9a lib: Add XdgAppBundleRef 2016-02-24 14:44:16 +01:00
Alexander Larsson cbf3d25440 Remove unused variable 2016-02-24 14:33:00 +01:00
Alexander Larsson 4c6a05aba1 common: Break out bundle loader to helper utility 2016-02-24 14:16:52 +01:00
Alexander Larsson ca4187ac27 Fix typos in header 2016-02-24 13:48:03 +01:00
Alexander Larsson 8c81746a3e build-bundle: Add metadata file as metadata element
This way you can get info about the file before installing it
2016-02-24 13:41:38 +01:00
Alexander Larsson c071916ac8 Make /run/build and /run/build-runtime symlinks to the right place 2016-02-23 14:13:58 +01:00
Alexander Larsson 467e8bf4db builder: Add sources referenced from debuginfo into Debug runtime 2016-02-23 14:13:36 +01:00
Alexander Larsson 90aaed7f7b builder: Build runtimes in /run/build-runtime
This way we the runtime build dir doesn't conflict with the app dir.
Which is good if we want debuginfo with sources for both.
2016-02-23 14:12:20 +01:00
Alexander Larsson 22d997e712 builder: Add builder_get_debuginfo_file_references 2016-02-23 12:44:01 +01:00
Alexander Larsson 5f96507913 Add a file header to bundles 2016-02-23 09:44:18 +01:00
Alexander Larsson b9368753fa docs: Add docs for shell sources 2016-02-22 16:26:46 +01:00
Alexander Larsson 40feb18556 Set xdg-app as the log domain 2016-02-22 08:46:49 +01:00
Alexander Larsson 1e83b2c021 Fix xml printing of nodes with no children 2016-02-19 14:57:53 +01:00
Alexander Larsson 6307910c2f Release 0.4.12 2016-02-19 12:32:48 +01:00
Alexander Larsson 593bca9fb9 When deploying, always make /etc/resolve.conf a symlink into the monitor dir
This way we can use the deployed etc dir instead of having to create
our own.
2016-02-19 11:31:18 +01:00
Alexander Larsson 01bfb2e996 helper: Put monitor path in /run/host instead of /run/user/$uid
This means we can always find it in a fixed place, and thus we can
have a static symlink pointing to this.
2016-02-19 11:24:32 +01:00
Alexander Larsson eb2edc578a Fix use after free 2016-02-19 09:48:18 +01:00
Alexander Larsson d62a731cd4 Always create /etc/passwd,group,resolve.conf,machine-id when deploying
This means we can rely on these and bind-mount on top of them when
running.
2016-02-18 22:43:14 +01:00
Alexander Larsson f98f565df0 Add support for separated locales when creating platforms 2016-02-18 21:49:13 +01:00
Alexander Larsson f1d401e6cd Migrate locales after importing parent runtime 2016-02-18 21:48:33 +01:00
Alexander Larsson b44bbc13c3 Move migrate_locales to builder-utils.c 2016-02-18 21:47:29 +01:00
Alexander Larsson d5d47aa458 builder: Support separating out locale data 2016-02-18 19:22:34 +01:00
Alexander Larsson 6b6e4b213a Add docs for appstream-compose option. 2016-02-18 17:35:11 +01:00
Alexander Larsson 6428fcce45 common: Add XDG_APP_CP_FLAGS_MOVE support 2016-02-18 17:31:43 +01:00
Alexander Larsson abdbb17a72 Remove all appstream checkouts and mirrored refs when deleting remote 2016-02-18 12:54:40 +01:00