Opened 11 years ago

Closed 10 years ago

#41428 closed defect (fixed)

vte can no longer be loaded by geany

Reported by: benjamin.weaver@… Owned by: kiarash@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: dbevans (David B. Evans), ctreleaven (Craig Treleaven)
Port: geany

Description

I typically run geany with the vte plugin, for example:

/opt/local/bin/geany --vte-lib=/opt/local/lib/libvte.dylib

Recently, libvte.dylib disappeared, so I tried running it with libvte2_90.9.dylib, but geany never starts. Here are the error messages I get:

weaver@Orac[14]: /opt/local/bin/geany --vte-lib=/opt/local/lib/libvte2_90.9.dylib

(geany:44730): GLib-GObject-WARNING **: cannot register existing type 'GtkWidget'

(geany:44730): GLib-GObject-WARNING **: cannot add class private field to invalid type '<invalid>'

(geany:44730): GLib-GObject-WARNING **: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(geany:44730): GLib-GObject-CRITICAL **: void g_type_add_interface_static(GType, GType, const GInterfaceInfo *): assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(geany:44730): GLib-GObject-WARNING **: cannot register existing type 'GtkBuildable'

(geany:44730): GLib-GObject-CRITICAL **: void g_type_interface_add_prerequisite(GType, GType): assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(geany:44730): GLib-CRITICAL **: void g_once_init_leave(volatile void *, gsize): assertion 'result != 0' failed

(geany:44730): GLib-GObject-CRITICAL **: void g_type_add_interface_static(GType, GType, const GInterfaceInfo *): assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(geany:44730): GLib-GObject-CRITICAL **: GType g_type_register_static(GType, const gchar *, const GTypeInfo *, GTypeFlags): assertion 'parent_type > 0' failed

(geany:44730): GLib-GObject-WARNING **: cannot add class private field to invalid type '<invalid>'

(geany:44730): GLib-GObject-CRITICAL **: void g_type_add_interface_static(GType, GType, const GInterfaceInfo *): assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(geany:44730): GLib-CRITICAL **: void g_once_init_leave(volatile void *, gsize): assertion 'result != 0' failed

(geany:44730): GLib-GObject-CRITICAL **: gpointer g_object_new(GType, const gchar *, ...): assertion 'G_TYPE_IS_OBJECT (object_type)' failed


Attachments (1)

patch-geany-vte-gtk2-compat.diff (2.0 KB) - added by dbevans (David B. Evans) 10 years ago.
Patch revised to add intltool configuration fix

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to kiarash@…
Port: geany added

comment:2 Changed 10 years ago by dbevans (David B. Evans)

New port vte-gtk2-compat, based on vte 0.28.2, committed in r122208. This port provides the gtk2 compatibility required by geany. Patch attached to rebuild geany with this support restored.

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

comment:4 Changed 10 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

comment:5 Changed 10 years ago by dbevans (David B. Evans)

Keywords: haspatch added

Changed 10 years ago by dbevans (David B. Evans)

Patch revised to add intltool configuration fix

comment:6 Changed 10 years ago by dbevans (David B. Evans)

In addition to the vte gtk2 compatibility issue, this port also suffers from the, by now, well known intltool configuration issue. This will cause configuration failure if the variants of perl5 and intltool are not the same.

The attached patch is updated to include the fix which involves replacing m4/intltool.m4 with our patched version and reconfiguring with autoreconf.

comment:7 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Attached patch committed in r122323, maintainer timeout.

Note: See TracTickets for help on using tickets.