From 524a390921721d828fbfd046b360162c55cf9a92 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 4 May 2022 20:47:15 -0400 Subject: [PATCH] Use Debian Sid As AppImage And ARMHF Sysroot Base --- CMakeLists.txt | 7 +- dependencies/CMakeLists.txt | 2 +- dependencies/armhf-sysroot/CMakeLists.txt | 5 +- .../armhf-sysroot/apt/keys/bullseye.asc | 186 ------------------ dependencies/armhf-sysroot/apt/sources.list | 3 +- media-layer/CMakeLists.txt | 9 +- scripts/generate-appimage-builder-yaml.js | 11 +- scripts/setup.sh | 8 +- 8 files changed, 20 insertions(+), 211 deletions(-) delete mode 100644 dependencies/armhf-sysroot/apt/keys/bullseye.asc diff --git a/CMakeLists.txt b/CMakeLists.txt index 454312481..1bf8c0776 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,14 @@ cmake_minimum_required(VERSION 3.13.0) # Specify Options -option(MCPI_USE_MEDIA_LAYER_PROXY "Whether To Enable The Media Layer Proxy" FALSE) +option(MCPI_IS_MIXED_BUILD "Whether The Architecture-Independent And ARM Code Are Different Architecture" FALSE) option(MCPI_SERVER_MODE "Server Mode" FALSE) option(MCPI_HEADLESS_MODE "Headless Mode" ${MCPI_SERVER_MODE}) +if(NOT MCPI_HEADLESS_MODE) + option(MCPI_USE_MEDIA_LAYER_PROXY "Whether To Enable The Media Layer Proxy" ${MCPI_IS_MIXED_BUILD}) +else() + set(MCPI_USE_MEDIA_LAYER_PROXY FALSE) +endif() set(MCPI_BUILD_MODE "both" CACHE STRING "\"arm\" = Build Only Code That Must Be ARM; \"native\" = Build Architecture-Independent Code; \"both\" = Build All Code As ARM") set_property(CACHE MCPI_BUILD_MODE PROPERTY STRINGS "both" "arm" "native") option(MCPI_OPEN_SOURCE_ONLY "Only Install Open-Source Code (Will Result In Broken Install)" FALSE) diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt index e8fabd865..c0c1c9a76 100644 --- a/dependencies/CMakeLists.txt +++ b/dependencies/CMakeLists.txt @@ -21,6 +21,6 @@ if(BUILD_NATIVE_COMPONENTS AND NOT MCPI_HEADLESS_MODE) add_subdirectory(zenity) endif() # Sysroot -if(BUILD_NATIVE_COMPONENTS AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^arm") +if(BUILD_ARM_COMPONENTS AND MCPI_IS_MIXED_BUILD) add_subdirectory(armhf-sysroot) endif() diff --git a/dependencies/armhf-sysroot/CMakeLists.txt b/dependencies/armhf-sysroot/CMakeLists.txt index 24fd22393..2831c8be9 100644 --- a/dependencies/armhf-sysroot/CMakeLists.txt +++ b/dependencies/armhf-sysroot/CMakeLists.txt @@ -26,6 +26,7 @@ else() # Make Directories file(MAKE_DIRECTORY "${APT_DIR}/apt.conf.d") file(MAKE_DIRECTORY "${APT_DIR}/preferences.d") + file(MAKE_DIRECTORY "${APT_DIR}/keys") file(MAKE_DIRECTORY "${APT_DIR}/dpkg") file(TOUCH "${APT_DIR}/dpkg/status") @@ -48,8 +49,8 @@ else() "APT::Architecture \"armhf\";\n" "APT::Architectures { \"armhf\"; }\n" "Acquire::Languages \"none\";\n" - "APT::Get::AllowUnauthenticated \"False\";\n" - "Acquire::AllowInsecureRepositories \"False\";\n" + "APT::Get::AllowUnauthenticated \"True\";\n" + "Acquire::AllowInsecureRepositories \"True\";\n" ) file(WRITE "${APT_DIR}/apt.conf" "${APT_CONFIG}") diff --git a/dependencies/armhf-sysroot/apt/keys/bullseye.asc b/dependencies/armhf-sysroot/apt/keys/bullseye.asc deleted file mode 100644 index d27de80ae..000000000 --- a/dependencies/armhf-sysroot/apt/keys/bullseye.asc +++ /dev/null @@ -1,186 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBGAEHQwBEAC7MhpIQlLicwR8tmMH0yFkMIsqIbfudnBCuV043sSSSdUT/XjA -XKdsdOCpfb6Tfiau1uY9Yb8gWLM8JxmSuaIa1jKlYiRZ5G79D7NOVIcqBrqp3lzV -HShLEXs4421f0Y4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4w2xEkKKneGXHHBCaKhPjQRpwcKm6wVJ0gSmr9X9FLCjrHu+K5Fry5UkX+ -pWVsbdL2gIyKK5FtNx0ujuAlZxE94PStQUC74rZ2s/ac6QqbD3FKEW1jcVe1KPMH -q/6+JzaSN7isIi+s6jsXg7K/sYMh5J0h6heMpZhoIuMGqQ93doyA9rRa47wLB4g2 -h1c2hx2uLK1VS4SJ9+0yvkNoNJSYGzFoMc0UnBVqP1p03sSBxwd6F9cs3bvOE3jX -XslUBcmyzFP971eKI5Kc7MwbfbM4kFoWWOAP/27m7zRuZSrAkFD2UCabCUWbEQwp -4vafcYjsdJFuennaLhqybQe41P5IXvcJwvDIjzJXfgrq3IyBrWNI+fZzCo3I7XeW -Ldm3McXP0Q9X/UmMHuZ0aBqc26OHvFH5f2od/hwc3G9sB66sB4/rfWBOHMWJHTkN -nzNMljTK7kPC9YT7n4DYVrdPTacvXrh2MkHGz1hEgznlW3VzF1Mk4qYBkWeIpcdX -wHDfHXDYWIVXWtrEiqBMjLDH8Bpx5nee98KvFQpTzMbU9lE1rInSskw7+iGRONEB -XcGs3fRJB8NvALsYMp0MU7hx3wQWmX9q58mb4qXvypFn+IqTOuN1AVCqSVEDn+gc -dehCG8vkjOIKMANfKEqRrbQmY7CJtI4BxkJwtUCTVPaRDVdW3RTv4K8K8KAM+hVz -7rnFYTONiO51yPCCuVHSQ9ivZv5GohbyDO5nNTve1no6Fzl5l/CSpb5XCvOcGMvg -MWP22nlLGoSNG4g3TWlUabxrXmPEANG7D+qEhhuebeFC6OpX2i1JgYEpUgoTFtFC -96299K38JSWRK/x0FPigzxvUkxVt7rG3APIPJlYQhYRq2rmDA4zRQL/ZDtFF9+QH -IIvMDlYYZCLKlxoEjYlCusJLiwHiO5uiHDiLRA1vu1qeJVJ8o435g/gRLJALZojZ -1UKhwK2BVhqTmCWb -=svWP ------END PGP PUBLIC KEY BLOCK----- diff --git a/dependencies/armhf-sysroot/apt/sources.list b/dependencies/armhf-sysroot/apt/sources.list index 16b29895b..85e47a9e9 100644 --- a/dependencies/armhf-sysroot/apt/sources.list +++ b/dependencies/armhf-sysroot/apt/sources.list @@ -1,2 +1 @@ -deb http://deb.debian.org/debian/ bullseye main -deb http://deb.debian.org/debian/ bullseye-updates main +deb https://deb.debian.org/debian/ sid main diff --git a/media-layer/CMakeLists.txt b/media-layer/CMakeLists.txt index 6d7ac1809..9cb30ce53 100644 --- a/media-layer/CMakeLists.txt +++ b/media-layer/CMakeLists.txt @@ -1,13 +1,8 @@ project(media-layer) # Check Options -if(MCPI_USE_MEDIA_LAYER_PROXY) - if(MCPI_HEADLESS_MODE) - message(FATAL_ERROR "Headless Mode With Media Layer Proxy Configuration Is Redundant") - endif() - if(MCPI_BUILD_MODE STREQUAL "both") - message(FATAL_ERROR "Media Layer Proxy Is Redundant When Building ARM And Native Components In The Same Build") - endif() +if(MCPI_USE_MEDIA_LAYER_PROXY AND MCPI_BUILD_MODE STREQUAL "both") + message(FATAL_ERROR "Media Layer Proxy Is Redundant When Building ARM And Native Components In The Same Build") endif() # Add Headers diff --git a/scripts/generate-appimage-builder-yaml.js b/scripts/generate-appimage-builder-yaml.js index 7683ecedc..fdb353cc2 100755 --- a/scripts/generate-appimage-builder-yaml.js +++ b/scripts/generate-appimage-builder-yaml.js @@ -13,8 +13,7 @@ const name = `minecraft-pi-reborn-${mode}`; const updateURL = `https://jenkins.thebrokenrail.com/job/minecraft-pi-reborn/job/master/lastSuccessfulBuild/artifact/out/${name}-latest-${arch}.AppImage.zsync`; // APT Data -const apt_distribution = 'bullseye'; -const apt_key_url = 'https://ftp-master.debian.org/keys/archive-key-11.asc'; +const apt_distribution = 'sid'; // Version const fs = require('fs'); @@ -61,14 +60,10 @@ const apt = { arch: arch, sources: [ { - sourceline: `deb [arch=${arch}] http://deb.debian.org/debian/ ${apt_distribution} main`, - key_url: apt_key_url - }, - { - sourceline: `deb [arch=${arch}] http://deb.debian.org/debian/ ${apt_distribution}-updates main`, - key_url: apt_key_url + sourceline: `deb [arch=${arch}] https://deb.debian.org/debian/ ${apt_distribution} main` } ], + allow_unauthenticated: true, include: packages, exclude: packageExclusions }; diff --git a/scripts/setup.sh b/scripts/setup.sh index c29d3438f..3e2fc03d4 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -20,21 +20,21 @@ setup() { cd "build/${MODE}-${ARCH}" # Prepare - local extra_arg='-DMCPI_USE_MEDIA_LAYER_PROXY=ON' + local server_mode='OFF' if [ "${MODE}" = "server" ]; then - extra_arg='-DMCPI_SERVER_MODE=ON' + server_mode='ON' fi # Build ARM Components mkdir arm cd arm - cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE="${ARM_TOOLCHAIN_FILE}" -DMCPI_BUILD_MODE=arm "${extra_arg}" "$@" ../../.. + cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE="${ARM_TOOLCHAIN_FILE}" -DMCPI_BUILD_MODE=arm -DMCPI_IS_MIXED_BUILD=ON -DMCPI_SERVER_MODE="${server_mode}" "$@" ../../.. cd ../ # Build Native Components mkdir native cd native - cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DMCPI_BUILD_MODE=native "${extra_arg}" "$@" ../../.. + cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE="${toolchain_file}" -DMCPI_BUILD_MODE=native -DMCPI_IS_MIXED_BUILD=ON -DMCPI_SERVER_MODE="${server_mode}" "$@" ../../.. cd ../ # Exit