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

lib paths missing on NetBSD #55

Closed
gdt opened this issue Dec 31, 2021 · 3 comments
Closed

lib paths missing on NetBSD #55

gdt opened this issue Dec 31, 2021 · 3 comments
Assignees

Comments

@gdt
Copy link

gdt commented Dec 31, 2021

The current situation is that the pkgsrc package libjpeg-turbo-2.1.2 installs

-rw-r--r--  1 root  wheel  427360 Dec 25 16:28 /usr/pkg/lib/libturbojpeg.a
lrwxr-xr-x  1 root  wheel      17 Dec 25 16:31 /usr/pkg/lib/libturbojpeg.so -> libturbojpeg.so.0
lrwxr-xr-x  1 root  wheel      21 Dec 25 16:31 /usr/pkg/lib/libturbojpeg.so.0 -> libturbojpeg.so.0.2.0
-rwxr-xr-x  1 root  wheel  345916 Dec 25 16:25 /usr/pkg/lib/libturbojpeg.so.0.2.0

so it should be sufficient to copy the FreeBSD block with /usr/local changed to /usr/pkg.

@gdt
Copy link
Author

gdt commented Dec 31, 2021

--- turbojpeg.py~       2021-12-31 12:59:28.933307336 -0500
+++ turbojpeg.py        2021-12-31 13:47:17.385653576 -0500
@@ -46,6 +46,10 @@
         '/usr/local/lib/libturbojpeg.so.0',
         '/usr/local/lib/libturbojpeg.so'
     ],
+    'NetBSD': [
+        '/usr/pkg/lib/libturbojpeg.so.0',
+        '/usr/pkg/lib/libturbojpeg.so'
+    ],
     'Windows': ['C:/libjpeg-turbo64/bin/turbojpeg.dll']
 }
 

has been tested to work, by hand-patching within a home assistant venv

@lilohuang lilohuang self-assigned this Jan 1, 2022
@lilohuang
Copy link
Owner

@gdt, Thanks for reporting this issue. I will fix this issue soon.

@gdt
Copy link
Author

gdt commented Jan 1, 2022

Thanks for the quick fix/merge/version!

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

No branches or pull requests

2 participants