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

cups-googlecloudprint: init at 20160502 #48002

Merged
merged 1 commit into from Oct 11, 2018
Merged

Conversation

obadz
Copy link
Contributor

@obadz obadz commented Oct 7, 2018

Motivation for this change

Add support for Google Cloud Print in CUPS, using https://github.com/simoncadman/CUPS-Cloud-Print / https://www.niftiestsoftware.com/cups-cloud-print/

cc @samueldr

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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cups-googlecloudprint

Partial log (click to expand)

/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/refreshtokens.py: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/listcloudprinters.py: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/dynamicppd.py: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/deleteaccount.py: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/backend.py: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/listdrivefiles.py: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/remove-test.sh: interpreter directive changed from " /bin/bash" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/bash"
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/full-test.sh: interpreter directive changed from " /bin/bash" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502...
/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: cups-googlecloudprint

Partial log (click to expand)

/nix/store/zyyw7qxpj1yri8xdasbm68ix3hwmly85-coreutils-8.30/bin/install -c -m 755 ./testing/listdrivefiles.py /nix/store/8nrc60szgg5ghxpmyc8nd8qlsjbpfgka-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/
/nix/store/zyyw7qxpj1yri8xdasbm68ix3hwmly85-coreutils-8.30/bin/install -c -m 644 ./testing/testfiles/* /nix/store/8nrc60szgg5ghxpmyc8nd8qlsjbpfgka-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/testfiles/
/nix/store/zyyw7qxpj1yri8xdasbm68ix3hwmly85-coreutils-8.30/bin/install -c -m 644 ./selinux/* /nix/store/8nrc60szgg5ghxpmyc8nd8qlsjbpfgka-cups-googlecloudprint-20160502/share/cloudprint-cups/selinux/
/nix/store/zyyw7qxpj1yri8xdasbm68ix3hwmly85-coreutils-8.30/bin/install -c -m 644 ./oauth2client/*.py /nix/store/8nrc60szgg5ghxpmyc8nd8qlsjbpfgka-cups-googlecloudprint-20160502/share/cloudprint-cups/oauth2client/
mkdir -p /Library/LaunchDaemons/
/nix/store/zyyw7qxpj1yri8xdasbm68ix3hwmly85-coreutils-8.30/bin/install -c -m 644 ./launchd/* /Library/LaunchDaemons/
install: cannot create regular file '/Library/LaunchDaemons/cupscloudprint.plist': Permission denied
make: *** [Makefile:34: install] Error 1
builder for '/nix/store/ly5gbqashma0x14fw6rrbsgz8dqgnl8h-cups-googlecloudprint-20160502.drv' failed with exit code 2
error: build of '/nix/store/ly5gbqashma0x14fw6rrbsgz8dqgnl8h-cups-googlecloudprint-20160502.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cups-googlecloudprint

Partial log (click to expand)

/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/upgrade.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/refreshtokens.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/listdrivefiles.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/remove-test.sh: interpreter directive changed from " /bin/bash" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/bash"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/full-test.sh: interpreter directive changed from " /bin/bash" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/bash"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/setupcloudprint.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/deleteaccount.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/dynamicppd.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502...
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: cups-googlecloudprint

Partial log (click to expand)

/nix/store/anzl3xx9mxq460w9disj6r7cb21my7j3-cups-googlecloudprint-20160502

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: cups-googlecloudprint

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: cups-googlecloudprint

Partial log (click to expand)

/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/deleteaccount.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/dynamicppd.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/remove-test.sh: interpreter directive changed from " /bin/bash" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/bash"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/full-test.sh: interpreter directive changed from " /bin/bash" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/bash"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/testing/listdrivefiles.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/share/cloudprint-cups/backend.py: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/lib/cups/driver/.cupscloudprint-wrapped: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502/lib/cups/backend/.gcp-wrapped: interpreter directive changed from " /bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502...
/nix/store/rjsmphnh3i847anzr8djhiyabzd2icpn-cups-googlecloudprint-20160502

@obadz
Copy link
Contributor Author

obadz commented Oct 9, 2018

Will merge in a day or so if no feedback.

@obadz obadz merged commit 6fca3c5 into NixOS:master Oct 11, 2018
@obadz obadz deleted the googlecloudprint branch December 24, 2018 00:26
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

2 participants