Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

20
package/ranger/Config.in Normal file
View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_RANGER
bool "ranger"
depends on BR2_USE_MMU # python3
depends on BR2_USE_WCHAR # python3
depends on BR2_TOOLCHAIN_HAS_THREADS # python3
depends on !BR2_STATIC_LIBS # python3
select BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON3_CURSES
help
ranger is a console file manager with VI key bindings. It
provides a minimalistic and nice curses interface with a
view on the directory hierarchy. It ships with "rifle", a
file launcher that is good at automatically finding out
which program to use for what file type.
https://ranger.github.io
comment "ranger needs a toolchain w/ wchar, threads, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

View File

@@ -0,0 +1,5 @@
# Locally calculated after checking pgp signature
sha256 ce088a04c91c25263a9675dc5c43514b7ec1b38c8ea43d9a9d00923ff6cdd251 ranger-1.9.3.tar.gz
# Locally computed
sha256 ef973501404bd0556fd47324411fc69679f30daf7128e042eafa64e2c4f9ecb9 AUTHORS
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE

26
package/ranger/ranger.mk Normal file
View File

@@ -0,0 +1,26 @@
################################################################################
#
# ranger
#
################################################################################
RANGER_VERSION = 1.9.3
RANGER_SITE = https://ranger.github.io
RANGER_SETUP_TYPE = setuptools
RANGER_LICENSE = GPL-3.0
RANGER_LICENSE_FILES = AUTHORS LICENSE
# The ranger script request python to be called with -O (optimize generated
# bytecode slightly; also PYTHONOPTIMIZE=x). This implicitly requires the python
# source files to be present. Therefore, the -O flag is removed when only the .pyc
# files are installed.
define RANGER_DO_NOT_GENERATE_BYTECODE_AT_RUNTIME
$(SED) 's%/usr/bin/python -O%/usr/bin/python%g' $(@D)/ranger.py
endef
ifeq ($(BR2_PACKAGE_PYTHON3_PYC_ONLY),y)
RANGER_POST_PATCH_HOOKS += RANGER_DO_NOT_GENERATE_BYTECODE_AT_RUNTIME
endif
$(eval $(python-package))