diff --git a/app-misc/cepl/Manifest b/app-misc/cepl/Manifest index 7d298f085e..b396242cb4 100644 --- a/app-misc/cepl/Manifest +++ b/app-misc/cepl/Manifest @@ -1 +1 @@ -DIST cepl-12.0.0.tar.gz 2007442 BLAKE2B 056a3880ea2c871c3902cd6d66b49ebbf1563258c2f025492b1333f78e329b46cda68c603d0e174ca7d8ff59155332e20e3131a84e9b3ca8ade02ddb35a65656 SHA512 7939d4e568cba85fb410ce2cea14f44902804834cdf13c793e3c5ff4cbbfd9692ef1fd9ffe0180ddf0acbc8cd198f0d1223d5d39b3bbb4addcc2081a6e0c5212 +DIST cepl-20.0.0.tar.gz 18969 BLAKE2B 619ddfc6c31ccf6052ed19f8fbe318f094eb5e1a0c14df10a68a469dbf641e626881c8aded7190460332c0923841d457446f2f077774aa738e5f4d943c51e1f0 SHA512 b4fe83cfdec4ca42ae55a9e01cfb8637edac86a5602dadc0a0822c01bcac7cbaf18e1554113755a7d47bb97d6245385af48b91d3caf8c16d74c3f2c5c685db1e diff --git a/app-misc/cepl/cepl-12.0.0.ebuild b/app-misc/cepl/cepl-20.0.0.ebuild similarity index 100% rename from app-misc/cepl/cepl-12.0.0.ebuild rename to app-misc/cepl/cepl-20.0.0.ebuild diff --git a/app-text/lizard/Manifest b/app-text/lizard/Manifest index a28c110a28..f07c984b2e 100644 --- a/app-text/lizard/Manifest +++ b/app-text/lizard/Manifest @@ -1,3 +1 @@ -DIST lizard-1.17.13.tar.gz 1233745 BLAKE2B e41e7bb461f64459f9327fa5719e57cc713dcebb89dfb6b01e27f38a9c6014bbe77b1a50cab094a8b68b630385ca9ff3c35b1a9a65545e9c23942f038b560d33 SHA512 2a81c7033bdda8a4698ae010a5a2c5394a5290008dbc80812063ade1088ac616debb7dd24b4498712979845ed6dee91b728b6ace8c7451f0716707d2caa48c18 -DIST lizard-1.17.28.tar.gz 1263569 BLAKE2B 0310101a465fff41110628590be8d65c89133e60d042371e885ff05f0a0797e3539e63422393cb6d368cd7d574f652a47a113da8d8d5bff403565b90126c2735 SHA512 5ee25a1453986e8e832ca1f506d1bbc9ef595940fc68d60abef9d6645ecde13dec81cfe0dc117f20bb2a5eb330561e87321d3d10c7d9532603fc8c512b1c5787 DIST lizard-1.17.31.tar.gz 1270550 BLAKE2B 1d86df59a8d5c206f0990ed35adf575be7010f95b7ca32762c96095a3a87d95bc4624bb6b5f00513cac1e76e6030ab0afc3059e4781fddae988cb8558fafd091 SHA512 0c131fb4f42604b2700cad5e0c00f931c19d0767a17b85e507926638c398ab0d1674501ca56330a81510b061302c7122266ad944a173d21c64969d0fa13d79be diff --git a/app-text/lizard/files/lizard-1.17.10-py3.11.patch b/app-text/lizard/files/lizard-1.17.10-py3.11.patch deleted file mode 100644 index d17b9511db..0000000000 --- a/app-text/lizard/files/lizard-1.17.10-py3.11.patch +++ /dev/null @@ -1,60 +0,0 @@ -commit fc8a14e84acd8a4baa2d98bdec4e7ac18ed137a5 -Author: Mazunki Hoksaas -Date: Thu Jul 27 15:04:16 2023 +0200 - - add support for python3.11 re module - -diff --git a/lizard_languages/code_reader.py b/lizard_languages/code_reader.py -index 1eb95d5..9e12658 100644 ---- a/lizard_languages/code_reader.py -+++ b/lizard_languages/code_reader.py -@@ -4,6 +4,8 @@ Base class for all language parsers - - import re - from copy import copy -+from functools import reduce -+from operator import or_ - - - class CodeStateMachine(object): -@@ -112,7 +114,7 @@ class CodeReader: - if not token_class: - token_class = create_token - -- def _generate_tokens(source, add): -+ def _generate_tokens(source, add, flags=re.NOFLAG): - # DO NOT put any sub groups in the regex. Good for performance - _until_end = r"(?:\\\n|[^\n])*" - combined_symbols = ["<<=", ">>=", "||", "&&", "===", "!==", -@@ -136,7 +138,7 @@ class CodeReader: - r"|\\\n" + - r"|\n" + - r"|[^\S\n]+" + -- r"|.)", re.M | re.S) -+ r"|.)", re.M | re.S | flags) - macro = "" - for match in token_pattern.finditer(source): - token = token_class(match) -@@ -154,7 +156,21 @@ class CodeReader: - if macro: - yield macro - -- return _generate_tokens(source_code, addition) -+ flag_dict = { -+ 'a': re.A, # ASCII-only matching -+ 'i': re.I, # Ignore case -+ 'L': re.L, # Locale dependent -+ 'm': re.M, # Multi-line -+ 's': re.S, # Dot matches all -+ 'u': re.U, # Unicode matching -+ 'x': re.X # Verbose -+ } -+ -+ pattern = re.compile(r'\(\?[aiLmsux]+\)') -+ re_flags = ''.join(opt[2:-1] for opt in pattern.findall(addition)) -+ flags = reduce(or_, (flag_dict[flag] for flag in re_flags), re.NOFLAG) -+ -+ return _generate_tokens(source_code, pattern.sub('', addition), flags=flags) - - def __call__(self, tokens, reader): - self.context = reader.context diff --git a/app-text/lizard/files/lizard-1.17.10-py3.12.patch b/app-text/lizard/files/lizard-1.17.10-py3.12.patch deleted file mode 100644 index f150f74f8e..0000000000 --- a/app-text/lizard/files/lizard-1.17.10-py3.12.patch +++ /dev/null @@ -1,45 +0,0 @@ -From f44f7969c592ecbc1752827cb27dd44e79e1e75e Mon Sep 17 00:00:00 2001 -From: David Roman -Date: Thu, 27 Jul 2023 15:07:51 +0200 -Subject: [PATCH] replace deprecated assertRegexpMatches -> assertRegex - -Close: #374 ---- - test/testOutputCSV.py | 4 ++-- - test/testOutputHTML.py | 3 +-- - 2 files changed, 3 insertions(+), 4 deletions(-) - -diff --git a/test/testOutputCSV.py b/test/testOutputCSV.py -index 78cb221..4d10217 100644 ---- a/test/testOutputCSV.py -+++ b/test/testOutputCSV.py -@@ -22,7 +22,7 @@ def test_csv_header(self): - options_mock.verbose = True - options_mock.extensions = [] - csv_output(AllResult([self.fileSummary]), options_mock) -- self.assertRegexpMatches(sys.stdout.stream, -+ self.assertRegex(sys.stdout.stream, - r"NLOC,CCN,token,PARAM,length,location,file,function,long_name,start,end") - - def test_csv_header_with_extension(self): -@@ -35,7 +35,7 @@ def test_csv_header_with_extension(self): - results = AllResult([self.fileSummary]) - results.result[0].function_list[0].exit_count = 1 - csv_output(results, options_mock) -- self.assertRegexpMatches(sys.stdout.stream, -+ self.assertRegex(sys.stdout.stream, - r"NLOC,CCN,token,PARAM,length,location,file,function,long_name,start,end,exits") - - def test_csv_no_header(self): -diff --git a/test/testOutputHTML.py b/test/testOutputHTML.py -index f91156b..81965fc 100644 ---- a/test/testOutputHTML.py -+++ b/test/testOutputHTML.py -@@ -17,6 +17,5 @@ def setUp(self): - - def test_should_have_html_body(self): - html_output([self.fileSummary], self.option, None, AllResult) -- self.assertRegexpMatches(sys.stdout.stream, -- r"\") -+ self.assertRegex(sys.stdout.stream, r"\") - diff --git a/app-text/lizard/lizard-1.17.13.ebuild b/app-text/lizard/lizard-1.17.13.ebuild deleted file mode 100644 index a9cae51403..0000000000 --- a/app-text/lizard/lizard-1.17.13.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -DESCRIPTION="A simple code complexity analyser, supports most of the popular languages." -HOMEPAGE="http://www.lizard.ws/" -SRC_URI="https://github.com/terryyin/lizard/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-python/pygments[${PYTHON_USEDEP}] - test? ( - dev-python/jinja2[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/app-text/lizard/lizard-1.17.28.ebuild b/app-text/lizard/lizard-1.17.28.ebuild deleted file mode 100644 index 8dc6661729..0000000000 --- a/app-text/lizard/lizard-1.17.28.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -DESCRIPTION="A simple code complexity analyser, supports most of the popular languages." -HOMEPAGE="http://www.lizard.ws/" -SRC_URI="https://github.com/terryyin/lizard/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-python/pygments[${PYTHON_USEDEP}] - test? ( - dev-python/jinja2[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-cpp/robotraconteur-companion/Manifest b/dev-cpp/robotraconteur-companion/Manifest new file mode 100644 index 0000000000..cdb3bed25c --- /dev/null +++ b/dev-cpp/robotraconteur-companion/Manifest @@ -0,0 +1 @@ +DIST RobotRaconteurCompanion-0.4.2-Source.tar.gz 247805 BLAKE2B 83ebea93a9d52ba0310509c8bc74bd330776ca353319af0b7ef9eede12b41d60b1bf23d982fe901be613b6cfac293d8699ae6448b4ca4c39bb64b653ca36c3d7 SHA512 be4e25d7d8b8718afb24837d050e10d363a1a61c66bb82fe1526319877aa30ab1883e2982b011275476e3949d7e21191b2b515b328c5fb3c4373a6dff6abe2aa diff --git a/dev-cpp/robotraconteur-companion/metadata.xml b/dev-cpp/robotraconteur-companion/metadata.xml new file mode 100644 index 0000000000..d25200ccd6 --- /dev/null +++ b/dev-cpp/robotraconteur-companion/metadata.xml @@ -0,0 +1,19 @@ + + + + John Wason + wason@wasontech.com + + + proxy-maint@gentoo.org + Proxy Maintainers + + + robotraconteur/robotraconteur_companion + https://github.com/robotraconteur/robotraconteur_companion/issues + http://robotraconteur.com + + + Robot Raconteur C++ companion library. See http://robotraconteur.com for documentation. + + diff --git a/dev-cpp/robotraconteur-companion/robotraconteur-companion-0.4.2.ebuild b/dev-cpp/robotraconteur-companion/robotraconteur-companion-0.4.2.ebuild new file mode 100644 index 0000000000..673f3c2418 --- /dev/null +++ b/dev-cpp/robotraconteur-companion/robotraconteur-companion-0.4.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Robot Raconteur C++ Companion Library" +HOMEPAGE="https://github.com/robotraconteur/robotraconteur_companion" +SRC_URI="https://github.com/robotraconteur/robotraconteur_companion/releases/download/v${PV}/RobotRaconteurCompanion-${PV}-Source.tar.gz" + +S="${WORKDIR}/RobotRaconteurCompanion-${PV}-Source" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND="dev-libs/boost + dev-libs/openssl + dev-build/cmake + dev-cpp/yaml-cpp + dev-cpp/eigen + dev-cpp/robotraconteur +" +RDEPEND="${DEPEND}" + +src_configure() { +local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_TESTING=OFF + -DBUILD_DOCUMENTATION=OFF + -DROBOTRACONTEUR_COMPANION_SOVERSION_MAJOR_ONLY=ON + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile +} + +src_install() { + cmake_src_install +} diff --git a/dev-cpp/robotraconteur/Manifest b/dev-cpp/robotraconteur/Manifest new file mode 100644 index 0000000000..41b905bfb9 --- /dev/null +++ b/dev-cpp/robotraconteur/Manifest @@ -0,0 +1 @@ +DIST RobotRaconteur-1.2.6-Source.tar.gz 11806135 BLAKE2B 64bf2a49434b307a260e82d937b76a6fbc6353ed3499da44048e75c88c94ba6a96b713c95264c6d4cba3dcdc6745a7237a5526eb95c593ffc6733c63e25feafa SHA512 ff5934182b6e97a1f07c11623d9ec570ab762ac915eb74b38f0e21f9d76cc6e779f8faf7a32fb684ef54738474c89c60c8f7401785262d54bd48dfe805c642b8 diff --git a/dev-cpp/robotraconteur/metadata.xml b/dev-cpp/robotraconteur/metadata.xml new file mode 100644 index 0000000000..92e421eca1 --- /dev/null +++ b/dev-cpp/robotraconteur/metadata.xml @@ -0,0 +1,22 @@ + + + + John Wason + wason@wasontech.com + + + proxy-maint@gentoo.org + Proxy Maintainers + + + robotraconteur/robotraconteur + https://github.com/robotraconteur/robotraconteur/issues + http://robotraconteur.com + + + Robot Raconteur C++ library with Python bindings. See http://robotraconteur.com for documentation. + + + Enable Python bindings + + diff --git a/dev-cpp/robotraconteur/robotraconteur-1.2.6.ebuild b/dev-cpp/robotraconteur/robotraconteur-1.2.6.ebuild new file mode 100644 index 0000000000..c7e9b967bb --- /dev/null +++ b/dev-cpp/robotraconteur/robotraconteur-1.2.6.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake python-r1 + +DESCRIPTION="Robot Raconteur C++ library with Python bindings" +HOMEPAGE="https://github.com/robotraconteur/robotraconteur" +SRC_URI="https://github.com/robotraconteur/robotraconteur/releases/download/v${PV}/RobotRaconteur-${PV}-Source.tar.gz" + +S="${WORKDIR}/RobotRaconteur-${PV}-Source" + +LICENSE="Apache-2.0" +SLOT="1/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="python" + +DEPEND="dev-libs/boost + dev-libs/openssl + dev-libs/libusb + sys-apps/dbus + net-wireless/bluez + dev-build/cmake + python? ( dev-python/numpy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] ) +" +RDEPEND=" + ${DEPEND} + python? ( + ${PYTHON_DEPS} + ) +" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +python_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GEN=ON + -DBUILD_TESTING=OFF + -DBUILD_DOCUMENTATION=OFF + -DBUILD_PYTHON3=ON + -DINSTALL_PYTHON3_PIP=ON + -DINSTALL_PYTHON3_PIP_EXTRA_ARGS="--compile --use-pep517 --no-build-isolation --no-deps --root-user-action=ignore" + -DROBOTRACONTEURCORE_SOVERSION_MAJOR_ONLY=ON + ) + cmake_src_configure +} + +src_configure() { + if use python; then + python_foreach_impl python_configure + else + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_GEN=ON + -DBUILD_TESTING=OFF + -DBUILD_DOCUMENTATION=OFF + -DROBOTRACONTEURCORE_SOVERSION_MAJOR_ONLY=ON + ) + cmake_src_configure + fi +} + +src_compile() { + if use python; then + python_foreach_impl cmake_src_compile + else + cmake_src_compile + fi +} + +python_install(){ + cmake_src_install + python_optimize "${D}$(python_get_sitedir)/RobotRaconteur" || die "Failed to optimize Python files" +} + +src_install() { + if use python; then + python_foreach_impl python_install + else + cmake_src_install + fi +} diff --git a/dev-embedded/esp-idf-monitor/esp-idf-monitor-1.7.0.ebuild b/dev-embedded/esp-idf-monitor/esp-idf-monitor-1.7.0.ebuild index 9ddcf24dde..b706bc4987 100644 --- a/dev-embedded/esp-idf-monitor/esp-idf-monitor-1.7.0.ebuild +++ b/dev-embedded/esp-idf-monitor/esp-idf-monitor-1.7.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-embedded/esp-idf/Manifest b/dev-embedded/esp-idf/Manifest index 0f25febde7..2419e8fa20 100644 --- a/dev-embedded/esp-idf/Manifest +++ b/dev-embedded/esp-idf/Manifest @@ -1,9 +1,9 @@ -DIST esp-idf-5.3.3.zip 1286860664 BLAKE2B b1d6f866bfa8d97580c6421b9412723d5e9978dc7c0630e3450aa15c8d5d5bbfc8c69e9df7a2ad8349e50bbbe9f3641b61a844d78a021effc04f06fb98cb08a7 SHA512 be790154d8877886725a500d054dcdf3b36a2a4fb1b48f9a8bba8c55885890151b93a15a62e9ff721ca7a008bb23dbe803e52ae33fa1c34d6a90d39f9692e473 DIST esp-idf-5.3.4.zip 1599287093 BLAKE2B f39744048cc199f01b7ff606b573e547a5dc095526d8131f7fb0f1ef78b38f3df238c3e6be2a36ac69ba200cacb42435a99b194fcb88932f2d6a1c4f68a57374 SHA512 f36de5ef3dd33994d02f4f64134c7b1d072ccecefeeda4277bf94a4d34fc76b638edda65c7ad6199eb4b4641d38901c5d576dc4a43c3cb4da7721551bb4c16d7 DIST esp-idf-5.4.2.zip 1368863611 BLAKE2B 222a6fb0aef3ad4a15d06c56a188879549297816fe59473135af747aae73c0e87d1b191e4ffe1b54cdca1b4d588dc57f1a8c2f39f21bf1bbd154d84ddda690af SHA512 90b5b495015adc55be740e5cc462ad5020c0d2fd33378438f0b8032927d64f931fe537384c8f95168da5550c8989fa776524cb79903352391ab46c0d0b8606e6 +DIST esp-idf-5.5.1.zip 1414183542 BLAKE2B 0f8768cc01501b925cce2916d2847414d72b90e74aaf6987445bbc7a2b9f21c4484214c809ee03a609466efccd6932e74a4162a3000cd60ed09929560cd5d114 SHA512 5c23a3e015870bdfe4d5307aa11727bbe482d1439a8aacd3e1fc0210aa199fe8bcbf58d23ddee2c82db58890e9132bf1e16fe2d2fd6a421c18c14958fa563b6b DIST esp-idf-5.5.zip 1357029370 BLAKE2B c6b5816b53884a43782b148ff49121af83c3525c76ff4db19f7eae0177cf125284d1d5879348cf4e069403663a5f77b67ff5d5812c038cab74843ce2e8b42583 SHA512 389713f9aa1695b9a1d77ae5579d36a4472de5bd5d029081c20537f9b5281acc302aa36b311eab5eda5c278ad15959313c3b59e053359e9f7a340bb8b6323a1f -DIST openocd-esp32-linux-amd64-0.12.0-esp32-20241016.tar.gz 2398717 BLAKE2B 4550fb391e77c4eb09f88bc596f002de12a1c26e07af1d4e1a9efb25851facab39afc96a73d7c3f5c1bd8dc11963c6dc619d161741ee96cb2fb39c2b9bfbacd8 SHA512 bc72521e5c01090b1628d97a33adf336d32e4b451050abd056046672bb5d8bc0326db350d8c96390a11891d783d1223ff98ebef35e7299cc2f36dde9f0b466f8 DIST openocd-esp32-linux-amd64-0.12.0-esp32-20250422.tar.gz 2445546 BLAKE2B 4f88b4215d2df2131c108f7acb87422462ba06cc2373e1d09dfd9fa127b9fab20dae5b1aa5b2a851c25ca903c396ae9ff5c6138831a20db3c5b3a27b9c3b39b7 SHA512 f9d70c8a8beaff8096ef5e01265ce9a17b96d9481727b72df33e86eba2e22d9fcfad865e4b7845d29b48ebb91d016b2ffffc913ef93922957719e44d2f881b36 +DIST openocd-esp32-linux-amd64-0.12.0-esp32-20250707.tar.gz 2489724 BLAKE2B c10986749d4eede30d516f7d1e66cbadde19c45d2299f806504262b4d455ab3932db4416f300946f4e71cd6dd5c1f97ad959064d0b5024d0c3fb0e8a06966334 SHA512 5e57d1256aa08bc56ede84a672f9fbdfa6fa56a9044604b4078b1145822d645c1071e5383bc75dffc173e8121baadd9bd2124f19a7b44aea56e67f7c92ab9017 DIST riscv32-esp-elf-13.2.0_20240530-x86_64-linux-gnu.tar.xz 145544808 BLAKE2B b55513bf4cd6526a438aa5460806f0886438a52932631f5d142bc9c5f0b0affcda7a830b2f9b13c83ed356a4cebd7e3e0c0b5c29e718e880d312b6aa2f61c5b2 SHA512 fb4c868877bd9e68bedceb816c1aeec1736e2876bc1adf3138d59b73f0e9b0fb14eb826c885749b6070e6cf1e8e794f0a53c85bf5c5c896d8b3a6c7e6d0d821b DIST riscv32-esp-elf-14.2.0_20241119-x86_64-linux-gnu.tar.xz 298069324 BLAKE2B dea43004940ef825bca79fbd5f371a3891b8de78f7c145a72aa70228df8604ee482f520efc7dca79d363d68d55f136a6064111e7ea8287b616c9b25ffa7d0ef9 SHA512 7a426fb8cf820d65f0cb1eacf71250d63916222921b90dfd4d98a8064e854cf5fabce20c138a217186df7b04cd722ec23bc86a836956e27318f163c3ed05a188 DIST riscv32-esp-elf-gdb-14.2_20240403-x86_64-linux-gnu.tar.gz 30707431 BLAKE2B 99809fbd5abe99c4890fbf4edd964ee53bc9269b9bb15f487316d0092a9d7aae9d3f9f61f7597f5721aec4f95813908c8ce6a3f6f97cd453d1610a5caa7dc42e SHA512 1ad4854c53f435b08d634f8e5e1a9169037745684b13972876176483badc7ebf5a6c38109e7ac5c3f484df76e82bf790244661ac70b1e52dd3b2fc8a4956e5ff diff --git a/dev-embedded/esp-idf/esp-idf-5.3.3-r1.ebuild b/dev-embedded/esp-idf/esp-idf-5.5.1.ebuild similarity index 75% rename from dev-embedded/esp-idf/esp-idf-5.3.3-r1.ebuild rename to dev-embedded/esp-idf/esp-idf-5.5.1.ebuild index 0d8511c1e5..6f3b475fc5 100644 --- a/dev-embedded/esp-idf/esp-idf-5.3.3-r1.ebuild +++ b/dev-embedded/esp-idf/esp-idf-5.5.1.ebuild @@ -1,27 +1,31 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# TODO: add esp-doc package in order to build documentation +# TODO: add examples USE +# TODO: unbundle mbedtls? + EAPI=8 PYTHON_COMPAT=( python3_{11..13} ) - -VER="13.2.0_20240530" -GDB_VER="14.2_20240403" -OPENOCD_VER="0.12.0-esp32-20241016" +PYTHON_GDB_USE=( python_targets_python3_{11..13} ) +VER="14.2.0_20241119" +GDB_VER="16.2_20250324" +OPENOCD_VER="0.12.0-esp32-20250707" CROSSTOOL_URL="https://github.com/espressif/crosstool-NG/releases/download/esp-${VER}" -inherit estack python-r1 +inherit estack optfeature python-r1 DESCRIPTION="Espressif IoT Development Framework" HOMEPAGE="https://www.espressif.com/" -# See https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.3.txt for information about version dependencies +# See https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.4.txt for information about version dependencies SRC_URI="https://dl.espressif.com/github_assets/espressif/${PN}/releases/download/v${PV}/${PN}-v${PV}.zip -> ${P}.zip https://github.com/espressif/openocd-esp32/releases/download/v${OPENOCD_VER}/openocd-esp32-linux-amd64-${OPENOCD_VER}.tar.gz - https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v${GDB_VER}/xtensa-esp-elf-gdb-${GDB_VER}-x86_64-linux-gnu.tar.gz" -SRC_URI+=" ${CROSSTOOL_URL}/xtensa-esp-elf-${VER}-x86_64-linux-gnu.tar.xz" + https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v${GDB_VER}/xtensa-esp-elf-gdb-${GDB_VER}-x86_64-linux-gnu.tar.gz + ${CROSSTOOL_URL}/xtensa-esp-elf-${VER}-x86_64-linux-gnu.tar.xz" SRC_URI+=" riscv32? ( ${CROSSTOOL_URL}/riscv32-esp-elf-${VER}-x86_64-linux-gnu.tar.xz https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v${GDB_VER}/riscv32-esp-elf-gdb-${GDB_VER}-x86_64-linux-gnu.tar.gz @@ -33,8 +37,11 @@ LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1-2)" KEYWORDS="~amd64" -IUSE="riscv32" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="python-gdb riscv32" +REQUIRED_USE=" + python-gdb? ( || ( ${PYTHON_GDB_USE[@]} ) ) + ${PYTHON_REQUIRED_USE} +" BDEPEND="app-arch/unzip" RDEPEND=" @@ -147,13 +154,30 @@ EOF # Remove unsupported python versions rm "${WORKDIR}"/xtensa-esp-elf-gdb/bin/xtensa-esp-elf-gdb-3.{8..10} || die + if use riscv32; then + rm "${WORKDIR}"/riscv32-esp-elf-gdb/bin/riscv32-esp-elf-gdb-3.{8..10} || die + fi + + # Remove disabled python versions + for i in "${PYTHON_GDB_USE[@]}"; do + if ! has "${i}" "${PYTHON_COMPAT[@]}"; then + rm -f "${WORKDIR}"/xtensa-esp-elf-gdb/bin/xtensa-esp-elf-gdb-3."${i##*_}" || die + if use riscv32; then + rm -f "${WORKDIR}"/riscv32-esp-elf-gdb/bin/riscv32-esp-elf-gdb-3."${i##*_}" || die + fi + fi + done + install_tool xtensa-esp-elf-gdb if use riscv32; then install_tool riscv32-esp-elf-gdb fi - echo "IDF_PATH=/usr/share/${PN}" > 99esp-idf || die - doenvd 99esp-idf + newenvd - 99esp-idf <<-EOF + IDF_PATH=/usr/share/${PN} + ESP_ROM_ELF_DIR=/usr/share/${PN}/tools + OPENOCD_SCRIPTS=/opt/openocd-esp32/share/openocd/scripts +EOF insinto /usr/share/${PN} @@ -161,3 +185,7 @@ EOF find . -name ".git" -exec rm -rf {} \; || die doins -r . } + +pkg_postinst() { + optfeature "gdbgui target" dev-debug/gdbgui +} diff --git a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch b/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch deleted file mode 100644 index 759bb5f63e..0000000000 --- a/dev-python/flask-restx/files/flask-restx-fix-flask-compat.patch +++ /dev/null @@ -1,147 +0,0 @@ -diff --git a/flask_restx/api.py b/flask_restx/api.py -index 5996dd59..bd0413dd 100644 ---- a/flask_restx/api.py -+++ b/flask_restx/api.py -@@ -14,10 +14,6 @@ - from flask import url_for, request, current_app - from flask import make_response as original_flask_make_response - --try: -- from flask.helpers import _endpoint_from_view_func --except ImportError: -- from flask.scaffold import _endpoint_from_view_func - from flask.signals import got_request_exception - - from jsonschema import RefResolver -@@ -45,10 +41,13 @@ - from .postman import PostmanCollectionV1 - from .resource import Resource - from .swagger import Swagger --from .utils import default_id, camel_to_dash, unpack -+from .utils import default_id, camel_to_dash, unpack, import_check_view_func - from .representations import output_json - from ._http import HTTPStatus - -+endpoint_from_view_func = import_check_view_func() -+ -+ - RE_RULES = re.compile("(<.*>)") - - # List headers that should never be handled by Flask-RESTX -@@ -850,7 +849,7 @@ def _blueprint_setup_add_url_rule_patch( - rule = blueprint_setup.url_prefix + rule - options.setdefault("subdomain", blueprint_setup.subdomain) - if endpoint is None: -- endpoint = _endpoint_from_view_func(view_func) -+ endpoint = endpoint_from_view_func(view_func) - defaults = blueprint_setup.url_defaults - if "defaults" in options: - defaults = dict(defaults, **options.pop("defaults")) -diff --git a/flask_restx/utils.py b/flask_restx/utils.py -index 809a29b3..35dec2ae 100644 ---- a/flask_restx/utils.py -+++ b/flask_restx/utils.py -@@ -1,4 +1,6 @@ - import re -+import warnings -+import typing - - from collections import OrderedDict - from copy import deepcopy -@@ -20,6 +22,10 @@ - ) - - -+class FlaskCompatibilityWarning(DeprecationWarning): -+ pass -+ -+ - def merge(first, second): - """ - Recursively merges two dictionaries. -@@ -118,3 +124,43 @@ def unpack(response, default_code=HTTPStatus.OK): - return data, code or default_code, headers - else: - raise ValueError("Too many response values") -+ -+ -+def to_view_name(view_func: typing.Callable) -> str: -+ """Helper that returns the default endpoint for a given -+ function. This always is the function name. -+ -+ Note: copy of simple flask internal helper -+ """ -+ assert view_func is not None, "expected view func if endpoint is not provided." -+ return view_func.__name__ -+ -+ -+def import_check_view_func(): -+ """ -+ Resolve import flask _endpoint_from_view_func. -+ -+ Show warning if function cannot be found and provide copy of last known implementation. -+ -+ Note: This helper method exists because reoccurring problem with flask function, but -+ actual method body remaining the same in each flask version. -+ """ -+ import importlib.metadata -+ -+ flask_version = importlib.metadata.version("flask").split(".") -+ try: -+ if flask_version[0] == "1": -+ from flask.helpers import _endpoint_from_view_func -+ elif flask_version[0] == "2": -+ from flask.scaffold import _endpoint_from_view_func -+ elif flask_version[0] == "3": -+ from flask.sansio.scaffold import _endpoint_from_view_func -+ else: -+ warnings.simplefilter("once", FlaskCompatibilityWarning) -+ _endpoint_from_view_func = None -+ except ImportError: -+ warnings.simplefilter("once", FlaskCompatibilityWarning) -+ _endpoint_from_view_func = None -+ if _endpoint_from_view_func is None: -+ _endpoint_from_view_func = to_view_name -+ return _endpoint_from_view_func -diff --git a/tests/test_utils.py b/tests/test_utils.py -index d98d68d0..fe3a1adb 100644 ---- a/tests/test_utils.py -+++ b/tests/test_utils.py -@@ -98,3 +98,14 @@ def test_value_headers_default_code(self): - def test_too_many_values(self): - with pytest.raises(ValueError): - utils.unpack((None, None, None, None)) -+ -+ -+class ToViewNameTest(object): -+ def test_none(self): -+ with pytest.raises(AssertionError): -+ _ = utils.to_view_name(None) -+ -+ -+class ImportCheckViewFuncTest(object): -+ def test_callable(self): -+ assert callable(utils.import_check_view_func()) - -From 13ac54e4ba513c01ec8e4a23b4e88b7b555cf2f1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Trval?= -Date: Fri, 6 Oct 2023 15:46:13 +0200 -Subject: [PATCH 2/2] modify: include new import_check_view_func in - utils.__all__ to keep nice static checks - ---- - flask_restx/utils.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/flask_restx/utils.py b/flask_restx/utils.py -index 35dec2ae..367527a5 100644 ---- a/flask_restx/utils.py -+++ b/flask_restx/utils.py -@@ -19,6 +19,7 @@ - "not_none", - "not_none_sorted", - "unpack", -+ "import_check_view_func", - ) - - diff --git a/dev-python/plexapi/Manifest b/dev-python/plexapi/Manifest index 65089706e9..c67eaa1d6e 100644 --- a/dev-python/plexapi/Manifest +++ b/dev-python/plexapi/Manifest @@ -1,2 +1,3 @@ DIST plexapi-4.16.1.gh.tar.gz 22524979 BLAKE2B f8a83fc395aed0648f4b5e357934c0efaedb13d15c38cdb1740d0ed3e3fd78e0165b7958ca71b589893170cdebda2a1b1239e91df91095b9f9722f6e3b04b510 SHA512 719a2c6942d4e7b0a4aedbba05fe83ec7e4070db90e6bdb7331698c7c3ae621f96539aa89b548bc57dbb7eaf97a562b7a015746f86609ddbed09ccd5569f8ede DIST plexapi-4.17.0.gh.tar.gz 22526751 BLAKE2B 675c26c044d5b9114d6547ae6cc1cc3647a4aec61796024cda6c3abecfa0207c5e3858e37bef0c8209942dbc8996628f27424f9a04e70d8df8a03dabdcb0eaba SHA512 6125ab436d4514a5fef9cd733f493778911309f79577e81633f1e2f2f04b81e6c2533c5f7eeb4b0e15b1ecd7a99f9319f6580e421b5a9c7ae8356b5217721867 +DIST plexapi-4.17.1.gh.tar.gz 22527237 BLAKE2B f48d777b5d00e27afd505e44e35284ca70187c433893b17e9d1eecfe1a70c2b3485b585362383e7a8df3ac3c47667edfcc5af07f3721c7cf8fea9731fa5ae486 SHA512 741a1806bd52a9ce85fb34bf7a2a42594e4205e7a7dacc827cc8bf5a9da69290af1e79145b912472ded0aff0478c56d996144ef441a8d5bc3c0f7fec82be8358 diff --git a/dev-python/plexapi/plexapi-4.17.1.ebuild b/dev-python/plexapi/plexapi-4.17.1.ebuild new file mode 100644 index 0000000000..cb90823a43 --- /dev/null +++ b/dev-python/plexapi/plexapi-4.17.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# left here in case we switch to pypi +PYPI_PN="PlexAPI" +PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the Plex API." +HOMEPAGE=" + https://pypi.org/project/PlexAPI/ + https://github.com/pkkid/python-plexapi +" + +# pypi release don't have docs +SRC_URI="https://github.com/pkkid/python-plexapi/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +S="${WORKDIR}/python-${P}" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# almost all tests requires a running server +RESTRICT="test" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] +" + +BDEPEND="doc? ( dev-python/sphinx-rtd-theme )" + +distutils_enable_sphinx docs diff --git a/dev-ruby/ruby-lsp/Manifest b/dev-ruby/ruby-lsp/Manifest index 16ad92c93e..707c2011d4 100644 --- a/dev-ruby/ruby-lsp/Manifest +++ b/dev-ruby/ruby-lsp/Manifest @@ -1,4 +1,2 @@ -DIST ruby-lsp-0.23.11.tar.gz 27071970 BLAKE2B 0a86024a40db46670e57570f1047c02f59178388933beea372ce378794f8950aa5ba4272491b2e0fe3c9a55216880c368671fd33d3234527029c8a465b77d62b SHA512 f111192710c6603bb127bff546a3e84d4ef7a3c29823e1400ade475ecee22f1272123a44e86eac89e8dcae57f1584c6f40108b52a1718ff8562c2b7bb8279ad2 -DIST ruby-lsp-0.23.23.tar.gz 35014426 BLAKE2B 7baa50e4898b0d789956a7f786151dc7b11cc8e86d582bb4ce55b5840b319d7052eaec71c8d9786f07ca610db5104bbd5272b1426c25ca61fe8d44e3840fb952 SHA512 db09b0a6fd2c6b295c7635a910697e3b707bf1db1dbc03bfb9946816db7ad1826b51171a014fe9a47321960004f51edc0e4258e0cb0281e182574b7c377d8fbb DIST ruby-lsp-0.26.0.tar.gz 35037573 BLAKE2B 7e3746fed21e3787f88ac807304f303a4d5fd848428a49aa76e9e61169eba541dfcdf90671c9e466b80562744030817b9bf80fe1fae9ed67b425f2dbfebdbda0 SHA512 599e90083af068c7519951397c8890a5ae41244783bb42c4c7d5fb1b5baeaa4a5470290e13b4037425ffce6e50b980963a26e2bb4a4e615f75f2ef934d4f87a3 DIST ruby-lsp-0.26.1.tar.gz 35039087 BLAKE2B 2ba3c7f60e540d1e778fd581d3e04d19c72a9af9e53bb2d0e31663120ead2dfd2cd164b4bf7df82f9e79178c74fc0562e63795a2da0f41e0b041ea74ed6cedf5 SHA512 d82d5ea5a5276cf2019b1f5a834d42e12d476fa3f38aafae379dad811d06c08cbe9bd8cc163661af9087514b654ff172ed2938e590dfe9477646becaef51dc45 diff --git a/dev-ruby/ruby-lsp/ruby-lsp-0.23.11-r1.ebuild b/dev-ruby/ruby-lsp/ruby-lsp-0.23.11-r1.ebuild deleted file mode 100644 index cd3b0fb963..0000000000 --- a/dev-ruby/ruby-lsp/ruby-lsp-0.23.11-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" -RUBY_FAKEGEM_BINDIR="exe" # 'bin' contains only testing functions -RUBY_FAKEGEM_EXTRAINSTALL="static_docs VERSION" -USE_RUBY="ruby31 ruby32 ruby33 ruby34" -inherit ruby-fakegem - -DESCRIPTION="An opinionated language server for Ruby" -HOMEPAGE="https://shopify.github.io/ruby-lsp" -SRC_URI="https://github.com/Shopify/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -# TODO: if necessary create extra packages with test dependencies -# currently tests would require many more gems/ebuilds -RUBY_FAKEGEM_RECIPE_TEST="none" - -DEPEND+=" - >=dev-ruby/prism-1.2 =dev-ruby/rbs-3 =dev-ruby/sorbet-runtime-0.5.10782 -" - -each_fakegem_test() { - ewarn "Tests disabled due requiring ~10 extra gems to be installed, most of which do not have ebuilds" - default -} diff --git a/dev-ruby/ruby-lsp/ruby-lsp-0.23.23-r1.ebuild b/dev-ruby/ruby-lsp/ruby-lsp-0.23.23-r1.ebuild deleted file mode 100644 index c80a2bfc49..0000000000 --- a/dev-ruby/ruby-lsp/ruby-lsp-0.23.23-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" -RUBY_FAKEGEM_BINDIR="exe" # 'bin' contains only testing functions -RUBY_FAKEGEM_EXTRAINSTALL="static_docs VERSION" -USE_RUBY="ruby31 ruby32 ruby33 ruby34" -inherit ruby-fakegem - -DESCRIPTION="An opinionated language server for Ruby" -HOMEPAGE="https://shopify.github.io/ruby-lsp" -SRC_URI="https://github.com/Shopify/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -# TODO: if necessary create extra packages with test dependencies -# currently tests would require many more gems/ebuilds -RUBY_FAKEGEM_RECIPE_TEST="none" - -DEPEND+=" - >=dev-ruby/prism-1.2 =dev-ruby/rbs-3 =dev-ruby/sorbet-runtime-0.5.10782 -" - -each_fakegem_test() { - ewarn "Tests disabled due requiring ~10 extra gems to be installed, most of which do not have ebuilds" - default -} diff --git a/games-util/xone/Manifest b/games-util/xone/Manifest index 7d4b6bae8b..e1c4b24e6e 100644 --- a/games-util/xone/Manifest +++ b/games-util/xone/Manifest @@ -1,6 +1,6 @@ -DIST xone-0.3.1.tar.gz 64731 BLAKE2B a55fad3ffc6b53b20a1bf8118a8b4bc6418c0a89e2ffb50b459484d3c4463210634a6db9836bf289b9249d7c2aa3b56dd3e16069efdc4d63fbc4f1e89c088af9 SHA512 fa741765c63cdd57a1428ef304dc2fcecd4b76379ce472c3abcebb7f83c7ac1568e563cd43b4e944dffe1ab314a80f088edb8654d40f9ec1686a74e907b41f6c DIST xone-0.3.3.tar.gz 65259 BLAKE2B 3aa90cf1dff1b70895a2c66b7ea3f68536243cb6ab72a4c7a7fa5ace2e05554844ecdbb7e29ac79747aa876cefa345d0b9c1c9f2e383315abe432faf85abd7b6 SHA512 1f512aba5c781656a8e7d65ce7b5a440c25446092b3ed6cbbeb3a44e091c1eb90d7248aa5a5b7c334131b1f6d1b4bc6d49acb04deb7ecd463df66fce5c051997 DIST xone-0.4.2.tar.gz 75452 BLAKE2B 390cfde3f40aa6dd8b01bd449502fb21a4aeaff647aed063e7bfb0cde6f8e4717172605ab57ac8de91ee61354b55f74fbcd07d51438cd83d8cbc7adb5de5722e SHA512 c1ec4fa20fff43c8f9681415df2a230b99ec58b4586ab94ede615d6aa195ee74ac5b5b26f6a53d40e05bce1842dcc8f1b82cd890cd4fd41bc2543603b9a6db07 DIST xone-0.4.3.tar.gz 75786 BLAKE2B 9411955aeb03fb5a2c605bd8d6cb74150672a86b9373d35109529aa5da4803defff75f5d2cd7e91e21e6dd04bd4c5f5545dcfbd8e35d40c9f31f969115cbc6f8 SHA512 9ca71ffabfaf3fa89cbc73b99b99ce0d7a11bf47c00344a3e9a6b0bac00ba79bc0d2ba866d3bad78c20bd05aef965d706acde62e46aef3075c91fe0b88fa1fba +DIST xone-0.4.4.tar.gz 76531 BLAKE2B 16f1f77d130c34d067dd385f5ccf5755ac89b91660160f340afe0bca2937b4530084908384b0e2c32f1427c314bbce8720eea7493df0b7672434e38bbac03846 SHA512 51b2b6417db69cc8e150bf94e191e5178b3e0e94ddf41f24aaf672c4d589195222c746bbe2ccf55ccf75bffa9dc29ac6fe3dbbc67d9493f55d98d26aeff5601e DIST xone-driver-201512-20810869_8ce2975a7fbaa06bcfb0d8762a6275a1cf7c1dd3.cab 217326 BLAKE2B 673d1daa4f40be22663be48e4a66de276a92d340d3f6be4793c6e307c336b191785d13854c2deecc619c9f23bf877347836e472ac9d405f562c84923eeeeac5f SHA512 fa2e5a0da4fa10716230d878b846c80049b8d4e09c71143ec5d21770133871dc5811068998062812075ebcdf1a222d1c4f5e7198b2fc755b6aa01573d515ba18 DIST xone-driver-201707-1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab 199891 BLAKE2B f531a9f4b8220ee4501431b308ee6e29a8dea26467020df25b7fa22228543cc560e1170d13b1cb3490c64c48bf610e3fb7ddfb743e4a2028f5980e02d0c36790 SHA512 0906debd6c1f4706348ec1b1cbf233ea2c45bbc0b8882593740964036808722f5bb701f43da803320609e02072cd16dada572d337fd4c05cc1cf6dde6fd38908 diff --git a/games-util/xone/xone-0.3.1.ebuild b/games-util/xone/xone-0.4.4.ebuild similarity index 76% rename from games-util/xone/xone-0.3.1.ebuild rename to games-util/xone/xone-0.4.4.ebuild index c7666ffec6..d75e88f1e0 100644 --- a/games-util/xone/xone-0.3.1.ebuild +++ b/games-util/xone/xone-0.4.4.ebuild @@ -5,20 +5,18 @@ EAPI=8 inherit linux-mod-r1 -COMMIT="197b160f7806d7d27117b12198cacb7656a07f1f" XONE_DRIVER_VERSION="201707-1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e" XONE_DRIVER_VERSION_045E_02E6="201512-20810869_8ce2975a7fbaa06bcfb0d8762a6275a1cf7c1dd3" DESCRIPTION="Linux kernel driver for Xbox One and Xbox Series X|S accessories" HOMEPAGE="https://github.com/dlundqvist/xone" SRC_URI=" - mirror+https://github.com/dlundqvist/xone/archive/${COMMIT}.tar.gz -> ${P}.tar.gz + mirror+https://github.com/dlundqvist/xone/archive/v${PV}.tar.gz -> ${P}.tar.gz https://catalog.s.download.windowsupdate.com/c/msdownload/update/driver/drvs/${XONE_DRIVER_VERSION:0:4}/${XONE_DRIVER_VERSION:4:2}/${XONE_DRIVER_VERSION:7}.cab -> ${PN}-driver-${XONE_DRIVER_VERSION}.cab https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/${XONE_DRIVER_VERSION_045E_02E6:0:4}/${XONE_DRIVER_VERSION_045E_02E6:4:2}/${XONE_DRIVER_VERSION_045E_02E6:7}.cab -> ${PN}-driver-${XONE_DRIVER_VERSION_045E_02E6}.cab " -S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="GPL-2+ MS-TOU" SLOT="0" @@ -47,15 +45,15 @@ src_prepare() { src_compile() { local modlist=( - xone-wired=kernel/drivers/input/joystick - xone-dongle=kernel/drivers/input/joystick - xone-gip=kernel/drivers/input/joystick - xone-gip-gamepad=kernel/drivers/input/joystick - xone-gip-headset=kernel/drivers/input/joystick - xone-gip-chatpad=kernel/drivers/input/joystick - xone-gip-madcatz-strat=kernel/drivers/input/joystick - xone-gip-madcatz-glam=kernel/drivers/input/joystick - xone-gip-pdp-jaguar=kernel/drivers/input/joystick + xone_wired=kernel/drivers/input/joystick + xone_dongle=kernel/drivers/input/joystick + xone_gip=kernel/drivers/input/joystick + xone_gip_gamepad=kernel/drivers/input/joystick + xone_gip_headset=kernel/drivers/input/joystick + xone_gip_chatpad=kernel/drivers/input/joystick + xone_gip_madcatz_strat=kernel/drivers/input/joystick + xone_gip_madcatz_glam=kernel/drivers/input/joystick + xone_gip_pdp_jaguar=kernel/drivers/input/joystick ) diff --git a/sys-fs/jefferson/files/jefferson-use-python-lzo.patch b/sys-fs/jefferson/files/jefferson-use-python-lzo.patch deleted file mode 100644 index 9905333101..0000000000 --- a/sys-fs/jefferson/files/jefferson-use-python-lzo.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/jefferson/jffs2.py b/jefferson/jffs2.py -index ab1ac8f..1607bdc 100644 ---- a/jefferson/jffs2.py -+++ b/jefferson/jffs2.py -@@ -9,7 +9,7 @@ import zlib - from pathlib import Path - - import cstruct --from lzallright import LZOCompressor as lzo -+import lzo - - import jefferson.compression.jffs2_lzma as jffs2_lzma - import jefferson.compression.rtime as rtime -@@ -180,7 +180,7 @@ class Jffs2_raw_inode(cstruct.CStruct): - elif self.compr == JFFS2_COMPR_LZMA: - self.data = jffs2_lzma.decompress(node_data, self.dsize) - elif self.compr == JFFS2_COMPR_LZO: -- self.data = lzo.decompress(node_data) -+ self.data = lzo.decompress(node_data, False, self.dsize) - else: - print("compression not implemented", self) - print(node_data.hex()[:20]) diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest index 4047fba743..8370eb8730 100644 --- a/www-client/zen-bin/Manifest +++ b/www-client/zen-bin/Manifest @@ -1,5 +1,3 @@ -DIST zen-bin-1.14.10b.tar.xz 81394548 BLAKE2B 4601cb0bf1f884212858569341c1d65c4c2d676d036aa00a4491abf9ab6b19f556746c7f2340bed4627918adc413e268b62c282c17896548d307e75f49ffad15 SHA512 a6c4f58f1a9b8c2bfefe2c432ef884de2164d1cc733e7482d20a0af5fd3c33a108d90ad26d08cace0b7a6ee76ad8396a043c15c9ca44fcf2e07c1483328f1539 DIST zen-bin-1.14.11b.tar.xz 81402140 BLAKE2B 8a3d8ed422299c18dc607a8686aa70d29b3a7d072bf955644bf0a47263d6a17ee47ee92cd645dbd86b24c3edcc55d9987436a16c80ae22808a678a7f238528f6 SHA512 be016bcc14f66f3db49f5015b24c58402fbcf5f970279f9bc0bcba300a331cb84e6695c75966545721ecb07c3f9539d82ffe196dd2249335922d9dab6a0228ff -DIST zen-bin-1.14.8b.tar.xz 81379332 BLAKE2B 0521f7f4e2996a86559702754f999a67df214aa226e2bbbd6d6ffebcbf39dd47b394fd29fabd50fbf06d81173f59a1246cb402b11234e7f2aa197dc0ebb179e5 SHA512 068cde3ef8ddcfea6de62e5e220569db8dfcf7bb91a913e58a982196d494d3ce9a1f5e2c19f7017e80d4c0925028f73a502a26268b849d2a67a082848d4a5b84 -DIST zen-bin-1.14.9b.tar.xz 81407468 BLAKE2B ed3fe124e57fd48aa3c84a4a3c9bb27f761079308df7d2d7d7f84b656a0658b9e492a057c56ef848674e47c5c1626fdbba4bd2dd64341674d49c86b4bb8b17df SHA512 4ecd1f0b391928b0341bcc7ced0fcd7fc8bfa7664cbaaba39015dbebc2d7f755eaa41faef6b2d925bcf2d4b5515c2615a7b6097f7531c7fdd75ac9d824d35f8a +DIST zen-bin-1.15.2b.tar.xz 82073980 BLAKE2B e0a3447dac1618cbfeb82847abb3a1c8b773cea2562e840c988edbde484d527bcc0b45e2452477b87b4333b58a86f207ffb40e25fad6491cc0a459df51863ccc SHA512 1cb028a3c12d5f6314e4c231c29c82f090e819d354ba06b7ac92b72d057b995805799433506104b6b60fa4bc9f3ff47ff888f9c7003821e965a0a9f5075d0a9a DIST zen-bin-1.15b.tar.xz 81942456 BLAKE2B d875f82c2345426d27bf9943c6e7d905ca752be78fef203b276237f0877e83a85242c5db3bc03818485981b18ec6658207c5d51c2dd92cbe11d33c2b05e905ad SHA512 63f5df6c82c134ed2ddee297d5af9d2569e0920d5567492800f153151c880e336328eff0593e70a0b2deec56f33f84cc95507c4874036e4114a69678856a9ba2 diff --git a/www-client/zen-bin/zen-bin-1.14.8b.ebuild b/www-client/zen-bin/zen-bin-1.14.8b.ebuild deleted file mode 100644 index a2ebb90e8d..0000000000 --- a/www-client/zen-bin/zen-bin-1.14.8b.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork" -HOMEPAGE="https://zen-browser.app/" -SRC_URI="https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}.tar.xz" - -S="${WORKDIR}/zen" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - app-accessibility/at-spi2-core:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - media-libs/mesa - net-print/cups - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango -" -RDEPEND="${DEPEND}" - -inherit desktop xdg-utils - -src_install() { - #create dest dir - local destdir="/opt/zen" - insinto "${destdir}" - doins -r * - #create a symlink to the binary - dosym "${destdir}/zen-bin" "/usr/bin/zen" || die - #add icons - local size - for size in 16 32 48 64 128; do - newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png - done - #create desktop file - make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" - #handle permissions of destdir files - fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest} - fperms 0750 "${destdir}"/pingsender - # Disable auto-updates - insinto ${destdir}/distribution - doins "${FILESDIR}/policies.json" -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - elog "For optimal performance and compatibility, please ensure" - elog "that you have the latest graphics drivers installed." -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/www-client/zen-bin/zen-bin-1.14.9b.ebuild b/www-client/zen-bin/zen-bin-1.14.9b.ebuild deleted file mode 100644 index a2ebb90e8d..0000000000 --- a/www-client/zen-bin/zen-bin-1.14.9b.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork" -HOMEPAGE="https://zen-browser.app/" -SRC_URI="https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}.tar.xz" - -S="${WORKDIR}/zen" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - app-accessibility/at-spi2-core:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - media-libs/mesa - net-print/cups - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango -" -RDEPEND="${DEPEND}" - -inherit desktop xdg-utils - -src_install() { - #create dest dir - local destdir="/opt/zen" - insinto "${destdir}" - doins -r * - #create a symlink to the binary - dosym "${destdir}/zen-bin" "/usr/bin/zen" || die - #add icons - local size - for size in 16 32 48 64 128; do - newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png - done - #create desktop file - make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" - #handle permissions of destdir files - fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest} - fperms 0750 "${destdir}"/pingsender - # Disable auto-updates - insinto ${destdir}/distribution - doins "${FILESDIR}/policies.json" -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - elog "For optimal performance and compatibility, please ensure" - elog "that you have the latest graphics drivers installed." -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/www-client/zen-bin/zen-bin-1.14.10b.ebuild b/www-client/zen-bin/zen-bin-1.15.2b.ebuild similarity index 100% rename from www-client/zen-bin/zen-bin-1.14.10b.ebuild rename to www-client/zen-bin/zen-bin-1.15.2b.ebuild