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/tokyodystopia | |
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/tokyodystopia')
-rw-r--r-- | app-text/tokyodystopia/Manifest | 1 | ||||
-rw-r--r-- | app-text/tokyodystopia/files/fix_ldconfig.patch | 12 | ||||
-rw-r--r-- | app-text/tokyodystopia/files/fix_rpath.patch | 61 | ||||
-rw-r--r-- | app-text/tokyodystopia/files/remove_docinst.patch | 13 | ||||
-rw-r--r-- | app-text/tokyodystopia/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild | 45 |
6 files changed, 140 insertions, 0 deletions
diff --git a/app-text/tokyodystopia/Manifest b/app-text/tokyodystopia/Manifest new file mode 100644 index 000000000000..d7972174c56a --- /dev/null +++ b/app-text/tokyodystopia/Manifest @@ -0,0 +1 @@ +DIST tokyodystopia-0.9.15.tar.gz 158522 SHA256 28b43c592a127d1c9168eac98f680aa49d1137b4c14b8d078389bbad1a81830a SHA512 14e956ea6d84c3e00f1af5b8fd7e7ded8e886d585d80f492119521594826e21dd556b875b9552203c9d2f9e2830b15078d635a62975162436a7c2a13387086dd WHIRLPOOL 46a76637fb3f212622e9439d477c989f0b0064c590e625ed06e6d5ebaa366fef016e614a2b85eff8837643a05cae627cb27a1cbfb30cefde3b74eb155fc6e18e diff --git a/app-text/tokyodystopia/files/fix_ldconfig.patch b/app-text/tokyodystopia/files/fix_ldconfig.patch new file mode 100644 index 000000000000..a75da590ee38 --- /dev/null +++ b/app-text/tokyodystopia/files/fix_ldconfig.patch @@ -0,0 +1,12 @@ +diff --git a/Makefile.in b/Makefile.in +index 60b1036..12f02b0 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -125,7 +125,6 @@ install : + cd man && cp -Rf $(MAN3FILES) $(DESTDIR)$(MAN3DIR) + mkdir -p $(DESTDIR)$(PCDIR) + cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR) +- [ "$$UID" == 0 ] && ldconfig || true + @printf '\n' + @printf '#================================================================\n' + @printf '# Thanks for using Tokyo Cabinet.\n' diff --git a/app-text/tokyodystopia/files/fix_rpath.patch b/app-text/tokyodystopia/files/fix_rpath.patch new file mode 100644 index 000000000000..68c0b6e03510 --- /dev/null +++ b/app-text/tokyodystopia/files/fix_rpath.patch @@ -0,0 +1,61 @@ +diff -ur tokyodystopia-0.9.13/Makefile.in tokyodystopia-0.9.13-new/Makefile.in +--- tokyodystopia-0.9.13/Makefile.in 2009-07-05 04:06:06.000000000 +0200 ++++ tokyodystopia-0.9.13-new/Makefile.in 2009-10-20 22:39:18.000000000 +0200 +@@ -55,8 +55,8 @@ + LDFLAGS = @MYLDFLAGS@ + CMDLDFLAGS = @MYCMDLDFLAGS@ + LIBS = @LIBS@ +-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:. +-RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@ ++LDENV = ++RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR) + POSTCMD = @MYPOSTCMD@ + + +diff -ur tokyodystopia-0.9.13/configure.in tokyodystopia-0.9.13-new/configure.in +--- tokyodystopia-0.9.13/configure.in 2009-06-14 05:44:54.000000000 +0200 ++++ tokyodystopia-0.9.13-new/configure.in 2009-10-20 22:40:00.000000000 +0200 +@@ -26,31 +26,14 @@ + MYPCFILES="tokyodystopia.pc" + + # Building flags +-MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" ++MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" + MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1" +-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" ++MYLDFLAGS="-L. -L\$(LIBDIR)" + MYCMDLDFLAGS="" + MYRUNPATH="\$(LIBDIR)" + MYLDLIBPATHENV="LD_LIBRARY_PATH" + MYPOSTCMD="true" + +-# Building paths +-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" +-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb" +-CPATH="$HOME/include:/usr/local/include:$CPATH" +-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" +-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" +-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" +-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH +-if type pkg-config > /dev/null 2>&1 +-then +- PATH="$PATH:`pkg-config --variable=bindir tokyocabinet`" +- CPATH="$CPATH:`pkg-config --variable=includedir tokyocabinet`" +- LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`" +- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`" +-fi +- +- + + #================================================================ + # Options +diff -ur tokyodystopia-0.9.13/tokyodystopia.pc.in tokyodystopia-0.9.13-new/tokyodystopia.pc.in +--- tokyodystopia-0.9.13/tokyodystopia.pc.in 2008-02-21 10:45:01.000000000 +0100 ++++ tokyodystopia-0.9.13-new/tokyodystopia.pc.in 2009-10-20 22:40:17.000000000 +0200 +@@ -10,5 +10,5 @@ + Name: Tokyo Dystopia + Description: a full-text search system + Version: @PACKAGE_VERSION@ +-Libs: -L${libdir} -ltokyodystopia @LIBS@ ++Libs: -L${libdir} -ltokyodystopia + Cflags: -I${includedir} diff --git a/app-text/tokyodystopia/files/remove_docinst.patch b/app-text/tokyodystopia/files/remove_docinst.patch new file mode 100644 index 000000000000..d513f54b753c --- /dev/null +++ b/app-text/tokyodystopia/files/remove_docinst.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index 8846c38..29ac11e 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -117,8 +117,6 @@ install : + cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR) + mkdir -p $(DESTDIR)$(LIBEXECDIR) + cp -Rf $(CGIFILES) $(DESTDIR)$(LIBEXECDIR) +- mkdir -p $(DESTDIR)$(DATADIR) +- cp -Rf $(DOCUMENTFILES) $(DESTDIR)$(DATADIR) + mkdir -p $(DESTDIR)$(MAN1DIR) + cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR) + mkdir -p $(DESTDIR)$(MAN3DIR) diff --git a/app-text/tokyodystopia/metadata.xml b/app-text/tokyodystopia/metadata.xml new file mode 100644 index 000000000000..24cbb90cf0c4 --- /dev/null +++ b/app-text/tokyodystopia/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> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> diff --git a/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild b/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild new file mode 100644 index 000000000000..cd4c2e5337cf --- /dev/null +++ b/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils + +DESCRIPTION="A fulltext search engine for Tokyo Cabinet" +HOMEPAGE="http://fallabs.com/tokyodystopia/" +SRC_URI="${HOMEPAGE}${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="dev-db/tokyocabinet" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/fix_rpath.patch" + epatch "${FILESDIR}/fix_ldconfig.patch" + epatch "${FILESDIR}/remove_docinst.patch" +} + +src_configure() { + econf --libexecdir=/usr/libexec/${PN} || die +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + + dohtml doc/* || die + + if use examples; then + insinto /usr/share/${PF}/example + doins example/* || die "Install failed" + fi + +} + +src_test() { + emake -j1 check || die "Tests failed" +} |