From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S5Jzj-0008PF-7F for garchives@archives.gentoo.org; Wed, 07 Mar 2012 16:45:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C43EE07B3; Wed, 7 Mar 2012 16:45:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3CCE2E07B3 for ; Wed, 7 Mar 2012 16:45:34 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 463D11B4022 for ; Wed, 7 Mar 2012 16:45:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id F4010E5428 for ; Wed, 7 Mar 2012 16:45:31 +0000 (UTC) From: "Alexandre Restovtsev" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Restovtsev" Message-ID: <1331105164.e30f77c5a546119d616f01a0b367dadabc2e3131.tetromino@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: x11-libs/gtk+/ X-VCS-Repository: proj/gnome X-VCS-Files: x11-libs/gtk+/gtk+-3.3.16.ebuild X-VCS-Directories: x11-libs/gtk+/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Restovtsev X-VCS-Revision: e30f77c5a546119d616f01a0b367dadabc2e3131 X-VCS-Branch: master Date: Wed, 7 Mar 2012 16:45:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1551be37-cd0f-43b0-ad95-1a71b0ef25b7 X-Archives-Hash: 766c8c6a6e263cd0a6a0a7685f95be57 commit: e30f77c5a546119d616f01a0b367dadabc2e3131 Author: Alexandre Rostovtsev gentoo org> AuthorDate: Wed Mar 7 07:26:04 2012 +0000 Commit: Alexandre Restovtsev gmail com> CommitDate: Wed Mar 7 07:26:04 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3De30f77c5 x11-libs/gtk+: temporarily restore 3.3.16 gtk+-3.3.18 has highly annoying scrolling bugs, e.g. see https://bugzilla.gnome.org/show_bug.cgi?id=3D671523 --- x11-libs/gtk+/gtk+-3.3.16.ebuild | 206 ++++++++++++++++++++++++++++++++= ++++++ 1 files changed, 206 insertions(+), 0 deletions(-) diff --git a/x11-libs/gtk+/gtk+-3.3.16.ebuild b/x11-libs/gtk+/gtk+-3.3.16= .ebuild new file mode 100644 index 0000000..3409613 --- /dev/null +++ b/x11-libs/gtk+/gtk+-3.3.16.ebuild @@ -0,0 +1,206 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-3.2.2-r2.ebuild,v = 1.1 2011/12/15 23:46:04 tetromino Exp $ + +EAPI=3D"4" + +inherit eutils flag-o-matic gnome.org gnome2-utils libtool virtualx +if [[ ${PV} =3D 9999 ]]; then + inherit gnome2-live +fi + +DESCRIPTION=3D"Gimp ToolKit +" +HOMEPAGE=3D"http://www.gtk.org/" + +LICENSE=3D"LGPL-2" +SLOT=3D"3" +# NOTE: This gtk+ has multi-gdk-backend support, see: +# * http://blogs.gnome.org/kris/2010/12/29/gdk-3-0-on-mac-os-x/ +# * http://mail.gnome.org/archives/gtk-devel-list/2010-November/msg0009= 9.html +# I tried this and got it all compiling, but the end result is unusable = as it +# horribly mixes up the backends -- grobian +IUSE=3D"aqua colord cups debug doc examples +introspection packagekit te= st vim-syntax xinerama" +if [[ ${PV} =3D 9999 ]]; then + KEYWORDS=3D"" +else + KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc= ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-ma= cos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +# FIXME: introspection data is built against system installation of gtk+= :3 +# NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautor= econf) +# Use gtk+:2 for gtk-update-icon-cache and gtk-builder-convert +# >=3Dx11-libs/gtk+-2.24:2 is needed for bug 359555 +COMMON_DEPEND=3D"!aqua? ( + x11-libs/libXrender + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXt + x11-libs/libXext + >=3Dx11-libs/libXrandr-1.3 + x11-libs/libXcursor + x11-libs/libXfixes + x11-libs/libXcomposite + x11-libs/libXdamage + >=3Dx11-libs/cairo-1.10.0[X,glib,svg] + >=3Dx11-libs/gdk-pixbuf-2.25.2:2[X,introspection?] + ) + aqua? ( + >=3Dx11-libs/cairo-1.10.0[aqua,glib,svg] + >=3Dx11-libs/gdk-pixbuf-2.25.2:2[introspection?] + ) + xinerama? ( x11-libs/libXinerama ) + >=3Ddev-libs/glib-2.31.18 + >=3Dx11-libs/pango-1.29.0[introspection?] + >=3Ddev-libs/atk-2.1.5[introspection?] + >=3Dx11-libs/gtk+-2.24:2 + media-libs/fontconfig + x11-misc/shared-mime-info + colord? ( >=3Dx11-misc/colord-0.1.9 ) + cups? ( net-print/cups ) + introspection? ( >=3Ddev-libs/gobject-introspection-0.10.1 )" +DEPEND=3D"${COMMON_DEPEND} + >=3Ddev-util/pkgconfig-0.9 + !aqua? ( + x11-proto/xextproto + x11-proto/xproto + x11-proto/inputproto + x11-proto/damageproto + ) + xinerama? ( x11-proto/xineramaproto ) + >=3Ddev-util/gtk-doc-am-1.11 + doc? ( + >=3Ddev-util/gtk-doc-1.11 + ~app-text/docbook-xml-dtd-4.1.2 ) + test? ( + media-fonts/font-misc-misc + media-fonts/font-cursor-misc )" +# gtk+-3.2.2 breaks Alt key handling in <=3Dx11-libs/vte-0.30.1:2.90 +RDEPEND=3D"${COMMON_DEPEND} + !=3Dx11-themes/gnome-themes-standard-3.3.91'; then + ewarn "Tests will be skipped beecause >=3Dgnome-themes-standard-3.3.90= " + ewarn "is not installed. Please re-run tests after installing the" + ewarn "required version of gnome-themes-standard." + return 0 + fi + unset DBUS_SESSION_BUS_ADDRESS + # Exporting HOME fixes tests using XDG directories spec since all defau= lts + # are based on $HOME. It is also backward compatible with functions not + # yet ported to this spec. + XDG_DATA_HOME=3D"${T}" HOME=3D"${T}" Xemake check || die "tests failed" +} + +src_install() { + emake DESTDIR=3D"${D}" install + + insinto /etc/gtk-3.0 + doins "${FILESDIR}"/settings.ini + + dodoc AUTHORS ChangeLog* HACKING NEWS* README* + + # Remove unneeded *.la files + find "${D}" -name '*.la' -exec rm -f {} + + + # add -framework Carbon to the .pc files + use aqua && for i in gtk+-3.0.pc gtk+-quartz-3.0.pc gtk+-unix-print-3.0= .pc; do + sed -i -e "s:Libs\: :Libs\: -framework Carbon :" "${ED}"usr/$(get_libd= ir)/pkgconfig/$i || die "sed failed" + done +} + +pkg_preinst() { + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_schemas_update + + local GTK3_MODDIR=3D"${EROOT}usr/$(get_libdir)/gtk-3.0/3.0.0" + gtk-query-immodules-3.0 > "${GTK3_MODDIR}/immodules.cache" \ + || ewarn "Failed to run gtk-query-immodules-3.0" + + if ! has_version "app-text/evince"; then + elog "Please install app-text/evince for print preview functionality." + elog "Alternatively, check \"gtk-print-preview-command\" documentation= and" + elog "add it to your settings.ini file." + fi +} + +pkg_postrm() { + gnome2_schemas_update +}