diff options
Diffstat (limited to 'app-i18n/im-canna')
-rw-r--r-- | app-i18n/im-canna/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/im-canna/files/im-canna-gentoo.patch | 35 | ||||
-rw-r--r-- | app-i18n/im-canna/im-canna-0.3.2.2-r1.ebuild | 43 | ||||
-rw-r--r-- | app-i18n/im-canna/im-canna-0.3.2.2.ebuild | 29 | ||||
-rw-r--r-- | app-i18n/im-canna/metadata.xml | 8 |
5 files changed, 120 insertions, 0 deletions
diff --git a/app-i18n/im-canna/Manifest b/app-i18n/im-canna/Manifest new file mode 100644 index 000000000000..b15fb209561b --- /dev/null +++ b/app-i18n/im-canna/Manifest @@ -0,0 +1,5 @@ +AUX im-canna-gentoo.patch 912 BLAKE2B f0f8b62ac935b8f0356d96dc0dbfdbef990c1e38e4765ac0715a34749dffae1c57961a5b4e99b58e62bf966ab1b3ba21633fa7e9bf7065e800488605c3ec5e1a SHA512 5b9c98b3495bafcb9eb31d431abba0490817518c9804de6b09d6287d5e45540bc78d27d1be2496bcb1c6435db28666adc9b5b3967195399d57576aaf79da4ecc +DIST im-canna-0.3.2.2.tar.gz 314633 BLAKE2B 971ab1d00645a0bd977a156abd6a1d3ad767505b5bd45792332a399685388b53b08e3133bc435adb7a7e27125fb1ad2d538f78af2420679c6d6d17878251b2ac SHA512 6ec4253038ca97e3e6319c024e4d11ca5418bf478280c4b19b81a9c628310a06bcd4ec35334d3a2bbdff0245bdfa660c1cdfd949ddd6b768d3b73d78648edc81 +EBUILD im-canna-0.3.2.2-r1.ebuild 770 BLAKE2B 0e61ae82678cf080a617fb2860b293fbb1d7374178f51272391fdf4edf955a13a4285d37ed4f23c75dabfbc16a4f3c78b4c590a8802608c04eb8e3849228bb67 SHA512 f3908c519bd345ff1d2ec54868c4ec53a6dde1269b3d65f38325e7104a4db1dfcc3becddaa6f4db2577505ce808e2292baf369ea5bf26191d18cb501d5ea8ffa +EBUILD im-canna-0.3.2.2.ebuild 574 BLAKE2B 992152864f9e3da4b70efd9a6b690a52f1b835981941b9c9765e5eb8d68cc78a277413268be0b9cb2dd1f350726b169f766203511ac1a9c67be25b77b2274259 SHA512 e7a3cff5ef4b13d8348cb092b2eb50f67dc2f39a4e5757e383010019b488ce146d0380ac26a2e5af11c999a2c4c96939d8ccf5e708d6ba6048e11df597d483cf +MISC metadata.xml 240 BLAKE2B 3e01f599fdbafa5c02b594007c673bcfcccb41559bd2f42d7ea60a1f13932335cecf353c1216e8feba4bb091385b57f05c4c8b3c62eed6c7bea41e308fc6115c SHA512 12aaa73d9b690de68a5c7b20e214ceb099efa87884b784eafd994f26032b44dcb66e7feac8a5b1df7f349ac05c5a198a7593dff2cc686de158cb21e4c54f38dd diff --git a/app-i18n/im-canna/files/im-canna-gentoo.patch b/app-i18n/im-canna/files/im-canna-gentoo.patch new file mode 100644 index 000000000000..959e8697eb82 --- /dev/null +++ b/app-i18n/im-canna/files/im-canna-gentoo.patch @@ -0,0 +1,35 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,4 +1,4 @@ +-moduledir = ${libdir}/gtk-2.0/2.4.0/immodules ++moduledir = ${libdir}/gtk-2.0/${GTK_BINARY_VERSION}/immodules + ## Makefile.am for gtk+/modules/input + if PLATFORM_WIN32 + no_undefined = -no-undefined +@@ -6,11 +6,11 @@ + + SUBDIRS = po + +-INCLUDES = @GTK_DEP_CFLAGS@ -I/usr/include/canna -DIM_LOCALEDIR=\"${datadir}/locale\" ++INCLUDES = @GTK_DEP_CFLAGS@ -DIM_LOCALEDIR=\"${datadir}/locale\" + + DEPS = + +-LDADDS = @GTK_DEP_LIBS@ -lcanna ++LDADDS = @GTK_DEP_LIBS@ + + EXTRA_DIST= \ + im-canna.spec \ +--- a/configure.in ++++ b/configure.in +@@ -21,8 +21,10 @@ + + GTK_DEP_CFLAGS=`pkg-config gtk+-2.0 --cflags` + GTK_DEP_LIBS=`pkg-config gtk+-2.0 --libs` ++GTK_BINARY_VERSION=`pkg-config gtk+-2.0 --variable=gtk_binary_version` + AC_SUBST(GTK_DEP_CFLAGS) + AC_SUBST(GTK_DEP_LIBS) ++AC_SUBST(GTK_BINARY_VERSION) + + LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION + LT_CURRENT=2 diff --git a/app-i18n/im-canna/im-canna-0.3.2.2-r1.ebuild b/app-i18n/im-canna/im-canna-0.3.2.2-r1.ebuild new file mode 100644 index 000000000000..673a3b973445 --- /dev/null +++ b/app-i18n/im-canna/im-canna-0.3.2.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools gnome2-utils ltprune + +DESCRIPTION="Japanese Canna input method module for GTK+2" +HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/" +SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="app-i18n/canna + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch ) + +src_prepare() { + default + + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + default + prune_libtool_files --modules +} + +pkg_postinst() { + gnome2_query_immodules_gtk2 +} + +pkg_postrm() { + gnome2_query_immodules_gtk2 +} diff --git a/app-i18n/im-canna/im-canna-0.3.2.2.ebuild b/app-i18n/im-canna/im-canna-0.3.2.2.ebuild new file mode 100644 index 000000000000..b979ded7fff9 --- /dev/null +++ b/app-i18n/im-canna/im-canna-0.3.2.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit gnome2-utils + +DESCRIPTION="Japanese Canna input method module for GTK+2" +HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/" +SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +RDEPEND="app-i18n/canna + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" + +pkg_postinst() { + gnome2_query_immodules_gtk2 +} + +pkg_postrm() { + gnome2_query_immodules_gtk2 +} diff --git a/app-i18n/im-canna/metadata.xml b/app-i18n/im-canna/metadata.xml new file mode 100644 index 000000000000..e1a49f498885 --- /dev/null +++ b/app-i18n/im-canna/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |