public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx/
Date: Thu, 11 Jan 2024 00:22:06 +0000 (UTC)	[thread overview]
Message-ID: <1704932394.6f8791cf6078fbf6222f77516d15c7f4d5da3c2c.dlan@gentoo> (raw)

commit:     6f8791cf6078fbf6222f77516d15c7f4d5da3c2c
Author:     Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Fri Jan  5 03:52:03 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 00:19:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8791cf

app-i18n/fcitx: add 5.1.6

Upstream uses libuv instead of libevent

Bug: https://bugs.gentoo.org/760501
Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-i18n/fcitx/Manifest           |   1 +
 app-i18n/fcitx/fcitx-5.1.6.ebuild | 123 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

diff --git a/app-i18n/fcitx/Manifest b/app-i18n/fcitx/Manifest
index 9cb04be5b513..2e20cae74443 100644
--- a/app-i18n/fcitx/Manifest
+++ b/app-i18n/fcitx/Manifest
@@ -1,5 +1,6 @@
 DIST fcitx-4.2.9.8_dict.tar.xz 8737888 BLAKE2B 2de3ccbf1b37a9bcf1a3cb257d7837669e946765722c3d6f442ad071d7d81a6e8178e47051fc3aa53b9b4771d3aca602c2e22fa7a3d117a9e1f2779497e02c52 SHA512 50a954c3178f53fd2d441cdaf81fb44a7fe8dfb263fa6d8dd4ee4884fc7ae8321880c726c9366d11e2a4ac8da2233268d06e5d0800d4527ba0bdb1a1430248ed
 DIST fcitx-5.1.5.tar.xz 7485640 BLAKE2B cc0d8db941de2ed2a7a14b8e95567e92bc21b7873e515cbd8d2433209efbd45b3c0efe618d8c4c3b0b38dbe3737590c8314acde2254ea795db7c8134d77db540 SHA512 d4b5400401b9941cf23dcc5682b026a576bfe57f93a8f65e93127aadedde853c3d026105fac893aaf872a7c8418f3a0d9487e42bcc1427e62c7439f7fb0a3a80
+DIST fcitx-5.1.6.tar.xz 7493752 BLAKE2B b34d4cbe495b3d85090755e6291125a393e9b259cc35ac3eb60550d32160bf315ff2db2e9904b65b365a375f35d922b031f2428f106e196c2a91106c7d0965d2 SHA512 8f10dfb230d4b4c7e559eb77e7a56c17964e404dc12bd3319f7dc715159a289faa1df95a342a0a1723e7d645aba808b967fd10d04ac065de2c49843a7905e7cb
 DIST fcitx-data-en_dict-20121020.tar.gz 630491 BLAKE2B 2df897b1c9fb3a2ce186ee590e5f3ccbc7930f047218bf0fefa317f74b3287fc0be9c393d3310fe07208379118ec4c46608a1c703ef37b3aee65b2d790cb7f0d SHA512 8418bd02492bfd786c0fab93be4400ef027ec8e9fac02220cc1f653f5eb67f54573a6a84a15baba19bb34ab892745c87df16499d6304ea75009131e2ab3b97f2
 DIST fcitx-data-pinyin.tar.gz 1608886 BLAKE2B 3b7e72559bb838b4f2245e6faf2d627df17e9383ef8fe382e10333c1a95d79409ec042caa7d77c9bcd956b1c5d5456dab9d82208cd89d90e2be759c76f56f3d1 SHA512 1ee19eed3ee58be6cd6562ec363fe3bf630fff5e8820b3bfdd6d4618fceb082695e888dec5366a3685d58706f720e19319d891c223227237aed12674ea982131
 DIST fcitx-data-py_stroke-20121124.tar.gz 445601 BLAKE2B 43b29b30da11b18196918e4df847406871eff75595b62608ad86b0ef6de83ec5e1b722645cabb809281075b393b5970e4d9580594caa73060c866c2d3cd988e7 SHA512 d80ff9a3549e07c7a6935e686785f9a076c58f1a782a832ae28ee65e2a213d67f089f450ce09bed87ec2a141c32b9c1fcb83c221ddcab436858fa9009f161fb3

diff --git a/app-i18n/fcitx/fcitx-5.1.6.ebuild b/app-i18n/fcitx/fcitx-5.1.6.ebuild
new file mode 100644
index 000000000000..e3080dfcc830
--- /dev/null
+++ b/app-i18n/fcitx/fcitx-5.1.6.ebuild
@@ -0,0 +1,123 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="fcitx5"
+
+inherit cmake xdg
+
+DESCRIPTION="Fcitx 5 is a generic input method framework"
+HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5"
+SRC_URI="https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-${PV}_dict.tar.xz -> ${P}.tar.xz"
+
+LICENSE="LGPL-2+ Unicode-DFS-2016"
+SLOT="5"
+KEYWORDS="~amd64 ~loong ~x86"
+IUSE="+autostart doc +emoji +enchant +keyboard presage +server systemd test wayland +X"
+REQUIRED_USE="
+	|| ( wayland X )
+	X? ( keyboard )
+	wayland? ( keyboard )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	!app-i18n/fcitx:4
+	dev-libs/libfmt
+	sys-devel/gettext
+	virtual/libintl
+	x11-libs/cairo[X?]
+	x11-libs/gdk-pixbuf:2
+	x11-libs/pango[X?]
+	doc? (
+		app-doc/doxygen
+		dev-texlive/texlive-fontutils
+	)
+	emoji? ( sys-libs/zlib )
+	enchant? ( app-text/enchant:2 )
+	keyboard? (
+		app-text/iso-codes
+		dev-libs/expat
+		dev-libs/json-c:=
+		x11-misc/xkeyboard-config
+		x11-libs/libxkbcommon[X?,wayland?]
+	)
+	systemd? (
+		sys-apps/systemd
+	)
+	!systemd? (
+		dev-libs/libuv
+		sys-apps/dbus
+	)
+	wayland? (
+		dev-libs/glib:2
+		dev-libs/wayland
+		dev-libs/wayland-protocols
+		dev-util/wayland-scanner
+	)
+	X? (
+		dev-libs/glib:2
+		>=x11-libs/xcb-imdkit-1.0.3:5
+		x11-libs/libX11
+		x11-libs/libxkbfile
+		x11-libs/xcb-util
+		x11-libs/xcb-util-keysyms
+		x11-libs/xcb-util-wm
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	kde-frameworks/extra-cmake-modules:0
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_DBUS=on
+		-DENABLE_XDGAUTOSTART=$(usex autostart)
+		-DENABLE_SERVER=$(usex server)
+		-DENABLE_KEYBOARD=$(usex keyboard)
+		-DENABLE_TEST=$(usex test)
+		-DENABLE_ENCHANT=$(usex enchant)
+		-DENABLE_EMOJI=$(usex emoji)
+		-DENABLE_PRESAGE=$(usex presage)
+		-DENABLE_WAYLAND=$(usex wayland)
+		-DENABLE_X11=$(usex X)
+		-DENABLE_DOC=$(usex doc)
+		-DUSE_SYSTEMD=$(usex systemd)
+	)
+	cmake_src_configure
+}
+
+src_compile() {
+	cmake_src_compile
+	use doc && cmake_src_compile doc
+}
+
+src_install() {
+	cmake_src_install
+	use doc && dodoc -r "${BUILD_DIR}"/doc/*
+}
+
+src_test() {
+	# break by sandbox
+	local CMAKE_SKIP_TESTS=(
+		testdbus
+		testservicewatcher
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	elog
+	elog "Follow the instrcutions on:"
+	elog "https://wiki.gentoo.org/wiki/Fcitx#Using_Fcitx"
+	elog "https://fcitx-im.org/wiki/Setup_Fcitx_5"
+	elog "https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland"
+	elog
+}


             reply	other threads:[~2024-01-11  0:22 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11  0:22 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-20 20:26 [gentoo-commits] repo/gentoo:master commit in: app-i18n/fcitx/ Andreas Sturmlechner
2024-12-02  7:15 Yixun Lan
2024-11-22  8:32 Sam James
2024-11-22  0:55 Sam James
2024-10-11  0:07 Yixun Lan
2024-07-26 14:12 Arthur Zamarin
2024-07-26 14:12 Arthur Zamarin
2024-06-09 18:54 Matt Turner
2024-06-02  3:25 Yixun Lan
2024-06-02  3:25 Yixun Lan
2024-04-25  0:43 Yixun Lan
2024-04-25  0:43 Yixun Lan
2024-03-08  9:12 Yixun Lan
2024-01-18 15:10 WANG Xuerui
2024-01-18 15:10 WANG Xuerui
2024-01-17  9:04 Jakov Smolić
2024-01-16 17:50 Arthur Zamarin
2024-01-11  0:22 Yixun Lan
2023-12-24 15:53 WANG Xuerui
2023-12-11 13:33 Yixun Lan
2023-12-11 13:33 Yixun Lan
2022-05-19  5:08 WANG Xuerui
2021-07-27 21:54 Marek Szuba
2021-03-25 23:52 Conrad Kostecki
2021-02-05  4:40 Sam James
2021-02-05  4:40 Sam James
2021-02-05  4:38 Sam James
2021-02-02 21:00 Sam James
2020-12-07 18:14 Mike Gilbert
2020-12-03 22:58 Marek Szuba
2020-11-16 19:51 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-11-11 20:21 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2020-07-04 13:53 Mike Gilbert
2018-10-19 17:39 Mike Gilbert
2018-08-25 20:20 Michał Górny
2018-02-21 20:34 Mike Gilbert
2018-01-09 22:58 Sergei Trofimovich
2018-01-08 21:31 Mike Gilbert
2017-11-18 10:13 Sergei Trofimovich
2017-11-18 10:03 Sergei Trofimovich
2017-11-15 19:26 Mike Gilbert
2017-11-15 19:26 Mike Gilbert
2017-11-15 19:26 Mike Gilbert
2017-11-01 20:54 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-27 19:57 Mike Gilbert
2017-09-18 19:43 Mike Gilbert
2017-09-16 12:27 Andreas Sturmlechner
2017-09-13 19:25 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-11 18:39 Mike Gilbert
2017-09-02 15:52 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2017-07-30 15:30 David Seifert
2016-10-13 18:54 Mike Gilbert
2016-10-13  9:44 Agostino Sarubbo
2016-10-05 19:36 Mike Gilbert
2016-09-15 14:47 Mike Gilbert
2016-08-17  3:47 Jeroen Roovers
2016-07-29  2:00 Mike Gilbert
2016-07-01  6:33 Jeroen Roovers
2016-05-31  4:20 Jeroen Roovers
2016-05-30 21:01 Mike Gilbert
2016-03-24 14:43 Mike Gilbert
2015-12-22  2:32 Yixun Lan
2015-12-22  2:32 Yixun Lan
2015-11-11 10:39 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1704932394.6f8791cf6078fbf6222f77516d15c7f4d5da3c2c.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox