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

system-config-printer: 1.5.11 -> 1.5.12 #70931

Merged
merged 2 commits into from Oct 20, 2019

Conversation

symphorien
Copy link
Member

Fixes some dialogs with our version of gtk like

 grid.attach (entry, 1, 2, i, i + 1, 0, 0)
TypeError: Gtk.Grid.attach() takes exactly 6 arguments (8 given)
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 @

@teto
Copy link
Member

teto commented Oct 11, 2019

@GrahamcOfBorg build system-config-printer

Copy link
Contributor

@worldofpeace worldofpeace left a comment

Choose a reason for hiding this comment

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

Can we update the homepage and document the source url change (in commit message)?
And what purpose can adding packagekit support be in nixos? I'm not sure it looks like it needs it as a buildtime dependency

@symphorien
Copy link
Member Author

@symphorien
Copy link
Member Author

Also fedora did this as well: (see changelog for 1.5.11-17):
https://apps.fedoraproject.org/packages/system-config-printer/sources/spec/

I changed the homepage in meta and enabled tests.

@worldofpeace
Copy link
Contributor

1.5.11-17

I wonder why fedora doesn't declare any dependence on packagekit.

packagekit is a runtime dependency $out/bin/install-printerdriver.

So then I guess the system-config-printer nixos module/s needs to enable services.packagekit.enable then. And yes it does need it wrapped with the typelibs

@symphorien
Copy link
Member Author

Modified the dependency on packagekit in the module (whose existence I discovered with your comment).

Copy link
Contributor

@worldofpeace worldofpeace left a comment

Choose a reason for hiding this comment

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

Can we default to python3?

@symphorien
Copy link
Member Author

@worldofpeace
Copy link
Contributor

We already use python3: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix#L6423

I see. Can we get rid of that? I find it makes the expression hard to read, and overriding shouldn't be any different.

Source for the change of upstream url:
* zdohnal/system-config-printer is a fork of
OpenPrinting/system-config-printer
* This is what fedora did:
https://apps.fedoraproject.org/packages/system-config-printer/sources/spec/
(see changelog for  1.5.11-17)
@symphorien
Copy link
Member Author

done

@symphorien
Copy link
Member Author

Is there anything that needs to be amended yet ?

@worldofpeace worldofpeace merged commit 64468d4 into NixOS:master Oct 20, 2019
@worldofpeace
Copy link
Contributor

Thanks @symphorien.

@symphorien symphorien deleted the system-config-printer branch March 21, 2020 18:16
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

3 participants