From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 30AA3138350 for ; Sat, 29 Feb 2020 21:23:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5091E09DE; Sat, 29 Feb 2020 21:22:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF47DE09DE for ; Sat, 29 Feb 2020 21:22:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1499E34F07D for ; Sat, 29 Feb 2020 21:22:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B7B71151 for ; Sat, 29 Feb 2020 21:22:54 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1583011306.a51bf967fdf71b30a8ee3a938ad0bcaec419eeac.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysprof-capture/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/sysprof-capture/Manifest dev-util/sysprof-capture/metadata.xml dev-util/sysprof-capture/sysprof-capture-3.34.1.ebuild X-VCS-Directories: dev-util/sysprof-capture/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: a51bf967fdf71b30a8ee3a938ad0bcaec419eeac X-VCS-Branch: master Date: Sat, 29 Feb 2020 21:22:54 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af5da4f3-df04-4f38-a43a-ff054671ef5d X-Archives-Hash: f9f34b8ece99c42d09810646a616d480 commit: a51bf967fdf71b30a8ee3a938ad0bcaec419eeac Author: Mart Raudsepp gentoo org> AuthorDate: Sat Feb 29 19:21:34 2020 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Sat Feb 29 21:21:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51bf967 dev-util/sysprof-capture: initial split from dev-util/sysprof Now with sysprof-capture-3.pc API, other GNOME components start to more widely make use of providing their own capture data, for which they use this sysprof-capture static library helper. This includes x11-libs/gtk+, which would be an out of the box circular dependency if sysprof-capture is kept as part of full dev-util/sysprof package. Add a split package as really intended, which gtk+, mutter and others can DEPEND on (but don't need to RDEPEND), probably even by default. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> dev-util/sysprof-capture/Manifest | 1 + dev-util/sysprof-capture/metadata.xml | 8 ++++ .../sysprof-capture/sysprof-capture-3.34.1.ebuild | 50 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-util/sysprof-capture/Manifest b/dev-util/sysprof-capture/Manifest new file mode 100644 index 00000000000..c718e91a09e --- /dev/null +++ b/dev-util/sysprof-capture/Manifest @@ -0,0 +1 @@ +DIST sysprof-3.34.1.tar.xz 372612 BLAKE2B 3a50a00f29866ae8bf03cc7a57b598e40a6a37ad88ac2159087e4f2a8a6a5cef09b345dc5332fb1df9036c4e159e98f19adda45588150b059af313878b9b554c SHA512 5f2d820935291a3b578222d5daa87b0a2f74cd16d14daca19065495be61cf7359f00f12f452a5c0b4e05dfeb94e2376017c2288cad92dc0c4bb9bca51b903d19 diff --git a/dev-util/sysprof-capture/metadata.xml b/dev-util/sysprof-capture/metadata.xml new file mode 100644 index 00000000000..39980802b1d --- /dev/null +++ b/dev-util/sysprof-capture/metadata.xml @@ -0,0 +1,8 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + diff --git a/dev-util/sysprof-capture/sysprof-capture-3.34.1.ebuild b/dev-util/sysprof-capture/sysprof-capture-3.34.1.ebuild new file mode 100644 index 00000000000..fb4cdee3766 --- /dev/null +++ b/dev-util/sysprof-capture/sysprof-capture-3.34.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GNOME_ORG_MODULE="sysprof" + +inherit gnome.org meson systemd + +DESCRIPTION="Static library for sysprof capture data generation" +HOMEPAGE="http://sysprof.com/" + +LICENSE="GPL-3+ GPL-2+" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.61.3:2" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gdbus-codegen + >=sys-kernel/linux-headers-2.6.32 + virtual/pkgconfig +" + +src_prepare() { + default + # In 3.34.1 -Dlibsysprof=false still installs various data files related with it; + # some of these seem fixed by 3.36 + sed -i -e '/subdir.*data/d' meson.build || die +} + +src_configure() { + local emesonargs=( + -Denable_gtk=false + -Dlibsysprof=false + -Dwith_sysprofd=none + -Dsystemdunitdir=$(systemd_get_systemunitdir) + # -Ddebugdir + -Dhelp=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + # In 3.36 these shouldn't be needed with with_sysprofd=none + rm "${ED}"/usr/share/dbus-1/interfaces/org.gnome.Sysprof2.xml || die + rm "${ED}"/usr/share/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml || die + rm "${ED}"/usr/share/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml || die +}