Skip to content

golden-cheetah: Add libusb (ANT+ sensors), 3.5-DEV1903 -> 3.5-RC2X#76172

Merged
JohnAZoidberg merged 3 commits intoNixOS:masterfrom
JohnAZoidberg:golden-cheetah-libusb
Dec 26, 2019
Merged

golden-cheetah: Add libusb (ANT+ sensors), 3.5-DEV1903 -> 3.5-RC2X#76172
JohnAZoidberg merged 3 commits intoNixOS:masterfrom
JohnAZoidberg:golden-cheetah-libusb

Conversation

@JohnAZoidberg
Copy link
Copy Markdown
Member

Motivation for this change

I wanted to use ANT+ sensors with GoldenCheetah, now with libusb it's possible.
I tested it using the ANT USB-Stick-m and a handful of ANT+ sensors - works flawlessly.

While at it, I upgraded the version.

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.
Notify maintainers

cc @ocharles

Makes it possible to use ANT+ sensors using an ANT+ USB transceiver.
@JohnAZoidberg JohnAZoidberg changed the title Golden cheetah libusb golden-cheetah: Add libusb (ANT+ sensors), 3.5-DEV1903 -> 3.5-RC2X Dec 22, 2019
@ofborg ofborg bot requested a review from ocharles December 22, 2019 15:09
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 22, 2019
Copy link
Copy Markdown
Contributor

@ocharles ocharles left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

Copy link
Copy Markdown
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

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

Also, could we add

substituteInPlace src/gcconfig.pri \
  --replace "#DEFINES += NOWEBKIT" "DEFINES += NOWEBKIT"

And replace qtwebkit with qtwebengine?

@JohnAZoidberg
Copy link
Copy Markdown
Member Author

Good idea, thanks!

@ofborg ofborg bot requested a review from ocharles December 22, 2019 21:24
@veprbl veprbl mentioned this pull request Dec 22, 2019
69 tasks
@JohnAZoidberg JohnAZoidberg merged commit 25ce30d into NixOS:master Dec 26, 2019
@JohnAZoidberg JohnAZoidberg deleted the golden-cheetah-libusb branch December 26, 2019 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants