Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705130 - x11-libs/cairo : port to EAPI 7
Summary: x11-libs/cairo : port to EAPI 7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-01-10 22:14 UTC by David Michael
Modified: 2020-01-13 18:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2020-01-10 22:14:31 UTC
This is an enhancement request to move Cairo to EAPI 7.  It's rather wasteful trying to cross-compile it in its own root where it installs Mesa etc. in the host root due to EAPI 6.  Here is a quick patch to fix it.

--- x11-libs/cairo/cairo-9999.ebuild
+++ x11-libs/cairo/cairo-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit eutils flag-o-matic autotools multilib-minimal
 
@@ -45,14 +45,16 @@ RDEPEND="
 		>=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}]
 	)"
 DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	>=sys-devel/libtool-2
 	X? ( x11-base/xorg-proto )"
 #[[ ${PV} == *9999* ]] && DEPEND="${DEPEND}
 #	doc? (
 #		>=dev-util/gtk-doc-1.6
 #		~app-text/docbook-xml-dtd-4.2
 #	)"
+BDEPEND="
+	virtual/pkgconfig
+	>=sys-devel/libtool-2
+"
 
 REQUIRED_USE="
 	gles2? ( !opengl )


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-01-13 18:13:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9e288b6f0e95521aae6540d423ec015ec4a0cd

commit 9e9e288b6f0e95521aae6540d423ec015ec4a0cd
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-01-13 17:51:43 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-01-13 18:13:24 +0000

    x11-libs/cairo: Port to EAPI=7
    
    Thanks to David Michael.
    
    Closes: https://bugs.gentoo.org/705130
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-libs/cairo/cairo-1.16.0-r3.ebuild | 11 ++++++-----
 x11-libs/cairo/cairo-9999.ebuild      | 11 ++++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)