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

lensfun: update lensfun databases #108991

Merged
merged 5 commits into from Jan 13, 2021
Merged

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Jan 11, 2021

Motivation for this change

Built Darktable with this PR and verified Sony A7 III is visible in the list.

Closes #99009

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

cc @expipiplus1 @cnnrro @cillianderoiste @flosse @mrVanDalo @danieldk @adisbladis

Project has moved to GitHub.
pkgs/development/libraries/lensfun/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/lensfun/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/lensfun/default.nix Outdated Show resolved Hide resolved
pkgs/development/libraries/lensfun/default.nix Outdated Show resolved Hide resolved
@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 108991 run on x86_64-darwin 1

2 packages marked as broken and skipped:
  • gimpPlugins.ufraw
  • ufraw
3 packages failed to build and are new build failures:
3 packages built:
  • darktable
  • gegl_0_4 (gnome3.gegl_0_4)
  • lensfun

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 108991 run on x86_64-linux 1

5 packages marked as broken and skipped:
  • gimpPlugins.exposureBlend
  • gimpPlugins.texturize
  • gimpPlugins.ufraw
  • photivo
  • ufraw
19 packages built:
  • darktable
  • gegl_0_4 (gnome3.gegl_0_4)
  • gimp (gimpPlugins.gimp)
  • gimp-with-plugins
  • gimpPlugins.fourier
  • gimpPlugins.gap
  • gimpPlugins.gimplensfun
  • gimpPlugins.gmic
  • gimpPlugins.lightning
  • gimpPlugins.lqrPlugin
  • gimpPlugins.resynthesizer
  • gimpPlugins.waveletSharpen
  • gnome-photos (gnome3.gnome-photos)
  • hugin
  • lensfun
  • nufraw
  • nufraw-thumbnailer
  • photoflow
  • rawtherapee

@flokli
Copy link
Contributor Author

flokli commented Jan 12, 2021

@SuperSandro2000 I addressed the review bits.

The `[g-]lensfun-update-data` binaries can't really work on NixOS (as
the database is immutable), and most other scripts seem to require the
lensfun python bindings (which aren't installed either).

Let's disable installing the helper scripts for now.
lensfun hasn't had a new release since quite some time, and the database
updater doesn't work in NixOS
(NixOS#99009).

This replaces the database with a more recent snapshot during build,
thus adding support for more recent camera models/lenses (as reported in
NixOS#107304)
@SuperSandro2000 SuperSandro2000 merged commit d279a56 into NixOS:master Jan 13, 2021
@flokli flokli deleted the lensfun-database branch July 11, 2021 15:25
@flokli flokli mentioned this pull request Dec 24, 2022
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lensfun can't update lens database
2 participants