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/
<snip>
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

Reply via email to