ports/158847: [patch][maintainer-update] net-mgmt/virt-viewer: update to 0.4.0

Jason Helfman jhelfman at experts-exchange.com
Tue Jul 12 23:20:10 UTC 2011


>Number:         158847
>Category:       ports
>Synopsis:       [patch][maintainer-update] net-mgmt/virt-viewer: update to 0.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 12 23:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD eggman.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Update to 0.4.0

New to this port:
add in lib_depends of intltool
add in patch for correct locale path installation, working with authors for upstream fix

New in this release     
  - Require SPICE-GTK >= 0.6
  - Hide menu bar when going fullscreen
  - Support building against GTK2 or GTK3
  - Convert from Glade to GtkBuilder
  - Honour 'listen' attribute from <graphics> XML when connecting
  - Fix reconnection after authentication failure
  - Make --verbose flag actually do something
  - Enable scaling with SPICE to match VNC behaviour
  - Rewrite widget resizing code to (try to) be more reliable
  - Fill extra space outside guest display with black
  - Fix (null) in title bar while not connected
  - Fix multiple memory leaks
  - Fix reconnecting to display with SPICE

>How-To-Repeat:
	
>Fix:

Index: net-mgmt/virt-viewer/Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/net-mgmt/virt-viewer/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- net-mgmt/virt-viewer/Makefile	8 Jul 2011 19:41:22 -0000	1.1
+++ net-mgmt/virt-viewer/Makefile	12 Jul 2011 23:05:55 -0000
@@ -6,19 +6,24 @@
 #
 
 PORTNAME=	virt-viewer
-PORTVERSION=	0.2.0
+PORTVERSION=	0.4.0
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://virt-manager.org/download/sources/${PORTNAME}/
 
 MAINTAINER=	jhelfman at experts-exchange.com
 COMMENT=	Provides a graphical viewer for a guest OS display
 
-BUILD_DEPENDS=	xml2-config:${PORTSDIR}/textproc/libxml2
+BUILD_DEPENDS=	xml2-config:${PORTSDIR}/textproc/libxml2 \
+		intltoolize:${PORTSDIR}/textproc/intltool
 LIB_DEPENDS=	virt.9:${PORTSDIR}/devel/libvirt \
 		gtk-vnc-1.0.0:${PORTSDIR}/net/gtk-vnc
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
+PLIST_SUB=	NLS=""
+
+post-build-script:
+	@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/post-po__Makefile
 
 MAN1=		virt-viewer.1
 
Index: net-mgmt/virt-viewer/distinfo
===================================================================
RCS file: /home/jhelfman/ncvs/ports/net-mgmt/virt-viewer/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- net-mgmt/virt-viewer/distinfo	8 Jul 2011 19:41:22 -0000	1.1
+++ net-mgmt/virt-viewer/distinfo	12 Jul 2011 16:55:20 -0000
@@ -1,2 +1,2 @@
-SHA256 (virt-viewer-0.2.0.tar.gz) = 9772a9e2b55f7d4eeae012964c594c4f96129b130ed34004fa42033bc9ad1352
-SIZE (virt-viewer-0.2.0.tar.gz) = 329012
+SHA256 (virt-viewer-0.4.0.tar.gz) = 78ba5c0ee8a67d7e2a910867ae26cfd927985ea9f274dc7971102312a8a00196
+SIZE (virt-viewer-0.4.0.tar.gz) = 434882
Index: net-mgmt/virt-viewer/pkg-plist
===================================================================
RCS file: /home/jhelfman/ncvs/ports/net-mgmt/virt-viewer/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- net-mgmt/virt-viewer/pkg-plist	8 Jul 2011 19:41:22 -0000	1.1
+++ net-mgmt/virt-viewer/pkg-plist	12 Jul 2011 23:06:11 -0000
@@ -1,7 +1,30 @@
- at comment $FreeBSD: ports/net-mgmt/virt-viewer/pkg-plist,v 1.1 2011/07/08 19:41:22 decke Exp $
 bin/virt-viewer
-%%DATADIR%%/ui/about.glade
-%%DATADIR%%/ui/auth.glade
-%%DATADIR%%/ui/viewer.glade
+%%NLS%%share/locale/as/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/bn_IN/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/de/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/es/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/gu/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/hi/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/it/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/kn/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/ml/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/mr/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/or/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/ta/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/te/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/virt-viewer.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/virt-viewer.mo
+%%DATADIR%%/ui/virt-viewer-about.xml
+%%DATADIR%%/ui/virt-viewer-auth.xml
+%%DATADIR%%/ui/virt-viewer.xml
 @dirrm %%DATADIR%%/ui
 @dirrm %%DATADIR%%
Index: net-mgmt/virt-viewer/files/post-po__Makefile
===================================================================
RCS file: net-mgmt/virt-viewer/files/post-po__Makefile
diff -N net-mgmt/virt-viewer/files/post-po__Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ net-mgmt/virt-viewer/files/post-po__Makefile	12 Jul 2011 21:57:27 -0000
@@ -0,0 +1,11 @@
+--- ./po/Makefile.orig	2011-07-12 14:56:48.000000000 -0700
++++ ./po/Makefile	2011-07-12 14:57:20.000000000 -0700
+@@ -33,7 +33,7 @@
+ datadir = ${datarootdir}
+ datarootdir = ${prefix}/share
+ libdir = ${exec_prefix}/lib
+-DATADIRNAME = lib
++DATADIRNAME = share
+ itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+ subdir = po
+ install_sh = ${SHELL} /home/jhelfman/ports/net-mgmt/virt-viewer/work/virt-viewer-0.4.0/install-sh
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list