ports/173887: [PATCH] chinese/fcitx missing depends after choosing QT4 option
Hon-Yu Lawrence Cheung
cheunghonyu at gmail.com
Sat Nov 24 02:30:00 UTC 2012
>Number: 173887
>Category: ports
>Synopsis: [PATCH] chinese/fcitx missing depends after choosing QT4 option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 24 02:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Hon-Yu Lawrence Cheung
>Release: FreeBSD 9-RC3 amd64
>Organization:
>Environment:
FreeBSD a5552.honyucheung.net 9.1-RC3 FreeBSD 9.1-RC3 #2 r242544: Sun Nov 4 10:30:38 HKT 2012 root at a5552.honyucheung.net:/usr/obj/usr/src/sys/ACER5552 amd64
>Description:
chinese/fcitx fail to compile with option QT4
>How-To-Repeat:
If you compile chinese/fcitx with QT4 option, it will stop in configure stage result from missing depends of QT components.
===================================
-- checking for module 'dbus-1>=1.1.0'
-- found dbus-1, version 1.4.14
-- checking for module 'gio-2.0>=2.26'
-- found gio-2.0, version 2.28.8
-- checking for module 'gobject-introspection-1.0'
-- found gobject-introspection-1.0, version 0.10.8
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_INCLUDE_DIR
QT_QTCORE_LIBRARY QT_QTGUI_INCLUDE_DIR QT_QTGUI_LIBRARY
QT_QTDBUS_INCLUDE_DIR QT_QTDBUS_LIBRARY QT_UIC_EXECUTABLE) (Required is at
least version "4.5")
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake/Modules/FindQt4.cmake:1186 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/frontend/qt/CMakeLists.txt:2 (find_package)
-- Configuring incomplete, errors occurred!
*** [do-configure] Error code 1
Stop in /usr/ports/chinese/fcitx.
>Fix:
Apply the patch.txt
Patch attached with submission follows:
--- Makefile.orig 2012-11-24 09:33:50.000000000 +0800
+++ Makefile 2012-11-24 09:33:54.000000000 +0800
@@ -68,12 +68,11 @@
PLIST_SUB+= GTK3="@comment "
SUB_LIST+= GTK3_IM=xim
.endif
.if ${PORT_OPTIONS:MQT4}
-USE_QT= yes
-USE_QT4= gui
+USE_QT4= qmake_build moc_build rcc_build uic_build dbus gui inputmethods
CMAKE_ARGS+= -DENABLE_QT_IM_MODULE=ON
PLIST_SUB+= QT4=""
.else
PLIST_SUB+= QT4="@comment "
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list