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 8BB511387B1 for ; Sun, 1 Dec 2013 14:28:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D8FCE086B; Sun, 1 Dec 2013 14:28:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E8D0E086B for ; Sun, 1 Dec 2013 14:28:14 +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 1DF3033F2CB for ; Sun, 1 Dec 2013 14:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 20A5AE54AB for ; Sun, 1 Dec 2013 14:28:10 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1385907709.217feb95f8e3cfae4ff1677f5239b2ed6926492b.eva@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.10.5.ebuild x11-libs/gtk+/gtk+-3.7.14.ebuild x11-libs/gtk+/gtk+-9999.ebuild x11-libs/gtk+/metadata.xml X-VCS-Directories: x11-libs/gtk+/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 217feb95f8e3cfae4ff1677f5239b2ed6926492b X-VCS-Branch: master Date: Sun, 1 Dec 2013 14:28:10 +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: 5d5f961d-d14e-46b3-bf23-2b995e9391b0 X-Archives-Hash: 02e0af720e406aa95812b03c82e21612 commit: 217feb95f8e3cfae4ff1677f5239b2ed6926492b Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sun Dec 1 14:07:27 2013 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sun Dec 1 14:21:49 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=217feb95 x11-libs/gtk+: 3.8.7 → 3.10.5 * Clean up unittests modifications, everything appears to run fine now. * Use local gsettings files, otherwise gtkfilechooser tests fails. * Sort dependency like in other ebuilds. * Make sure immodules cache is owned by ebuild and use eclass function to update it. --- .../{gtk+-3.7.14.ebuild => gtk+-3.10.5.ebuild} | 170 ++++++++++----------- x11-libs/gtk+/gtk+-9999.ebuild | 161 ++++++++++--------- x11-libs/gtk+/metadata.xml | 20 +++ 3 files changed, 186 insertions(+), 165 deletions(-) diff --git a/x11-libs/gtk+/gtk+-3.7.14.ebuild b/x11-libs/gtk+/gtk+-3.10.5.ebuild similarity index 57% rename from x11-libs/gtk+/gtk+-3.7.14.ebuild rename to x11-libs/gtk+/gtk+-3.10.5.ebuild index 0ca6cb2..03a21ed 100644 --- a/x11-libs/gtk+/gtk+-3.7.14.ebuild +++ b/x11-libs/gtk+/gtk+-3.10.5.ebuild @@ -1,13 +1,10 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" inherit eutils flag-o-matic gnome.org gnome2-utils multilib virtualx -if [[ ${PV} = 9999 ]]; then - inherit gnome2-live -fi DESCRIPTION="Gimp ToolKit +" HOMEPAGE="http://www.gtk.org/" @@ -24,22 +21,34 @@ REQUIRED_USE=" || ( aqua wayland X ) xinerama? ( X )" -if [[ ${PV} = 9999 ]]; then - IUSE="${IUSE} doc" - KEYWORDS="" -else - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # FIXME: introspection data is built against system installation of gtk+:3 # NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautoreconf) # Use gtk+:2 for gtk-update-icon-cache -COMMON_DEPEND="X? ( +COMMON_DEPEND=" + >=dev-libs/atk-2.7.5[introspection?] + >=dev-libs/glib-2.37.5:2 + media-libs/fontconfig + >=x11-libs/cairo-1.12[aqua?,glib,svg,X?] + >=x11-libs/gdk-pixbuf-2.27.1:2[introspection?,X?] + >=x11-libs/gtk+-2.24:2 + >=x11-libs/pango-1.32.4[introspection?] + x11-misc/shared-mime-info + + colord? ( >=x11-misc/colord-0.1.9 ) + cups? ( >=net-print/cups-1.2 ) + introspection? ( >=dev-libs/gobject-introspection-1.32 ) + wayland? ( + >=dev-libs/wayland-1.2 + media-libs/mesa[wayland] + >=x11-libs/libxkbcommon-0.2 + ) + X? ( >=app-accessibility/at-spi2-atk-2.5.3 x11-libs/libXrender x11-libs/libX11 >=x11-libs/libXi-1.3 - x11-libs/libXt x11-libs/libXext >=x11-libs/libXrandr-1.3 x11-libs/libXcursor @@ -48,26 +57,13 @@ COMMON_DEPEND="X? ( x11-libs/libXdamage xinerama? ( x11-libs/libXinerama ) ) - wayland? ( - >=dev-libs/wayland-1.0.0 - media-libs/mesa[wayland] - >=x11-libs/libxkbcommon-0.2.0 - ) - >=dev-libs/glib-2.35.3 - >=x11-libs/pango-1.32.4[introspection?] - >=dev-libs/atk-2.7.5[introspection?] - >=x11-libs/cairo-1.10.0[aqua?,glib,svg,X?] - >=x11-libs/gdk-pixbuf-2.27.1:2[introspection?,X?] - >=x11-libs/gtk+-2.24:2 - media-libs/fontconfig - x11-misc/shared-mime-info - colord? ( >=x11-misc/colord-0.1.9 ) - cups? ( >=net-print/cups-1.2 ) - introspection? ( >=dev-libs/gobject-introspection-1.32 )" +" DEPEND="${COMMON_DEPEND} app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.1.2 dev-libs/libxslt + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.11 virtual/pkgconfig X? ( x11-proto/xextproto @@ -76,12 +72,10 @@ DEPEND="${COMMON_DEPEND} x11-proto/damageproto xinerama? ( x11-proto/xineramaproto ) ) - >=dev-util/gtk-doc-am-1.11 test? ( media-fonts/font-misc-misc - media-fonts/font-cursor-misc )" -[[ ${PV} = 9999 ]] && DEPEND="${DEPEND} - doc? ( >=dev-util/gtk-doc-1.11 )" + media-fonts/font-cursor-misc ) +" # gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90 # gtk+-3.3.18 breaks scrolling in <=x11-libs/vte-0.31.0:2.90 # >=xorg-server-1.11.4 needed for @@ -90,7 +84,8 @@ RDEPEND="${COMMON_DEPEND} ! "${GTK3_MODDIR}/immodules.cache" \ - || ewarn "Failed to run gtk-query-immodules-3.0" + gnome2_query_immodules_gtk3 if ! has_version "app-text/evince"; then elog "Please install app-text/evince for print preview functionality." @@ -221,4 +207,8 @@ pkg_postinst() { pkg_postrm() { gnome2_schemas_update + + if [[ -z ${REPLACED_BY_VERSIONS} ]]; then + rm -f "${EROOT}"usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache + fi } diff --git a/x11-libs/gtk+/gtk+-9999.ebuild b/x11-libs/gtk+/gtk+-9999.ebuild index 0ca6cb2..3797f40 100644 --- a/x11-libs/gtk+/gtk+-9999.ebuild +++ b/x11-libs/gtk+/gtk+-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -28,18 +28,35 @@ if [[ ${PV} = 9999 ]]; then IUSE="${IUSE} doc" KEYWORDS="" else - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~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 eautoreconf) # Use gtk+:2 for gtk-update-icon-cache -COMMON_DEPEND="X? ( +COMMON_DEPEND=" + >=dev-libs/atk-2.7.5[introspection?] + >=dev-libs/glib-2.37.5:2 + media-libs/fontconfig + >=x11-libs/cairo-1.12[aqua?,glib,svg,X?] + >=x11-libs/gdk-pixbuf-2.27.1:2[introspection?,X?] + >=x11-libs/gtk+-2.24:2 + >=x11-libs/pango-1.32.4[introspection?] + x11-misc/shared-mime-info + + colord? ( >=x11-misc/colord-0.1.9 ) + cups? ( >=net-print/cups-1.2 ) + introspection? ( >=dev-libs/gobject-introspection-1.32 ) + wayland? ( + >=dev-libs/wayland-1.2 + media-libs/mesa[wayland] + >=x11-libs/libxkbcommon-0.2 + ) + X? ( >=app-accessibility/at-spi2-atk-2.5.3 x11-libs/libXrender x11-libs/libX11 >=x11-libs/libXi-1.3 - x11-libs/libXt x11-libs/libXext >=x11-libs/libXrandr-1.3 x11-libs/libXcursor @@ -48,26 +65,13 @@ COMMON_DEPEND="X? ( x11-libs/libXdamage xinerama? ( x11-libs/libXinerama ) ) - wayland? ( - >=dev-libs/wayland-1.0.0 - media-libs/mesa[wayland] - >=x11-libs/libxkbcommon-0.2.0 - ) - >=dev-libs/glib-2.35.3 - >=x11-libs/pango-1.32.4[introspection?] - >=dev-libs/atk-2.7.5[introspection?] - >=x11-libs/cairo-1.10.0[aqua?,glib,svg,X?] - >=x11-libs/gdk-pixbuf-2.27.1:2[introspection?,X?] - >=x11-libs/gtk+-2.24:2 - media-libs/fontconfig - x11-misc/shared-mime-info - colord? ( >=x11-misc/colord-0.1.9 ) - cups? ( >=net-print/cups-1.2 ) - introspection? ( >=dev-libs/gobject-introspection-1.32 )" +" DEPEND="${COMMON_DEPEND} app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd:4.1.2 dev-libs/libxslt + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.11 virtual/pkgconfig X? ( x11-proto/xextproto @@ -76,12 +80,16 @@ DEPEND="${COMMON_DEPEND} x11-proto/damageproto xinerama? ( x11-proto/xineramaproto ) ) - >=dev-util/gtk-doc-am-1.11 test? ( media-fonts/font-misc-misc - media-fonts/font-cursor-misc )" -[[ ${PV} = 9999 ]] && DEPEND="${DEPEND} - doc? ( >=dev-util/gtk-doc-1.11 )" + media-fonts/font-cursor-misc ) +" + +if [[ ${PV} = 9999 ]]; then + DEPEND="${DEPEND} + doc? ( >=dev-util/gtk-doc-1.11 )" +fi + # gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90 # gtk+-3.3.18 breaks scrolling in <=x11-libs/vte-0.31.0:2.90 # >=xorg-server-1.11.4 needed for @@ -90,7 +98,8 @@ RDEPEND="${COMMON_DEPEND} ! "${GTK3_MODDIR}/immodules.cache" \ - || ewarn "Failed to run gtk-query-immodules-3.0" + gnome2_query_immodules_gtk3 if ! has_version "app-text/evince"; then elog "Please install app-text/evince for print preview functionality." @@ -221,4 +228,8 @@ pkg_postinst() { pkg_postrm() { gnome2_schemas_update + + if [[ -z ${REPLACED_BY_VERSIONS} ]]; then + rm -f "${EROOT}"usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache + fi } diff --git a/x11-libs/gtk+/metadata.xml b/x11-libs/gtk+/metadata.xml new file mode 100644 index 0000000..dde3aef --- /dev/null +++ b/x11-libs/gtk+/metadata.xml @@ -0,0 +1,20 @@ + + + + gnome + + GTK+ is a multi-platform toolkit for creating graphical user + interfaces. Offering a complete set of widgets, GTK+ is suitable + for projects ranging from small one-off projects to complete + application suites. + + + Use x11-misc/colord for color management + in printing + Enable support for the distro-neutral package + manager GUI app-admin/packagekit in application chooser + + + cpe:/a:gtk:gtk%2B + +