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 ED8931382C5 for ; Mon, 19 Apr 2021 05:03:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AB09E083B; Mon, 19 Apr 2021 05:03:28 +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 DDAC0E083B for ; Mon, 19 Apr 2021 05:03:26 +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 A87D8340E3F for ; Mon, 19 Apr 2021 05:03:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 114EA702 for ; Mon, 19 Apr 2021 05:03:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1618808574.3068dacdf8021e48e394088c0021ae9d51cf846b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/logitech-applet/files/, app-misc/logitech-applet/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/logitech-applet/files/logitech-applet-0.4_pre1-configure-error-handling.patch app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild X-VCS-Directories: app-misc/logitech-applet/files/ app-misc/logitech-applet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3068dacdf8021e48e394088c0021ae9d51cf846b X-VCS-Branch: master Date: Mon, 19 Apr 2021 05:03:23 +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: 18283a84-4622-4536-a22b-ae52594b7bac X-Archives-Hash: 8f113d903cb6152c55d2491e7d2f3626 commit: 3068dacdf8021e48e394088c0021ae9d51cf846b Author: Sam James gentoo org> AuthorDate: Mon Apr 19 05:02:40 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Apr 19 05:02:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3068dacd app-misc/logitech-applet: port to EAPI 7 Signed-off-by: Sam James gentoo.org> ...ch-applet-0.4_pre1-configure-error-handling.patch | 20 ++++++++++++++++++++ .../logitech-applet-0.4_pre1-r3.ebuild | 18 ++++++++++++++---- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/app-misc/logitech-applet/files/logitech-applet-0.4_pre1-configure-error-handling.patch b/app-misc/logitech-applet/files/logitech-applet-0.4_pre1-configure-error-handling.patch new file mode 100644 index 00000000000..1373a1010c1 --- /dev/null +++ b/app-misc/logitech-applet/files/logitech-applet-0.4_pre1-configure-error-handling.patch @@ -0,0 +1,20 @@ +--- a/configure.in ++++ b/configure.in +@@ -24,7 +24,7 @@ if test "$LUSB" = "no"; then + echo " http://libusb.sourceforge.net" + echo " or use the --with-libusb-includes option, if you have it installed" + echo " in an unusual place" +- exit ++ exit 1 + fi + AC_CHECK_LIB(usb, usb_init, LUSB="yes", LUSB="no") + if test "$LUSB" = "no"; then +@@ -33,7 +33,7 @@ if test "$LUSB" = "no"; then + echo " http://libusb.sourceforge.net" + echo " or use the --with-libusb-libraries option, if you have it installed" + echo " in an unusual place" +- exit ++ exit 1 + fi + + AC_OUTPUT(Makefile) diff --git a/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild b/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild index 4c2d5534f1a..ed10f90c578 100644 --- a/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild +++ b/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit epatch +EAPI=7 + +inherit autotools MY_P=${P/_pre/test} MY_P=${MY_P/-applet/_applet} @@ -10,6 +11,7 @@ MY_P=${MY_P/-applet/_applet} DESCRIPTION="Control utility for some special features of some special Logitech USB mice!" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" SRC_URI="mirror://gentoo/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" @@ -18,10 +20,18 @@ KEYWORDS="amd64 x86" DEPEND="virtual/libusb:0" RDEPEND="${DEPEND}" -S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${P}-mx300-mx518.patch + "${FILESDIR}"/${PN}-0.4_pre1-configure-error-handling.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-mx300-mx518.patch + default + + mv configure.{in,ac} || die + + # For error handling patch + eautoreconf } src_install() {