aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-07-23 13:48:14 +0800
committerjgh <jgh@FreeBSD.org>2012-07-23 13:48:14 +0800
commit07f4dd74a8c2c388bab715d4be4e233350a7313b (patch)
tree79d18e1df5ae4eabfd4d0db00a9627e44521dcc2
parent26d80c83762d608796075f9157e09d91880d4273 (diff)
downloadfreebsd-ports-gnome-07f4dd74a8c2c388bab715d4be4e233350a7313b.tar.gz
freebsd-ports-gnome-07f4dd74a8c2c388bab715d4be4e233350a7313b.tar.zst
freebsd-ports-gnome-07f4dd74a8c2c388bab715d4be4e233350a7313b.zip
- update to 0.9.3
* Convert to gtkbuilder: UI can now be editted with modern glade tool * virt-manager no longer runs on RHEL5, but can manage a remote RHEL5 host * Option to configure spapr net and disk devices for pseries (Li Zhang) * Many bug fixes and improvements - bring in patch already pushed upstream for hardcoding of python (http://git.fedorahosted.org/git/?p=virt-manager.git;a=commit;h=30282a17091014ba5a96d20f4260df55779933c4) - account for NLS
-rw-r--r--deskutils/virt-manager/Makefile19
-rw-r--r--deskutils/virt-manager/distinfo4
-rw-r--r--deskutils/virt-manager/files/patch-pypatchset23
-rw-r--r--deskutils/virt-manager/pkg-plist80
4 files changed, 102 insertions, 24 deletions
diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile
index 86394e7d6068..7d7d5f00b069 100644
--- a/deskutils/virt-manager/Makefile
+++ b/deskutils/virt-manager/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= virt-manager
-PORTVERSION= 0.9.1
-PORTREVISION= 1
+PORTVERSION= 0.9.3
CATEGORIES= deskutils net-mgmt
MASTER_SITES= http://virt-manager.et.redhat.com/download/sources/${PORTNAME}/
@@ -19,11 +18,21 @@ LICENSE= LGPL3
LIB_DEPENDS= virt.9:${PORTSDIR}/devel/libvirt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:${PORTSDIR}/devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}libxml2>=2.7.8:${PORTSDIR}/textproc/py-libxml2 \
- ${PYTHON_PKGNAMEPREFIX}virtinst>=0.600.0:${PORTSDIR}/net-mgmt/virtinst \
+ ${PYTHON_PKGNAMEPREFIX}virtinst>=0.600.2:${PORTSDIR}/net-mgmt/virtinst \
${PYTHON_PKGNAMEPREFIX}vte>=0.26.2:${PORTSDIR}/x11-toolkits/py-vte \
gtk-vnc>=0.3.10:${PORTSDIR}/net/gtk-vnc \
librsvg2>=2.32.1:${PORTSDIR}/graphics/librsvg2
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
USE_GNOME= pygnome2
INSTALLS_ICONS= yes
GCONF_SCHEMAS= virt-manager.schemas
@@ -34,4 +43,8 @@ USE_PYTHON= yes
MAN1= virt-manager.1
+post-patch-script:
+ @${REINPLACE_CMD} -e 's|itlocaledir = $$(prefix)/$$(DATADIRNAME)/locale|itlocaledir = $$(prefix)/share/locale|' \
+ ${WRKSRC}/po/Makefile.in.in
+
.include <bsd.port.mk>
diff --git a/deskutils/virt-manager/distinfo b/deskutils/virt-manager/distinfo
index 189b70fa46df..f1e40ec220dd 100644
--- a/deskutils/virt-manager/distinfo
+++ b/deskutils/virt-manager/distinfo
@@ -1,2 +1,2 @@
-SHA256 (virt-manager-0.9.1.tar.gz) = 15e064167ba5ff84ce6fc8790081d61890430f2967f89886a84095a23e40094a
-SIZE (virt-manager-0.9.1.tar.gz) = 1942398
+SHA256 (virt-manager-0.9.3.tar.gz) = 0d6c79c0cb2449345c07def1b24b2bec31c7e70bf46a5bcec035301c598d0d17
+SIZE (virt-manager-0.9.3.tar.gz) = 1714511
diff --git a/deskutils/virt-manager/files/patch-pypatchset b/deskutils/virt-manager/files/patch-pypatchset
new file mode 100644
index 000000000000..c8a94add2383
--- /dev/null
+++ b/deskutils/virt-manager/files/patch-pypatchset
@@ -0,0 +1,23 @@
+--- ./src/virt-manager-launch.in
++++ ./src/virt-manager-launch.in
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+
+-exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py"
++exec python "::PYTHONDIR::/::PACKAGE::.py"
+--- ./src/virt-manager-tui.in
++++ ./src/virt-manager-tui.in
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+
+-exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@"
++exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
+diff --git a/src/virt-manager.in b/src/virt-manager.in
+--- ./src/virt-manager.in
++++ ./src/virt-manager.in
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+
+-exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@"
++exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
+
diff --git a/deskutils/virt-manager/pkg-plist b/deskutils/virt-manager/pkg-plist
index c05e8dea3464..224462dffc63 100644
--- a/deskutils/virt-manager/pkg-plist
+++ b/deskutils/virt-manager/pkg-plist
@@ -42,11 +42,11 @@ share/icons/hicolor/48x48/apps/virt-manager.png
%%DATADIR%%/virtManager/clone.py
%%DATADIR%%/virtManager/config.py
%%DATADIR%%/virtManager/connect.py
+%%DATADIR%%/virtManager/connectauth.py
%%DATADIR%%/virtManager/connection.py
%%DATADIR%%/virtManager/console.py
%%DATADIR%%/virtManager/create.py
%%DATADIR%%/virtManager/createinterface.py
-%%DATADIR%%/virtManager/createmeter.py
%%DATADIR%%/virtManager/createnet.py
%%DATADIR%%/virtManager/createpool.py
%%DATADIR%%/virtManager/createvol.py
@@ -71,6 +71,7 @@ share/icons/hicolor/48x48/apps/virt-manager.png
%%DATADIR%%/virtManager/network.py
%%DATADIR%%/virtManager/nodedev.py
%%DATADIR%%/virtManager/preferences.py
+%%DATADIR%%/virtManager/packageutils.py
%%DATADIR%%/virtManager/remote.py
%%DATADIR%%/virtManager/secret.py
%%DATADIR%%/virtManager/serialcon.py
@@ -80,24 +81,65 @@ share/icons/hicolor/48x48/apps/virt-manager.png
%%DATADIR%%/virtManager/systray.py
%%DATADIR%%/virtManager/uihelpers.py
%%DATADIR%%/virtManager/util.py
-%%DATADIR%%/vmm-about.glade
-%%DATADIR%%/vmm-add-hardware.glade
-%%DATADIR%%/vmm-choose-cd.glade
-%%DATADIR%%/vmm-clone.glade
-%%DATADIR%%/vmm-create-interface.glade
-%%DATADIR%%/vmm-create-net.glade
-%%DATADIR%%/vmm-create-pool.glade
-%%DATADIR%%/vmm-create-vol.glade
-%%DATADIR%%/vmm-create.glade
-%%DATADIR%%/vmm-delete.glade
-%%DATADIR%%/vmm-details.glade
-%%DATADIR%%/vmm-host.glade
-%%DATADIR%%/vmm-manager.glade
-%%DATADIR%%/vmm-migrate.glade
-%%DATADIR%%/vmm-open-connection.glade
-%%DATADIR%%/vmm-preferences.glade
-%%DATADIR%%/vmm-progress.glade
-%%DATADIR%%/vmm-storage-browse.glade
+%%DATADIR%%/vmm-about.ui
+%%DATADIR%%/vmm-add-hardware.ui
+%%DATADIR%%/vmm-choose-cd.ui
+%%DATADIR%%/vmm-create-interface.ui
+%%DATADIR%%/vmm-create-net.ui
+%%DATADIR%%/vmm-create-pool.ui
+%%DATADIR%%/vmm-create-vol.ui
+%%DATADIR%%/vmm-create.ui
+%%DATADIR%%/vmm-clone.ui
+%%DATADIR%%/vmm-delete.ui
+%%DATADIR%%/vmm-details.ui
+%%DATADIR%%/vmm-host.ui
+%%DATADIR%%/vmm-manager.ui
+%%DATADIR%%/vmm-migrate.ui
+%%DATADIR%%/vmm-open-connection.ui
+%%DATADIR%%/vmm-preferences.ui
+%%DATADIR%%/vmm-progress.ui
+%%DATADIR%%/vmm-storage-browse.ui
+%%NLS%%share/locale/as/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/bn_IN/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/bs/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/da/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/de/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/es/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/gu/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/hi/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/is/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/it/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/kn/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ml/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/mr/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ms/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/or/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/sr@latin/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/ta/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/te/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/virt-manager.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/virt-manager.mo
@dirrm %%DATADIR%%/icons/hicolor/16x16/actions
@dirrm %%DATADIR%%/icons/hicolor/16x16
@dirrm %%DATADIR%%/icons/hicolor/22x22/actions