From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 2 05:00:32 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF3681065678 for ; Mon, 2 Jan 2012 05:00:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 04F058FC19 for ; Mon, 2 Jan 2012 05:00:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0250Rav030094 for ; Mon, 2 Jan 2012 05:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0250R1Z030093; Mon, 2 Jan 2012 05:00:27 GMT (envelope-from gnats) Resent-Date: Mon, 2 Jan 2012 05:00:27 GMT Resent-Message-Id: <201201020500.q0250R1Z030093@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Barbara Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 323F71065673 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/163761: deskutils/vboxgtk: X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 05:00:32 -0000 >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 >Release-Note: >Audit-Trail: >Unformatted: