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 1308013832E for ; Sun, 31 Jul 2016 15:20:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4009E0B7C; Sun, 31 Jul 2016 15:20:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B858E0B7C for ; Sun, 31 Jul 2016 15:20:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BBD79340BCD for ; Sun, 31 Jul 2016 15:20:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43C507DD for ; Sun, 31 Jul 2016 15:20:02 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1469978278.33e1efb78282e59c62628e27429c0aa6b9976dc9.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/dvd+rw-tools/, app-cdr/dvd+rw-tools/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r2.ebuild app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-dvddl-r1.patch app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-wctomb-r1.patch X-VCS-Directories: app-cdr/dvd+rw-tools/ app-cdr/dvd+rw-tools/files/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 33e1efb78282e59c62628e27429c0aa6b9976dc9 X-VCS-Branch: master Date: Sun, 31 Jul 2016 15:20:02 +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-Archives-Salt: 029948dd-4e22-4c60-98fb-ea881e89cb03 X-Archives-Hash: 71367db3c61e3323ac30b05ae5323eb2 commit: 33e1efb78282e59c62628e27429c0aa6b9976dc9 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Jul 31 15:17:58 2016 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sun Jul 31 15:17:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e1efb7 app-cdr/dvd+rw-tools: new revision with EAPI=6 to fix a bug. A new revision was in order to fix bug 440426 and only show a ulimit warning for new installs. It made sense to update to EAPI=6 for the new revision, and that simplified the ebuild a bit. To use the EAPI=6 PATCHES support, two patches had to be revisioned to be -p1 compatible. Theoretically they could have been modified in-place (since epatch autodetects the -pN level), but since that would affect a stable ebuild, I avoided it. Gentoo-Bug: 440426 Package-Manager: portage-2.2.28 app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r2.ebuild | 51 ++++++++++++++++++++++ .../files/dvd+rw-tools-7.0-dvddl-r1.patch | 13 ++++++ .../files/dvd+rw-tools-7.0-wctomb-r1.patch | 11 +++++ 3 files changed, 75 insertions(+) diff --git a/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r2.ebuild b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r2.ebuild new file mode 100644 index 0000000..f2abcae --- /dev/null +++ b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A set of tools for DVD+RW/-RW drives" +HOMEPAGE="http://fy.chalmers.se/~appro/linux/DVD+RW/" +SRC_URI="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="" + +RDEPEND="virtual/cdrtools" +DEPEND="${RDEPEND} + sys-devel/m4" + +PATCHES=( + "${FILESDIR}"/${PN}-7.0-sysmacros.patch + "${FILESDIR}"/${PN}-7.0-wctomb-r1.patch + "${FILESDIR}"/${PN}-7.0-glibc2.6.90.patch + "${FILESDIR}"/${PN}-7.0-dvddl-r1.patch + "${FILESDIR}"/${PN}-7.0-wexit.patch +) + +src_prepare() { + # Linux compiler flags only include -O2 and are incremental. + sed -i '/FLAGS/s:-O2::' Makefile.m4 || die "failed to sed out FLAGS" + default +} + +src_compile() { + emake SHELL="${EPREFIX}"/bin/bash CC="$(tc-getCC)" CXX="$(tc-getCXX)" +} + +src_install() { + emake SHELL="${EPREFIX}"/bin/bash prefix="${ED}/usr" install + dodoc index.html +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + elog 'If you receive an error, "unable to anonymously mmap...' + elog 'Resource temporarily unavailable" when running growisofs,' + elog 'then you may need to run "ulimit -l unlimited".' + fi +} diff --git a/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-dvddl-r1.patch b/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-dvddl-r1.patch new file mode 100644 index 0000000..8975b04 --- /dev/null +++ b/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-dvddl-r1.patch @@ -0,0 +1,13 @@ +--- a/growisofs_mmc.cpp 2006-04-27 20:45:00.788446635 +0200 ++++ b/growisofs_mmc.cpp 2006-04-27 20:46:01.666824300 +0200 +@@ -1412,9 +1412,7 @@ + blocks += 15, blocks &= ~15; + + if (blocks <= split) +- fprintf (stderr,":-( more than 50%% of space will be *wasted*!\n" +- " use single layer media for this recording\n"), +- exit (FATAL_START(EMEDIUMTYPE)); ++ fprintf (stderr,":-? more than 50%% of space will be *wasted*!\n"); + + blocks /= 16; + blocks += 1; diff --git a/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-wctomb-r1.patch b/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-wctomb-r1.patch new file mode 100644 index 0000000..9a98897 --- /dev/null +++ b/app-cdr/dvd+rw-tools/files/dvd+rw-tools-7.0-wctomb-r1.patch @@ -0,0 +1,11 @@ +--- a/transport.hxx 2008-03-25 21:24:47.000000000 -0400 ++++ b/transport.hxx 2008-03-25 21:25:36.000000000 -0400 +@@ -116,7 +116,7 @@ + extern "C" char *plusminus_locale() + { static class __plusminus { + private: +- char str[4]; ++ char str[MB_LEN_MAX]; + public: + __plusminus() { setlocale(LC_CTYPE,ENV_LOCALE); + int l = wctomb(str,(wchar_t)(unsigned char)'±');