mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
app-text/namazu: update patches
Package-Manager: Portage-2.3.13, Repoman-2.3.4
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
diff -Naur namazu-2.0.19.orig/filter/Makefile.am namazu-2.0.19/filter/Makefile.am
|
||||
--- namazu-2.0.19.orig/filter/Makefile.am 2008-05-03 02:07:03.000000000 +0900
|
||||
+++ namazu-2.0.19/filter/Makefile.am 2009-03-13 01:04:20.000000000 +0900
|
||||
@@ -51,9 +51,3 @@
|
||||
|
||||
ETAGS_ARGS = $(filter_DATA) --lang=perl
|
||||
TAGS_DEPENDENCIES = $(filter_DATA)
|
||||
-
|
||||
-# To remove Windows specific files installed by Namazu 2.0 and/or 2.0.1
|
||||
-# and old gfilter.pl (Namazu 2.0.7 or earlier).
|
||||
-install-data-local:
|
||||
- rm -f $(filterdir)/ole*.pl
|
||||
- rm -f $(filterdir)/gfilter.pl
|
||||
diff -Naur namazu-2.0.19.orig/filter/Makefile.in namazu-2.0.19/filter/Makefile.in
|
||||
--- namazu-2.0.19.orig/filter/Makefile.in 2009-03-12 23:24:48.000000000 +0900
|
||||
+++ namazu-2.0.19/filter/Makefile.in 2009-03-13 01:05:08.000000000 +0900
|
||||
@@ -455,12 +455,6 @@
|
||||
uninstall uninstall-am uninstall-filterDATA uninstall-info-am \
|
||||
uninstall-info-recursive uninstall-recursive
|
||||
|
||||
-
|
||||
-# To remove Windows specific files installed by Namazu 2.0 and/or 2.0.1
|
||||
-# and old gfilter.pl (Namazu 2.0.7 or earlier).
|
||||
-install-data-local:
|
||||
- rm -f $(filterdir)/ole*.pl
|
||||
- rm -f $(filterdir)/gfilter.pl
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
--- a/nmz/search.c 2011-08-05 09:26:47.000000000 +0900
|
||||
+++ b/nmz/search.c 2011-08-05 09:32:25.000000000 +0900
|
||||
--- a/nmz/search.c
|
||||
+++ b/nmz/search.c
|
||||
@@ -572,7 +572,7 @@
|
||||
{
|
||||
if (*expr == '*' && expr[strlen(expr) - 1] != '*') {
|
||||
@@ -0,0 +1,54 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -19,9 +19,9 @@
|
||||
|
||||
bin_SCRIPTS = nmz-config
|
||||
|
||||
-etcdir = $(pkgdatadir)/etc
|
||||
-etc_DATA = AUTHORS ChangeLog ChangeLog.1 CREDITS COPYING INSTALL \
|
||||
- INSTALL-ja README README-es README-ja NEWS THANKS TODO \
|
||||
+etcdir = @docdir@
|
||||
+etc_DATA = AUTHORS ChangeLog ChangeLog.1 CREDITS \
|
||||
+ README README-es README-ja NEWS THANKS TODO \
|
||||
HACKING HACKING-ja
|
||||
|
||||
EXTRA_DIST = $(etc_DATA) maintMakefile namazu.spec namazu.spec.in \
|
||||
--- a/doc/Makefile.am
|
||||
+++ b/doc/Makefile.am
|
||||
@@ -2,7 +2,7 @@
|
||||
AUTOMAKE_OPTIONS = 1.4 no-dependencies
|
||||
SUBDIRS = en ja
|
||||
|
||||
-cssdir = $(pkgdatadir)/doc
|
||||
+cssdir = @htmldir@
|
||||
|
||||
css_DATA = namazu.css
|
||||
EXTRA_DIST = $(css_DATA)
|
||||
--- a/doc/en/Makefile.am
|
||||
+++ b/doc/en/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-htmldir = $(pkgdatadir)/doc/en
|
||||
+htmldir = @htmldir@/en
|
||||
|
||||
html_DATA = manual.html nmz.html tutorial.html tips.html
|
||||
EXTRA_DIST = $(html_DATA)
|
||||
--- a/doc/ja/Makefile.am
|
||||
+++ b/doc/ja/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-htmldir = $(pkgdatadir)/doc/ja
|
||||
+htmldir = @htmldir@/ja
|
||||
|
||||
html_DATA = manual.html nmz.html tips.html tutorial.html
|
||||
EXTRA_DIST = $(html_DATA)
|
||||
--- a/filter/Makefile.am
|
||||
+++ b/filter/Makefile.am
|
||||
@@ -51,9 +51,3 @@
|
||||
|
||||
ETAGS_ARGS = $(filter_DATA) --lang=perl
|
||||
TAGS_DEPENDENCIES = $(filter_DATA)
|
||||
-
|
||||
-# To remove Windows specific files installed by Namazu 2.0 and/or 2.0.1
|
||||
-# and old gfilter.pl (Namazu 2.0.7 or earlier).
|
||||
-install-data-local:
|
||||
- rm -f $(filterdir)/ole*.pl
|
||||
- rm -f $(filterdir)/gfilter.pl
|
||||
@@ -4,7 +4,7 @@
|
||||
<maintainer type="person">
|
||||
<email>hattya@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils elisp-common
|
||||
inherit autotools eutils elisp-common
|
||||
|
||||
DESCRIPTION="Namazu is a full-text search engine"
|
||||
HOMEPAGE="http://www.namazu.org/"
|
||||
@@ -34,20 +34,28 @@ DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.0.19-gentoo.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.0.21-search.patch"
|
||||
epatch "${FILESDIR}"/${PN}-gentoo.patch
|
||||
epatch "${FILESDIR}"/${P}-memmove.patch
|
||||
|
||||
mv configure.{in,ac}
|
||||
mv tk${PN}/configure.{in,ac}
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use tk && myconf="--with-namazu=/usr/bin/namazu
|
||||
--with-mknmz=/usr/bin/mknmz
|
||||
--with-indexdir=/var/lib/namazu/index"
|
||||
local myconf=(
|
||||
$(use_enable nls)
|
||||
$(use_enable tk tknamazu)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
)
|
||||
use tk && myconf+=(
|
||||
--with-namazu=/usr/bin/namazu
|
||||
--with-mknmz=/usr/bin/mknmz
|
||||
--with-indexdir=/var/lib/namazu/index
|
||||
)
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable tk tknamazu) \
|
||||
${myconf}
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@@ -61,8 +69,6 @@ src_compile() {
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS CREDITS ChangeLog* HACKING* NEWS README* THANKS TODO etc/*.png
|
||||
dohtml -r doc/*
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} lisp/gnus-nmz-1.el* lisp/namazu.el*
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF="1"
|
||||
inherit autotools-utils eutils elisp-common
|
||||
|
||||
DESCRIPTION="Namazu is a full-text search engine"
|
||||
@@ -34,15 +35,14 @@ DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
S="${WORKDIR}"/${P/_p/pre}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.0.19-gentoo.patch"
|
||||
)
|
||||
DOCS=(AUTHORS CREDITS NEWS THANKS TODO)
|
||||
PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable nls)
|
||||
$(use_enable tk tknamazu)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
)
|
||||
|
||||
use tk && myeconfargs+=(
|
||||
@@ -64,9 +64,7 @@ src_compile() {
|
||||
|
||||
src_install () {
|
||||
autotools-utils_src_install
|
||||
dodoc ChangeLog* HACKING* README* etc/*.png
|
||||
dohtml -r doc/*
|
||||
rm -r "${ED}"/usr/share/namazu/doc || die
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} lisp/gnus-nmz-1.el* lisp/namazu.el*
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||
|
||||
Reference in New Issue
Block a user