Bug#912993: Debian bug 912993
pe 21.3.2025 klo 23.14 Farblos (farblos@vodafonemail.de) kirjoitti:
>
> On 2025-03-18 07:50, Martin-Éric Racine wrote:
>
> > Yes or just follow what dpkg-source says when it notifies you that you
> > have modified the source and generates the patch template for you.
>
> Here is my patch, then. Plus a small postscript test document with
> an extra short title to demonstrate the difference in file name without
> my patch (generating job 29):
>
> [~]$ aptitude show printer-driver-cups-pdf
> Package: printer-driver-cups-pdf
> Version: 3.0.1-20
> State: installed
> Automatically installed: no
> Priority: optional
> Section: graphics
> Maintainer: Debian CUPS Maintainers <debian-printing@lists.debian.org>
> Architecture: amd64
> [...]
>
>
> [~]$ ls -al ~/tmp/transfer/print/
> total 8
> drwxr-xr-x 2 farblos farblos 4096 Mar 21 21:45 .
> drwxr-xr-x 5 farblos farblos 4096 Mar 19 17:56 ..
>
> [~]$ lpr -o Title=0 ~/tmp/test.ps
>
> [~]$ ls -al ~/tmp/transfer/print/
> total 12
> drwxr-xr-x 2 farblos farblos 4096 Mar 21 21:45 .
> drwxr-xr-x 5 farblos farblos 4096 Mar 19 17:56 ..
> -rw------- 1 farblos farblos 1608 Mar 21 21:45 Y_ome_farblos_tmp_transfer_print-job_29.pdf
>
> And with my patch (generating job 30):
>
> [~]$ aptitude show printer-driver-cups-pdf
> Package: printer-driver-cups-pdf
> Version: 3.0.1-20.1
> State: installed
> Automatically installed: no
> Priority: optional
> Section: graphics
> Maintainer: Debian CUPS Maintainers <debian-printing@lists.debian.org>
> Architecture: amd64
> [...]
>
>
> [~]$ ls -al ~/tmp/transfer/print/
> total 12
> drwxr-xr-x 2 farblos farblos 4096 Mar 21 21:45 .
> drwxr-xr-x 5 farblos farblos 4096 Mar 19 17:56 ..
> -rw------- 1 farblos farblos 1608 Mar 21 21:45 Y_ome_farblos_tmp_transfer_print-job_29.pdf
>
> [~]$ lpr -o Title=0 ~/tmp/test.ps
>
> [~]$ ls -al ~/tmp/transfer/print/
> total 16
> drwxr-xr-x 2 farblos farblos 4096 Mar 21 21:48 .
> drwxr-xr-x 5 farblos farblos 4096 Mar 19 17:56 ..
> -rw------- 1 farblos farblos 1608 Mar 21 21:48 Y-job_30.pdf
> -rw------- 1 farblos farblos 1608 Mar 21 21:45 Y_ome_farblos_tmp_transfer_print-job_29.pdf
>
> Please let me know if that is OK for you.
Thanks. I'm curious to see what upstream thinks of this first. I just
pinged him.
Martin-Éric
Reply to: