diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2023-03-22 11:53:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-03-25 10:01:59 +0700 |
commit | 127ace6ef5b69ad01b5469588b7f1c66da5e3644 (patch) | |
tree | a939dce4e6af70ab758d89465ce66f240d4aca11 /system | |
parent | 34378d0f897572e21de9beeff1f8773fd1abda94 (diff) |
system/virt-manager: Updated for version 4.1.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/virt-manager/Add-Slackware-to-OS-choices.patch | 62 | ||||
-rw-r--r-- | system/virt-manager/virt-manager.SlackBuild | 5 | ||||
-rw-r--r-- | system/virt-manager/virt-manager.info | 6 |
3 files changed, 4 insertions, 69 deletions
diff --git a/system/virt-manager/Add-Slackware-to-OS-choices.patch b/system/virt-manager/Add-Slackware-to-OS-choices.patch deleted file mode 100644 index 0a5260206f91..000000000000 --- a/system/virt-manager/Add-Slackware-to-OS-choices.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff -Nur virt-manager-2.2.0.orig/virtinst/install/urldetect.py virt-manager-2.2.0/virtinst/install/urldetect.py ---- virt-manager-2.2.0.orig/virtinst/install/urldetect.py 2019-06-17 00:20:11.000000000 -0500 -+++ virt-manager-2.2.0/virtinst/install/urldetect.py 2019-07-03 02:14:35.978571412 -0500 -@@ -466,6 +466,47 @@ - return cache.treeinfo_family_regex(famregex) - - -+class SlackwareDistro(_DistroTree): -+ # slackware doesn't have installable URLs, so this is just for a -+ # mounted ISO -+ name = "Slackware" -+ urldistro = "slackware" -+ os_variant = "linux" -+ -+ PRETTY_NAME = "Slackware" -+ matching_distros = ["slackware"] -+ _variant_prefix = "slackware" -+ -+ _boot_iso_paths = [] -+ _xen_kernel_paths = [] -+ -+ def __init__(self, *args, **kwargs): -+ Distro.__init__(self, *args, **kwargs) -+ if re.match(r'i[4-9]86', self.arch): -+ self.arch = 'i486' -+ self.kname = 'hugesmp.s' -+ else: -+ self.arch = 'x86_64' -+ self.kname = 'huge.s' -+ -+ self._hvm_kernel_paths = [("kernels/%s/bzImage" % self.kname, -+ "isolinux/initrd.img")] -+ -+ def isValidStore(self): -+ # Don't support any paravirt installs -+ if self.type is not None and self.type != "hvm": -+ return False -+ -+ # Slackware website / media appear to have a Slackware-HOWTO -+ # file in top level which we can use as our 'magic' -+ # check for validity -+ if not self.fetcher.hasFile("Slackware-HOWTO"): -+ return False -+ -+ logging.debug("Regex didn't match, not a %s distro", self.name) -+ return False -+ -+ - class _SuseDistro(_RHELDistro): - PRETTY_NAME = None - _suse_regex = [] -diff -Nur virt-manager-2.2.0.orig/virtinst/osdict.py virt-manager-2.2.0/virtinst/osdict.py ---- virt-manager-2.2.0.orig/virtinst/osdict.py 2019-06-17 00:20:11.000000000 -0500 -+++ virt-manager-2.2.0/virtinst/osdict.py 2019-07-03 02:11:59.208399622 -0500 -@@ -146,6 +146,7 @@ - "rhel5": "rhel5.0", - "rhel6": "rhel6.0", - "rhel7": "rhel7.0", -+ "slackware": "slackware14.2", - "ubuntuhardy": "ubuntu8.04", - "ubuntuintrepid": "ubuntu8.10", - "ubuntujaunty": "ubuntu9.04", diff --git a/system/virt-manager/virt-manager.SlackBuild b/system/virt-manager/virt-manager.SlackBuild index 9514fa6914f4..3aa3b5aa9007 100644 --- a/system/virt-manager/virt-manager.SlackBuild +++ b/system/virt-manager/virt-manager.SlackBuild @@ -9,7 +9,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=virt-manager -VERSION=${VERSION:-3.2.0} +VERSION=${VERSION:-4.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,9 +63,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Add Slackware support -patch -p1 < $CWD/Add-Slackware-to-OS-choices.patch - python3 setup.py configure python3 setup.py install --root=$PKG diff --git a/system/virt-manager/virt-manager.info b/system/virt-manager/virt-manager.info index 72bcfb99a68e..5db29afd1fae 100644 --- a/system/virt-manager/virt-manager.info +++ b/system/virt-manager/virt-manager.info @@ -1,8 +1,8 @@ PRGNAM="virt-manager" -VERSION="3.2.0" +VERSION="4.1.0" HOMEPAGE="http://virt-manager.org/" -DOWNLOAD="https://releases.pagure.org/virt-manager/virt-manager-3.2.0.tar.gz" -MD5SUM="a87507223c32d15eb12e1754404061dc" +DOWNLOAD="https://releases.pagure.org/virt-manager/virt-manager-4.1.0.tar.gz" +MD5SUM="8bf86bcc7e43a956ff94ebdaf4d7d399" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libosinfo libvirt-glib libvirt-python gtk-vnc spice-gtk" |