Loqui fails to build with glib 2.31

Bug #881220 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Loqui
Fix Released
Medium
Yoichi

Bug Description

Loqui 0.5.1-1 on Ubuntu 11.10 with glib 2.31 from this PPA: https://launchpad.net/~gnome3-team/+archive/gnome3/

make[5]: Entering directory `/«PKGBUILDDIR»/libloqui'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -I.. -DG_LOG_DOMAIN=\"libloqui\" -g -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -g -O2 -c -o loqui-utils.lo loqui-utils.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -I.. -DG_LOG_DOMAIN=\"libloqui\" -g -Wall -Wredundant-decls -Wmissing-declarations -Wmissing-prototypes -g -O2 -c loqui-utils.c -fPIC -DPIC -o .libs/loqui-utils.o
In file included from ../libloqui/lqgkeyfile.h:28:0,
                 from ../libloqui/loqui-pref.h:36,
                 from loqui-core.h:36,
                 from loqui-static-core.h:24,
                 from loqui-utils.c:34:
/usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly."

From glib 2.31's NEWS:
* It is no longer possible to include individual headers (like
  "ghash.h") -- you must #include <glib.h>.

http://git.gnome.org/browse/glib/tree/NEWS#n49

Revision history for this message
Jeremy Bícha (jbicha) wrote :
description: updated
Revision history for this message
Yoichi (sunnyone41) wrote :

The reported error occurs in lqgkeyfile.c, but its file is needless today (it can be replaced with GKeyFile),
so I removed lqgkeyfile.[ch].

I commited fixed files to the repositry. Can you try compiling the source of trunk on your environment?
Or should I make a tarball of the trunk?

Changed in loqui:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Yoichi (sunnyone41)
Revision history for this message
Yoichi (sunnyone41) wrote :

Loqui 0.5.2 was released. 0.5.2 has the changes of this ticket. Can you try 0.5.2?

Yoichi (sunnyone41)
Changed in loqui:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.