josch pushed to main at josch/mmdebstrap 2024-05-14 05:53:59 +00:00
e3eafd0009 release 1.5.0
eed6a86480 mmdebstrap-autopkgtest-build-qemu: document https://github.com/util-linux/util-linux/issues/2981
5a06c67aaa document that --cache-dir is also not a supported debootstrap option
d26afd110f add more docs to the tar-out special hook
4ad8245a14 tests/missing-dev-sys-proc-inside-the-chroot: work around for bug #1071078
Compare 6 commits »
josch commented on issue josch/mmdebstrap#42 2024-04-22 15:25:50 +00:00
Local package cache?

No, mmdebstrap creates its own mount namespace, so everything gets unmounted automatically even if you should forget to unmount or if the process dies early. Have a look in `/usr/share/mmdebstrap/h…

josch commented on issue josch/mmdebstrap#42 2024-04-22 12:50:57 +00:00
Local package cache?

What the debootstrap --cache-dir option does is a layer violation. You have at least two options to do something similar in mmdebstrap:

  1. add a similar layer violation in the form of hook…
josch pushed to main at josch/mmdebstrap 2024-04-15 12:51:20 +00:00
4a294f05bd Add test if dpkg-dev is installed
josch pushed to main at josch/mmdebstrap 2024-04-15 12:18:27 +00:00
8c0ddc3266 mmdebstrap-autopkgtest-build-qemu: use mount --no-mtab
josch commented on issue josch/img2pdf#194 2024-04-03 14:15:42 +00:00
Keywords argument adds extra quotation marks

I am not sure myself either. I've read the PDF spec on the /Keywords entry and it just says:

Keywords associated with the document

It does not talk about if there can be more than one…

josch commented on issue josch/img2pdf#194 2024-04-03 12:20:29 +00:00
Keywords argument adds extra quotation marks

Okay, but that software adds the quotation marks in its interface. The quotation markes are not stored in the pdf itself. They are something that are added by your pdf viewer when presenting the…

josch commented on issue josch/img2pdf#195 2024-04-03 09:03:33 +00:00
[0.5.1] Split pages?

Okay, happy to hear that the problem solved itself. :)

josch commented on issue josch/img2pdf#195 2024-04-03 07:53:39 +00:00
[0.5.1] Split pages?

Then I'm afraid I fail to understand your query. By default, img2pdf creates one page per input image. The input images are not lumped together into a single-page pdf. Can you describe in more…

josch commented on issue josch/img2pdf#195 2024-03-31 06:21:40 +00:00
[0.5.1] Split pages?
for f in *.png; do
    img2pdf -o "$(basename "$f" .png).pdf" "$f"
done
josch commented on issue josch/img2pdf#194 2024-03-30 16:53:07 +00:00
Keywords argument adds extra quotation marks

What is the use-case for only storing it in one or the other? Why would a user want to have control over that?

I was more thinking along the lines of what adobe acrobat apparently does and…

josch pushed to main at josch/mmdebstrap 2024-03-27 04:51:00 +00:00
1e68ffd2c4 tests: changelog.Debian.$foreign_arch.gz files are not always present
726fc38d1d attempt diagnosing skip-tar-in-mknod failure 'file changed as we read it' using auditd
ae09a50f9d document unshare --map-auto --map-user=65536 --map-group=65536 --keep-caps trick
9726836ac4 mmdebstrap-autopkgtest-build-qemu: add documentation of some unshare magic
cdf6959a41 make_mirror.sh: retry apt with verbose output
Compare 8 commits »
josch commented on issue josch/img2pdf#194 2024-03-24 22:59:29 +00:00
Keywords argument adds extra quotation marks

Sorry, I'm maintaining img2pdf in my free-time and my current real-life job ends at the end of march and things are a bit hectic with figuring out how things continue in april.

https://exiftoo

josch commented on issue josch/img2pdf#194 2024-03-11 08:11:34 +00:00
Keywords argument adds extra quotation marks

Can you please upload your file?

No need, my file is bit-by-bit identical (same hashes) compared to yours.

I have removed double quotation marks in Adobe Acrobat and saved the file. What…

josch commented on issue josch/img2pdf#194 2024-03-11 07:49:37 +00:00
Keywords argument adds extra quotation marks

In your PDF I see this:

1 0 obj
<<
    /Keywords (One, two)
    /Producer (img2pdf 0.5.1)
>>

So there are no quotes. Maybe this is something your PDF viewer does?

josch commented on issue josch/img2pdf#194 2024-03-11 07:38:17 +00:00
Keywords argument adds extra quotation marks

Another idea: download this image:

https://mister-muffin.de/mister-muffin.png

And then run:

img2pdf.exe mister-muffin.png --nodate --engine=internal --keywords "One, two" -o out.pdf

josch commented on issue josch/img2pdf#194 2024-03-11 07:26:14 +00:00
Keywords argument adds extra quotation marks

Huh, that's super weird! The problem indeed seems to be windows specific. I cannot reproduce it on my linux box. What does this do on your system:

python3 -c "import sys; print(sys.argv[1])"…
josch commented on issue josch/img2pdf#194 2024-03-11 05:04:39 +00:00
Keywords argument adds extra quotation marks

I suspect this is your shell. Can you try the same commands with a different shell?

josch commented on issue josch/img2pdf#193 2024-03-05 16:06:04 +00:00
STRIP_SIZE messages

I don't understand how you get the output you describe with the command you are running. The messages you see are created by this line in the code:

logger.debug(f"setting {self.obj}.{self.fi…
josch commented on issue josch/img2pdf#193 2024-03-05 09:34:24 +00:00
STRIP_SIZE messages

Thank you for your report! What logs are you seeing these messages in? Just on standard output when you run img2pdf? I'm not sure why there is anything printed when img2pdf sets the tiff strip…