From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 07A041381F1 for ; Mon, 6 Jun 2016 18:59:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7051325402A; Mon, 6 Jun 2016 18:59:01 +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 0897225402A for ; Mon, 6 Jun 2016 18:59:00 +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 E3F82340C90 for ; Mon, 6 Jun 2016 18:58:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CF64975 for ; Mon, 6 Jun 2016 18:58:56 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1465239530.2cbf041b6cf2fea23d2a706521ee35b948201174.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gpm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/gpm/Manifest sys-libs/gpm/gpm-1.20.7-r2.ebuild X-VCS-Directories: sys-libs/gpm/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 2cbf041b6cf2fea23d2a706521ee35b948201174 X-VCS-Branch: master Date: Mon, 6 Jun 2016 18:58:56 +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: 128b3983-49b5-4367-98b3-a863f7652ca9 X-Archives-Hash: 554adce6542bf0ec5e6cee265221cd57 commit: 2cbf041b6cf2fea23d2a706521ee35b948201174 Author: Mike Frysinger gentoo org> AuthorDate: Mon Jun 6 18:57:35 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Mon Jun 6 18:58:50 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbf041b sys-libs/gpm: include compiled docs to avoid texinfo dep #585094 Rather than require texinfo all the time (just to generate the info page), build them by hand and ship them as an addon patch. Ideally this would be in upstream, but we're working on that already. Let's fix stable until that happens. sys-libs/gpm/Manifest | 1 + sys-libs/gpm/gpm-1.20.7-r2.ebuild | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/sys-libs/gpm/Manifest b/sys-libs/gpm/Manifest index afdac3e..b637cdc 100644 --- a/sys-libs/gpm/Manifest +++ b/sys-libs/gpm/Manifest @@ -1 +1,2 @@ +DIST gpm-1.20.7-docs.patch.xz 41668 SHA256 a1b73e8916d1ae5e336a6c366c2be51b668176d743bb137a53c623f5a634faf6 SHA512 6cdcad70d0a77a56cb507330ff8409155de11255b5e61fb92ee439c1e117932c346df475f4187abb0e348ee4c28fa235a9693883b1c36913e91404662df272f4 WHIRLPOOL f6832979bc5b3ca1c61f150ab8795f744dc3d44fa404038dd5de97c4fd939e2e1fb4b40bcb27daf5cb81846a0841954dbfa5b8d6e37e341b834d9dce6382dcf1 DIST gpm-1.20.7.tar.lzma 789691 SHA256 a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c SHA512 a502741e2f457b47e41c6d155b1f7ef7c95384fd394503f82ddacf80cde9cdc286c906c77be12b6af8565ef1c3ab24d226379c1dcebcfcd15d64bcf3e94b63b9 WHIRLPOOL d3d142c3aa385e2ef4b16c96e0f94c04b3666376d893c516d439737c2f3016a12fff7884a8f18b5e6b58e4ba21d82379204b18621a2f338d8ab6d478e4e1ec1a diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild b/sys-libs/gpm/gpm-1.20.7-r2.ebuild index ee9f5a7..58415ad 100644 --- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild +++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild @@ -10,7 +10,8 @@ inherit eutils systemd toolchain-funcs autotools multilib-minimal DESCRIPTION="Console-based mouse driver" HOMEPAGE="http://www.nico.schottelius.org/software/gpm/" -SRC_URI="http://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma" +SRC_URI="http://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma + mirror://gentoo/${P}-docs.patch.xz" LICENSE="GPL-2" SLOT="0" @@ -30,14 +31,26 @@ DEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}] src_prepare() { epatch "${FILESDIR}"/${P}-sysmacros.patch + + # Hack up the docs until we get this sorted upstream. + # https://github.com/telmich/gpm/issues/8 + epatch "${WORKDIR}"/${P}-docs.patch + touch -r . doc/* || die + # fix ABI values sed -i \ -e '/^abi_lev=/s:=.*:=1:' \ -e '/^abi_age=/s:=.*:=20:' \ configure.ac.footer || die + # Rebuild autotools since release doesn't include them. + # Should be fixed with the next release though. + # https://github.com/telmich/gpm/pull/15 sed -i -e '/ACLOCAL/,$d' autogen.sh || die ./autogen.sh eautoreconf + + # Out-of-tree builds are broken. + # https://github.com/telmich/gpm/issues/16 multilib_copy_sources } @@ -49,8 +62,6 @@ multilib_src_configure() { } multilib_src_compile() { - # make sure nothing compiled is left - emake clean emake EMACS=: $(multilib_is_native_abi || echo "PROG= ") }