summaryrefslogtreecommitdiff
path: root/permission-store
Commit message (Collapse)AuthorAgeFilesLines
* Remove document portalAlexander Larsson2018-02-096-690/+0
| | | | | | | | | | | This is now in xdg-desktop-portal. We keep a version of the document portal dbus XML so that we avoid weird build dependencies. Flatpak itself is technically not dependent on the document portal, but it is very much recommended that you use it. Closes: #1398 Approved by: alexlarsson
* Merge pull request #900 from pwithnall/lan-and-usb-preparationMatthias Clasen2017-07-081-1/+1
|\ | | | | LAN/USB preparation refactoring
| * general: Remove trailing \n from GLib log messagesPhilip Withnall2017-07-071-1/+1
| | | | | | | | | | | | | | The GLib logging framework automatically appends a \n to messages, so it doesn’t need to be added by callers. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* | build: Add AM_* variables to all per-target special variablesPhilip Withnall2017-07-061-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | For example, add $(AM_CFLAGS) to mumble_CFLAGS. Since $(WARN_CFLAGS) is only added to $(AM_CFLAGS), this fixes the lack of inclusion of the compiler warning flags in the compilation of half of flatpak. Note that $(AM_*) variables are only used by automake if a more specific (per-target) special variable is not defined instead. So if you define mumble_CFLAGS, AM_CFLAGS will not be used for that target unless explicitly included in mumble_CFLAGS. See https://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html. Do the same for $(AM_LIBADD), $(AM_LDFLAGS), etc. These are not currently defined, but it’s good practice to include them in mumble_LIBADD (etc.) just in case they’re defined in future. Hopefully their inclusions will be cargo-culted to any new targets which are added, retaining full coverage of the code base. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* build: Re-run gdbus-codegen if the Makefile changesSimon McVittie2017-06-301-1/+1
| | | | | | | Changes to the Makefile could include changes to the options passed to gdbus-codegen, which would invalidate the output. Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Only run each instance of gdbus-codegen onceSimon McVittie2017-06-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | A rule of the form foo.c foo.h: foo.in some-generator --output=foo foo.in is essentially equivalent to writing the same rule once for each target: foo.c: foo.in some-generator --output=foo foo.in foo.h: foo.in some-generator --output=foo foo.in In a parallel build, this can result in some-generator being run more than once with the same inputs and outputs, leading to unpredictable results if the outputs are overwritten in-place by two parallel copies (particularly if the generator does not use the standard atomic-writing trick of writing out a temporary file and renaming it over the top of the intended name, which gdbus-codegen does not). gdbus-codegen happens to write the .h file before the .c file, so use the real build rules to generate the .c file, and consider the .h file to be a side-effect. Signed-off-by: Simon McVittie <smcv@collabora.com>
* Add version property to all dbus interfacesAlexander Larsson2017-05-191-0/+2
|
* Add macros for common ANSI tty escape codesAlexander Larsson2017-05-031-2/+2
|
* Use the new output helperMatthias Clasen2017-05-031-2/+1
| | | | Instead of open-coding isatty(), use flatpak_fancy_output().
* Fix compiler warnings with uninitialised cleanup pointersIkey Doherty2017-01-191-1/+1
| | | | | | | | | This change fixes GCC compiler warnings where a cleanup function was specified on an uninitialised pointer, which in the view of GCC could result in an errornous free of uninitialised memory, if the functions that initialise them do not return NULL. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
* Add backport of g_autoptr support for json-glibAlexander Larsson2016-11-291-1/+1
|
* Create directories before attempting to generate code into themIsmo Puustinen2016-08-261-0/+1
| | | | | | If flatpak is built from a separate build directory, code generation fails because the directory structure is not in place. Create the necessary directories before code generation.
* Fix license headersMatthias Clasen2016-07-293-3/+3
| | | | | We were referring to the nonexisting "version 2" of the Lesser GPL. It should be "version 2.1".
* permission store: Add --versionMatthias Clasen2016-07-141-1/+9
| | | | It is expected that --version works.
* permission store: Add --verbose and --replaceMatthias Clasen2016-07-141-1/+56
| | | | Add common commandline options, and improve error output.
* Permission store, document portal: do not distribute generated filesSimon McVittie2016-06-121-4/+7
| | | | Signed-off-by: Simon McVittie <smcv@debian.org>
* permission-store: Fix include pathsAlexander Larsson2016-05-091-1/+1
|
* permission-store: Hopefully fix the buildAlexander Larsson2016-05-091-1/+1
| | | | | | | | We got an error in gnome-continuous: ../permission-store/permission-store.c:27:35: fatal error: permission-store-dbus.h: No such file or directory #include "permission-store-dbus.h" Not sure how this happens, but I hope this will fix it.
* Split out permission store from session helperAlexander Larsson2016-05-096-0/+619
This is now available as org.freedesktop.impl.portal.PermissionStore