Menu

#413 libfm doesn't build with latest glib

closed-duplicate
nobody
None
9
2011-02-05
2011-01-18
No

latest glib dropped support for GIO.

libfm fail to build:

gio/fm-app-lookup.c:38:62: error: expected ')' before '*' token
gio/fm-app-lookup.c:41:67: error: expected ')' before '*' token
gio/fm-app-lookup.c: In function 'fm_app_lookup_register_type':
gio/fm-app-lookup.c:43:1: error: 'app_lookup_iface_init' undeclared (first use in this function)
gio/fm-app-lookup.c:43:1: note: each undeclared identifier is reported only once for each function it appears in
gio/fm-app-lookup.c:43:1: error: 'G_TYPE_DESKTOP_APP_INFO_LOOKUP' undeclared (first use in this function)
gio/fm-app-lookup.c: In function 'fm_app_lookup_register':
gio/fm-app-lookup.c:96:36: error: 'G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME' undeclared (first use in this function)
gio/fm-app-lookup.c: At top level:
gio/fm-app-lookup.c:102:62: error: expected ')' before '*' token
gio/fm-app-lookup.c:108:60: error: expected ')' before '*' token
gio/module.c: In function 'g_io_module_query':
gio/module.c:48:23: error: 'G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME' undeclared (first use in this function)
gio/module.c:48:23: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [libgiofm_la-fm-app-lookup.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [libgiofm_la-module.lo] Error 1
mv -f .deps/libfm_la-fm-config.Tpo .deps/libfm_la-fm-config.Plo
mv -f .deps/libfm_la-fm.Tpo .deps/libfm_la-fm.Plo
make[4]: Leaving directory `/usr/src/packages/BUILD/libfm-0.1.14/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/libfm-0.1.14/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/libfm-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/libfm-0.1.14'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.PRTPw0 (%build)

fix this bug is a top priority, distros are going out, like opensuse 11.4 and no libfm = no pcmanfm = no lxde.

please fix it as soon as possible

Discussion

  • Andrea Florio

    Andrea Florio - 2011-01-18
    • priority: 5 --> 9
     
  • Guido Berhoerster

    gio has dropped the extension point for setting up custom preferences for URI scheme handlers. For glib > 2.27 libfm should just disable this gio extension, use the glib default mechanism based on x-scheme-handler and adapt libfm-pref-apps accordingly.

     
  • PCMan

    PCMan - 2011-02-05
    • status: open --> closed-duplicate
     

Anonymous
Anonymous

Add attachments
Cancel