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 F3ED91382C5 for ; Mon, 26 Mar 2018 20:20:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D946E09C3; Mon, 26 Mar 2018 20:20:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 C4902E09C3 for ; Mon, 26 Mar 2018 20:20:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 747E3335C51 for ; Mon, 26 Mar 2018 20:20:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4DDEB258 for ; Mon, 26 Mar 2018 20:19:58 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1522095582.6326de87e9f6e14fe2cd72839e21a4cb45534b18.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/brltty/files/, app-accessibility/brltty/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-accessibility/brltty/brltty-5.2-r1.ebuild app-accessibility/brltty/files/brltty-5.2-respect-AR.patch app-accessibility/brltty/files/brltty-5.2-udev.patch X-VCS-Directories: app-accessibility/brltty/files/ app-accessibility/brltty/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 6326de87e9f6e14fe2cd72839e21a4cb45534b18 X-VCS-Branch: master Date: Mon, 26 Mar 2018 20:19:58 +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: d70bdc4a-5a98-49e3-8905-36a1dfee5ab6 X-Archives-Hash: 28065f67acd84a2a9b15b4dab9242cb8 commit: 6326de87e9f6e14fe2cd72839e21a4cb45534b18 Author: Marty E. Plummer startmail com> AuthorDate: Thu Mar 22 11:54:34 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Mon Mar 26 20:19:42 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6326de87 app-accessibility/brltty: bump to EAPI 6 Also readjusted the epatch call to an eapply call, added HTML_DOCS/einstalldocs as dohtml is deprecated on EAPI=6, and adjusted the keepdir call to point at the correct directory. Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7590 app-accessibility/brltty/brltty-5.2-r1.ebuild | 43 ++++++++++++---------- .../brltty/files/brltty-5.2-respect-AR.patch | 5 +-- .../brltty/files/brltty-5.2-udev.patch | 5 +-- 3 files changed, 28 insertions(+), 25 deletions(-) diff --git a/app-accessibility/brltty/brltty-5.2-r1.ebuild b/app-accessibility/brltty/brltty-5.2-r1.ebuild index 8b9f34c0e4f..3622819ef62 100644 --- a/app-accessibility/brltty/brltty-5.2-r1.ebuild +++ b/app-accessibility/brltty/brltty-5.2-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) FINDLIB_USE="ocaml" @@ -42,11 +42,17 @@ DEPEND="virtual/pkgconfig RDEPEND="java? ( >=virtual/jre-1.4 ) ${COMMON_DEP}" +HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. ) + +PATCHES=( + "${FILESDIR}"/${PN}-5.2-fix-ldflags.patch + "${FILESDIR}"/${PN}-5.2-udev.patch + "${FILESDIR}"/${PN}-5.2-respect-AR.patch + "${FILESDIR}"/${PN}-5.2-sysmacros.patch +) + src_prepare() { - epatch "${FILESDIR}"/${P}-fix-ldflags.patch \ - "${FILESDIR}"/${P}-udev.patch \ - "${FILESDIR}"/${P}-respect-AR.patch \ - "${FILESDIR}"/${P}-sysmacros.patch + default java-pkg-opt-2_src_prepare @@ -163,30 +169,29 @@ src_install() { libdir="$(get_libdir)" mkdir -p "${D}"/usr/${libdir}/ - mv "${D}"/${libdir}/*.a "${D}"/usr/${libdir}/ + mv "${D}"/${libdir}/*.a "${D}"/usr/${libdir}/ || die gen_usr_ldscript libbrlapi.so - cd Documents - mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt - mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt - mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt + cd Documents || die + mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die + mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt || die + mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt || die dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt - dohtml -r Manual-BRLTTY if use doc; then - dohtml -r Manual-BrlAPI dodoc BrlAPI-*.txt + HTML_DOCS="Manual-BRLTTY" einstalldocs fi - keepdir /var/lib/brlapi - rmdir "${D}/run/brltty" - rmdir "${D}/run" + keepdir /var/lib/BrlAPI + rmdir "${D}/run/brltty" || die + rmdir "${D}/run" || die } pkg_postinst() { elog - elog please be sure "${ROOT}"etc/brltty.conf is correct for your system. + elog "please be sure ${ROOT}etc/brltty.conf is correct for your system." elog - elog To make brltty start on boot, type this command as root: + elog "To make brltty start on boot, type this command as root:" elog - elog rc-update add brltty boot + elog "rc-update add brltty boot" } diff --git a/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch b/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch index 95451dc98b7..c5698a2b939 100644 --- a/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch +++ b/app-accessibility/brltty/files/brltty-5.2-respect-AR.patch @@ -1,6 +1,5 @@ -diff -Naur brltty-5.2/Programs/Makefile.in brltty-5.2-new/Programs/Makefile.in ---- brltty-5.2/Programs/Makefile.in 2014-11-06 07:28:41.000000000 -0800 -+++ brltty-5.2-new/Programs/Makefile.in 2014-11-20 05:41:57.144219093 -0800 +--- a/Programs/Makefile.in ++++ b/Programs/Makefile.in @@ -434,7 +434,7 @@ [ ! -f lib.def ] || mv lib.def $(API_DEF) diff --git a/app-accessibility/brltty/files/brltty-5.2-udev.patch b/app-accessibility/brltty/files/brltty-5.2-udev.patch index dbbc2989766..e6d56603b01 100644 --- a/app-accessibility/brltty/files/brltty-5.2-udev.patch +++ b/app-accessibility/brltty/files/brltty-5.2-udev.patch @@ -1,6 +1,5 @@ -diff -Naur brltty-5.2/Autostart/Udev/udev.rules brltty-5.2-new/Autostart/Udev/udev.rules ---- brltty-5.2/Autostart/Udev/udev.rules 2014-11-06 07:28:41.000000000 -0800 -+++ brltty-5.2-new/Autostart/Udev/udev.rules 2014-11-20 05:28:44.404885312 -0800 +--- a/Autostart/Udev/udev.rules ++++ b/Autostart/Udev/udev.rules @@ -182,20 +182,22 @@ # FreedomScientific [Focus Blue] ENV{PRODUCT}=="f4e/114/*", ENV{BRLTTY_BRAILLE_DRIVER}="fs", GOTO="brltty_usb_run"