Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-07-08 11:07:01 +00:00
39 changed files with 319 additions and 431 deletions

View File

@@ -10,18 +10,18 @@ MY_PN=${PN%%-bin}
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Java language server"
SRC_URI="https://download.eclipse.org/jdtls/snapshots/jdt-language-server-${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
HOMEPAGE="https://github.com/eclipse/eclipse.jdt.ls"
SRC_URI="https://download.eclipse.org/jdtls/snapshots/jdt-language-server-${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="EPL"
S="${WORKDIR}"
LICENSE="EPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=virtual/jre-1.8:*"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
JDTLS_LIBEXEC="/usr/libexec/${MY_PN}"
JDTLS_SHARE="/usr/share/${MY_PN}"
@@ -50,4 +50,3 @@ pkg_postinst() {
elog
elog "They will be recreated cleanly on the next launch."
}

View File

@@ -1,11 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
<maintainer type="person">
<email>dangduong31205@gmail.com</email>
<name>Nguyen Dinh Dang Duong</name>
</maintainer>
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
<maintainer type="person">
<email>dangduong31205@gmail.com</email>
<name>Nguyen Dinh Dang Duong</name>
</maintainer>
<upstream>
<remote-id type="github">eclipse/eclipse.jdt.ls</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST croissant-0.0.1.tar.gz 374425 BLAKE2B 54f6bd31d703b6a8383afcfe2d22b84c42b0543149df73c7e8e25d0fd97a59988867f0bd38d38aeed65fb222c31ac6a5a757fbb51041b3f288c6b0e193181ce1 SHA512 98fee3c1df77795c166f96661a7f9547fa7012665a134a131c8445f83606fa2c84d93e0eacb7c887d439ddd825734001a8218f2c9bbd0dd327f46ffd1596291e

View File

@@ -0,0 +1,50 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# sirocco dependency does not yet support newer Lua implementations
LUA_COMPAT=( lua5-1 luajit )
inherit lua
DESCRIPTION="A Lua REPL and debugger "
HOMEPAGE="https://github.com/giann/croissant"
EGIT_COMMIT="dc633a0ac3b5bcab9b72b660e926af80944125b3"
SRC_URI="https://github.com/giann/croissant/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="
dev-lua/lua-term[${LUA_USEDEP}]
dev-lua/sirocco[${LUA_USEDEP}]
dev-lua/hump[${LUA_USEDEP}]
dev-lua/lpeg[${LUA_USEDEP}]
dev-lua/lua-argparse[${LUA_USEDEP}]
dev-lua/compat53[${LUA_USEDEP}]
${LUA_DEPS}
"
DEPEND="${RDEPEND}"
lua_src_install() {
insinto "$(lua_get_lmod_dir)/${PN}"
doins croissant/*.lua
}
src_install() {
lua_foreach_impl lua_src_install
dobin bin/croissant
dodoc README.md
if use examples; then
docinto examples
dodoc debugtest.lua
fi
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>suleyman@farajli.net</email>
<name>Suleyman Farajli</name>
</maintainer>
<upstream>
<remote-id type="github">giann/croissant</remote-id>
</upstream>
</pkgmetadata>

1
dev-lua/lua-tui/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST lua-tui-0_pre20190215.tar.gz 15561 BLAKE2B cd6de4547755b82691adfded3eddd58bc494fc43f0c6efc6f7054c0250975bd742772e1235242d45e1912f54dbd160f3382f9e869cb996e2191c179fb455f966 SHA512 27a3eec72827367adb814689e35d71e371affc1a679087f65e21e0a4fe36ad8f5e0d85eaa387fff4c11c3a759db247746064ca85fcb0ec227f7dc22473a0e817

View File

@@ -0,0 +1,42 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..3} luajit )
inherit lua
DESCRIPTION="Lua library for creating a terminal UI "
HOMEPAGE="https://github.com/daurnimator/lua-tui"
EGIT_COMMIT="9e854fc22074d73a26fbf25cf24690c60b042b11"
SRC_URI="https://github.com/daurnimator/lua-tui/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="${LUA_DEPS}"
RDEPEND="${DEPEND}"
lua_enable_tests busted
lua_src_install() {
insinto "$(lua_get_lmod_dir)"
doins -r tui
}
src_install() {
lua_foreach_impl lua_src_install
dodoc README.md BUGS.md
if use examples; then
docinto examples
dodoc examples/*.lua
docompress -x /usr/share/doc/${PF}/examples
fi
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>suleyman@farajli.net</email>
<name>Suleyman Farajli</name>
</maintainer>
<upstream>
<remote-id type="github">daurnimator/lua-tui</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST lua-utf8-simple-0_pre20150305.tar.gz 4505 BLAKE2B 0362ef32dd135a1937e8f03a709b3fc25800847e4fbc32cf0f6824b3b1e5c02e6536e2b222b25892d042dbe9ea9020b24bd4c8be5bf0d5e592b22a4d6319c12f SHA512 54e1a47e8e53cf4ba6bf02b40fe37a6533d5b2f08b5a6d3a00cf7efa52aa44ad2680863c9a016307cc95163a2a539c676d5d69a35bde3ebfacfe802734d378fa

View File

@@ -0,0 +1,42 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..3} luajit )
inherit lua
DESCRIPTION="Basic UTF8-handling functions for Lua"
HOMEPAGE="https://github.com/blitmap/lua-utf8-simple"
EGIT_COMMIT="7ef030750d8e408ac5d724aefab2ec8769731005"
SRC_URI="https://github.com/blitmap/lua-utf8-simple/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="${LUA_DEPS}"
RDEPEND="${DEPEND}"
lua_src_test() {
${ELUA} shitty_testcases.lua || die
}
src_test() {
lua_foreach_impl lua_src_test
}
lua_src_install() {
insinto $(lua_get_lmod_dir)
doins utf8_simple.lua
}
src_install() {
lua_foreach_impl lua_src_install
dodoc README.md
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>suleyman@farajli.net</email>
<name>Suleyman Farajli</name>
</maintainer>
<upstream>
<remote-id type="github">blitmap/lua-utf8-simple</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -29,8 +29,8 @@ lua_enable_tests busted
lua_src_install() {
insinto "$(lua_get_lmod_dir)"
doins wcwidth.lua
insinto "$(lua_get_lmod_dir)/${PN}"
doins wcwidth/*.lua
insinto "$(lua_get_lmod_dir)"
doins -r wcwidth
}
src_install() {

View File

@@ -20,19 +20,21 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="${LUA_DEPS}"
RDEPEND="
dev-lua/lua-term[${LUA_USEDEP}]
dev-lua/hump[${LUA_USEDEP}]
dev-lua/lua-wcwidth[${LUA_USEDEP}]
DEPEND="
dev-lua/compat53[${LUA_USEDEP}]
dev-lua/hump[${LUA_USEDEP}]
dev-lua/lua-bit32[${LUA_USEDEP}]
dev-lua/lua-term[${LUA_USEDEP}]
dev-lua/lua-tui[${LUA_USEDEP}]
dev-lua/lua-utf8-simple[${LUA_USEDEP}]
dev-lua/lua-wcwidth[${LUA_USEDEP}]
${LUA_DEPS}
"
RDEPEND="${DEPEND}"
lua_src_compile() {
local compiler=(
"$(tc-getCC)"

View File

@@ -1,2 +0,0 @@
DIST b2sdk-2.3.0.tar.gz 390949 BLAKE2B e14c9fc56b7ed66350b8d73456dd50b0f6fdb40d7a6fe73cf7950afcb25bb5257a63bb361d8cbca99116b4999a2b0195967b4e08aff5ca9aaf5c16e4b4b532eb SHA512 29ba07581d0e587b413396f128d7fe14f8ac25ea0553eef69e1c428823690974d9373db727321f9838886a07946c36defdd5bae24d31266751d6b1a2f05968c6
DIST b2sdk-2.8.1.tar.gz 404058 BLAKE2B 69a74d995a7ff91f252676edfbe274e6239ec70f95ccaf5f357fd13f482dea433074b471bd06fc1ee7f88bdc964d3dd5571441491dcfa333f8101eeb8b9b3ad8 SHA512 20cc8b4f28f010588965a5ca6300b41d914ecdba57f28ab0719c4ad52293d41e5c62648a178a5202614cdc65f22a9e48c5dd966a682daa98be07fdb04235f318

View File

@@ -1,52 +0,0 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517="pdm-backend"
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1
DESCRIPTION="The client library for BackBlaze's B2 product"
HOMEPAGE="https://github.com/Backblaze/b2-sdk-python"
SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/b2-sdk-python-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
export PDM_BUILD_SCM_VERSION=${PV}
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
')
"
distutils_enable_tests pytest
# tqdm dependency is temporary, see
# https://github.com/Backblaze/b2-sdk-python/issues/489
BDEPEND+=" test? (
$(python_gen_cond_dep '
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.66.2[${PYTHON_USEDEP}]
')
)"
PATCHES=(
# migrate from pytest-lazy-fixture to pytest-lazy-fixtures
"${FILESDIR}/${P}-lazy-fixtures.patch"
)
# These tests seem to require some b2 authentication (they're integration tests
# so this is not unreasonable)
EPYTEST_DESELECT=(
# These integration tests require an actual connection to backblaze, which
# can't typically work in the sandbox
test/integration
)

View File

@@ -1,48 +0,0 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517="pdm-backend"
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="The client library for BackBlaze's B2 product"
HOMEPAGE="https://github.com/Backblaze/b2-sdk-python"
SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/b2-sdk-python-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
export PDM_BUILD_SCM_VERSION=${PV}
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/annotated-types-0.7.0[${PYTHON_USEDEP}]
>=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
')
"
distutils_enable_tests pytest
# tqdm dependency is temporary, see
# https://github.com/Backblaze/b2-sdk-python/issues/489
BDEPEND+=" test? (
$(python_gen_cond_dep '
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.66.2[${PYTHON_USEDEP}]
')
)"
# These tests seem to require some b2 authentication (they're integration tests
# so this is not unreasonable)
EPYTEST_DESELECT=(
# These integration tests require an actual connection to backblaze, which
# can't typically work in the sandbox
test/integration
)

View File

@@ -1,56 +0,0 @@
Migrate from pytest-lazy-fixture to pytest-lazy-fixtures.
https://github.com/Backblaze/b2-sdk-python/issues/484
--- a/test/unit/account_info/fixtures.py
+++ b/test/unit/account_info/fixtures.py
@@ -11,6 +11,7 @@ from __future__ import annotations
import pytest
from apiver_deps import InMemoryAccountInfo, SqliteAccountInfo
+from pytest_lazy_fixtures import lf
@pytest.fixture
@@ -84,8 +85,8 @@ def sqlite_account_info(sqlite_account_info_factory):
@pytest.fixture(
params=[
- pytest.lazy_fixture('in_memory_account_info_factory'),
- pytest.lazy_fixture('sqlite_account_info_factory'),
+ lf('in_memory_account_info_factory'),
+ lf('sqlite_account_info_factory'),
]
)
def account_info_factory(request):
@@ -94,8 +95,8 @@ def account_info_factory(request):
@pytest.fixture(
params=[
- pytest.lazy_fixture('in_memory_account_info'),
- pytest.lazy_fixture('sqlite_account_info'),
+ lf('in_memory_account_info'),
+ lf('sqlite_account_info'),
]
)
def account_info(request):
--- a/test/unit/test_cache.py
+++ b/test/unit/test_cache.py
@@ -13,7 +13,7 @@ from dataclasses import dataclass
import pytest
from apiver_deps import AuthInfoCache, DummyCache, InMemoryAccountInfo, InMemoryCache
-from pytest_lazyfixture import lazy_fixture
+from pytest_lazy_fixtures import lf
@pytest.fixture
@@ -32,8 +32,8 @@ def auth_info_cache():
@pytest.fixture(
- scope="class", params=[lazy_fixture('in_memory_cache'),
- lazy_fixture('auth_info_cache')]
+ params=[lf('in_memory_cache'),
+ lf('auth_info_cache')]
)
def cache(request):
return request.param

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ezzieyguywuf@gmail.com</email>
<name>Wolfgang E. Sanyer</name>
</maintainer>
<longdescription lang="en">
The command-line tool that gives easy access to all of the capabilities
of B2 Cloud Storage.
This program provides command-line access to the B2 service.
</longdescription>
<upstream>
<remote-id type="github">Backblaze/b2-sdk-python</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,5 +1,5 @@
DIST cloudflare-2.19.4.gh.tar.gz 151397 BLAKE2B c91c95f52314c5177d823ef8f827ea2f76f6cc703260449aea12d54c1b77d061feca15d4bb845f84cfb4fd80789e5064e54d7530daf546d54d17054b9e0b4fda SHA512 8ae11e73760c57b610abfe5e2c8fdc83c2e0b9e07340884925ec9ac3bf5b40b4edf39b2b8ce7330538369d7573146a2ddac195efb0efb4ff657f75fdacb31aed
DIST cloudflare-4.1.0.gh.tar.gz 1919098 BLAKE2B 00282a75357e1b6368b9c36f9abdf52547d42850f74c52d0cd2b1b02b26a717942167db59ba025eb1a6e874697299c79257c8e796874abcc742a9350374e2511 SHA512 bc61518791adc30b472b64407f336f5dd94ad5961c7c1fa474750b8d2579411db78592dd30ac731b05023c29105928bda0005185b07d54cf8b88f100eb1bf5ca
DIST cloudflare-4.2.0.gh.tar.gz 1995070 BLAKE2B 0c5fc330a0aa5557c7ca39f49e2d94b93b7a6eac16752dcf7d4ff96f9464176831f989e13f54a988d8a2afdddf21fcec43944ab125291eb38b9ed0b0db62331a SHA512 0aa994d4109ab819a3e5d190863bde7ef657b0582350f530cea3dc9de4cb34a99f00e23413f35b4a484c75c8e88c184bde59c8e91354dffbdc558645270a21a1
DIST cloudflare-python-4.1.0-prism.tar.gz 10768260 BLAKE2B baf23e1010417b770a7c26f7e806305a6431c917df527feb7277f72e35220e210b570cc67791fca911b450b0056c9d10824f6f90893abd6bd4b9bef933b4088d SHA512 05742179f53ce22bb9d3318069415bba9e94110ba14ea6a0eda991107c448fe35fb653d2863c4e3421e1062be2c8a963d2cc6bbe1187d9057378d144ce1fb3ac
DIST cloudflare-4.3.1.gh.tar.gz 2025113 BLAKE2B 05020324460b8857d21b2aac16e4c7fe316d5ad0bc0999a4c67e276d258cfd2cc4c85aa0fe82ed67931a2b02a3b90d39d9fd04eb3a6f8647a750bafdbe92e8a7 SHA512 36865ab8e88b2eaa3e0a5ad353db45bce55f166a96860f044bd88750de6a08a489e92492c721972be5582de551f31ba154ee6dccd386ca1b73c10864d185539a
DIST cloudflare-python-4.2.0-prism.tar.gz 10827264 BLAKE2B e2231d8652fd0e33f1098687532520b7b24a7eec6e213470c8063f2fe306437f216c82cd62af23fec650224124fc161d85f4c098161dd4a9bc425c2a52da0e45 SHA512 68a5e15b7922752f600d5a02773dd6c683dcdcf12895dc80c3d16aeab52e302f9a90ab4fc4cc123374db74acaef5cd6618ac052dab8f8932206837f7f862556a
DIST cloudflare-python-4.3.1-prism.tar.gz 10857296 BLAKE2B b22423b4cc641243517de470c86597a13faab5aa3caa3bc6ffa2a1bcd53ae72ffdebc0eb7f693911ab4b36adf46afb8216bcb9e76085f85147b866c532147757 SHA512 5df269b007905518c5fa500d21ebabc3ec5ee06160a1454ba080c1dd0feb6c7e65a8f3684ec243e15eb28c7e4ac91c2861f83d5314576985501ae64645b70e94

View File

@@ -44,6 +44,7 @@ BDEPEND="test? (
${RDEPEND}
)"
EPYTEST_XDIST=1
distutils_enable_tests pytest
RESTRICT+=" !test? ( test )"
@@ -74,6 +75,11 @@ python_test() {
tests/test_client.py::TestAsyncCloudflare::test_copy_build_request
tests/test_client.py::TestCloudflare::test_copy_build_request
tests/test_client.py::TestAsyncCloudflare::test_get_platform
)
# Doesn't have authentication setup correctly, broken upstream too
local EPYTEST_IGNORE=(
tests/api_resources/cloudforce_one/threat_events/datasets/test_health.py
tests/api_resources/radar/
)
epytest
}

View File

@@ -1,3 +0,0 @@
DIST np2kai-22.tar.gz 3189290 BLAKE2B 74856a40ae57a71b1958f5c546ee3c907b1b1f5975715b21ce5a6c3a044a4c9ebf425e6ed1819e2d688e48be3853bb5f161e3e0c5031cd316359f7ebce0d5418 SHA512 47cd75b251dc0382537769225297dd155bb7b95a1fba7417a9c06b56f4fc89b0c38de101a68da8e8d776d456574aa6bf7f4e1490b3666f20469d4bf18e72b6dd
DIST np2kai-22_p20210211.tar.gz 3121849 BLAKE2B 21679e1d2a6bc9877ffeb256ddb19ca613e6f1abaf643087bdcff8b92e77aee9099d6dc7c574fe25407f092e6401f3d974463bedd6898e09d56d6e3a1465f93e SHA512 a9e9413a9257496498e5b289d4346072bc9582437691a4e2aa68d93fb1a1a5b12a0ff526cd436a6492629f77724e87564635dc83b53c4c1fe9341ea36597c251
DIST sdl2-cmake-modules-ad006a3daae65a612ed87415037e32188b81071e.tar.gz 11996 BLAKE2B 751cde3370594b20520fdedef35fc6aa1806932f3fbe01c6068b0dbe696d113df1afbfe6e84eb7c5166afb4cb12a619282855e7f050374bc49d7cd948e5cb808 SHA512 72b20cce9073d554df67c6efa23e77da07fadce064535d03d943aab05a0bfab2b0253fa4fc04e98f9e9aa169429f0597f825867cebf71c4048032fe85cf61de3

View File

@@ -1,10 +0,0 @@
--- x11/autogen.sh 2021-04-14 11:11:20.183543382 -0300
+++ x11/autogen.sh 2021-04-14 11:12:06.520539255 -0300
@@ -4,7 +4,6 @@
automake -aci --foreign
autoconf
rm -f config.h.in~
-./configure "$@"
rm -f ../np2tool/np2tool.d88
( cd ../np2tool && unzip -j -o np2tool.zip )
make maintainer-clean > /dev/null 2>&1

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>linobigatti@protonmail.com</email>
<name>Lino Bigatti</name>
</maintainer>
<longdescription lang="en">
Neko project 2 kai (np2kai for short) is a PC-9801 emulator
written in C and C++. It allows for i286, ia32 and haxm emulation.
It is based on Neko project II.
</longdescription>
<use>
<flag name="haxm">Enable haxm emulation</flag>
<flag name="i286">
Enable i286 emulation
USE="ia32" or USE="haxm" will disable it,
unless all 3 emulation USE flags are set
</flag>
<flag name="ia32">Enable ia32 emulation</flag>
<flag name="sdl">Use <pkg>media-libs/libsdl</pkg> instead of <pkg>media-libs/libsdl2</pkg></flag>
<flag name="sdl2">Use <pkg>media-libs/libsdl2</pkg> instead of <pkg>media-libs/libsdl</pkg></flag>
<flag name="X">Build support for X</flag>
</use>
<upstream>
<remote-id type="github">AZO234/NP2kai</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,79 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="NP2kai is an emulator for the japanese PC-98 series of computers"
HOMEPAGE="https://domisan.sakura.ne.jp/article/np2kai/np2kai.html"
SRC_URI="https://github.com/AZO234/NP2kai/archive/refs/tags/rev.${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/NP2kai-rev.${PV}/x11"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="sdl +sdl2 +i286 ia32 haxm"
REQUIRED_USE="^^ ( sdl sdl2 )"
# Configure crashes if sdl AND sdl2 are not present, even if the options are off
# It also requires sdl2-ttf even when building for sdl
# TODO: test musl
# TODO: migrate from gtk2 to gtk3
DEPEND="media-libs/libsdl
media-libs/libsdl2
sdl? (
media-libs/sdl-mixer
media-libs/sdl-ttf
)
sdl2? (
media-libs/sdl2-mixer
)
media-libs/sdl2-ttf
virtual/libusb:1
x11-base/xorg-server
x11-libs/gtk+:2"
RDEPEND="${DEPEND}"
BDEPEND="dev-build/automake"
PATCHES=(
"${FILESDIR}/${P}-autogen.patch"
)
# TODO: add a die statement to autogen
src_configure() {
bash "${S}/autogen.sh"
if use i286 && use ia32 && use haxm ; then
features=("--enable-build-all")
else
features=($(use_enable ia32) $(use_enable haxm))
fi
local myeconfargs=(
$(use_enable sdl)
$(use_enable sdl sdlmixer)
$(use_enable sdl sdlttf)
$(use_enable sdl2)
$(use_enable sdl2 sdl2mixer)
$(use_enable sdl2 sdl2ttf)
)
econf "${myeconfargs[@]}" "${features}"
}
pkg_postinst() {
if [[ -z ${REPLACING_VERSIONS} ]] ; then
if [ use i286 && use ia32 && use haxm ] ; then
cfgname="{xnp2kai, xnp21kai}"
elif [ ! use ia32 && ! use haxm ] ; then
cfgname="xnp2kai"
else
cfgname="xnp21kai"
fi
elog "Japanese fonts are needed to use the emulator."
elog "Please run the following command to configure them:"
elog "mkdir -p ~/.config/${cfgname} && ln -s /path/to/font.ttf ~/.config/${cfgname}/default.ttf && rm ~/.config/${cfgname}/font.tmp"
elog "Neko project 2 requires a BIOS dump to work."
elog "Please dump the BIOS from your device and put the files under ~/.config/${cfgname}"
fi
}

View File

@@ -1,90 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg cmake
MY_REV=3e8fedc7c1c6f68faa26589187512474a766ee9e
MY_SDL2_CMAKE_MODULES_REV=ad006a3daae65a612ed87415037e32188b81071e
DESCRIPTION="NP2kai is an emulator for the japanese PC-98 series of computers"
HOMEPAGE="https://domisan.sakura.ne.jp/article/np2kai/np2kai.html"
SRC_URI="
https://github.com/AZO234/NP2kai/archive/${MY_REV}.tar.gz -> ${P}.tar.gz
https://github.com/aminosbh/sdl2-cmake-modules/archive/${MY_SDL2_CMAKE_MODULES_REV}.tar.gz \
-> sdl2-cmake-modules-${MY_SDL2_CMAKE_MODULES_REV}.tar.gz
"
S="${WORKDIR}/NP2kai-${MY_REV}"
LICENSE="MIT BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+i286 ia32 haxm +sdl2 +X"
REQUIRED_USE="|| ( X sdl2 ) ^^ ( i286 ia32 )"
# TODO: migrate from gtk2 to gtk3
DEPEND="
dev-libs/openssl:=
virtual/libusb:1
sdl2? (
media-libs/libsdl2
media-libs/sdl2-ttf
media-libs/sdl2-mixer
)
!sdl2? (
media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-ttf
)
X? (
dev-libs/glib
media-libs/freetype
media-libs/fontconfig
x11-libs/gtk+:2
x11-libs/libX11
)
"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i '+s/CONFIGURATIONS Release/CONFIGURATIONS Gentoo/g' CMakeLists.txt || die
mv "${WORKDIR}"/sdl2-cmake-modules-${MY_SDL2_CMAKE_MODULES_REV}/* \
"${S}"/cmake/sdl2-cmake-modules/ || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-D BUILD_I286=$(usex i286)
-D BUILD_HAXM=$(usex haxm)
-D BUILD_SDL=ON
-D BUILD_X=$(usex X)
-D USE_SDL2=$(usex sdl2)
)
NP2KAI_VERSION=${PV} NP2KAI_HASH=${MY_REV} cmake_src_configure
}
pkg_postinst() {
xdg_pkg_postinst
if [[ -z ${REPLACING_VERSIONS} ]]; then
if use i286 && use haxm; then
local cfgname="{xnp2kai,xnp21kai}"
elif use i286 && ! use haxm; then
local cfgname="xnp2kai"
else
local cfgname="xnp21kai"
fi
elog "Japanese fonts are needed to use the emulator."
elog "Please run the following command to configure them:"
elog "mkdir -p ~/.config/${cfgname} && ln -s /path/to/font.ttf ~/.config/${cfgname}/default.ttf && rm ~/.config/${cfgname}/font.tmp"
elog
elog "Neko project 2 requires a BIOS dump to work."
elog "Please dump the BIOS from your device and put the files under ~/.config/${cfgname}"
fi
}

View File

@@ -1,3 +1,3 @@
DIST Modrinth%20App_0.9.3_amd64.deb 8190526 BLAKE2B 1566944fc06b296904daf65f2d60fc2338bb87664015209fef18dfbcc4ba2a8d722bd985cb1f44e567a933842b19501cb493dd5dbe020d8d3ab2b55daf037931 SHA512 cf7bebd7fc9f554105636db62e09acbc5e1efe583a5158b222fa4c1582cf573c761ea25df873c491b08e6e103b4cbd692a3e00905061b8745aa40d784d2911e8
DIST Modrinth%20App_0.10.3_amd64.deb 11396222 BLAKE2B 35782dfbb21ca96a0d73f8ee6f5940bbabe27af41cca5143981678fa9ea0bc2d5eb4cfc4df16ebf1f79b19097f76d5403ad7c4228e3ba264101e0144833b29c8 SHA512 0dcf2d809f8bc44a91cb930e36d34a931d7f5ca80b6931d834f33282942ca24955172d4749a620303e1ca544a0dec3eb78ae7db7decf2adc9306a53678b59d8f
DIST Modrinth%20App_0.9.4_amd64.deb 8722182 BLAKE2B ef196e8a6432e4a7dba49a48e3baab85f87f29f8cf40e14f446f3d704314be5f51b629ee0b3404f08af92eee5f0918926a2de7830803e2a853eb5cd9a8469b60 SHA512 f5fa24725d542c53de6f9f52dfe5c57771c7d2bb77d4504a4f51f4455838d3fea74abefde6f3a5550c8ed81090f5b54ed3332e68b78b6a1c3927f405063ca079
DIST Modrinth%20App_0.9.5_amd64.deb 8758594 BLAKE2B a453e0269a4088ad79dd1db0342342719497e4e0c51bcc8fcfb238674b5b7debed22759ea9bd87e9b3db7eb31b3d68dd472fee9bc973fa488d8bd6111512d6b3 SHA512 8674012a5cc82e98a23843d6860816e62e568aa3bca05b7e5a5c32e98f421e51850e79f6db3d6bee36d9c98d5270afdc9b09a2479f52bf22803dc8614c11ce88

View File

@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dangduong31205@gmail.com</email>
<name>Nguyen Dinh Dang Duong</name>
</maintainer>
<use>
<flag name="ffmpeg">Enable ffmpeg/libav-based audio/video codec support</flag>
<flag name="xvfb">Enable support for thumbnail creation via Xvfb</flag>
</use>
<maintainer type="person">
<email>dangduong31205@gmail.com</email>
<name>Nguyen Dinh Dang Duong</name>
</maintainer>
<upstream>
<remote-id type="github">patriciogonzalezvivo/glslViewer</remote-id>
</upstream>
<use>
<flag name="ffmpeg">Enable ffmpeg/libav-based audio/video codec support</flag>
<flag name="xvfb">Enable support for thumbnail creation via Xvfb</flag>
</use>
</pkgmetadata>

View File

@@ -94,8 +94,11 @@ src_unpack() {
fi
}
src_install()
{
src_configure() {
cargo_src_configure --frozen
}
src_install() {
einstalldocs
cargo_src_install
}

View File

@@ -94,8 +94,11 @@ src_unpack() {
fi
}
src_install()
{
src_configure() {
cargo_src_configure --frozen
}
src_install() {
einstalldocs
cargo_src_install
}

View File

@@ -1,2 +1,2 @@
DIST ffsend-0.2.77-crates.tar.xz 30781576 BLAKE2B 7bc4f9b4bde32bf9b65334645a812cd2d92b7a6f9023d36a79c74a4b1c2ce7d67f749a986313f91fc9cc76f314d9fdfb229a6d836c44ea3a035a2db127231164 SHA512 d14a98cfaa6e2c873c8b0f5c6de9eb868dd9f5a999dee56150b66a722ef89d1b7cba61054474a147f3bb13d1e0c7e9cebce68bcc045a328be0544fe60109d415
DIST ffsend-0.2.77-crates.tar.xz 30781572 BLAKE2B 1906139e895ef8ee2d5a58aec6757c9fbac59aa00ab5d1ad89b27654dca6ab69d5650a678be66f5942777a462e8910d50ce5ddf4cbf6cce3cd3fee831dd8ff00 SHA512 dfaf135e84976208471a973b962d03c2b34367146d1afd8181ff3638b69066bef93a3b1e371d0515128bec5c9d8823bda3a3a1fa92ba0865a0a7aa0f13ec27e3
DIST ffsend-0.2.77.tar.gz 195500 BLAKE2B 0b67fccadf433031dbd9372892e089fb468ae82228f999b9ffbb81b5995635976045c40b6b666de7fd4210a3f8285ba6d7dea2f8bf0c031f83de0c16440978cf SHA512 0dc47d8fffc98e8ebbfbf43b12f31d6ecb9bb237188f15650c641a03050eebbbc25443e9b6b5bb132d3e020bb4796487da78cc80bc0d4d6798d73e524fc0e9ff

View File

@@ -37,11 +37,20 @@ DOCS=(
)
src_unpack() {
patch_cargo_file()
{
pushd "${S}" &>> /dev/null || die
eapply "${FILESDIR}/${PN}-bump-traitobject.patch"
popd &>> /dev/null || die
}
if [[ "${PV}" = "9999" ]]; then
git-r3_src_unpack
patch_cargo_file
cargo_live_src_unpack
else
cargo_src_unpack
patch_cargo_file
fi
}

View File

@@ -37,11 +37,20 @@ DOCS=(
)
src_unpack() {
patch_cargo_file()
{
pushd "${S}" &>> /dev/null || die
eapply "${FILESDIR}/${PN}-bump-traitobject.patch"
popd &>> /dev/null || die
}
if [[ "${PV}" = "9999" ]]; then
git-r3_src_unpack
patch_cargo_file
cargo_live_src_unpack
else
cargo_src_unpack
patch_cargo_file
fi
}

View File

@@ -0,0 +1,30 @@
From 29eb167d4367929a2546c20b3f2bbf890b63c631 Mon Sep 17 00:00:00 2001
From: Rui Chen <rui@chenrui.dev>
Date: Mon, 16 Jun 2025 17:23:14 -0400
Subject: [PATCH] chore(build): bump traitobject to 0.1.1 to build against rust
1.87.0
Signed-off-by: Rui Chen <rui@chenrui.dev>
---
Cargo.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index fabde0d..8f82361 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2691,9 +2691,9 @@ dependencies = [
[[package]]
name = "traitobject"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
+checksum = "04a79e25382e2e852e8da874249358d382ebaf259d0d34e75d8db16a7efabbc7"
[[package]]
name = "try-lock"
--
GitLab

View File

@@ -0,0 +1,2 @@
DIST grpcurl-1.9.3-deps.tar.xz 44867012 BLAKE2B c4ef320b21b68f7b4af23c6305535f3cad680cf4cfd38b39cc9a06b11e8244c24d2fbb585012f1c619bd05b087fef2a1c0a908d2a599c5134eac7c8831252fd9 SHA512 c6ce5e43d3d4c0f90448a78c236691014c0743b782476a14cefa7116c901ca43133159a30215f3a48b6a305a8770bce0cba5e192d428f16d1a49cff5c59850a1
DIST grpcurl-1.9.3.tar.gz 123945 BLAKE2B 03bdd055f32c0f5a869cf40be9e7e553e15c57780a0a4e94e7cf08e344698afefcc4a04cf11ee1abd12c3d434e4b1d04f1d64114e8bb8f0b65afb10e7dbd356d SHA512 bd5e9e1a9a45ba96f6d238f956de3dfddb128fc57d0754e661326a421584979f5b64ed6dd9b4e4ac2a3ada51695b60ce6c2f03fe4ca266747155db50ada02404

View File

@@ -0,0 +1,30 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Command-line tool for interacting with gRPC servers"
HOMEPAGE="https://github.com/fullstorydev/grpcurl"
SRC_URI="https://github.com/fullstorydev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/kuprTheMan/contribute-deps/releases/download/${P}/${P}-deps.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
RESTRICT="test"
src_compile() {
ego build -o ${PN} -v -ldflags "-X 'main.version=${PV}'" ./cmd/...
}
src_install() {
dobin ${PN}
dodoc README.md
default
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>kupravagoodman@proton.me</email>
<name>Timur Kuprava</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/fullstorydev/grpcurl/issues</bugs-to>
<remote-id type="github">fullstorydev/grpcurl</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -67,12 +67,6 @@ app-misc/anki-bin
# Removal on 2025-07-30
app-crypt/uacme
# David (stkw0) Roman <davidroman96@gmail.com> (2025-06-03)
# Unmaintained, fails to compile and the maintainer doesn seems to be active.
# Bugs #782982 #859979 #887647 #921910 #928264
# Removal on 2025-07-03
games-emulation/np2kai
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-05-24)
# Depends on masked net-libs/stem.
# Masked until upstream supports running without stem.

View File

@@ -7,6 +7,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"
@@ -45,9 +47,6 @@ DEPEND="
x11-libs/pango
"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/zen"
inherit desktop xdg-utils
@@ -82,4 +81,3 @@ pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}