summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-02-15 18:44:48 +0100
committerRobby Workman <rworkman@slackbuilds.org>2014-02-16 01:49:02 -0600
commitc8b41d3184a4b47dc6a8ea957fee9d937c30bc80 (patch)
treec2c1b2c34b9d75c8d0be00a548239c283c45609e
parent4c00ef04b0005f180a735d66b16aa4c1e5a94f8b (diff)
downloadslackbuilds-c8b41d3184a4b47dc6a8ea957fee9d937c30bc80.tar.gz
system/virt-manager: Updated for version 1.0.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/virt-manager/virt-manager.SlackBuild5
-rw-r--r--system/virt-manager/virt-manager.info6
-rw-r--r--system/virt-manager/virtinst-osdict.py-Add-Slackware-to-OS-choices.patch45
3 files changed, 32 insertions, 24 deletions
diff --git a/system/virt-manager/virt-manager.SlackBuild b/system/virt-manager/virt-manager.SlackBuild
index 6d2f48b882..dbc45b8481 100644
--- a/system/virt-manager/virt-manager.SlackBuild
+++ b/system/virt-manager/virt-manager.SlackBuild
@@ -7,7 +7,7 @@
# Lots of mods by rworkman for 0.10.x
PRGNAM=virt-manager
-VERSION=${VERSION:-0.10.0}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,6 +53,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# We don't have gtk+3-3.10, so we cheat
+sed -i "s|3\.10|3.8|" ui/gfxdetails.ui ui/netlist.ui ui/addstorage.ui
+
# Add Slackware support
patch -p1 < $CWD/virtinst-osdict.py-Add-Slackware-to-OS-choices.patch
diff --git a/system/virt-manager/virt-manager.info b/system/virt-manager/virt-manager.info
index 403d963bd5..db962d0551 100644
--- a/system/virt-manager/virt-manager.info
+++ b/system/virt-manager/virt-manager.info
@@ -1,8 +1,8 @@
PRGNAM="virt-manager"
-VERSION="0.10.0"
+VERSION="1.0.0"
HOMEPAGE="http://virt-manager.et.redhat.com"
-DOWNLOAD="http://virt-manager.org/download/sources/virt-manager/virt-manager-0.10.0.tar.gz"
-MD5SUM="e23b8d2a7623b4e8e256c25735f332c8"
+DOWNLOAD="http://virt-manager.org/download/sources/virt-manager/virt-manager-1.0.0.tar.gz"
+MD5SUM="8a0585de48d8060a5394aae912342c95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libvirt-glib libvirt-python gnome-python2-gconf tunctl ipaddr-py urlgrabber pygobject3 gtk-vnc spice-gtk vte3"
diff --git a/system/virt-manager/virtinst-osdict.py-Add-Slackware-to-OS-choices.patch b/system/virt-manager/virtinst-osdict.py-Add-Slackware-to-OS-choices.patch
index 5bf64515ad..b51c587e24 100644
--- a/system/virt-manager/virtinst-osdict.py-Add-Slackware-to-OS-choices.patch
+++ b/system/virt-manager/virtinst-osdict.py-Add-Slackware-to-OS-choices.patch
@@ -1,20 +1,25 @@
-diff -Nur virt-manager-0.10.0.orig/virtinst/osdict.py virt-manager-0.10.0/virtinst/osdict.py
---- virt-manager-0.10.0.orig/virtinst/osdict.py 2013-06-13 14:10:00.000000000 -0500
-+++ virt-manager-0.10.0/virtinst/osdict.py 2013-11-11 17:47:51.907305561 -0600
-@@ -619,7 +619,15 @@
- VIDEO : VMVGA_VIDEO,
- },
- },
--
-+ "slackware": {
-+ "label": "Slackware",
-+ "distro": "slackware",
-+ "supported": True,
-+ "devices" : {
-+ DISK : VIRTIO_DISK,
-+ NET : VIRTIO_NET,
-+ },
-+ },
- "generic24": {
- "label": "Generic 2.4.x kernel"
- },
+From ae298e5c0cf64d8d9d01f3b2eddfaa783f85ecf9 Mon Sep 17 00:00:00 2001
+From: Robby Workman <rworkman@slackware.com>
+Date: Mon, 11 Nov 2013 17:24:57 -0600
+Subject: [PATCH] virtinst/osdict.py: Add Slackware to OS choices
+
+---
+ virtinst/osdict.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/virtinst/osdict.py b/virtinst/osdict.py
+index 5dd727a..82ffef1 100644
+--- a/virtinst/osdict.py
++++ b/virtinst/osdict.py
+@@ -276,6 +276,8 @@ _add_var("mageia1", "Mageia 1 (or later)", urldistro="mandriva", supported=True,
+
+ _add_var("altlinux", "ALT Linux (or later)", urldistro="altlinux", supported=True, virtiodisk=True, virtionet=True, inputtype="tablet", inputbus="usb", parent="linux")
+
++_add_var("slackware14.1", "Slackware 14.1 (or later)", parent="linux", supported=True, virtiodisk=True, virtionet=True, inputtype="tablet", inputbus="usb")
++
+ _add_var("debianetch", "Debian Etch", urldistro="debian", sortby="debian4", parent="linux")
+ _add_var("debianlenny", "Debian Lenny", sortby="debian5", supported=True, virtiodisk=True, virtionet=True, parent="debianetch")
+ _add_var("debiansqueeze", "Debian Squeeze", sortby="debian6", virtiodisk=True, virtionet=True, inputtype="tablet", inputbus="usb", parent="debianlenny")
+--
+1.8.4
+