Date: Mon, 2 Jan 2012 04:54:44 GMT From: Barbara <barbara.xxx1975@libero.it> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163761: deskutils/vboxgtk: Message-ID: <201201020454.q024siCw015190@red.freebsd.org> Resent-Message-ID: <201201020500.q0250R1Z030093@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201020454.q024siCw015190>