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-text/tokyodystopia/Manifest | 8 +++ app-text/tokyodystopia/files/fix_ldconfig.patch | 12 +++++ app-text/tokyodystopia/files/fix_rpath.patch | 61 ++++++++++++++++++++++ app-text/tokyodystopia/files/remove_docinst.patch | 13 +++++ app-text/tokyodystopia/metadata.xml | 8 +++ app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild | 44 ++++++++++++++++ 6 files changed, 146 insertions(+) create mode 100644 app-text/tokyodystopia/Manifest create mode 100644 app-text/tokyodystopia/files/fix_ldconfig.patch create mode 100644 app-text/tokyodystopia/files/fix_rpath.patch create mode 100644 app-text/tokyodystopia/files/remove_docinst.patch create mode 100644 app-text/tokyodystopia/metadata.xml create mode 100644 app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild (limited to 'app-text/tokyodystopia') diff --git a/app-text/tokyodystopia/Manifest b/app-text/tokyodystopia/Manifest new file mode 100644 index 000000000000..dd0bf13fd309 --- /dev/null +++ b/app-text/tokyodystopia/Manifest @@ -0,0 +1,8 @@ +AUX fix_ldconfig.patch 439 SHA256 1b374a675a6386cc64d575659baed130e6d4ad5e6cee0388051e86477d70c413 SHA512 1b7c2c1bf8331069cdc74ad60c0ea346050118755c1502a3b1ee0786518d578a322ab1b8eda77d9699a6a4bd2eb9396a32407c5dc64238c1f28f3873957fc0cd WHIRLPOOL 66f2fdd343f5e264880be871d9b50a249a3dddb75fb654ffaa6cc9f5cb6159c029553916310c2b87be72a7520b44395c0d93e9d04d1985356c8b63b5c1b75599 +AUX fix_rpath.patch 2631 SHA256 6707cfb79b5982e1e474a0feedf23c036d524439a9aeaf900469b468b904f690 SHA512 cc4a357c5dbdc95e0b557e2a9578b5e4c6595b19c9b8c061b9882f77f25a5f2b710c1fc83aed1bb1ec8df6ca22ab20b822f1d134743c7ccdd94f68a30bc199b1 WHIRLPOOL baa216b1877ecb84575fe86a2f60e4baf9f762446e61118384a787adcb01820b04583feea4994ccf6d352475206aaa40b19a31a9c665be485540ca54d4c30d8a +AUX remove_docinst.patch 456 SHA256 5e4d8a11a7bd6422e0fe7d5bb307e8a7dee5a05c9a6fea15d3ea81707626f4d9 SHA512 cb052f09c37e0b84e9e236cf7722974b29e0a2d537bd1268cbb8de0db9ba35292836c82b1d21b35f04b753d58c908f32bb42ceeaba03ae086888aeb278dd6a29 WHIRLPOOL f89623cd769df1b06ae2845328bf24b734e8b870b85933b37e34f69495aeff840ee39eb0ac721e73529c3cfae5690925160e18a2f84f29fd54f83486f794f10f +DIST tokyodystopia-0.9.15.tar.gz 158522 SHA256 28b43c592a127d1c9168eac98f680aa49d1137b4c14b8d078389bbad1a81830a SHA512 14e956ea6d84c3e00f1af5b8fd7e7ded8e886d585d80f492119521594826e21dd556b875b9552203c9d2f9e2830b15078d635a62975162436a7c2a13387086dd WHIRLPOOL 46a76637fb3f212622e9439d477c989f0b0064c590e625ed06e6d5ebaa366fef016e614a2b85eff8837643a05cae627cb27a1cbfb30cefde3b74eb155fc6e18e +EBUILD tokyodystopia-0.9.15.ebuild 851 SHA256 201bd58533d0cd232f0570527f30bb9ff1754b9056bbf1cd07abb51bf27ddb8f SHA512 23d0384098c12352f79db79c0835be29d91fa988a370c357f2d7920a3acefc06967f0dee5f094fa8449626b069fee976b23206a48a7f96971e7728ff49a18aec WHIRLPOOL b579fbe87973bf2001d8de9fa875304309c49cad1f3ba26305ffb3ef2511a5fa77849ac8f99c7612a914fe32cc96516ec7f6b901e5c90722392cef2a0e2c5f88 +MISC ChangeLog 2278 SHA256 4d73fd8d2b3d7cdc48a98277de0490f4fd300aec694f54020de59f86f4bfecac SHA512 5e5508341254f34e6a855efe3828e1127104b2911d854c16a5270ace5bc3d57c1e2f3de1ce0fd74bb39cd913e5bb4d0b65fffe50a1917e9a32734a9a71711748 WHIRLPOOL 4a71fc89611d2dfe87f7c5334d7dadd420be6a080dc790fe603adacd9de8d5f8994fb38457558f5fa5810c70d0d0b0f88cf9f37acbcbb6ecc49913635661e5e4 +MISC ChangeLog-2015 1215 SHA256 19a5b9a370029a9be24e63a6ecafd9102a0361522f0c8e28685b85b97db4467c SHA512 be44706257354679474cd625a18e05c4c8bedfbf0c064d70642ce0f3eb461c8f5b6cc57f926c47752b74d2f2de7f3cb1effd78dc9efe7baa4b4527dd6ed864ae WHIRLPOOL d9d47d119a59a8286b9611a004837d36a3ea58ee41cb5f4b7c3309393b9a6d5819defb4a751b3b9d2df0129c88dd8bfd244ce6be6d1601eaf40aad2f28a0db0a +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec 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..40aa45df2b01 --- /dev/null +++ b/app-text/tokyodystopia/metadata.xml @@ -0,0 +1,8 @@ + + + + + patrick@gentoo.org + Patrick Lauer + + 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..9a0508821fb2 --- /dev/null +++ b/app-text/tokyodystopia/tokyodystopia-0.9.15.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" +} -- cgit v1.2.3