Menu ▾ ▴

#155 gio2 0.90.5 fails to compile with glib 2.27.2

closed-fixed
None
5
2010-11-12
2010-11-06
No

(I know that glib 2.27.x is development branch, however anyway reporting)

gio2 0.90.5 fails to compile with glib 2.27.2 as below:
-----------------------------------------------------------------------------
gdesktopappinfo.c: In function 'Init_gdesktopappinfo':
gdesktopappinfo.c:80:72: error: 'G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME' undeclared (first use in this function)
gdesktopappinfo.c:80:72: note: each undeclared identifier is reported only once for each function it appears in
make: *** [gdesktopappinfo.o] Error 1
-----------------------------------------------------------------------------

It seems that "G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME" definition is
completely removed from gio-unix-2.0/gio/gdesktopappinfo.h in 2.27.x branch:

https://bugzilla.gnome.org/show_bug.cgi?id=631410
http://git.gnome.org/browse/glib/commit/?id=9b262f1

For now I've applied the following patch to Fedora's ruby-gio2.
http://pkgs.fedoraproject.org/gitweb/?p=rubygem-gio2.git;a=blob;f=ruby-gio2-0.90.5-gio-api-22701.patch;h=62fe8237;hb=refs/tags/rubygem-gio2-0.90.5-4.fc15

Discussion

  • Nikolai Weibull

    Nikolai Weibull - 2010-11-12
    • status: open --> closed
     
  • Nikolai Weibull

    Nikolai Weibull - 2010-11-12

    The constant has been removed. Compilation should work against latest Subversion.

     
  • Nikolai Weibull

    Nikolai Weibull - 2010-11-12
    • assigned_to: nobody --> pcppopper
    • status: closed --> closed-fixed
     

Log in to post a comment.