Bug#1032320: yt-dlp: Please include built manpage into package
Howdy, On Sat, 4 Mar 2023, debian.fab@erine.email wrote: Hmm, my bad, this only appears on the backported package: % dpkg -c yt-dlp_2023.02.17-1_all.deb | grep -F yt-dlp.1 -rw-r--r-- root/root    39545 2023-02-18 00:37 /usr/share/man/man1/yt-dlp.1.gz % dpkg -c yt-dlp_2023.02.17-1\~bpo11+1_all.deb | grep -F yt-dlp.1 -rw-r--r-- root/root   133597 2023-02-28 06:30 /usr/lib/python3/dist-packages/share/man/man1/yt-dlp.1 Maybe the build tools are behaving differently on Bullseye. The patch I suggested makes the man available on the backported deb file built on Bullseye. Do you think applying it would make the man available in both cases? Ah interesting! I didn't see that. Interestingly, the current release that's in unstable doesn't appear to have this problem when rebuilt for stable: drwxr-xr-x root/root 0 2023-03-08 04:50 ./usr/lib/python3/dist-packages/yt_dlp-2023.3.4.dist-info/ drwxr-xr-x root/root 0 2023-03-08 04:50 ./usr/share/fish/ drwxr-xr-x root/root 0 2023-03-08 04:50 ./usr/share/fish/vendor_completions.d/ -rw-r--r-- root/root 49319 2023-03-08 04:50 ./usr/share/fish/vendor_completions.d/yt-dlp.fish drwxr-xr-x root/root 0 2023-03-08 04:50 ./usr/share/man/ drwxr-xr-x root/root 0 2023-03-08 04:50 ./usr/share/man/man1/ -rw-r--r-- root/root 40205 2023-03-08 04:50 ./usr/share/man/man1/yt-dlp.1.gz drwxr-xr-x root/root 0 2023-03-08 04:50 ./usr/share/zsh/ drwxr-xr-x root/root 0 2023-03-08 04:50 ./usr/share/zsh/site-functions/ -rw-r--r-- root/root 6170 2023-03-08 04:50 ./usr/share/zsh/site-functions/_yt-dlp So unless something differs in my stable chroot (or pbuilder), this appears to be something that's now fixed! At this point, with bookworm right around the corner, yt-dlp backports are soon to stop for bullseye anyway. Regards, ~Unit 193 Unit193 @ Libera Unit193 @ OFTC Thanks, Fab On 04/03/2023 01:00, Unit 193 - unit...@unit193.net wrote: Howdy, On Fri, 3 Mar 2023, Fab wrote: Package: yt-dlp Version: 2023.02.17-1 Severity: normal Tags: patch X-Debbugs-Cc: debian.fab@erine.email Hello, provided patch just adds the debian/yt-dlp.manpages The file only contains "yt-dlp.1" (built in the root dir). This allows one to use `man yt-dlp`. Umm. Did you try that now? Perhaps you should. unit193@Loki:~$ dpkg -L yt-dlp | grep man1/yt-dlp /usr/share/man/man1/yt-dlp.1.gz unit193@Loki:~$ man yt-dlp | wc -l 2462 unit193@Loki:~$ apt-cache policy yt-dlp yt-dlp:  Installed: 2023.02.17-1  Candidate: 2023.02.17-1  Version table:  *** 2023.02.17-1 500        100 http://deb.debian.org/debian unstable/main amd64 Packages        100 /var/lib/dpkg/status As you can see here, the package already ships a manpage. Perhaps you installed from somewhere else? You can also view it online: https://manpages.debian.org/testing/yt-dlp/yt-dlp.1.en.html ~Unit 193 Unit193 @ Libera Unit193 @ OFTC
Bug#1032320: yt-dlp: Please include built manpage into package
Hmm, my bad, this only appears on the backported package: % dpkg -c yt-dlp_2023.02.17-1_all.deb | grep -F yt-dlp.1 -rw-r--r-- root/root    39545 2023-02-18 00:37 /usr/share/man/man1/yt-dlp.1.gz % dpkg -c yt-dlp_2023.02.17-1\~bpo11+1_all.deb | grep -F yt-dlp.1 -rw-r--r-- root/root   133597 2023-02-28 06:30 /usr/lib/python3/dist-packages/share/man/man1/yt-dlp.1 Maybe the build tools are behaving differently on Bullseye. The patch I suggested makes the man available on the backported deb file built on Bullseye. Do you think applying it would make the man available in both cases? Thanks, Fab On 04/03/2023 01:00, Unit 193 - unit...@unit193.net wrote: Howdy, On Fri, 3 Mar 2023, Fab wrote: Package: yt-dlp Version: 2023.02.17-1 Severity: normal Tags: patch X-Debbugs-Cc: debian.fab@erine.email Hello, provided patch just adds the debian/yt-dlp.manpages The file only contains "yt-dlp.1" (built in the root dir). This allows one to use `man yt-dlp`. Umm. Did you try that now? Perhaps you should. unit193@Loki:~$ dpkg -L yt-dlp | grep man1/yt-dlp /usr/share/man/man1/yt-dlp.1.gz unit193@Loki:~$ man yt-dlp | wc -l 2462 unit193@Loki:~$ apt-cache policy yt-dlp yt-dlp:  Installed: 2023.02.17-1  Candidate: 2023.02.17-1  Version table:  *** 2023.02.17-1 500        100 http://deb.debian.org/debian unstable/main amd64 Packages        100 /var/lib/dpkg/status As you can see here, the package already ships a manpage. Perhaps you installed from somewhere else? You can also view it online: https://manpages.debian.org/testing/yt-dlp/yt-dlp.1.en.html ~Unit 193 Unit193 @ Libera Unit193 @ OFTC
Bug#1032320: yt-dlp: Please include built manpage into package
Howdy, On Fri, 3 Mar 2023, Fab wrote: Package: yt-dlp Version: 2023.02.17-1 Severity: normal Tags: patch X-Debbugs-Cc: debian.fab@erine.email Hello, provided patch just adds the debian/yt-dlp.manpages The file only contains "yt-dlp.1" (built in the root dir). This allows one to use `man yt-dlp`. Umm. Did you try that now? Perhaps you should. unit193@Loki:~$ dpkg -L yt-dlp | grep man1/yt-dlp /usr/share/man/man1/yt-dlp.1.gz unit193@Loki:~$ man yt-dlp | wc -l 2462 unit193@Loki:~$ apt-cache policy yt-dlp yt-dlp: Installed: 2023.02.17-1 Candidate: 2023.02.17-1 Version table: *** 2023.02.17-1 500 100 http://deb.debian.org/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status As you can see here, the package already ships a manpage. Perhaps you installed from somewhere else? You can also view it online: https://manpages.debian.org/testing/yt-dlp/yt-dlp.1.en.html ~Unit 193 Unit193 @ Libera Unit193 @ OFTC
Bug#1032320: yt-dlp: Please include built manpage into package
Package: yt-dlp Version: 2023.02.17-1 Severity: normal Tags: patch X-Debbugs-Cc: debian.fab@erine.email Hello, provided patch just adds the debian/yt-dlp.manpages The file only contains "yt-dlp.1" (built in the root dir). This allows one to use `man yt-dlp`. Thank you, Fab -- System Information: (not relevant here) -- no debconf information >From fb65a6efaa4be71950351ab0daeed12b0bd52563 Mon Sep 17 00:00:00 2001 From: Fab Date: Fri, 3 Mar 2023 21:22:16 +0100 Subject: [PATCH] Include built yt-dlp manpage into package --- debian/yt-dlp.manpages | 1 + 1 file changed, 1 insertion(+) create mode 100644 debian/yt-dlp.manpages diff --git a/debian/yt-dlp.manpages b/debian/yt-dlp.manpages new file mode 100644 index 000..dd76032 --- /dev/null +++ b/debian/yt-dlp.manpages @@ -0,0 +1 @@ +yt-dlp.1 -- 2.30.2