From 206809a99affad9a7aa58fcf7593cea71f48954d Mon Sep 17 00:00:00 2001
From: Romain Vimont <rom@rom1v.com>
Date: Tue, 2 Apr 2024 18:01:21 +0200
Subject: [PATCH 1/4] Fix typo in documentation

---
 doc/audio.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/audio.md b/doc/audio.md
index ecae446819..f1d4d8e753 100644
--- a/doc/audio.md
+++ b/doc/audio.md
@@ -35,7 +35,7 @@ scrcpy --no-video
 # interrupt with Ctrl+C
 ```
 
-Without video, the audio latency is typically not criticial, so it might be
+Without video, the audio latency is typically not critical, so it might be
 interesting to add [buffering](#buffering) to minimize glitches:
 
 ```

From b5849db32fdd4bd1bba4e8084e5bfa368f6e9747 Mon Sep 17 00:00:00 2001
From: Romain Vimont <rom@rom1v.com>
Date: Wed, 29 May 2024 10:32:58 +0200
Subject: [PATCH 2/4] Document missing package to build for Windows

To build ffmpeg, libz is necessary.

Refs #4955 <https://github.com/Genymobile/scrcpy/issues/4955>
---
 doc/build.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/build.md b/doc/build.md
index 751cf831af..01319a1024 100644
--- a/doc/build.md
+++ b/doc/build.md
@@ -94,7 +94,7 @@ This is the preferred method (and the way the release is built).
 From _Debian_, install _mingw_:
 
 ```bash
-sudo apt install mingw-w64 mingw-w64-tools
+sudo apt install mingw-w64 mingw-w64-tools libz-mingw-w64-dev
 ```
 
 You also need the JDK to build the server:

From c27ab46efbcab0b9558a91e691d799ffef496c97 Mon Sep 17 00:00:00 2001
From: Romain Vimont <rom@rom1v.com>
Date: Thu, 30 May 2024 08:23:42 +0200
Subject: [PATCH 3/4] Remove suggestion to install from winget

It does not work.

Refs #4027 <https://github.com/Genymobile/scrcpy/issues/4027>
Refs #4389 <https://github.com/Genymobile/scrcpy/issues/4389>
Refs #4956 <https://github.com/Genymobile/scrcpy/issues/4956>
---
 doc/windows.md | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/doc/windows.md b/doc/windows.md
index a3711f2698..e30531880b 100644
--- a/doc/windows.md
+++ b/doc/windows.md
@@ -15,13 +15,7 @@ Download the [latest release]:
 
 and extract it.
 
-Alternatively, you could install it from packages manager, like [Winget]:
-
-```bash
-winget install scrcpy
-```
-
-or [Chocolatey]:
+Alternatively, you could install it from packages manager, like [Chocolatey]:
 
 ```bash
 choco install scrcpy

From 576e7552a29e30b40205f81f2ff4d461f018313f Mon Sep 17 00:00:00 2001
From: Romain Vimont <rom@rom1v.com>
Date: Thu, 13 Jun 2024 09:11:32 +0200
Subject: [PATCH 4/4] Mention that the Debian package is obsolete

It cannot be updated until the android-framework-XX Debian package is
fixed.

Refs <https://tracker.debian.org/pkg/scrcpy>
---
 doc/linux.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/linux.md b/doc/linux.md
index 68b4ee1027..6bfe3454f9 100644
--- a/doc/linux.md
+++ b/doc/linux.md
@@ -6,7 +6,7 @@
 
 Scrcpy is packaged in several distributions and package managers:
 
- - Debian/Ubuntu: `apt install scrcpy`
+ - Debian/Ubuntu: ~~`apt install scrcpy`~~ _(obsolete version)_
  - Arch Linux: `pacman -S scrcpy`
  - Fedora: `dnf copr enable zeno/scrcpy && dnf install scrcpy`
  - Gentoo: `emerge scrcpy`