Created attachment 314661 [details] build log fcitx 4.2.4 is missing one dependecy: enchant. Without it, cmake fails at : Could NOT find Enchant (missing: ENCHANT_LIBRARIES ENCHANT_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) cmake/FindEnchant.cmake:31 (find_package_handle_standard_args) CMakeLists.txt:57 (find_package) -- Configuring incomplete, errors occurred! After mannually install enchant, fcitx builds and worls well.
Created attachment 314663 [details] output of emerge -pqv
Created attachment 314665 [details] emerge --info
Created attachment 314667 [details] build environment
app-text/iso-codes app-text/enchant dev-libs/icu These are the new dependence
and gir USE flag should be changed to introspection
Created attachment 314831 [details] fcitx-4.2.4-r1.ebuild fcitx-4.2.4-r1.ebuild
Comment on attachment 314831 [details] fcitx-4.2.4-r1.ebuild # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit cmake-utils DESCRIPTION="Free Chinese Input Toy of X - Input Method Server for X window system" HOMEPAGE="http://fcitx.googlecode.com" SRC_URI="${HOMEPAGE}/files/${P}.tar.xz ${HOMEPAGE}/files/pinyin.tar.gz table? ( ${HOMEPAGE}/files/table.tar.gz )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+cairo debug +gtk +gtk3 introspection lua opencc +pango qt snooper static-libs table test" RESTRICT="mirror" RDEPEND="cairo? ( x11-libs/cairo[X] pango? ( x11-libs/pango[X] ) !pango? ( media-libs/fontconfig ) ) sys-apps/dbus gtk3? ( x11-libs/gtk+:3 dev-libs/glib:2 dev-libs/dbus-glib ) gtk? ( x11-libs/gtk+:2 dev-libs/glib:2 dev-libs/dbus-glib ) introspection? ( dev-libs/gobject-introspection ) opencc? ( app-i18n/opencc ) qt? ( x11-libs/qt-gui:4 x11-libs/qt-dbus:4 ) lua? ( dev-lang/lua ) x11-libs/libX11" DEPEND="${RDEPEND} app-arch/tar app-arch/xz-utils app-text/iso-codes app-text/enchant dev-libs/icu dev-util/intltool app-arch/xz-utils x11-libs/libxkbfile" gtk_query_immodules_2() { local query_exec="${1}" local gtk_conf="${2}" local gtk_conf_dir=$(dirname "${gtk_conf}") einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing:" einfo "-> ${gtk_conf}" mkdir -p "${gtk_conf_dir}" local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgtk_query_immodules) if [ -z "${tmp_file}" ]; then ewarn "gtk_query_immodules: cannot create temporary file" return 1 fi if "${query_exec}" > "${tmp_file}"; then cat "${tmp_file}" > "${gtk_conf}" || \ ewarn "Failed to write to ${gtk_conf}" else ewarn "Cannot update gtk.immodules, file generation failed" fi rm "${tmp_file}" return 0 } update_gtk_immodules() { local GTK2_CONFDIR="/etc/gtk-2.0" # bug #366889 if has_version '>=x11-libs/gtk+-2.22.1-r1:2' || has_multilib_profile; then GTK2_CONFDIR="${GTK2_CONFDIR}/$(get_abi_CHOST)" fi mkdir -p "${EPREFIX}${GTK2_CONFDIR}" if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" ]; then gtk_query_immodules_2 \ "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" \ "${EPREFIX}${GTK2_CONFDIR}/gtk.immodules" fi } update_gtk3_immodules() { if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" ]; then "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache fi } src_prepare() { cp ${DISTDIR}/pinyin.tar.gz ${S}/data || die if use table; then cp ${DISTDIR}/table.tar.gz ${S}/data/table || die fi } src_configure() { local mycmakeargs=( $(cmake-utils_use_enable cairo CAIRO ) \ $(cmake-utils_use_enable debug DEBUG ) \ $(cmake-utils_use_enable gtk GTK2_IM_MODULE ) \ $(cmake-utils_use_enable gtk3 GTK3_IM_MODULE ) \ $(cmake-utils_use_enable introspection GIR ) \ $(cmake-utils_use_enable lua LUA ) \ $(cmake-utils_use_enable opencc OPENCC ) \ $(cmake-utils_use_enable pango PANGO ) \ $(cmake-utils_use_enable qt QT_IM_MODULE ) \ $(cmake-utils_use_enable static-libs STATIC ) \ $(cmake-utils_use_enable snooper SNOOPER ) \ $(cmake-utils_use_enable table TABLE ) \ $(cmake-utils_use_enable test TEST ) ) cmake-utils_src_configure } pkg_postinst() { use gtk3 && update_gtk3_immodules use gtk && update_gtk_immodules } pkg_postrm() { use gtk3 && update_gtk3_immodules use gtk && update_gtk_immodules }
The global useflag qt4 should be used instead of the local qt.
Additional dependencies are added now. The local use flag is changed to qt4. Thanks for reporting