Alexander Larsson
07b342a937
Properly make clean the docs
2016-07-31 00:11:31 +02:00
Alexander Larsson
4e67f3cfe8
Update pofiles
2016-07-31 00:08:59 +02:00
Alexander Larsson
f93cd615b3
Update for 0.6.8
2016-07-31 00:01:27 +02:00
Alexander Larsson
c809ee4fa0
Fix test failures due to desktop validation
2016-07-30 23:52:56 +02:00
Matthias Clasen
b42bc359f6
Validate exports in build-export
...
Do some basic validation of the exported desktop files, service
files and icons.
Suggested by Bastien Nocera.
2016-07-29 18:41:25 -04:00
Matthias Clasen
75218c4a65
Fix license headers
...
We were referring to the nonexisting "version 2" of the
Lesser GPL. It should be "version 2.1".
2016-07-29 14:27:49 -04:00
Matthias Clasen
3a281d0782
Add locations to some error messages
...
When a file is not found, mention where we looked for it.
This provides useful context for understanding the error.
2016-07-29 14:16:31 -04:00
Matthias Clasen
91b7b0a419
Mention app dir in output
...
This can help making sense out of error messages when something
goes wrong.
2016-07-29 14:15:46 -04:00
Alexander Larsson
764cb91cbe
Remove workaround for issue #144 now that ostree is fixed
...
The fix for this is in ostree 2016.7
https://github.com/flatpak/flatpak/issues/144
2016-07-29 01:20:40 +02:00
Alexander Larsson
cbe20d3a6c
Require ostree 2016.7 to get fix for issue #144
...
The new ostree has a fix for delta updates that lets us
re-enable these for updates via the system helper.
2016-07-29 01:20:40 +02:00
Alexander Larsson
3d603bbb30
Merge pull request #215 from flatpak/revert-202-journal-setup
...
Revert "Set up logging to the journal"
2016-07-29 00:26:02 +02:00
Alexander Larsson
003ef9ee2e
Revert "Set up logging to the journal"
2016-07-29 00:24:43 +02:00
matthiasclasen
cb9c13cda7
Merge pull request #214 from mwleeds/fix-memory-leaks
...
builder: Fix a few memory leaks
2016-07-28 16:30:52 -04:00
Matthew Leeds
b051571de8
builder: Fix a few memory leaks
...
These changes fix some memory leaks that valgrind pointed out.
2016-07-28 16:03:42 -04:00
Matthias Clasen
9583e0ddb4
Add a configure summary
2016-07-28 15:02:40 -04:00
Matthias Clasen
772d2ab562
Fix dbus logging
...
We were adding the --log option in the wrong spot of the dbus-proxy
commandline, causing it to a) not accept it and b) spew a warning.
2016-07-28 09:06:23 -04:00
Matthias Clasen
d245ba3574
fuse: Always fail X_OK in access()
...
Pointed out by Ray Strode.
2016-07-27 16:00:44 -04:00
matthiasclasen
c01c6b487a
Merge pull request #210 from matthiasclasen/fuse-access
...
document-portal: Implement access()
2016-07-27 15:46:54 -04:00
Matthias Clasen
0e8faa8c31
document-portal: Implement access()
...
In testing readonly exports, I noticed that gedit is does not believe
the mode it gets from stat()ing a file a million times. Instead
it calls access() to determine whether to treat it as readonly.
Since the document portal fuse file system did not implement
access(), gedit treated my file as writable and then failed when
I clicked "Save". With this patch, gedit treats the file as read-only
from the get-go.
2016-07-26 14:55:18 -04:00
matthiasclasen
5440b8b88b
Merge pull request #169 from matthiasclasen/list-by-arch
...
--arch doesn't work for "list"
2016-07-26 13:46:56 -04:00
matthiasclasen
b80b88b079
Merge pull request #209 from halfline/master
...
install dbus systemd service file snippet
2016-07-26 13:44:07 -04:00
Matthias Clasen
003d96e3df
Add an --arch option to flatpak list
...
This enables filtering by arch when listing installations.
2016-07-26 13:39:57 -04:00
Ray Strode
f5ddf78c79
install dbus systemd service file snippet
...
flatpak currently installs a gdm env.d and a bash profile.d file to
ensure XDG_DATA_DIRS is set to the right value. Neither is sufficient
when the dbus daemon is activated as a system --user service.
This commit adds a dbus service file snippet to frob its environment
variable for that case.
2016-07-26 13:33:31 -04:00
Matthias Clasen
369eab84e7
Fix a typo
...
We were trying to check if O_NOFOLLOW was set here.
(flags & BIT_A) == BIT_B never make sense.
2016-07-25 14:28:57 -04:00
matthiasclasen
e9f4e5de1e
Merge pull request #202 from matthiasclasen/journal-setup
...
Set up logging to the journal
2016-07-25 10:38:29 -04:00
Matthias Clasen
6e0d8e394e
Document the new option
2016-07-25 10:36:00 -04:00
Matthias Clasen
a60f18c183
Add a --journal option to flatpak run
...
The --journal option takes one of the values yes, no, auto.
2016-07-25 10:36:00 -04:00
Matthias Clasen
d7da128818
Optionally redirect stdout and stderr to the journal
...
Arrange for stdout and stderr to be redirected to the systemd
journal, before exec'ing bwrap. This is under the control of
a pair of run flags. By default, we try to be smart and only
redirect if stderr is not a tty.
2016-07-25 10:36:00 -04:00
matthiasclasen
5216540b7b
Merge pull request #205 from mwleeds/fix-typos
...
doc/flatpak-builder: Fix typos
2016-07-23 15:17:28 -04:00
Matthias Clasen
549a2849c4
Consistency fixes
...
Strip newlines from commandline parsing error messages, and make
sure we report all allowed values.
2016-07-23 15:02:01 -04:00
Matthias Clasen
40ae16ffeb
Consistency fixes
...
Don't append a newline to flatpak_fail messages, we don't do that
in most places.
2016-07-23 14:42:58 -04:00
Matthias Clasen
8732c5a8fb
Translate errors
...
These show up in the UI and often refer to (translated) parts of
the UI.
2016-07-23 14:37:02 -04:00
Matthias Clasen
ad34562383
Translate main context summary
...
We need to use the translations, not just mark the strings
for extraction.
2016-07-23 11:20:28 -04:00
Matthias Clasen
43da58db5f
Mark commandline options for translations
2016-07-23 11:01:50 -04:00
matthiasclasen
87842e0c08
Merge pull request #204 from mwleeds/fix-option-docs
...
docs: Clarify which options can be used multiple times
2016-07-22 16:25:36 -04:00
Matthew Leeds
783f8ba1fe
doc/flatpak-builder: Fix typos
2016-07-22 15:05:15 -04:00
Matthew Leeds
90bd06304a
docs: Clarify which options can be used multiple times
...
Some of the options do not explicitly say they can be used multiple
times even though it's clear from the code that they can. This commit
fixes that by saying so in the manpages.
2016-07-22 13:32:45 -04:00
matthiasclasen
9a09724daa
Merge pull request #201 from piotrdrag/pl-update-160722
...
Updated Polish translation
2016-07-22 09:34:49 -04:00
Piotr Drąg
55ee8cb84e
Updated Polish translation
2016-07-22 14:55:03 +02:00
matthiasclasen
3772862cb9
Merge pull request #200 from cosimoc/wip/appstream-loop
...
utils: fix double loop when extracting icons for appstream
2016-07-21 22:17:42 -04:00
Cosimo Cecchi
3d2a42ddf3
utils: fix double loop when extracting icons for appstream
...
When trying to extract icons to regenerate the appstream, we are looping
over the entire file every time, instead of only trying to copy icons
for the application ID we're looking at the moment.
This is most likely benign, but it causes a lot of "Error copying icon:
No such file or directory:" spew when calling flatpak build-update-repo.
2016-07-21 13:17:36 -07:00
matthiasclasen
4a83891605
Merge pull request #199 from mwleeds/update-gitignore
...
Update .gitignore
2016-07-20 12:10:33 -04:00
Matthew Leeds
3e467f6f64
Update .gitignore
2016-07-20 12:06:40 -04:00
matthiasclasen
0c483f4412
Merge pull request #195 from mwleeds/add-msg
...
builder: Print a message when running flatpak build-finish
2016-07-19 08:04:26 -04:00
Matthew Leeds
fcd6da2fa3
builder: Print a message when running flatpak build-finish
...
This commit makes flatpak-builder print the flatpak build-finish command
it constructs before executing it in a subprocess, which matches the
behavior for flatpak build-init and flatpak build.
2016-07-18 14:29:41 -04:00
matthiasclasen
516641f5d7
Merge pull request #191 from ericcurtin/doc-portal-xdp-main-unused-var
...
Remove unused variable in this file
2016-07-17 19:16:01 -04:00
Eric Curtin
930a0a04e2
Remove unused variable in this file
2016-07-17 12:18:57 +01:00
Matthias Clasen
e09a1d23f9
Reduce gettext requirement
...
Drop the gettext requirement to something that is available in
Enterprise distributions. Gettext older than 0.19.7 won't support
merging translations back into xml with msgfmt, but the fallback
code to install the untranslated policy file should work for
that case.
2016-07-15 12:54:41 -04:00
Matthias Clasen
3c52321a40
Use upstream gettext
...
Drop the intltool dependency that was recently added, and use
upstream gettext and its its features for the same purpose.
Note that polkit currently does not install .its files (I've
sent a patch). Until that is in place, this change has the
effect of installing the untranslated policy file.
2016-07-15 11:58:46 -04:00
matthiasclasen
eb4835a31b
Merge pull request #187 from cfergeau/master
...
Add RPM support to /modules/sources/type="archive"
2016-07-15 11:21:04 -04:00