Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 521840

Summary: app-i18n/imsettings-1.5.0 with <x11-libs/libgxim-0.4.0 - loopback.c:36:33: fatal error: libgxim/gximmessage.h: No such file or directory
Product: Gentoo Linux Reporter: Chandler Paul <thatslyude>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: imsettings-1.5.1.ebuild

Description Chandler Paul 2014-08-31 18:56:23 UTC
Created attachment 384010 [details]
imsettings-1.5.1.ebuild

Because some of the libgxim headers were renamed in version 0.4.0, the official ebuild for imsettings-1.5 doesn't actually build properly, and runs into this error while emerging:

loopback.c:36:33: fatal error: libgxim/gximmessage.h: No such file or directory
 #include <libgxim/gximmessage.h>
                                 ^
compilation terminated.

It looks like there has already been a fix for this committed upstream at https://bitbucket.org/tagoh/imsettings/commits/f45bd0f5e5ed2b5fb8831e8af0fc101199c26fd2?at=1.5.1 , and is available in the next version up: 1.5.1, which contains a few trivial fixes and cleanups. I've updated the ebuild for 1.5.1 and attached it to the bug report.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-04 09:45:09 UTC
There never was a =x11-libs/libgxim-0.4.0.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-04 09:45:59 UTC
Comment on attachment 384010 [details]
imsettings-1.5.1.ebuild

--- imsettings-1.5.0.ebuild     2014-01-11 15:53:01.902662984 +0100
+++ -   2014-09-04 11:45:28.454718905 +0200
@@ -8,7 +8,7 @@

 DESCRIPTION="Delivery framework for general Input Method configuration"
 HOMEPAGE="http://tagoh.github.com/imsettings/"
-SRC_URI="http://imsettings.googlecode.com/files/${P}.tar.bz2"
+SRC_URI="https://bitbucket.org/tagoh/imsettings/downloads/${P}.tar.bz2"

 LICENSE="LGPL-2.1"
 SLOT="0"
@@ -22,7 +22,7 @@
        >=dev-libs/glib-2.26
        sys-apps/dbus
        >=x11-libs/gtk+-2.12:2
-       >=x11-libs/libgxim-0.3.1
+       >=x11-libs/libgxim-0.4.0
        >=x11-libs/libnotify-0.7
        x11-libs/libX11
        gconf? ( gnome-base/gconf )
Comment 3 Naohiro Aota gentoo-dev 2015-02-07 13:42:41 UTC
Applied the patch in 1.5.0. Also it get bumped to 1.6.8.