From b54e479a3f9e973a083c643905f21c59fadd63bb Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Sun, 12 Apr 2026 03:00:11 -0500 Subject: Remove LOOT integration entirely The sort button was already hidden on Linux (setVisible(false)) and the LOOT feedback path (LootDialog -> addLootReport) has always been Windows-only, meaning the dirty/incompatibilities/missingMasters/messages tooltip bullets and the dirty-plugin icon could never fire on Linux. MO2 shipped lootcli + libloot for a load-order sort mechanism that was unreachable from the UI. Users who want LOOT can download it from https://github.com/loot/loot and run it against their instance directly. - Drop libs/lootcli/, libloot Dockerfile build step, and lootcli staging/patchelf in build-inner.sh - Drop src/src/loot.{cpp,h}, src/src/lootdialog.{cpp,h,ui} - Extract MarkdownDocument / MarkdownPage (used by UpdateDialog for its changelog view) into src/src/markdowndocument.{h,cpp} - Strip addLootReport, makeLootTooltip, Loot::Plugin field, LOOT icon checks, and LOOT tooltip/isProblematic/hasInfo paths from pluginlist - Delete sortButton widget, updateSortButton(), onSortButtonClicked(), and all m_didUpdateMasterList wiring - Delete lootLogLevel setting, combo box, and "Integrated LOOT" group from the diagnostics settings tab --- docker/Dockerfile | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index 6c92aa2..60caaf6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -72,35 +72,6 @@ RUN /opt/python-bundled/bin/pip3 install --no-cache-dir \ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ sh -s -- -y --default-toolchain stable --profile minimal -# ── Build and install libloot ── -ARG LIBLOOT_REF=master -RUN git clone --depth 1 --branch ${LIBLOOT_REF} \ - https://github.com/loot/libloot.git /tmp/libloot && \ - cmake -S /tmp/libloot/cpp -B /tmp/libloot/build -G Ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=ON \ - -DLIBLOOT_INSTALL_DOCS=OFF \ - -DBUILD_TESTING=OFF \ - -DCMAKE_INSTALL_PREFIX=/usr/local && \ - cmake --build /tmp/libloot/build --parallel && \ - cmake --install /tmp/libloot/build && \ - # Create pkg-config metadata - mkdir -p /usr/local/lib/pkgconfig && \ - printf '%s\n' \ - 'prefix=/usr/local' \ - 'exec_prefix=${prefix}' \ - 'libdir=${prefix}/lib' \ - 'includedir=${prefix}/include' \ - '' \ - 'Name: libloot' \ - 'Description: LOOT C++ API library' \ - 'Version: 0.29.0' \ - 'Libs: -L${libdir} -lloot' \ - 'Cflags: -I${includedir}' \ - > /usr/local/lib/pkgconfig/libloot.pc && \ - ldconfig && \ - rm -rf /tmp/libloot - # ── Pre-download linuxdeploy tooling (optional, only for AppImage builds) ── # Set BUILD_APPIMAGE=1 to include linuxdeploy in the image. # Without it, only tarball and installer builds are available. -- cgit v1.3.1