[Bug 37047] New: MAC OSX: Add mac app's information
http://bugs.winehq.org/show_bug.cgi?id=37047 Bug ID: 37047 Summary: MAC OSX: Add mac app's information Product: Wine Version: unspecified Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: winemac.drv Assignee: wine-bugs(a)winehq.org Reporter: swdevelop1981(a)gmail.com It would be great if wine had mac app's information as described here: https://developer.apple.com/library/mac/documentation/general/Reference/Info... This would allow modifying "Command" to "Control" easily with "Karabiner" and allow a much nicer wine experience. Issue in "Karabiner" explaining the requirement: https://github.com/tekezo/Karabiner/issues/250 Hope this is possible... Thank you guys for all your hard work, it is very much appreciated! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=37047 Simon <swdevelop1981(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |swdevelop1981(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #1 from Ken Thomases <ken(a)codeweavers.com> --- Wine is not a bundle app, but it does have an Info.plist embedded in it as described here <https://developer.apple.com/library/mac/documentation/security/Conceptual/CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4-SW6>. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #2 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Is this valid? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #3 from Simon <swdevelop1981(a)gmail.com> --- For me it is. It would be really great if this can be done. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #4 from Ken Thomases <ken(a)codeweavers.com> --- (In reply to Simon from comment #3)
For me it is. It would be really great if this can be done.
As I explained, it already is done. Wine has an Info.plist embedded within it. It has a bundle ID. If Karabiner doesn't recognize it for some reason, the devs of that project have to explain why Wine's embedded Info.plist is inadequate. What APIs are they using to try to recognize apps and what result do they get or fail to get with Wine that's insufficient? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 Gregory <g(a)bonk.cc> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |g(a)bonk.cc --- Comment #5 from Gregory <g(a)bonk.cc> --- Wine, when installed with Brew doesn't appear to be properly installing / configuring the plist data in the registry. I grabbed this app... http://apps.tempel.org/PrefsEditor/#download And there is no Wine in the list that is available. I also tried the following from the terminal....
osascript -e 'id of app "Wine"' 0:2: execution error: Can’t get application "Wine". (-1728)
I'm no expert in this but it looks like the plist is not registering correctly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #6 from Gregory <g(a)bonk.cc> --- Wine, when installed with Brew doesn't appear to be properly installing / configuring the plist data in the registry. I grabbed this app... http://apps.tempel.org/PrefsEditor/#download And there is no Wine in the list that is available. I also tried the following from the terminal....
osascript -e 'id of app "Wine"' 0:2: execution error: Can’t get application "Wine". (-1728)
I'm no expert in this but it looks like the plist is not registering correctly. (In reply to Gregory from comment #5)
Wine, when installed with Brew doesn't appear to be properly installing / configuring the plist data in the registry.
I grabbed this app... http://apps.tempel.org/PrefsEditor/#download
And there is no Wine in the list that is available.
I also tried the following from the terminal....
osascript -e 'id of app "Wine"' 0:2: execution error: Can’t get application "Wine". (-1728)
I'm no expert in this but it looks like the plist is not registering correctly.
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #7 from Gregory <g(a)bonk.cc> --- This is wine 1.8.2 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #8 from Gregory <g(a)bonk.cc> --- Contacted the Brew people as I had installed Wine via Brew. Opened issue: https://github.com/Homebrew/homebrew-core/issues/2465 and has been confirmed as a bug. Hopefully it will be fixed soon. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 Ken Thomases <ken(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #9 from Ken Thomases <ken(a)codeweavers.com> --- (In reply to Gregory from comment #8)
Contacted the Brew people as I had installed Wine via Brew.
Opened issue: https://github.com/Homebrew/homebrew-core/issues/2465
and has been confirmed as a bug. Hopefully it will be fixed soon.
It's only been confirmed by people who aren't really familiar with it. OK. I'm finally going to mark this bug invalid. You haven't been able to actually point to anything wrong with Wine. Wine is not a _bundled_ app. It's not supposed to be and never will be because that's not appropriate for the way it works or is used. There may be some tools which can't cope with that. Those tools should be fixed or maybe they'll just declare that they don't work with non-bundled apps. There are third parties which provide Wine in bundled form. Those may better suit your needs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #10 from Gregory <g(a)bonk.cc> --- Sorry, I don't understand what is meant by "Bundled App" Also according to https://wiki.winehq.org/MacOSX the use of Brew is "Highly Recommended" There's nothing wrong with wine, but instead there is an issue with the wine installer. I will figure this out and get back. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #11 from Ken Thomases <ken(a)codeweavers.com> --- A bundle is a directory (a.k.a. folder) with a specific internal structure. Most applications on a Mac are bundles. So, for example, Mail.app is actually a directory that contains the Mail program executable as well as a bunch of related files, such as image files, translations of the text to various languages, possibly helper programs, metadata such as the Info.plist file, etc. Wine is not like that. There are many files that are part of Wine but they are not assembled into an application bundle. The executable is in one place (e.g. /usr/local/bin) while the resources are elsewhere (e.g. /usr/local/lib, /usr/local/share, etc.). In particular, there's no separate Info.plist file. The information that would normally go in an Info.plist file in a bundled app is instead embedded inside the executable. Anyway, to the system, Wine appears to be just a standalone executable, not an application. Therefore, it won't be recognized by things which are only capable of dealing with applications. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #12 from Gregory <g(a)bonk.cc> --- Created attachment 54977 --> https://bugs.winehq.org/attachment.cgi?id=54977 output of /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #13 from Gregory <g(a)bonk.cc> --- Ok Cool. But there are Wine distributions that are *.pkg files. See: https://dl.winehq.org/wine-builds/macosx/download.html Installing the *.pkg file there were entries put into the 'lsregister' I've attached its output -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #14 from Gregory <g(a)bonk.cc> --- OK, last comment / opinion. I tested this issue with Karabiner and I used the Mac PKG file. That works just fine. Karabiner is able to identify the application that is active "org.winehq.wine" It is just unfortunate that the process installing wine using Brew doesn't allow the application to be properly registered in the Mac's lsregister. I would propose that we file an enhancement to investigate that we could get the Brew install of wine to be enhanced to play more nicely with Mac and add a process where the brew wine app be registered with the Mac's 'registry' -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 --- Comment #15 from Gregory <g(a)bonk.cc> --- I validated the issue appears to be in the Brew formula for wine. I locally modified the formula to not create the Wine Wrapper and then Wine works fine with Karabiner. So there appears to be some nuance when the Brew Formula moves and creates the Wine Wrapper. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37047 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #16 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> --- Closing INVALID bugs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org