Commit Graph

36 Commits (185fdc194782e24775db22c26a79687b1598be01)

Author SHA1 Message Date
Alexander Larsson de9fe1cb6a common: Work around new glib codegen autogenerating g_autoptr support
glib master generates g_autoptr support, which causes a multiple
declaration conflict. We work around this by using a custom type.
2016-05-04 09:10:11 +02:00
Alexander Larsson 663cfcf3a8 Fix make check if uninstalled
This uses various environment variables set during make check
to find the trigger, bwrap and xdg-app-dbusproxy from the build/source dir
rather than the installed location.
2016-05-03 10:27:36 +02:00
Alexander Larsson b8b3d319d4 common: Add xdg_app_variant_save 2016-04-27 12:33:47 +02:00
Alexander Larsson 9624dd67da common: Export xdg_app_repo_collect_sizes 2016-04-27 09:41:14 +02:00
Alexander Larsson ac517099eb utils: Add xdg_app_allocate_tmpdir 2016-04-25 18:59:17 +02:00
Alexander Larsson 2d74810cbc common: Add (and use) xdg_app_summary_lookup_ref helper 2016-04-25 18:59:17 +02:00
Alexander Larsson 29458bc154 Remove support for older ostree without bundle support
This is not needed when we depend on 2016.5
2016-04-21 18:34:28 +02:00
Alexander Larsson 5392f2d629 common: Break out xdg_app_mtree_create_root helper 2016-04-20 09:55:13 +02:00
Alexander Larsson 1c1bc4acca common: Move xdg_app_dir_pull_from_bundle to xdg_app_pull_from_bundle
The only difference is it takes an OstreeRepo, not a XdgAppDir, so we
can use it at a lower level too.
2016-04-19 13:31:55 +02:00
Alexander Larsson 26c2bb1b81 lib: Add xdg_app_bundle_ref_get_installed_size() 2016-02-25 21:34:44 +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 73defceec6 common: Break out xml appstream rewriting to helper functions 2016-02-25 18:26:40 +01:00
Alexander Larsson 382ae396b3 lib: Add xdg_app_installation_install_bundle 2016-02-25 16:05:13 +01:00
Alexander Larsson 4c6a05aba1 common: Break out bundle loader to helper utility 2016-02-24 14:16:52 +01:00
Alexander Larsson 6428fcce45 common: Add XDG_APP_CP_FLAGS_MOVE support 2016-02-18 17:31:43 +01:00
Alexander Larsson a95c99270a Move the GZlib* autoptr backport to libglnx 2016-01-22 15:30:48 +01:00
Alexander Larsson b099dc7021 common: Add xdg_app_cp_a 2016-01-22 11:43:58 +01:00
Alexander Larsson 33fba3c67e xdg-app-utils: Add autocleanup for GZlib* 2016-01-22 10:55:01 +01:00
Alexander Larsson 64da5f5602 utils: Extract the xml helpers 2016-01-21 21:37:29 +01:00
Alexander Larsson d959ed016c common: Add xdg_app_list_extensions util 2016-01-20 14:00:49 +01:00
Alexander Larsson 6e204a4d2e Add support to gpg sign summaries and appstream 2016-01-18 21:36:57 +01:00
Alexander Larsson de7e19e40f The plural of appdata is appstream 2016-01-18 21:06:42 +01:00
Alexander Larsson cd2c5af974 build-repo-update: Update appdata branch using appdata-builder 2016-01-15 14:39:11 +01:00
Alexander Larsson a79ea2e890 common: Add XdgAppTempDir which cleans up temporary directories 2016-01-15 12:04:46 +01:00
Alexander Larsson cb971722fe Better handling of the title in the summary
Now we store the title in the repo config and re-apply it every time
we regenerate the summary.
2016-01-14 21:26:51 +01:00
Alexander Larsson f7a1fdaa99 xdg-app: Deprecate install/update/uninstall-app/runtime
We just have install/updata/uninstall and have --app and --runtime
options if you really want to specify the type. Otherwise we just
automatically chose the right thing.
2016-01-13 15:34:08 +01:00
Alexander Larsson b4fbb84f0a common: Move path_match_prefix to common 2016-01-11 13:56:07 +01:00
Alexander Larsson 6ddee9905b build-export: Add --runtime commit support 2015-12-21 15:38:42 +01:00
Alexander Larsson f9b9f70fad common: Add xdg_app_strcmp0_ptr and use it in all g_ptr_array_sort calls 2015-12-18 10:41:34 +01:00
Alexander Larsson b820249178 common: Add xdg_app_compose_ref helper 2015-12-15 14:55:29 +01:00
Alexander Larsson f16cc44a30 builder: Use SoupRequest to simplify download helpers
Also, this allows us to support data: uris, etc
2015-12-09 12:55:10 +01:00
Alexander Larsson 704300e1b4 Add xdg_app_dir_fetch_remote_title and remote old custom summary fetcher 2015-12-04 11:09:00 +01:00
Alexander Larsson e76da99cdc builder: Merge spawn helpers to single base helper 2015-12-03 13:29:08 +01:00
Murray Cumming 4a91447307 xdg-app-utils: Correct SoupUri -> SoupURI typo.
It should be SoupURI, not SoupUri:
https://developer.gnome.org/libsoup/stable/SoupURI.html#soup-uri-new

This broke the build for me.
2015-12-01 14:01:43 +01:00
Alexander Larsson 106a5b06ec Rename lib/ to common/ in preparation for public xdg-app library 2015-11-26 22:05:38 +01:00