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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C822B158095 for ; Sun, 21 Aug 2022 01:16:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCC02E086C; Sun, 21 Aug 2022 01:16:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 7E110E0827 for ; Sun, 21 Aug 2022 01:16:55 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87541340C58 for ; Sun, 21 Aug 2022 01:16:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B98AA580 for ; Sun, 21 Aug 2022 01:16:52 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1661044603.ed19582b41068c8f0ee42d2e65ff0e3961cf3a47.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/, sys-apps/fwupd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/fwupd/files/fwupd-1.8.3-installed_tests.patch sys-apps/fwupd/fwupd-1.8.3.ebuild X-VCS-Directories: sys-apps/fwupd/ sys-apps/fwupd/files/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: ed19582b41068c8f0ee42d2e65ff0e3961cf3a47 X-VCS-Branch: master Date: Sun, 21 Aug 2022 01:16:52 +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: 1738da64-46ab-4153-8b17-74f2a85f4b00 X-Archives-Hash: 4304d05757d83db688054ee33f0e04ce commit: ed19582b41068c8f0ee42d2e65ff0e3961cf3a47 Author: Marek Szuba gentoo org> AuthorDate: Sun Aug 21 00:13:55 2022 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sun Aug 21 01:16:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed19582b sys-apps/fwupd: do not install tests and their support files Closes: https://bugs.gentoo.org/861575 Signed-off-by: Marek Szuba gentoo.org> .../fwupd/files/fwupd-1.8.3-installed_tests.patch | 215 +++++++++++++++++++++ sys-apps/fwupd/fwupd-1.8.3.ebuild | 1 + 2 files changed, 216 insertions(+) diff --git a/sys-apps/fwupd/files/fwupd-1.8.3-installed_tests.patch b/sys-apps/fwupd/files/fwupd-1.8.3-installed_tests.patch new file mode 100644 index 000000000000..be97e6a61d20 --- /dev/null +++ b/sys-apps/fwupd/files/fwupd-1.8.3-installed_tests.patch @@ -0,0 +1,215 @@ +--- a/data/meson.build ++++ b/data/meson.build +@@ -10,20 +10,10 @@ + subdir('fish-completion') + endif + +-if get_option('tests') +-subdir('device-tests') +-endif +- + if build_daemon + subdir('motd') + endif + +-if get_option('tests') +- if build_daemon +- subdir('installed-tests') +- endif +-endif +- + if build_standalone + install_data(['daemon.conf'], + install_dir: join_paths(sysconfdir, 'fwupd') +--- a/plugins/acpi-dmar/meson.build ++++ b/plugins/acpi-dmar/meson.build +@@ -49,7 +49,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('acpi-dmar-self-test', e, env: env) # added to installed-tests +--- a/plugins/acpi-facp/meson.build ++++ b/plugins/acpi-facp/meson.build +@@ -47,7 +47,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('acpi-facp-self-test', e, env: env) # added to installed-tests +--- a/plugins/acpi-ivrs/meson.build ++++ b/plugins/acpi-ivrs/meson.build +@@ -49,7 +49,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('acpi-ivrs-self-test', e, env: env) # added to installed-tests +--- a/plugins/acpi-phat/meson.build ++++ b/plugins/acpi-phat/meson.build +@@ -53,7 +53,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('acpi-phat-self-test', e, env: env) # added to installed-tests +--- a/plugins/ata/meson.build ++++ b/plugins/ata/meson.build +@@ -53,7 +53,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('ata-self-test', e, env: env) # added to installed-tests +--- a/plugins/bcm57xx/meson.build ++++ b/plugins/bcm57xx/meson.build +@@ -35,8 +35,6 @@ + ) + + if get_option('tests') +- install_data(['tests/bcm57xx.builder.xml'], +- install_dir: join_paths(installed_test_datadir, 'tests')) + env = environment() + env.set('G_TEST_SRCDIR', meson.current_source_dir()) + env.set('G_TEST_BUILDDIR', meson.current_build_dir()) +@@ -63,7 +61,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('bcm57xx-self-test', e, env: env) +--- a/plugins/ccgx/meson.build ++++ b/plugins/ccgx/meson.build +@@ -37,8 +37,6 @@ + endif + + if get_option('tests') +- install_data(['tests/ccgx.builder.xml', 'tests/ccgx-dmc.builder.xml'], +- install_dir: join_paths(installed_test_datadir, 'tests')) + env = environment() + env.set('G_TEST_SRCDIR', meson.current_source_dir()) + env.set('G_TEST_BUILDDIR', meson.current_build_dir()) +@@ -64,7 +62,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('ccgx-self-test', e, env: env) +--- a/plugins/elantp/meson.build ++++ b/plugins/elantp/meson.build +@@ -33,8 +33,6 @@ + endif + + if get_option('tests') +- install_data(['tests/elantp.builder.xml'], +- install_dir: join_paths(installed_test_datadir, 'tests')) + env = environment() + env.set('G_TEST_SRCDIR', meson.current_source_dir()) + env.set('G_TEST_BUILDDIR', meson.current_build_dir()) +@@ -57,7 +55,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('elantp-self-test', e, env: env) +--- a/plugins/linux-swap/meson.build ++++ b/plugins/linux-swap/meson.build +@@ -44,7 +44,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('linux-swap-self-test', e) # added to installed-tests +--- a/plugins/mtd/meson.build ++++ b/plugins/mtd/meson.build +@@ -46,7 +46,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('mtd-self-test', e) # added to installed-tests +--- a/plugins/nitrokey/meson.build ++++ b/plugins/nitrokey/meson.build +@@ -47,7 +47,6 @@ + link_with: [ + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('nitrokey-self-test', e) # added to installed-tests +--- a/plugins/pixart-rf/meson.build ++++ b/plugins/pixart-rf/meson.build +@@ -31,8 +31,6 @@ + ) + + if get_option('tests') +- install_data(['tests/pixart.builder.xml'], +- install_dir: join_paths(installed_test_datadir, 'tests')) + env = environment() + env.set('G_TEST_SRCDIR', meson.current_source_dir()) + env.set('G_TEST_BUILDDIR', meson.current_build_dir()) +@@ -55,7 +53,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('pxi-self-test', e, env: env) +--- a/plugins/redfish/meson.build ++++ b/plugins/redfish/meson.build +@@ -47,14 +47,6 @@ + ) + + if get_option('tests') +- install_data(['tests/redfish-smbios.bin'], +- install_dir: join_paths(installed_test_datadir, 'tests')) +- install_data(['tests/redfish.conf'], +- install_dir: join_paths(installed_test_datadir, 'tests')) +- install_data(['tests/efi/efivars/RedfishIndications-16faa37e-4b6a-4891-9028-242de65a3b70'], +- install_dir: join_paths(installed_test_datadir, 'tests', 'efi', 'efivars')) +- install_data(['tests/efi/efivars/RedfishOSCredentials-16faa37e-4b6a-4891-9028-242de65a3b70'], +- install_dir: join_paths(installed_test_datadir, 'tests', 'efi', 'efivars')) + env = environment() + env.set('G_TEST_SRCDIR', meson.current_source_dir()) + env.set('G_TEST_BUILDDIR', meson.current_build_dir()) +@@ -89,7 +81,6 @@ + fwupd, + fwupdplugin, + ], +- install: true, + install_dir: installed_test_bindir, + ) + test('redfish-self-test', e, env: env) # added to installed-tests +--- a/src/tests/host-emulate/meson.build ++++ b/src/tests/host-emulate/meson.build +@@ -8,7 +8,7 @@ + output: '@0@.gz'.format(input_file), + capture: true, + command: [gzip, '--keep', '--stdout', '@INPUT@'], +- install: true, ++ install: false, + install_dir: join_paths(datadir, 'fwupd', 'host-emulate.d'), + ) + endforeach diff --git a/sys-apps/fwupd/fwupd-1.8.3.ebuild b/sys-apps/fwupd/fwupd-1.8.3.ebuild index 4265a6081d1e..bde563c6d54e 100644 --- a/sys-apps/fwupd/fwupd-1.8.3.ebuild +++ b/sys-apps/fwupd/fwupd-1.8.3.ebuild @@ -95,6 +95,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.8.3-docgen_deps_test.patch "${FILESDIR}"/${PN}-1.8.3-gresource_quirks_paths.patch + "${FILESDIR}"/${PN}-1.8.3-installed_tests.patch ) pkg_setup() {