From owner-freebsd-ports@freebsd.org Mon Jan 9 20:20:30 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4E74CA7874 for ; Mon, 9 Jan 2017 20:20:30 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [185.24.122.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 837C5187D for ; Mon, 9 Jan 2017 20:20:29 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from ultrabook.yoonka.com (ip-109-84-2-129.web.vodafone.de [109.84.2.129]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id v09KKLif062328 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 9 Jan 2017 20:20:22 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host ip-109-84-2-129.web.vodafone.de [109.84.2.129] claimed to be ultrabook.yoonka.com Subject: Re: Wine & PlayOnBSD To: freebsd-ports@freebsd.org References: <88ccc43a-d28e-588b-9d3f-01fb3a1c85b9@gjunka.com> <58693C2B.7040806@abinet.ru> <2e9002fb-c8e5-251d-3c41-452cdcb98f8a@gjunka.com> <586EBAB6.10203@abinet.ru> From: Grzegorz Junka Message-ID: <94670668-a0e8-ad1a-1a03-9a4e57ea88ab@gjunka.com> Date: Mon, 9 Jan 2017 20:20:16 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 20:20:31 -0000 On 09/01/2017 13:19, Stefan Esser wrote: > Am 05.01.2017 um 22:29 schrieb abi: >> On 05.01.2017 22:12, Grzegorz Junka wrote: >>> On 01/01/2017 17:28, abi wrote: >>>> On 01.01.2017 18:28, Grzegorz Junka wrote: >>>>> I am using FreeBSD 10.3 x64. I understand that to run Windows >>>>> applications on that configuration I can use only one of the following: >>>>> >>>>> 1. playonbsd-4.2.10_1 >>>>> 2. wine-staging-2.0.r3_1,1 >>>>> 3. i386-wine-staging-2.0.r3_1,1 >>>>> 4. wine-devel-2.0.r3_1,1 >>>>> 5. i386-wine-devel-2.0.r3_1,1 >>>>> 6. wine-1.8.6,1 >>>>> 7. i386-wine-1.8.6,1 >>>>> >>>>> Currently I have installed playonbsd, which is good but it seems >>>>> that not all applications I would like to install can be installed >>>>> on it. >>>>> >>>>> Which one of those options would give me the most compatibility with >>>>> office-type and multimedia applications (e.g. DVD player, SoftPhone, >>>>> applications that access USB), not necessarily games? >>>>> >>>>> Should I prefer some of these ports over others for my x64 system? >>>>> >>>>> When switching from one port to another (e.g. wine to playonbsd) can >>>>> I keep the currently installed Windows applications or I would need >>>>> to reinstall any of the applications/libraries installed on the >>>>> previous version? >>>>> >>>>> It seems that front-end ports (q4wine, swine) default to 4. from the >>>>> list (wine-devel-2.0.r3_1,1). Is there any reason for that? Can they >>>>> run without problems on a x64 system? >>>>> >>>>> Many thanks for any insights. >>>> Probably you need i386-wine-devel and emulators/winetricks >>>> playonbsd is a wrapper for wine. No need to use it at all, just get >>>> installer for you program, create new wineprefix and install software >>>> into it >>>> >>>> Personally, I make 1 wineprefix for 1 program (or program group ) with >>>> env WINEPREFIX=$HOME/.local/share/wineprefixes/ck2 wineboot >>>> sandbox it with winetricks if needed >>>> copy installer into $HOME/.local/share/wineprefixes/ck2/drive_c/Distr >>>> env WINEPREFIX=$HOME/.local/share/wineprefixes/ck2 wine cmd >>>> navigate to Distr and run installer >>>> >>>> ck2 is example prefix for crusader kings II. I love Paradox games :P >>>> >>> Thank you for the tips. Any reason why I shouldn't be using the x64 >>> versions? And also, wasn't playonbsd designed to give a greater >>> compatibility with Windows applications? What benefit is it to use >>> playonbsd over normal wine with winetricks then? I mean, why is it in >>> ports? >> x64 version lacks WoW subsystem, so it can't execute 32-bit programs at >> all. playonbsd can't give greater compatibility as it's wrapper for >> wine. It can set compatibility options or install common software, >> however you can find your program in wine database and look for recipes >> yourself. I doubt playonbsd tracks wine precisely, wine changes too >> fast, so probably not all recipes are up to date and it's not very >> complex to do all steps manually after all. Why it's in port is a >> rhetoric question, ports are user driven. Maybe someone like it or maybe >> maintainer is a developer. I dunno, but ability to choose is always for >> good. > Thank you for your replies to Grzegorz - I have some minor points to > add. > > PlayOnLinux had hooks for FreeBSD, which never worked. The port fixes > assumptions that don't apply to FreeBSD, but it diverges somewhat from > the way, PlayOnLinux behaves. But the port versions is working, AFAIK. > > PlayOnLinux assumes, that any Wine version configured into the install > script of some supported Windows application package can be fetched and > installed in the user's home directory. This is not how FreeBSD packages > are installed - in fact, FreeBSD does not support the installation of > multiple Wine versions side by side, but assumes, that there are no > critical recessions and always uses the latest (stable or devel) Wine > as found in the corresponding ports. > > Therefore, some of the further settings per Windows package may be too > conservative, since they apply only to the old WIne version that was > used when the PlayOnLinux install script for that package was created. > (If the old Wine version required use of a native Windows DLL instead > of one provided by Wine, this may have long been fixed in the current > Wine version, used on FreeBSD.) > > You can consider PlayOnBSD as a tool that allows to install Windows > packages with settings tested by the PlayOnLinux community, without the > user being aware of such a requirement to start Wine with specific > options. > > So, yes, winetricks will allow to acchieve similar results to PlayOnBSD, > but may need more experience to use it. > > I've tested the installation of several Windows applications (e.g. > MS-Office 2010, mp3tag, some simple games) and they worked without any > manual tweaking. > Thank you for the additional information. The PlayOnLinux documentation mentions some dedicated application to actually install or run the Windows apps from some UI. Is this supported in PlayOnBSD? Also, is there any reason why PlayOnBSD depends on a 64-bit version of wine? I would have thought that 32-bit version could give a better compatibility? Grzegorz