Package Details: dng 15.1.1-1

Git Clone URL: https://aur.archlinux.org/dng.git (read-only, click to copy)
Package Base: dng
Description: Wrapper around Adobe DNG Converter via wine to provide POSIX command line parsing
Upstream URL: https://github.com/thorpelawrence/dng
Licenses: zlib
Submitter: lawrence
Maintainer: lawrence
Last Packager: lawrence
Votes: 1
Popularity: 0.24
First Submitted: 2022-07-24 15:34 (UTC)
Last Updated: 2023-02-05 13:58 (UTC)

Latest Comments

lawrence commented on 2024-02-09 11:10 (UTC)

Hi @dreieck, mostly I packaged this for myself without much experience in packaging for AUR before this. If you'd be willing to update the PKGBUILD in my upstream repo I'd appreciate it and would be happy to update the AUR to mirror it.

dreieck commented on 2024-02-09 10:25 (UTC) (edited on 2024-02-09 10:30 (UTC) by dreieck)

Can you rework your package so that it depends on dngconverter and uses that packages' installation for command line use?

dngcoverter installs the GUI, and you can here add just command line parsing to it, saving on double install of over 1 GiB of data.

Or add provides=("dngconverter=${pkgver}") and conflicts=("dngconverter") and provide a /usr/bin/dngconverter executable/ symlink.

Regards and thanks for maintaining!

dreieck commented on 2024-02-09 10:21 (UTC) (edited on 2024-02-09 10:22 (UTC) by dreieck)

Can you please move all the rust specific download out of build() into prepare(), so that build() can run offline?

Also, please set $CARGO_* environment variables in a way that it does not clutter the user's home directory but downloads it's stuff into a subdirectory of ${srcdir}/.

==> Starting build()...
[...]
  Downloaded memchr v2.5.0
  Downloaded dirs-sys v0.3.7
  Downloaded clap_mangen v0.1.10
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded atty v0.2.14
[...]

Regards and thanks for maintaining!