* [gentoo-commits] gentoo-x86 commit in app-emulation/emul-linux-x86-gtklibs: emul-linux-x86-gtklibs-20130224.ebuild ChangeLog emul-linux-x86-gtklibs-20121028.ebuild
@ 2013-02-25 18:42 Pacho Ramos (pacho)
0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2013-02-25 18:42 UTC (permalink / raw
To: gentoo-commits
pacho 13/02/25 18:42:21
Modified: ChangeLog
Added: emul-linux-x86-gtklibs-20130224.ebuild
Removed: emul-linux-x86-gtklibs-20121028.ebuild
Log:
Version bump, drop old
(Portage version: 2.1.11.52/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key A188FBD4)
Revision Changes Path
1.109 app-emulation/emul-linux-x86-gtklibs/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog?rev=1.109&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog?rev=1.109&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog?r1=1.108&r2=1.109
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- ChangeLog 25 Dec 2012 19:03:45 -0000 1.108
+++ ChangeLog 25 Feb 2013 18:42:21 -0000 1.109
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/emul-linux-x86-gtklibs
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.108 2012/12/25 19:03:45 pacho Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/ChangeLog,v 1.109 2013/02/25 18:42:21 pacho Exp $
+
+*emul-linux-x86-gtklibs-20130224 (25 Feb 2013)
+
+ 25 Feb 2013; Pacho Ramos <pacho@gentoo.org>
+ +emul-linux-x86-gtklibs-20130224.ebuild,
+ -emul-linux-x86-gtklibs-20121028.ebuild:
+ Version bump, drop old
25 Dec 2012; Pacho Ramos <pacho@gentoo.org>
emul-linux-x86-gtklibs-20121202.ebuild:
1.1 app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20130224.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20130224.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20130224.ebuild?rev=1.1&content-type=text/plain
Index: emul-linux-x86-gtklibs-20130224.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20130224.ebuild,v 1.1 2013/02/25 18:42:21 pacho Exp $
EAPI=5
inherit emul-linux-x86
LICENSE="GPL-2 LGPL-2 FTL LGPL-2.1 LGPL-3 MPL-1.1 MIT"
KEYWORDS="-* ~amd64"
DEPEND=""
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
~app-emulation/emul-linux-x86-xlibs-${PV}
~app-emulation/emul-linux-x86-opengl-${PV}"
# RDEPEND on opengl stuff needed due cairo, bug #410213
my_gdk_pixbuf_query_loaders() {
# causes segfault if set
unset __GL_NO_DSO_FINALIZER
local tmp_file=$(mktemp --suffix=tmp.XXXXXXXXXXgdk_pixbuf_queryloaders)
if [ -z "${tmp_file}" ]; then
ewarn "Cannot create temporary file"
return 1
fi
if gdk-pixbuf-query-loaders32 > "${tmp_file}"; then
cat "${tmp_file}" > "${ROOT}usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache"
else
ewarn "Warning, gdk-pixbuf-query-loaders32 failed."
fi
rm "${tmp_file}"
}
my_pango_querymodules() {
PANGO_CONFDIR="/etc/pango/i686-pc-linux-gnu"
einfo "Generating pango modules listing..."
mkdir -p "${PANGO_CONFDIR}"
local pango_conf="${PANGO_CONFDIR}/pango.modules"
local tmp_file=$(mktemp -t tmp.XXXXXXXXXXpango_querymodules)
if [ -z "${tmp_file}" ]; then
ewarn "Cannot create temporary file"
return 1
fi
if pango-querymodules32 > "${tmp_file}"; then
cat "${tmp_file}" > "${pango_conf}"
else
ewarn "Cannot update pango.modules, file generation failed"
fi
rm "${tmp_file}"
}
my_gtk_query_immodules() {
GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."
mkdir -p "${GTK2_CONFDIR}"
local gtk_conf="${ROOT}${GTK2_CONFDIR}/gtk.immodules"
local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgtk_query_immodules)
if [ -z "${tmp_file}" ]; then
ewarn "Cannot create temporary file"
return 1
fi
if gtk-query-immodules-2.0-32 > "${tmp_file}"; then
cat "${tmp_file}" > "${gtk_conf}"
else
ewarn "Cannot update gtk.immodules, file generation failed"
fi
rm "${tmp_file}"
}
src_prepare() {
query_tools="${S}/usr/bin/gtk-query-immodules-2.0|${S}/usr/bin/gdk-pixbuf-query-loaders|${S}/usr/bin/pango-querymodules"
ALLOWED="(${S}/etc/env.d|${S}/etc/gtk-2.0|${S}/etc/pango/i686-pc-linux-gnu|${query_tools})"
emul-linux-x86_src_prepare
# these tools generate an index in /etc/{pango,gtk-2.0}/${CHOST}
mv -f "${S}/usr/bin/pango-querymodules"{,32} || die
mv -f "${S}/usr/bin/gtk-query-immodules-2.0"{,-32} || die
mv -f "${S}/usr/bin/gdk-pixbuf-query-loaders"{,32} || die
}
pkg_preinst() {
#bug 169058
for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
[[ -L ${l} ]] && rm -f ${l}
done
}
pkg_postinst() {
my_pango_querymodules
my_gtk_query_immodules
my_gdk_pixbuf_query_loaders
# gdk-pixbuf.loaders should be in their CHOST directories respectively.
if [[ -e "${ROOT}/etc/gtk-2.0/gdk-pixbuf.loaders" ]] ; then
ewarn
ewarn "File /etc/gtk-2.0/gdk-pixbuf.loaders shouldn't be present on"
ewarn "multilib systems, please remove it by hand."
ewarn
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-25 18:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25 18:42 [gentoo-commits] gentoo-x86 commit in app-emulation/emul-linux-x86-gtklibs: emul-linux-x86-gtklibs-20130224.ebuild ChangeLog emul-linux-x86-gtklibs-20121028.ebuild Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox