Skip to content

herbstluftwm: 0.7.2 -> 0.8.1 #84853

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

Merged
merged 5 commits into from
May 1, 2020
Merged

Conversation

ThibautMarty
Copy link
Member

@ThibautMarty ThibautMarty commented Apr 9, 2020

Motivation for this change

Update herbstluftwm.
CMAKE_INSTALL_SYSCONF_PREFIX needs to be explicitly set for bash completion.
I put the documentation and man pages in their respective outputs.

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.

Sorry, something went wrong.

@ThibautMarty
Copy link
Member Author

ThibautMarty commented Apr 9, 2020

As a draft because I did not have time to test it for now.
Tested, it works

@ThibautMarty
Copy link
Member Author

CC maintainer, @the-kenny

@ofborg ofborg bot requested a review from the-kenny April 9, 2020 21:36
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Apr 9, 2020
@ThibautMarty ThibautMarty force-pushed the herbstluftwm-0.8.0 branch 2 times, most recently from 3e493f6 to 1ef73cb Compare April 9, 2020 22:09
@ThibautMarty ThibautMarty force-pushed the herbstluftwm-0.8.0 branch 3 times, most recently from d23b349 to a64066c Compare April 10, 2020 10:28
@ofborg ofborg bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation and removed 10.rebuild-linux: 1 labels Apr 10, 2020
@ThibautMarty ThibautMarty marked this pull request as ready for review April 11, 2020 22:11
Build now relies on cmake.
Added outputs "doc" and "man".
Setting CMAKE_INSTALL_SYSCONF_PREFIX is needed for bash completion
directory, otherwise it tries to put files in /etc/bash_completion.d
Doc generation is disabled by default when cross compiling because asciidoc
does not cross compile for now
@ThibautMarty
Copy link
Member Author

Rebased onto master to avoid conflict with 84cf00f

@ThibautMarty ThibautMarty requested a review from cole-h April 14, 2020 10:02
Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

Diff LGTM, builds fine.

[7 built, 19 copied (114.8 MiB), 48.2 MiB DL]
https://github.com/NixOS/nixpkgs/pull/84853
1 package blacklisted:
tests.nixos-functions.nixos-test

1 package built:
herbstluftwm

Bash completions is now installed in $out/share/bash-completion.
Setting CMAKE_INSTALL_SYSCONF_PREFIX is still needed for
/etc/xdg/herbstluftwm installation.
@ThibautMarty
Copy link
Member Author

Updated to 0.8.1.
CMAKE_INSTALL_SYSCONF_PREFIX still needs to be set for /etc/xdg/herbstluftwm/ installation.

@ThibautMarty ThibautMarty changed the title herbstluftwm: 0.7.2 -> 0.8.0 herbstluftwm: 0.7.2 -> 0.8.1 Apr 21, 2020
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libX11 libXext libXinerama ];
buildInputs = [
glib
Copy link
Contributor

Choose a reason for hiding this comment

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

glib is no longer needed since the code has been rewritten to C++

Verified

This commit was signed with the committer’s verified signature.
Mic92 Jörg Thalheim
no longer required, since it's C++ now.
@Mic92 Mic92 merged commit dabc990 into NixOS:master May 1, 2020
@ThibautMarty ThibautMarty deleted the herbstluftwm-0.8.0 branch November 24, 2020 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants