[MacPorts] #39756: Adding runtime dep of yelp to gnome apps breaks +quartz variant
MacPorts
noreply at macports.org
Tue Jul 16 01:24:30 PDT 2013
#39756: Adding runtime dep of yelp to gnome apps breaks +quartz variant
-------------------------+----------------------
Reporter: c.herbig@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: yelp |
-------------------------+----------------------
Comment (by c.herbig@…):
Huzzah!!! The problem is solved (except for webkit-gtk still wanting some
x11 deps)!!!
Step 1, comment out the
{{{
#include <gdk/gdkx.h>
}}}
line in yelp-application.c
Step 2, comment out all of this:
{{{
/* Metacity no longer does anything useful with gtk_window_present */
gdk_window = gtk_widget_get_window (GTK_WIDGET (window));
if (gdk_window)
gdk_x11_window_move_to_current_desktop (gdk_window);
/* Ensure we actually present the window when invoked from the command
* line. This is somewhat evil, but the minor evil of Yelp stealing
* focus (after you requested it) is outweighed for me by the major
* evil of no help window appearing when you click Help.
*/
if (data->timestamp == 0)
data->timestamp = gdk_x11_get_server_time (gtk_widget_get_window
(GTK_WIDGET (window)));
gtk_window_present_with_time (GTK_WINDOW (window), data->timestamp);
}}}
and insert
{{{
gtk_window_present(GTK_WIDGET (window));
}}}
and the yelp seems to work just fine.
I'll try to make an actual patch tomorrow.
--
Ticket URL: <https://trac.macports.org/ticket/39756#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list