* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdazzle/files/, dev-libs/libdazzle/
@ 2018-12-17 12:56 Mart Raudsepp
0 siblings, 0 replies; only message in thread
From: Mart Raudsepp @ 2018-12-17 12:56 UTC (permalink / raw
To: gentoo-commits
commit: 77a3634f09f9eeb92f7adb9bd7ccfcf28e34371d
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 17 12:53:44 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Dec 17 12:55:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a3634f
dev-libs/libdazzle: bump to 3.30.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
dev-libs/libdazzle/Manifest | 1 +
dev-libs/libdazzle/files/3.30.2-leak-fix.patch | 27 ++++++++++++
dev-libs/libdazzle/libdazzle-3.30.2.ebuild | 58 ++++++++++++++++++++++++++
3 files changed, 86 insertions(+)
diff --git a/dev-libs/libdazzle/Manifest b/dev-libs/libdazzle/Manifest
index 4509c1882a3..9f492bb20b3 100644
--- a/dev-libs/libdazzle/Manifest
+++ b/dev-libs/libdazzle/Manifest
@@ -1 +1,2 @@
DIST libdazzle-3.28.5.tar.xz 422792 BLAKE2B 65b994798c2f9c7ec0d5ec5b3506896ba3fe09e8e563f1c03246684837a876d0918763f8589deccfc1477071434acda56973097904c3ad5469aa4374a56d1914 SHA512 e4616994226a7e755913343487a2850030dc13816c94dd0de166bb617a001097f6b849fa45ee546e75a15ad3357bd5a61a0caf436c4e3656eaa3480ed4b7f903
+DIST libdazzle-3.30.2.tar.xz 432192 BLAKE2B 4c31b74b0a5c972b5c86bbacf50862a0c2db5c9ed1e67124671e2ece75d72de4c3605c6ecc81bde10cf2566ae06cbd7f14fccaff5d154c1bd9e53a9f8b2dc2eb SHA512 591c3bb9dd65ae02e6234a1599497dce78d843ee6ca47e8d50656b9f98bab91c7b89424c23eb387184bdb28132e1fbe11ee7c01d4a7f0598bcef92739aa8bff6
diff --git a/dev-libs/libdazzle/files/3.30.2-leak-fix.patch b/dev-libs/libdazzle/files/3.30.2-leak-fix.patch
new file mode 100644
index 00000000000..b3a1debf605
--- /dev/null
+++ b/dev-libs/libdazzle/files/3.30.2-leak-fix.patch
@@ -0,0 +1,27 @@
+From 6f8436709430fd5ebaebd90dd55885636030940d Mon Sep 17 00:00:00 2001
+From: Christian Hergert <chergert@redhat.com>
+Date: Mon, 19 Nov 2018 17:43:24 -0800
+Subject: [PATCH] three-grid: don't leak values from hashtable
+
+We are responsible for freeing the GList chain, so ensure we do that at
+the end of size-allocate.
+---
+ src/widgets/dzl-three-grid.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/widgets/dzl-three-grid.c b/src/widgets/dzl-three-grid.c
+index 0de5484..d00d0b1 100644
+--- a/src/widgets/dzl-three-grid.c
++++ b/src/widgets/dzl-three-grid.c
+@@ -569,6 +569,8 @@ dzl_three_grid_size_allocate (GtkWidget *widget,
+ area.y += child_alloc.height + priv->row_spacing;
+ area.height -= child_alloc.height + priv->row_spacing;
+ }
++
++ g_list_free (values);
+ }
+
+ static void
+--
+2.17.0
+
diff --git a/dev-libs/libdazzle/libdazzle-3.30.2.ebuild b/dev-libs/libdazzle/libdazzle-3.30.2.ebuild
new file mode 100644
index 00000000000..538e79b9371
--- /dev/null
+++ b/dev-libs/libdazzle/libdazzle-3.30.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome.org meson xdg vala virtualx
+
+DESCRIPTION="Experimental new features for GTK+ and GLib"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libdazzle"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~sparc ~x86"
+
+IUSE="gtk-doc +introspection test vala"
+REQUIRED_USE="vala? ( introspection )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/glib-2.56.0:2
+ >=x11-libs/gtk+-3.24.0:3[introspection?]
+ introspection? ( dev-libs/gobject-introspection:= )
+"
+# libxml2 required for glib-compile-resources; glib-utils for glib-mkenums
+DEPEND="${RDEPEND}
+ vala? ( $(vala_depend) )
+ dev-libs/libxml2:2
+ dev-util/glib-utils
+ virtual/pkgconfig
+ gtk-doc? ( dev-util/gtk-doc )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-leak-fix.patch # from libdazzle-3-30 branch
+)
+
+src_prepare() {
+ use vala && vala_src_prepare
+ xdg_src_prepare
+}
+
+src_configure() {
+ local emesonargs=(
+ -Denable_tracing=false # extra trace debugging that would make things slower
+ -Denable_profiling=false # -pg passing
+ # -Denable_rdtscp=false # TODO: CPU_FLAGS_X86 for it?
+ -Denable_tools=true # /usr/bin/dazzle-list-counters
+ $(meson_use introspection with_introspection)
+ $(meson_use vala with_vapi)
+ $(meson_use gtk-doc enable_gtk_doc)
+ $(meson_use test enable_tests)
+ )
+ meson_src_configure
+}
+
+src_test() {
+ virtx meson_src_test
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-17 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-17 12:56 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdazzle/files/, dev-libs/libdazzle/ Mart Raudsepp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox