Commit Graph

45 Commits

Author SHA1 Message Date
Alexander Larsson
67de92042b apps: Use "branch", not "version" when talking about app branches 2015-12-17 20:07:14 +01:00
Alexander Larsson
619adeb74c builder: Add cleanup-command property
This allows you to do some custom cleanup operations
2015-12-16 14:50:05 +01:00
Alexander Larsson
ef3582325d builder: Store the cache in BARE_USER mode
This has two advantages:
1) If building as non-root, then we can't modify xattrs, such as
   selinux ones, yet selinux will write then, making a bare repo
   not match the checksums (it has unexpected xattrs that selinux made)
2) We check out as MODE_NONE, not MODE_USER, which in combination with
   BARE_USER forces the files to be copied out of the cache, rather
   than using hardlinks into the cache which could mutate the cache.
2015-12-16 11:56:56 +01:00
Alexander Larsson
46558798a2 builder: Don't fsync on cache checkouts 2015-12-16 11:18:05 +01:00
Alexander Larsson
739b5ab6db builder: Support writable-sdk option 2015-12-15 19:36:10 +01:00
Alexander Larsson
a0885d4576 builder: Allow specifying custom prefix 2015-12-15 19:36:06 +01:00
Alexander Larsson
43a09b3646 Fix unused variable warnings 2015-12-15 14:34:52 +01:00
Alexander Larsson
efe378f46c builder: Fix typo in patch applying
It was using git, not patch
2015-12-15 08:14:20 +01:00
Alexander Larsson
a66da8e53c builder: Fix build with old glib 2015-12-14 14:49:31 +01:00
Alexander Larsson
2c92fcb1d6 builder: After fetching the mirrored git repo, set back the right origin
This is nice if you want to later pull new data into the repo.
2015-12-09 21:32:18 +01:00
Alexander Larsson
873492af62 builder: Remove accidental leftover spew 2015-12-09 21:21:48 +01:00
Alexander Larsson
54c52d9363 builder: Add --keep-build-dirs option
This is useful if you want to later make changes to the built stuff.
2015-12-09 21:10:22 +01:00
Alexander Larsson
b716e0d8eb Builder: Add a resolved version of the manifest to the built app 2015-12-09 14:26:41 +01:00
Alexander Larsson
dfc11d5e87 builder: Support specifying commit ids as git branches 2015-12-09 14:07:33 +01:00
Alexander Larsson
6a82dd4ee3 builder: Support specifying revision in bzr sources 2015-12-09 14:06:59 +01:00
Alexander Larsson
5b6f3749d5 builder: Support data: uri for files 2015-12-09 13:00:30 +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
3fdfef7e40 builder: Allow optionally specifying remote file sources 2015-12-09 12:01:55 +01:00
Alexander Larsson
e39192b3d6 builder: Break out download_uri helper function in SourceFile 2015-12-09 11:42:04 +01:00
Alexander Larsson
3fb4226c81 builder: Make the builder manifest objects serializable to json 2015-12-09 10:33:54 +01:00
Alexander Larsson
237fd57cd0 builder: Allow git uris to be relative to the base directory
This allows you to use ".git" as the git uri, thus building from the
current source directory.
2015-12-08 14:34:34 +01: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
e76da99cdc builder: Merge spawn helpers to single base helper 2015-12-03 13:29:08 +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
83a59dd5a5 builder: Build with "make", not "make all"
This seems more compatible
2015-12-01 16:06:37 +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
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
Alexander Larsson
56652c9ea1 builder: Add support for cmake and forced builddir 2015-11-27 10:23:14 +01:00
Alexander Larsson
106a5b06ec Rename lib/ to common/ in preparation for public xdg-app library 2015-11-26 22:05:38 +01:00
Alexander Larsson
f710eb9322 Correct license, we're LGPL 2+, not 3+
Some files accidentally got the LGPL 3+ header, but we
want to be LGPL2+.
2015-11-26 14:50:21 +01:00
Alexander Larsson
06062d4428 builder: Add --build-only argument 2015-11-26 14:38:13 +01:00
Alexander Larsson
b2790349d6 Add xdg-app-builder
This is a tool that makes it easy to build applications and their
dependecies by automating the configure && make && make install steps.
2015-11-25 15:26:32 +01:00