The Free Software Media System - Server Backend & API
Remove GenerateDocumentationFile
crobibero583f47ea2885
diff --git a/Dockerfile b/Dockerfileindex 4fdffc7400..69af9b77b5 100644--- a/Dockerfile+++ b/Dockerfile@@ -14,7 +14,7 @@ COPY . .ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="/jellyfin" --self-contained --runtime linux-x64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="/jellyfin" --self-contained --runtime linux-x64 "-p:DebugSymbols=false;DebugType=none"FROM debian:buster-slimdiff --git a/Dockerfile.arm b/Dockerfile.armindex 751ab86119..efeed25dff 100644--- a/Dockerfile.arm+++ b/Dockerfile.arm@@ -21,7 +21,7 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# Discard objs - may cause failures if existsRUN find . -type d -name obj | xargs -r rm -r# Build-RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm "-p:DebugSymbols=false;DebugType=none"FROM multiarch/qemu-user-static:x86_64-arm as qemudiff --git a/Dockerfile.arm64 b/Dockerfile.arm64index 0d2e91d91c..1f2c2ec36d 100644--- a/Dockerfile.arm64+++ b/Dockerfile.arm64@@ -21,7 +21,7 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# Discard objs - may cause failures if existsRUN find . -type d -name obj | xargs -r rm -r# Build-RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm64 "-p:DebugSymbols=false;DebugType=none"FROM multiarch/qemu-user-static:x86_64-aarch64 as qemuFROM arm64v8/debian:buster-slimdiff --git a/debian/rules b/debian/rulesindex 6c7fbb779d..96541f41b8 100755--- a/debian/rules+++ b/debian/rules@@ -40,7 +40,7 @@ override_dh_clistrip:override_dh_auto_build:dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime $(DOTNETRUNTIME) \- "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none" Jellyfin.Server+ "-p:DebugSymbols=false;DebugType=none" Jellyfin.Serveroverride_dh_auto_clean:dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || truediff --git a/deployment/Dockerfile.docker.amd64 b/deployment/Dockerfile.docker.amd64index cf09014045..e04442606e 100644--- a/deployment/Dockerfile.docker.amd64+++ b/deployment/Dockerfile.docker.amd64@@ -12,4 +12,4 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-x64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-x64 "-p:DebugSymbols=false;DebugType=none"diff --git a/deployment/Dockerfile.docker.arm64 b/deployment/Dockerfile.docker.arm64index 5454ef0247..a7ac40492a 100644--- a/deployment/Dockerfile.docker.arm64+++ b/deployment/Dockerfile.docker.arm64@@ -12,4 +12,4 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm64 "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm64 "-p:DebugSymbols=false;DebugType=none"diff --git a/deployment/Dockerfile.docker.armhf b/deployment/Dockerfile.docker.armhfindex d99fa2a85c..b5a42f55ff 100644--- a/deployment/Dockerfile.docker.armhf+++ b/deployment/Dockerfile.docker.armhf@@ -12,4 +12,4 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1# because of changes in docker and systemd we need to not build in parallel at the moment# see https://success.docker.com/article/how-to-reserve-resource-temporarily-unavailable-errors-due-to-tasksmax-setting-RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none"+RUN dotnet publish Jellyfin.Server --disable-parallel --configuration Release --output="${ARTIFACT_DIR}" --self-contained --runtime linux-arm "-p:DebugSymbols=false;DebugType=none"diff --git a/deployment/build.linux.amd64 b/deployment/build.linux.amd64index d0a5c1747a..a1e7f661a5 100755--- a/deployment/build.linux.amd64+++ b/deployment/build.linux.amd64@@ -16,7 +16,7 @@ elsefi# Build archives-dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime linux-x64 --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime linux-x64 --output dist/jellyfin-server_${version}/ "-p:DebugSymbols=false;DebugType=none;UseAppHost=true"tar -czf jellyfin-server_${version}_linux-amd64.tar.gz -C dist jellyfin-server_${version}rm -rf dist/jellyfin-server_${version}diff --git a/deployment/build.macos b/deployment/build.macosindex 8bb8b2ebdb..6255c80cb2 100755--- a/deployment/build.macos+++ b/deployment/build.macos@@ -16,7 +16,7 @@ elsefi# Build archives-dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime osx-x64 --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime osx-x64 --output dist/jellyfin-server_${version}/ "-p:DebugSymbols=false;DebugType=none;UseAppHost=true"tar -czf jellyfin-server_${version}_macos-amd64.tar.gz -C dist jellyfin-server_${version}rm -rf dist/jellyfin-server_${version}diff --git a/deployment/build.portable b/deployment/build.portableindex 4c81d5672c..ea40ade5d9 100755--- a/deployment/build.portable+++ b/deployment/build.portable@@ -16,7 +16,7 @@ elsefi# Build archives-dotnet publish Jellyfin.Server --configuration Release --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --output dist/jellyfin-server_${version}/ "-p:DebugSymbols=false;DebugType=none;UseAppHost=true"tar -czf jellyfin-server_${version}_portable.tar.gz -C dist jellyfin-server_${version}rm -rf dist/jellyfin-server_${version}diff --git a/deployment/build.windows.amd64 b/deployment/build.windows.amd64index 47cfa2cd6f..afe4905769 100755--- a/deployment/build.windows.amd64+++ b/deployment/build.windows.amd64@@ -23,7 +23,7 @@ fioutput_dir="dist/jellyfin-server_${version}"# Build binary-dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime win-x64 --output ${output_dir}/ "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none;UseAppHost=true"+dotnet publish Jellyfin.Server --configuration Release --self-contained --runtime win-x64 --output ${output_dir}/ "-p:DebugSymbols=false;DebugType=none;UseAppHost=true"# Prepare addinsaddin_build_dir="$( mktemp -d )"diff --git a/fedora/jellyfin.spec b/fedora/jellyfin.specindex 291017d947..37b573e505 100644--- a/fedora/jellyfin.spec+++ b/fedora/jellyfin.spec@@ -54,7 +54,7 @@ The Jellyfin media server backend.export DOTNET_CLI_TELEMETRY_OPTOUT=1export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1dotnet publish --configuration Release --output='%{buildroot}%{_libdir}/jellyfin' --self-contained --runtime %{dotnet_runtime} \- "-p:GenerateDocumentationFile=true;DebugSymbols=false;DebugType=none" Jellyfin.Server+ "-p:DebugSymbols=false;DebugType=none" Jellyfin.Server%{__install} -D -m 0644 LICENSE %{buildroot}%{_datadir}/licenses/jellyfin/LICENSE%{__install} -D -m 0644 %{SOURCE15} %{buildroot}%{_sysconfdir}/systemd/system/jellyfin.service.d/override.conf%{__install} -D -m 0644 Jellyfin.Server/Resources/Configuration/logging.json %{buildroot}%{_sysconfdir}/jellyfin/logging.json