summaryrefslogtreecommitdiff
path: root/builder
Commit message (Collapse)AuthorAgeFilesLines
* Fix various spelling mistakesSimon McVittie2016-05-172-2/+2
| | | | | | Mostly detected by Debian's Lintian tool. Signed-off-by: Simon McVittie <smcv@debian.org>
* builder: Untar with --no-same-ownerAlexander Larsson2016-05-121-1/+1
| | | | | | Without this if you run as root (which is generally a poor idea) it will extract the sources with the user/group specified on the archive, which is never what you want when building code.
* Builder: Support disabled=true to not build a moduleAlexander Larsson2016-05-093-0/+41
| | | | This is a simple way to "comment out" a module.
* Rename everything but the on-disk location to flatpakAlexander Larsson2016-05-096-22/+22
|
* Rename library to libflatpakAlexander Larsson2016-05-091-1/+1
|
* Rename source files to flatpakAlexander Larsson2016-05-0912-11/+11
|
* Rename all non-autogenerated symbols to flatpakAlexander Larsson2016-05-099-49/+49
|
* uncruftify: Initial run, all non-problematic changesAlexander Larsson2016-05-0629-1010/+1160
|
* build: Look for files in the same dir as the manifest, not in the CWDAlexander Larsson2016-05-041-1/+3
| | | | This makes more sense, the CWD is not necessary a useful place.
* build-export: Add --arch optionTristan Van Berkom2016-05-031-7/+10
| | | | | | | | | | This patch adds the --arch option to the build-export builtin command. Previously build-export derives this from the metadata and then falls back to xdg_app_get_arch(), except that this does not work when the metadata does not specify an arch (such as with extensions like .Debug or .Locale). https://bugs.freedesktop.org/show_bug.cgi?id=95226
* xdg-app-builder: Add --arch command line optionTristan Van Berkom2016-05-022-2/+13
| | | | | | This is only useful for building for architectures which are compatible with the build host, e.g. building i686 binaries on an x86_64 build host.
* BuilderSourceFile: Delete destination fileTristan Van Berkom2016-04-271-0/+6
| | | | | | Sometimes you want to replace an existing file, like a config.sub, and sometimes that existing config.sub does not have the writable bits set. Just delete the file if we intend to replace it anyway.
* builder: Fix unused return value warningsAlexander Larsson2016-04-211-3/+3
| | | | This just adds a (void) cast to avoid the warnings.
* Remove unused local variables reported by clangAlexander Larsson2016-04-211-1/+0
|
* builder: Do not repeat the separate locales pathJoaquim Rocha2016-04-201-7/+11
| | | | | | These changes replace all occurrences of 'share/runtime/locale' with a define so it will avoid possible mistakes when having to be replaced one day.
* builder: Skip separate locales exportation if directory doesn't existJoaquim Rocha2016-04-201-2/+5
| | | | | | | This will avoid errors when separate_locales is set to true but the locales directory does not exist. This is the case of many apps that do not support separate locales but haven't specifically set separate_locales to false in the configuration.
* Merge pull request #128 from matthiasclasen/run-fixesAlexander Larsson2016-04-151-3/+5
|\ | | | | Some fixes for xdg-app-builder --run
| * Fix --runMatthias Clasen2016-04-141-3/+5
| | | | | | | | | | I have a manifest which has --command=terminix in the finish-args, and xdg-app build doesn't like that option, so filter it out.
* | BuilderModule: Use builder_options_get_config_opts()Tristan Van Berkom2016-04-151-1/+3
| | | | | | | | | | | | | | | | | | The configure arguments are now a combination of the default config-opts plus the accumulative sum of the config-opts specified in the build-options that are active for a given build context. https://bugs.freedesktop.org/show_bug.cgi?id=94940
* | BuilderOptions: Added 'config-opts' option.Tristan Van Berkom2016-04-152-0/+60
|/ | | | | | Allows conditional configure arguments. https://bugs.freedesktop.org/show_bug.cgi?id=94940
* Fix typo for no-debuginfo properlyAlexander Larsson2016-04-141-1/+1
|
* builder: Add an option to erase app dirMatthias Clasen2016-04-131-3/+18
| | | | | | Having to run rm -rf yourself before every new build attempt gets old. Lets add an option to have xdg-app-builder do it for us.
* builder: better error messages if failing to find desktop fileAlexander Larsson2016-04-111-1/+4
|
* builder: Only create one locale extensionAlexander Larsson2016-04-072-114/+24
| | | | | | | | | | | | Given that each app can have 100 locates, ostree just doesn't scale to having a branch per app/locale combo. For 100 apps and 100 locales that would be 10000 branches. Also, things like xdg-app remote-list doesn't properly handle that either. We need to handle this by e.g. supporting subsetting the pull of the locale extension.
* builder: Actually respect the defined branchAlexander Larsson2016-03-233-5/+11
|
* builder: Checksum metadata-platform contents for cache tooAlexander Larsson2016-03-231-0/+14
|
* builder: Use the right field for the platform cache checksumAlexander Larsson2016-03-231-1/+1
| | | | It was looking at metadata, instead of metadata_platform
* builder: Build single every-locale extensionAlexander Larsson2016-03-212-11/+64
| | | | | This is useful for testing, as well as makes building derived runtimes easier.
* xdg-app-builder: Don't export if --build-only specifiedAlexander Larsson2016-03-171-1/+1
|
* xdg-app-buildeR: Remove unnecessary spewAlexander Larsson2016-03-141-1/+0
|
* Fix some compiler warning (unused vars)Alexander Larsson2016-02-252-3/+1
|
* builder: Add sources referenced from debuginfo into Debug runtimeAlexander Larsson2016-02-231-0/+59
|
* builder: Build runtimes in /run/build-runtimeAlexander Larsson2016-02-232-4/+12
| | | | | 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.
* builder: Add builder_get_debuginfo_file_referencesAlexander Larsson2016-02-232-0/+962
|
* Add support for separated locales when creating platformsAlexander Larsson2016-02-182-16/+119
|
* Migrate locales after importing parent runtimeAlexander Larsson2016-02-181-0/+10
|
* Move migrate_locales to builder-utils.cAlexander Larsson2016-02-183-98/+100
|
* builder: Support separating out locale dataAlexander Larsson2016-02-185-3/+250
|
* builder: Support tagsAlexander Larsson2016-02-171-0/+26
|
* builder: Support local archives with path propertyAlexander Larsson2016-02-171-3/+74
|
* builder: Add support for --run to start a command in the build dirAlexander Larsson2016-02-173-7/+115
|
* builder: Move CFLAGS/CXXFLAGS handling into BuilderOptionsAlexander Larsson2016-02-172-10/+12
|
* builder: Add build_context_get_build_dir()Alexander Larsson2016-02-173-2/+11
|
* builder: Always create unversioned symlinks while building modulesAlexander Larsson2016-02-171-20/+23
| | | | This way if things go wrong you can always find the latest build
* builder: Report errors if eu_strip failsAlexander Larsson2016-02-161-4/+5
| | | | | This was ignoring errors and causing "set-on-top-of-existing-GError" messages.
* builder: Put all builds in a .xdg-app-builder/build subdirAlexander Larsson2016-02-101-5/+10
| | | | | | | I.e. instead of .xdg-app-builder/build-foo it will be .xdg-app-builder/build/foo. This makes it easier to separate these out, and it allows you to symlink this directory to /run/build to pick up all sources when you use --keep-build-dirs.
* builder: Avoid reusing set GErrorAlexander Larsson2016-02-081-0/+1
| | | | | my_error was used twice, without clearing inbetween, which can cause issues.
* Fix some g_propagate_error typosAlexander Larsson2016-02-081-1/+1
|
* builder: Use predictable names for build dirsAlexander Larsson2016-02-081-10/+20
| | | | Instead of random hex, we use a pure counter
* builder: Store exact sdk commit id in the build cache and manifestAlexander Larsson2016-02-033-0/+75
| | | | | This means we rebuild everything if the sdk changes, and you can also see what version an app was built against.