pacho 15/05/24 09:46:11 Modified: gliv-1.9.7.ebuild ChangeLog Log: Fix build with gettext-0.19, bug #512624 by zimous (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Revision Changes Path 1.4 media-gfx/gliv/gliv-1.9.7.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gliv/gliv-1.9.7.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gliv/gliv-1.9.7.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gliv/gliv-1.9.7.ebuild?r1=1.3&r2=1.4 Index: gliv-1.9.7.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-gfx/gliv/gliv-1.9.7.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- gliv-1.9.7.ebuild 9 Aug 2014 12:09:43 -0000 1.3 +++ gliv-1.9.7.ebuild 24 May 2015 09:46:10 -0000 1.4 @@ -1,9 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/gliv-1.9.7.ebuild,v 1.3 2014/08/09 12:09:43 ago Exp $ - -EAPI=4 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/gliv-1.9.7.ebuild,v 1.4 2015/05/24 09:46:10 pacho Exp $ +EAPI=5 inherit eutils autotools DESCRIPTION="An image viewer that uses OpenGL" @@ -15,18 +14,29 @@ KEYWORDS="~amd64 ppc ~x86" IUSE="nls" -RDEPEND=">=x11-libs/gtk+-2.6:2 +RDEPEND=" + >=x11-libs/gtk+-2.6:2 virtual/opengl - >x11-libs/gtkglext-1.0.6" + >x11-libs/gtkglext-1.0.6 +" DEPEND="${RDEPEND} virtual/pkgconfig >=sys-devel/bison-1.875 - nls? ( sys-devel/gettext )" + nls? ( sys-devel/gettext ) +" src_prepare() { - epatch "${FILESDIR}"/${P}-as-needed.patch \ - "${FILESDIR}/${P}-destdir.patch" - eautoreconf + # Fix build with gettext-0.19, bug #512624 + # using gettextize no-interactive example from dev-util/bless package + if use nls; then + cp $(type -p gettextize) "${T}"/ + sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize" || die + "${T}"/gettextize -f --no-changelog --intl > /dev/null + fi + + epatch "${FILESDIR}"/${P}-as-needed.patch \ + "${FILESDIR}/${P}-destdir.patch" + eautoreconf } src_configure() { 1.37 media-gfx/gliv/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gliv/ChangeLog?rev=1.37&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gliv/ChangeLog?rev=1.37&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/gliv/ChangeLog?r1=1.36&r2=1.37 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-gfx/gliv/ChangeLog,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- ChangeLog 9 Aug 2014 12:09:43 -0000 1.36 +++ ChangeLog 24 May 2015 09:46:10 -0000 1.37 @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/gliv -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/ChangeLog,v 1.36 2014/08/09 12:09:43 ago Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gliv/ChangeLog,v 1.37 2015/05/24 09:46:10 pacho Exp $ + + 24 May 2015; Pacho Ramos <[email protected]> gliv-1.9.7.ebuild: + Fix build with gettext-0.19, bug #512624 by zimous 09 Aug 2014; Agostino Sarubbo <[email protected]> gliv-1.9.6.ebuild, gliv-1.9.7.ebuild:
