diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-12 05:48:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-12 05:48:13 +0100 |
commit | 8d9dd6a2b8f0525f6337deacd0cc20027f645396 (patch) | |
tree | 055778f8b0feeae92daec20b5693a21a206ea379 /app-i18n | |
parent | 02930d1eb5af78d32b1597af6af24163895d9e0f (diff) |
gentoo auto-resync : 12:05:2023 - 05:48:13
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/Manifest.gz | bin | 17367 -> 17368 bytes | |||
-rw-r--r-- | app-i18n/ibus-pinyin/Manifest | 2 | ||||
-rw-r--r-- | app-i18n/ibus-pinyin/files/ibus-pinyin-1.5.0-gettext.patch | 16 | ||||
-rw-r--r-- | app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r6.ebuild | 64 |
4 files changed, 82 insertions, 0 deletions
diff --git a/app-i18n/Manifest.gz b/app-i18n/Manifest.gz Binary files differindex 870061e91521..c932f4ddfe24 100644 --- a/app-i18n/Manifest.gz +++ b/app-i18n/Manifest.gz diff --git a/app-i18n/ibus-pinyin/Manifest b/app-i18n/ibus-pinyin/Manifest index b4ab808be2a2..fff7233e514a 100644 --- a/app-i18n/ibus-pinyin/Manifest +++ b/app-i18n/ibus-pinyin/Manifest @@ -1,7 +1,9 @@ AUX ibus-pinyin-1.5.0-content-type-method.patch 5534 BLAKE2B 658a4d099b02b344f38a9ef2fc2df0d2274dcd3b8071fac0aef0accbf7c21f0d4e98b9587d665b13195d7efc04bbf58218de84069a2c63eaa79156363061dd86 SHA512 3399052f0d12eb55554d5cc98637125e6648a56f3dc87eb2fadc63af3fb82bba915e820c51596d9106637f6a063100f217ad001422a61f8925db5c5b2024c976 +AUX ibus-pinyin-1.5.0-gettext.patch 632 BLAKE2B 8b5c09fce053b9f057ab32100c0091eed80ab8a4ab0ec6bb76814018417c2fafff26c27f779054ae2c8579e22c2f4f0995c9920c4533cc2734ac352933e9fe61 SHA512 a5b85ea7f26f5970dabd173c9ae467ada7f3c723a3b306988464465153139606979035dc8d451c4740cdb50356270c73a24581e32fa7c947841c12a152277d67 AUX ibus-pinyin-1.5.0-python3.patch 2983 BLAKE2B 35f8b1d0649a3614fcecec78b3246dcecd8b40f68d71165b2c40d802bb42bff1d8f3f4c2c1baf25fc6ca97e190f7eb2004054f4d9857b605129b45c41b273f52 SHA512 c9eda6fb227358c8214ba717f6d800f3c47f9110e99e16601966651bd698cd703daedcec82a2933b76701bc05870ff88715a6d639333b5e5959c1f5e86e2dcff AUX ibus-pinyin-1.5.0-sqlite-3.41.0.patch 764 BLAKE2B fe9989fb0b5935a7baa429ef389f8e874d0c59fb849e771e810f8581fe9ed928ae41bf868954a440adb484bb9ea502f005bcc084f7cb15d1070e386ee439d783 SHA512 b9165594d6c97dd511eca6b5c61486b4f1a9be2acda0a35d6013371fb08e13d244ee046f7cf30f568d32367a96f9d19402361ffd8e2b69877e0909d110ec7d09 AUX ibus-pinyin-boost.patch 409 BLAKE2B 5fececc7f4ed6941d374799ccdb1d9d7deeeb7078bedc8d0085e12f8310c42d752c14168a7d07a88e9412fa9cbff5c5bdf4274202d2ed6b6e7f337a96c65c3f0 SHA512 8e4efe9b5d12d35672dd8891a49599bef6611aeb723e8fbc08197896e417cca1d55cf31a0bb1f3ec572db489b01aa36349eaf9238d1a693483d6e21bc10eab2e DIST ibus-pinyin-1.5.0.tar.gz 692516 BLAKE2B ae53eb79ea4e5336347d689814d8ef033551a9b432268e643927b28911da3d03701acb3f337d7781168461c1c53537f2271fc8f253d1e99a269f61ae5eb83b05 SHA512 b0cd849ee3154543747dde8994eec9aed01d67e0d9be308a2f0230cf22f0281cd8fcabd9763b24238547a37e54400bcd8e541937767b93f005d04302f0c00241 EBUILD ibus-pinyin-1.5.0-r5.ebuild 1347 BLAKE2B 7315fc873e59a2be1fbe840280d147b35d5be6831d9a533527594702c70bcd686004cec5f92ba0d5abdc65e09e0336ba2bf3ac2bfc1e249ee91ade4f052f2df8 SHA512 739768d7cc8b48d5bd712eaa10305d4894bfd7a54d8bd36f945e125778ab02b1935667e7542655704b747f295e0173acc8526efca514e8ba7ba632cc460d6583 +EBUILD ibus-pinyin-1.5.0-r6.ebuild 1391 BLAKE2B e64316b4a3c16a51f998fc39241fdd2364a1a70022fbaadfaa34014a0b19c173a2d08f688c15885a976351b9fdf68c3e9ddf87659313d10b5e757a88624874ff SHA512 95372493d2b73fc300ce3ee2a305f7967e23d66f4589e78510a90bda63f2d97398d277bd17459d56bb8bea80adafedd561c46150e7d585e500c1eff787d818c4 MISC metadata.xml 525 BLAKE2B 54c6aef9209148f57e663ae762242e0d3d0ef4ecb1eed537c8509083c8094842074f072668d595bc55d28698a1433997632ce0daede144cbaff1b35a32ff0447 SHA512 7dd6aa126f71457e8e86a2b02998944144399b73815f5afa789a320f531d74e41b5d7a21b2639ec673216bae09fc0b1e09659d8e975926a7c03934e5beddc2f2 diff --git a/app-i18n/ibus-pinyin/files/ibus-pinyin-1.5.0-gettext.patch b/app-i18n/ibus-pinyin/files/ibus-pinyin-1.5.0-gettext.patch new file mode 100644 index 000000000000..2014bad9820a --- /dev/null +++ b/app-i18n/ibus-pinyin/files/ibus-pinyin-1.5.0-gettext.patch @@ -0,0 +1,16 @@ +--- a/setup/main.py ++++ b/setup/main.py +@@ -45,7 +45,12 @@ class PreferencesDialog: + locale.setlocale(locale.LC_ALL, "") + localedir = os.getenv("IBUS_LOCALEDIR") + gettext.bindtextdomain("ibus-pinyin", localedir) +- gettext.bind_textdomain_codeset("ibus-pinyin", "UTF-8") ++ # Python's gettext module doesn't provide all methods in ++ # new Python version since Python 3.10 ++ try: ++ gettext.bind_textdomain_codeset("ibus-pinyin", "UTF-8") ++ except AttributeError: ++ pass + + self.__bus = IBus.Bus() + self.__config = self.__bus.get_config() diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r6.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r6.ebuild new file mode 100644 index 000000000000..f3dd89c2dced --- /dev/null +++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r6.ebuild @@ -0,0 +1,64 @@ +# Copyright 2008-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +LUA_COMPAT=( lua5-1 ) +PYTHON_COMPAT=( python3_{9..11} ) + +inherit autotools lua-single python-single-r1 + +DESCRIPTION="Chinese Pinyin and Bopomofo engines for IBus" +HOMEPAGE="https://github.com/ibus/ibus-pinyin" +SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="boost lua nls" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + lua? ( ${LUA_REQUIRED_USE} )" + +RDEPEND="${PYTHON_DEPS} + app-i18n/pyzy + dev-db/sqlite:3 + $(python_gen_cond_dep ' + app-i18n/ibus[python(+),${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + boost? ( dev-libs/boost ) + lua? ( ${LUA_DEPS} ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + sys-devel/autoconf-archive + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-boost.patch + "${FILESDIR}"/${P}-content-type-method.patch + "${FILESDIR}"/${P}-python3.patch + "${FILESDIR}"/${P}-sqlite-3.41.0.patch + "${FILESDIR}"/${P}-gettext.patch #905906 +) + +pkg_setup() { + python-single-r1_pkg_setup + + if use lua; then + lua-single_pkg_setup + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable boost) \ + $(use_enable lua lua-extension) \ + $(use_enable nls) +} |