aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-09-22 18:26:14 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-09-22 18:26:14 +0000
commit9df995e98bed989f474a44408f7ff36c1dddd476 (patch)
tree864ec081e14af6f624e98b6af2d99e7ddeb72a9f /chinese
parentf44a091f3d75de7c5812c53f6218fc73a978877c (diff)
downloadports-9df995e98bed989f474a44408f7ff36c1dddd476.tar.gz
ports-9df995e98bed989f474a44408f7ff36c1dddd476.zip
chinese/zh-librime: Update to 1.6.1
PR: 249512 Submitted by: Ka Ho Ng <khng300@gmail.com> Approved by: lichray@gmail.com (maintainer) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26515
Notes
Notes: svn path=/head/; revision=549619
Diffstat (limited to 'chinese')
-rw-r--r--chinese/librime/Makefile13
-rw-r--r--chinese/librime/distinfo6
-rw-r--r--chinese/librime/files/patch-CMakeLists.txt20
-rw-r--r--chinese/librime/files/patch-boost-1.6913
-rw-r--r--chinese/librime/pkg-plist2
5 files changed, 12 insertions, 42 deletions
diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile
index 0564ea12887d..f40d54bbb91c 100644
--- a/chinese/librime/Makefile
+++ b/chinese/librime/Makefile
@@ -2,9 +2,7 @@
# $FreeBSD$
PORTNAME= librime
-PORTVERSION= 1.2.9
-DISTVERSIONPREFIX= rime-
-PORTREVISION= 20
+PORTVERSION= 1.6.1
CATEGORIES= chinese textproc
MAINTAINER= lichray@gmail.com
@@ -13,17 +11,20 @@ COMMENT= Rime Input Method Engine, the core library
LICENSE= GPLv3
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
+ libcapnp.so:devel/capnproto \
libgflags.so:devel/gflags \
libglog.so:devel/glog \
libleveldb.so:databases/leveldb \
libmarisa.so:devel/marisa-trie \
libopencc.so:chinese/opencc \
- libyaml-cpp.so:devel/yaml-cpp
+ libyaml-cpp.so:devel/yaml-cpp \
-USES= cmake compiler:c++11-lib gettext pathfix perl5 pkgconfig xorg
+USES= cmake compiler:c++14-lang gettext pathfix perl5 pkgconfig xorg
USE_PERL5= build patch
-USE_CXXSTD= c++11
+CMAKE_OFF= BUILD_TEST
+
+USE_CXXSTD= c++14
USE_LDCONFIG= yes
USE_XORG= xorgproto
LDFLAGS+= -lintl
diff --git a/chinese/librime/distinfo b/chinese/librime/distinfo
index 1439caa3b0d2..9af60bd2edce 100644
--- a/chinese/librime/distinfo
+++ b/chinese/librime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1467479749
-SHA256 (rime-librime-rime-1.2.9_GH0.tar.gz) = d9f0e732b5bf0ee9d8872d00c79322eec7682139a898a65555f794795ac5f410
-SIZE (rime-librime-rime-1.2.9_GH0.tar.gz) = 5516609
+TIMESTAMP = 1600707948
+SHA256 (rime-librime-1.6.1_GH0.tar.gz) = 774ebd2ddb9c1301a8a981c65788e0fab71ef54505e04f39b3ce4dfdb8510302
+SIZE (rime-librime-1.6.1_GH0.tar.gz) = 2856751
diff --git a/chinese/librime/files/patch-CMakeLists.txt b/chinese/librime/files/patch-CMakeLists.txt
deleted file mode 100644
index 301102a5a69d..000000000000
--- a/chinese/librime/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
---- CMakeLists.txt.orig 2014-12-21 11:46:44 UTC
-+++ CMakeLists.txt
-@@ -123,7 +123,7 @@ if(NOT DEFINED BIN_INSTALL_DIR)
- set(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
- endif()
-
--if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
- # uninstall target
- configure_file(
- "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
-@@ -153,7 +153,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
- file(GLOB supplement_schema ${PROJECT_SOURCE_DIR}/data/supplement/*.yaml)
- install(FILES ${supplement_schema} DESTINATION ${pkgdatadir})
- endif(BUILD_DATA)
--endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-+endif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
-
- if(BUILD_SHARED_LIBS)
- add_definitions(-DRIME_BUILD_SHARED_LIBS)
diff --git a/chinese/librime/files/patch-boost-1.69 b/chinese/librime/files/patch-boost-1.69
deleted file mode 100644
index 3873db20f1af..000000000000
--- a/chinese/librime/files/patch-boost-1.69
+++ /dev/null
@@ -1,13 +0,0 @@
-https://github.com/rime/librime/issues/225
-
---- CMakeLists.txt.orig 2014-12-21 11:46:44 UTC
-+++ CMakeLists.txt
-@@ -38,7 +38,7 @@ set(Boost_USE_MULTITHREADED ON)
- if(MSVC)
- set(Boost_USE_STATIC_RUNTIME ON)
- endif(MSVC)
--find_package(Boost 1.46.0 REQUIRED COMPONENTS filesystem regex signals system)
-+find_package(Boost 1.46.0 REQUIRED COMPONENTS filesystem regex system)
- if(Boost_FOUND)
- include_directories(${Boost_INCLUDE_DIRS})
- link_directories(${Boost_LIBRARY_DIRS})
diff --git a/chinese/librime/pkg-plist b/chinese/librime/pkg-plist
index 755cc34e9886..24adb36f174b 100644
--- a/chinese/librime/pkg-plist
+++ b/chinese/librime/pkg-plist
@@ -1,6 +1,8 @@
bin/rime_deployer
bin/rime_dict_manager
+bin/rime_patch
include/rime_api.h
+include/rime_levers_api.h
lib/librime.so
lib/librime.so.%%VER%%
lib/librime.so.1