@PACKAGER - WINE/libusb-wine and possible solutions

Ответить
Аватара пользователя
MikiLinux
Сообщения: 186
Зарегистрирован: 11 июн 2023, 21:41
Operating system: Rosa13
Откуда: Vicino Roma
Контактная информация:

@PACKAGER - WINE/libusb-wine and possible solutions

Сообщение MikiLinux »

Ciao,

as you know there are some programs that only work in Windows but that have the procedure to make them work fully in GNU/Linux with WINE and some of them 32-bit libraries. One such program is VNWA:

https://www.sdr-kits.net/DG8SAQ-VNWA-so ... user-guide

There is the whole procedure to make it work in WINE with GNU/Linux and one of the absolutely necessary library is libusb-wine (https://github.com/stanson-ch/libusb-wine) whose current rpm in the repository makes the distinction between 64-bit system and 32-bit system but this distinction does not make the aforementioned program to work.
1.jpg
But now, if I try to to create a symlink to the 64-bit libraries from the 32-bit folders here the "interview" starts and the USB VNA is recognized without any problem (images below):
Symlink created
Symlink created
USB VNA recognized
USB VNA recognized
##############################################à
Idea: Possible solutions

FIRST SOLUTION
I think that in building the package the mutually exclusive 64bit or 32bit option should be changed as follows:

- If you compile the library for 32-bit systems you build libraries to install only in /usr/lib64/wine/i386-unix and /usr/lib64/wine/i386-windows directories.
- If you compile libraries for 64-bit systems you build the libraries as usual, but they install in /usr/lib64/wine/i386-unix and /usr/lib64/wine/x86_64-unix as well as in /usr/lib64/wine/i386-windows and /usr/lib64/wine/x86_64-windows.

SECOND SOLUTION
Since, by now, the WINE versions are all higher than 9.x.y you could replace the libusb-wine package with the new libusb-wine-ng library which is developed for WINE versions higher than 9 which implements the WoW64 function (Windows32bit on Windows64bit - https://www.linux.org.ru/news/arch/18001728):

https://github.com/stanson-ch/libusb-wine-ng
Desktop: Rosa13.2 KDE/Plasma
PC Lab: Rosa13.2 XFCE
Laptop: Rosa13.2 LxQt

https://elettrolinux.com
Survolog
Сообщения: 454
Зарегистрирован: 30 авг 2016, 22:30
Operating system: ROSA Fresh
Писать в Телеграм или ВК.

Re: @PACKAGER - WINE/libusb-wine and possible solutions

Сообщение Survolog »

Привет.

libusb-wine в репозиторий затащил я.
Наверное, раз он для версий wine, которых уже нет, его и править смысла не много.
Потому сразу затащил в репозиторий libusb-wine-ng:
https://abf.io/build_lists/5595965

Работает он или нет, не уверен. Но раз что-то всё же скомпилировалось, dll и so могут быть полезны.

Спасибо!
Аватара пользователя
MikiLinux
Сообщения: 186
Зарегистрирован: 11 июн 2023, 21:41
Operating system: Rosa13
Откуда: Vicino Roma
Контактная информация:

Re: @PACKAGER - WINE/libusb-wine and possible solutions

Сообщение MikiLinux »

Grazie a te
Appena possibile farò una prova con il programma VNWA.

(Thanks. As soon as possible I will do a test with the SW VNWA)
Desktop: Rosa13.2 KDE/Plasma
PC Lab: Rosa13.2 XFCE
Laptop: Rosa13.2 LxQt

https://elettrolinux.com
Аватара пользователя
MikiLinux
Сообщения: 186
Зарегистрирован: 11 июн 2023, 21:41
Operating system: Rosa13
Откуда: Vicino Roma
Контактная информация:

РЕШЕНО Re: @PACKAGER - WINE/libusb-wine and possible solutions

Сообщение MikiLinux »

Funziona bene. Grazie. :beer:
2026-06-20_15-34.png
Desktop: Rosa13.2 KDE/Plasma
PC Lab: Rosa13.2 XFCE
Laptop: Rosa13.2 LxQt

https://elettrolinux.com
Ответить

Вернуться в «Обсуждение РОСА Фреш 13 (платформа РОСА 13)»