From 724cccb689f2076a398ede6845749926c86ea647 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 27 Feb 2023 16:01:10 +0000 Subject: gentoo auto-resync : 27:02:2023 - 16:01:10 --- sys-apps/Manifest.gz | Bin 48978 -> 48973 bytes sys-apps/bleachbit/Manifest | 1 + sys-apps/bleachbit/bleachbit-4.4.2-r1.ebuild | 87 +++++++++++++++++++++ sys-apps/fwupd-efi/Manifest | 3 +- .../files/fwupd-efi-1.4-efi_ld_override.patch | 26 ++++++ sys-apps/fwupd-efi/fwupd-efi-1.4.ebuild | 7 +- 6 files changed, 122 insertions(+), 2 deletions(-) create mode 100644 sys-apps/bleachbit/bleachbit-4.4.2-r1.ebuild create mode 100644 sys-apps/fwupd-efi/files/fwupd-efi-1.4-efi_ld_override.patch (limited to 'sys-apps') diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz index cd861962febc..e1ba66b7e041 100644 Binary files a/sys-apps/Manifest.gz and b/sys-apps/Manifest.gz differ diff --git a/sys-apps/bleachbit/Manifest b/sys-apps/bleachbit/Manifest index 8dd26bf7079a..1dc79c739cdf 100644 --- a/sys-apps/bleachbit/Manifest +++ b/sys-apps/bleachbit/Manifest @@ -1,3 +1,4 @@ DIST bleachbit-4.4.2.tar.bz2 653525 BLAKE2B ae65e310d33c2e523244a32de1ff28081be940a6a2ed2aadf682218ebe7346de3b5f37ab457d4f16542730d617678effbcda461e7080c43cd81c17f6b959018d SHA512 247a1ed0e491e5e02c4bc9a5c2d11d5f1511ef9644b9edf34b1c9326e6515c33dfd60b98bb2dab59eac36ab5e1c9b5ed1e8d7c749261bde90450a2fc717dae6f +EBUILD bleachbit-4.4.2-r1.ebuild 1786 BLAKE2B 414055160f9bfd2e36995888e1b54e41bf1e243ec0f3f3fc2b96c316147ea6c913cd63045661a241470fc1386fe7710e3d52e6d913981398ce8fe69d68fb1a15 SHA512 86553b3b7b0b163c199b78b16e0a17deecf12747dc2c22a9b2b4cfc052604c838f32dc470c04e9aa9c8aa90341d503f217cfd22119564423c6c2bfef6810d0dc EBUILD bleachbit-4.4.2.ebuild 1751 BLAKE2B d961056ffe9264041c13271dda50413bdde2df4fda8e8dcc1a2ac25abf7e4ddd80c4b254a1e16ee9767d30f2bd3118a7abb13a67291905b3c61bad5109787bf1 SHA512 da3878783bea97737d66d1b4fba4b377907eeb7fd1b3cb3ebb2b8833d07111bd664e5cc8f0e44d45c8bed210112b1ff0eb407020a9208b0272e1a89e3590309e MISC metadata.xml 557 BLAKE2B 61de1eec1e533aea9a008403d40069d8e7fb3ca2e1217f1ebf8746adf07725bf82011ee6597961443e6474de9908e3b8a70a6aef42439b4aa62a562212846378 SHA512 dc31e0aa896798f20540c5f7119aa7cf60a8ec5e498d8a7a7baf3d73b5287b03083e33f0816d84467acfc221d8bf0dfdeea59734b3048e4194693d63ec453214 diff --git a/sys-apps/bleachbit/bleachbit-4.4.2-r1.ebuild b/sys-apps/bleachbit/bleachbit-4.4.2-r1.ebuild new file mode 100644 index 000000000000..3cc4297cdb73 --- /dev/null +++ b/sys-apps/bleachbit/bleachbit-4.4.2-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="sqlite(+)" +DISTUTILS_SINGLE_IMPL=1 + +inherit desktop distutils-r1 virtualx + +DESCRIPTION="Clean junk to free disk space and to maintain privacy" +HOMEPAGE="https://www.bleachbit.org" +SRC_URI="https://download.bleachbit.org/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + x11-libs/gtk+:3 +" +BDEPEND=" + sys-devel/gettext + test? ( + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]') + ) +" + +distutils_enable_tests unittest + +# tests fail under FEATURES=usersandbox +RESTRICT="test" + +python_prepare_all() { + if use test; then + # avoid tests requiring internet access + rm tests/Test{Chaff,Update}.py || die + + # fails due to non-existent $HOME/.profile + rm tests/TestInit.py || die + + # only applicable to Windows installer + rm tests/TestNsisUtilities.py || die + + # these fail on upstream Travis CI as well as on Gentoo + sed -e "s/test_notify(self)/_&/" \ + -i tests/TestGUI.py || die + + sed -e "s/test_get_proc_swaps(self)/_&/" \ + -i tests/TestMemory.py || die + fi + + distutils-r1_python_prepare_all +} + +python_compile_all() { + emake -C po local +} + +python_test() { + virtx emake tests +} + +python_install() { + distutils-r1_python_install + python_newscript ${PN}.py ${PN} +} + +python_install_all() { + distutils-r1_python_install_all + emake -C po DESTDIR="${D}" install + + insinto /usr/share/bleachbit/cleaners + doins cleaners/*.xml + + insinto /usr/share/bleachbit + doins data/app-menu.ui + + doicon ${PN}.png + domenu org.${PN}.BleachBit.desktop +} diff --git a/sys-apps/fwupd-efi/Manifest b/sys-apps/fwupd-efi/Manifest index 1c57c84fffa8..12b8a0f0d7ac 100644 --- a/sys-apps/fwupd-efi/Manifest +++ b/sys-apps/fwupd-efi/Manifest @@ -1,5 +1,6 @@ +AUX fwupd-efi-1.4-efi_ld_override.patch 1219 BLAKE2B f501bd949a82d28bc9daaef5b62e726e18825a081a584b50358e566b5c3af1eb0eaf409d17d5947b85b4f15098bb5d12025037ddb7a74489b88a945fc8eafbbc SHA512 31f966a7babdaa3a232ca86df065ff8e3724829455a9a3ce733bbd8454bd2f45cd3abf0b2526793a6b20b60ed9fce39f87f3528fd89c8c15093d016b65fb3784 DIST fwupd-efi-1.3.tar.gz 39122 BLAKE2B f295869038f485026b8e60977faf76ad81f1ad11474d13be9a635b1a014daf79ee4250a44dcdb4b79f887a3093ba70a470dde6e8376bc4c064cd30c64c76cddc SHA512 3f17bc990de15e48d7be7302992d51c12b510a793b556ac269fcf3b63f83cc3c257bc852de23ee44a0de1b96eea324277015265c42ee41a11b88368a3f4b38eb DIST fwupd-efi-1.4.tar.xz 35984 BLAKE2B 24ce9788500781aac5b856740dc17d94bec79cf57f4f1a0359f42e6be4b9600d34259794a88f69bf83aa38ee5976b26228b20813f717edce5cc627c163585b40 SHA512 c330409861a8c1e332a0d4fd49c54ef2c5bf7cdaca99d14de39b50fb35f0c490e9f7f7a4c9dd48181bd509cd358c43eb23659536aea93408c1fefb47629e4991 EBUILD fwupd-efi-1.3.ebuild 1082 BLAKE2B 2106918286e351384b7a4a851062d9b73f3acdfa75d2f2fd098d9cc46164616bcd587f2721ae2390211a24a5ced69ac591770283efe93e7d933384479b6cc7ee SHA512 114686c628b89414fa26940c42065498436acd202aaa97e4f3b1abc1b51acfe888454db9e303bc92c24a02a03ae438158c1598fb186412b5d775ba6e4f5ad828 -EBUILD fwupd-efi-1.4.ebuild 1151 BLAKE2B b07b64d214558c60c3c8f351cfdda2bac1ce3b171ea54ea2f5c52a09bf2c2b7ef0623e8e5a0f91d1a063fc29ca61227f2e70e17f6885d61ad80e14335bc20191 SHA512 61f63ad1d706c577392b3672de76a477446bd75fbcc92086a348a3caf8ad55d25b7262c556d5dfe5d25a4b4b6881beed06324870ed304c87ee86f448fc0d219f +EBUILD fwupd-efi-1.4.ebuild 1266 BLAKE2B e5d1387acb69459951304e642ba98fbb2a6c0878f3b3714d511e7f0f805389f5f0c8cf243d73bfb40d7bbf3ec0f34f51150cc531890504f74c1a5a1073985162 SHA512 580afe4482c22a5917d17679bef417cd64727b7fd36b5110cbab9490ba89875e328a74ea94bec2566ac4e46493c895a8b7695325902e0c2c81e5cb3c5b6e3d6b MISC metadata.xml 502 BLAKE2B 37525a0056ad72eab2b2b7b15436181a8581075053704012670e1f0434c8af74bd0780f16f31fa5cd2c8836bc2e4d8f55dfd5a77140be83ebffda5ca9e1a1382 SHA512 70ccf403ddb8e4d33ee9cc6ba438583d42ab313784c3251919b74a6596c4e3593263a6400513605c1004bc0d3ebb1677febc31449096b825f688ed1cc7052c31 diff --git a/sys-apps/fwupd-efi/files/fwupd-efi-1.4-efi_ld_override.patch b/sys-apps/fwupd-efi/files/fwupd-efi-1.4-efi_ld_override.patch new file mode 100644 index 000000000000..0b703a41d2e6 --- /dev/null +++ b/sys-apps/fwupd-efi/files/fwupd-efi-1.4-efi_ld_override.patch @@ -0,0 +1,26 @@ +--- a/efi/meson.build ++++ b/efi/meson.build +@@ -1,6 +1,7 @@ + generate_sbat = find_program('generate_sbat.py', native: true) + generate_binary = find_program('generate_binary.py', native: true) + ++efi_ld = get_option('efi-ld') + efi_ldsdir = get_option('efi-ldsdir') + efi_incdir = get_option('efi-includedir') + +@@ -226,7 +227,7 @@ + so = custom_target('fwup.so', + input : [o_file1, o_file2, o_file3, o_file4, o_file5], + output : 'fwup.so', +- command : [ld, '-o', '@OUTPUT@'] + ++ command : [efi_ld, '-o', '@OUTPUT@'] + + efi_ldflags + ['@INPUT@'] + + ['-lefi', '-lgnuefi', libgcc_file_name], + depends: fwupd_so_deps) +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -1,3 +1,4 @@ ++option('efi-ld', type : 'string', value : 'ld', description : 'the linker to use for EFI modules') + option('efi-libdir', type : 'string', description : 'path to the EFI lib directory') + option('efi-ldsdir', type : 'string', description : 'path to the EFI lds directory') + option('efi-includedir', type : 'string', value : '/usr/include/efi', description : 'path to the EFI header directory') diff --git a/sys-apps/fwupd-efi/fwupd-efi-1.4.ebuild b/sys-apps/fwupd-efi/fwupd-efi-1.4.ebuild index d90dd1db3a4e..a10efcfde644 100644 --- a/sys-apps/fwupd-efi/fwupd-efi-1.4.ebuild +++ b/sys-apps/fwupd-efi/fwupd-efi-1.4.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit meson python-any-r1 +inherit meson python-any-r1 toolchain-funcs DESCRIPTION="EFI executable for fwupd" HOMEPAGE="https://fwupd.org" @@ -31,6 +31,10 @@ DEPEND="sys-boot/gnu-efi" RDEPEND="!