![](https://secure.gravatar.com/avatar/2f89906e4ad9c240ccc5e8883dc84226.jpg?s=120&d=mm&r=g)
Hallo Steffen, Steffen Nurpmeso <steffen@sdaoden.eu> wrote:
Off-topic, but graphicsmagick does not work out at all since it tries to open MODULE.la files (aka libtool), yet only MODULE.so (aka ELF shared object) are installed (here).
Try the latest version (graphicsmagick 1.3.41). I noticed the same problem a few weeks ago, and revised the Pkgfile to be less aggressive about deleting libtool garbage [1]. The commands I use most frequently (gm convert, gm resize) now seem to work as expected.
If only gimp would not have such a dependency chain, i mean gnutls, brotli, rust, that is just nothing but totally sick. A simple thing like Microsoft Paint in the 90s.
What good does it do to complain about the dependency chain on this list (unless some gimp developers happen to be subscribed)? The folks who determine gimp's dependencies are the upstream developers; we packagers are only responsible for ensuring that our repository's versions of those dependencies will satisfy gimp. If you want do do image editing with a simpler dependency chain, you can try mtpaint [2], an app that runs in the cloud [3], or bundle your own lua scripts into a custom mpv config [4]. If you want gimp to have a simpler dependency chain, then reach out to the gimp developers and ask if they can ship an equally featureful product without linking to gnutls, brotli, or whatever else you consider bloat.
Being able to optionally try out / use that Optional: thing would be cool.
Just to be clear, this feature only lets prt-get do something useful with the metadata that maintainers are already providing; it won't magically transform an existing port to make your unwanted dependencies optional. With that in mind, feel free to clone my repo [5] and take it for a test drive. Footnotes: [1] by adding -maxdepth 1 to the find command. Previously all *.la files under $PKG/usr/lib were being deleted, based on the claim that libtool "doesn't actually need them anyway and it will gladly continue without them" (https://github.com/baguette/crux-ports/blob/master/Util/bin/ libtool-garbage-day.sh) [2] https://github.com/baguette/crux-ports/tree/master/mtpaint [3] but then you might complain about the dependency chain of the browser; obviously something more complex than lynx is needed to edit images in the cloud. [4] gemini://rawtext.club/~jmq/recycled/mvi-jpg-crop.gmi [5] https://git.sdf.org/jmq/prt-get/src/branch/mixed-upinst -- John