diff options
author | jgh <jgh@FreeBSD.org> | 2015-02-10 00:23:49 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2015-02-10 00:23:49 +0800 |
commit | db9c9ae85382b1c1a7f81278ebed7022af95fbd8 (patch) | |
tree | d74f054bf98819e8ef2a605958d92086c9820a47 /deskutils | |
parent | d307372005c5afa322dbaef92612372e004aa061 (diff) | |
download | freebsd-ports-gnome-db9c9ae85382b1c1a7f81278ebed7022af95fbd8.tar.gz freebsd-ports-gnome-db9c9ae85382b1c1a7f81278ebed7022af95fbd8.tar.zst freebsd-ports-gnome-db9c9ae85382b1c1a7f81278ebed7022af95fbd8.zip |
- py-spice-gtk has been added as dependency
- bump portrevision
PR: 195809
Reported by: amdmi3@
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/virt-manager/Makefile | 12 | ||||
-rw-r--r-- | deskutils/virt-manager/files/patch-virtManager_console.py | 16 |
2 files changed, 4 insertions, 24 deletions
diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile index de685fb7ba95..290d7e487958 100644 --- a/deskutils/virt-manager/Makefile +++ b/deskutils/virt-manager/Makefile @@ -2,6 +2,7 @@ PORTNAME= virt-manager PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= deskutils net-mgmt MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/ \ LOCAL/jgh/deskutils/${PORTNAME}/ @@ -20,12 +21,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:${PORTSDIR}/devel/py-dbus \ ${PYTHON_PKGNAMEPREFIX}libvirt>=0:${PORTSDIR}/devel/py-libvirt \ gtk-vnc>=0.4.4:${PORTSDIR}/net/gtk-vnc \ libvirt-glib>=0.1.9:${PORTSDIR}/devel/libvirt-glib \ - libosinfo>=0:${PORTSDIR}/devel/libosinfo + libosinfo>=0:${PORTSDIR}/devel/libosinfo \ + ${PYTHON_PGKNAMEPREFIX}spice-gtk>=0.26:${PORTSDIR}/deskutils/py-spice-gtk PYDISTUTILS_INSTALLNOSINGLE= yes PYDISTUTILS_CONFIGURE_TARGET= configure PYDISTUTILS_CONFIGUREARGS= --prefix=${PREFIX} -USES= python:2.7 desktop-file-utils gettext shebangfix +USES= python:2.7 gettext shebangfix USE_PYTHON= distutils autoplist USE_GNOME= introspection:run intltool librsvg2 pygobject3 @@ -39,10 +41,4 @@ SHEBANG_FILES= virt-manager \ GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml -post-patch-script: - @${REINPLACE_CMD} -e 's|self.default_graphics = "spice"|self.default_graphics = "vnc"|g' \ - ${WRKSRC}/setup.py - @${REINPLACE_CMD} -e 's|from gi.repository import SpiceClient.*||g' \ - ${WRKSRC}/virtManager/console.py - .include <bsd.port.mk> diff --git a/deskutils/virt-manager/files/patch-virtManager_console.py b/deskutils/virt-manager/files/patch-virtManager_console.py deleted file mode 100644 index 717977bddc37..000000000000 --- a/deskutils/virt-manager/files/patch-virtManager_console.py +++ /dev/null @@ -1,16 +0,0 @@ ---- virtManager/console.py.orig 2014-11-19 23:37:09 UTC -+++ virtManager/console.py -@@ -20,10 +20,13 @@ - # MA 02110-1301 USA. - # - -+import gi - from gi.repository import GObject - from gi.repository import Gtk - from gi.repository import Gdk -+gi.require_version('GtkVnc', '2.0') - from gi.repository import GtkVnc -+gi.require version('SpiceClientGtk', '3.0') - from gi.repository import SpiceClientGtk - from gi.repository import SpiceClientGLib - |