[MacPorts] #55345: yelp @3.22.0 build failure: libyelp/yelp-help-list.c: 'gio/gdesktopappinfo.h' file not found

MacPorts noreply at macports.org
Sun Apr 1 03:39:21 UTC 2018


#55345: yelp @3.22.0 build failure: libyelp/yelp-help-list.c:
'gio/gdesktopappinfo.h' file not found
---------------------+----------------------
  Reporter:  p-bro   |      Owner:  dbevans
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  yelp    |
---------------------+----------------------

Comment (by kencu):

 so `<gio/gdesktopappinfo.h>` looks like it's for X11 builds.

 For +quartz builds, you would need to use `<gio/gosxappinfo.h>` instead.

 Changing the header is easy, but then you need to rewrite (at least) the
 GUI parts of `yelp-help-list.c` to use it.

 I tried digging in. Change `GDesktopAppInfo` to `GOsxAppInfo` in that
 file, and then `g_desktop_app_info_new` to `g_osx_app_info_new`, but it
 was not going to be that easy, and the application builds through, but
 just SegFaults, no doubt because I didn't initialize things correctly.

 SO - AFAICT - yelp is +x11 only for the time being, until someone fixes
 this stuff up.

-- 
Ticket URL: <https://trac.macports.org/ticket/55345#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list