Bug 173887 - [PATCH] chinese/fcitx missing depends after choosing QT4 option
Summary: [PATCH] chinese/fcitx missing depends after choosing QT4 option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-24 02:30 UTC by cheunghonyu
Modified: 2012-11-25 13:26 UTC (History)
0 users

See Also:


Attachments
file.diff (489 bytes, patch)
2012-11-24 02:30 UTC, cheunghonyu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cheunghonyu 2012-11-24 02:30:00 UTC
chinese/fcitx fail to compile with option QT4

Fix: Apply the patch.txt

Patch attached with submission follows:
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.
Comment 1 Edwin Groothuis freebsd_committer 2012-11-24 02:30:07 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer 2012-11-24 02:30:07 UTC
Maintainer of chinese/fcitx,

Please note that PR ports/173887 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173887

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Wen Heping freebsd_committer 2012-11-25 13:26:39 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!