Import Debian changes 1:4.1.0-ok1

virt-manager (1:4.1.0-ok1) nile; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2024-05-17 13:37:16 +08:00 committed by luoyaoming
parent 5d006331c9
commit b967f828ab
22 changed files with 351 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[org.virt-manager.virt-manager.console]
auto-redirect=false

9
debian/README.Debian vendored Normal file
View File

@ -0,0 +1,9 @@
Access Control
==============
Access to the libvirt socket is controlled by membership in the "libvirt"
group. If you want to manage virtual machines as non root you need to add your
user to that group or you have to use the session uris like qemu:///session.
See also /usr/share/doc/libvirt-daemon-system/README.Debian.gz.
-- Guido Guenther <agx@sigxcpu.org> Thu, 04 Jun 2010 11:46:03 +0100

29
debian/README.source vendored Normal file
View File

@ -0,0 +1,29 @@
This package is maintained with git-buildpackage(1). It follows DEP-14
for branch naming (e.g. using debian/sid for the current version
in Debian unstable).
It uses pristine-tar(1) to store enough information in git to generate
bit identical tarballs when building the package without having
downloaded an upstream tarball first.
When working with patches it is recommended to use "gbp pq import" to
import the patches, modify the source and then use "gbp pq export
--commit" to commit the modifications.
The changelog is generated using "gbp dch" so if you submit any
changes don't bother to add changelog entries but rather provide
a nice git commit message that can then end up in the changelog.
It is recommended to build the package with pbuilder using:
gbp builpackage --git-pbuilder
For information on how to set up a pbuilder environment see the
git-pbuilder(1) manpage. In short:
DIST=sid git-pbuilder create
gbp clone <project-url>
cd <project>
gbp buildpackage --git-pbuilder
-- Guido Günther <agx@igxcpu.org>, Wed, 2 Dec 2015 18:51:15 +0100

1
debian/bug-control vendored Normal file
View File

@ -0,0 +1 @@
package-status: libvirt0 libvirt-clients libvirt-daemon osinfo-db

9
debian/bug-presubj vendored Normal file
View File

@ -0,0 +1,9 @@
When reporting issues regarding virt-manager, virt-install, or any of the other
virt-* tools please run the program using the --debug command line option
(also with --no-fork for virt-manager) and provide the output.
Often the problem isn't related to virt-manager at all. Please also check the
libvirt and VM logfiles and try to reproduce with virsh or virt-install.
https://wiki.debian.org/libvirt/Debugging has more information on howto provide
debugging information for the virt-* tools.

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
virt-manager (1:4.1.0-ok1) nile; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.top> Fri, 17 May 2024 13:37:16 +0800

5
debian/clean vendored Normal file
View File

@ -0,0 +1,5 @@
data/gschemas.compiled
man/virt-clone.1
man/virt-install.1
man/virt-manager.1
man/virt-xml.1

103
debian/control vendored Normal file
View File

@ -0,0 +1,103 @@
Source: virt-manager
Section: admin
Priority: optional
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
Uploaders:
Guido Günther <agx@sigxcpu.org>,
Pino Toscano <pino@debian.org>,
Standards-Version: 4.6.2
Vcs-Git: https://salsa.debian.org/libvirt-team/virt-manager.git
Vcs-Browser: https://salsa.debian.org/libvirt-team/virt-manager
Homepage: https://virt-manager.org/
Build-Depends:
debhelper-compat (= 13),
dh-python,
dh-sequence-python3,
gettext,
python3,
python3-distutils,
python3-docutils,
python3-setuptools,
# for the tests
cpio <!nocheck>,
xorriso <!nocheck>,
gir1.2-libosinfo-1.0 <!nocheck>,
gir1.2-libvirt-glib-1.0 <!nocheck>,
libglib2.0-bin <!nocheck>,
libvirt-daemon <!nocheck>,
locales-all <!nocheck>,
python3-argcomplete <!nocheck>,
python3-gi (>= 3.31.3~) <!nocheck>,
python3-libvirt <!nocheck>,
python3-libxml2 <!nocheck>,
python3-pytest <!nocheck>,
python3-requests <!nocheck>,
Rules-Requires-Root: no
Package: virt-manager
Architecture: all
Depends:
gir1.2-gtk-3.0 (>= 3.10),
gir1.2-gtk-vnc-2.0,
gir1.2-gtksource-4,
gir1.2-libosinfo-1.0,
gir1.2-libvirt-glib-1.0,
gir1.2-vte-2.91,
python3-gi (>= 3.31.3~),
python3-gi-cairo,
python3-libvirt (>= 0.7.1),
virtinst (= ${binary:Version}),
${misc:Depends},
${python3:Depends},
Recommends:
gir1.2-ayatanaappindicator3-0.1 | gir1.2-appindicator3-0.1,
gir1.2-spiceclientglib-2.0,
gir1.2-spiceclientgtk-3.0,
libvirt-daemon-system (>= 1.2.7),
Suggests:
gir1.2-secret-1,
gnome-keyring,
python3-guestfs,
ssh-askpass,
virt-viewer,
Description: desktop application for managing virtual machines
The virt-manager application is a desktop user interface for managing virtual
machines through libvirt. It primarily targets KVM VMs, but also manages Xen
and LXC (Linux containers). It presents a summary view of running domains,
their live performance & resource utilization statistics. Wizards enable the
creation of new domains, and configuration & adjustment of a domain's resource
allocation & virtual hardware. An embedded VNC and SPICE client viewer
presents a full graphical console to the guest domain.
Package: virtinst
Architecture: all
Depends:
e2fsprogs,
xorriso,
gir1.2-libosinfo-1.0,
python3-gi (>= 3.31.3~),
python3-libvirt (>= 0.4.6),
python3-libxml2,
python3-requests,
${misc:Depends},
${python3:Depends},
Recommends:
libvirt-clients,
qemu-utils,
virt-viewer,
Suggests:
python3-argcomplete,
Breaks:
virt-manager (<< 1:3.2.0-3~),
Replaces:
virt-manager (<< 1:3.2.0-3~),
Description: utilities to create and edit virtual machines
This package contains some command line utilities to create and edit virtual
machines:
.
- virt-clone: cloning existing inactive guests; it copies the disk images,
and defines a config with new name, UUID and MAC address pointing to the
copied disks
- virt-install: provision operating systems into new virtual machines
- virt-xml: easily edit libvirt domain XML using virt-install's command line
options

31
debian/copyright vendored Normal file
View File

@ -0,0 +1,31 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: virt-manager
Source: https://virt-manager.org/download/
Files: *
Copyright: 2005-2019, Red Hat, Inc.
2006-2007, Daniel P. Berrange <berrange@redhat.com>
2006, Hugh O. Brock <hbrock@redhat.com>
2007, 2013-2014, FUJITSU Limited
2008-2013, Cole Robinson <crobinso@redhat.com>
2008, Sun Microsystems, Inc. All rights reserved.
2010, Marc-Andre Lureau <marcandre.lureau@redhat.com>
2013, IBM Corporation
2014, 2016, SUSE LINUX Products GmbH, Nuernberg, Germany.
2018, Oracle and/or its affiliates. All rights reserved.
2018, VMware, Inc.
License: GPL-2+
Files: virtinst/progress.py
Copyright: 2002-2004 Michael D. Stenner, Ryan Tomayko
License: GPL-2+
Files: debian/*
Copyright: Marcelo Boveto Shima <marceloshima@gmail.com>
2007-2020, Guido Günther <agx@sigxcpu.org>
License: GPL-2+
License: GPL-2+
On Debian systems, the complete text of the GNU General Public License
version 2 or 3 can be found in
"/usr/share/common-licenses/GPL-2" and "/usr/share/common-licenses/GPL-3".

6
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,6 @@
[DEFAULT]
upstream-branch=upstream/latest
debian-branch=debian/sid
[pq]
patch-numbers = False

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
upstream_tests-data-refresh-Fedora-tree-URLs-in-virt-install-.patch

View File

@ -0,0 +1,73 @@
From 6e5c1db6b4a0af96afeb09a09fb2fc2b73308f01 Mon Sep 17 00:00:00 2001
From: Laszlo Ersek <lersek@redhat.com>
Date: Sun, 27 Aug 2023 09:19:09 +0200
Subject: [PATCH] tests/data: refresh Fedora tree URLs in virt-install-osinfo*
expected XMLs
Libosinfo seems to generate Fedora tree URLs using the "https", not
"http", scheme now; which breaks CI. Update the expected outputs
accordingly.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
.../cli/compare/virt-install-osinfo-unattended-treeapis.xml | 2 +-
tests/data/cli/compare/virt-install-osinfo-url-unattended.xml | 2 +-
tests/data/cli/compare/virt-install-osinfo-url-with-disk.xml | 2 +-
tests/data/cli/compare/virt-install-osinfo-url.xml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/data/cli/compare/virt-install-osinfo-unattended-treeapis.xml b/tests/data/cli/compare/virt-install-osinfo-unattended-treeapis.xml
index 1140bf0b..5f3c3474 100644
--- a/tests/data/cli/compare/virt-install-osinfo-unattended-treeapis.xml
+++ b/tests/data/cli/compare/virt-install-osinfo-unattended-treeapis.xml
@@ -13,7 +13,7 @@
<type arch="x86_64" machine="pc-i440fx-6.1">hvm</type>
<kernel>/VIRTINST-TESTSUITE/vmlinuz</kernel>
<initrd>/VIRTINST-TESTSUITE/initrd.img</initrd>
- <cmdline>ks=file:/fedora.ks method=http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/17/Fedora/x86_64/os/</cmdline>
+ <cmdline>ks=file:/fedora.ks method=https://archive.fedoraproject.org/pub/archive/fedora/linux/releases/17/Fedora/x86_64/os/</cmdline>
</os>
<features>
<acpi/>
diff --git a/tests/data/cli/compare/virt-install-osinfo-url-unattended.xml b/tests/data/cli/compare/virt-install-osinfo-url-unattended.xml
index fe653b8b..2388120a 100644
--- a/tests/data/cli/compare/virt-install-osinfo-url-unattended.xml
+++ b/tests/data/cli/compare/virt-install-osinfo-url-unattended.xml
@@ -13,7 +13,7 @@
<type arch="x86_64" machine="q35">hvm</type>
<kernel>/VIRTINST-TESTSUITE/vmlinuz</kernel>
<initrd>/VIRTINST-TESTSUITE/initrd.img</initrd>
- <cmdline>ks=file:/fedora.ks inst.repo=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/26/Server/x86_64/os/</cmdline>
+ <cmdline>ks=file:/fedora.ks inst.repo=https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/26/Server/x86_64/os/</cmdline>
</os>
<features>
<acpi/>
diff --git a/tests/data/cli/compare/virt-install-osinfo-url-with-disk.xml b/tests/data/cli/compare/virt-install-osinfo-url-with-disk.xml
index 99fb90fb..11fce0aa 100644
--- a/tests/data/cli/compare/virt-install-osinfo-url-with-disk.xml
+++ b/tests/data/cli/compare/virt-install-osinfo-url-with-disk.xml
@@ -13,7 +13,7 @@
<type arch="x86_64" machine="q35">hvm</type>
<kernel>/VIRTINST-TESTSUITE/vmlinuz</kernel>
<initrd>/VIRTINST-TESTSUITE/initrd.img</initrd>
- <cmdline>method=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/26/Server/x86_64/os/</cmdline>
+ <cmdline>method=https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/26/Server/x86_64/os/</cmdline>
</os>
<features>
<acpi/>
diff --git a/tests/data/cli/compare/virt-install-osinfo-url.xml b/tests/data/cli/compare/virt-install-osinfo-url.xml
index 37fcc109..ea1937a3 100644
--- a/tests/data/cli/compare/virt-install-osinfo-url.xml
+++ b/tests/data/cli/compare/virt-install-osinfo-url.xml
@@ -13,7 +13,7 @@
<type arch="x86_64" machine="q35">hvm</type>
<kernel>/VIRTINST-TESTSUITE/vmlinuz</kernel>
<initrd>/VIRTINST-TESTSUITE/initrd.img</initrd>
- <cmdline>method=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/26/Server/x86_64/os/</cmdline>
+ <cmdline>method=https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/26/Server/x86_64/os/</cmdline>
</os>
<features>
<acpi/>
--
2.40.1

19
debian/rules vendored Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem=pybuild
override_dh_python3:
dh_python3 usr/share/virt-manager
override_dh_auto_test:
pytest-3 -v -rs
override_dh_auto_install:
python3 setup.py --no-update-icon-cache --no-compile-schemas install --force --install-layout=deb --root=debian/tmp --no-compile -O0
override_dh_installdocs:
dh_installdocs --all NEWS.md
override_dh_bugfiles:
dh_bugfiles --all

5
debian/salsa-ci.yml vendored Normal file
View File

@ -0,0 +1,5 @@
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

9
debian/tests/control vendored Normal file
View File

@ -0,0 +1,9 @@
Tests: help.sh
Restrictions: superficial
Depends: virtinst,
Tests: virt-manager.sh
Restrictions: superficial
Depends: virt-manager,
xvfb,
xauth,

9
debian/tests/help.sh vendored Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
# At least check we can execute the main binary
# to catch missing python dependenies
for p in install xml clone; do
virt-$p --help
done

8
debian/tests/virt-manager.sh vendored Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# At least check we can execute the main binary
# to catch missing python dependenies
set -e
xvfb-run virt-manager --help

4
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,4 @@
Bug-Database: https://github.com/virt-manager/virt-manager/issues
Bug-Submit: https://github.com/virt-manager/virt-manager/issues/new
Repository: https://github.com/virt-manager/virt-manager.git
Repository-Browse: https://github.com/virt-manager/virt-manager

10
debian/virt-manager.install vendored Normal file
View File

@ -0,0 +1,10 @@
debian/10_virt-manager.gschema.override /usr/share/glib-2.0/schemas/
usr/bin/virt-manager
usr/share/applications
usr/share/glib-2.0
usr/share/icons/
usr/share/man/man1/virt-manager.1
usr/share/metainfo/virt-manager.appdata.xml
usr/share/virt-manager/icons
usr/share/virt-manager/ui
usr/share/virt-manager/virtManager

9
debian/virtinst.install vendored Normal file
View File

@ -0,0 +1,9 @@
usr/bin/virt-clone
usr/bin/virt-install
usr/bin/virt-xml
usr/share/bash-completion/completions/
usr/share/locale/
usr/share/man/man1/virt-clone.1
usr/share/man/man1/virt-install.1
usr/share/man/man1/virt-xml.1
usr/share/virt-manager/virtinst

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=4
https://releases.pagure.org/virt-manager/virt-manager-(.*)\.tar\.gz