[frogr] flatpak: Apply changes to JSON manifests after publishing on flathub
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] flatpak: Apply changes to JSON manifests after publishing on flathub
- Date: Sun, 9 Jul 2017 07:47:04 +0000 (UTC)
commit 9144490816e27b2db72f2f15d3342737c371e5f1
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Sun Jul 9 08:42:36 2017 +0100
flatpak: Apply changes to JSON manifests after publishing on flathub
This includes more fine-grained filesystem permissions for frogr,
cleaning up the "cleanup" rule and specifying a commit ID besides
the tag name for the stable branch.
flatpak/org.gnome.frogr-stable.json | 15 +++++++--------
flatpak/org.gnome.frogr-unstable.json | 12 +++++-------
2 files changed, 12 insertions(+), 15 deletions(-)
---
diff --git a/flatpak/org.gnome.frogr-stable.json b/flatpak/org.gnome.frogr-stable.json
index 309be71..7291832 100644
--- a/flatpak/org.gnome.frogr-stable.json
+++ b/flatpak/org.gnome.frogr-stable.json
@@ -12,8 +12,10 @@
"--socket=wayland",
/* Needs to talk to the network: */
"--share=network",
- /* Needed for frogr to access your pictures */
- "--filesystem=host",
+ /* Access your pictures and videos */
+ "--filesystem=xdg-pictures", "--filesystem=xdg-videos",
+ /* Access your documents is useful too (e.g. for saving and loading projects) */
+ "--filesystem=xdg-documents",
/* Needed for dconf to work */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
@@ -25,11 +27,7 @@
"V": "1"
}
},
- "cleanup": ["/include", "/lib/pkgconfig",
- "/share/pkgconfig", "/share/aclocal",
- "/man", "/share/man", "/share/gtk-doc",
- "/share/dbus-1",
- "*.la", "*.a"],
+ "cleanup": [ "/share/man" ],
"modules": [
{
"name": "frogr",
@@ -37,7 +35,8 @@
{
"type": "git",
"url": "git://git.gnome.org/frogr",
- "branch": "RELEASE_1.3"
+ "branch": "RELEASE_1.3",
+ "commit": "c91caafa02f94c60e800aa79408bc6fb60b1b026"
}
]
}
diff --git a/flatpak/org.gnome.frogr-unstable.json b/flatpak/org.gnome.frogr-unstable.json
index 48406af..ad81476 100644
--- a/flatpak/org.gnome.frogr-unstable.json
+++ b/flatpak/org.gnome.frogr-unstable.json
@@ -13,8 +13,10 @@
"--socket=wayland",
/* Needs to talk to the network: */
"--share=network",
- /* Needed for frogr to access your pictures */
- "--filesystem=host",
+ /* Access your pictures and videos */
+ "--filesystem=xdg-pictures", "--filesystem=xdg-videos",
+ /* Access your documents is useful too (e.g. for saving and loading projects) */
+ "--filesystem=xdg-documents",
/* Needed for dconf to work */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
@@ -26,11 +28,7 @@
"V": "1"
}
},
- "cleanup": ["/include", "/lib/pkgconfig",
- "/share/pkgconfig", "/share/aclocal",
- "/man", "/share/man", "/share/gtk-doc",
- "/share/dbus-1",
- "*.la", "*.a"],
+ "cleanup": [ "/share/man" ],
"modules": [
{
"name": "frogr",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]