From nobody@FreeBSD.org  Mon Jan  2 04:54:45 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 323F71065673
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 Jan 2012 04:54:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 218398FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 Jan 2012 04:54:45 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q024sitY015191
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 2 Jan 2012 04:54:44 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q024siCw015190;
	Mon, 2 Jan 2012 04:54:44 GMT
	(envelope-from nobody)
Message-Id: <201201020454.q024siCw015190@red.freebsd.org>
Date: Mon, 2 Jan 2012 04:54:44 GMT
From: Barbara <barbara.xxx1975@libero.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: deskutils/vboxgtk: 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: avl@FreeBSD.org

>Number:         163761
>Category:       ports
>Synopsis:       deskutils/vboxgtk: fix install failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    avl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 05:00:27 UTC 2012
>Closed-Date:    Sun Jan 27 11:12:45 UTC 2013
>Last-Modified:  Sun Jan 27 11:12:45 UTC 2013
>Originator:     Barbara
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD satanasso.local.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Dec 17 20:05:39 CET 2011     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

>Description:
I tried installing the last version of vboxgtk, but starting it I get the following error:

$ vboxgtk 

(vboxgtk:20081): Gtk-WARNING **: Unknown property: GtkAboutDialog.license-type
/usr/local/lib/python2.7/site-packages/gi/types.py:44: Warning: cannot create instance of abstract (non-instantiatable) type `GtkBox'
  return info.invoke(*args)


From what I can understand after reading about that error message, the problem is that it has been developed with a version of glade targeting gtk-3.
In fact, installing x11-toolkits/gtk30, the application starts normally.

With the attached patch the application starts even using gtk-2.
As it's the first time I see that application, I can't judge if something get broken by this and at the moment I have no time to do test it thoroughly against both gtk versions.
>How-To-Repeat:
Install deskutils/vboxgtk and start vboxgtk without having x11-toolkits/gtk30 installed.
>Fix:
Either make the port depending on x11-toolkits/gtk30 or patch ${WRKSRC}/data/xml/vboxgtk.xml

Patch attached with submission follows:

--- Makefile.orig	2012-01-02 00:56:48.000000000 +0100
+++ Makefile	2012-01-02 05:32:15.000000000 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=	vboxgtk
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	deskutils emulators gnome
 MASTER_SITES=	SF
 
@@ -34,5 +35,11 @@
 .endif
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
 		s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKSRC}/bin/${PORTNAME}
+	@${REINPLACE_CMD} -e 's|GtkBox|GtkBox|g ; \
+		s|GtkBox|GtkHBox|g ; \
+		s|GtkScale|GtkHScale|g ; \
+		s|GtkPaned|GtkHPaned|g ; \
+		s|GtkButtonBox|GtkHButtonBox|g' \
+		${WRKSRC}/data/xml/vboxgtk.xml
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->avl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 2 05:00:41 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163761 

From: Barbara <barbara.xxx1975@libero.it>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163761: deskutils/vboxgtk:
Date: Mon, 2 Jan 2012 06:13:33 +0100 (CET)

 Sorry, I forgot to complete the summary of the problem.
 
 And also there is a wrong (void) substitution in the patch: the first one 
 should replace GtkBox with GtkHBox and the following line could be deleted.
 The correct patch could be found here:
 http://pastebin.com/2d4y3G1e
 

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163761: deskutils/vboxgtk:
Date: Mon, 2 Jan 2012 07:45:49 -0600

 ----- Forwarded message from Barbara <barbara.xxx1975@libero.it> -----
 
 Date: Mon, 2 Jan 2012 06:22:58 +0100 (CET)
 From: Barbara <barbara.xxx1975@libero.it>
 To: freebsd-ports-bugs@freebsd.org
 Subject: Re: ports/163761: deskutils/vboxgtk:
 
 Sorry, I forgot to complete the summary of the problem.
 
 And also there is a wrong (void) substitution in the patch: the first one
 should replace GtkBox with GtkHBox and the following line could be deleted.
 The correct patch can be found here:
 http://pastebin.com/2d4y3G1e
 
 ----- End forwarded message -----
Responsible-Changed-From-To: avl->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sun Feb 12 00:06:47 UTC 2012 
Responsible-Changed-Why:  
committer&maintainer timeout (avl ; 41 days) / last commit: 12 days ago 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163761 
Responsible-Changed-From-To: pgollucci->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jun 22 02:20:27 UTC 2012 
Responsible-Changed-Why:  
With bugmeister hat, return to pool due to assignee ENOTIME. 

Note that this PR was already available for commit via maintainer-timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163761 
Responsible-Changed-From-To: freebsd-ports-bugs->avl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jul 16 06:59:10 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163761 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163761: commit references a PR
Date: Sun, 27 Jan 2013 11:09:09 +0000 (UTC)

 Author: bar
 Date: Sun Jan 27 11:08:55 2013
 New Revision: 311054
 URL: http://svnweb.freebsd.org/changeset/ports/311054
 
 Log:
   - Update to version 0.8.2
   - Convert to OptionsNG
   - Trim Makefile headers
   
   PR:		ports/163761
   PR:		ports/175246
   Approved by:	flo (mentor), (maintainer timeout)
 
 Modified:
   head/deskutils/vboxgtk/Makefile
   head/deskutils/vboxgtk/distinfo
 
 Modified: head/deskutils/vboxgtk/Makefile
 ==============================================================================
 --- head/deskutils/vboxgtk/Makefile	Sun Jan 27 10:05:18 2013	(r311053)
 +++ head/deskutils/vboxgtk/Makefile	Sun Jan 27 11:08:55 2013	(r311054)
 @@ -1,27 +1,26 @@
 -# New ports collection makefile for:	vboxgtk
 -# Date created:				13 June 2009
 -# Whom:					Alexander Logvinov <avl@FreeBSD.org>
 -#
 +# Created by: Alexander Logvinov <avl@FreeBSD.org>
  # $FreeBSD$
 -#
  
  PORTNAME=	vboxgtk
 -PORTVERSION=	0.7.0
 -PORTREVISION=	2
 +PORTVERSION=	0.8.2
  CATEGORIES=	deskutils emulators gnome
 -MASTER_SITES=	SF
 +MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
  
  MAINTAINER=	avl@FreeBSD.org
  COMMENT=	GTK frontend for VirtualBox
  
 -RUN_DEPENDS=	${PYTHON_SITELIBDIR}/xpcom/vboxxpcom.py:${PORTSDIR}/emulators/virtualbox-ose-legacy
 +RUN_DEPENDS=	${PYTHON_SITELIBDIR}/xpcom/vboxxpcom.py:${PORTSDIR}/emulators/virtualbox-ose
  
  USE_PYTHON=	yes
 -USE_GNOME=	pygtk2
 +USE_GNOME=	gtk30 pygtk2
  USE_PYDISTUTILS=	yes
  INSTALLS_ICONS=	yes
  
 -.if !defined(WITHOUT_NLS)
 +OPTIONS_DEFINE=	NLS
 +
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MNLS}
  USE_GETTEXT=	yes
  PLIST_SUB+=	NLS=""
  .else
 @@ -29,7 +28,7 @@ PLIST_SUB+=	NLS="@comment "
  .endif
  
  post-patch:
 -.if defined(WITHOUT_NLS)
 +.if ! ${PORT_OPTIONS:MNLS}
  	@${REINPLACE_CMD} -e '/self.add_mo_files/d' \
  		-e '/os.system("intltool/d' ${WRKSRC}/setup.py
  .endif
 
 Modified: head/deskutils/vboxgtk/distinfo
 ==============================================================================
 --- head/deskutils/vboxgtk/distinfo	Sun Jan 27 10:05:18 2013	(r311053)
 +++ head/deskutils/vboxgtk/distinfo	Sun Jan 27 11:08:55 2013	(r311054)
 @@ -1,2 +1,2 @@
 -SHA256 (vboxgtk-0.7.0.tar.gz) = 19294561ae9f67a3e7a22a35158f88fc7ae0f4c652f64d6076401a902c3afd59
 -SIZE (vboxgtk-0.7.0.tar.gz) = 41867
 +SHA256 (vboxgtk-0.8.2.tar.gz) = 317d7b55cc0c98bf3c1fe294a8fc62668709ae14f12b3bf3b32d5fa33451fe95
 +SIZE (vboxgtk-0.8.2.tar.gz) = 43717
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: bar 
State-Changed-When: Sun Jan 27 11:12:44 UTC 2013 
State-Changed-Why:  
Superseded by ports/175246 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163761 
>Unformatted:
