aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/fcitx
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2018-11-07 19:48:30 +0800
committerwen <wen@FreeBSD.org>2018-11-07 19:48:30 +0800
commit478b1dea08aff8f0676c9f7d4816bdaac0ff8ae6 (patch)
treed499efd2d7d105e04439a96955b46945f83abc07 /chinese/fcitx
parent3cb6be82fee1d798d3d2756a779640f8e6c81370 (diff)
downloadfreebsd-ports-gnome-478b1dea08aff8f0676c9f7d4816bdaac0ff8ae6.tar.gz
freebsd-ports-gnome-478b1dea08aff8f0676c9f7d4816bdaac0ff8ae6.tar.zst
freebsd-ports-gnome-478b1dea08aff8f0676c9f7d4816bdaac0ff8ae6.zip
- Update to 4.2.9.6
PR: 231612 Submitted by: ryo@tetera.org Approved by: maintainer
Diffstat (limited to 'chinese/fcitx')
-rw-r--r--chinese/fcitx/Makefile17
-rw-r--r--chinese/fcitx/distinfo6
-rw-r--r--chinese/fcitx/files/patch-src_frontend_qt_fcitxwatcher.cpp10
-rw-r--r--chinese/fcitx/files/patch-tools__gui__quickphrase-editor__CMakeLists.txt10
-rw-r--r--chinese/fcitx/pkg-plist15
5 files changed, 35 insertions, 23 deletions
diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile
index 17e966a8d1c2..3c81fc03ddf4 100644
--- a/chinese/fcitx/Makefile
+++ b/chinese/fcitx/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= fcitx
-PORTVERSION= 4.2.9.1
-PORTREVISION= 4
+PORTVERSION= 4.2.9.6
CATEGORIES= chinese x11
MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \
http://download.fcitx-im.org/data/:data
@@ -21,14 +20,18 @@ COMMENT= Flexible Input Method Framework
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
+ bash:shells/bash \
+ ${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config
LIB_DEPENDS= libcairo.so:graphics/cairo \
libdbus-1.so:devel/dbus \
libXfixes.so:x11/libXfixes \
libXinerama.so:x11/libXinerama \
libXrender.so:x11/libXrender \
- libxkbcommon.so:x11/libxkbcommon
-RUN_DEPENDS= xdg-open:devel/xdg-utils
+ libxkbcommon.so:x11/libxkbcommon \
+ libuuid.so:misc/e2fsprogs-libuuid
+RUN_DEPENDS= xdg-open:devel/xdg-utils \
+ xkeyboard-config>=0:x11/xkeyboard-config
SUB_FILES= pkg-message
SUB_LIST+= PORTSDIR=${PORTSDIR}
@@ -39,9 +42,9 @@ USE_GNOME= pango intltool libxml2 introspection
USE_KDE= ecm
USE_XORG= x11 xext xkbfile sm ice
USE_LDCONFIG= yes
-USES= qt:4 tar:xz cmake:noninja desktop-file-utils \
+USES= compiler:c++11-lang gnome qt:4 tar:xz cmake:noninja desktop-file-utils \
gettext-tools:build,run gettext-runtime iconv:wchar_t \
- kde:5 pkgconfig shared-mime-info
+ kde:5 pkgconfig shared-mime-info compiler:c++14-lang
INSTALLS_ICONS= yes
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS
diff --git a/chinese/fcitx/distinfo b/chinese/fcitx/distinfo
index 303e25f59e15..6090e15313d6 100644
--- a/chinese/fcitx/distinfo
+++ b/chinese/fcitx/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1464749421
-SHA256 (fcitx/fcitx-4.2.9.1.tar.xz) = 25661907903e4ccaa4cf62cc389c006e280d31bce84147e203d7310fb4cd42ed
-SIZE (fcitx/fcitx-4.2.9.1.tar.xz) = 1655504
+TIMESTAMP = 1536473770
+SHA256 (fcitx/fcitx-4.2.9.6.tar.xz) = d55eee3f094037b5c32f0c5397d585fdf932cbc7d2091ed6f78fd7a9ae512c47
+SIZE (fcitx/fcitx-4.2.9.6.tar.xz) = 1706336
SHA256 (fcitx/en_dict-20121020.tar.gz) = c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb
SIZE (fcitx/en_dict-20121020.tar.gz) = 630491
SHA256 (fcitx/pinyin.tar.gz) = 583829b24a758c087c08de4a69480d0bf5946354fe77db360d6d7f467c2bd8e1
diff --git a/chinese/fcitx/files/patch-src_frontend_qt_fcitxwatcher.cpp b/chinese/fcitx/files/patch-src_frontend_qt_fcitxwatcher.cpp
new file mode 100644
index 000000000000..503d9d110c19
--- /dev/null
+++ b/chinese/fcitx/files/patch-src_frontend_qt_fcitxwatcher.cpp
@@ -0,0 +1,10 @@
+--- src/frontend/qt/fcitxwatcher.cpp.orig 2018-09-09 06:32:17 UTC
++++ src/frontend/qt/fcitxwatcher.cpp
+@@ -24,6 +24,7 @@
+ #include <QDir>
+ #include <QFileSystemWatcher>
+ #include <signal.h>
++#include <errno.h>
+
+ // utils function in fcitx-utils and fcitx-config
+ bool _pid_exists(pid_t pid) {
diff --git a/chinese/fcitx/files/patch-tools__gui__quickphrase-editor__CMakeLists.txt b/chinese/fcitx/files/patch-tools__gui__quickphrase-editor__CMakeLists.txt
deleted file mode 100644
index ed8e623733c0..000000000000
--- a/chinese/fcitx/files/patch-tools__gui__quickphrase-editor__CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---- tools/gui/quickphrase-editor/CMakeLists.txt.orig 2015-12-12 08:02:09 UTC
-+++ tools/gui/quickphrase-editor/CMakeLists.txt
-@@ -18,6 +18,7 @@ include_directories(
- ${QT_QTGUI_INCLUDE_DIR}
- ${LIBINTL_INCLUDE_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}
-+ ${LIBINTL_INCLUDE_DIR}
- )
- qt4_wrap_ui(QUICKPHRASE_EDITOR_SRCS editordialog.ui batchdialog.ui editor.ui)
- add_library(fcitx-quickphrase-editor
diff --git a/chinese/fcitx/pkg-plist b/chinese/fcitx/pkg-plist
index e2d44224d18f..24340373fc6b 100644
--- a/chinese/fcitx/pkg-plist
+++ b/chinese/fcitx/pkg-plist
@@ -82,6 +82,7 @@ include/fcitx/module/x11/fcitx-x11.h
include/fcitx/module/x11/x11stuff.h
include/fcitx/module/xkb/fcitx-xkb.h
include/fcitx/module/xkb/xkb.h
+include/fcitx/module/xkbdbus/fcitx-xkbdbus.h
include/fcitx/profile.h
include/fcitx/ui.h
lib/fcitx/fcitx-autoeng.so
@@ -93,6 +94,7 @@ lib/fcitx/fcitx-freedesktop-notify.so
lib/fcitx/fcitx-fullwidth-char.so
lib/fcitx/fcitx-imselector.so
lib/fcitx/fcitx-ipc.so
+lib/fcitx/fcitx-ipcportal.so
lib/fcitx/fcitx-keyboard.so
lib/fcitx/fcitx-kimpanel-ui.so
lib/fcitx/fcitx-notificationitem.so
@@ -114,7 +116,6 @@ lib/fcitx/libexec/comp-spell-dict
lib/fcitx/libexec/fcitx-po-parser
%%QT4%%lib/fcitx/libexec/fcitx-qt-gui-wrapper
lib/fcitx/libexec/fcitx-scanner
-%%QT4%%lib/fcitx/qt/libfcitx-quickphrase-editor.so
lib/girepository-1.0/Fcitx-1.0.typelib
%%GTK2%%lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-fcitx.so
%%GTK2%%@postexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
@@ -130,8 +131,8 @@ lib/libfcitx-core.so
lib/libfcitx-core.so.0
lib/libfcitx-core.so.0.3
lib/libfcitx-gclient.so
-lib/libfcitx-gclient.so.0
-lib/libfcitx-gclient.so.0.1
+lib/libfcitx-gclient.so.1
+lib/libfcitx-gclient.so.0.2
%%QT4%%lib/libfcitx-qt.so
%%QT4%%lib/libfcitx-qt.so.0
%%QT4%%lib/libfcitx-qt.so.0.1
@@ -184,6 +185,7 @@ share/dbus-1/services/org.fcitx.Fcitx.service
%%DATADIR%%/addon/fcitx-fullwidth-char.conf
%%DATADIR%%/addon/fcitx-imselector.conf
%%DATADIR%%/addon/fcitx-ipc.conf
+%%DATADIR%%/addon/fcitx-ipcportal.conf
%%DATADIR%%/addon/fcitx-keyboard.conf
%%DATADIR%%/addon/fcitx-kimpanel-ui.conf
%%DATADIR%%/addon/fcitx-notificationitem.conf
@@ -229,6 +231,7 @@ share/dbus-1/services/org.fcitx.Fcitx.service
%%DATADIR%%/data/punc.mb.zh_HK
%%DATADIR%%/data/punc.mb.zh_TW
%%DATADIR%%/data/quickphrase.d/emoji.mb
+%%DATADIR%%/data/quickphrase.d/emoji-eac.mb
%%DATADIR%%/data/quickphrase.d/latex.mb
%%DATADIR%%/data/vk.conf
%%DATADIR%%/dbus/daemon.conf
@@ -242,8 +245,10 @@ share/dbus-1/services/org.fcitx.Fcitx.service
%%DATADIR%%/inputmethod/pinyin.conf
%%DATADIR%%/inputmethod/qw.conf
%%DATADIR%%/inputmethod/shuangpin.conf
+%%DATADIR%%/pinyin/pySym.mb
%%DATADIR%%/pinyin/pybase.mb
%%DATADIR%%/pinyin/pyphrase.mb
+%%DATADIR%%/pinyin/sp.dat
%%DATADIR%%/py-enhance/py_stroke.mb
%%DATADIR%%/py-enhance/py_table.mb
%%DATADIR%%/skin/classic/active.png
@@ -432,10 +437,14 @@ share/icons/hicolor/scalable/apps/fcitx-vk-active.svg
share/icons/hicolor/scalable/apps/fcitx-vk-inactive-symbolic.svg
share/icons/hicolor/scalable/apps/fcitx-vk-inactive.svg
share/icons/hicolor/scalable/apps/fcitx.svg
+share/locale/ca/LC_MESSAGES/fcitx.mo
+share/locale/da/LC_MESSAGES/fcitx.mo
share/locale/de/LC_MESSAGES/fcitx.mo
share/locale/es/LC_MESSAGES/fcitx.mo
+share/locale/fr/LC_MESSAGES/fcitx.mo
share/locale/ja/LC_MESSAGES/fcitx.mo
share/locale/ko/LC_MESSAGES/fcitx.mo
+share/locale/ru/LC_MESSAGES/fcitx.mo
share/locale/zh_CN/LC_MESSAGES/fcitx.mo
share/locale/zh_TW/LC_MESSAGES/fcitx.mo
share/mime/packages/x-fskin.xml