Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wine: questions on recent changes
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fcl
n00b
n00b


Joined: 31 Dec 2016
Posts: 67

PostPosted: Fri Aug 04, 2017 8:17 pm    Post subject: Reply with quote

I think unmasking should be done in /etc/portage/package.unmask/
eg. /etc/portage/package.unmask/gcc with
=sys-devel/gcc-7.1.0
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 578

PostPosted: Fri Aug 04, 2017 8:25 pm    Post subject: Reply with quote

gentoorockerfr wrote:
I cannot install eselect-wine...it is strange.. i think that right words are in the package.keywords and use...


Code:
emerge --ask @preserved-rebuild

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=app-eselect/eselect-wine-1.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-eselect/eselect-wine-1.4::bobwya (masked by: package.mask)
/usr/portage/profiles/package.mask:
# NP-Hardass <NP-Hardass@gentoo.org> (10 Apr 2017)
# Masked for testing


(dependency required by "app-emulation/wine-staging-2.12-r2::bobwya" [ebuild])
(dependency required by "@preserved-rebuild" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


i have app-emulation/wine-staging-2.12-r2::bobwya in package.keywords and i have removed #(wine-*) in /usr/portage/profiles/package.mask


You shouldn't modify any file in the profile. It's a bad habit because it breaks on every sync. Instead if you want to unmask that package add its entry into /etc/portage/package.unmask. That way it'll be persistent across syncs.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 220
Location: Cambridge,UK

PostPosted: Fri Aug 04, 2017 8:29 pm    Post subject: Reply with quote

@gentoorockerfr

I've currently got:
Code:

cat /etc/portage/package.unmask/bobwya

# Whitelist packages from Portage overlay ::bobwya

app-emulation/wine-desktop-common::bobwya
app-emulation/wine-gecko::bobwya
app-emulation/wine-mono::bobwya
app-emulation/wine-staging::bobwya
app-emulation/wine-vanilla::bobwya
app-eselect/eselect-wine::bobwya # <--- You need this one too!
virtual/wine::bobwya

...

It's my Overlay - so that's the "officially recommended way" (by me!!)

You don't want to mess about with main Gentoo profile files.
Your changes will only be overwritten on your next:
Code:
emerge --sync
:oops: :cry:

Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 2038
Location: Illinois, USA

PostPosted: Fri Aug 04, 2017 10:38 pm    Post subject: Reply with quote

Code:
X3 ~ # cat /etc/portage/package.unmask/bobwya

app-emulation/wine-desktop-common::bobwya
app-emulation/wine-gecko::bobwya
app-emulation/wine-mono::bobwya
app-emulation/wine-vanilla::bobwya
Looks like you need accept_keywords AND package.unmask

EDIT: Don't know how I missed bobwya's post! Of course, he is the expert. I see my unmasking is only partial so I'm running eselect-wine from the tree.
Code:
X3 ~ # eix eselect-wine
[I] app-eselect/eselect-wine
     Available versions:  [M](~)1.1 {M}(~)1.4[1]
     Installed versions:  1.4[1](12:22:54 PM 07/23/2017)
     Homepage:            http://github.com/bobwya/eselect-wine
     Description:         Manage active wine version

[1] "bobwya" /var/lib/layman/bobwya
Ah! Portage put it in /etc/portage/package.mask/monolithic.
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 314
Location: France

PostPosted: Sat Aug 05, 2017 12:45 pm    Post subject: Reply with quote

Hello.

Unmasking wine-* does not apply to eselect-wine ;)

++
Gi)

oops: just noticed I was replying to a former post (missed second page), my bad.
Back to top
View user's profile Send private message
gentoorockerfr
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2012
Posts: 142

PostPosted: Sun Aug 06, 2017 8:21 pm    Post subject: Reply with quote

Ok thank you!
Back to top
View user's profile Send private message
simonvanderveldt
n00b
n00b


Joined: 26 Jan 2016
Posts: 54

PostPosted: Sat Sep 16, 2017 12:29 pm    Post subject: Reply with quote

Why are all the new packages still masked? It's been 5 months since the announcement and all the packages that are suggested in that announcement over app-emulation/wine are still masked, whilst app-emulation/wine itself isn't.
IMHO this is sending very mixed signals to the users.

I just installed wine-vanilla, but even with eselect wine no symlink /usr/include/wine is created, so I'm back at app-emulation/wine.
Back to top
View user's profile Send private message
BobWya
Apprentice
Apprentice


Joined: 12 Aug 2012
Posts: 220
Location: Cambridge,UK

PostPosted: Sat Sep 16, 2017 2:09 pm    Post subject: Reply with quote

simonvanderveldt wrote:
...
I just installed wine-vanilla, but even with eselect wine no symlink /usr/include/wine is created, so I'm back at app-emulation/wine.


If you don't need the Gallium D3D9 patchset - my Overlay (::bobwya) multislot Wine packages support setting both:
Code:
/usr/include

headers and:
Code:
/usr/lib{32,64}/wine

symbolic links for all Wine variants.

So you can build applications against the Wine system headers, and links against the Wine system libraries, etc.

Reference the stored eselect data for the wine variant - currently enabled on my system:
Code:
# Configuration file for eselect
# This file has been automatically generated.
symlink_directories="applications binaries include libraries manuals"
applications="/usr/share/applications/wine.desktop"
binaries="/usr/bin/winegcc /usr/bin/winecpp /usr/bin/regedit /usr/bin/winebuild /usr/bin/wine-preloader /usr/bin/wmc /usr/bin/wineg++ /usr/bin/wineconsole /usr/bin/notepad /usr/bin/msiexec /usr/bin/wineboot /usr/bin/winemine /usr/bin/msidb /usr/bin/wineserver /usr/bin/winedbg /usr/bin/wrc /usr/bin/wine64-preloader /usr/bin/wine /usr/bin/winepath /usr/bin/regsvr32 /usr/bin/widl /usr/bin/winefile /usr/bin/wine64 /usr/bin/winecfg"
include="/usr/include/wine"
libraries="/usr/lib32/wine /usr/lib64/wine"
manuals="/usr/share/man/man1/widl.1 /usr/share/man/man1/wmc.1 /usr/share/man/man1/regedit.1 /usr/share/man/man1/winegcc.1 /usr/share/man/man1/winecfg.1 /usr/share/man/man1/notepad.1 /usr/share/man/man1/winepath.1 /usr/share/man/man1/regsvr32.1 /usr/share/man/man1/winedbg.1 /usr/share/man/man1/wineconsole.1 /usr/share/man/man1/winemine.1 /usr/share/man/man1/winebuild.1 /usr/share/man/man1/wineserver.1 /usr/share/man/man1/wine.1 /usr/share/man/man1/msiexec.1 /usr/share/man/man1/wineboot.1 /usr/share/man/man1/winefile.1 /usr/share/man/man1/wrc.1"


I've also got a few other bells and whistles for my forked eselect module, e.g. Git commit and Git commit date tagging for live 9999 ebuilds:
Code:
eselect wine list
Available 'wine' versions:
  [1]  wine-vanilla-1.8
  [2]  wine-staging-1.8.6
  [3]  wine-staging-2.0
  [4]  wine-vanilla-2.0.2
  [5]  wine-staging-2.5
  [6]  wine-staging-2.16 *
  [7]  wine-vanilla-2.16
  [8]  wine-staging-9999  Thu Aug 31 16:08:31 2017 +0300   e06b7693d6f0980b1db2fa3b9920c7a925ceb8be
  [9]  wine-vanilla-9999  Wed Sep  6 20:42:28 2017 +0200   d003ed3b1743985282c8c8e9c597d77c4b47bb15



Bob
_________________
system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1332
Location: United Kingdom

PostPosted: Wed Nov 29, 2017 6:02 pm    Post subject: Reply with quote

Given my previous posts in this thread, it seems the most appropriate place to post now, even if tardy. Until today I had been using app-emulation/wine with USE="staging". When merging world today I read the News item about the 'old-style' WINE packages being moved to an overlay, so it was time for me to bite the bullet and switch to the new(ish) slotted WINE Staging package. I found that I had to add app-emulation/wine-vanilla as well in the package.accept_keywords and package.use files, even though I wanted to use app-emulation/wine-staging (see my blog post for console output and further details). Below is a summary of what I did in order to install and use app-emulation/wine-staging.

Previously, this is what I had for app-emulation/wine, and I wanted the same functionality in the new slotted WINE package:

Code:
Installed versions:  2.3^t(19:16:31 20/05/17)(X alsa cups fontconfig gecko gphoto2 gsm jpeg lcms mp3 ncurses nls openal opengl perl png pulseaudio realtime run-exes scanner ssl staging threads truetype udev udisks v4l xcomposite xml -capi -custom-cflags -d3d9 -dos -gstreamer -ldap -mono -netapi -odbc -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -samba -selinux -test -themes -vaapi -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" ELIBC="glibc" KERNEL="-FreeBSD" LINGUAS="en pt_BR -ar -bg -ca -cs -da -de -el -en_US -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW")


1. Add the following lines to /etc/portage/package.accept_keywords/wine:
Code:
virtual/wine ~amd64
app-emulation/wine-staging ~amd64
app-emulation/wine-vanilla ~amd64


2. Add the following lines to /etc/portage/package.use/wine:
Code:
virtual/wine -d3d9 staging abi_x86_32
app-emulation/wine-staging X alsa cups fontconfig gecko gphoto2 gsm jpeg lcms mp3 ncurses nls openal opengl perl png pulseaudio realtime run-exes scanner ssl staging threads truetype udev udisks v4l xcomposite xml -capi -custom-cflags -d3d9 -dos -gstreamer -ldap -mono -netapi -odbc -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -samba -selinux -test -themes -vaapi -xinerama abi_x86_32
app-emulation/wine-vanilla X alsa cups fontconfig gecko gphoto2 gsm jpeg lcms mp3 ncurses nls openal opengl perl png pulseaudio realtime run-exes scanner ssl staging threads truetype udev udisks v4l xcomposite xml -capi -custom-cflags -d3d9 -dos -gstreamer -ldap -mono -netapi -odbc -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -samba -selinux -test -themes -vaapi -xinerama abi_x86_32
# required by app-emulation/wine-vanilla-2.20::gentoo[gecko]
# required by virtual/wine-0-r6::gentoo
>=app-emulation/wine-gecko-2.47-r1 abi_x86_32


3. Uninstall the old, un-slotted WINE packages:

Code:
# emerge -aC app-emulation/wine app-emulation/winetricks


4. Merge the new virtual WINE package:

Code:
# emerge -a virtual/wine


5. Select the slotted WINE package I wish to use (WINE Staging):

Code:
# eselect wine list
# eselect wine set wine-staging-2.19


6. Merge the winetricks package, which will now recognise the slotted WINE package selected:

Code:
# emerge app-emulation/winetricks


After completing the above process, I was still able to launch as before the various Microsoft Windows applications installed on my laptop under WINE.
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
stqn
n00b
n00b


Joined: 07 Apr 2015
Posts: 35

PostPosted: Wed Nov 29, 2017 8:30 pm    Post subject: Reply with quote

I am also a wine staging user. What I had to do:
- uninstall wine, winetricks and playonlinux
- unmask wine-staging in package.accept_keywords
- emerge wine-staging directly (trying to emerge virtual/wine results in both wine-vanilla and wine-staging being pulled in, even though I set the staging use flag for virtual/wine)

If I try to emerge winetricks it wants to install wine-2.0.
Back to top
View user's profile Send private message
Juippisi
Apprentice
Apprentice


Joined: 30 Sep 2005
Posts: 172
Location: /home

PostPosted: Thu Nov 30, 2017 6:12 am    Post subject: Reply with quote

I think winetricks has dependency on virtual/wine.

I just uninstalled wine, added USE flags for wine-any in package.use and emerged wine-any. Didnt uninstall winetricks and its not complaining either. Running on ~amd64 though.

Code:

[ebuild   R    ] app-emulation/winetricks-20170823::gentoo  USE="rar -gtk -kde"
[ebuild   R    ] app-emulation/wine-any-2.19:2.19::gentoo  USE="X alsa cups d3d9 fontconfig gecko gstreamer jpeg lcms mono mp3 ncurses opengl perl png pulseaudio realtime run-exes ssl staging threads truetype udev udisks xinerama xml -capi -custom-cflags -dos -gphoto2 -gsm -ldap -netapi -nls -odbc -openal -opencl -osmesa -oss -pcap -pipelight -prelink -s3tc -samba -scanner (-selinux) {-test} -themes -v4l -vaapi -xcomposite"
[ebuild   R    ] virtual/wine-0-r6::gentoo  USE="d3d9 staging"
Back to top
View user's profile Send private message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 209

PostPosted: Thu Nov 30, 2017 12:00 pm    Post subject: Reply with quote

same situation - i have "virtual/wine -d3d9 staging" in my package.use and emerge virtual/wine has installed both wine-vanilla and wine-staging

stqn wrote:
I am also a wine staging user. What I had to do:
- uninstall wine, winetricks and playonlinux
- unmask wine-staging in package.accept_keywords
- emerge wine-staging directly (trying to emerge virtual/wine results in both wine-vanilla and wine-staging being pulled in, even though I set the staging use flag for virtual/wine)

If I try to emerge winetricks it wants to install wine-2.0.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1332
Location: United Kingdom

PostPosted: Thu Nov 30, 2017 2:07 pm    Post subject: Reply with quote

stqn wrote:
I am also a wine staging user. What I had to do:
- uninstall wine, winetricks and playonlinux
- unmask wine-staging in package.accept_keywords
- emerge wine-staging directly (trying to emerge virtual/wine results in both wine-vanilla and wine-staging being pulled in, even though I set the staging use flag for virtual/wine)

If I try to emerge winetricks it wants to install wine-2.0.

Regarding your comment about winetricks, I think what you're seeing is probably because winetricks-20170823.ebuild includes the following requirement in RDEPEND:

Code:
|| (
         app-emulation/wine
         virtual/wine
)

As you did not install virtual/wine (because you did not want to install wine-vanilla in addition to wine-staging), I think the current winetricks ebuild wants to pull in app-emulation/wine as it is the first of the two packages in the above-mentioned OR statement in RDEPEND.

In my case, since I had installed virtual/wine, when I installed winetricks-20170823 (Step 6 in my previous post) the above-mentioned dependency requirement was satisfied.
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1332
Location: United Kingdom

PostPosted: Thu Nov 30, 2017 2:31 pm    Post subject: Reply with quote

JohnBlbec wrote:
same situation - i have "virtual/wine -d3d9 staging" in my package.use and emerge virtual/wine has installed both wine-vanilla and wine-staging

virtual/wine-0-r6.ebuild looks like this:

Code:
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Virtual for Wine that supports multiple variants and slotting"

SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="+abi_x86_32 +abi_x86_64 d3d9 staging"

REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"

# Note, the ordering here is intentional, to take advantage of the short-circuit
# logic of portage, to enforce wine-vanilla as default for new users.  The idea
# behind this is that some USE flags may pull in 3rd-party patchsets, so default
# of vanilla prevents that.
RDEPEND="
   staging? ( || (
      app-emulation/wine-staging[staging]
      app-emulation/wine-any[staging]
   ) )
   d3d9? ( || (
      app-emulation/wine-d3d9[d3d9]
      app-emulation/wine-any[d3d9]
   ) )
   || (
      app-emulation/wine-vanilla[abi_x86_32=,abi_x86_64=]
      app-emulation/wine-staging[abi_x86_32=,abi_x86_64=]
      app-emulation/wine-d3d9[abi_x86_32=,abi_x86_64=]
      app-emulation/wine-any[abi_x86_32=,abi_x86_64=]
   )
   !app-emulation/wine:0"

My understanding of ebuild syntax is rudimentary, but that looks to me like it does indeed force the installation of wine-vanilla if you are installing wine-staging by having USE="-d3d9 staging". I'm not sure that is intentional, given that Juippisi was able to install wine-any without wine-vanilla by having USE="d3d9 staging".

EDIT: Slightly reworded the last paragraph to try to make my meaning clearer.
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog


Last edited by Fitzcarraldo on Thu Nov 30, 2017 5:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
stqn
n00b
n00b


Joined: 07 Apr 2015
Posts: 35

PostPosted: Thu Nov 30, 2017 2:33 pm    Post subject: Reply with quote

Fitzcarraldo wrote:

As you did not install virtual/wine (because you did not want to install wine-vanilla in addition to wine-staging), I think the current winetricks ebuild wants to pull in app-emulation/wine as it is the first of the two packages in the above-mentioned OR statement in RDEPEND.

I see, thanks for the explanation. Building wine takes a lot of time so I don’t want to install wine-vanilla that I don’t need.
Back to top
View user's profile Send private message
Chiitoo
Moderator
Moderator


Joined: 28 Feb 2010
Posts: 1402
Location: Here and Away Again

PostPosted: Thu Nov 30, 2017 8:51 pm    Post subject: ><)))°€ Reply with quote

There indeed is an issue with two variants getting pulled in initially, and there is a Portage bug about it, here:

sys-apps/portage: redundant package pulled in for virtual || ( foo bar ) || ( bar baz )

In the meantime, the recommended workaround until the updated portage is released could be something like this:

Code:
emerge -1 app-emulation/wine-"$variant"; emerge virtual/wine

_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1332
Location: United Kingdom

PostPosted: Fri Dec 01, 2017 12:05 am    Post subject: Reply with quote

Chiltoo,

Thanks for the link to the bug report and for the proposed work-around, which does indeed work for me (I have left the new entries I made in package.accept_keywords and package.use remain in those files):

Code:
# emerge -aC app-emulation/wine-vanilla app-emulation/wine-staging virtual/wine app-emulation/wine-desktop-common app-emulation/wine-gecko app-eselect/eselect-wine app-emulation/winetricks
# emerge -1 app-emulation/wine-staging && emerge virtual/wine && emerge winetricks

The outcome was:
Code:
# eix --installed --compact wine
[I] app-emulation/wine-desktop-common (20150204@01/12/17): Various desktop menu items and icons for wine
[I] app-emulation/wine-gecko (2.47-r1(2.47)@01/12/17): A Mozilla Gecko based version of Internet Explorer for Wine
[I] app-emulation/wine-staging (2.19(2.19)@01/12/17): Free implementation of Windows(tm) on Unix, with Wine-Staging patchset
[I] app-emulation/winetricks (20170823@01/12/17): Easy way to install DLLs needed to work around problems in Wine
[I] app-eselect/eselect-wine (1.2.2@01/12/17): Manage active wine version
[I] virtual/wine (0-r6@01/12/17): Virtual for Wine that supports multiple variants and slotting
Found 6 matches
# eselect wine list
Available wine versions:
  [1]   wine-staging-2.19 *
#

The superfluous app-emulation/wine-vanilla is no longer installed, which is a cleaner outcome.
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum