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

hidapi: netbsd uhid native backend in mainstream #8535

Closed
sezero opened this issue Nov 11, 2023 · 6 comments · Fixed by #8536
Closed

hidapi: netbsd uhid native backend in mainstream #8535

sezero opened this issue Nov 11, 2023 · 6 comments · Fixed by #8536

Comments

@sezero
Copy link
Contributor

sezero commented Nov 11, 2023

libusb/hidapi@c19ae12 (netbsd-only, was originally discussed at libusb/hidapi#612)

@slouken: Are we interested?

@slouken
Copy link
Collaborator

slouken commented Nov 11, 2023

NetBSD isn't a primary platform for SDL, @madebr, what do you think?

@madebr
Copy link
Contributor

madebr commented Nov 11, 2023

ci wise, it's not hard to add netbsd.
cmake wise, if it can treat freebsd and netbsd similarly it should not be too hard.
c wise, that's up to you :)

@slouken
Copy link
Collaborator

slouken commented Nov 11, 2023

Sure, there's no reason not to.

@madebr
Copy link
Contributor

madebr commented Nov 11, 2023

@sezero

Do you know how to install packages on netbsd?
I followed these instructions, but get errors.
https://github.com/madebr/SDL/actions/runs/6836739399/job/18591993484#step:3:140

It runs

export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH";export PKG_PATH="https://cdn.netbsd.org/pub/pkgsrc/packages/$(uname)/$(uname -m)/$(uname -r)/All/";echo $PKG_PATH;sudo pkg_add -v pkg

with on stdout:

https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.3/All/
pkg_add: no pkg found for 'pkg', sorry.
pkg_add: 1 package addition failed

@sezero
Copy link
Contributor Author

sezero commented Nov 11, 2023

Do you know how to install packages on netbsd?

Nope, sorry

@sezero
Copy link
Contributor Author

sezero commented Nov 11, 2023

Created initial PR as #8536 -- feel free to push to my branch.

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 a pull request may close this issue.

3 participants