Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package]: img2pdf #23168

Open
6 of 8 tasks
dpuschek opened this issue Feb 12, 2025 · 5 comments
Open
6 of 8 tasks

[Package]: img2pdf #23168

dpuschek opened this issue Feb 12, 2025 · 5 comments
Labels
package request A new package was requested python Issue is about Python related stuff, including pip

Comments

@dpuschek
Copy link

dpuschek commented Feb 12, 2025

Why is it worth to add this package?

Hello,

img2pdf is a great tool to put images (like jpg, png) into a new pdf-file without reencoding.

Normaly there is a img2pdf package in debian based distributions

Thanks in advance

Dominik

Home page URL

https://gitlab.mister-muffin.de/josch/img2pdf

Source code URL

https://gitlab.mister-muffin.de/josch/img2pdf

Packaging policy acknowledgement

  • The project is actively developed.

  • The project has existing packages and is "well known".

  • Licensed under an open source license.

  • Not available through a language package manager: pip, npm, cpan, cargo, etc.

  • Not taking up too much disk space (< 100MiB per architecture, exceptions can be made)

  • Not duplicating the functionality of existing packages.

  • Not serving hacking, malware, phishing, spamming, spying, ddos functionality.

  • I certify that I have read Termux Packaging Policy and understand that my request will be denied if it is found lacking.

Additional information

I also try to install with "pip3 install img2pdf", but firstly it fails with many issues. I installed many extra packages from repository and now I stuck at "Building wheel for pikepdf (pyproject.toml) ...". If I wait a longer time at this point, I got a force close of termux.

@dpuschek dpuschek added the package request A new package was requested label Feb 12, 2025
@Biswa96
Copy link
Member

Biswa96 commented Feb 13, 2025

I also try to install with "pip3 install img2pdf", but firstly it fails with many issues.

Could you share the output of that pip command in plain text format?

@Biswa96 Biswa96 added the python Issue is about Python related stuff, including pip label Feb 13, 2025
@licy183
Copy link
Member

licy183 commented Feb 15, 2025

Actually building pikepdf takes too much time. It may be possible to package python-pikepdf.

@licy183
Copy link
Member

licy183 commented Feb 15, 2025

I just confirmed that pikepdf takes about 2min to build from source on aarch64 with pre-compiled qpdf installed from APT repository.

Try to install it with the following commands:

pkg install qpdf
pip install pikepdf
pip install img2pdf

@Biswa96
Copy link
Member

Biswa96 commented Feb 17, 2025

Should this package be added, since it can be installed directly via pip without any necessary modifications?

@licy183
Copy link
Member

licy183 commented Feb 17, 2025

Actually I don't think that it is necessary to package.

BTW I think it would be better to open an issue as a tracker for Python packages that require specific dependencies to be installed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request A new package was requested python Issue is about Python related stuff, including pip
Projects
None yet
Development

No branches or pull requests

3 participants