Page 1 of 1

Wine on Porteus

Posted: 07 Dec 2017, 21:00
by geocacher
Greetings,
Can you install Wine successfully on Porteus? Where do you find it and what is the process? Is it easy to use for running Windows programs?
Thanks

Wine on Porteus

Posted: 07 Dec 2017, 21:36
by Ed_P
Porteus does support wine modules. Some are found on USM, some searching the forum. I do better with GeckoMono versions myself. Once activated to run a 32bit Windows program simply enter wine before the program name.

Code: Select all

wine /mnt/sda6/Users/Ed/'My Utilities'/PopTrayU/PopTrayU.exe

Wine on Porteus

Posted: 09 Dec 2017, 20:49
by fulalas
Yes, Wine works nice with Porteus. Just need to download this txa package and convert it to xzm (right click):

https://sourceforge.net/projects/wine/f ... z/download

If you want to run x86 Windows applications, you'll also need lib32compat.

Wine on Porteus

Posted: 09 Dec 2017, 23:20
by Ed_P
:%) My wine module is 300+MB, the txa file is 50-MB. What's missing?

Code: Select all

guest@porteus:~$ ls -lgth /mnt/sda6//porteus3.2/Guest/Downloads/*wine*
-rwxrwxrwx 1 root  48M Dec  9 16:36 /mnt/sda6//porteus3.2/Guest/Downloads/wine-2.22-x86_64-1sg.txz*
-rwxrwxrwx 1 root 320M May 19  2017 /mnt/sda6//porteus3.2/Guest/Downloads/wine-2.4-x64-3.2-GeckoMono-1.xzm*
guest@porteus:~$ 

Wine on Porteus

Posted: 11 Dec 2017, 20:12
by fulalas
@Ed_P, yours come with Gecko/Mono and the txz doesn't (although during the first run it offers an option to download both) :)

Wine on Porteus

Posted: 12 Dec 2017, 00:23
by Ed_P
I don't disagree that Gecko/Mono adds to the size of my wine module but Alien's wine package, without Gecko/Mono, is still 5 times the size of your module.

Code: Select all

root@porteus:/home/guest# usm -i wine

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) q4wine-1.3-x86_64-2_slonly.txz   3) wine-2.13-x86_64-1alien.txz
2) twine-1.9.1-x86_64-4_slonly.txz
#? 3

Package:  wine-2.13-x86_64-1alien.txz  (211692 K) [upgrade]
wine: wine (Wine Is Not an Emulator)
wine:
wine: Wine (originally an acronym for "Wine Is Not an Emulator") is a
wine: compatibility layer capable of running Windows applications on several
wine: POSIX-compliant operating systems, such as Linux, macOS, & BSD.
wine: Instead of simulating internal Windows logic like a virtual machine
wine: or emulator, Wine translates Windows API calls into POSIX calls on the
wine: fly, eliminating the performance and memory penalties of other methods
wine: allowing you to integrate Windows applications into your desktop.
wine:
wine: Homepage: http://www.winehq.org/
And the desktop file for your app

Code: Select all

[Desktop Entry]
Categories=Application;Settings;
Comment=Settings Tool for WINE.
Encoding=UTF-8
Exec=winecfg
Icon=winecfg
Name=Wine Configuration
Terminal=false
Type=Application
Indicates it's a Wine Configuration app.

Running winecfg creates a Wine Configuration in /root/.wine and prompts for Wine Mono Installer but this is on a system with a Wine Mono module already active.

Code: Select all

root@porteus:/home/guest# ls -l /mnt/live/memory/images/*wine*
/mnt/live/memory/images/wine-1.9.16-x64-3.2-GeckoMono-2.xzm:
total 0
drwxr-xr-x 5 root users   58 Dec 16  2013 etc/
drwxr-xr-x 3 root users 3324 Dec 25  2013 lib/
drwxr-xr-x 9 root users  148 Sep  7  2014 usr/
drwxr-xr-x 3 root users   26 Aug 14  2016 var/

/mnt/live/memory/images/wine-2.22-x86_64-1sg.xzm:
total 0
drwxr-xr-x 9 root root 136 Nov 26 11:20 usr/
drwxr-xr-x 3 root root  26 Dec  9 18:23 var/

root@porteus:/home/guest# ls -lght /home/guest/.wine/
total 2.2M
drwxr-xr-x 10 users  120 Dec 11 13:49 drive_c/
drwxr-xr-x  2 users  200 Dec 11 13:48 dosdevices/
-rw-r--r--  1 users 2.2M Nov 21 19:18 system.reg
-rw-r--r--  1 users  24K Nov 21 19:18 user.reg
-rw-r--r--  1 users 3.2K Feb 23  2017 userdef.reg
My wine desktop file.

Code: Select all

[Desktop Entry]
Type=Application
Name=Wine Windows Program Loader
Name[ar]=منظومة واين لتشغيل برامج وندوز
Name[cs]=Zavaděč programů pro Wine
Name[de]=Wine Windows-Programmstarter
Name[es]=Wine Cargador de programas de Windows
Name[lt]=Wine Windows programų paleidyklė
Name[nl]=Wine Windows programmalader
Name[sv]=Wine Windows Programstartare
Name[ro]=Wine - Încărcătorul de programe Windows
Name[ru]=Wine - загрузчик Windows программ
Name[uk]=Wine - завантажувач Windows програм
Name[fr]=Wine - Chargeur de programmes Windows
Name[ca]=Wine - Carregador d'aplicacions del Windows
Name[pt]=Carregador de aplicativos Windows Wine
Name[pt_br]=Carregador de aplicativos Windows Wine
Name[it]=Wine Carica Programmi Windows
Name[da]=Wine, Programstarter til Windows-programmer
Name[nb]=Wine - for kjøring av Windows-programmer
Name[nn]=Wine - for køyring av Windows-program
Name[sr]=Wine - дизач Windows програма
Name[sr@latin]=Wine - dizač Windows programa
Name[tr]=Wine - Windows programı yükleyicisi
Name[hr]=Wine - dizač Windows programa
Name[he]=Wine — מריץ תכניות Windows
Name[ja]=Wine Windowsプログラムローダー
Exec=wine start /unix %f
MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut;
Icon=wine
NoDisplay=true
StartupNotify=true
So I am a little confused at this point.

This is what I saw when I ran winecfg.

Code: Select all

root@porteus:/home/guest# winecfg
wine: created the configuration directory '/root/.wine'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:process:__wine_kernel_init boot event wait timed out
err:winecfg:open_mountmgr failed to open mount manager err 2
root@porteus:/home/guest# 

root@porteus:/home/guest# ls -lght /root/.wine/
total 908K
-rw-r--r-- 1 root 891K Dec 11 19:09 system.reg
-rw-r--r-- 1 root 8.1K Dec 11 19:00 user.reg
-rw-r--r-- 1 root 3.2K Dec 11 19:00 userdef.reg
drwxr-xr-x 6 root  120 Dec 11 18:59 drive_c/
drwxr-xr-x 2 root   80 Dec 11 18:59 dosdevices/

Wine on Porteus

Posted: 12 Dec 2017, 17:49
by tome
Alien's x64 wine = x64(wine+gecko+mono) + x32(wine+gecko+mono), so calculate expected size correctly.

Wine on Porteus

Posted: 12 Dec 2017, 18:23
by Ed_P
tome wrote:
12 Dec 2017, 17:49
so calculate expected size correctly.
hmmmm 64 + 32 = 96 / 2 = 48 Yup, now I see how the winecfg file is half the size of Alien's. :D

Wine on Porteus

Posted: 02 Oct 2023, 10:24
by francois
Is there anyone still using wine on porteus? Does it work fine?

Wine on Porteus

Posted: 02 Oct 2023, 15:56
by AcnapyxoB
francois wrote:
02 Oct 2023, 10:24
Is there anyone still using wine on porteus? Does it work fine?
I have been using Wine for a long time from: https://wiki.winehq.org/Download (Slackware - binary txz)
I use it for some specific programs, that have no analogue for Linux. Like MikroTik's Winbox, Notepad++.

Wine-8.0.2 stable (with pre-built .wine directories) ~90MB:
https://disk.yandex.com/d/q4q64_38Gf1tkQ

Wine on Porteus

Posted: 03 Oct 2023, 00:14
by francois
@AcnapyxoB:
Very nice to provide the module.
Thanks.

Wine on Porteus

Posted: 03 Oct 2023, 04:56
by AcnapyxoB
francois wrote:
03 Oct 2023, 00:14
Very nice to provide the module.
You will also need multilib x86:
Multilib Ultra Lite for Porteus 5 final release