diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/scim-tables | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/scim-tables')
-rw-r--r-- | app-i18n/scim-tables/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/scim-tables/files/scim-tables-0.5.12-automake.patch | 13 | ||||
-rw-r--r-- | app-i18n/scim-tables/files/scim-tables-0.5.8+gcc-4.3.patch | 11 | ||||
-rw-r--r-- | app-i18n/scim-tables/metadata.xml | 11 | ||||
-rw-r--r-- | app-i18n/scim-tables/scim-tables-0.5.13.ebuild | 63 |
5 files changed, 103 insertions, 0 deletions
diff --git a/app-i18n/scim-tables/Manifest b/app-i18n/scim-tables/Manifest new file mode 100644 index 000000000000..aaa45566728f --- /dev/null +++ b/app-i18n/scim-tables/Manifest @@ -0,0 +1,5 @@ +AUX scim-tables-0.5.12-automake.patch 356 BLAKE2B bce5fcef77970e3504048389968a11e00bcdac1049425b99b75d5f5081c7966eb2c38f6c98aebd3512bfae78cca7b4171f916099ef77f40dfb59e7e3865350cf SHA512 020b32250566092c784727d316acb800013d1c4f7bbd970503e4033bd9006e523079f2b906c7b0db67501d6e441b98500d6da40bdf37b2749f6611c6f6523df9 +AUX scim-tables-0.5.8+gcc-4.3.patch 462 BLAKE2B 181974c195ce3a5d53ac4f95a067adbca82e60b44f664b6caec4f0052f46d02bceccf6aa102f6dc771b1bdc6186fa27c58a550f2cc11cd61cd304b9c4cf5bcf5 SHA512 450b5ca11d1f9b776edae027e8b9af1e24511c145e5df83e344b236be434f7ac7bb7fb24c304dc3e6b2e25ce38a4933acf09140b50f66eed3b734daf9d6c30f6 +DIST scim-tables-0.5.13.tar.gz 6716275 BLAKE2B 8b7932f38baab64d9e1db6e9f76e3d7425f3b1ff071c358b8f2a7d8b2602d3304248e97389f2423ebc12b37edf43c114f73e6bace3907547af44963e03317878 SHA512 400aa99acef83b82e6422398f41bf65e51b7e703adc3e87cdef03793d84983e600f9e6201fda6f9c54e97f35c44da72a657ce15caef09ef490c44ad19c3a9e33 +EBUILD scim-tables-0.5.13.ebuild 1487 BLAKE2B f64a6c7dc8e20a245e3e203b301c309721150114c43475c5d39a954d2e52b755dc6b32ca9cc7fbcb57f4252780804106cbdb986a3374f6de4eedb36d4ba79368 SHA512 5d0c37f6eeeed593601d070bd57ed63d257d575114ec146ee8c48f97fc466cc118a828154bdd66cd2be1c134173bf63e965f1200188676e528776f50e3835840 +MISC metadata.xml 308 BLAKE2B 1bdcfa2996c5ba60e52eddb6446bbc6978ebee7f1f2f4658c44438b886a89cf46a3fddea53c479151e5e023e5681dca5f01264a26ca108c895ac6758f01d6430 SHA512 9f18bf632f3eff9a6498145c2b4c04d51bb119c67351216ab757cd3cea2364c60bef683769218c0596ef6bd29235e51df6a64f9ab1234665fc2191e18fc51cc7 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 <cstring> + #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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">scim</remote-id> + </upstream> +</pkgmetadata> 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..530fd551b64c --- /dev/null +++ b/app-i18n/scim-tables/scim-tables-0.5.13.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +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" + +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 +} |