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

Support OpenBSD #156

Merged
merged 1 commit into from
Dec 31, 2023
Merged

Support OpenBSD #156

merged 1 commit into from
Dec 31, 2023

Conversation

klemensn
Copy link
Contributor

This came about as a build fix for OpenBSD's new spotifyd package:

error[E0433]: failed to resolve: use of undeclared crate or module `default`
  --> .../modcargo-crates/keyring-2.0.1/src/lib.rs:176:54

Local spotifyd patches to enable its keyring feature practically differ only in README.md and Cargo.toml churn; this makes keyring-rs build fine by adapting existing FreeBSD bits.

This came about as a build fix for OpenBSD's new spotifyd package:
```
error[E0433]: failed to resolve: use of undeclared crate or module `default`
  --> .../modcargo-crates/keyring-2.0.1/src/lib.rs:176:54
```

Local spotifyd patches to enable its keyring feature practically differ
only in README.md and Cargo.toml churn;  this makes keyring-rs build fine
by adapting existing FreeBSD bits.
@brotskydotcom
Copy link
Collaborator

Sure, why not. I'll review this for formatting and then release it. Can you please open an issue requesting OpenBSD support? (I prefer to have all PRs tied to an issue.)

@klemensn klemensn mentioned this pull request Dec 31, 2023
@klemensn
Copy link
Contributor Author

Local spotifyd patches to enable its keyring feature practically differ only in README.md and Cargo.toml churn; this makes keyring-rs build fine by adapting existing FreeBSD bits.

Current patches for reference:
openbsd/ports@0aa7548

@brotskydotcom brotskydotcom merged commit 5ed691c into hwchen:master Dec 31, 2023
3 checks passed
brotskydotcom added a commit to brotskydotcom/keyring-rs that referenced this pull request Dec 31, 2023
Also update dependencies.

Thanks to @klemensn's hwchen#156 this release should fix hwchen#157.
brotskydotcom added a commit to brotskydotcom/keyring-rs that referenced this pull request Dec 31, 2023
Also update dependencies.

Thanks to @klemensn's hwchen#156 this release should fix hwchen#157.
@klemensn klemensn deleted the openbsd branch December 31, 2023 17:45
klemensn added a commit to klemensn/spotifyd that referenced this pull request Dec 31, 2023
After 2.2.0 I submitted hwchen/keyring-rs#156
which turned into 2.3.0 today.

OpenBSD's port currently needs patches, see PR for details.

I have only tested spotifyd's 0.3.5 release with this keyring bumped
2.3.0 instead of patching 2.0.5 and it works.

Done with `cargo update keyring`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants