[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2024-01-28 Thread WANG Xuerui
commit: c3834aade4bdd86d6285aa1a0a3647aa9898267b
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Jan 29 06:33:46 2024 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Jan 29 06:37:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3834aad

app-i18n/librime: keyword 1.9.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/librime/librime-1.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.9.0.ebuild 
b/app-i18n/librime/librime-1.9.0.ebuild
index 886e440f4601..1c2d933f72f8 100644
--- a/app-i18n/librime/librime-1.9.0.ebuild
+++ b/app-i18n/librime/librime-1.9.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rime/librime/archive/refs/tags/${PV}.tar.gz -> ${P}.
 
 LICENSE="BSD BSD-2 Boost-1.0 MIT"
 SLOT="0/1-${PV}"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~loong ~x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2024-01-11 Thread Yixun Lan
commit: b98bd02406b290d714f53630b3dd35d8831f9873
Author: Ryan Qian  bitbili  net>
AuthorDate: Tue Dec 12 14:28:13 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 11 11:19:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98bd024

app-i18n/librime: add 1.9.0

Closes: https://github.com/gentoo/gentoo/pull/34247
Signed-off-by: Ryan Qian  bitbili.net>
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.9.0.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 155c1c2574ff..a34fcf54e86f 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1 +1,2 @@
 DIST librime-1.7.3.tar.gz 2859513 BLAKE2B 
834622860cdc3038d1b983f476bca70f211dfbc3bc2b565a998163e22688841ee3a0c7f9a64bce285e2f3f5b5a9a802bd5506f17904ccb3291babf80d4748fb5
 SHA512 
8767d17c3d14a5a1bbb8269fab1627b907de72c288b362fdbc6191223937da21e8b18471b4ae8f83ce5afc0ec5c3ab12fbcb49930eb9969c1764c7390d9ee4b0
+DIST librime-1.9.0.tar.gz 2628091 BLAKE2B 
5026fbe537520679b60b7f39cab65e97e175d574ad709e2b09bb5d71f6655f48f9f046d2caeaad73dcd839f58cd76796eded4deb775d6817a99ab7de107187a1
 SHA512 
7f432bbfeedc0949391fca82ebf080d113089ec9f0ab40f4bc63cf3037052a27b4ef44e55e7fc43b1217cf6635c62be0fb7520c3cc1492ec169fe5ee864e61ea

diff --git a/app-i18n/librime/librime-1.9.0.ebuild 
b/app-i18n/librime/librime-1.9.0.ebuild
new file mode 100644
index ..886e440f4601
--- /dev/null
+++ b/app-i18n/librime/librime-1.9.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2012-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit cmake multiprocessing
+
+DESCRIPTION="RIME (Rime Input Method Engine) core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
+SRC_URI="https://github.com/rime/librime/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD BSD-2 Boost-1.0 MIT"
+SLOT="0/1-${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   dev-cpp/glog:=
+   >=dev-libs/boost-1.74:=
+   app-i18n/opencc:0=
+   dev-cpp/yaml-cpp:0=
+   dev-libs/leveldb:0=
+   dev-libs/marisa:0=
+"
+DEPEND="${RDEPEND}
+   test? ( dev-cpp/gtest )
+"
+
+DOCS=(CHANGELOG.md README.md)
+
+src_configure() {
+   local -x CXXFLAGS="${CXXFLAGS}"
+
+   # for glog
+   if use debug; then
+   CXXFLAGS+=" -DDCHECK_ALWAYS_ON"
+   CMAKE_BUILD_TYPE=Debug
+   else
+   CXXFLAGS+=" -DNDEBUG"
+   fi
+
+   local mycmakeargs=(
+   -DBUILD_TEST=$(usex test ON OFF)
+   -DCMAKE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs)
+   -DENABLE_EXTERNAL_PLUGINS=ON
+   -DINSTALL_PRIVATE_HEADERS=ON
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2023-12-24 Thread WANG Xuerui
commit: f1a4b9f21af5c22d00ad379f5bb5cd6f9c21e87f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Dec 24 10:56:09 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Dec 24 10:56:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a4b9f2

app-i18n/librime: keyword 1.7.3-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-i18n/librime/librime-1.7.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/librime-1.7.3-r1.ebuild 
b/app-i18n/librime/librime-1.7.3-r1.ebuild
index 92b24caf3125..5976ce7ac04b 100644
--- a/app-i18n/librime/librime-1.7.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.7.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2012-2022 Gentoo Authors
+# Copyright 2012-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1-${PV}"
-KEYWORDS="amd64 arm64 ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm64 ~loong ppc ppc64 ~riscv x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/files/

2022-10-30 Thread David Seifert
commit: 77b0a0316df65691d88c97f206477c8dec0c501d
Author: David Seifert  gentoo  org>
AuthorDate: Sun Oct 30 11:12:36 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct 30 11:12:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b0a031

app-i18n/librime: [QA] use git-format-patch style patches

Signed-off-by: David Seifert  gentoo.org>

 app-i18n/librime/files/librime-1.6.0-boost-1.76.patch | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-i18n/librime/files/librime-1.6.0-boost-1.76.patch 
b/app-i18n/librime/files/librime-1.6.0-boost-1.76.patch
index 5ed1447359d6..31eff9268bfc 100644
--- a/app-i18n/librime/files/librime-1.6.0-boost-1.76.patch
+++ b/app-i18n/librime/files/librime-1.6.0-boost-1.76.patch
@@ -2,8 +2,8 @@ https://github.com/rime/librime/issues/462
 https://github.com/rime/librime/pull/463
 https://github.com/rime/librime/commit/57cffcd02ac70148e21ce982be834876b3df87db
 
 /src/rime/gear/script_translator.cc
-+++ /src/rime/gear/script_translator.cc
+--- a/src/rime/gear/script_translator.cc
 b/src/rime/gear/script_translator.cc
 @@ -8,6 +8,7 @@
  //
  #include 
@@ -12,8 +12,8 @@ 
https://github.com/rime/librime/commit/57cffcd02ac70148e21ce982be834876b3df87db
  #include 
  #include 
  #include 
 /src/rime/gear/table_translator.cc
-+++ /src/rime/gear/table_translator.cc
+--- a/src/rime/gear/table_translator.cc
 b/src/rime/gear/table_translator.cc
 @@ -6,6 +6,7 @@
  //
  #include 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2022-10-10 Thread Jakov Smolić
commit: 1ba24aa3d4ebbc5e7b3581838a3a9c34aacf56cf
Author: Xin Yang  icloud  com>
AuthorDate: Mon Oct 10 05:46:52 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Oct 10 06:24:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba24aa3

app-i18n/librime: keyword librime for fcitx-rime riscv, #876322

Signed-off-by: Xin Yang  icloud.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 app-i18n/librime/librime-1.7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.7.3-r1.ebuild 
b/app-i18n/librime/librime-1.7.3-r1.ebuild
index 7505a76d6568..92b24caf3125 100644
--- a/app-i18n/librime/librime-1.7.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.7.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1-${PV}"
-KEYWORDS="amd64 arm64 ppc ppc64 x86"
+KEYWORDS="amd64 arm64 ppc ppc64 ~riscv x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2022-09-04 Thread David Seifert
commit: 23906309ff250a8372cc9ebf8b5f55978453f21e
Author: David Seifert  gentoo  org>
AuthorDate: Sun Sep  4 12:22:40 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Sep  4 12:22:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23906309

app-i18n/librime: remove boost slot deps

Signed-off-by: David Seifert  gentoo.org>

 app-i18n/librime/librime-1.7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.7.3-r1.ebuild 
b/app-i18n/librime/librime-1.7.3-r1.ebuild
index 9961ce2f57e7..7505a76d6568 100644
--- a/app-i18n/librime/librime-1.7.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.7.3-r1.ebuild
@@ -30,7 +30,7 @@ BDEPEND="dev-libs/capnproto:0"
 RDEPEND="app-i18n/opencc:0=
>=dev-cpp/glog-0.3.5:0=
dev-cpp/yaml-cpp:0=
-   dev-libs/boost:0=
+   dev-libs/boost:=
dev-libs/capnproto:0=
dev-libs/leveldb:0=
dev-libs/marisa:0="



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime-lua/

2022-03-09 Thread Jakov Smolić
commit: 496fff70e053b184017ff67ef32ce369948da86e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar  9 08:58:55 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar  9 08:58:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496fff70

app-i18n/librime-lua: drop 20201011103348

Signed-off-by: Jakov Smolić  gentoo.org>

 app-i18n/librime-lua/Manifest  |  1 -
 .../librime-lua/librime-lua-20201011103348.ebuild  | 53 --
 2 files changed, 54 deletions(-)

diff --git a/app-i18n/librime-lua/Manifest b/app-i18n/librime-lua/Manifest
index 8229a6191846..00d57a498cb6 100644
--- a/app-i18n/librime-lua/Manifest
+++ b/app-i18n/librime-lua/Manifest
@@ -1,2 +1 @@
-DIST librime-lua-20201011103348.tar.gz 21600 BLAKE2B 
f7046d1eb23391ca70543aa64c52092081cef51a69ac3a282f2f1392eaf760515186f063e9d469c5c41ac9f495ace814ab741a0821d1a635b9ad1f4faa7a3912
 SHA512 
2a3d3b49d53066fe96dd008e8064718082225e6bf185574a25b8e98175d9936abcfa1fdc56e48f9c72a2deb46f8157d6132fd119ff8e0a3d52fbe9e2ea21386c
 DIST librime-lua-20211030072627.tar.gz 27894 BLAKE2B 
a527e865a9945aa7d56cce3905bc80156b60ebf6323828ca40999cb73ebe8d8f66ddf6b0a1d6d5904f2bc754b5f8fe6ac1f5ecdc56351ca21429a0c2b701
 SHA512 
b15f85b0a18e5e05fa691a84aef7cf3689b4a5271a1d5b6f78ea42488f6dbe4dfc56a91fa547ca3636269b9c898d646d24d3a160096ace9927901f9fdba06e9c

diff --git a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild 
b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
deleted file mode 100644
index 52202aa4718d..
--- a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-LUA_COMPAT=( lua5-{1..4} )
-
-inherit cmake lua-single
-
-if [[ "${PV}" == "99" ]]; then
-   inherit git-r3
-
-   EGIT_REPO_URI="https://github.com/hchunhui/librime-lua;
-else
-   LIBRIME_LUA_GIT_REVISION="d45a41af2f9d731e3c1516a191cc3160e3cb8377"
-fi
-
-DESCRIPTION="Lua support for RIME"
-HOMEPAGE="https://github.com/hchunhui/librime-lua;
-if [[ "${PV}" == "99" ]]; then
-   SRC_URI=""
-else
-   
SRC_URI="https://github.com/hchunhui/${PN}/archive/${LIBRIME_LUA_GIT_REVISION}.tar.gz
 -> ${P}.tar.gz"
-fi
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-BDEPEND=""
-RDEPEND=">=app-i18n/librime-1.6:0=
-   ${LUA_DEPS}"
-DEPEND="${RDEPEND}
-   dev-libs/boost:0"
-
-if [[ "${PV}" != "99" ]]; then
-   S="${WORKDIR}/${PN}-${LIBRIME_LUA_GIT_REVISION}"
-fi
-
-src_prepare() {
-   sed \
-   -e "1icmake_minimum_required(VERSION 3.0)\nproject(${PN})\n" \
-   -e "s/ PARENT_SCOPE//" \
-   -e "\$a\\\n" \
-   -e "\$aadd_library(\${plugin_modules} MODULE \${plugin_objs})" \
-   -e "\$aset_target_properties(\${plugin_modules} PROPERTIES 
PREFIX \"\")" \
-   -e "\$atarget_link_libraries(\${plugin_modules} rime 
\${plugin_deps})" \
-   -e "\$ainstall(TARGETS \${plugin_modules} DESTINATION 
$(get_libdir)/rime-plugins)" \
-   -i CMakeLists.txt || die
-
-   cmake_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/, app-i18n/librime/files/

2022-02-28 Thread Andreas Sturmlechner
commit: f00fefd616073ccaf0eb8b1d309f5fdad59a361d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Feb 28 13:09:17 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Feb 28 21:12:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00fefd6

app-i18n/librime: Drop 1.5.3-r2, 1.6.0-r1 and 1.6.1-r1

Closes: https://bugs.gentoo.org/793926
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-i18n/librime/Manifest  |   3 -
 .../files/librime-1.5.3-log_files_mode.patch   |  14 --
 app-i18n/librime/files/librime-1.6.0-plugins.patch | 247 -
 app-i18n/librime/files/librime-1.6.1-plugins.patch | 247 -
 app-i18n/librime/librime-1.5.3-r2.ebuild   |  74 --
 app-i18n/librime/librime-1.6.0-r1.ebuild   |  74 --
 app-i18n/librime/librime-1.6.1-r1.ebuild   |  74 --
 7 files changed, 733 deletions(-)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index f2e2c6fc1359..155c1c2574ff 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,4 +1 @@
-DIST librime-1.5.3.tar.gz 2847083 BLAKE2B 
4ffb2c5ddaf52f9c9227fa4ea019ef2965e61139f678798c08ef37dc52b863763651b63ed820caad0de1b06f48ab5c1a7a2682653340d2ae7f5f9eec3cec80b2
 SHA512 
4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3
-DIST librime-1.6.0.tar.gz 2856645 BLAKE2B 
de6d843a5028f6b0308c3432ada7dd00c08a71e73fe799b157fd71a4054c757a00d3b0fdc7743d94d6e87b03f256e822ee29c16c86f96f5d24c7d864266c4f78
 SHA512 
4aeace0f1628293d4b607483ab976841093a1ff03df8bf63d545715af00254d1f0b1bdcd120795ea688d152287069881e0740372f40e2174a14ae6f53b7f950b
-DIST librime-1.6.1.tar.gz 2856751 BLAKE2B 
c6b01342dcc9e8ee571cb14a36b851a50bf7b191211197421647ab05e6fa64c676f8936920870dcc335d06c635e354fed706832e41192bccd0a17aff02df1a43
 SHA512 
944361e9459662bb97b97ce9e2651acf0beb368b3769d1b9576cf4e5c2779302cae470fa39f5bc262cabb6a0e8590bcb77d32ffc87d7385b9465869fe7d5bcb3
 DIST librime-1.7.3.tar.gz 2859513 BLAKE2B 
834622860cdc3038d1b983f476bca70f211dfbc3bc2b565a998163e22688841ee3a0c7f9a64bce285e2f3f5b5a9a802bd5506f17904ccb3291babf80d4748fb5
 SHA512 
8767d17c3d14a5a1bbb8269fab1627b907de72c288b362fdbc6191223937da21e8b18471b4ae8f83ce5afc0ec5c3ab12fbcb49930eb9969c1764c7390d9ee4b0

diff --git a/app-i18n/librime/files/librime-1.5.3-log_files_mode.patch 
b/app-i18n/librime/files/librime-1.5.3-log_files_mode.patch
deleted file mode 100644
index 7a36dea64d24..
--- a/app-i18n/librime/files/librime-1.5.3-log_files_mode.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://github.com/rime/librime/issues/316
-https://github.com/rime/librime/commit/90839b0b3d47cbfef715ea5f061c7505666ff75d
-
 /src/rime/setup.cc
-+++ /src/rime/setup.cc
-@@ -35,6 +35,8 @@
- 
- RIME_API void SetupLogging(const char* app_name) {
- #ifdef RIME_ENABLE_LOGGING
-+  // Do not allow other users to read/write log files created by current 
process.
-+  FLAGS_logfile_mode = 0600;
-   google::InitGoogleLogging(app_name);
- #endif  // RIME_ENABLE_LOGGING
- }

diff --git a/app-i18n/librime/files/librime-1.6.0-plugins.patch 
b/app-i18n/librime/files/librime-1.6.0-plugins.patch
deleted file mode 100644
index c79072f31cbb..
--- a/app-i18n/librime/files/librime-1.6.0-plugins.patch
+++ /dev/null
@@ -1,247 +0,0 @@
-https://github.com/rime/librime/issues/431
-
 /CMakeLists.txt
-+++ /CMakeLists.txt
-@@ -11,6 +11,14 @@
- 
- include(GNUInstallDirs)
- 
-+if(NOT DEFINED BIN_INSTALL_DIR)
-+set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR})
-+endif()
-+
-+if(NOT DEFINED LIB_INSTALL_DIR)
-+set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR})
-+endif()
-+
- option(BUILD_SHARED_LIBS "Build Rime as shared library" ON)
- option(BUILD_MERGED_PLUGINS "Merge plugins into one Rime library" ON)
- option(BUILD_STATIC "Build with dependencies as static libraries" OFF)
-@@ -22,8 +30,11 @@
- option(BOOST_USE_CXX11 "Boost has been built with C++11 support" OFF)
- option(BOOST_USE_SIGNALS2 "Boost use signals2 instead of signals" ON)
- option(ENABLE_ASAN "Enable Address Sanitizer (Unix Only)" OFF)
-+option(INSTALL_PRIVATE_HEADERS "Install private headers (usually needed for 
externally built Rime plugins)" OFF)
-+option(ENABLE_EXTERNAL_PLUGINS "Enable loading of externally built Rime 
plugins (from directory set by RIME_PLUGINS_DIR variable)" OFF)
- 
--set(rime_data_dir "/share/rime-data" CACHE STRING "Target directory for Rime 
data")
-+set(RIME_DATA_DIR "share/rime-data" CACHE STRING "Target directory for Rime 
data")
-+set(RIME_PLUGINS_DIR "${LIB_INSTALL_DIR}/rime-plugins" CACHE STRING "Target 
directory for externally built Rime plugins")
- 
- if(WIN32)
-   set(ext ".exe")
-@@ -61,7 +72,7 @@
- set(BOOST_COMPONENTS filesystem regex system)
- 
- if(BOOST_USE_SIGNALS2)
--  add_definitions("-DBOOST_SIGNALS2")
-+  set(RIME_BOOST_SIGNALS2 1)
- 

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2022-02-27 Thread Sam James
commit: a489f83fa365fef0c44bd93df3ef355381667772
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 00:40:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 00:40:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a489f83f

app-i18n/librime: Stabilize 1.7.3-r1 ppc, #793926

Signed-off-by: Sam James  gentoo.org>

 app-i18n/librime/librime-1.7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.7.3-r1.ebuild 
b/app-i18n/librime/librime-1.7.3-r1.ebuild
index c7c1cbbbe9df..a33d6624dedd 100644
--- a/app-i18n/librime/librime-1.7.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.7.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1-${PV}"
-KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
+KEYWORDS="amd64 arm64 ppc ppc64 x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2022-02-27 Thread Sam James
commit: 3e3fb2889239b5c5e7680e20e36523b5e12e7770
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 28 00:07:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 28 00:07:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3fb288

app-i18n/librime: Stabilize 1.7.3-r1 ppc64, #793926

Signed-off-by: Sam James  gentoo.org>

 app-i18n/librime/librime-1.7.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/librime-1.7.3-r1.ebuild 
b/app-i18n/librime/librime-1.7.3-r1.ebuild
index a500978314ad..c7c1cbbbe9df 100644
--- a/app-i18n/librime/librime-1.7.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.7.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2012-2021 Gentoo Authors
+# Copyright 2012-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1-${PV}"
-KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 arm64 ~ppc ppc64 x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime-lua/, app-i18n/fcitx/

2022-01-30 Thread David Seifert
commit: 918290cac3f3872d8e7d88748fe192abf5e166e9
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jan 30 10:21:51 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 30 10:21:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=918290ca

app-i18n/*: consistent LUA_COMPAT style

Signed-off-by: David Seifert  gentoo.org>

 app-i18n/fcitx/fcitx-4.2.9.8.ebuild| 4 ++--
 app-i18n/fcitx/fcitx-4..ebuild | 4 ++--
 app-i18n/librime-lua/librime-lua-20201011103348.ebuild | 4 ++--
 app-i18n/librime-lua/librime-lua-20211030072627.ebuild | 4 ++--
 app-i18n/librime-lua/librime-lua-99.ebuild | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/app-i18n/fcitx/fcitx-4.2.9.8.ebuild 
b/app-i18n/fcitx/fcitx-4.2.9.8.ebuild
index b7b077a9ed9d..a3cf6681a440 100644
--- a/app-i18n/fcitx/fcitx-4.2.9.8.ebuild
+++ b/app-i18n/fcitx/fcitx-4.2.9.8.ebuild
@@ -1,8 +1,8 @@
-# Copyright 2003-2021 Gentoo Authors
+# Copyright 2003-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-LUA_COMPAT=(lua{5-1,5-2,5-3,5-4})
+LUA_COMPAT=( lua5-{1..4} )
 
 inherit cmake gnome2-utils lua-single xdg-utils
 

diff --git a/app-i18n/fcitx/fcitx-4..ebuild 
b/app-i18n/fcitx/fcitx-4..ebuild
index 76f6bdd6c634..0a5ca80701ca 100644
--- a/app-i18n/fcitx/fcitx-4..ebuild
+++ b/app-i18n/fcitx/fcitx-4..ebuild
@@ -1,8 +1,8 @@
-# Copyright 2003-2020 Gentoo Authors
+# Copyright 2003-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-LUA_COMPAT=(lua{5-1,5-2,5-3,5-4})
+LUA_COMPAT=( lua5-{1..4} )
 
 inherit cmake gnome2-utils lua-single xdg-utils
 

diff --git a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild 
b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
index 996b1508ab82..52202aa4718d 100644
--- a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
+++ b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
@@ -1,8 +1,8 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-LUA_COMPAT=(lua{5-1,5-2,5-3,5-4})
+LUA_COMPAT=( lua5-{1..4} )
 
 inherit cmake lua-single
 

diff --git a/app-i18n/librime-lua/librime-lua-20211030072627.ebuild 
b/app-i18n/librime-lua/librime-lua-20211030072627.ebuild
index 74d5ffac79a3..64263dc37b78 100644
--- a/app-i18n/librime-lua/librime-lua-20211030072627.ebuild
+++ b/app-i18n/librime-lua/librime-lua-20211030072627.ebuild
@@ -1,8 +1,8 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-LUA_COMPAT=(lua{5-3,5-4})
+LUA_COMPAT=( lua5-{3..4} )
 
 inherit cmake lua-single
 

diff --git a/app-i18n/librime-lua/librime-lua-99.ebuild 
b/app-i18n/librime-lua/librime-lua-99.ebuild
index 0b7dc6a14eba..2211e7aea769 100644
--- a/app-i18n/librime-lua/librime-lua-99.ebuild
+++ b/app-i18n/librime-lua/librime-lua-99.ebuild
@@ -1,8 +1,8 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-LUA_COMPAT=(lua{5-3,5-4})
+LUA_COMPAT=( lua5-{3..4} )
 
 inherit cmake lua-single
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime-lua/

2021-11-18 Thread Mike Gilbert
commit: f684c5b95b944d2e820bd300da5e68f3832890ea
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Nov 18 09:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Nov 18 22:22:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f684c5b9

app-i18n/librime-lua: Version bump (20211030072627).

Closes: https://bugs.gentoo.org/787593
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime-lua/Manifest  |  1 +
 .../librime-lua/librime-lua-20211030072627.ebuild  | 53 ++
 2 files changed, 54 insertions(+)

diff --git a/app-i18n/librime-lua/Manifest b/app-i18n/librime-lua/Manifest
index 63cef86cfde2..8229a6191846 100644
--- a/app-i18n/librime-lua/Manifest
+++ b/app-i18n/librime-lua/Manifest
@@ -1 +1,2 @@
 DIST librime-lua-20201011103348.tar.gz 21600 BLAKE2B 
f7046d1eb23391ca70543aa64c52092081cef51a69ac3a282f2f1392eaf760515186f063e9d469c5c41ac9f495ace814ab741a0821d1a635b9ad1f4faa7a3912
 SHA512 
2a3d3b49d53066fe96dd008e8064718082225e6bf185574a25b8e98175d9936abcfa1fdc56e48f9c72a2deb46f8157d6132fd119ff8e0a3d52fbe9e2ea21386c
+DIST librime-lua-20211030072627.tar.gz 27894 BLAKE2B 
a527e865a9945aa7d56cce3905bc80156b60ebf6323828ca40999cb73ebe8d8f66ddf6b0a1d6d5904f2bc754b5f8fe6ac1f5ecdc56351ca21429a0c2b701
 SHA512 
b15f85b0a18e5e05fa691a84aef7cf3689b4a5271a1d5b6f78ea42488f6dbe4dfc56a91fa547ca3636269b9c898d646d24d3a160096ace9927901f9fdba06e9c

diff --git a/app-i18n/librime-lua/librime-lua-20211030072627.ebuild 
b/app-i18n/librime-lua/librime-lua-20211030072627.ebuild
new file mode 100644
index ..74d5ffac79a3
--- /dev/null
+++ b/app-i18n/librime-lua/librime-lua-20211030072627.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+LUA_COMPAT=(lua{5-3,5-4})
+
+inherit cmake lua-single
+
+if [[ "${PV}" == "99" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/hchunhui/librime-lua;
+else
+   LIBRIME_LUA_GIT_REVISION="67ef681a9fd03262c49cc7f850cc92fc791b1e85"
+fi
+
+DESCRIPTION="Lua module for RIME"
+HOMEPAGE="https://github.com/hchunhui/librime-lua;
+if [[ "${PV}" == "99" ]]; then
+   SRC_URI=""
+else
+   
SRC_URI="https://github.com/hchunhui/${PN}/archive/${LIBRIME_LUA_GIT_REVISION}.tar.gz
 -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND=""
+RDEPEND=">=app-i18n/librime-1.6:0=
+   ${LUA_DEPS}"
+DEPEND="${RDEPEND}
+   dev-libs/boost:0"
+
+if [[ "${PV}" != "99" ]]; then
+   S="${WORKDIR}/${PN}-${LIBRIME_LUA_GIT_REVISION}"
+fi
+
+src_prepare() {
+   sed \
+   -e "1icmake_minimum_required(VERSION 3.0)\nproject(${PN})\n" \
+   -e "s/ PARENT_SCOPE//" \
+   -e "\$a\\\n" \
+   -e "\$aadd_library(\${plugin_modules} MODULE \${plugin_objs})" \
+   -e "\$aset_target_properties(\${plugin_modules} PROPERTIES 
PREFIX \"\")" \
+   -e "\$atarget_link_libraries(\${plugin_modules} rime 
\${plugin_deps})" \
+   -e "\$ainstall(TARGETS \${plugin_modules} DESTINATION 
$(get_libdir)/rime-plugins)" \
+   -i CMakeLists.txt || die
+
+   cmake_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime-lua/

2021-11-18 Thread Mike Gilbert
commit: a053a63c06b0b8c62542879ab448663ed1d432df
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Nov 18 08:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Nov 18 22:22:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a053a63c

app-i18n/librime-lua: Delete support for Lua 5.1 and 5.2.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime-lua/librime-lua-99.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-i18n/librime-lua/librime-lua-99.ebuild 
b/app-i18n/librime-lua/librime-lua-99.ebuild
index fcf9189fe7df..0b7dc6a14eba 100644
--- a/app-i18n/librime-lua/librime-lua-99.ebuild
+++ b/app-i18n/librime-lua/librime-lua-99.ebuild
@@ -1,8 +1,8 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-LUA_COMPAT=(lua{5-1,5-2,5-3,5-4})
+LUA_COMPAT=(lua{5-3,5-4})
 
 inherit cmake lua-single
 
@@ -11,10 +11,10 @@ if [[ "${PV}" == "99" ]]; then
 
EGIT_REPO_URI="https://github.com/hchunhui/librime-lua;
 else
-   LIBRIME_LUA_GIT_REVISION="d45a41af2f9d731e3c1516a191cc3160e3cb8377"
+   LIBRIME_LUA_GIT_REVISION=""
 fi
 
-DESCRIPTION="Lua support for RIME"
+DESCRIPTION="Lua module for RIME"
 HOMEPAGE="https://github.com/hchunhui/librime-lua;
 if [[ "${PV}" == "99" ]]; then
SRC_URI=""



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime-lua/

2021-09-06 Thread Sam James
commit: 44a8421941a9aa6072b3eca4d506a6cdc18d223b
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  6 21:34:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  6 21:34:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a84219

app-i18n/librime-lua: Keyword 20201011103348 ppc64, #760803

Signed-off-by: Sam James  gentoo.org>

 app-i18n/librime-lua/librime-lua-20201011103348.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild 
b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
index 15749c557d2..996b1508ab8 100644
--- a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
+++ b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
@@ -24,7 +24,7 @@ fi
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE=""
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2021-09-06 Thread Sam James
commit: f9a8b00769e25aa6e65267aefa5afb98d46e5d21
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  6 21:34:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  6 21:34:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a8b007

app-i18n/librime: Keyword 1.7.3-r1 ppc, #760803

Signed-off-by: Sam James  gentoo.org>

 app-i18n/librime/librime-1.7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.7.3-r1.ebuild 
b/app-i18n/librime/librime-1.7.3-r1.ebuild
index c50d62be641..3fcdd807e19 100644
--- a/app-i18n/librime/librime-1.7.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.7.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1-${PV}"
-KEYWORDS="amd64 arm64 x86"
+KEYWORDS="amd64 arm64 ~ppc x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime-lua/

2021-09-06 Thread Sam James
commit: 530c727c541f21da5431974678aa3b760cf3fe43
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  6 21:34:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  6 21:34:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530c727c

app-i18n/librime-lua: Keyword 20201011103348 ppc, #760803

Signed-off-by: Sam James  gentoo.org>

 app-i18n/librime-lua/librime-lua-20201011103348.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild 
b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
index 5abed7223b0..15749c557d2 100644
--- a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
+++ b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -24,7 +24,7 @@ fi
 
 LICENSE="BSD MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2021-09-06 Thread Sam James
commit: 7c41107e3c8fbb4f79b6a78ce88e789686c5bf6a
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep  6 21:34:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep  6 21:34:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c41107e

app-i18n/librime: Keyword 1.7.3-r1 ppc64, #760803

Signed-off-by: Sam James  gentoo.org>

 app-i18n/librime/librime-1.7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.7.3-r1.ebuild 
b/app-i18n/librime/librime-1.7.3-r1.ebuild
index 3fcdd807e19..a500978314a 100644
--- a/app-i18n/librime/librime-1.7.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.7.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1-${PV}"
-KEYWORDS="amd64 arm64 ~ppc x86"
+KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2021-06-04 Thread Mike Gilbert
commit: 4fab15903f3265f687a256da591777a7aeafac38
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Jun  4 01:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Jun  4 19:48:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fab1590

app-i18n/librime: Revert "workaround dev-cpp/glog dependency on sparc".

dev-cpp/glog-0.5.0 now has optional dependency on sys-libs/libunwind or
sys-libs/llvm-libunwind, and sys-libs/llvm-libunwind is supposed to
support SPARC.

Reverts: 9d28275ad9ab730b71615854fa0f6707743b3b68
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.7.3.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-i18n/librime/librime-1.7.3.ebuild 
b/app-i18n/librime/librime-1.7.3.ebuild
index 0cfa7aec1df..44959fdbee6 100644
--- a/app-i18n/librime/librime-1.7.3.ebuild
+++ b/app-i18n/librime/librime-1.7.3.ebuild
@@ -28,7 +28,7 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="dev-libs/capnproto:0"
 RDEPEND="app-i18n/opencc:0=
-   !sparc? ( >=dev-cpp/glog-0.3.5:0= )
+   >=dev-cpp/glog-0.3.5:0=
dev-cpp/yaml-cpp:0=
dev-libs/boost:0=[threads]
dev-libs/capnproto:0=
@@ -66,8 +66,6 @@ src_configure() {
-DBUILD_TEST=$(usex test ON OFF)
-DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON
-DENABLE_EXTERNAL_PLUGINS=ON
-   # dev-cpp/glog is currently marked -sparc
-   -DENABLE_LOGGING=$(usex !sparc)
-DINSTALL_PRIVATE_HEADERS=ON
)
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2021-06-02 Thread Sam James
commit: 9d28275ad9ab730b71615854fa0f6707743b3b68
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  3 02:00:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  3 02:18:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d28275a

app-i18n/librime: workaround dev-cpp/glog dependency on sparc

Not available on sparc (marked -sparc) so let's disable logging there.

Bug: https://bugs.gentoo.org/760803
Signed-off-by: Sam James  gentoo.org>

 app-i18n/librime/librime-1.7.3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.7.3.ebuild 
b/app-i18n/librime/librime-1.7.3.ebuild
index 44310ba275b..c42f5d509f4 100644
--- a/app-i18n/librime/librime-1.7.3.ebuild
+++ b/app-i18n/librime/librime-1.7.3.ebuild
@@ -28,7 +28,7 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="dev-libs/capnproto:0"
 RDEPEND="app-i18n/opencc:0=
-   >=dev-cpp/glog-0.3.5:0=
+   !sparc? ( >=dev-cpp/glog-0.3.5:0= )
dev-cpp/yaml-cpp:0=
dev-libs/boost:0=[threads]
dev-libs/capnproto:0=
@@ -66,6 +66,8 @@ src_configure() {
-DBUILD_TEST=$(usex test ON OFF)
-DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON
-DENABLE_EXTERNAL_PLUGINS=ON
+   # dev-cpp/glog is currently marked -sparc
+   -DENABLE_LOGGING=$(usex !sparc)
-DINSTALL_PRIVATE_HEADERS=ON
)
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/files/, app-i18n/librime/

2021-05-09 Thread Mike Gilbert
commit: 47a8bd464422938d63da0111dd60aa7d196aa482
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sat May  8 04:00:00 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun May  9 13:38:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a8bd46

app-i18n/librime: Fix building with >=dev-libs/boost-1.76.

Closes: https://bugs.gentoo.org/788727
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 .../librime/files/librime-1.6.0-boost-1.76.patch   | 24 ++
 app-i18n/librime/librime-1.6.0.ebuild  |  3 ++-
 app-i18n/librime/librime-1.6.1.ebuild  |  3 ++-
 app-i18n/librime/librime-1.7.3.ebuild  |  2 ++
 4 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/files/librime-1.6.0-boost-1.76.patch 
b/app-i18n/librime/files/librime-1.6.0-boost-1.76.patch
new file mode 100644
index 000..5ed1447359d
--- /dev/null
+++ b/app-i18n/librime/files/librime-1.6.0-boost-1.76.patch
@@ -0,0 +1,24 @@
+https://github.com/rime/librime/issues/462
+https://github.com/rime/librime/pull/463
+https://github.com/rime/librime/commit/57cffcd02ac70148e21ce982be834876b3df87db
+
+--- /src/rime/gear/script_translator.cc
 /src/rime/gear/script_translator.cc
+@@ -8,6 +8,7 @@
+ //
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+--- /src/rime/gear/table_translator.cc
 /src/rime/gear/table_translator.cc
+@@ -6,6 +6,7 @@
+ //
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 

diff --git a/app-i18n/librime/librime-1.6.0.ebuild 
b/app-i18n/librime/librime-1.6.0.ebuild
index eef1faa5bd5..c3c438bc80d 100644
--- a/app-i18n/librime/librime-1.6.0.ebuild
+++ b/app-i18n/librime/librime-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2012-2020 Gentoo Authors
+# Copyright 2012-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -43,6 +43,7 @@ DEPEND="${RDEPEND}
 DOCS=(CHANGELOG.md README.md)
 
 src_prepare() {
+   eapply "${FILESDIR}/${PN}-1.6.0-boost-1.76.patch"
eapply "${FILESDIR}/${PN}-1.6.0-plugins.patch"
 
# Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.

diff --git a/app-i18n/librime/librime-1.6.1.ebuild 
b/app-i18n/librime/librime-1.6.1.ebuild
index 91cdfdf161d..e1a0804e63a 100644
--- a/app-i18n/librime/librime-1.6.1.ebuild
+++ b/app-i18n/librime/librime-1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2012-2020 Gentoo Authors
+# Copyright 2012-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -43,6 +43,7 @@ DEPEND="${RDEPEND}
 DOCS=(CHANGELOG.md README.md)
 
 src_prepare() {
+   eapply "${FILESDIR}/${PN}-1.6.0-boost-1.76.patch"
eapply "${FILESDIR}/${PN}-1.6.1-plugins.patch"
 
# Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.

diff --git a/app-i18n/librime/librime-1.7.3.ebuild 
b/app-i18n/librime/librime-1.7.3.ebuild
index 03e55e308b4..44310ba275b 100644
--- a/app-i18n/librime/librime-1.7.3.ebuild
+++ b/app-i18n/librime/librime-1.7.3.ebuild
@@ -43,6 +43,8 @@ DEPEND="${RDEPEND}
 DOCS=(CHANGELOG.md README.md)
 
 src_prepare() {
+   eapply "${FILESDIR}/${PN}-1.6.0-boost-1.76.patch"
+
# Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.
sed -e "/\${PROJECT_SOURCE_DIR}\/thirdparty/d" -i CMakeLists.txt || die
rm -r thirdparty || die



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2021-02-26 Thread Yixun Lan
commit: 04e332e173a2d4f25a6377baeb8894a88aa219ca
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Feb 26 20:02:49 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Feb 26 22:48:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04e332e1

app-i18n/librime: version bump, 1.7.3

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.7.3.ebuild | 71 +++
 2 files changed, 72 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 6dc19f5257a..f2e2c6fc135 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,3 +1,4 @@
 DIST librime-1.5.3.tar.gz 2847083 BLAKE2B 
4ffb2c5ddaf52f9c9227fa4ea019ef2965e61139f678798c08ef37dc52b863763651b63ed820caad0de1b06f48ab5c1a7a2682653340d2ae7f5f9eec3cec80b2
 SHA512 
4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3
 DIST librime-1.6.0.tar.gz 2856645 BLAKE2B 
de6d843a5028f6b0308c3432ada7dd00c08a71e73fe799b157fd71a4054c757a00d3b0fdc7743d94d6e87b03f256e822ee29c16c86f96f5d24c7d864266c4f78
 SHA512 
4aeace0f1628293d4b607483ab976841093a1ff03df8bf63d545715af00254d1f0b1bdcd120795ea688d152287069881e0740372f40e2174a14ae6f53b7f950b
 DIST librime-1.6.1.tar.gz 2856751 BLAKE2B 
c6b01342dcc9e8ee571cb14a36b851a50bf7b191211197421647ab05e6fa64c676f8936920870dcc335d06c635e354fed706832e41192bccd0a17aff02df1a43
 SHA512 
944361e9459662bb97b97ce9e2651acf0beb368b3769d1b9576cf4e5c2779302cae470fa39f5bc262cabb6a0e8590bcb77d32ffc87d7385b9465869fe7d5bcb3
+DIST librime-1.7.3.tar.gz 2859513 BLAKE2B 
834622860cdc3038d1b983f476bca70f211dfbc3bc2b565a998163e22688841ee3a0c7f9a64bce285e2f3f5b5a9a802bd5506f17904ccb3291babf80d4748fb5
 SHA512 
8767d17c3d14a5a1bbb8269fab1627b907de72c288b362fdbc6191223937da21e8b18471b4ae8f83ce5afc0ec5c3ab12fbcb49930eb9969c1764c7390d9ee4b0

diff --git a/app-i18n/librime/librime-1.7.3.ebuild 
b/app-i18n/librime/librime-1.7.3.ebuild
new file mode 100644
index 000..03e55e308b4
--- /dev/null
+++ b/app-i18n/librime/librime-1.7.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2012-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/rime/librime;
+   EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="RIME (Rime Input Method Engine) core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
+if [[ "${PV}" == "" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/1-${PV}"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="dev-libs/capnproto:0"
+RDEPEND="app-i18n/opencc:0=
+   >=dev-cpp/glog-0.3.5:0=
+   dev-cpp/yaml-cpp:0=
+   dev-libs/boost:0=[threads]
+   dev-libs/capnproto:0=
+   dev-libs/leveldb:0=
+   dev-libs/marisa:0="
+DEPEND="${RDEPEND}
+   dev-libs/darts
+   dev-libs/utfcpp
+   x11-base/xorg-proto
+   test? ( dev-cpp/gtest )"
+
+DOCS=(CHANGELOG.md README.md)
+
+src_prepare() {
+   # Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.
+   sed -e "/\${PROJECT_SOURCE_DIR}\/thirdparty/d" -i CMakeLists.txt || die
+   rm -r thirdparty || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local -x CXXFLAGS="${CXXFLAGS} -I${ESYSROOT}/usr/include/utf8cpp"
+
+   if use debug; then
+   CXXFLAGS+=" -DDCHECK_ALWAYS_ON"
+   else
+   CXXFLAGS+=" -DNDEBUG"
+   fi
+
+   local mycmakeargs=(
+   -DBOOST_USE_CXX11=ON
+   -DBUILD_TEST=$(usex test ON OFF)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON
+   -DENABLE_EXTERNAL_PLUGINS=ON
+   -DINSTALL_PRIVATE_HEADERS=ON
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2020-12-27 Thread Mike Gilbert
commit: 28d87f4afd2352e33e1aa20aebf1bb0c7e964283
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Dec 27 03:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 28 00:01:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d87f4a

app-i18n/librime: Set maintainer Arfrever.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/metadata.xml | 40 ++--
 1 file changed, 22 insertions(+), 18 deletions(-)

diff --git a/app-i18n/librime/metadata.xml b/app-i18n/librime/metadata.xml
index 777c41df84a..605a8130327 100644
--- a/app-i18n/librime/metadata.xml
+++ b/app-i18n/librime/metadata.xml
@@ -1,22 +1,26 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-d...@gentoo.org
-Yixun Lan
-  
-  
-c...@gentoo.org
-Cjk
-  
-  
-Enable debugging (including logging of input of RIME 
input methods)
-  
-  
-
-  chen@gmail.com
-  Gong Chen
-
-rime/librime
-  
+   
+   arfrever@gmail.com
+   Arfrever Frehtes Taifersar Arahesis
+   
+   
+   d...@gentoo.org
+   Yixun Lan
+   
+   
+   c...@gentoo.org
+   Cjk
+   
+   
+   Enable debugging (including logging of input 
of RIME input methods)
+   
+   
+   
+   chen@gmail.com
+   弓辰 (Gōng Chén)
+   
+   rime/librime
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2020-12-27 Thread Mike Gilbert
commit: ccbe15bd7e94752aae5c64e475d844fcf4f2e622
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Dec 27 01:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 28 00:01:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccbe15bd

app-i18n/librime: Version bump (1.6.1).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.6.1.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index cc0a9ca5672..6dc19f5257a 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,2 +1,3 @@
 DIST librime-1.5.3.tar.gz 2847083 BLAKE2B 
4ffb2c5ddaf52f9c9227fa4ea019ef2965e61139f678798c08ef37dc52b863763651b63ed820caad0de1b06f48ab5c1a7a2682653340d2ae7f5f9eec3cec80b2
 SHA512 
4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3
 DIST librime-1.6.0.tar.gz 2856645 BLAKE2B 
de6d843a5028f6b0308c3432ada7dd00c08a71e73fe799b157fd71a4054c757a00d3b0fdc7743d94d6e87b03f256e822ee29c16c86f96f5d24c7d864266c4f78
 SHA512 
4aeace0f1628293d4b607483ab976841093a1ff03df8bf63d545715af00254d1f0b1bdcd120795ea688d152287069881e0740372f40e2174a14ae6f53b7f950b
+DIST librime-1.6.1.tar.gz 2856751 BLAKE2B 
c6b01342dcc9e8ee571cb14a36b851a50bf7b191211197421647ab05e6fa64c676f8936920870dcc335d06c635e354fed706832e41192bccd0a17aff02df1a43
 SHA512 
944361e9459662bb97b97ce9e2651acf0beb368b3769d1b9576cf4e5c2779302cae470fa39f5bc262cabb6a0e8590bcb77d32ffc87d7385b9465869fe7d5bcb3

diff --git a/app-i18n/librime/librime-1.6.1.ebuild 
b/app-i18n/librime/librime-1.6.1.ebuild
new file mode 100644
index 000..674c8ae665e
--- /dev/null
+++ b/app-i18n/librime/librime-1.6.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2012-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/rime/librime;
+   EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="RIME (Rime Input Method Engine) core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
+if [[ "${PV}" == "" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="dev-libs/capnproto:0"
+RDEPEND="app-i18n/opencc:0=
+   >=dev-cpp/glog-0.3.5:0=
+   dev-cpp/yaml-cpp:0=
+   dev-libs/boost:0=[threads]
+   dev-libs/capnproto:0=
+   dev-libs/leveldb:0=
+   dev-libs/marisa:0="
+DEPEND="${RDEPEND}
+   dev-libs/darts
+   dev-libs/utfcpp
+   x11-base/xorg-proto
+   test? ( dev-cpp/gtest )"
+
+DOCS=(CHANGELOG.md README.md)
+
+src_prepare() {
+   # Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.
+   sed -e "/\${PROJECT_SOURCE_DIR}\/thirdparty/d" -i CMakeLists.txt || die
+   rm -r thirdparty || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local -x CXXFLAGS="${CXXFLAGS} -I${ESYSROOT}/usr/include/utf8cpp"
+
+   if use debug; then
+   CXXFLAGS+=" -DDCHECK_ALWAYS_ON"
+   else
+   CXXFLAGS+=" -DNDEBUG"
+   fi
+
+   local mycmakeargs=(
+   -DBOOST_USE_CXX11=ON
+   -DBUILD_TEST=$(usex test ON OFF)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime-lua/

2020-12-27 Thread Mike Gilbert
commit: e27c985c8ca9cf49bef7e32ff7f4e207fe5c1f9e
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Dec 27 05:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 28 00:01:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e27c985c

app-i18n/librime-lua: Initial addition.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime-lua/Manifest  |  1 +
 .../librime-lua/librime-lua-20201011103348.ebuild  | 53 ++
 .../librime-lua/librime-lua-99.ebuild  | 53 ++
 app-i18n/librime-lua/metadata.xml  | 15 ++
 4 files changed, 122 insertions(+)

diff --git a/app-i18n/librime-lua/Manifest b/app-i18n/librime-lua/Manifest
new file mode 100644
index 000..63cef86cfde
--- /dev/null
+++ b/app-i18n/librime-lua/Manifest
@@ -0,0 +1 @@
+DIST librime-lua-20201011103348.tar.gz 21600 BLAKE2B 
f7046d1eb23391ca70543aa64c52092081cef51a69ac3a282f2f1392eaf760515186f063e9d469c5c41ac9f495ace814ab741a0821d1a635b9ad1f4faa7a3912
 SHA512 
2a3d3b49d53066fe96dd008e8064718082225e6bf185574a25b8e98175d9936abcfa1fdc56e48f9c72a2deb46f8157d6132fd119ff8e0a3d52fbe9e2ea21386c

diff --git a/app-i18n/librime-lua/librime-lua-20201011103348.ebuild 
b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
new file mode 100644
index 000..5abed7223b0
--- /dev/null
+++ b/app-i18n/librime-lua/librime-lua-20201011103348.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+LUA_COMPAT=(lua{5-1,5-2,5-3,5-4})
+
+inherit cmake lua-single
+
+if [[ "${PV}" == "99" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/hchunhui/librime-lua;
+else
+   LIBRIME_LUA_GIT_REVISION="d45a41af2f9d731e3c1516a191cc3160e3cb8377"
+fi
+
+DESCRIPTION="Lua support for RIME"
+HOMEPAGE="https://github.com/hchunhui/librime-lua;
+if [[ "${PV}" == "99" ]]; then
+   SRC_URI=""
+else
+   
SRC_URI="https://github.com/hchunhui/${PN}/archive/${LIBRIME_LUA_GIT_REVISION}.tar.gz
 -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND=""
+RDEPEND=">=app-i18n/librime-1.6:0=
+   ${LUA_DEPS}"
+DEPEND="${RDEPEND}
+   dev-libs/boost:0"
+
+if [[ "${PV}" != "99" ]]; then
+   S="${WORKDIR}/${PN}-${LIBRIME_LUA_GIT_REVISION}"
+fi
+
+src_prepare() {
+   sed \
+   -e "1icmake_minimum_required(VERSION 3.0)\nproject(${PN})\n" \
+   -e "s/ PARENT_SCOPE//" \
+   -e "\$a\\\n" \
+   -e "\$aadd_library(\${plugin_modules} MODULE \${plugin_objs})" \
+   -e "\$aset_target_properties(\${plugin_modules} PROPERTIES 
PREFIX \"\")" \
+   -e "\$atarget_link_libraries(\${plugin_modules} rime 
\${plugin_deps})" \
+   -e "\$ainstall(TARGETS \${plugin_modules} DESTINATION 
$(get_libdir)/rime-plugins)" \
+   -i CMakeLists.txt || die
+
+   cmake_src_prepare
+}

diff --git a/app-i18n/librime-lua/librime-lua-99.ebuild 
b/app-i18n/librime-lua/librime-lua-99.ebuild
new file mode 100644
index 000..fcf9189fe7d
--- /dev/null
+++ b/app-i18n/librime-lua/librime-lua-99.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+LUA_COMPAT=(lua{5-1,5-2,5-3,5-4})
+
+inherit cmake lua-single
+
+if [[ "${PV}" == "99" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/hchunhui/librime-lua;
+else
+   LIBRIME_LUA_GIT_REVISION="d45a41af2f9d731e3c1516a191cc3160e3cb8377"
+fi
+
+DESCRIPTION="Lua support for RIME"
+HOMEPAGE="https://github.com/hchunhui/librime-lua;
+if [[ "${PV}" == "99" ]]; then
+   SRC_URI=""
+else
+   
SRC_URI="https://github.com/hchunhui/${PN}/archive/${LIBRIME_LUA_GIT_REVISION}.tar.gz
 -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND=""
+RDEPEND=">=app-i18n/librime-1.6:0=
+   ${LUA_DEPS}"
+DEPEND="${RDEPEND}
+   dev-libs/boost:0"
+
+if [[ "${PV}" != "99" ]]; then
+   S="${WORKDIR}/${PN}-${LIBRIME_LUA_GIT_REVISION}"
+fi
+
+src_prepare() {
+   sed \
+   -e "1icmake_minimum_required(VERSION 3.0)\nproject(${PN})\n" \
+   -e "s/ PARENT_SCOPE//" \
+   -e "\$a\\\n" \
+   -e "\$aadd_library(\${plugin_modules} MODULE \${plugin_objs})" \
+   -e "\$aset_target_properties(\${plugin_modules} PROPERTIES 
PREFIX \"\")" \
+   -e "\$atarget_link_libraries(\${plugin_modules} rime 
\${plugin_deps})" \
+   -e "\$ainstall(TARGETS \${plugin_modules} DESTINATION 
$(get_libdir)/rime-plugins)" \
+  

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2020-12-27 Thread Mike Gilbert
commit: f221cc9e5e4151e1095d1416ee5a1cfe66226db9
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Dec 27 00:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 28 00:01:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f221cc9e

app-i18n/librime: Version bump (1.6.0).

Closes: https://bugs.gentoo.org/761999
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.6.0.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 540a26bb8fe..cc0a9ca5672 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1 +1,2 @@
 DIST librime-1.5.3.tar.gz 2847083 BLAKE2B 
4ffb2c5ddaf52f9c9227fa4ea019ef2965e61139f678798c08ef37dc52b863763651b63ed820caad0de1b06f48ab5c1a7a2682653340d2ae7f5f9eec3cec80b2
 SHA512 
4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3
+DIST librime-1.6.0.tar.gz 2856645 BLAKE2B 
de6d843a5028f6b0308c3432ada7dd00c08a71e73fe799b157fd71a4054c757a00d3b0fdc7743d94d6e87b03f256e822ee29c16c86f96f5d24c7d864266c4f78
 SHA512 
4aeace0f1628293d4b607483ab976841093a1ff03df8bf63d545715af00254d1f0b1bdcd120795ea688d152287069881e0740372f40e2174a14ae6f53b7f950b

diff --git a/app-i18n/librime/librime-1.6.0.ebuild 
b/app-i18n/librime/librime-1.6.0.ebuild
new file mode 100644
index 000..674c8ae665e
--- /dev/null
+++ b/app-i18n/librime/librime-1.6.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2012-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/rime/librime;
+   EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="RIME (Rime Input Method Engine) core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
+if [[ "${PV}" == "" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="debug test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="dev-libs/capnproto:0"
+RDEPEND="app-i18n/opencc:0=
+   >=dev-cpp/glog-0.3.5:0=
+   dev-cpp/yaml-cpp:0=
+   dev-libs/boost:0=[threads]
+   dev-libs/capnproto:0=
+   dev-libs/leveldb:0=
+   dev-libs/marisa:0="
+DEPEND="${RDEPEND}
+   dev-libs/darts
+   dev-libs/utfcpp
+   x11-base/xorg-proto
+   test? ( dev-cpp/gtest )"
+
+DOCS=(CHANGELOG.md README.md)
+
+src_prepare() {
+   # Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.
+   sed -e "/\${PROJECT_SOURCE_DIR}\/thirdparty/d" -i CMakeLists.txt || die
+   rm -r thirdparty || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local -x CXXFLAGS="${CXXFLAGS} -I${ESYSROOT}/usr/include/utf8cpp"
+
+   if use debug; then
+   CXXFLAGS+=" -DDCHECK_ALWAYS_ON"
+   else
+   CXXFLAGS+=" -DNDEBUG"
+   fi
+
+   local mycmakeargs=(
+   -DBOOST_USE_CXX11=ON
+   -DBUILD_TEST=$(usex test ON OFF)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/, app-i18n/librime/files/

2020-12-27 Thread Mike Gilbert
commit: fe59e816cd7e2c280668084c7457bbdff4109740
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Dec 27 02:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 28 00:01:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe59e816

app-i18n/librime: Support plugins.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/files/librime-1.6.0-plugins.patch | 247 +
 app-i18n/librime/files/librime-1.6.1-plugins.patch | 247 +
 app-i18n/librime/librime-1.6.0.ebuild  |   6 +-
 app-i18n/librime/librime-1.6.1.ebuild  |   6 +-
 4 files changed, 504 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/files/librime-1.6.0-plugins.patch 
b/app-i18n/librime/files/librime-1.6.0-plugins.patch
new file mode 100644
index 000..c79072f31cb
--- /dev/null
+++ b/app-i18n/librime/files/librime-1.6.0-plugins.patch
@@ -0,0 +1,247 @@
+https://github.com/rime/librime/issues/431
+
+--- /CMakeLists.txt
 /CMakeLists.txt
+@@ -11,6 +11,14 @@
+ 
+ include(GNUInstallDirs)
+ 
++if(NOT DEFINED BIN_INSTALL_DIR)
++set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR})
++endif()
++
++if(NOT DEFINED LIB_INSTALL_DIR)
++set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR})
++endif()
++
+ option(BUILD_SHARED_LIBS "Build Rime as shared library" ON)
+ option(BUILD_MERGED_PLUGINS "Merge plugins into one Rime library" ON)
+ option(BUILD_STATIC "Build with dependencies as static libraries" OFF)
+@@ -22,8 +30,11 @@
+ option(BOOST_USE_CXX11 "Boost has been built with C++11 support" OFF)
+ option(BOOST_USE_SIGNALS2 "Boost use signals2 instead of signals" ON)
+ option(ENABLE_ASAN "Enable Address Sanitizer (Unix Only)" OFF)
++option(INSTALL_PRIVATE_HEADERS "Install private headers (usually needed for 
externally built Rime plugins)" OFF)
++option(ENABLE_EXTERNAL_PLUGINS "Enable loading of externally built Rime 
plugins (from directory set by RIME_PLUGINS_DIR variable)" OFF)
+ 
+-set(rime_data_dir "/share/rime-data" CACHE STRING "Target directory for Rime 
data")
++set(RIME_DATA_DIR "share/rime-data" CACHE STRING "Target directory for Rime 
data")
++set(RIME_PLUGINS_DIR "${LIB_INSTALL_DIR}/rime-plugins" CACHE STRING "Target 
directory for externally built Rime plugins")
+ 
+ if(WIN32)
+   set(ext ".exe")
+@@ -61,7 +72,7 @@
+ set(BOOST_COMPONENTS filesystem regex system)
+ 
+ if(BOOST_USE_SIGNALS2)
+-  add_definitions("-DBOOST_SIGNALS2")
++  set(RIME_BOOST_SIGNALS2 1)
+ else()
+   set(BOOST_COMPONENTS ${BOOST_COMPONENTS} signals)
+ endif()
+@@ -89,7 +100,7 @@
+ add_definitions(-DGOOGLE_GLOG_DLL_DECL=)
+   endif()
+ 
+-  add_definitions(-DRIME_ENABLE_LOGGING)
++  set(RIME_ENABLE_LOGGING 1)
+ 
+ endif()
+ 
+@@ -134,6 +145,11 @@
+   message(WARNING "X11/keysym.h not found.")
+ endif()
+ 
++configure_file(
++  "${PROJECT_SOURCE_DIR}/src/rime/build_config.h.in"
++  "${PROJECT_BINARY_DIR}/src/rime/build_config.h")
++
++include_directories(${PROJECT_BINARY_DIR}/src)
+ include_directories(${PROJECT_SOURCE_DIR}/src)
+ include_directories(${PROJECT_SOURCE_DIR}/thirdparty/include)
+ link_directories(${PROJECT_SOURCE_DIR}/thirdparty/lib)
+@@ -154,14 +170,6 @@
+   set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
+ endif()
+ 
+-if(NOT DEFINED LIB_INSTALL_DIR)
+-set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR})
+-endif()
+-
+-if(NOT DEFINED BIN_INSTALL_DIR)
+-set(BIN_INSTALL_DIR ${CMAKE_INSTALL_BINDIR})
+-endif()
+-
+ # uninstall target
+ configure_file(
+   "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
+@@ -175,7 +183,8 @@
+   set(exec_prefix "${CMAKE_INSTALL_PREFIX}")
+   set(bindir "${exec_prefix}/${BIN_INSTALL_DIR}")
+   set(libdir "${exec_prefix}/${LIB_INSTALL_DIR}")
+-  set(pkgdatadir "${prefix}${rime_data_dir}")
++  set(pkgdatadir "${prefix}/${RIME_DATA_DIR}")
++  set(pluginsdir "${exec_prefix}/${RIME_PLUGINS_DIR}")
+   set(includedir "${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
+   configure_file(
+   ${PROJECT_SOURCE_DIR}/rime.pc.in
+@@ -189,11 +198,19 @@
+ 
+ file(GLOB rime_public_header_files ${PROJECT_SOURCE_DIR}/src/*.h)
+ install(FILES ${rime_public_header_files} DESTINATION include)
++if(INSTALL_PRIVATE_HEADERS)
++  file(GLOB rime_private_header_files ${PROJECT_SOURCE_DIR}/src/rime/*.h 
${PROJECT_BINARY_DIR}/src/rime/*.h)
++  install(FILES ${rime_private_header_files} DESTINATION include/rime)
++  foreach(rime_private_header_files_dir algo config dict gear lever)
++file(GLOB rime_private_header_files 
${PROJECT_SOURCE_DIR}/src/rime/${rime_private_header_files_dir}/*.h)
++install(FILES ${rime_private_header_files} DESTINATION 
include/rime/${rime_private_header_files_dir})
++  endforeach()
++endif()
+ 
+ if(BUILD_DATA)
+   file(GLOB rime_preset_data_files ${PROJECT_SOURCE_DIR}/data/preset/*.yaml)
+   install(FILES ${rime_preset_data_files}
+-DESTINATION ${CMAKE_INSTALL_PREFIX}${rime_data_dir})
++

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2020-04-10 Thread Sergei Trofimovich
commit: 47e92fd64fa56bbbc79265a70e87a09149f13723
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Apr 10 08:36:13 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Apr 10 09:48:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e92fd6

app-i18n/librime: drop ~sparc, glog has lost keyword

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-i18n/librime/librime-1.5.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/librime-1.5.3-r1.ebuild 
b/app-i18n/librime/librime-1.5.3-r1.ebuild
index 91569d76fae..e05bb22da52 100644
--- a/app-i18n/librime/librime-1.5.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.5.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2012-2019 Gentoo Authors
+# Copyright 2012-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="amd64 arm64 ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 arm64 ppc ppc64 x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2020-01-17 Thread Mike Gilbert
commit: 9b2a35e8915fc937d280d8e0aae4af398e2cdf09
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Jan 17 17:47:23 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Jan 17 19:08:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2a35e8

app-i18n/librime: Delete old version (1.4.0).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/Manifest |  1 -
 app-i18n/librime/librime-1.4.0.ebuild | 37 ---
 2 files changed, 38 deletions(-)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 771ae28c844..540a26bb8fe 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,2 +1 @@
-DIST librime-1.4.0.tar.gz 8609316 BLAKE2B 
cce58c398057ac82f076e3b9e9a25cd6410e738460bd58277a9e3ed6cd11e80922bbb30e8b42828cdd5dd83f6058794b4b32fedb359315186b018ca88161794d
 SHA512 
da68983638c6f25d994060a607f2ccab8917a71dbf10b9c6f1140c87c9ef4124e29a1d0ef16bbd0edc9a3a22bd5845aa894888d678607db372750f300638f562
 DIST librime-1.5.3.tar.gz 2847083 BLAKE2B 
4ffb2c5ddaf52f9c9227fa4ea019ef2965e61139f678798c08ef37dc52b863763651b63ed820caad0de1b06f48ab5c1a7a2682653340d2ae7f5f9eec3cec80b2
 SHA512 
4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
deleted file mode 100644
index 20b5459ab2c..000
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2012-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils vcs-snapshot
-
-DESCRIPTION="Rime Input Method Engine, the core library"
-HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
-SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/1"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-i18n/opencc:=
-   dev-cpp/glog:=
-   dev-cpp/yaml-cpp:=
-   dev-libs/boost:=[nls,threads]
-   dev-libs/leveldb:=
-   dev-libs/marisa:="
-DEPEND="${RDEPEND}
-   x11-base/xorg-proto
-   test? ( dev-cpp/gtest )"
-
-DOCS=( {CHANGELOG,README}.md )
-
-src_configure() {
-   local mycmakeargs=(
-   -DBUILD_TEST=$(usex test)
-   -DBOOST_USE_CXX11=ON
-   -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-12-31 Thread Aaron Bauman
commit: 76be5d2dafdb96ee583a6f3be251ac0636c6d74b
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Dec 31 18:06:03 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Dec 31 18:06:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76be5d2d

app-i18n/librime: arm64 stable (bug #704258)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-i18n/librime/librime-1.5.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3-r1.ebuild 
b/app-i18n/librime/librime-1.5.3-r1.ebuild
index 7ddd335fc94..91569d76fae 100644
--- a/app-i18n/librime/librime-1.5.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.5.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm64 ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 arm64 ppc ppc64 ~sparc x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-12-31 Thread Agostino Sarubbo
commit: 38f5aba215ff1bdf291dd8612e4c3a5eac8772c8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 31 08:17:22 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 31 08:17:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f5aba2

app-i18n/librime: ppc64 stable wrt bug #704258

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/librime/librime-1.5.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3-r1.ebuild 
b/app-i18n/librime/librime-1.5.3-r1.ebuild
index b295fc71911..7ddd335fc94 100644
--- a/app-i18n/librime/librime-1.5.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.5.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm64 ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm64 ppc ppc64 ~sparc x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-12-31 Thread Agostino Sarubbo
commit: de143d4c323592ff2f0db9ae696f59af230f50f7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 31 08:15:34 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 31 08:15:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de143d4c

app-i18n/librime: ppc stable wrt bug #704258

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/librime/librime-1.5.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3-r1.ebuild 
b/app-i18n/librime/librime-1.5.3-r1.ebuild
index 56fd9b19588..b295fc71911 100644
--- a/app-i18n/librime/librime-1.5.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.5.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm64 ppc ~ppc64 ~sparc x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-12-29 Thread Mike Gilbert
commit: 4a915f48f7cf28d7af11a8d83d82585cf82cda7f
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Dec 23 21:20:47 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Dec 29 19:31:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a915f48

app-i18n/librime: Stabilize 1.5.3-r1 on amd64/x86.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.5.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3-r1.ebuild 
b/app-i18n/librime/librime-1.5.3-r1.ebuild
index b41cd0ea439..56fd9b19588 100644
--- a/app-i18n/librime/librime-1.5.3-r1.ebuild
+++ b/app-i18n/librime/librime-1.5.3-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~sparc x86"
 IUSE="debug test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-12-29 Thread Mike Gilbert
commit: 313353afecffe37667c99824285f012d0b342676
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Dec 23 21:16:10 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Dec 29 19:31:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=313353af

app-i18n/librime: Add "debug" USE flag.

Bug: https://bugs.gentoo.org/695702
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.5.3.ebuild | 8 +++-
 app-i18n/librime/metadata.xml | 3 +++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3.ebuild
index 074f50244aa..9827ea65ff6 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -23,7 +23,7 @@ fi
 LICENSE="BSD"
 SLOT="0/1"
 KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="test"
+IUSE="debug test"
 RESTRICT="!test? ( test )"
 
 BDEPEND=""
@@ -52,6 +52,12 @@ src_prepare() {
 src_configure() {
local -x CXXFLAGS="${CXXFLAGS} -I${ESYSROOT}/usr/include/utf8cpp"
 
+   if use debug; then
+   CXXFLAGS+=" -DDCHECK_ALWAYS_ON"
+   else
+   CXXFLAGS+=" -DNDEBUG"
+   fi
+
local mycmakeargs=(
-DBOOST_USE_CXX11=ON
-DBUILD_TEST=$(usex test ON OFF)

diff --git a/app-i18n/librime/metadata.xml b/app-i18n/librime/metadata.xml
index 1ef87e42d3d..777c41df84a 100644
--- a/app-i18n/librime/metadata.xml
+++ b/app-i18n/librime/metadata.xml
@@ -9,6 +9,9 @@
 c...@gentoo.org
 Cjk
   
+  
+Enable debugging (including logging of input of RIME 
input methods)
+  
   
 
   chen@gmail.com



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/files/, app-i18n/librime/

2019-12-29 Thread Mike Gilbert
commit: d149e41c89b85dff47bd5cdc332e6c0817acdd72
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Dec 23 21:18:36 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Dec 29 19:31:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d149e41c

app-i18n/librime: Set secure mode of log files.

Bug: https://bugs.gentoo.org/695702
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/files/librime-1.5.3-log_files_mode.patch  | 14 ++
 .../{librime-1.5.3.ebuild => librime-1.5.3-r1.ebuild}  |  6 +-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/app-i18n/librime/files/librime-1.5.3-log_files_mode.patch 
b/app-i18n/librime/files/librime-1.5.3-log_files_mode.patch
new file mode 100644
index 000..7a36dea64d2
--- /dev/null
+++ b/app-i18n/librime/files/librime-1.5.3-log_files_mode.patch
@@ -0,0 +1,14 @@
+https://github.com/rime/librime/issues/316
+https://github.com/rime/librime/commit/90839b0b3d47cbfef715ea5f061c7505666ff75d
+
+--- /src/rime/setup.cc
 /src/rime/setup.cc
+@@ -35,6 +35,8 @@
+ 
+ RIME_API void SetupLogging(const char* app_name) {
+ #ifdef RIME_ENABLE_LOGGING
++  // Do not allow other users to read/write log files created by current 
process.
++  FLAGS_logfile_mode = 0600;
+   google::InitGoogleLogging(app_name);
+ #endif  // RIME_ENABLE_LOGGING
+ }

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3-r1.ebuild
similarity index 95%
rename from app-i18n/librime/librime-1.5.3.ebuild
rename to app-i18n/librime/librime-1.5.3-r1.ebuild
index 9827ea65ff6..b41cd0ea439 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3-r1.ebuild
@@ -28,7 +28,7 @@ RESTRICT="!test? ( test )"
 
 BDEPEND=""
 RDEPEND="app-i18n/opencc:0=
-   dev-cpp/glog:0=
+   >=dev-cpp/glog-0.3.5:0=
dev-cpp/yaml-cpp:0=
dev-libs/boost:0=[nls,threads]
dev-libs/leveldb:0=
@@ -39,6 +39,10 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto
test? ( dev-cpp/gtest )"
 
+PATCHES=(
+   "${FILESDIR}/${P}-log_files_mode.patch"
+)
+
 DOCS=(CHANGELOG.md README.md)
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-12-07 Thread David Seifert
commit: 7abc55c41fdd719dae744c67b01648ed8d4b7d31
Author: David Seifert  gentoo  org>
AuthorDate: Sat Dec  7 13:12:37 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec  7 13:12:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abc55c4

app-i18n/librime: Remove old

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 app-i18n/librime/Manifest |  2 --
 app-i18n/librime/librime-1.2.9.ebuild | 35 -
 app-i18n/librime/librime-1.3.1.ebuild | 37 ---
 3 files changed, 74 deletions(-)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index a54eae337fe..771ae28c844 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,4 +1,2 @@
-DIST librime-1.2.9.tar.gz 5516609 BLAKE2B 
7b05fedb093f7595c7bf7f4893624b35b0cdde1816c9c99f9ed5d408c8fd21d34a361d16b94c43b3e5e23b10945f075711762f08ca30abee35849a332ecfee2d
 SHA512 
2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a
-DIST librime-1.3.1.tar.gz 8598357 BLAKE2B 
cd6bc6b63a89f7f11e78ceaf92007c099be34ce38f26d611b67a3d8f868a27a0e4de7b94da44d8483618f37a0c2bcfd3a1bc1c1ecb4f81829f8e12fdd777e283
 SHA512 
b35d3635fd776ed9be32c0998e4aac441433bc9e624765a57582690108cccf5c3beaedad4f8f1682d99533384cd10996ee8c18fd5adcea70878d6a410124922e
 DIST librime-1.4.0.tar.gz 8609316 BLAKE2B 
cce58c398057ac82f076e3b9e9a25cd6410e738460bd58277a9e3ed6cd11e80922bbb30e8b42828cdd5dd83f6058794b4b32fedb359315186b018ca88161794d
 SHA512 
da68983638c6f25d994060a607f2ccab8917a71dbf10b9c6f1140c87c9ef4124e29a1d0ef16bbd0edc9a3a22bd5845aa894888d678607db372750f300638f562
 DIST librime-1.5.3.tar.gz 2847083 BLAKE2B 
4ffb2c5ddaf52f9c9227fa4ea019ef2965e61139f678798c08ef37dc52b863763651b63ed820caad0de1b06f48ab5c1a7a2682653340d2ae7f5f9eec3cec80b2
 SHA512 
4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
deleted file mode 100644
index da4b3ecb895..000
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2012-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit cmake-utils vcs-snapshot
-
-DESCRIPTION="Rime Input Method Engine, the core library"
-HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
-SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0/1"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-i18n/opencc:=
-   dev-cpp/glog:=
-   dev-cpp/yaml-cpp:=
-   https://rime.im/ https://github.com/rime/librime;
-SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/1"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-i18n/opencc:=
-   dev-cpp/glog:=
-   dev-cpp/yaml-cpp:=
-   

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-09-28 Thread Mike Gilbert
commit: 47186617067461a05d4f28dc1a26f5a254bfb7dd
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sat Sep 28 02:53:47 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Sep 29 02:56:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47186617

app-i18n/librime: Depend on dev-libs/boost[nls].

Fixes: https://bugs.gentoo.org/694334
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.3.1.ebuild | 2 +-
 app-i18n/librime/librime-1.4.0.ebuild | 2 +-
 app-i18n/librime/librime-1.5.3.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-i18n/librime/librime-1.3.1.ebuild 
b/app-i18n/librime/librime-1.3.1.ebuild
index d2ed92eef3b..247e65b63c5 100644
--- a/app-i18n/librime/librime-1.3.1.ebuild
+++ b/app-i18n/librime/librime-1.3.1.ebuild
@@ -18,7 +18,7 @@ RESTRICT="!test? ( test )"
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=
dev-cpp/yaml-cpp:=
-   

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-09-28 Thread Mike Gilbert
commit: 2af3bd0b792c31a973ab66a857b7c796528488fc
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sat Sep 28 02:48:12 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Sep 29 02:56:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af3bd0b

app-i18n/librime: Use ESYSROOT.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3.ebuild
index dbc7f5894fe..3df62e22c1f 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -50,7 +50,7 @@ src_prepare() {
 }
 
 src_configure() {
-   local -x CXXFLAGS="${CXXFLAGS} -I/usr/include/utf8cpp"
+   local -x CXXFLAGS="${CXXFLAGS} -I${ESYSROOT}/usr/include/utf8cpp"
 
local mycmakeargs=(
-DBOOST_USE_CXX11=ON



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-30 Thread Sergei Trofimovich
commit: 8de610087f8b1351027075e967c43817ca53eea2
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Aug 30 17:53:26 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Aug 30 18:38:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8de61008

app-i18n/librime: keyworded 1.5.3 for sparc, bug #693040

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-i18n/librime/librime-1.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3.ebuild
index 0a8bfd8b137..dbc7f5894fe 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-17 Thread Aaron Bauman
commit: 661cee895d283cdf697103a3e99ed6038f236463
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Aug 18 03:03:56 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Aug 18 03:03:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=661cee89

app-i18n/librime: arm64 keyworded (bug #692414)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.71, Repoman-2.3.17

 app-i18n/librime/librime-1.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3.ebuild
index 768cfefe44c..0a8bfd8b137 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-16 Thread Mike Gilbert
commit: 3b2987ee9d2c2571967a5841d800a301283fd8b2
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Aug 15 19:02:10 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug 16 17:02:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2987ee

app-i18n/librime: Set RESTRICT="!test? ( test )".

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.2.9.ebuild | 1 +
 app-i18n/librime/librime-1.3.1.ebuild | 1 +
 app-i18n/librime/librime-1.4.0.ebuild | 1 +
 app-i18n/librime/librime-1.5.3.ebuild | 1 +
 4 files changed, 4 insertions(+)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 26e2cc1082b..da4b3ecb895 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-3"
 SLOT="0/1"
 KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=

diff --git a/app-i18n/librime/librime-1.3.1.ebuild 
b/app-i18n/librime/librime-1.3.1.ebuild
index cc15dfbc574..d2ed92eef3b 100644
--- a/app-i18n/librime/librime-1.3.1.ebuild
+++ b/app-i18n/librime/librime-1.3.1.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
 SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
index b8358b11a6a..fe6219f824f 100644
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="BSD"
 SLOT="0/1"
 KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3.ebuild
index 77a9b708029..768cfefe44c 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -24,6 +24,7 @@ LICENSE="BSD"
 SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 BDEPEND=""
 RDEPEND="app-i18n/opencc:0=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-13 Thread Agostino Sarubbo
commit: 7b0b49a48d7e2c0f404812f1022bde0374e857d3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug 13 10:32:20 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug 13 10:32:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0b49a4

app-i18n/librime: ppc64 stable wrt bug #690630

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/librime/librime-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
index 8879173fe95..b8358b11a6a 100644
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="amd64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="test"
 
 RDEPEND="app-i18n/opencc:=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-13 Thread Agostino Sarubbo
commit: ddb96602c83e462c3394b78551d341cc5e92e024
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug 13 10:30:36 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug 13 10:30:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb96602

app-i18n/librime: ppc stable wrt bug #690630

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/librime/librime-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
index 4abc9f629b8..8879173fe95 100644
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ~ppc64 x86"
 IUSE="test"
 
 RDEPEND="app-i18n/opencc:=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-12 Thread Agostino Sarubbo
commit: a7e2645a52acf9eb7c56fd51c8fe723dba6744af
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 12 08:02:08 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 12 08:02:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e2645a

app-i18n/librime: amd64 stable wrt bug #690630

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-i18n/librime/librime-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
index 5a19846d765..4abc9f629b8 100644
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="~amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE="test"
 
 RDEPEND="app-i18n/opencc:=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-11 Thread Thomas Deutschmann
commit: 92f26963232f1d15091e12ba6b84b166cca1f50c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 11 20:23:42 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 11 21:28:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92f26963

app-i18n/librime: x86 stable (bug #690630)

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-i18n/librime/librime-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
index 925c366218d..5a19846d765 100644
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0/1"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 x86"
 IUSE="test"
 
 RDEPEND="app-i18n/opencc:=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-09 Thread Mike Gilbert
commit: 1dbaca1f988eea131a5a0a5a0c4f8461b3d8e87e
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Aug  9 17:01:31 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug  9 18:38:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dbaca1f

app-i18n/librime: Version bump (1.5.3).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.5.3.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index cd75035c5ea..a54eae337fe 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,3 +1,4 @@
 DIST librime-1.2.9.tar.gz 5516609 BLAKE2B 
7b05fedb093f7595c7bf7f4893624b35b0cdde1816c9c99f9ed5d408c8fd21d34a361d16b94c43b3e5e23b10945f075711762f08ca30abee35849a332ecfee2d
 SHA512 
2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a
 DIST librime-1.3.1.tar.gz 8598357 BLAKE2B 
cd6bc6b63a89f7f11e78ceaf92007c099be34ce38f26d611b67a3d8f868a27a0e4de7b94da44d8483618f37a0c2bcfd3a1bc1c1ecb4f81829f8e12fdd777e283
 SHA512 
b35d3635fd776ed9be32c0998e4aac441433bc9e624765a57582690108cccf5c3beaedad4f8f1682d99533384cd10996ee8c18fd5adcea70878d6a410124922e
 DIST librime-1.4.0.tar.gz 8609316 BLAKE2B 
cce58c398057ac82f076e3b9e9a25cd6410e738460bd58277a9e3ed6cd11e80922bbb30e8b42828cdd5dd83f6058794b4b32fedb359315186b018ca88161794d
 SHA512 
da68983638c6f25d994060a607f2ccab8917a71dbf10b9c6f1140c87c9ef4124e29a1d0ef16bbd0edc9a3a22bd5845aa894888d678607db372750f300638f562
+DIST librime-1.5.3.tar.gz 2847083 BLAKE2B 
4ffb2c5ddaf52f9c9227fa4ea019ef2965e61139f678798c08ef37dc52b863763651b63ed820caad0de1b06f48ab5c1a7a2682653340d2ae7f5f9eec3cec80b2
 SHA512 
4d7f6ec43bd5728f59f0b3581bcd8a46128651430b6873017d80659942b8f6aa1a2f25f439ba8fba461fe22acbf701c2da7a786104a2e4852a70a89cdc0452d3

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3.ebuild
new file mode 100644
index 000..f3d8887bec2
--- /dev/null
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2012-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-utils
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://github.com/rime/librime;
+   EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="RIME (Rime Input Method Engine) core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
+if [[ "${PV}" == "" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+BDEPEND=""
+RDEPEND="app-i18n/opencc:0=
+   dev-cpp/glog:0=
+   dev-cpp/yaml-cpp:0=
+   dev-libs/boost:0=[threads]
+   dev-libs/leveldb:0=
+   dev-libs/marisa:0="
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto
+   test? ( dev-cpp/gtest )"
+
+DOCS=(CHANGELOG.md README.md)
+
+src_configure() {
+   local mycmakeargs=(
+   -DBOOST_USE_CXX11=ON
+   -DBUILD_TEST=$(usex test ON OFF)
+   -DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON
+   -DCMAKE_DISABLE_FIND_PACKAGE_Iconv=ON
+   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+   )
+
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-09 Thread Mike Gilbert
commit: c9e501b3685e34b2e891413a8d8af0fd2e5a991c
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Aug  9 16:31:52 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug  9 18:38:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e501b3

app-i18n/librime: Fix dependency on dev-libs/boost in <1.3.2.

https://github.com/rime/librime/issues/225
https://github.com/rime/librime/commit/8a9ef3bc661d2784ab30759c0d865dea4253eb44

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.2.9.ebuild | 2 +-
 app-i18n/librime/librime-1.3.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 3a095f77948..26e2cc1082b 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -17,7 +17,7 @@ IUSE="test"
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=
dev-cpp/yaml-cpp:=
-   dev-libs/boost:=[threads]
+   

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-09 Thread Mike Gilbert
commit: 9e9ce7139dc0e73210e8c45fa18701fb2094f831
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Aug  9 16:26:59 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug  9 18:38:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9ce713

app-i18n/librime: Update license in >=1.2.10.

https://github.com/rime/librime/commit/918b67d1a8ba74fc08f2c7d71823e31e5b013911

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.3.1.ebuild | 2 +-
 app-i18n/librime/librime-1.4.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/librime-1.3.1.ebuild 
b/app-i18n/librime/librime-1.3.1.ebuild
index 6adbfbf2ddc..39d72296c06 100644
--- a/app-i18n/librime/librime-1.3.1.ebuild
+++ b/app-i18n/librime/librime-1.3.1.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Rime Input Method Engine, the core library"
 HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
 SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="GPL-3"
+LICENSE="BSD"
 SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="test"

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
index 0b7c3762df2..925c366218d 100644
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="Rime Input Method Engine, the core library"
 HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
 SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="GPL-3"
+LICENSE="BSD"
 SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="test"



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-08-09 Thread Mike Gilbert
commit: 19f971b93a9ca2efdf137981449a1958c84c9d40
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Aug  9 17:02:55 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug  9 18:38:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f971b9

app-i18n/librime: Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.

Fixes: https://bugs.gentoo.org/691724
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.5.3.ebuild | 12 
 1 file changed, 12 insertions(+)

diff --git a/app-i18n/librime/librime-1.5.3.ebuild 
b/app-i18n/librime/librime-1.5.3.ebuild
index f3d8887bec2..77a9b708029 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -33,12 +33,24 @@ RDEPEND="app-i18n/opencc:0=
dev-libs/leveldb:0=
dev-libs/marisa:0="
 DEPEND="${RDEPEND}
+   dev-libs/darts
+   dev-libs/utfcpp
x11-base/xorg-proto
test? ( dev-cpp/gtest )"
 
 DOCS=(CHANGELOG.md README.md)
 
+src_prepare() {
+   # Use headers of dev-libs/darts, dev-libs/utfcpp and 
x11-base/xorg-proto.
+   sed -e "/\${PROJECT_SOURCE_DIR}\/thirdparty/d" -i CMakeLists.txt || die
+   rm -r thirdparty || die
+
+   cmake-utils_src_prepare
+}
+
 src_configure() {
+   local -x CXXFLAGS="${CXXFLAGS} -I/usr/include/utf8cpp"
+
local mycmakeargs=(
-DBOOST_USE_CXX11=ON
-DBUILD_TEST=$(usex test ON OFF)



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-06-28 Thread Mike Gilbert
commit: 916bbc9b47aed145c0d0edfcbe1d82e50e02ff74
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Jun 28 17:13:00 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Jun 28 18:09:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916bbc9b

app-i18n/librime: Delete broken "static-libs" USE flag.

Fixes: https://bugs.gentoo.org/686924
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 app-i18n/librime/librime-1.2.9.ebuild | 5 ++---
 app-i18n/librime/librime-1.3.1.ebuild | 5 ++---
 app-i18n/librime/librime-1.4.0.ebuild | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 0cee02a76e8..3a095f77948 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2012-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0/1"
 KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="static-libs test"
+IUSE="test"
 
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=
@@ -26,7 +26,6 @@ DEPEND="${RDEPEND}
 
 src_configure() {
local mycmakeargs=(
-   -DBUILD_STATIC=$(usex static-libs)
-DBUILD_TEST=$(usex test)
-DBOOST_USE_CXX11=ON
-DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)

diff --git a/app-i18n/librime/librime-1.3.1.ebuild 
b/app-i18n/librime/librime-1.3.1.ebuild
index c0422746cca..6adbfbf2ddc 100644
--- a/app-i18n/librime/librime-1.3.1.ebuild
+++ b/app-i18n/librime/librime-1.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2012-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="static-libs test"
+IUSE="test"
 
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=
@@ -28,7 +28,6 @@ DOCS=( {CHANGELOG,README}.md )
 
 src_configure() {
local mycmakeargs=(
-   -DBUILD_STATIC=$(usex static-libs)
-DBUILD_TEST=$(usex test)
-DBOOST_USE_CXX11=ON
-DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
index 17878776ea8..0b7c3762df2 100644
--- a/app-i18n/librime/librime-1.4.0.ebuild
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 2012-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="static-libs test"
+IUSE="test"
 
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=
@@ -28,7 +28,6 @@ DOCS=( {CHANGELOG,README}.md )
 
 src_configure() {
local mycmakeargs=(
-   -DBUILD_STATIC=$(usex static-libs)
-DBUILD_TEST=$(usex test)
-DBOOST_USE_CXX11=ON
-DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2019-02-11 Thread Yixun Lan
commit: 11c41e0a99f75a4a5d84f56298124ba8ec1dd739
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Feb 12 03:18:19 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Feb 12 03:30:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c41e0a

app-i18n/librime: version bump 1.4.0

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.4.0.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 75608363b25..cd75035c5ea 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,2 +1,3 @@
 DIST librime-1.2.9.tar.gz 5516609 BLAKE2B 
7b05fedb093f7595c7bf7f4893624b35b0cdde1816c9c99f9ed5d408c8fd21d34a361d16b94c43b3e5e23b10945f075711762f08ca30abee35849a332ecfee2d
 SHA512 
2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a
 DIST librime-1.3.1.tar.gz 8598357 BLAKE2B 
cd6bc6b63a89f7f11e78ceaf92007c099be34ce38f26d611b67a3d8f868a27a0e4de7b94da44d8483618f37a0c2bcfd3a1bc1c1ecb4f81829f8e12fdd777e283
 SHA512 
b35d3635fd776ed9be32c0998e4aac441433bc9e624765a57582690108cccf5c3beaedad4f8f1682d99533384cd10996ee8c18fd5adcea70878d6a410124922e
+DIST librime-1.4.0.tar.gz 8609316 BLAKE2B 
cce58c398057ac82f076e3b9e9a25cd6410e738460bd58277a9e3ed6cd11e80922bbb30e8b42828cdd5dd83f6058794b4b32fedb359315186b018ca88161794d
 SHA512 
da68983638c6f25d994060a607f2ccab8917a71dbf10b9c6f1140c87c9ef4124e29a1d0ef16bbd0edc9a3a22bd5845aa894888d678607db372750f300638f562

diff --git a/app-i18n/librime/librime-1.4.0.ebuild 
b/app-i18n/librime/librime-1.4.0.ebuild
new file mode 100644
index 000..17878776ea8
--- /dev/null
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils vcs-snapshot
+
+DESCRIPTION="Rime Input Method Engine, the core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
+SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="app-i18n/opencc:=
+   dev-cpp/glog:=
+   dev-cpp/yaml-cpp:=
+   dev-libs/boost:=[threads]
+   dev-libs/leveldb:=
+   dev-libs/marisa:="
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto
+   test? ( dev-cpp/gtest )"
+
+DOCS=( {CHANGELOG,README}.md )
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC=$(usex static-libs)
+   -DBUILD_TEST=$(usex test)
+   -DBOOST_USE_CXX11=ON
+   -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2018-07-27 Thread Akinori Hattori
commit: 150196ee90e9d371306b3a551d5db10613387030
Author: Akinori Hattori  gentoo  org>
AuthorDate: Fri Jul 27 13:27:31 2018 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Fri Jul 27 13:27:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=150196ee

app-i18n/librime: tidy

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-i18n/librime/librime-1.2.9.ebuild | 15 ++-
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index e897af759e3..0cee02a76e8 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -5,8 +5,8 @@ EAPI="6"
 
 inherit cmake-utils vcs-snapshot
 
-DESCRIPTION="Rime Input Method Engine library"
-HOMEPAGE="http://rime.im/ https://github.com/rime/librime;
+DESCRIPTION="Rime Input Method Engine, the core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
 SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-3"
@@ -16,8 +16,8 @@ IUSE="static-libs test"
 
 RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=
-   >=dev-cpp/yaml-cpp-0.5.0:=
-   >=dev-libs/boost-1.46.0:=[threads]
+   dev-cpp/yaml-cpp:=
+   dev-libs/boost:=[threads]
dev-libs/leveldb:=
dev-libs/marisa:="
 DEPEND="${RDEPEND}
@@ -26,13 +26,10 @@ DEPEND="${RDEPEND}
 
 src_configure() {
local mycmakeargs=(
-   -DBOOST_USE_CXX11=ON
-   -DBUILD_DATA=OFF
-   -DBUILD_SEPARATE_LIBS=OFF
-   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
-DBUILD_STATIC=$(usex static-libs)
-DBUILD_TEST=$(usex test)
+   -DBOOST_USE_CXX11=ON
+   -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
)
-
cmake-utils_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2018-07-27 Thread Akinori Hattori
commit: d82e46e89fdc73198d996eb75e7bcb6da13950cb
Author: Akinori Hattori  gentoo  org>
AuthorDate: Fri Jul 27 13:30:41 2018 +
Commit: Akinori Hattori  gentoo  org>
CommitDate: Fri Jul 27 13:30:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82e46e8

app-i18n/librime: new upstream release

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.3.1.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 85b6d47610a..75608363b25 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1 +1,2 @@
 DIST librime-1.2.9.tar.gz 5516609 BLAKE2B 
7b05fedb093f7595c7bf7f4893624b35b0cdde1816c9c99f9ed5d408c8fd21d34a361d16b94c43b3e5e23b10945f075711762f08ca30abee35849a332ecfee2d
 SHA512 
2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a
+DIST librime-1.3.1.tar.gz 8598357 BLAKE2B 
cd6bc6b63a89f7f11e78ceaf92007c099be34ce38f26d611b67a3d8f868a27a0e4de7b94da44d8483618f37a0c2bcfd3a1bc1c1ecb4f81829f8e12fdd777e283
 SHA512 
b35d3635fd776ed9be32c0998e4aac441433bc9e624765a57582690108cccf5c3beaedad4f8f1682d99533384cd10996ee8c18fd5adcea70878d6a410124922e

diff --git a/app-i18n/librime/librime-1.3.1.ebuild 
b/app-i18n/librime/librime-1.3.1.ebuild
new file mode 100644
index 000..c0422746cca
--- /dev/null
+++ b/app-i18n/librime/librime-1.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit cmake-utils vcs-snapshot
+
+DESCRIPTION="Rime Input Method Engine, the core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime;
+SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="app-i18n/opencc:=
+   dev-cpp/glog:=
+   dev-cpp/yaml-cpp:=
+   dev-libs/boost:=[threads]
+   dev-libs/leveldb:=
+   dev-libs/marisa:="
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto
+   test? ( dev-cpp/gtest )"
+
+DOCS=( {CHANGELOG,README}.md )
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC=$(usex static-libs)
+   -DBUILD_TEST=$(usex test)
+   -DBOOST_USE_CXX11=ON
+   -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/, app-i18n/xvnkb/, app-i18n/uim/

2018-04-26 Thread Mike Gilbert
commit: 62267650a5863349d5934f11c67f402c26e738a9
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Wed Apr 25 19:09:10 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Apr 26 18:03:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62267650

app-i18n/*: Update dependencies (x11-proto/* -> x11-base/xorg-proto).

 app-i18n/librime/librime-1.2.9.ebuild | 4 ++--
 app-i18n/uim/uim-1.8.6-r1.ebuild  | 7 ++-
 app-i18n/uim/uim-1.8.6-r2.ebuild  | 7 ++-
 app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild | 4 ++--
 app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild | 4 ++--
 5 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 11ec817ae96..e897af759e3 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -21,7 +21,7 @@ RDEPEND="app-i18n/opencc:=
dev-libs/leveldb:=
dev-libs/marisa:="
 DEPEND="${RDEPEND}
-   x11-proto/xproto
+   x11-base/xorg-proto
test? ( dev-cpp/gtest )"
 
 src_configure() {

diff --git a/app-i18n/uim/uim-1.8.6-r1.ebuild b/app-i18n/uim/uim-1.8.6-r1.ebuild
index 4689635b1b7..f72b7d26bba 100644
--- a/app-i18n/uim/uim-1.8.6-r1.ebuild
+++ b/app-i18n/uim/uim-1.8.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -55,10 +55,7 @@ DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
-   X? (
-   x11-proto/xextproto
-   x11-proto/xproto
-   )"
+   X? ( x11-base/xorg-proto )"
 
 RDEPEND="${RDEPEND}
X? (

diff --git a/app-i18n/uim/uim-1.8.6-r2.ebuild b/app-i18n/uim/uim-1.8.6-r2.ebuild
index ffe51b96501..cac96b004b7 100644
--- a/app-i18n/uim/uim-1.8.6-r2.ebuild
+++ b/app-i18n/uim/uim-1.8.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -58,10 +58,7 @@ DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
>=sys-devel/gettext-0.15
-   X? (
-   x11-proto/xextproto
-   x11-proto/xproto
-   )"
+   X? ( x11-base/xorg-proto )"
 
 RDEPEND="${RDEPEND}
X? (

diff --git a/app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild 
b/app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild
index e16c7b2cef1..d69068c2ea8 100644
--- a/app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild
+++ b/app-i18n/xvnkb/xvnkb-0.2.8a-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 inherit eutils
@@ -16,7 +16,7 @@ KEYWORDS="x86 ppc"
 RDEPEND="x11-libs/libX11
xft? ( x11-libs/libXft )"
 DEPEND="${RDEPEND}
-   x11-proto/xproto"
+   x11-base/xorg-proto"
 
 src_unpack() {
unpack ${A}

diff --git a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild 
b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild
index 8d9cdf902b5..e2d8f9a37ac 100644
--- a/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild
+++ b/app-i18n/xvnkb/xvnkb-0.2.9a-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 inherit eutils multilib toolchain-funcs
@@ -16,7 +16,7 @@ KEYWORDS="amd64 ~ppc x86"
 RDEPEND="x11-libs/libX11
xft? ( x11-libs/libXft )"
 DEPEND="${RDEPEND}
-   x11-proto/xproto"
+   x11-base/xorg-proto"
 
 src_unpack() {
unpack ${A}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/files/, app-i18n/librime/

2017-11-28 Thread Mike Gilbert
commit: ee7ebb20353425fe25018acb6a6c3b78632b9d53
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Tue Nov 28 17:19:49 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Nov 28 18:36:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee7ebb20

app-i18n/librime: Delete old versions (<1.2.9).

 app-i18n/librime/Manifest  |   4 +-
 app-i18n/librime/files/librime-1.1-gcc53613.patch  | 367 -
 .../files/librime-1.2-BOOST_NO_SCOPED_ENUMS.patch  | 224 -
 app-i18n/librime/files/librime-dictionary.patch|  13 -
 app-i18n/librime/files/librime-test.patch  |  42 ---
 app-i18n/librime/librime-0.9.9.ebuild  |  42 ---
 app-i18n/librime/librime-1.2.ebuild|  45 ---
 7 files changed, 1 insertion(+), 736 deletions(-)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 24ddf4ed4fc..85b6d47610a 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,3 +1 @@
-DIST librime-0.9.9.tar.gz 2548968 SHA256 
e828acc853a5d9e3ca191d065112c410183aadb5bd1d021704f82a8644ff6fd8 SHA512 
71b39e713d5bbb73441dfb3038be6dc04518d2169df336e7fcb19b4c3b19a48d7db7c230fb1107148f3b7d95342851d23569617ff8138200c7ef1d750060c00f
 WHIRLPOOL 
fb5798491352eb1682a2bed7a73486df153a2479eef0adadc00726ab958b50606e32d59bfa8ded86c3aa35bac5e120e4251903fcb54326936251f1f3af726f92
-DIST librime-1.2.9.tar.gz 5516609 SHA256 
d9f0e732b5bf0ee9d8872d00c79322eec7682139a898a6f794795ac5f410 SHA512 
2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a
 WHIRLPOOL 
032c517008b0f4b4d9ccd9d188d480018fa1116d252786953b136de060534486b73997c6574f3ed040f337ca028b83669b135fd2683e54ddf576039a77db19d7
-DIST librime-1.2.tar.gz 5199581 SHA256 
fb04a7e0a4eeb2f25031c9a366cedfdab641ab06960f50c42febef5195de9381 SHA512 
75a771916a58b1ab678dbf05ac074a651cea077e81d25e4dfd0ea839fabe6cf606135851e72c19d6a8a9c6ed66b89928b90785f282e8786c375bc1d393059227
 WHIRLPOOL 
44a821fc4e1a562cb01ce7c28efc5a4fd3ca8e9d2d4e55ddda3434b677a17b59d7114a634bfd95ae53072f0e6f2e5f027b2c81ab70fa51b011934c7c39fbcf51
+DIST librime-1.2.9.tar.gz 5516609 BLAKE2B 
7b05fedb093f7595c7bf7f4893624b35b0cdde1816c9c99f9ed5d408c8fd21d34a361d16b94c43b3e5e23b10945f075711762f08ca30abee35849a332ecfee2d
 SHA512 
2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a

diff --git a/app-i18n/librime/files/librime-1.1-gcc53613.patch 
b/app-i18n/librime/files/librime-1.1-gcc53613.patch
deleted file mode 100644
index 28dfb1ec36b..000
--- a/app-i18n/librime/files/librime-1.1-gcc53613.patch
+++ /dev/null
@@ -1,367 +0,0 @@
-Index: librime-1.1git20140306/include/rime/algo/calculus.h
-===
 librime-1.1git20140306.orig/include/rime/algo/calculus.h
-+++ librime-1.1git20140306/include/rime/algo/calculus.h
-@@ -22,11 +22,12 @@ class Calculation {
-   using Factory = Calculation* (const std::vector& args);
- 
-   Calculation() = default;
--  virtual ~Calculation() = default;
-+  virtual ~Calculation();
-   virtual bool Apply(Spelling* spelling) = 0;
-   virtual bool addition() { return true; }
-   virtual bool deletion() { return true; }
- };
-+inline Calculation::~Calculation() = default;
- 
- class Calculus {
-  public:
-Index: librime-1.1git20140306/include/rime/dict/db.h
-===
 librime-1.1git20140306.orig/include/rime/dict/db.h
-+++ librime-1.1git20140306/include/rime/dict/db.h
-@@ -18,7 +18,7 @@ class DbAccessor {
-   DbAccessor() = default;
-   explicit DbAccessor(const std::string& prefix)
-   : prefix_(prefix) {}
--  virtual ~DbAccessor() = default;
-+  virtual ~DbAccessor();
- 
-   virtual bool Reset() = 0;
-   virtual bool Jump(const std::string ) = 0;
-@@ -30,11 +30,12 @@ class DbAccessor {
- 
-   std::string prefix_;
- };
-+inline DbAccessor::~DbAccessor() = default;
- 
- class Db : public Class {
-  public:
-   explicit Db(const std::string& name);
--  virtual ~Db() = default;
-+  virtual ~Db();
- 
-   bool Exists() const;
-   bool Remove();
-@@ -72,11 +73,12 @@ class Db : public Class

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-11-18 Thread Sergei Trofimovich
commit: 30df8facc4e4da74f0b0c0c2bbe64a8dadfd25ce
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov 18 10:10:32 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov 18 10:10:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30df8fac

app-i18n/librime: stable 1.2.9 for ppc, bug #636226

Package-Manager: Portage-2.3.14, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 app-i18n/librime/librime-1.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index b906a7d738f..11ec817ae96 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0/1"
-KEYWORDS="amd64 ~ppc ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="static-libs test"
 
 RDEPEND="app-i18n/opencc:=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-11-18 Thread Sergei Trofimovich
commit: 6284d79196711148c8b819a09d2791542056b405
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov 18 10:00:21 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov 18 10:00:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6284d791

app-i18n/librime: stable 1.2.9 for ppc64, bug #636226

Package-Manager: Portage-2.3.14, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 app-i18n/librime/librime-1.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index d2313f54f93..b906a7d738f 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0/1"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~ppc ppc64 x86"
 IUSE="static-libs test"
 
 RDEPEND="app-i18n/opencc:=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-11-01 Thread Mike Gilbert
commit: 73695e7a19659c9ac031bf76c526dec14f842f76
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Wed Nov  1 11:40:25 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Nov  1 20:54:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73695e7a

app-i18n/librime: Stabilize 1.2.9 on amd64/x86.

 app-i18n/librime/librime-1.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 881db9f137f..d2313f54f93 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0/1"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE="static-libs test"
 
 RDEPEND="app-i18n/opencc:=



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-10-23 Thread Mike Gilbert
commit: c46e0aa867d4ab81991ae5958d5b2c695563ba15
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Oct 19 19:44:36 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Oct 23 17:24:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c46e0aa8

app-i18n/librime: Use EAPI="6". Minor cleanup.

 app-i18n/librime/librime-1.2.9.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 18e8fa7d5f9..87d0a91b57f 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI="6"
 
-inherit cmake-utils multilib versionator vcs-snapshot toolchain-funcs
+inherit cmake-utils vcs-snapshot
 
 DESCRIPTION="Rime Input Method Engine library"
 HOMEPAGE="http://rime.im/ https://github.com/rime/librime;
@@ -28,11 +28,13 @@ DEPEND="${RDEPEND}
 
 src_configure() {
local mycmakeargs=(
-   $(cmake-utils_use_build static-libs STATIC)
+   -DBOOST_USE_CXX11=ON
-DBUILD_DATA=OFF
-DBUILD_SEPARATE_LIBS=OFF
-   $(cmake-utils_use_build test TEST)
-   -DLIB_INSTALL_DIR=/usr/$(get_libdir)
+   -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+   -DBUILD_STATIC=$(usex static-libs)
+   -DBUILD_TEST=$(usex test)
)
+
cmake-utils_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-10-23 Thread Mike Gilbert
commit: 5ef50f76cd27896e4273dfb44564439f5347e6a5
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Oct 19 19:55:35 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Oct 23 17:24:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef50f76

app-i18n/librime: Fix dependencies.

dev-db/kyotocabinet and sys-libs/zlib are not used since:
https://github.com/rime/librime/commit/69ea51cdff6ba42591c785543f65f21029f8a485

Add := operator to other dependencies.

 app-i18n/librime/librime-1.2.9.ebuild | 14 ++
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 87d0a91b57f..881db9f137f 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -14,14 +14,12 @@ SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="static-libs test"
 
-RDEPEND=">app-i18n/opencc-1.0.2:=
-   dev-cpp/glog
-   >=dev-cpp/yaml-cpp-0.5.0
-   dev-db/kyotocabinet
-   dev-libs/leveldb
-   dev-libs/marisa
-   >=dev-libs/boost-1.46.0[threads(+)]
-   sys-libs/zlib"
+RDEPEND="app-i18n/opencc:=
+   dev-cpp/glog:=
+   >=dev-cpp/yaml-cpp-0.5.0:=
+   >=dev-libs/boost-1.46.0:=[threads]
+   dev-libs/leveldb:=
+   dev-libs/marisa:="
 DEPEND="${RDEPEND}
x11-proto/xproto
test? ( dev-cpp/gtest )"



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-10-23 Thread Mike Gilbert
commit: b49d494f67d92b215a6aca62158065b05cf5d1cb
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Oct 19 19:35:14 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Oct 23 17:24:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49d494f

app-i18n/librime: Set subslot based on soname of librime.so.

 app-i18n/librime/librime-1.2.9.ebuild | 2 +-
 app-i18n/librime/librime-1.2.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index de9834370d9..b2c4cd6819c 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://rime.im/;
 SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-3"
-SLOT="0"
+SLOT="0/1"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="static-libs test"
 

diff --git a/app-i18n/librime/librime-1.2.ebuild 
b/app-i18n/librime/librime-1.2.ebuild
index 59b420ff3cd..e2ccff847d1 100644
--- a/app-i18n/librime/librime-1.2.ebuild
+++ b/app-i18n/librime/librime-1.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://rime.im/;
 SRC_URI="http://dl.bintray.com/lotem/rime/${P}.tar.gz;
 
 LICENSE="GPL-3"
-SLOT="0"
+SLOT="0/1"
 KEYWORDS="amd64 ~ppc ppc64 ~x86"
 IUSE="static-libs test"
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-10-23 Thread Mike Gilbert
commit: 6728c2d9dc5a6b097221da01d546957758220a68
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Oct 19 19:39:24 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Oct 23 17:24:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6728c2d9

app-i18n/librime: Update HOMEPAGE.

 app-i18n/librime/librime-1.2.9.ebuild | 2 +-
 app-i18n/librime/metadata.xml | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index b2c4cd6819c..18e8fa7d5f9 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 inherit cmake-utils multilib versionator vcs-snapshot toolchain-funcs
 
 DESCRIPTION="Rime Input Method Engine library"
-HOMEPAGE="http://rime.im/;
+HOMEPAGE="http://rime.im/ https://github.com/rime/librime;
 SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-3"

diff --git a/app-i18n/librime/metadata.xml b/app-i18n/librime/metadata.xml
index bb81a505ec8..c52de67c08b 100644
--- a/app-i18n/librime/metadata.xml
+++ b/app-i18n/librime/metadata.xml
@@ -14,8 +14,6 @@
   chen@gmail.com
   Gong Chen
 
-https://code.google.com/p/rimeime/issues/list
-rimeime
 rime/librime
   
 



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-10-23 Thread Mike Gilbert
commit: cf2d520fac6ddf657f5116e46da46606b4b36e89
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Oct 19 20:20:52 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Oct 23 17:24:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2d520f

app-i18n/librime: Use consistent quoting in metadata.xml.

 app-i18n/librime/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-i18n/librime/metadata.xml b/app-i18n/librime/metadata.xml
index c52de67c08b..1ef87e42d3d 100644
--- a/app-i18n/librime/metadata.xml
+++ b/app-i18n/librime/metadata.xml
@@ -1,4 +1,4 @@
-
+
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2017-08-22 Thread Mike Gilbert
commit: f1c1e05a2f85287e29722794269e36b73396ba1a
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Tue Aug 22 10:30:18 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Aug 22 14:20:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c1e05a

app-i18n/librime: Use := operator for dependency on app-i18n/opencc.

 app-i18n/librime/librime-0.9.9.ebuild | 4 ++--
 app-i18n/librime/librime-1.2.9.ebuild | 4 ++--
 app-i18n/librime/librime-1.2.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app-i18n/librime/librime-0.9.9.ebuild 
b/app-i18n/librime/librime-0.9.9.ebuild
index 982338ad716..c1693bf1f7e 100644
--- a/app-i18n/librime/librime-0.9.9.ebuild
+++ b/app-i18n/librime/librime-0.9.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE="static-libs test"
 
-RDEPEND="app-i18n/opencc
+RDEPEND="app-i18n/opencc:=
dev-cpp/glog
>=dev-cpp/yaml-cpp-0.5.0
dev-db/kyotocabinet

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
index 4792e6dec1e..de9834370d9 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="static-libs test"
 
-RDEPEND=">app-i18n/opencc-1.0.2
+RDEPEND=">app-i18n/opencc-1.0.2:=
dev-cpp/glog
>=dev-cpp/yaml-cpp-0.5.0
dev-db/kyotocabinet

diff --git a/app-i18n/librime/librime-1.2.ebuild 
b/app-i18n/librime/librime-1.2.ebuild
index 2d431d51d2c..59b420ff3cd 100644
--- a/app-i18n/librime/librime-1.2.ebuild
+++ b/app-i18n/librime/librime-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc ppc64 ~x86"
 IUSE="static-libs test"
 
-RDEPEND="app-i18n/opencc
+RDEPEND="app-i18n/opencc:=
dev-cpp/glog
>=dev-cpp/yaml-cpp-0.5.0
dev-db/kyotocabinet



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/files/

2016-08-11 Thread Patrice Clement
commit: 7706c043135fb1be1db80cf1a67c2a7eed9b8b18
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Thu Jul  7 17:05:50 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Aug 11 08:07:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7706c043

app-i18n/librime: remove unused patch

Signed-off-by: Patrice Clement  gentoo.org>

 .../files/librime-1.1-BOOST_NO_SCOPED_ENUMS.patch  | 224 -
 1 file changed, 224 deletions(-)

diff --git a/app-i18n/librime/files/librime-1.1-BOOST_NO_SCOPED_ENUMS.patch 
b/app-i18n/librime/files/librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
deleted file mode 100644
index 3f33efd..000
--- a/app-i18n/librime/files/librime-1.1-BOOST_NO_SCOPED_ENUMS.patch
+++ /dev/null
@@ -1,224 +0,0 @@
-Index: librime-1.1git20140306/include/rime/lever/customizer.h
-===
 librime-1.1git20140306.orig/include/rime/lever/customizer.h
-+++ librime-1.1git20140306/include/rime/lever/customizer.h
-@@ -8,6 +8,9 @@
- #define RIME_CUSTOMIZER_H_
- 
- #include 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #define BOOST_NO_CXX11_SCOPED_ENUMS
- #include ;
- 
-Index: librime-1.1git20140306/include/rime/lever/switcher_settings.h
-===
 librime-1.1git20140306.orig/include/rime/lever/switcher_settings.h
-+++ librime-1.1git20140306/include/rime/lever/switcher_settings.h
-@@ -9,6 +9,9 @@
- 
- #include 
- #include 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- #include "custom_settings.h"
- 
-Index: librime-1.1git20140306/include/rime/lever/user_dict_manager.h
-===
 librime-1.1git20140306.orig/include/rime/lever/user_dict_manager.h
-+++ librime-1.1git20140306/include/rime/lever/user_dict_manager.h
-@@ -9,6 +9,9 @@
- 
- #include 
- #include 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- 
- namespace rime {
-Index: librime-1.1git20140306/src/core_module.cc
-===
 librime-1.1git20140306.orig/src/core_module.cc
-+++ librime-1.1git20140306/src/core_module.cc
-@@ -5,6 +5,9 @@
- // 2013-10-17 GONG Chen 
- //
- 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- #include 
- #include 
-Index: librime-1.1git20140306/src/dict/db.cc
-===
 librime-1.1git20140306.orig/src/dict/db.cc
-+++ librime-1.1git20140306/src/dict/db.cc
-@@ -5,6 +5,9 @@
- // 2011-11-02 GONG Chen 
- //
- #include 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- #include 
- #include 
-Index: librime-1.1git20140306/src/dict/dict_compiler.cc
-===
 librime-1.1git20140306.orig/src/dict/dict_compiler.cc
-+++ librime-1.1git20140306/src/dict/dict_compiler.cc
-@@ -7,6 +7,9 @@
- #include 
- #include 
- #include 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- #include 
- #include 
-Index: librime-1.1git20140306/src/dict/dictionary.cc
-===
 librime-1.1git20140306.orig/src/dict/dictionary.cc
-+++ librime-1.1git20140306/src/dict/dictionary.cc
-@@ -5,6 +5,9 @@
- // 2011-07-05 GONG Chen 
- //
- #include 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- #include 
- #include 
-Index: librime-1.1git20140306/src/dict/mapped_file.cc
-===
 librime-1.1git20140306.orig/src/dict/mapped_file.cc
-+++ librime-1.1git20140306/src/dict/mapped_file.cc
-@@ -7,6 +7,9 @@
- // 2011-06-30 GONG Chen 
- //
- #include 
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- #include 
- #include 
-Index: librime-1.1git20140306/src/dict/preset_vocabulary.cc
-===
 librime-1.1git20140306.orig/src/dict/preset_vocabulary.cc
-+++ librime-1.1git20140306/src/dict/preset_vocabulary.cc
-@@ -4,6 +4,9 @@
- //
- // 2011-11-27 GONG Chen 
- //
-+#ifndef BOOST_NO_SCOPED_ENUMS
-+#define BOOST_NO_SCOPED_ENUMS
-+#endif // BOOST_NO_SCOPED_ENUMS
- #include 
- #include 
- #include 
-Index: librime-1.1git20140306/src/dict/tree_db.cc
-===
 librime-1.1git20140306.orig/src/dict/tree_db.cc
-+++ 

[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2016-07-19 Thread Yixun Lan
commit: b79d43efd812bc64e44364a2184f779358e82cb7
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Jul 20 05:15:06 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jul 20 05:16:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b79d43ef

app-i18n/librime: version bump 1.2.9, fix opencc issue

Gentoo-Bug: 584552

Package-Manager: portage-2.3.0_rc1

 app-i18n/librime/Manifest |  1 +
 app-i18n/librime/librime-1.2.9.ebuild | 39 +++
 2 files changed, 40 insertions(+)

diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 4d07fbc..24ddf4e 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1,2 +1,3 @@
 DIST librime-0.9.9.tar.gz 2548968 SHA256 
e828acc853a5d9e3ca191d065112c410183aadb5bd1d021704f82a8644ff6fd8 SHA512 
71b39e713d5bbb73441dfb3038be6dc04518d2169df336e7fcb19b4c3b19a48d7db7c230fb1107148f3b7d95342851d23569617ff8138200c7ef1d750060c00f
 WHIRLPOOL 
fb5798491352eb1682a2bed7a73486df153a2479eef0adadc00726ab958b50606e32d59bfa8ded86c3aa35bac5e120e4251903fcb54326936251f1f3af726f92
+DIST librime-1.2.9.tar.gz 5516609 SHA256 
d9f0e732b5bf0ee9d8872d00c79322eec7682139a898a6f794795ac5f410 SHA512 
2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a
 WHIRLPOOL 
032c517008b0f4b4d9ccd9d188d480018fa1116d252786953b136de060534486b73997c6574f3ed040f337ca028b83669b135fd2683e54ddf576039a77db19d7
 DIST librime-1.2.tar.gz 5199581 SHA256 
fb04a7e0a4eeb2f25031c9a366cedfdab641ab06960f50c42febef5195de9381 SHA512 
75a771916a58b1ab678dbf05ac074a651cea077e81d25e4dfd0ea839fabe6cf606135851e72c19d6a8a9c6ed66b89928b90785f282e8786c375bc1d393059227
 WHIRLPOOL 
44a821fc4e1a562cb01ce7c28efc5a4fd3ca8e9d2d4e55ddda3434b677a17b59d7114a634bfd95ae53072f0e6f2e5f027b2c81ab70fa51b011934c7c39fbcf51

diff --git a/app-i18n/librime/librime-1.2.9.ebuild 
b/app-i18n/librime/librime-1.2.9.ebuild
new file mode 100644
index 000..d337848
--- /dev/null
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils multilib versionator vcs-snapshot toolchain-funcs
+
+DESCRIPTION="Rime Input Method Engine library"
+HOMEPAGE="http://rime.im/;
+SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND=">app-i18n/opencc-1.0.2
+   dev-cpp/glog
+   >=dev-cpp/yaml-cpp-0.5.0
+   dev-db/kyotocabinet
+   dev-libs/leveldb
+   dev-libs/marisa
+   >=dev-libs/boost-1.46.0[threads(+)]
+   sys-libs/zlib"
+DEPEND="${RDEPEND}
+   x11-proto/xproto
+   test? ( dev-cpp/gtest )"
+
+src_configure() {
+   local mycmakeargs=(
+   $(cmake-utils_use_build static-libs STATIC)
+   -DBUILD_DATA=OFF
+   -DBUILD_SEPARATE_LIBS=OFF
+   $(cmake-utils_use_build test TEST)
+   -DLIB_INSTALL_DIR=/usr/$(get_libdir)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/

2015-09-01 Thread Tobias Klausmann
commit: d3c688808d319c26b6926386720a103ff94fcf37
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Sep  1 18:51:05 2015 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Sep  1 18:51:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c68880

app-i18n/librime: Fixing HOMEPAGE move due to code.google.com shutdown

Package-Manager: portage-2.2.20.1

 app-i18n/librime/librime-0.9.9.ebuild | 2 +-
 app-i18n/librime/librime-1.2.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-i18n/librime/librime-0.9.9.ebuild 
b/app-i18n/librime/librime-0.9.9.ebuild
index 1a9cc16..78c4310 100644
--- a/app-i18n/librime/librime-0.9.9.ebuild
+++ b/app-i18n/librime/librime-0.9.9.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 inherit cmake-utils multilib
 
 DESCRIPTION="Rime Input Method Engine library"
-HOMEPAGE="https://code.google.com/p/rimeime/;
+HOMEPAGE="http://rime.im/;
 SRC_URI="https://rimeime.googlecode.com/files/${P}.tar.gz;
 
 LICENSE="GPL-3"

diff --git a/app-i18n/librime/librime-1.2.ebuild 
b/app-i18n/librime/librime-1.2.ebuild
index 214d5d2..8e1d773 100644
--- a/app-i18n/librime/librime-1.2.ebuild
+++ b/app-i18n/librime/librime-1.2.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 inherit cmake-utils multilib versionator toolchain-funcs
 
 DESCRIPTION="Rime Input Method Engine library"
-HOMEPAGE="https://code.google.com/p/rimeime/;
+HOMEPAGE="http://rime.im/;
 SRC_URI="http://dl.bintray.com/lotem/rime/${P}.tar.gz;
 
 LICENSE="GPL-3"