Alexander Larsson
0d115fb2e7
builder: Save a copy of the base manifest
2016-08-17 14:24:32 +02:00
matthiasclasen
785c3c15ab
Merge pull request #249 from mariobl/master
...
New German translation
2016-08-15 15:23:56 -04:00
Mario Blättermann
bd96db0222
Added de to LINGUAS
2016-08-15 21:15:02 +02:00
Mario Blättermann
8b3df9e135
Added German translation
...
New German translation by Wolfgang Stöggl, Christian Kirbach and Mario Blättermann
2016-08-14 20:19:36 +02:00
matthiasclasen
634e3abf4b
Merge pull request #242 from mwleeds/patch-2
...
doc: Fix typos
2016-08-11 11:58:47 -04:00
Alexander Larsson
c978377dd1
build-export: Don't fail desktpo validation for absolute pathnames in Exec=
2016-08-11 13:02:20 +02:00
Alexander Larsson
7431fff588
Fix up pyo stale file handling
...
We were not doing what the comments said we should, and we also
want to change what happens in the case of an old py file from
a previous layer (such as a base layer in a runtime) has a non-rewritten
.pyc file. In that case we want to assume its correct and fix it up.
2016-08-11 07:54:48 +02:00
Alexander Larsson
348b7f9ab4
builder: Add some printouts if we remove stale .pyc files
...
This makes it easier to figure out why it disappeared
2016-08-11 07:54:25 +02:00
Alexander Larsson
84c7328af8
Remove double-listing of testpython.py in Makefile
2016-08-11 07:39:38 +02:00
Matthew Leeds
0640491e40
doc: Fix a few mistakes
...
- Fix typos in doc/flatpak-install and doc/flatpak-update.
- The commands ending in -app were deprecated in commit f7a1fdaa
,
so update a few remaining references to them.
- flatpak-update is used for runtimes and applications, so fix its short
description.
2016-08-10 23:06:39 -04:00
Alexander Larsson
9c57a5751e
Add test for python .pyc/.pyo rewriting
...
This catches regressions in the fix in the previous commit, where old
stale .py[oc] files can wrongly become "unstale" when we change the
.py file mtime to 1.
2016-08-10 16:24:18 +02:00
Alexander Larsson
006d9a1927
Correctly handle .pyc mtimes for .py files changing multiple times
...
If a .py file changes multiple times we can end up in a situation
where there is an .py file with corresponding .pyc file that we
rewrote, so both are now mtime==1. Then a new version of the .py file
is added, but the corresponding .pyc file is not updated. This means
that the .pyc file is stale, and python would not normally use it.
However, we will later change the mtime on the .py file to 1, causing
the old .pyo file to look up-to-date even though its stale.
We fix this by detecting the case where the is a new mtime on a .py file
where the .pyc file doesn't match, and remove the stale .pyc file.
2016-08-10 16:24:11 +02:00
matthiasclasen
7fe93224f4
Merge pull request #239 from hadess/wip/better-runtime-desc
...
build: Better description for --runtime option
2016-08-06 11:08:13 -04:00
Bastien Nocera
1bd1c73429
build: Better description for --runtime option
...
"non-devel runtime" isn't an expression in the Flatpak vocabulary, so
explain what it really does.
2016-08-06 16:43:47 +02:00
Matthew Leeds
392c597c5f
utils: Print a debug message when launching subprocesses
...
This commit makes flatpak print a debug message (which only appears to
the user if the -v option is used) whenever a subprocess is launched.
This should make debugging easier, both for flatpak users and
developers.
2016-08-05 14:15:19 -04:00
matthiasclasen
fe133c7204
Merge pull request #233 from matthiasclasen/reduce-icon-validation
...
Reduce icon validation
2016-08-04 18:45:39 -04:00
Matthias Clasen
d4fd5738f7
flatpak update: Improve output
...
Print out if an update did not do anything, and generally
improve the output.
2016-08-04 18:41:57 -04:00
Matthias Clasen
1e7bd752bf
Don't handle already-installed error too early
...
Leave this to the callers which may well print out a
different message depending on whether the update did
anything or not.
2016-08-04 18:41:01 -04:00
Matthias Clasen
e8599bb869
Clarify flatpak update docs
...
NAME is optional.
2016-08-04 18:40:09 -04:00
Matthias Clasen
eaebfd8cc2
Remove a misleading error message
...
NAME is not, in fact, required.
2016-08-04 18:39:11 -04:00
Matthias Clasen
8124016247
flatpak update: fail if not installed
...
Print a diagnostic and fail if the application or runtime
does not exist in flatpak update.
2016-08-04 15:48:45 -04:00
Matthias Clasen
414cd0afce
Document --appstream option
...
This option of flatpak update was undocumented.
2016-08-04 14:08:09 -04:00
Matthias Clasen
ecb3000e2e
Reduce icon validation
...
While it is frowned upon nowadays, there are still applications
that use system-provided icons for the Icon field in their desktop
file.
Reduce the error to a warning to allow this for now.
2016-08-04 07:49:36 -04:00
Matthias Clasen
66507c9bf1
Stop mentioning test-library.sh
...
It is not needed.
2016-08-03 18:05:59 -04:00
matthiasclasen
4cce620585
Merge pull request #219 from mwleeds/allow-git-paths
...
builder: Allow git sources to be specified as paths
2016-08-03 09:45:11 -04:00
Matthias Clasen
e50ea6f66a
More library tests
...
Test launching of apps and uninstallation
2016-08-02 10:56:33 -04:00
matthiasclasen
19eabe5de9
Merge pull request #226 from smcv/dist
...
Distribute flatpak-metadata.xml, fix distcheck
2016-08-02 07:44:13 -04:00
Matthias Clasen
e1207256d0
lib: Fix saving of remote titles
...
We were using the key 'title' in some places, but 'xa.title'
elsewhere. Make it 'xa.title' everywhere. This bug was found
by the new unit tests.
2016-08-01 23:05:38 -04:00
Matthias Clasen
149cff9c5d
More library tests
...
More tests, for FlatpakRef.
2016-08-01 23:05:19 -04:00
Matthias Clasen
109e6984e8
tests: Add library tests
...
Add a test binary that sets up a remote and exercises some of
the library apis against it.
2016-08-01 23:05:05 -04:00
matthiasclasen
827d070e39
Merge pull request #227 from smcv/install-test-data-hook
...
build: run install-test-data-hook even if using system bwrap
2016-08-01 08:33:47 -04:00
matthiasclasen
1ae1583b2d
Merge pull request #228 from smcv/no-dbus-launch
...
libtest: replace dbus-launch with dbus-daemon
2016-08-01 08:33:13 -04:00
matthiasclasen
b71122ca1e
Merge pull request #224 from piotrdrag/pl-update-160801
...
Updated Polish translation
2016-08-01 08:32:38 -04:00
Simon McVittie
6cc8062cfb
libtest: replace dbus-launch with dbus-daemon
...
dbus-launch is X11-specific and contains a lot of legacy code to
support X11 autolaunching. It should not be part of the Wayland
(and/or Mir) future.
Start a dbus-daemon directly instead.
2016-08-01 11:29:50 +01:00
Simon McVittie
f966605563
build: run install-test-data-hook even if using system bwrap
...
The !WITH_SYSTEM_BWRAP conditional was too broad here.
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:28:45 +01:00
Simon McVittie
454764f059
.gitignore: ignore "make dist" output
...
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:16:53 +01:00
Simon McVittie
8b4f2c120c
.gitignore: ignore more gettext output
...
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:16:12 +01:00
Simon McVittie
4dd59eeecb
docs: include sub-documents from $(srcdir)
...
This fixes "make distcheck".
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:15:07 +01:00
Simon McVittie
6ec373a1f6
Distribute flatpak-metadata.xml in tarball releases
...
This was missing from 0.6.8, causing a build with xmlto available
to fail.
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:09:07 +01:00
Piotr Drąg
f529fe89dc
Updated Polish translation
2016-08-01 04:02:29 +02:00
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
Matthew Leeds
25d88477c5
builder: Allow git sources to be specified as paths
...
Currently to use a local copy of a git repo you have to specify the url
as "file:///path/to/repo". This commit allows you to specify a path directly
as "/path/to/repo", which is faster and more space-efficient because
git-clone will hardlink the objects rather than copying them.
2016-07-29 16:01:30 -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