From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ADBF11584AD for ; Tue, 06 May 2025 08:46:12 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9B65A343130 for ; Tue, 06 May 2025 08:46:12 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F07AC1103C1; Tue, 06 May 2025 08:46:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E3BF61103BD for ; Tue, 06 May 2025 08:46:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97B6E343151 for ; Tue, 06 May 2025 08:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A2562798 for ; Tue, 06 May 2025 08:46:04 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1746521108.20777571e30b77ce3c58f91dd95fc66f3c3c2f18.sam@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/sysprof-capture-3.48.0.ebuild dev-util/sysprof-capture/sysprof-capture-46.0.ebuild dev-util/sysprof-capture/sysprof-capture-47.2.ebuild X-VCS-Directories: dev-util/sysprof-capture/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 20777571e30b77ce3c58f91dd95fc66f3c3c2f18 X-VCS-Branch: master Date: Tue, 06 May 2025 08:46:04 +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: 0db4ef63-cbfd-4d52-be00-64f52eb244ba X-Archives-Hash: 79786c5467222ca4b8b1a3201c584f64 commit: 20777571e30b77ce3c58f91dd95fc66f3c3c2f18 Author: Sam James gentoo org> AuthorDate: Fri May 2 00:18:12 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 6 08:45:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20777571 dev-util/sysprof-capture: use dot-a.eclass for LTO This means that USE=static-libs doesn't produce a "broken" library when built w/ LTO. Bug: https://bugs.gentoo.org/818097 Bug: https://bugs.gentoo.org/889004 Bug: https://bugs.gentoo.org/927994 Bug: https://bugs.gentoo.org/939515 Signed-off-by: Sam James gentoo.org> dev-util/sysprof-capture/sysprof-capture-3.48.0.ebuild | 14 ++++++++++++-- dev-util/sysprof-capture/sysprof-capture-46.0.ebuild | 12 +++++++++++- dev-util/sysprof-capture/sysprof-capture-47.2.ebuild | 12 +++++++++++- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/dev-util/sysprof-capture/sysprof-capture-3.48.0.ebuild b/dev-util/sysprof-capture/sysprof-capture-3.48.0.ebuild index 0502a2eca20d..095cff44673d 100644 --- a/dev-util/sysprof-capture/sysprof-capture-3.48.0.ebuild +++ b/dev-util/sysprof-capture/sysprof-capture-3.48.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 GNOME_ORG_MODULE="sysprof" -inherit gnome.org meson-multilib systemd +inherit dot-a gnome.org meson-multilib systemd DESCRIPTION="Static library for sysprof capture data generation" HOMEPAGE="http://sysprof.com/" @@ -21,6 +21,11 @@ BDEPEND=" virtual/pkgconfig " +src_configure() { + lto-guarantee-fat + meson-multilib_src_configure +} + multilib_src_configure() { local emesonargs=( -Dgtk=false @@ -38,3 +43,8 @@ multilib_src_configure() { ) meson_src_configure } + +multilib_src_install_all() { + einstalldocs + strip-lto-bytecode +} diff --git a/dev-util/sysprof-capture/sysprof-capture-46.0.ebuild b/dev-util/sysprof-capture/sysprof-capture-46.0.ebuild index 2934a83c1734..c8e9fc6d93a8 100644 --- a/dev-util/sysprof-capture/sysprof-capture-46.0.ebuild +++ b/dev-util/sysprof-capture/sysprof-capture-46.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 GNOME_ORG_MODULE="sysprof" -inherit gnome.org meson-multilib systemd +inherit dot-a gnome.org meson-multilib systemd DESCRIPTION="Static library for sysprof capture data generation" HOMEPAGE="http://sysprof.com/" @@ -21,6 +21,11 @@ BDEPEND=" virtual/pkgconfig " +src_configure() { + lto-guarantee-fat + meson-multilib_src_configure +} + multilib_src_configure() { local emesonargs=( -Dgtk=false @@ -36,3 +41,8 @@ multilib_src_configure() { ) meson_src_configure } + +multilib_src_install_all() { + einstalldocs + strip-lto-bytecode +} diff --git a/dev-util/sysprof-capture/sysprof-capture-47.2.ebuild b/dev-util/sysprof-capture/sysprof-capture-47.2.ebuild index 24b308d6b635..6618277e1010 100644 --- a/dev-util/sysprof-capture/sysprof-capture-47.2.ebuild +++ b/dev-util/sysprof-capture/sysprof-capture-47.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 GNOME_ORG_MODULE="sysprof" -inherit gnome.org meson-multilib systemd +inherit dot-a gnome.org meson-multilib systemd DESCRIPTION="Static library for sysprof capture data generation" HOMEPAGE="http://sysprof.com/" @@ -21,6 +21,11 @@ BDEPEND=" virtual/pkgconfig " +src_configure() { + lto-guarantee-fat + meson-multilib_src_configure +} + multilib_src_configure() { local emesonargs=( -Dgtk=false @@ -36,3 +41,8 @@ multilib_src_configure() { ) meson_src_configure } + +multilib_src_install_all() { + einstalldocs + strip-lto-bytecode +}