diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/cmigemo | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/cmigemo')
-rw-r--r-- | app-text/cmigemo/Manifest | 2 | ||||
-rw-r--r-- | app-text/cmigemo/cmigemo-1.3c-r1.ebuild | 79 | ||||
-rw-r--r-- | app-text/cmigemo/cmigemo-1.3c-r2.ebuild | 92 | ||||
-rw-r--r-- | app-text/cmigemo/cmigemo-1.3c.ebuild | 65 | ||||
-rw-r--r-- | app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff | 23 | ||||
-rw-r--r-- | app-text/cmigemo/files/cmigemo-1.3c-gentoo.patch | 55 | ||||
-rw-r--r-- | app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch | 13 | ||||
-rw-r--r-- | app-text/cmigemo/metadata.xml | 5 |
8 files changed, 334 insertions, 0 deletions
diff --git a/app-text/cmigemo/Manifest b/app-text/cmigemo/Manifest new file mode 100644 index 000000000000..1c3b0cdba46f --- /dev/null +++ b/app-text/cmigemo/Manifest @@ -0,0 +1,2 @@ +DIST cmigemo-1.3c-MIT.tar.bz2 54447 SHA256 1923882f420aca97d726161ac532491419debd2b746506b1c0ce4fc1dfc79fb6 SHA512 8c5b9109f4309906ed19d5d48643918f51c339be7f3b34c90d2d814fed1b6d30e77a1539f6c1e11ceb3560f83fd9e1079254af0b41e81b274e39128de6ffeb18 WHIRLPOOL 05cdf068242be09a34de25c15940d0ed7d7f779184ff63997d268f34114403552bcb21f1b3e62cda3c429e5deafa081fef56beca2ed4a67bedc75d25232c4961 +DIST cmigemo-1.3c.tar.bz2 54323 SHA256 d42fc98e062ff88886b3133905fa540ae41694fdd222ac0b88433046a9b6de59 SHA512 240bdc92139d692cdb9e98a977f77105ef3ca716ede030629b3c4652276f0b0955ae80cc443fb879cada4b3fc83f7e4181043355e0285fcfe1011f4db4d13cc1 WHIRLPOOL f82f7a4686c2cd7224e08f036694c2d16461709906f77ed3a186506869628d739ed575cc4b7603629b7490a6b34e923697520f4f55518f3b220919ff99c6e9d9 diff --git a/app-text/cmigemo/cmigemo-1.3c-r1.ebuild b/app-text/cmigemo/cmigemo-1.3c-r1.ebuild new file mode 100644 index 000000000000..2e1675f42a8c --- /dev/null +++ b/app-text/cmigemo/cmigemo-1.3c-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils flag-o-matic multilib toolchain-funcs + +MY_P="${P}-MIT" +DESCRIPTION="C/Migemo -- Migemo library implementation in C" +HOMEPAGE="http://www.kaoriya.net/#CMIGEMO" +SRC_URI="http://www.kaoriya.net/dist/var/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha ~amd64 ~ppc x86" +IUSE="emacs unicode vim-syntax" + +DEPEND="dev-lang/perl + >=app-dicts/migemo-dict-200812[unicode=] + app-i18n/qkc" +RDEPEND=">=app-dicts/migemo-dict-200812[unicode=] + emacs? ( >=app-text/migemo-0.40-r1 )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.2-migemo-dict.diff" + touch dict/SKK-JISYO.L + if use unicode ; then + sed -i -e "/gcc:/s/euc-jp/utf-8/" dict/dict.mak || die + fi + + # Bug #246953 + sed -i -e "s:-Wl,-rpath[^ ]*::" compile/Make_gcc.mak || die +} + +src_compile() { + append-flags -fPIC + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" gcc || die +} + +src_install() { + # parallel make install borks + emake -j1 \ + prefix="${D}/usr" \ + libdir="${D}/usr/$(get_libdir)" \ + gcc-install || die + + local encoding + if use unicode ; then + encoding="utf-8" + else + encoding="euc-jp" + fi + + mv "${D}/usr/share/migemo/${encoding}/"*.dat "${D}/usr/share/migemo/" + rm -rf "${D}/usr/share/migemo/"{cp932,euc-jp,utf-8} + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/plugin + doins tools/migemo.vim + fi + + dodoc doc/{README_j,TODO_j,vimigemo}.txt +} + +pkg_postinst() { + if use emacs ; then + elog + elog "Please add to your ~/.emacs" + elog " (setq migemo-command \"cmigemo\")" + elog " (setq migemo-options '(\"-q\" \"--emacs\" \"-i\" \"\\\\a\"))" + elog " (setq migemo-dictionary \"/usr/share/migemo/migemo-dict\")" + elog " (setq migemo-user-dictionary nil)" + elog " (setq migemo-regex-dictionary nil)" + elog "to use cmigemo instead of migemo under emacs." + elog + fi +} diff --git a/app-text/cmigemo/cmigemo-1.3c-r2.ebuild b/app-text/cmigemo/cmigemo-1.3c-r2.ebuild new file mode 100644 index 000000000000..e7e338e8c1c1 --- /dev/null +++ b/app-text/cmigemo/cmigemo-1.3c-r2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils flag-o-matic multilib toolchain-funcs + +MY_P="${P}-MIT" +DESCRIPTION="C/Migemo -- Migemo library implementation in C" +HOMEPAGE="http://www.kaoriya.net/#CMIGEMO" +SRC_URI="http://www.kaoriya.net/dist/var/${MY_P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~ppc x86" +IUSE="emacs unicode vim-syntax" + +DEPEND=">=app-dicts/migemo-dict-200812[unicode=] + dev-lang/perl + || ( + net-misc/curl + net-misc/wget + net-misc/fetch + ) + app-i18n/nkf" +RDEPEND="${RDEPEND} + emacs? ( >=app-text/migemo-0.40-r1 )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Bug #246953 + epatch "${FILESDIR}/${P}-gentoo.patch" \ + "${FILESDIR}"/${P}-ldflags.patch + + touch dict/SKK-JISYO.L + if use unicode ; then + sed -i -e "/gcc:/s/euc-jp/utf-8/" dict/dict.mak || die + fi + + # Bug #255813 + sed -i -e "/^docdir/s:/doc/migemo:/share/doc/${PF}:" compile/config.mk.in || die +} + +src_compile() { + append-flags -fPIC + # parallel make b0rked + emake -j1 \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + gcc-all || die +} + +src_install() { + # parallel make b0rked + emake -j1 \ + prefix="${D}/usr" \ + libdir="${D}/usr/$(get_libdir)" \ + gcc-install || die + + local encoding + if use unicode ; then + encoding="utf-8" + else + encoding="euc-jp" + fi + + mv "${D}/usr/share/migemo/${encoding}/"*.dat "${D}/usr/share/migemo/" + rm -rf "${D}/usr/share/migemo/"{cp932,euc-jp,utf-8} + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/plugin + doins tools/migemo.vim + fi + + dodoc doc/{README_j,TODO_j,vimigemo}.txt +} + +pkg_postinst() { + if use emacs ; then + elog + elog "Please add to your ~/.emacs" + elog " (setq migemo-command \"cmigemo\")" + elog " (setq migemo-options '(\"-q\" \"--emacs\" \"-i\" \"\\\\a\"))" + elog " (setq migemo-dictionary \"/usr/share/migemo/migemo-dict\")" + elog " (setq migemo-user-dictionary nil)" + elog " (setq migemo-regex-dictionary nil)" + elog "to use cmigemo instead of migemo under emacs." + elog + fi +} diff --git a/app-text/cmigemo/cmigemo-1.3c.ebuild b/app-text/cmigemo/cmigemo-1.3c.ebuild new file mode 100644 index 000000000000..0821d28aa8f0 --- /dev/null +++ b/app-text/cmigemo/cmigemo-1.3c.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="C/Migemo -- Migemo library implementation in C" +HOMEPAGE="http://www.kaoriya.net/#CMIGEMO" +SRC_URI="http://www.kaoriya.net/dist/var/${P}.tar.bz2" + +LICENSE="cmigemo" +SLOT="0" +KEYWORDS="x86 alpha ppc" # development branch +IUSE="emacs" + +DEPEND="app-i18n/qkc + app-dicts/migemo-dict" +RDEPEND="app-dicts/migemo-dict + emacs? ( >=app-text/migemo-0.40-r1 )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-1.2-migemo-dict.diff + touch ${S}/dict/SKK-JISYO.L + + # Bug #246953 + sed -i -e "s:-Wl,-rpath[^ ]*::" compile/Make_gcc.mak || die +} + +src_compile() { + emake CFLAGS="-fPIC ${CFLAGS}" gcc || die +} + +src_install() { + make \ + prefix=${D}/usr \ + docdir=${D}/usr/share/doc/${P} \ + gcc-install || die + + mv ${D}/usr/share/migemo/euc-jp/*.dat ${D}/usr/share/migemo + rm -rf ${D}/usr/share/migemo/{cp932,euc-jp} + + if has_version 'app-editors/vim-core' ; then + insinto /usr/share/vim/vimfiles/plugin + doins tools/migemo.vim + fi + + dodoc tools/migemo.vim + dodoc doc/{README_j,TODO_j,vimigemo}.txt +} + +pkg_postinst() { + if use emacs ; then + elog + elog "Please add to your ~/.emacs" + elog " (setq migemo-command \"cmigemo\")" + elog " (setq migemo-options '(\"-q\" \"--emacs\" \"-i\" \"\\\\a\"))" + elog " (setq migemo-dictionary \"/usr/share/migemo/migemo-dict\")" + elog " (setq migemo-user-dictionary nil)" + elog " (setq migemo-regex-dictionary nil)" + elog "to use cmigemo instead of migemo under emacs." + elog + fi +} diff --git a/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff b/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff new file mode 100644 index 000000000000..a216ceafb0ca --- /dev/null +++ b/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff @@ -0,0 +1,23 @@ +diff -urN cmigemo-1.2.ORIG/tools/migemo.vim cmigemo-1.2/tools/migemo.vim +--- cmigemo-1.2.ORIG/tools/migemo.vim 2003-01-07 22:57:59.000000000 +0900 ++++ cmigemo-1.2/tools/migemo.vim 2004-03-13 17:25:31.944190968 +0900 +@@ -20,7 +20,7 @@ + let dict = globpath(path, "migemo-dict") + endif + if dict == '' +- let dict = '/usr/local/share/migemo/'.&encoding.'/migemo-dict' ++ let dict = '/usr/share/migemo/migemo-dict' + if !filereadable(dict) + let dict = '' + endif +@@ -43,7 +43,9 @@ + nnoremap <Leader>f :call <SID>SearchChar(0)<CR> + else + " non-builtin version +- let g:migemodict = s:SearchDict() ++ if !exists('g:migemodict') ++ let g:migemodict = s:SearchDict() ++ endif + command! -nargs=* Migemo :call <SID>MigemoSearch(<q-args>) + nnoremap <silent> <leader>mi :call <SID>MigemoSearch('')<cr> + diff --git a/app-text/cmigemo/files/cmigemo-1.3c-gentoo.patch b/app-text/cmigemo/files/cmigemo-1.3c-gentoo.patch new file mode 100644 index 000000000000..2f903bb9bb62 --- /dev/null +++ b/app-text/cmigemo/files/cmigemo-1.3c-gentoo.patch @@ -0,0 +1,55 @@ +diff -Naur cmigemo-1.3c-MIT.orig/compile/Make_gcc.mak cmigemo-1.3c-MIT/compile/Make_gcc.mak +--- cmigemo-1.3c-MIT.orig/compile/Make_gcc.mak 2003-10-19 16:00:59.000000000 +0900 ++++ cmigemo-1.3c-MIT/compile/Make_gcc.mak 2009-11-08 16:45:32.485952233 +0900 +@@ -14,7 +14,7 @@ + libmigemo = libmigemo.so + EXEEXT = + CFLAGS_MIGEMO = -fPIC +-LDFLAGS_MIGEMO = -Wl,-rpath,.,-rpath,/usr/local/lib,-rpath,/usr/lib ++LDFLAGS_MIGEMO = + + include config.mk + include compile/unix.mak +diff -Naur cmigemo-1.3c-MIT.orig/configure cmigemo-1.3c-MIT/configure +--- cmigemo-1.3c-MIT.orig/configure 2004-06-19 12:50:27.000000000 +0900 ++++ cmigemo-1.3c-MIT/configure 2009-11-08 16:40:42.688962262 +0900 +@@ -31,12 +31,12 @@ + fi + + # Check encoding filter +-if CHECK_COMMAND qkc ; then +- PROGRAM_ENCODEFILTER="qkc -q -u" +-elif CHECK_COMMAND nkf ; then ++if CHECK_COMMAND nkf ; then + PROGRAM_ENCODEFILTER="nkf -x" ++elif CHECK_COMMAND qkc ; then ++ PROGRAM_ENCODEFILTER="qkc -q -u" + else +- echo "ERROR: Require qkc or nkf installed for encode filter." ++ echo "ERROR: Require nkf or qkc installed for encode filter." + exit 1 + fi + +diff -Naur cmigemo-1.3c-MIT.orig/tools/migemo.vim cmigemo-1.3c-MIT/tools/migemo.vim +--- cmigemo-1.3c-MIT.orig/tools/migemo.vim 2004-02-23 16:32:53.000000000 +0900 ++++ cmigemo-1.3c-MIT/tools/migemo.vim 2009-11-08 16:42:19.572951008 +0900 +@@ -20,7 +20,7 @@ + let dict = globpath(path, "migemo-dict") + endif + if dict == '' +- let dict = '/usr/local/share/migemo/'.&encoding.'/migemo-dict' ++ let dict = '/usr/share/migemo/migemo-dict' + if !filereadable(dict) + let dict = '' + endif +@@ -43,7 +43,9 @@ + nnoremap <Leader>f :call <SID>SearchChar(0)<CR> + else + " non-builtin version +- let g:migemodict = s:SearchDict() ++ if !exists('g:migemodict') ++ let g:migemodict = s:SearchDict() ++ endif + command! -nargs=* Migemo :call <SID>MigemoSearch(<q-args>) + nnoremap <silent> <leader>mi :call <SID>MigemoSearch('')<cr> + diff --git a/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch b/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch new file mode 100644 index 000000000000..2f4f8c922431 --- /dev/null +++ b/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/compile/Make_gcc.mak b/compile/Make_gcc.mak +index f042ac6..f91fe92 100644 +--- a/compile/Make_gcc.mak ++++ b/compile/Make_gcc.mak +@@ -28,7 +28,7 @@ include compile/clean_unix.mak + # + $(libmigemo_LIB): $(libmigemo_DSO) + $(libmigemo_DSO): $(libmigemo_OBJ) +- $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) ++ $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) $(LDFLAGS) + $(RM) $@ $(libmigemo) + ln -s $(libmigemo_LIB) $@ + ln -s $(libmigemo_LIB) $(libmigemo) diff --git a/app-text/cmigemo/metadata.xml b/app-text/cmigemo/metadata.xml new file mode 100644 index 000000000000..aef01fc3d591 --- /dev/null +++ b/app-text/cmigemo/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> +</pkgmetadata> |