-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathorg.virt_manager.virt-manager.yaml
497 lines (487 loc) · 20 KB
/
org.virt_manager.virt-manager.yaml
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
app-id: org.virt_manager.virt-manager
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: virt-manager
rename-icon: virt-manager
rename-desktop-file: virt-manager.desktop
rename-appdata-file: virt-manager.appdata.xml
finish-args:
- --device=dri
# USB device redirection
- --device=all
# Access to various folders that might be shared to VMs
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-pictures
- --filesystem=xdg-public-share
- --filesystem=xdg-videos
# Access to the UNIX socket for the local libvirtd system instance
- --filesystem=/run/libvirt
# Access to the UNIX socket for the local libvirtd session instance
- --filesystem=xdg-run/libvirt
# Access to ssh configuration and keys
- --filesystem=~/.ssh
# Access to ssh-agent pid and socket
- --socket=ssh-auth
# This PATH manipulation is needed so that the QEMU extension works OOTB
- --env=PATH=/app/bin:/usr/bin:/app/lib/extensions/bin
- --own-name=org.virt-manager.virt-manager
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
# virt-manager implements fetching secrets over dbus without importing libsecret, so no added dependency
- --talk-name=org.freedesktop.secrets
- --talk-name=org.kde.StatusNotifierWatcher
# TODO: figure out if notifications is needed
#- --talk-name=org.freedesktop.Notifications
# TODO: also enable pcsc and cups?
cleanup:
- /include
- /lib/pkgconfig
- /share/applications/mimeinfo.cache
- /share/bash-completion
- /share/icons/hicolor/icon-theme.cache
- /share/man
- /share/pkgconfig
- '*.la'
cleanup-commands:
- mkdir -p ${FLATPAK_DEST}/lib/extensions
add-extensions:
org.virt_manager.virt_manager.Extension:
directory: lib/extensions
subdirectories: true
merge-dirs: bin;share;lib
add-ld-path: lib
autodelete: true
no-autodownload: true
modules:
- name: virt-manager
buildsystem: meson
sources:
- type: archive
url: https://github.com/virt-manager/virt-manager/archive/v5.0.0.tar.gz
sha256: 8a26b818ddbd37c90f665aacbab4f747fb6aa8f7ff7e012c73d1fe4d9aad5dd2
x-checker-data:
type: anitya
project-id: 8183
stable-only: true
url-template: https://github.com/virt-manager/virt-manager/archive/v$version.tar.gz
- type: patch
path: virt-manager-systray-icon-use-reverse-dns-naming-convention.patch
- type: patch
path: metadata.patch
modules:
- shared-modules/intltool/intltool-0.51.json
- shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json
- name: libvirt
buildsystem: meson
build-options:
cflags: -I/app/include/tirpc
config-opts:
- --libexec=/app/lib/libvirt
- --sbindir=/app/bin
- --localstatedir=/var
- -Ddriver_qemu=enabled
- -Drunstatedir=/run
- -Drpath=enabled
- -Dqemu_user=qemu
- -Dqemu_group=qemu
- -Dqemu_datadir=/app/lib/extensions/share/qemu
- -Ddocs=enabled
- -Dtests=disabled
- -Dstorage_mpath=disabled
- -Dfirewalld=disabled
- -Dfirewalld_zone=disabled
- -Dinit_script=none
- -Dsysctl_config=disabled
sources:
- type: archive
url: https://libvirt.org/sources/libvirt-11.0.0.tar.xz
sha256: 01a176ff4042ad58cf83c09fe0925d6bc8eed0ecce1e0ee19b8ef4c1ffa3806e
x-checker-data:
type: anitya
project-id: 13830
stable-only: true
url-template: https://libvirt.org/sources/libvirt-$version.tar.xz
- type: patch
path: libvirt-use-monitor-in-xdg-runtime-dir.patch
cleanup:
- /etc/logrotate.d
- /share/doc
modules:
- name: json-c
buildsystem: cmake-ninja
config-opts:
- -DENABLE_THREADING=ON
- -DDISABLE_WERROR=ON
sources:
- type: archive
url: https://s3.amazonaws.com/json-c_releases/releases/json-c-0.18.tar.gz
sha256: 876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724
- name: libnl
config-opts:
- --enable-cli=no
- --disable-static
sources:
- type: archive
url: https://github.com/thom311/libnl/releases/download/libnl3_11_0/libnl-3.11.0.tar.gz
sha256: 2a56e1edefa3e68a7c00879496736fdbf62fc94ed3232c0baba127ecfa76874d
x-checker-data:
type: json
url: https://api.github.com/repos/thom311/libnl/releases/latest
version-query: .tag_name | ( sub("^libnl"; "") | gsub("_"; ".")
)
url-query: .assets[] | select(.name=="libnl-" + $version + ".tar.gz")
| .browser_download_url
cleanup:
- /etc
- /share/man
- name: libtirpc
config-opts:
- --disable-gssapi
sources:
- type: archive
url: https://downloads.sourceforge.net/sourceforge/libtirpc/libtirpc-1.3.6.tar.bz2
sha256: bbd26a8f0df5690a62a47f6aa30f797f3ef8d02560d1bc449a83066b5a1d3508
x-checker-data:
type: anitya
project-id: 1740
stable-only: true
url-template: https://downloads.sourceforge.net/sourceforge/libtirpc/libtirpc-$version.tar.bz2
- name: python-docutils
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "docutils"
sources:
- type: file
url: https://files.pythonhosted.org/packages/8f/d7/9322c609343d929e75e7e5e6255e614fcc67572cfd083959cdef3b7aad79/docutils-0.21.2-py3-none-any.whl
sha256: dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2
x-checker-data:
type: pypi
name: docutils
packagetype: bdist_wheel
cleanup:
- '*'
- name: rpcsvc-proto
sources:
- type: archive
url: https://github.com/thkukuk/rpcsvc-proto/archive/v1.4.4/rpcsvc-proto-1.4.4.tar.gz
sha256: 7988641deae8463303b6273d7af98ece09111c385d4c9134a142a5fad3cdfef8
x-checker-data:
type: anitya
project-id: 155452
stable-only: true
url-template: https://github.com/thkukuk/rpcsvc-proto/archive/v$version/rpcsvc-proto-$version.tar.gz
- type: shell
commands:
- autoreconf -ifv
cleanup:
- '*'
- name: libvirt-glib
buildsystem: meson
config-opts:
- -Drpath=enabled
- -Ddocs=disabled
- -Dtests=disabled
- -Dintrospection=enabled
- -Dvapi=disabled
sources:
- type: archive
url: https://libvirt.org/sources/glib/libvirt-glib-5.0.0.tar.xz
sha256: 9bfec346382416a3575d87299bc641b2a464aa519fd9b1287e318aa43a2f3b8b
x-checker-data:
type: anitya
project-id: 11560
stable-only: true
url-template: https://libvirt.org/sources/glib/libvirt-glib-$version.tar.xz
cleanup:
- /share/gtk-doc
modules:
- name: libcap-ng
config-opts:
- --enable-static=no
sources:
- type: archive
url: https://github.com/stevegrubb/libcap-ng/archive/v0.8.5.tar.gz
sha256: e4be07fdd234f10b866433f224d183626003c65634ed0552b02e654a380244c2
x-checker-data:
type: anitya
project-id: 1570
stable-only: true
url-template: https://github.com/stevegrubb/libcap-ng/archive/v$version.tar.gz
cleanup:
- /bin
- /share/aclocal
- name: libvirt-python
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install --skip-build --prefix=/app --root=/ --optimize=1
sources:
- type: archive
url: https://libvirt.org/sources/python/libvirt-python-11.0.0.tar.gz
sha256: cee825a53c6438c5bc84b4250b35493a8e504d5d8075d3d2069ffaf7090846f8
x-checker-data:
type: anitya
project-id: 13829
stable-only: true
url-template: https://libvirt.org/sources/python/libvirt-python-$version.tar.gz
- name: gtk-vnc
buildsystem: meson
sources:
- type: archive
url: https://download.gnome.org/sources/gtk-vnc/1.4/gtk-vnc-1.4.0.tar.xz
sha256: 1be64c4e4760c52b3ec33067290d1efa40ad4cecab6c673813804e3c559d9683
x-checker-data:
type: anitya
project-id: 13142
stable-only: true
url-template: https://download.gnome.org/sources/gtk-vnc/$version0.$version1/gtk-vnc-$version.tar.xz
- name: spice-gtk
buildsystem: meson
config-opts:
- -Dgtk_doc=disabled
- -Dvapi=disabled
- -Dusb-acl-helper-dir=/app/lib
sources:
- type: archive
url: https://www.spice-space.org/download/gtk/spice-gtk-0.42.tar.xz
sha256: 9380117f1811ad1faa1812cb6602479b6290d4a0d8cc442d44427f7f6c0e7a58
x-checker-data:
type: anitya
project-id: 11576
stable-only: true
url-template: https://www.spice-space.org/download/gtk/spice-gtk-$version.tar.xz
modules:
- name: python-pyparsing
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links=file://${PWD}
--prefix=${FLATPAK_DEST} pyparsing --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/1c/a7/c8a2d361bf89c0d9577c934ebb7421b25dc84bf3a8e3ac0a40aed9acc547/pyparsing-3.2.1-py3-none-any.whl
sha256: 506ff4f4386c4cec0590ec19e6302d3aedb992fdc02c761e90416f158dacf8e1
x-checker-data:
type: pypi
name: pyparsing
packagetype: bdist_wheel
cleanup:
- '*'
- name: libcacard
sources:
- type: archive
url: https://www.spice-space.org/download/libcacard/libcacard-2.8.1.tar.xz
sha256: fbbf4de8cb7db5bdff5ecb672ff0dbe6939fb9f344b900d51ba6295329a332e7
x-checker-data:
type: anitya
project-id: 18776
stable-only: true
url-template: https://www.spice-space.org/download/libcacard/libcacard-$version.tar.xz
- name: phodav
buildsystem: meson
config-opts:
- -Dgtk_doc=disabled
- -Dsbindir=bin
sources:
- type: archive
url: https://download.gnome.org/sources/phodav/3.0/phodav-3.0.tar.xz
sha256: 392ec2d06d50300dcff1ef269a2a985304e29bce3520002fca29f2edc1d138d1
x-checker-data:
type: anitya
project-id: 9670
stable-only: true
url-template: https://download.gnome.org/sources/phodav/$version0.$version1/phodav-$version.tar.xz
- shared-modules/libusb/libusb.json
- name: usbredir
buildsystem: meson
config-opts:
- --sbindir=/app/bin
sources:
- type: archive
url: https://spice-space.org/download/usbredir/usbredir-0.15.0.tar.xz
sha256: 6dc2a380277688a068191245dac2ab7063a552999d8ac3ad8e841c10ff050961
x-checker-data:
type: anitya
project-id: 16012
stable-only: true
url-template: https://spice-space.org/download/usbredir/usbredir-$version.tar.xz
- name: usbutils
buildsystem: meson
sources:
- type: archive
url: https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-018.tar.xz
sha256: 83f68b59b58547589c00266e82671864627593ab4362d8c807f50eea923cad93
x-checker-data:
type: anitya
project-id: 5061
stable-only: true
url-template: https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$version.tar.xz
modules:
- name: hwids
buildsystem: simple
build-commands:
- for ids in pci.ids usb.ids; do install -Dm644 "$ids" /app/share/hwdata/${ids};
done
sources:
- type: archive
url: https://github.com/gentoo/hwids/archive/hwids-20210613.tar.gz
sha256: e28f1787290e9ea17426aa4090bbf6aca9bbc9e6cd14da232778bfaef4938bc1
x-checker-data:
type: anitya
project-id: 233488
stable-only: true
url-template: https://github.com/gentoo/hwids/archive/hwids-$version.tar.gz
- name: spice-protocol
buildsystem: meson
sources:
- type: archive
url: https://gitlab.freedesktop.org/spice/spice-protocol/-/archive/v0.14.4/spice-protocol-v0.14.4.tar.gz
sha256: 9c31fa533ad531d1b816ffd0c24b4785d133e7bb397f72d35f7a6d59bcd7d53a
x-checker-data:
type: anitya
project-id: 14892
stable-only: true
url-template: https://gitlab.freedesktop.org/spice/spice-protocol/-/archive/v$version/spice-protocol-v$version.tar.gz
- name: gtksourceview4
buildsystem: meson
config-opts:
- -Dvapi=false
sources:
- type: archive
url: https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-4.8.4.tar.xz
sha256: 7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d
x-checker-data:
type: gnome
name: gtksourceview
versions:
<: 5.0.0
stable-only: true
- name: vte291
buildsystem: meson
config-opts:
- -Dgtk4=false
- -D_systemd=false
- -Dvapi=false
sources:
- type: archive
url: https://download.gnome.org/sources/vte/0.79/vte-0.79.0.tar.xz
sha256: 32e58453f892114ff49ed2f682a602f055d088a8a8e5bbcd7004e133ce00bd40
x-checker-data:
type: gnome
name: vte
stable-only: true
cleanup:
- /bin
- /etc
- /lib/systemd
- /libexec
- /share/gir-1.0
- /share/vala
modules:
- name: fast_float
buildsystem: cmake-ninja
config-opts:
- -GNinja
- -DFASTFLOAT_TEST:BOOL=OFF
sources:
- type: archive
url: https://github.com/fastfloat/fast_float/archive/refs/tags/v7.0.0.tar.gz
sha256: d2a08e722f461fe699ba61392cd29e6b23be013d0f56e50c7786d0954bffcb17
x-checker-data:
type: anitya
project-id: 214353
stable-only: true
url-template: https://github.com/fastfloat/fast_float/archive/refs/tags/v$version.tar.gz
- name: python3-requests
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "requests" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/c8/19/4ec628951a74043532ca2cf5d97b7b14863931476d117c471e8e2b1eb39f/urllib3-2.3.0-py3-none-any.whl
sha256: 1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df
x-checker-data:
type: pypi
name: urllib3
packagetype: bdist_wheel
- type: file
url: https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl
sha256: 946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
x-checker-data:
type: pypi
name: idna
packagetype: bdist_wheel
- type: file
url: https://files.pythonhosted.org/packages/0e/f6/65ecc6878a89bb1c23a086ea335ad4bf21a588990c3f535a227b9eea9108/charset_normalizer-3.4.1-py3-none-any.whl
sha256: d98b1668f06378c6dbefec3b92299716b931cd4e6061f3c875a71ced1780ab85
x-checker-data:
type: pypi
name: charset_normalizer
packagetype: bdist_wheel
- type: file
url: https://files.pythonhosted.org/packages/a5/32/8f6669fc4798494966bf446c8c4a162e0b5d893dff088afddf76414f70e1/certifi-2024.12.14-py3-none-any.whl
sha256: 1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56
x-checker-data:
type: pypi
name: certifi
packagetype: bdist_wheel
- type: file
url: https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl
sha256: 70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
x-checker-data:
type: pypi
name: requests
packagetype: bdist_wheel
- name: libosinfo
buildsystem: meson
config-opts:
- -Dwith-usb-ids-path=/app/share/hwdata/usb.ids
- -Dwith-pci-ids-path=/app/share/hwdata/pci.ids
sources:
- type: archive
url: https://releases.pagure.org/libosinfo/libosinfo-1.12.0.tar.xz
sha256: ad8557ece26793da43d26de565e3d68ce2ee6bfb8d0113b7cc7dfe07f6bfc6b6
x-checker-data:
type: anitya
project-id: 155460
stable-only: true
url-template: https://releases.pagure.org/libosinfo/libosinfo-$version.tar.xz
cleanup:
- /share/gtk-doc
- /share/vala
modules:
- name: osinfo-db
buildsystem: simple
build-commands:
- osinfo-db-import --system osinfo-db.tar.xz
sources:
- type: file
url: https://releases.pagure.org/libosinfo/osinfo-db-20250124.tar.xz
sha256: 7ca717f0975a798135a2b39eefdd1436a0b0682e29685c7fd01ef7f83a257250
dest-filename: osinfo-db.tar.xz
x-checker-data:
type: anitya
project-id: 226784
stable-only: true
url-template: https://releases.pagure.org/libosinfo/osinfo-db-$version.tar.xz
modules:
- name: osinfo-db-tools
buildsystem: meson
sources:
- type: archive
url: https://releases.pagure.org/libosinfo/osinfo-db-tools-1.12.0.tar.xz
sha256: f3315f675d18770f25dea8ed04b20b8fc80efb00f60c37ee5e815f9c3776e7f3
x-checker-data:
type: anitya
project-id: 226782
stable-only: true
url-template: https://releases.pagure.org/libosinfo/osinfo-db-tools-$version.tar.xz
cleanup:
- '*'