treewide: fix typos

Found via `codespell -q 3 -S "*.patch,*.po" -L acount,afile,distroname,parm,serie,synopsys`
This commit is contained in:
luzpaz 2025-01-23 09:16:21 -05:00 committed by Luz Paz
parent 81abef9745
commit 91a4766cef
41 changed files with 49 additions and 49 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
# build directorys
# build directories
/build.*/
/builds
/.fakeroot.*

View File

@ -3,7 +3,7 @@
set -e
# setup initial directorys (relative to root)
# setup initial directories (relative to root)
CONFIG=config
SCRIPTS=scripts
PACKAGES=packages

View File

@ -64,7 +64,7 @@ show_config() {
config_message+="\n - Include firmware:\t\t\t ${config_firmware}"
done
# Image Filsystem
# Image Filesystem
config_message+="\n\n Image Filesystems:"
config_message+="\n ${dashes}${dashes}"

View File

@ -221,7 +221,7 @@
# mediacenter also automount internally drives at boottime via udev (yes / no)
UDEVIL="yes"
# Support for partitioning and formating disks in initramfs (yes / no)
# Support for partitioning and formatting disks in initramfs (yes / no)
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
INITRAMFS_PARTED_SUPPORT="no"

View File

@ -52,7 +52,7 @@ rm -f ${CONTROL_FILE} ${DATA_FILE}
rm -f ${CONTROL_FILE} ${DATA_FILE}
## extract chrome
# extrat chrome.deb data to temp
# extract chrome.deb data to temp
kodi-send --action="Notification(Extracting Chrome,starting,1000,${ICON})" >/dev/null
deb_extract_data ${CHROME_FILE} $ADDON_DIR/tmp_download

View File

@ -16,7 +16,7 @@ if [ -e $ADDON_HOME/env ]; then
. $ADDON_HOME/env
fi
# fix file permissons (zip packaging)
# fix file permissions (zip packaging)
chmod +x $ADDON_DIR/chrome-bin/chrome
chmod 4755 $ADDON_DIR/chrome-bin/chrome-sandbox

View File

@ -77,7 +77,7 @@ if [ -z "$(pidof userhdhomerun)" ]; then
[ "$DVBMODE" = "auto" ] && DVBMODE=""
# remove setttings for this tuner
# remove settings for this tuner
awk -v val="[$SERIAL]" '$0 == val {flag=1; next} /^tuner_type=|^use_full_name=|^disable=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $DVBHDHOMERUN_CONF_TMP >${DVBHDHOMERUN_CONF_TMP}-types
mv ${DVBHDHOMERUN_CONF_TMP}-types $DVBHDHOMERUN_CONF_TMP
echo "" >>$DVBHDHOMERUN_CONF_TMP

View File

@ -189,7 +189,7 @@ if [ -z "$(pidof mediasrv)" ]; then
[ ! -f $KEYMAP ] && KEYMAP=""
# remove setttings for this tuner
# remove settings for this tuner
awk -v val="[$SERIAL]" '$0 == val {flag=1; next} /^[^\[]|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-types
mv ${SUNDTEK_CONF_TMP}-types $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP

View File

@ -34,7 +34,7 @@ inotify=yes
enable_tivo=no
# set this to beacon to use legacy broadcast discovery method
# defauts to bonjour if avahi is available
# defaults to bonjour if avahi is available
tivo_discovery=bonjour
# set this to strictly adhere to DLNA standards.

View File

@ -8,7 +8,7 @@ PKG_LICENSE="LGPL"
PKG_SITE="https://mariadb.org/"
PKG_URL="https://github.com/mariadb-corporation/mariadb-connector-c/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain zlib openssl"
PKG_LONGDESC="mariadb-connector: library to conntect to mariadb/mysql database server"
PKG_LONGDESC="mariadb-connector: library to connect to mariadb/mysql database server"
PKG_BUILD_FLAGS="-gold"
PKG_CMAKE_OPTS_TARGET="-DWITH_EXTERNAL_ZLIB=ON

View File

@ -27,7 +27,7 @@ PKG_CMAKE_OPTS_COMMON="-DBUILD_EXTERNAL=ON \
-Wno-dev"
post_unpack() {
# Enables SPIR-V optimzer capability needed for ENABLE_OPT CMake build option
# Enables SPIR-V optimizer capability needed for ENABLE_OPT CMake build option
mkdir -p ${PKG_BUILD}/External/spirv-tools
tar --strip-components=1 \
-xf "${SOURCES}/spirv-tools/spirv-tools-$(get_pkg_version spirv-tools).tar.gz" \

View File

@ -59,6 +59,6 @@ pre_make_target() {
}
post_makeinstall_target() {
# Clean up - two graphic test tools are superflous
# Clean up - two graphic test tools are superfluous
safe_remove ${INSTALL}/usr/bin/vkcubepp
}

View File

@ -8,4 +8,4 @@ PKG_LICENSE="MIT"
PKG_SITE="https://github.com/elFarto/nvidia-vaapi-driver"
PKG_URL="https://github.com/elFarto/nvidia-vaapi-driver/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libva nv-codec-headers gst-plugins-bad"
PKG_LONGDESC="A VA-API implemention using NVIDIA's NVDEC"
PKG_LONGDESC="A VA-API implementation using NVIDIA's NVDEC"

View File

@ -98,7 +98,7 @@ But not always. To select a specific toolchain, you only need to set the `PKG_TO
| configure | preconfigured [GNU Build System](https://en.wikipedia.org/wiki/GNU_Build_System) |
| ninja | [Ninja Build](https://ninja-build.org/) |
| make | [Makefile Based](https://www.gnu.org/software/make/) |
| manual | only runs self writen build steps, see [Functions](#functions) |
| manual | only runs self written build steps, see [Functions](#functions) |
###### Auto-Detection
The auto-detections looks for specific files in the source path.
@ -158,8 +158,8 @@ Full list of overwrittable functions.
| pre_build_\[stage] | yes | Runs before of the start of the build |
| pre_configure<br>pre_configure_\[stage]<br>configure_\[stage]<br>post_configure_\[stage] | yes | Configure the package for the compile. This is only relevant for toolchain, that supports it (e.g. meson, cmake, configure, manual) |
| make_\[stage]<br>pre_make_\[stage]<br>post_make_\[stage] | yes | Build of the package |
| makeinstall_\[stage]<br>pre_makeinstall_\[stage]<br>post_makeinstall_\[stage] | yes | Installation of the files in the correct pathes<br>host: TOOLCHAIN<br>target: SYSROOT and IMAGE<br>bootstrap and init: temporary destination
| addon | - | Copy all files together for addon creation. This is requiered for addons |
| makeinstall_\[stage]<br>pre_makeinstall_\[stage]<br>post_makeinstall_\[stage] | yes | Installation of the files in the correct paths<br>host: TOOLCHAIN<br>target: SYSROOT and IMAGE<br>bootstrap and init: temporary destination
| addon | - | Copy all files together for addon creation. This is required for addons |
| post_install_addon | - | Post processing of installed addon files in `${INSTALL}` directory |
## Directory structure
@ -271,7 +271,7 @@ Issue | Level | Meaning |
* new kernel driver
* ...
2. Find a place in the packages tree
* look into the package tree structure, which is generally self explaind.
* look into the package tree structure, which is generally self explanitory.
* do not place it in an existing package (directory that includes a `package.mk`)
* when you found a place, create a directory with the name of your package (use same value for `PKG_NAME`!!)
3. Create an initial `package.mk`
@ -295,7 +295,7 @@ PKG_LICENSE="LGPL"
PKG_SITE="https://mariadb.org/"
PKG_URL="https://github.com/MariaDB/mariadb-connector-c/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain zlib openssl"
PKG_LONGDESC="mariadb-connector: library to conntect to mariadb/mysql database server"
PKG_LONGDESC="mariadb-connector: library to connect to mariadb/mysql database server"
PKG_BUILD_FLAGS="-gold"
PKG_CMAKE_OPTS_TARGET="-DWITH_EXTERNAL_ZLIB=ON \

View File

@ -96,7 +96,7 @@ post_makeinstall_target() {
ln -sf /run/libreelec/cacert.pem ${INSTALL}/etc/ssl/cacert.pem
ln -sf /run/libreelec/cacert.pem ${INSTALL}/etc/ssl/cert.pem
# backwards comatibility
# backwards compatibility
mkdir -p ${INSTALL}/etc/pki/tls
ln -sf /run/libreelec/cacert.pem ${INSTALL}/etc/pki/tls/cacert.pem
mkdir -p ${INSTALL}/etc/pki/tls/certs

View File

@ -9,7 +9,7 @@ message="$message\n "
message="$message\n 'apt-get' is a command to install, update and remove software which"
message="$message\n is stored in a non local repo. 'apt-get' does nothing then connecting to such"
message="$message\n repo, downloads the software, unpacks the software, updates a big"
message="$message\n local database with all filepaths and other informations about the"
message="$message\n local database with all filepaths and other information about the"
message="$message\n installed software or removes or updates installed Software."
message="$message\n "
message="$message\n With LibreELEC it is not possible to change the system for security and"

View File

@ -104,7 +104,7 @@ mkdir -p $BASEDIR/$LOGDIR
getlog_cmd cat /storage/.config/shutdown.sh
fi
getlog_cmd ls -laR /storage/.config/system.d
# note: we dont add .mount units here as they may contan
# note: we dont add .mount units here as they may contain
# login credentials
for i in /storage/.config/system.d/*.service ; do
if [ -f "$i" ] && [ ! -L "$i" ]; then

View File

@ -20,7 +20,7 @@ if [ -e /storage/.please_resize_me ] ; then
date -Iseconds >>$LOG
# this sh** was never intended to be used
# on already installed and runing system
# on an already installed and running system
if [ -d /storage/.kodi -o -d /storage/.config -o -d /storage/.cache ] ; then
rm -f /storage/.please_resize_me
sync

View File

@ -136,7 +136,7 @@ create_edid() {
}
intel_amd() {
# check which output is connnected:
# check which output is connected:
counter=0
for i in /sys/class/drm/*; do
if [ "$(cat "$i"/status 2>/dev/null)" = "connected" ]; then

View File

@ -20,7 +20,7 @@ delete_edid() {
create_edid() {
CONNECTORS=$(dump-active-edids -q)
if [ $? -ne 0 -o -z "${CONNECTORS}" ]; then
echo "error: cannot detemine active connectors"
echo "error: cannot determine active connectors"
exit 1
fi
create-edid-cpio -q

View File

@ -653,7 +653,7 @@ check_out_of_space() {
echo "free space on /storage to complete the update!"
echo ""
echo "Please free up space on your /storage partition"
echo "by deleting unecessary files, then try again."
echo "by deleting unnecessary files, then try again."
echo ""
return 0
else

View File

@ -2,7 +2,7 @@
# An example udev rules file for eventlircd.
#
# This rules file does not start eventlircd. Many applications only check for
# the lircd socket at application lauch. Therefore, it is better to start
# the lircd socket at application launch. Therefore, it is better to start
# eventlircd in an init script so that eventlircd creates the lircd socket
# before any applications that use LIRC launch.
################################################################################

View File

@ -15,8 +15,8 @@ Requires=network-online.service
# 'network-online.service' fails we can not mount and this scripts fails too
After=network-online.service
# usually we mount networks shares because we want they avaible *before* XBMC starts.
# so XBMC has access to this mounts from beginning. Note: this slows down the boot!
# usually we mount network shares because we want them available *before* Kodi starts.
# so Kodi has access to mounts from the beginning. Note: this slows down the boot sequence!
Before=kodi.service

View File

@ -15,8 +15,8 @@ Requires=network-online.service
# 'network-online.service' fails we can not mount and this scripts fails too
After=network-online.service
# usually we mount networks shares because we want they avaible *before* XBMC starts.
# so XBMC has access to this mounts from beginning. Note: this slows down the boot!
# usually we mount network shares because we want them available *before* Kodi starts.
# so Kodi has access to mounts from the beginning. Note: this slows down the boot sequence!
Before=kodi.service

View File

@ -128,7 +128,7 @@ post_makeinstall_target() {
safe_remove ${INSTALL}/usr/lib/tmpfiles.d/home.conf
safe_remove ${INSTALL}/usr/share/factory
# remove Network adaper renaming rule, this is confusing
# remove Network adapter renaming rule, this is confusing
safe_remove ${INSTALL}/usr/lib/udev/rules.d/80-net-setup-link.rules
safe_remove ${INSTALL}/usr/lib/udev/rules.d/71-seat.rules

View File

@ -253,7 +253,7 @@ allowed_options_exfat = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gi
# mount_point_mode, if present and set to a non-empty value, will cause udevil
# to set the mode (permissions) on the moint point after mounting If not
# to set the mode (permissions) on the mount point after mounting If not
# specified or if left empty, the mode is not changed. Mode must be octal
# starting with a zero (0755).
# mount_point_mode_FSTYPE, if present, is used to override mount_point_mode
@ -285,7 +285,7 @@ allowed_options_exfat = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gi
# validation of a mount or unmount command, beyond the checks performed by
# udevil. The program is run as a normal user (if root runs udevil,
# validate_exec will NOT be run). The program is NOT run if the user is
# mounting a device without root priviledges (a device in fstab).
# mounting a device without root privileges (a device in fstab).
# The program is passed the username, a printable description of what is
# happening, and the entire udevil command line as the first three arguments.
# The program must return an exit status of 0 to allow the mount or unmount

View File

@ -94,7 +94,7 @@ get_device_unmount() {
}
get_partition() {
# get all partitions of a specifed device
# get all partitions of a specified device
# usage: get_partitions /dev/sda
# uses: -
# provides: PARTITIONS

View File

@ -3,7 +3,7 @@
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
# Load prefered color scheme
# Load preferred color scheme
include colorscheme
# Logo key. Use Mod1 for Alt.
set $mod Mod4

View File

@ -9,7 +9,7 @@ PKG_LICENSE="OSS"
PKG_SITE="https://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain util-macros xorgproto"
PKG_LONGDESC="X authorization file management libary"
PKG_LONGDESC="X authorization file management library"
PKG_BUILD_FLAGS="+pic"
PKG_MESON_OPTS_TARGET="-Ddefault_library=static \

View File

@ -10,7 +10,7 @@ FIPDIR="$(get_build_dir amlogic-boot-fip)"
case "${UBOOT_SYSTEM}" in
box|"")
# no-op, use vendor booloader
# no-op, use vendor bootloader
;;
*)
mkdir "${DESTDIR}/tmp"

View File

@ -289,7 +289,7 @@ if [ "${#need_map[@]}" -gt 0 ]; then
fi
fi
# check if installed packages satisifed deps
# check if installed packages satisfied deps
get_deps
if [ "${#need_map[@]}" -gt 0 ]; then

View File

@ -15,7 +15,7 @@ DESCRIPTION
create_addon builds one or more addons.
--show-only
output the list of packages, which are intented to build
output the list of packages, which are intended to build
--help shows this message
@ -79,7 +79,7 @@ get_addons() {
validpkg="no"
VERIFY_FAIL=
# Should only build embedded addons when they are explictly specified in the addon list
# Should only build embedded addons when they are explicitly specified in the addon list
if [ "${PKG_IS_ADDON}" = "embedded" ]; then
if [ -n "${filter}" ]; then
verify_addon && validpkg="yes"

View File

@ -93,7 +93,7 @@ case "${ARCH}" in
projects="Generic"
;;
*)
echo "Unkown project"
echo "Unknown project"
exit 1
;;
esac

View File

@ -346,7 +346,7 @@ parser.add_argument("-b", "--build", nargs="+", metavar="PACKAGE", required=True
help="Space-separated list of build trigger packages, either for host or target. Required property - specify at least one package.")
parser.add_argument("--warn-invalid", action="store_true", default=False, \
help="Warn about invalid/missing dependency packages, perhaps excluded by a PKG_ARCH incompatability. Default is to abort.")
help="Warn about invalid/missing dependency packages, perhaps excluded by a PKG_ARCH incompatibility. Default is to abort.")
parser.add_argument("--ignore-invalid", action="store_true", default=False, \
help="Ignore invalid packages.")

View File

@ -173,7 +173,7 @@ class Generator:
self.check_no_deps = False
# Process remaining jobs, trying to schedule
# only those jobs with all their dependencies satisifed
# only those jobs with all their dependencies satisfied
for i, job in enumerate(self.work):
if self.canBuildJob(job):
self.building[job["name"]] = True

View File

@ -7,7 +7,7 @@ import argparse
# When adding new devices to the list please keep them in alphabetical order
# board-name should contain 'dashes' (-) not 'underscores' (_) and shouldn't contain capitals
# you can check the formating using an online tool such as https://codebeautify.org/python-formatter-beautifier
# you can check the formatting using an online tool such as https://codebeautify.org/python-formatter-beautifier
# 'project' : {
# 'device' : {

View File

@ -4,7 +4,7 @@ set -e
BIN=$(readlink -f $(dirname $0))
if git rev-parse --is-inside-work-tree &>/dev/null; then
echo "Don't run this script inside a git reppository!"
echo "Don't run this script inside a git repository!"
exit 1
fi

View File

@ -87,7 +87,7 @@ for SOURCE_PACKAGE in $(find "${SOURCES}/" -mindepth 1 -type d); do
CUR_PACKAGE_FILE=$(basename "${PACKAGE_SOURCE_FILE}")
for FILE in $(find "${SOURCE_PACKAGE}/" -type f); do
# don't test auxilliary files
# don't test auxiliary files
if [[ "${FILE}" = *.url ]] || [[ "${FILE}" = *.sha256 ]]; then
continue
fi

View File

@ -108,7 +108,7 @@ else:
for event in events:
slotn[event.slot] = 0
# Acumulate information in this hash - meh
# Accumulate information in this hash - meh
data = {"previous_status": None, "isactive": False, "statuses": {}}
for status in ALL_STATUSES:
data["statuses"][status] = {"enabled": False, "count": 0, "start": 0.0, "total": 0.0}

View File

@ -5,7 +5,7 @@
# This performs an automated scan with corrections to the packages feed to
# follow certain coding standards used in the project. Corrections are grouped
# by the subdirectory within the packages feed, and then commited.
# by the subdirectory within the packages feed, and then committed.
# Corrections made:
# PKG_VAR="$PKG_VAR stuff" -> PKG_VAR+=" stuff"

View File

@ -100,7 +100,7 @@ check_for_update() {
# compare upstream with local version
if [ "${PKG_VERSION}" != "${upstream_latest_commit##*/}" ]; then
# get upstream tag informations
# get upstream tag information
if [ "${upstream_latest_tag}" != "null" ]; then
tag=" | TAG: ${upstream_latest_tag} (${upstream_latest_tag_date%T*})"
else