From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC29A1382C5 for ; Thu, 25 Jun 2020 08:14:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 054DFE08C0; Thu, 25 Jun 2020 08:14:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56B5AE08C0 for ; Thu, 25 Jun 2020 08:14:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 355E634F019 for ; Thu, 25 Jun 2020 08:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A30A2AB for ; Thu, 25 Jun 2020 08:14:25 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1593072860.51fb1b93175a51332e3a4d75a1563cd5e7351566.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/convmv/files/, app-text/convmv/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/convmv/convmv-2.05-r1.ebuild app-text/convmv/files/convmv-2.05-manpage_nocompress.patch X-VCS-Directories: app-text/convmv/files/ app-text/convmv/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 51fb1b93175a51332e3a4d75a1563cd5e7351566 X-VCS-Branch: master Date: Thu, 25 Jun 2020 08:14:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7fb94361-cb64-4b0e-967d-c667a5f5ea5e X-Archives-Hash: 47cea1baf672ead326125de1d8ab344e commit: 51fb1b93175a51332e3a4d75a1563cd5e7351566 Author: Lars Wendler gentoo org> AuthorDate: Thu Jun 25 08:14:11 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Jun 25 08:14:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51fb1b93 app-text/convmv: Don't compress man page during build Closes: https://bugs.gentoo.org/729544 Package-Manager: Portage-2.3.102, Repoman-2.3.23 Signed-off-by: Lars Wendler gentoo.org> app-text/convmv/convmv-2.05-r1.ebuild | 38 ++++++++++++++++++++++ .../files/convmv-2.05-manpage_nocompress.patch | 16 +++++++++ 2 files changed, 54 insertions(+) diff --git a/app-text/convmv/convmv-2.05-r1.ebuild b/app-text/convmv/convmv-2.05-r1.ebuild new file mode 100644 index 00000000000..3384fadada9 --- /dev/null +++ b/app-text/convmv/convmv-2.05-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="convert filenames to utf8 or any other charset" +HOMEPAGE="https://www.j3e.de/linux/convmv/" +SRC_URI="https://www.j3e.de/linux/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.05-manpage_nocompress.patch" #729544 +) + +src_prepare() { + default + sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + dodoc CREDITS Changes TODO VERSION +} + +src_test() { + unpack ./testsuite.tar + + cd "${S}"/suite || die + ./dotests.sh || die "Tests failed" +} diff --git a/app-text/convmv/files/convmv-2.05-manpage_nocompress.patch b/app-text/convmv/files/convmv-2.05-manpage_nocompress.patch new file mode 100644 index 00000000000..02f0c41032e --- /dev/null +++ b/app-text/convmv/files/convmv-2.05-manpage_nocompress.patch @@ -0,0 +1,16 @@ +--- convmv-2.05/Makefile ++++ convmv-2.05/Makefile +@@ -10,11 +10,11 @@ + install: all + mkdir -p $(DESTDIR)$(MANDIR)/man1/ + mkdir -p $(DESTDIR)$(PREFIX)/bin/ +- cp convmv.1.gz $(DESTDIR)$(MANDIR)/man1/ ++ cp convmv.1 $(DESTDIR)$(MANDIR)/man1/ + install -m 755 convmv $(DESTDIR)$(PREFIX)/bin/ + + manpage: +- pod2man --section 1 --center=" " convmv | gzip > convmv.1.gz ++ pod2man --section 1 --center=" " convmv > convmv.1 + + clean: + rm -f convmv.1.gz convmv-*.tar.gz MD5sums SHA256sums .files .name