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

xloadimage: init at 4.1 #47198

Merged
merged 1 commit into from Sep 23, 2018
Merged

xloadimage: init at 4.1 #47198

merged 1 commit into from Sep 23, 2018

Conversation

andrew-d
Copy link
Contributor

Motivation for this change

This add xloadimage, a program that can be used to view images or write them to another window.

I'm adding this in order to be able to display a background image with xsecurelock; you can display a background image by using xloadimage to write an image to the given window, by creating an xsecurelock screensaver module:

xloadimage -fullscreen -windowid $XSCREENSAVER_WINDOW $XSECURELOCK_IMAGE_FILE
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.

@nlewo
Copy link
Member

nlewo commented Sep 23, 2018

@GrahamcOfBorg build xloadimage

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xloadimage

Partial log (click to expand)

'/nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1/share/man/man1/xsetbg.1x' -> '/nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1/share/man/man1/xloadimage.1x'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1
shrinking /nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1/bin/xloadimage
gzipping man pages under /nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1/bin
patching script interpreter paths in /nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1
checking for references to /build in /nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1...
/nix/store/6abvrkjzpbp57bsvsi97sn4ijfrh7yqz-xloadimage-4.1

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xloadimage

Partial log (click to expand)

'/nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1/share/man/man1/xsetbg.1x' -> '/nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1/share/man/man1/xloadimage.1x'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1
shrinking /nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1/bin/xloadimage
gzipping man pages under /nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1/bin
patching script interpreter paths in /nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1
checking for references to /build in /nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1...
/nix/store/jj2p9rh5yg148xvdnq2izv8f3qpp88x5-xloadimage-4.1

@xeji xeji merged commit 7086e1f into NixOS:master Sep 23, 2018
@xeji
Copy link
Contributor

xeji commented Sep 23, 2018

@andrew-d I noticed the non-version-controlled Debian patch URL ... but let's change that next time 😄

@andrew-d andrew-d deleted the andrew/xloadimage branch September 23, 2018 22:32
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