WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: in glib2 2.30.x series G_CONST_RETURN is deprecated  (Read 5178 times)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
in glib2 2.30.x series G_CONST_RETURN is deprecated
« on: November 23, 2011, 09:40:37 AM »
so please update following

pango to 1.29.5
librsvg to 2.34.2
gdk-pixbuf2 to 2.24.0

there may be others effected from this change

also replacing G_CONST_RETURN with const fixes build errors

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: in glib2 2.30.x series G_CONST_RETURN is deprecated
« Reply #1 on: November 23, 2011, 10:55:26 AM »
Ok, I will aim for it tonight on those of mine.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: in glib2 2.30.x series G_CONST_RETURN is deprecated
« Reply #2 on: November 23, 2011, 08:36:18 PM »
gdk-pixbuf2 is now at 2.24.0, but pango 1.29.5 will not build with the stable glib 2.30.x, so I used 1.29.4 instead, that is what Arch linux is using now.


Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: in glib2 2.30.x series G_CONST_RETURN is deprecated
« Reply #3 on: November 24, 2011, 01:53:51 AM »
thanks no problem with pango 1.29.4 too
G_CONST_RETURN is removed also here

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: in glib2 2.30.x series G_CONST_RETURN is deprecated
« Reply #4 on: November 25, 2011, 04:16:52 AM »
I can see plenty of references to this problem, but so far no way to fix it..

Code: [Select]
  CC     rsvg_view-test-display.o
In file included from /usr/local/include/gdk/gdkscreen.h:32:0,
                 from /usr/local/include/gdk/gdkapplaunchcontext.h:31,
                 from /usr/local/include/gdk/gdk.h:32,
                 from /usr/local/include/gtk/gtk.h:32,
                 from test-display.c:30:
/usr/local/include/gdk/gdktypes.h:55:23: fatal error: gdkconfig.h: No such file or directory

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: in glib2 2.30.x series G_CONST_RETURN is deprecated
« Reply #5 on: November 25, 2011, 07:18:04 AM »
OK libcroco, libgsf, librsvg posted - it'd be good if somebody could test