ports/163761: deskutils/vboxgtk:

Barbara barbara.xxx1975 at libero.it
Mon Jan 2 05:00:32 UTC 2012


>Number:         163761
>Category:       ports
>Synopsis:       deskutils/vboxgtk:
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 05:00:27 UTC 2012
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list