Alexander Larsson
03ae229751
Move most of builtins-run to xdg_app_run_app helper
...
This is in preparation for letting the library start apps.
2015-12-07 12:27:53 +01:00
Alexander Larsson
d503c5a15d
Remove unused variable
2015-12-07 12:27:29 +01:00
Alexander Larsson
b761aa05a7
common: Move typedef to separate header to avoid circular deps
2015-12-07 12:26:44 +01:00
Alexander Larsson
ad7310f246
XdgAppDeploy: Fix wrong types in finalizer
2015-12-07 12:25:48 +01:00
Alexander Larsson
6c999147c4
Add XdgAppRemoteRef do docs
2015-12-04 20:22:57 +01:00
Alexander Larsson
09f7842e78
Merge pull request #91 from ebassi/api-reference
...
Generate the API reference for libxdg-app
2015-12-04 20:17:12 +01:00
Emmanuele Bassi
f23090a615
Generate the API reference for libxdg-app
...
We use the good old gtk-doc.
2015-12-04 15:00:35 +00:00
Alexander Larsson
a4df4ff811
lib: Add XdgAppRemoteRef subclass
...
This doesn't do anything yet, but its a place to hang remote-specific
ops off.
2015-12-04 15:35:13 +01:00
Alexander Larsson
1647c85d6f
helper: Allow exec on the tmpfs.
...
This should be safe, you could always copy it to your writable
directory and exectute from there instead. There should be no way
to get increased privileges from a simple exec anyway.
2015-12-04 12:19:41 +01:00
Alexander Larsson
5fd830d3b0
lib: Make getters for XdgAppRemote return copies of strings for options
...
This makes it possible to handle the case when these options change
over time.
2015-12-04 11:46:32 +01:00
Alexander Larsson
1ba476bcbe
Merge pull request #90 from ebassi/introspection
...
Introspection
2015-12-04 11:42:47 +01:00
Alexander Larsson
ad7b379398
Add no-enumerate flag to remote and set if for bundle origin remotes
2015-12-04 11:40:51 +01:00
Emmanuele Bassi
c09375c855
Annotate transfer rules for ambiguous return values
...
This silences all the warnings from the introspection scanner.
2015-12-04 10:17:39 +00: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
Emmanuele Bassi
52ba736518
Add introspection support to libxdg-app
...
We may want to use it from non-C languages.
2015-12-04 09:55:40 +00:00
Alexander Larsson
2f6fc54897
lib: Use the new remote helpers
2015-12-04 10:49:16 +01:00
Alexander Larsson
4cdec26264
list/ls-remotes: Use the new remote helpers
2015-12-04 10:48:26 +01:00
Alexander Larsson
5bc44ea125
XdgAppDir: Add some helpers for handling remotes
2015-12-04 10:48:05 +01:00
Emmanuele Bassi
92885b9ce2
Add introspection check
2015-12-04 09:36:30 +00:00
Alexander Larsson
ab7699bb04
builder: Prune old branches when updating mirror
2015-12-04 08:51:14 +01:00
Alexander Larsson
374e7d1166
builder: Be a bit more verbose when pulling VCS
2015-12-04 08:51:08 +01:00
Alexander Larsson
707bc35c59
Merge pull request #89 from ebassi/builddir
...
Builddir != srcdir fixes
2015-12-04 08:36:33 +01:00
Emmanuele Bassi
19c9a25be6
build: Switch to olddir after autoreconf
...
Otherwise this won't work:
$ mkdir _build && cd _build
$ ../autogen.sh
As `autoreconf` won't find configure.ac.
2015-12-04 01:14:53 +00:00
Emmanuele Bassi
82fa0659f9
build: Fix include path for builddir != srcdir
...
We need to add $(top_builddir)/lib to the inclusion path, otherwise the
build will fail.
This has broken gnome-continuous builds of xdg-app.
2015-12-04 01:13:45 +00:00
Alexander Larsson
132d1186d9
Initial version of libxdg-app
...
This is a highlevel library for working with xdg-app without using
the commandline interface. The primary usecase for this is for
creating a graphical frontend for app installation/update.
2015-12-03 22:41:16 +01:00
Alexander Larsson
f2c9663169
ls-remote: Remove unnecessary code
...
Summary refs never have a remote prefix
2015-12-03 22:40:55 +01:00
Alexander Larsson
e76da99cdc
builder: Merge spawn helpers to single base helper
2015-12-03 13:29:08 +01:00
Alexander Larsson
9396419b66
Merge pull request #88 from murraycu/master
...
Docs: Fix some tiny typos
2015-12-02 15:57:09 +01:00
Alexander Larsson
3ce0c6f7f9
document portal: Add AddNamed method for host-side use
...
This is needed for the "save as" file selector portal
2015-12-02 15:55:41 +01:00
Murray Cumming
416704f65a
Docs: Fix some tiny typos
2015-12-02 14:31:20 +01:00
Alexander Larsson
9fd6ce1779
builder: Don't use ":" in uri-as-filename
...
This confuses some versions of git, thinking the file is a uri
2015-12-02 14:07:09 +01:00
Alexander Larsson
44028aa273
builder: Error out if rename_error is set but not found
...
Also, ignore ENOENT during the traversal
2015-12-02 13:12:35 +01:00
Alexander Larsson
8dc06ba30c
builder: Add support for copy-icon option
2015-12-02 08:47:43 +01:00
Alexander Larsson
7176ca491a
builder: Consider the build_option when checksumming
2015-12-02 08:32:25 +01:00
Alexander Larsson
9dfcd4b452
builder: Fix build with g_autoptr backports
2015-12-01 16:40:45 +01:00
Alexander Larsson
5e96d10128
Fix some warnings
2015-12-01 16:39:01 +01:00
Alexander Larsson
b172924669
Update libglnx for new backports
2015-12-01 16:34:04 +01:00
Alexander Larsson
83a59dd5a5
builder: Build with "make", not "make all"
...
This seems more compatible
2015-12-01 16:06:37 +01:00
Alexander Larsson
e35241ba35
Merge pull request #86 from murraycu/patch-1
...
xdg-app-utils: Correct SoupUri -> SoupURI typo.
2015-12-01 15:10:36 +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
a8eefe6844
Remove stray semicolons
2015-12-01 12:31:20 +01:00
Alexander Larsson
6f9227d58f
builder: Support building from a subdirectory of the sources
2015-12-01 12:12:53 +01:00
Alexander Larsson
4cd2e1c993
Add script source type
2015-12-01 11:10:13 +01:00
Alexander Larsson
c78b736b23
builder: Add docs for post-install
2015-12-01 10:46:55 +01:00
Alexander Larsson
74e30c9b01
builder: Add post-install script support
2015-12-01 10:28:41 +01:00
Alexander Larsson
d6ae9e3d6c
builder: Add submodule support for git sources
2015-11-30 21:09:56 +01:00
Alexander Larsson
79c1f1246c
Remove leftover semicolon
2015-11-30 21:09:22 +01:00
Alexander Larsson
dd099f5769
builder: Fix typo in cmake support
2015-11-30 12:47:35 +01:00
Alexander Larsson
12d926ec65
builder: builddir != srcdir was broken becasue we never created the buildir
2015-11-27 10:23:17 +01:00
Alexander Larsson
2e0f34c435
builder: Add more headers around the spew for each new module
2015-11-27 10:23:17 +01:00