From e0060eb406dd6fdd78bf77456f4aa80324f035e2 Mon Sep 17 00:00:00 2001 From: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Sun, 26 Mar 2023 15:22:06 +0200 Subject: [PATCH] cleanup --- .codedocs | 76 --------------------------------- .lgtm.yml | 27 ------------ bin/scripts/docker-compile.sh | 2 +- doc/development/CompileHowto.md | 20 +-------- 4 files changed, 3 insertions(+), 122 deletions(-) delete mode 100644 .codedocs delete mode 100644 .lgtm.yml diff --git a/.codedocs b/.codedocs deleted file mode 100644 index ead816de..00000000 --- a/.codedocs +++ /dev/null @@ -1,76 +0,0 @@ -# Hyperion.NG .codedocs Configuration File - -#--------------------------------------------------------------------------- -# CodeDocs Configuration -#--------------------------------------------------------------------------- - -# Include the Doxygen configuration from another file. -# The file must be a relative path with respect to the root of the repository. - -DOXYFILE = - -# Specify external repository to link documentation with. -# This is similar to Doxygen's TAGFILES option, but will automatically link to -# tags of other repositories already using CodeDocs. List each repository to -# link with by giving its location in the form of owner/repository. -# For example: -# TAGLINKS = doxygen/doxygen CodeDocs/osg -# Note: these repositories must already be built on CodeDocs. - -TAGLINKS = - -#--------------------------------------------------------------------------- -# Doxygen Configuration -#--------------------------------------------------------------------------- - -# Doxygen configuration may also be placed in this file. -# Currently, the following Doxygen configuration options are available. Refer -# to http://doxygen.org/manual/config.html for detailed explanation of the -# options. To request support for more options, contact support@codedocs.xyz. -# -# ABBREVIATE_BRIEF = -# ALIASES = -# ALPHABETICAL_INDEX = -# ALWAYS_DETAILED_SEC = -# CASE_SENSE_NAMES = -# CLASS_DIAGRAMS = -# DISABLE_INDEX = -# DISTRIBUTE_GROUP_DOC = -# EXAMPLE_PATH = - EXCLUDE = .ci/ \ - assets/ \ - bin/ - config/ \ - effects/ \ - test/ \ -# EXCLUDE_PATTERNS = -# EXCLUDE_SYMBOLS = -# EXTENSION_MAPPING = -# EXTRACT_LOCAL_CLASSES = -# FILE_PATTERNS = -# GENERATE_TAGFILE = -# GENERATE_TREEVIEW = -# HIDE_COMPOUND_REFERENCE = -# HIDE_SCOPE_NAMES = -# HIDE_UNDOC_CLASSES = -# HIDE_UNDOC_MEMBERS = -# HTML_TIMESTAMP = -# INLINE_GROUPED_CLASSES = -# INPUT_ENCODING = -# INTERNAL_DOCS = -# OPTIMIZE_OUTPUT_FOR_C = - PROJECT_BRIEF = "The successor to Hyperion aka Hyperion Next Generation" - PROJECT_NAME = "Hyperion.NG" -# PROJECT_NUMBER = -# SHORT_NAMES = -# SHOW_FILES = -# SHOW_INCLUDE_FILES = -# SHOW_NAMESPACES = -# SORT_BRIEF_DOCS = -# SORT_BY_SCOPE_NAME = -# SORT_MEMBER_DOCS = -# STRICT_PROTO_MATCHING = -# TYPEDEF_HIDES_STRUCT = - USE_MDFILE_AS_MAINPAGE = README.md -# VERBATIM_HEADERS = -# diff --git a/.lgtm.yml b/.lgtm.yml deleted file mode 100644 index 6a799607..00000000 --- a/.lgtm.yml +++ /dev/null @@ -1,27 +0,0 @@ -extraction: - cpp: - prepare: - packages: - - "git" - - "cmake" - - "build-essential" - - "qtbase5-dev" - - "libqt5serialport5-dev" - - "libqt5sql5-sqlite" - - "libqt5svg5-dev" - - "libqt5x11extras5-dev" - - "libusb-1.0-0-dev" - - "python3-dev" - - "libcec-dev" - - "libxcb-image0-dev" - - "libxcb-util0-dev" - - "libxcb-shm0-dev" - - "libxcb-render0-dev" - - "libxcb-randr0-dev" - - "libxrandr-dev" - - "libxrender-dev" - - "libavahi-core-dev" - - "libavahi-compat-libdnssd-dev" - - "libturbojpeg0-dev" - - "libjpeg-dev" - - "libssl-dev" diff --git a/bin/scripts/docker-compile.sh b/bin/scripts/docker-compile.sh index 5381529a..a6abd11d 100755 --- a/bin/scripts/docker-compile.sh +++ b/bin/scripts/docker-compile.sh @@ -72,7 +72,7 @@ echo "######################################################## # These are possible arguments to modify the script behaviour with their default values # # docker-compile.sh -h, --help # Show this help message -# docker-compile.sh -i, --image # The docker image, e.g., x86_64, armv6l, armv7l, aarch64, rpi-raspbian +# docker-compile.sh -i, --image # The docker image, e.g., x86_64, armv6l, armv7l, aarch64 # docker-compile.sh -t, --tag # The docker tag, e.g., stretch, buster, bullseye, bookworm # docker-compile.sh -b, --type # Release or Debug build # docker-compile.sh -p, --packages # If true, build packages with CPack diff --git a/doc/development/CompileHowto.md b/doc/development/CompileHowto.md index f3b5502c..8a2cc7df 100644 --- a/doc/development/CompileHowto.md +++ b/doc/development/CompileHowto.md @@ -5,24 +5,6 @@ If you are using [Docker](https://www.docker.com/), you can compile Hyperion ins The compiled binaries and packages will be available at the deploy folder next to the script.
Note: call the script with `./docker-compile.sh -h` for more options. -## Native compilation on Raspberry Pi for: - -**Raspbian Stretch** -```console -wget -qN https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/docker-compile.sh && chmod +x *.sh && ./docker-compile.sh -i rpi-raspbian -t stretch -``` -**Raspbian Buster/Raspberry Pi OS** -```console -wget -qN https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/docker-compile.sh && chmod +x *.sh && ./docker-compile.sh -i rpi-raspbian -t buster -``` -**Raspberry Pi OS Bullseye** -```console -wget -qN https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/docker-compile.sh && chmod +x *.sh && ./docker-compile.sh -i rpi-raspbian -t bullseye -``` -**Raspberry Pi OS Bookworm** -```console -wget -qN https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/docker-compile.sh && chmod +x *.sh && ./docker-compile.sh -i rpi-raspbian -t bookworm -``` ## Cross compilation on x86_64 for: **x86_64 (Debian Stretch):** @@ -69,6 +51,7 @@ wget -qN https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/ ```console wget -qN https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/docker-compile.sh && chmod +x *.sh && ./docker-compile.sh -i armv7l -t bullseye ``` + ## Cross compilation on x86_64 for developers Using additional options you can cross compile locally -l: use a local hyperion source code directory rather than cloning from GitHub @@ -79,6 +62,7 @@ Using additional options you can cross compile locally cd $HYPERION_HOME ./bin/scripts/docker-compile.sh -l -c -i armv7l -t bullseye ``` + # The usual way ## Debian/Ubuntu/Win10LinuxSubsystem