Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#27235 closed defect (fixed)

gnome-terminal has an undeclared dependency on libgnome

Reported by: cubranic@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
Port: gnome-terminal

Description (last modified by ryandesign (Ryan Carsten Schmidt))

  gnome-terminal @2.30.2_1+universal (active)

$ gnome-terminal
Xlib:  extension "RANDR" missing on display ":0.0".
**
ERROR:terminal-app.c:1451:terminal_app_init: assertion failed: (app->system_font_desc != NULL)
Abort trap

According to SuSE Bugzilla (https://bugzilla.novell.com/show_bug.cgi?id=598818), the problem is that gnome-terminal has an undeclared dependency on libgnome.

$ port installed libgnome
None of the specified ports are installed.

$ sudo port install libgnome
...
--->  Activating libgnome @2.30.0_0

$ gnome-terminal

Now works correctly.

Change History (5)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…

Please use WikiFormatting and Cc applicable port maintainers.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Note that it's not the libgnome library that gnome-terminal needs; it needs the schemas the libgnome port registers when it's activated. This explains why gnome-terminal still works if you install libgnome and then deactivate libgnome. You might think this means libgnome should just be a build dependency, but this would break gnome-terminal if libgnome is ever corrected to unregister the schemas when it's deactivated. Probably it would be most correct for libgnome to be a runtime dependency of gnome-terminal.

I increased the revision of gnome-terminal in r85008 to get libgnome installed for those users who didn't have it before.

comment:4 Changed 13 years ago by dbevans (David B. Evans)

libgnome moved to depends_run in r85018. Thanks for your insights, Ryan.

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.