From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: x11-libs/gtk+/files/, x11-libs/gtk+/
Date: Sun, 20 Apr 2014 18:17:36 +0000 (UTC) [thread overview]
Message-ID: <1398008910.ce681553520b9ea3372eb3d7c9aa360a2f2b8c94.eva@gentoo> (raw)
commit: ce681553520b9ea3372eb3d7c9aa360a2f2b8c94
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 20 15:38:08 2014 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 15:48:30 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ce681553
x11-libs/gtk+: QAed
* Packagekit support was dropped.
* Cosmetic changes to dependencies.
* Fix keywords.
* Sync live ebuild.
---
.../gtk+/files/gtk+-3.3.18-fallback-theme.patch | 81 ----------------------
x11-libs/gtk+/gtk+-3.12.0.ebuild | 17 +++--
x11-libs/gtk+/gtk+-9999.ebuild | 41 ++++++-----
3 files changed, 28 insertions(+), 111 deletions(-)
diff --git a/x11-libs/gtk+/files/gtk+-3.3.18-fallback-theme.patch b/x11-libs/gtk+/files/gtk+-3.3.18-fallback-theme.patch
deleted file mode 100644
index 7f5d0a1..0000000
--- a/x11-libs/gtk+/files/gtk+-3.3.18-fallback-theme.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 1a3f790830c2db70eb3369e684c3cd8ac3b8051b Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gentoo.org>
-Date: Wed, 14 Mar 2012 23:08:53 -0400
-Subject: [PATCH] settings: fall back to settings.ini gtk theme if requested
- theme fails
-
-If a gtk3 application is run in gnome2 and the settings daemon uses
-xsettings to request a gtk2 theme with no gtk3 version (which is the
-case by default), then instead of failing to load any theme, we should
-attempt to fall back to the theme specified in settings.ini files.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=654108
----
- gtk/gtksettings.c | 23 +++++++++++++++++++++++
- 1 files changed, 23 insertions(+), 0 deletions(-)
-
-diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
-index 2e17430..354ba34 100644
---- a/gtk/gtksettings.c
-+++ b/gtk/gtksettings.c
-@@ -115,6 +115,7 @@ struct _GtkSettingsPrivate
- GtkCssProvider *theme_provider;
- GtkCssProvider *key_theme_provider;
- GtkStyleProperties *style;
-+ gchar *fallback_gtk_theme_name;
- };
-
- typedef enum
-@@ -1528,6 +1529,8 @@ gtk_settings_finalize (GObject *object)
- if (priv->style)
- g_object_unref (priv->style);
-
-+ g_free (priv->fallback_gtk_theme_name);
-+
- G_OBJECT_CLASS (gtk_settings_parent_class)->finalize (object);
- }
-
-@@ -1889,6 +1892,12 @@ apply_queued_setting (GtkSettings *settings,
- if (pspec->param_id == PROP_COLOR_SCHEME)
- merge_color_scheme (settings, &tmp_value, qvalue->source);
-
-+ if (!g_strcmp0 (pspec->name, "gtk-theme-name") && qvalue->source == GTK_SETTINGS_SOURCE_DEFAULT)
-+ {
-+ g_free (priv->fallback_gtk_theme_name);
-+ priv->fallback_gtk_theme_name = g_value_dup_string (&tmp_value);
-+ }
-+
- if (priv->property_values[pspec->param_id - 1].source <= qvalue->source)
- {
- g_value_copy (&tmp_value, &priv->property_values[pspec->param_id - 1].value);
-@@ -2594,6 +2603,10 @@ _gtk_settings_reset_rc_values (GtkSettings *settings)
- }
- i++;
- }
-+
-+ g_free (priv->fallback_gtk_theme_name);
-+ priv->fallback_gtk_theme_name = NULL;
-+
- g_object_thaw_notify (G_OBJECT (settings));
- g_free (pspecs);
- }
-@@ -2881,6 +2894,16 @@ settings_update_theme (GtkSettings *settings)
-
- if (!provider)
- provider = gtk_css_provider_get_named (theme_name, NULL);
-+
-+ /* If we failed, fall back to the theme from settings.ini */
-+ if (!provider && priv->fallback_gtk_theme_name && *priv->fallback_gtk_theme_name
-+ && g_strcmp0 (theme_name, priv->fallback_gtk_theme_name))
-+ {
-+ provider = gtk_css_provider_get_named (priv->fallback_gtk_theme_name, NULL);
-+
-+ if (!provider)
-+ provider = gtk_css_provider_get_named (priv->fallback_gtk_theme_name, NULL);
-+ }
- }
-
- /* If we didn't find the named theme, fall back */
---
-1.7.8.5
-
diff --git a/x11-libs/gtk+/gtk+-3.12.0.ebuild b/x11-libs/gtk+/gtk+-3.12.0.ebuild
index d891bcc..ee97028 100644
--- a/x11-libs/gtk+/gtk+-3.12.0.ebuild
+++ b/x11-libs/gtk+/gtk+-3.12.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-3.10.8.ebuild,v 1.4 2014/04/16 07:49:22 ago Exp $
+# $Header: $
EAPI="5"
GCONF_DEBUG="no"
@@ -18,12 +18,12 @@ SLOT="3"
# * http://mail.gnome.org/archives/gtk-devel-list/2010-November/msg00099.html
# I tried this and got it all compiling, but the end result is unusable as it
# horribly mixes up the backends -- grobian
-IUSE="aqua cloudprint colord cups debug examples +introspection packagekit test vim-syntax wayland X xinerama"
+IUSE="aqua cloudprint colord cups debug examples +introspection test vim-syntax wayland X xinerama"
REQUIRED_USE="
|| ( aqua wayland X )
xinerama? ( X )"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~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"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~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)
@@ -38,10 +38,11 @@ COMMON_DEPEND="
>=x11-libs/pango-1.32.4[introspection?]
x11-misc/shared-mime-info
+ cloudprint? (
+ >=net-libs/rest-0.7
+ >=dev-libs/json-glib-1.0 )
colord? ( >=x11-misc/colord-0.1.9 )
cups? ( >=net-print/cups-1.2 )
- cloudprint? ( >=net-libs/rest-0.7
- >=dev-libs/json-glib-1.0 )
introspection? ( >=dev-libs/gobject-introspection-1.39 )
wayland? (
>=dev-libs/wayland-1.3.90
@@ -87,7 +88,6 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
!<gnome-base/gail-1000
!<x11-libs/vte-0.31.0:2.90
- packagekit? ( app-admin/packagekit-base )
X? ( !<x11-base/xorg-server-1.11.4 )
"
PDEPEND="vim-syntax? ( app-vim/gtk-syntax )"
@@ -131,11 +131,11 @@ src_configure() {
# grok so well during install (// between $EPREFIX and usr ...)
gnome2_src_configure \
$(use_enable aqua quartz-backend) \
+ $(use_enable cloudprint) \
$(use_enable colord) \
$(use_enable cups cups auto) \
$(usex debug --enable-debug=yes "") \
$(use_enable introspection) \
- $(use_enable packagekit) \
$(use_enable wayland wayland-backend) \
$(use_enable X x11-backend) \
$(use_enable X xcomposite) \
@@ -144,12 +144,11 @@ src_configure() {
$(use_enable X xkb) \
$(use_enable X xrandr) \
$(use_enable xinerama) \
- $(use_enable cloudprint) \
--disable-papi \
--enable-man \
--enable-gtk2-dependency \
--with-xml-catalog="${EPREFIX}"/etc/xml/catalog \
- --libdir="${EPREFIX}/usr/$(get_libdir)"
+ --libdir="${EPREFIX}"/usr/$(get_libdir)
}
src_test() {
diff --git a/x11-libs/gtk+/gtk+-9999.ebuild b/x11-libs/gtk+/gtk+-9999.ebuild
index f755462..9c81c07 100644
--- a/x11-libs/gtk+/gtk+-9999.ebuild
+++ b/x11-libs/gtk+/gtk+-9999.ebuild
@@ -3,8 +3,10 @@
# $Header: $
EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
-inherit eutils flag-o-matic gnome.org gnome2-utils multilib virtualx
+inherit flag-o-matic gnome2 multilib virtualx
if [[ ${PV} = 9999 ]]; then
inherit gnome2-live
fi
@@ -19,7 +21,7 @@ SLOT="3"
# * http://mail.gnome.org/archives/gtk-devel-list/2010-November/msg00099.html
# I tried this and got it all compiling, but the end result is unusable as it
# horribly mixes up the backends -- grobian
-IUSE="aqua colord cups debug examples +introspection packagekit test vim-syntax wayland X xinerama"
+IUSE="aqua cloudprint colord cups debug examples +introspection test vim-syntax wayland X xinerama"
REQUIRED_USE="
|| ( aqua wayland X )
xinerama? ( X )"
@@ -28,7 +30,7 @@ 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 ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~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
@@ -36,7 +38,7 @@ fi
# Use gtk+:2 for gtk-update-icon-cache
COMMON_DEPEND="
>=dev-libs/atk-2.7.5[introspection?]
- >=dev-libs/glib-2.37.5:2
+ >=dev-libs/glib-2.39.5:2
media-libs/fontconfig
>=x11-libs/cairo-1.12[aqua?,glib,svg,X?]
>=x11-libs/gdk-pixbuf-2.27.1:2[introspection?,X?]
@@ -44,11 +46,14 @@ COMMON_DEPEND="
>=x11-libs/pango-1.32.4[introspection?]
x11-misc/shared-mime-info
+ cloudprint? (
+ >=net-libs/rest-0.7
+ >=dev-libs/json-glib-1.0 )
colord? ( >=x11-misc/colord-0.1.9 )
cups? ( >=net-print/cups-1.2 )
- introspection? ( >=dev-libs/gobject-introspection-1.32 )
+ introspection? ( >=dev-libs/gobject-introspection-1.39 )
wayland? (
- >=dev-libs/wayland-1.2
+ >=dev-libs/wayland-1.3.90
media-libs/mesa[wayland]
>=x11-libs/libxkbcommon-0.2
)
@@ -71,7 +76,7 @@ DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.1.2
dev-libs/libxslt
dev-util/gdbus-codegen
- >=dev-util/gtk-doc-am-1.11
+ >=dev-util/gtk-doc-am-1.20
virtual/pkgconfig
X? (
x11-proto/xextproto
@@ -87,7 +92,7 @@ DEPEND="${COMMON_DEPEND}
if [[ ${PV} = 9999 ]]; then
DEPEND="${DEPEND}
- doc? ( >=dev-util/gtk-doc-1.11 )"
+ doc? ( >=dev-util/gtk-doc-1.20 )"
fi
# gtk+-3.2.2 breaks Alt key handling in <=x11-libs/vte-0.30.1:2.90
@@ -97,7 +102,6 @@ fi
RDEPEND="${COMMON_DEPEND}
!<gnome-base/gail-1000
!<x11-libs/vte-0.31.0:2.90
- packagekit? ( app-admin/packagekit-base )
X? ( !<x11-base/xorg-server-1.11.4 )
"
PDEPEND="vim-syntax? ( app-vim/gtk-syntax )"
@@ -112,8 +116,6 @@ strip_builddir() {
}
src_prepare() {
- gnome2_environment_reset
-
# -O3 and company cause random crashes in applications. Bug #133469
replace-flags -O3 -O2
strip-flags
@@ -145,13 +147,13 @@ src_configure() {
# Passing --disable-debug is not recommended for production use
# need libdir here to avoid a double slash in a path that libtool doesn't
# grok so well during install (// between $EPREFIX and usr ...)
- econf \
+ gnome2_src_configure \
$(use_enable aqua quartz-backend) \
+ $(use_enable cloudprint) \
$(use_enable colord) \
$(use_enable cups cups auto) \
$(usex debug --enable-debug=yes "") \
$(use_enable introspection) \
- $(use_enable packagekit) \
$(use_enable wayland wayland-backend) \
$(use_enable X x11-backend) \
$(use_enable X xcomposite) \
@@ -160,12 +162,11 @@ src_configure() {
$(use_enable X xkb) \
$(use_enable X xrandr) \
$(use_enable xinerama) \
- --disable-gtk-doc \
--disable-papi \
--enable-man \
--enable-gtk2-dependency \
--with-xml-catalog="${EPREFIX}"/etc/xml/catalog \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
${myconf}
}
@@ -188,15 +189,13 @@ src_test() {
}
src_install() {
- emake DESTDIR="${D}" install
+ gnome2_src_install
insinto /etc/gtk-3.0
doins "${FILESDIR}"/settings.ini
dodoc AUTHORS ChangeLog* HACKING NEWS* README*
- prune_libtool_files --modules
-
# add -framework Carbon to the .pc files
if use aqua ; then
for i in gtk+-3.0.pc gtk+-quartz-3.0.pc gtk+-unix-print-3.0.pc; do
@@ -207,7 +206,7 @@ src_install() {
}
pkg_preinst() {
- gnome2_schemas_savelist
+ gnome2_pkg_preinst
# Make sure loaders.cache belongs to gdk-pixbuf alone
local cache="usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache"
@@ -220,7 +219,7 @@ pkg_preinst() {
}
pkg_postinst() {
- gnome2_schemas_update
+ gnome2_pkg_postinst
gnome2_query_immodules_gtk3
if ! has_version "app-text/evince"; then
@@ -231,7 +230,7 @@ pkg_postinst() {
}
pkg_postrm() {
- gnome2_schemas_update
+ gnome2_pkg_postrm
if [[ -z ${REPLACED_BY_VERSIONS} ]]; then
rm -f "${EROOT}"usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache
next reply other threads:[~2014-04-20 18:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-20 18:17 Gilles Dartiguelongue [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-01-18 21:07 [gentoo-commits] proj/gnome:master commit in: x11-libs/gtk+/files/, x11-libs/gtk+/ Mart Raudsepp
2014-11-30 15:52 Remi Cardona
2012-08-10 5:31 Priit Laes
2012-08-05 13:34 Priit Laes
2012-03-15 15:55 Alexandre Restovtsev
2012-02-26 21:19 Alexandre Restovtsev
2011-10-17 19:10 Alexandre Restovtsev
2011-03-29 8:35 Nirbheek Chauhan
2011-03-09 11:34 Nirbheek Chauhan
2011-02-25 9:39 Priit Laes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1398008910.ce681553520b9ea3372eb3d7c9aa360a2f2b8c94.eva@gentoo \
--to=eva@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox