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

testdisk: deduplicating testdisk/photorec #69945

Merged
merged 3 commits into from Oct 14, 2019
Merged

Conversation

d-goldin
Copy link
Contributor

Motivation for this change

Testdisk/Photorec has been packaged twice. This deduplicates
the packages by consolidating the packages into one and throwing
an error upon use of the outdated package.

this also adds qphotorec, which was previously not built and ensures
it's wrapped correctly.

Please note that I took the liberty to merge the maintainers lists.

See #67953

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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.
Notify maintainers

cc @fgaz @edolstra

pkgs/tools/system/testdisk/default.nix Outdated Show resolved Hide resolved
, ncurses
, libuuid
, pkgconfig
, enableJpeg ? false, libjpeg ? null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need so many options? Cannot users who want to disable libjpeg just do testdisk.override { libjpeg = null; }?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, they could. For some reason I was on some explicit train at that point. I will flip at least libjpeg.

@ofborg ofborg bot requested a review from fgaz October 2, 2019 15:09
Copy link
Member

@fgaz fgaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
thatnks for the cleanup, @d-goldin

@d-goldin
Copy link
Contributor Author

d-goldin commented Oct 3, 2019

@fgaz: Alright, thanks for the review and the good pointers. I was not very acquainted with the qt mechanisms. Let me know if I should squash or if merger could do it.

@fgaz
Copy link
Member

fgaz commented Oct 4, 2019

@d-goldin Well, one way or another this will need to be squashed (or the commit messages edited to match the template), so you may as well do it

Also, while I'm at it:
@GrahamcOfBorg build testdisk testdisk-qt

@d-goldin
Copy link
Contributor Author

Is there anything left to do before this can be merged?

Testdisk/Photorec has been packaged twice. This deduplicates
the packages by consolidating the packages into one and throwing
an error upon use of the outdated package.

this also adds qphotorec, which was previously not built and ensures
it's wrapped correctly.

Please note that I took the liberty to merge the maintainers lists.
Makes it easier to read since one does not need to be aware
of overrides in all-packages.nix.
@Mic92 Mic92 merged commit 4d28337 into NixOS:master Oct 14, 2019
@d-goldin
Copy link
Contributor Author

Thanks.

@d-goldin d-goldin deleted the testdisk-dedup branch October 14, 2019 11:06
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.

None yet

4 participants