diff options
Diffstat (limited to 'app-i18n/ibus-hangul')
-rw-r--r-- | app-i18n/ibus-hangul/Manifest | 3 | ||||
-rw-r--r-- | app-i18n/ibus-hangul/files/ibus-hangul-test.patch | 20 | ||||
-rw-r--r-- | app-i18n/ibus-hangul/ibus-hangul-1.5.4.ebuild | 14 |
3 files changed, 34 insertions, 3 deletions
diff --git a/app-i18n/ibus-hangul/Manifest b/app-i18n/ibus-hangul/Manifest index 3a1f72895c8f..b21e08625186 100644 --- a/app-i18n/ibus-hangul/Manifest +++ b/app-i18n/ibus-hangul/Manifest @@ -1,5 +1,6 @@ +AUX ibus-hangul-test.patch 446 BLAKE2B 06a83c8701e803f97b5755215488639b77c3be819b39932e6d6e957467eec482f32bf0477d84e7ec552a495f2e5b56f4dc730c27851cff2f252b0b36152d19f6 SHA512 3171d14b3eb495f09c5a90cee9fc85d87a5b773452367f1ed1bd33eaa3a220658052f6edef53fc7585292b0811f5b04b53eade0175d609dadcee0d29ea3506ac DIST ibus-hangul-1.5.3.tar.gz 525834 BLAKE2B 6c92dbbde39bc42b7df974dbb23c9ef62088c8d3f63a500bd3c7e9c90b3d80d16dc1d76616620e1d7590fee549979a03585ac635761687dc11737d65fdf09e08 SHA512 ba21a8afb750e33744042c5e4f9d88891764921a37c4dbe1f4efa9883fd3c889789854af57adcd24bc1ca365ee49d2e01073c54d72cd025558b41788fb6213b4 DIST ibus-hangul-1.5.4.tar.gz 542612 BLAKE2B 46495c04a37888a3ed21831b5bbca5b788f4d3a831fb3ce4eb13d95f302877fadddf831016f1d29aa2c1a6ba73fc0d585f2be57c10267a51a1a2186642632918 SHA512 dc4c755349424605de3832496a8a0cf7e8da577cbeff85d2b03da187fd5fdc9de5475eb523c69310e4f7edbb9a513f6f218de082ba32a25a477cdf5eb6f65513 EBUILD ibus-hangul-1.5.3-r1.ebuild 988 BLAKE2B 843a94ce91a794fdb3edb82521e1ac317eb13d42a596286049b46bac75963987b3e8e62a462cfed23ac8ea1252c6cb04805a04d83dd767916816daabd9d43137 SHA512 31ca698a4989a3503ee2f79a6afb5d6e7dea3906f553ae03034f47c479e5a7bc404e7040c4344ffe117a1aad0db81b58189353e5ab1c569c377464ba8da05119 -EBUILD ibus-hangul-1.5.4.ebuild 990 BLAKE2B 7dd6f3dfd6f96637fd73e2e0f1dbe3eda72c454a319aa56fb389ebb1ad9667373d8992eaaacf2e54576b83182ae18c7bf9cabe185625da424cf407cae7458599 SHA512 a0b4d22d042f94880f07b38815bb8ff2fa9ed14698fcb40e33fc0b70e5c59311aae8f1683ea24959acae723596f1dfc52dadd243faf196c25e4bedd17ee04e30 +EBUILD ibus-hangul-1.5.4.ebuild 1223 BLAKE2B 73a04f764828b84eef8c7ca1f507fddf915e77432f281dfaf6a4c06ba8308813fd239f1c331e85cd618f1ceaf889d2aba585bcd50de6c1bdce62b2f435ec78e5 SHA512 dc7246018b7e13a098aceb39507da85329e91c167e18ddeaa4d486752accebf11732f21ab5bffcba73cc5f328d1456d69ae146223fd3ad15dcbe248a98c7057e MISC metadata.xml 321 BLAKE2B d336297b96a4ba3ae1e2c8bf3b1493717b49ce42c85cb0748af54c7bf6be4a1c74461c122dbbfc9b107fa02f4e83800798dd61c1bba74426bb7a2487e0d8fef9 SHA512 d05f79c856e4e579d1f98cd7c9869294f1906fa7e73eeae7120ee6af710d5f16f103d63f1261a9d798ba5584fa8e6f349d73d407a747811515280c736b43eb48 diff --git a/app-i18n/ibus-hangul/files/ibus-hangul-test.patch b/app-i18n/ibus-hangul/files/ibus-hangul-test.patch new file mode 100644 index 000000000000..7a6ef479f0ee --- /dev/null +++ b/app-i18n/ibus-hangul/files/ibus-hangul-test.patch @@ -0,0 +1,20 @@ +--- a/tests/ibus-hangul.c ++++ b/tests/ibus-hangul.c +@@ -261,6 +261,7 @@ + G_CALLBACK (window_inserted_text_cb), entry); + gtk_container_add (GTK_CONTAINER (window), entry); + gtk_widget_show_all (window); ++ gtk_window_present (window); + } + + static void +--- a/tests/runtest ++++ b/tests/runtest +@@ -7,7 +7,6 @@ + : ${DISABLE_GUI_TESTS:=''} + + ibus-daemon --xim --panel disable --config disable & +-sleep 30 + + tst=$1 + diff --git a/app-i18n/ibus-hangul/ibus-hangul-1.5.4.ebuild b/app-i18n/ibus-hangul/ibus-hangul-1.5.4.ebuild index 4d13e3d9b116..e8b64f68faad 100644 --- a/app-i18n/ibus-hangul/ibus-hangul-1.5.4.ebuild +++ b/app-i18n/ibus-hangul/ibus-hangul-1.5.4.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" +PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_COMPAT=( python3_{8,9} ) -inherit gnome2-utils python-single-r1 xdg +inherit gnome2-utils python-single-r1 xdg virtualx DESCRIPTION="Korean Hangul engine for IBus" HOMEPAGE="https://github.com/libhangul/ibus-hangul/wiki" @@ -27,12 +27,22 @@ DEPEND="${RDEPEND}" BDEPEND="sys-devel/gettext virtual/pkgconfig" +PATCHES=( "${FILESDIR}"/${PN}-test.patch ) + src_configure() { econf \ $(use_enable nls) \ --with-python=${EPYTHON} } +src_test() { + "${BROOT}"${GLIB_COMPILE_SCHEMAS} --allow-any-name "${S}"/data || die + + export GSETTINGS_BACKEND="memory" + export GSETTINGS_SCHEMA_DIR="${S}/data" + virtx default +} + pkg_preinst() { xdg_pkg_preinst gnome2_schemas_savelist |