-
Notifications
You must be signed in to change notification settings - Fork 7
/
org.gnome.Software.json
163 lines (163 loc) · 5.83 KB
/
org.gnome.Software.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"app-id": "org.gnome.Software.XdgApp",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"rename-desktop-file": "org.gnome.Software.desktop",
"rename-appdata-file": "org.gnome.Software.appdata.xml",
"rename-icon": "org.gnome.Software",
"tags": ["nightly"],
"desktop-file-name-prefix": "(XdgApp) ",
"copy-icon": true,
"command": "gnome-software",
"finish-args": [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
/* Wayland access */
"--socket=wayland",
/* Need write access to installed apps */
"--filesystem=~/.local/share/xdg-app",
/* Needs to talk to the network: */
"--share=network",
/* Notification access */
"--talk-name=org.gtk.Notifications", "--talk-name=org.freedesktop.Notifications",
/* Needed for dconf to work (unfortunately needs homedir read access) */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
/* Such hack, much bad */
"MOUNT_FUSE_PATH": "../tmp/",
"V": "1"
}
},
"cleanup": ["*.la", "*.a",
"/include",
"/lib/girepository-1.0",
"/lib/pkgconfig",
"/share/bash-completion",
"/share/gir-1.0",
"/share/gnome-shell",
"/share/help",
"/share/man",
"/share/pkgconfig" ],
"modules": [
{
"name": "appstream-glib",
"config-opts": ["--disable-builder",
"--disable-gtk-doc", "--disable-man", "--disable-dep11"],
"cleanup": [ "/share/installed-tests",
"/share/gettext",
"/share/aclocal" ],
"sources": [
{
"type": "git",
"url": "https://github.com/hughsie/appstream-glib.git"
}
]
},
{
/* README: needed for ostree */
"name": "libgsystem",
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/libgsystem"
}
]
},
{
/* README: needed for xdg-app and fuse */
"name": "libfuse",
"cleanup": [ "/bin" ],
"sources": [
{
"type": "archive",
"url": "https://github.com/libfuse/libfuse/releases/download/fuse_2_9_5/fuse-2.9.5.tar.gz",
"sha256": "579f371cc5ffc1afca7057512bf7d52988a9ede57859a7c55e5b9f72435cdbb5"
}
]
},
{
/* README: needed for xdg-app */
"name": "ostree",
"config-opts": ["--disable-man", "--without-libmount"],
"cleanup": [ "/bin", "/etc/grub.d", "/libexec" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/ostree"
}
]
},
{
"name": "xdg-app",
"config-opts": ["--disable-documentation", "--disable-seccomp",
"--disable-sandboxed-triggers"],
"make-args": [ "XDG_APP_BINDIR=/usr/bin" ],
"cleanup": [ "/etc/profile.d",
"/libexec",
"/lib/systemd",
"/share/dbus-1/interfaces/org.freedesktop.*",
"/share/dbus-1/services/org.freedesktop.*",
"/share/gdm" ],
"post-install": [
/* These are needed for the triggers */
"cp /usr/bin/gtk-update-icon-cache /app/bin",
"cp /usr/bin/update-mime-database /app/bin",
"cp /usr/bin/update-desktop-database /app/bin"],
"sources": [
{
"type": "git",
"url": "git://anongit.freedesktop.org/xdg-app/xdg-app"
}
]
},
{
"name": "gnome-desktop",
"cleanup": [ "/libexec" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gnome-desktop"
}
]
},
{
"name": "gnome-software",
"sources": [
{
"type": "archive",
"url": "http://gtkspell.sourceforge.net/download/gtkspell3-3.0.7.tar.gz",
"sha256": "13f2e6d3e2554cc24253ef592074b28c117db33b7a4465c98c69a3e0a4fa3cc2"
}
]
},
{
"name": "gnome-software",
"config-opts": ["--disable-packagekit",
"--enable-xdg-app",
"--disable-man",
"--disable-polkit"],
"post-install": [
/* Rename service file so dbus activation works */
"mv /app/share/dbus-1/services/org.gnome.Software.service /app/share/dbus-1/services/org.gnome.Software.XdgApp.service",
"sed -i s/Name=org.gnome.Software/Name=org.gnome.Software.XdgApp/ /app/share/dbus-1/services/org.gnome.Software.XdgApp.service"
],
"cleanup": [ "/etc/xdg" ],
"sources": [
{
"type": "git",
"url": "git://git.gnome.org/gnome-software"
},
{
"type": "patch",
"path": "gnome-software-name.patch"
}
]
}
]
}