From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-i18n/scim-tables/Manifest | 7 +++ .../files/scim-tables-0.5.12-automake.patch | 13 +++++ .../files/scim-tables-0.5.8+gcc-4.3.patch | 11 ++++ app-i18n/scim-tables/metadata.xml | 11 ++++ app-i18n/scim-tables/scim-tables-0.5.13.ebuild | 64 ++++++++++++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 app-i18n/scim-tables/Manifest create mode 100644 app-i18n/scim-tables/files/scim-tables-0.5.12-automake.patch create mode 100644 app-i18n/scim-tables/files/scim-tables-0.5.8+gcc-4.3.patch create mode 100644 app-i18n/scim-tables/metadata.xml create mode 100644 app-i18n/scim-tables/scim-tables-0.5.13.ebuild (limited to 'app-i18n/scim-tables') diff --git a/app-i18n/scim-tables/Manifest b/app-i18n/scim-tables/Manifest new file mode 100644 index 000000000000..911368e51da9 --- /dev/null +++ b/app-i18n/scim-tables/Manifest @@ -0,0 +1,7 @@ +AUX scim-tables-0.5.12-automake.patch 356 SHA256 aa95eb2573dd7d77a7bfc23b84f6ea40f8bb9e195a872c2f3e9e548f05d7a3ec SHA512 020b32250566092c784727d316acb800013d1c4f7bbd970503e4033bd9006e523079f2b906c7b0db67501d6e441b98500d6da40bdf37b2749f6611c6f6523df9 WHIRLPOOL e3508d35560a0d816c741c3f60878b7fa89e45a8cbea57a64208e07312847cbe606baa7f1d29c08e21d43ffb91408bd8b9b9203363c0427aa7acc7636c728fed +AUX scim-tables-0.5.8+gcc-4.3.patch 462 SHA256 afbf8a98c85eb3157cb992f6c6925aa729768b5bc7081ac01b900bf6f62be3d8 SHA512 450b5ca11d1f9b776edae027e8b9af1e24511c145e5df83e344b236be434f7ac7bb7fb24c304dc3e6b2e25ce38a4933acf09140b50f66eed3b734daf9d6c30f6 WHIRLPOOL c64372cb426f5f82379dbaa53742ccf240cffa1a0afacd3d8501f5615a0cee93686819e8fa68abff146cc8f824c8955bf22223b717351c675f18132e9f475775 +DIST scim-tables-0.5.13.tar.gz 6716275 SHA256 4ee7577f2efb4ec01c2c1bf1433a459293653caf281d712284200a4fb828b599 SHA512 400aa99acef83b82e6422398f41bf65e51b7e703adc3e87cdef03793d84983e600f9e6201fda6f9c54e97f35c44da72a657ce15caef09ef490c44ad19c3a9e33 WHIRLPOOL 1ad84ab62824057946366ef4019574fc3f5401c7785f9104a49371937b92375945bb1fd659d37004cf333aba9a7ea2958ccc9c399d7a1266381151dbb337f5b3 +EBUILD scim-tables-0.5.13.ebuild 1536 SHA256 415b52b63b07772ab6a0bb7d3b4588248d7b6a0d978d36d81658ead5e620b298 SHA512 6afcc7b472964098b0939bdd824a1a117d7534d12584e36bf8d09227a333efa23db6c63d4b30f24f6f105b06607851d8053f94b3272d72631afbf70bd44ae131 WHIRLPOOL 731568d6dfd370707ffe83376da5e033ddfde7f60e81613e8daf3a880f54d1fc4328ceba77625c12bc3ee32170a7165675edbbde6cc9fe581fcb75895baf4d68 +MISC ChangeLog 2527 SHA256 db56cc66d8489c1bd21caea9f21c0d5749e147ef40986f486d85f4bd35b3d293 SHA512 0a8ba7ead1b77c2c204e78fee63c129bbbcbc2eae286afccc2d23279ab48372b199ca5b961ccc3cb482dbbc6911de1b4399b28255d7ca630bda043315f5d6a6c WHIRLPOOL 08c1ae5939bae671d92f37f4f9d3adb97f63c9deb56667bfac04260fcb476abcdd66b3890770a45e73bf9fb23a6f019dfeee21598b7e5c23ba5849d8ded845de +MISC ChangeLog-2015 10977 SHA256 3e76759b5c509fcaa1d5815e88bbcc8a399a1316104b291242f079592ae3c527 SHA512 95d5d17cc4043cffe52b7da07a5b2403040d69ec4220208d6774f2144cae78929930975052b14e161d92bbdb3acb1b68fa8fab5df56a69ca513df2fd87bb38cb WHIRLPOOL 4cdef78c3b2404cba669b5e4b097c5da7fe37fd617078ab15283c23bc7bf4c6f57f0539ce057ea8304014f7cf06bc1f5d11f92f5ebfce05f4d2ed40d2aaf4274 +MISC metadata.xml 308 SHA256 fca15aa6f4f3564c9310b314c403ee412704ce76871c1266c6038d9b1fb55899 SHA512 9f18bf632f3eff9a6498145c2b4c04d51bb119c67351216ab757cd3cea2364c60bef683769218c0596ef6bd29235e51df6a64f9ab1234665fc2191e18fc51cc7 WHIRLPOOL d861c223e235412417b8800d5dc7df83abe7ecd0b1acdcbd7fdd31e5a9aad2180f842652532126358a23f1e5c40c02e0fad16ef46edf98abd502018c82c4d6ff diff --git a/app-i18n/scim-tables/files/scim-tables-0.5.12-automake.patch b/app-i18n/scim-tables/files/scim-tables-0.5.12-automake.patch new file mode 100644 index 000000000000..7f5ea31ca187 --- /dev/null +++ b/app-i18n/scim-tables/files/scim-tables-0.5.12-automake.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index 78f75f9..ee82dda 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -7,7 +7,7 @@ AC_DEFINE_UNQUOTED(SCIM_TABLES_VERSION, "$PACKAGE_VERSION", [The release version + + # Init automake stuff + AM_INIT_AUTOMAKE +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + + # Init gettext + AM_GNU_GETTEXT([external]) diff --git a/app-i18n/scim-tables/files/scim-tables-0.5.8+gcc-4.3.patch b/app-i18n/scim-tables/files/scim-tables-0.5.8+gcc-4.3.patch new file mode 100644 index 000000000000..96e5c820813e --- /dev/null +++ b/app-i18n/scim-tables/files/scim-tables-0.5.8+gcc-4.3.patch @@ -0,0 +1,11 @@ + diff -up scim-tables-0.5.8/src/scim_generic_table.h.gcc43~ scim-tables-0.5.8/src/scim_generic_table.h +--- scim-tables-0.5.8/src/scim_generic_table.h.gcc43~ 2008-01-13 08:03:06.000000000 +0000 ++++ scim-tables-0.5.8/src/scim_generic_table.h 2008-01-13 08:03:06.000000000 +0000 +@@ -24,6 +24,7 @@ + * $Id: scim_generic_table.h,v 1.7 2006/08/23 10:25:32 suzhe Exp $ + */ + ++#include + #if !defined (__SCIM_GENERIC_TABLE_H) + #define __SCIM_GENERIC_TABLE_H + diff --git a/app-i18n/scim-tables/metadata.xml b/app-i18n/scim-tables/metadata.xml new file mode 100644 index 000000000000..01855eefe13f --- /dev/null +++ b/app-i18n/scim-tables/metadata.xml @@ -0,0 +1,11 @@ + + + + + cjk@gentoo.org + Cjk + + + scim + + diff --git a/app-i18n/scim-tables/scim-tables-0.5.13.ebuild b/app-i18n/scim-tables/scim-tables-0.5.13.ebuild new file mode 100644 index 000000000000..a6a246691146 --- /dev/null +++ b/app-i18n/scim-tables/scim-tables-0.5.13.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit autotools base eutils + +DESCRIPTION="Smart Common Input Method (SCIM) Generic Table Input Method Server" +HOMEPAGE="http://www.scim-im.org/" +SRC_URI="mirror://sourceforge/scim/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86" +IUSE="nls" +LANGS="am ar bn gu hi ja kn ko ml ne pa ru ta te th uk vi zh" +for i in ${LANGS} ; do + IUSE="${IUSE} linguas_${i}" +done + +RDEPEND=">=app-i18n/scim-1.4.7-r2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}/${PN}-0.5.8+gcc-4.3.patch" + "${FILESDIR}"/${PN}-0.5.12-automake.patch + ) + +pkg_setup() { + elog "Not all languages are going to be compiled." + elog "Please set LINGUAS to your preferred language(s)." + elog "Supported LINGUAS values are:" + elog "${LANGS}" +} + +src_unpack() { + base_src_unpack + + strip-linguas ${LANGS} + local use_languages="additional ${LINGUAS}" + elog "Languages being compiled are: ${use_languages}" + + cd "${S}" + sed -i -e "/^SUBDIRS/s/.*/SUBDIRS = ${use_languages}/g" \ + tables/Makefile.{am,in} || die "sed ${m} failed" + + AT_NO_RECURSIVE=yes AT_M4DIR=${S}/m4 eautoreconf +} + +src_compile() { + econf \ + --disable-skim-support \ + $(use_enable nls) \ + --disable-static \ + --disable-dependency-tracking \ + --without-arts || die "econf failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc README ChangeLog AUTHORS +} -- cgit v1.2.3