Open hongyi-zhao opened 4 years ago
Hi @hongyi-zhao
Yes, it is possible. See Darling's docs:
https://docs.darlinghq.org/installing-software.html#dmg-files
Fwiw, if you are purely interested in running qq under linux, win32/win64 qq on wine might be a easier approach. Don't let me stop you from trying mac qq under darling though.
(I have no desire of doing either, yet...)
Hey,sir,Look it https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu (https://link.getmailspring.com/link/530766BF-E2A4-424E-AFAD-A458976C76D8@getmailspring.com/0?redirect=https%3A%2F%2Fgitee.com%2Fwszqkzqk%2Fdeepin-wine-for-ubuntu&recipient=cmVwbHkrQUw3TVlSQUlLNjZHWVFTQlNYQzIyUzU1QUo3SEZFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D) On 6月 27 2020, at 9:14 上午, HinTak notifications@github.com wrote:
Fwiw, if you are purely interested in running qq under linux, win32/win64 qq on wine might be a easier approach. Don't let me stop you from trying mac qq under darling though. (I have no desire of doing either, yet...) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/530766BF-E2A4-424E-AFAD-A458976C76D8@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fdarlinghq%2Fdarling%2Fissues%2F839%23issuecomment-650468273&recipient=cmVwbHkrQUw3TVlSQUlLNjZHWVFTQlNYQzIyUzU1QUo3SEZFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/530766BF-E2A4-424E-AFAD-A458976C76D8@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL7MYREXO74KGMH76S5VCX3RYVBXFANCNFSM4OJYDSZQ&recipient=cmVwbHkrQUw3TVlSQUlLNjZHWVFTQlNYQzIyUzU1QUo3SEZFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D).
@qianyigengwu I've tried this solution. It seems that it cannot support the most recent version of qq.
Now, he has perfect support for the latest version of QQ. Trust me. On 6月 27 2020, at 9:26 上午, qygw qygwhk@163.com wrote:
抱歉,用中文吧。我英语不太好 这是我所认为的最棒的。我相信目前不会有比它更完美的解决方案。
Deepin-wine can be understood as QQ's custom wine, which means you can manually install the latest version of Qq at ~ / . DEEPINWINE / eepin-QQ / , such as"export wineprefix = ~ / . DEEPINWINE / Deepin-QQ deepin-wine xxxx.exe"(at this point your exe file needs to be placed in ~ / . DEEPINWINE / Deepin-QQ or its subfolder)
On 6月 27 2020, at 10:01 上午, hongyi-zhao notifications@github.com wrote:
Now, he has perfect support for the latest version of QQ. Trust me. The official latest version of qq is 9.3.5, while the most recentg deepin qq version is 9.1.8 (https://link.getmailspring.com/link/3EBAEA59-E29E-4104-9400-4EED8FE7F78F@getmailspring.com/0?redirect=http%3A%2F%2Fpackages.deepin.com%2Fdeepin%2Fpool%2Fnon-free%2Fd%2Fdeepin.com.qq.im%2F&recipient=cmVwbHkrQUw3TVlSRzVMVVBDRlA3VU1GNUs1UE41QUtFWTNFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D).
OTOH, the wine version of qq is not so efficient base on my experience. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/3EBAEA59-E29E-4104-9400-4EED8FE7F78F@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fdarlinghq%2Fdarling%2Fissues%2F839%23issuecomment-650473052&recipient=cmVwbHkrQUw3TVlSRzVMVVBDRlA3VU1GNUs1UE41QUtFWTNFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/3EBAEA59-E29E-4104-9400-4EED8FE7F78F@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL7MYRG6P375IHEM2MGRGD3RYVHI3ANCNFSM4OJYDSZQ&recipient=cmVwbHkrQUw3TVlSRzVMVVBDRlA3VU1GNUs1UE41QUtFWTNFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D).
@qianyigengwu Thanks a lot for pointing this out. Anyway, it's not a bad idea to try and have more solutions.
Yeah!I'm glad that I can help you a little.
Not sure what version of wine https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu corresponds to - it says 2.18 ... But wine is at version 5.11 at the moment (and I am using 5.7, which is about 6 weeks old.).
Hello, this is a special version of Deepin community in China, there are a lot of patches and changes, so I say this is a "custom wine" , believe me, it will be more perfect than wine 5.11 or even wine 6.11 when running QQ.
On 6月 27 2020, at 10:26 上午, HinTak notifications@github.com wrote:
Not sure what version of wine https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu (https://link.getmailspring.com/link/84788F37-55EC-46B1-A11A-5E89AC69AE42@getmailspring.com/0?redirect=https%3A%2F%2Fgitee.com%2Fwszqkzqk%2Fdeepin-wine-for-ubuntu&recipient=cmVwbHkrQUw3TVlSQVZVQTM1NVFETUIyQk41WTU1QUtIVFhFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D) corresponds to - it says 2.18 ... But wine is at version 5.11 at the moment (and I am using 5.7, which is about 6 weeks old.). — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/84788F37-55EC-46B1-A11A-5E89AC69AE42@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fdarlinghq%2Fdarling%2Fissues%2F839%23issuecomment-650475396&recipient=cmVwbHkrQUw3TVlSQVZVQTM1NVFETUIyQk41WTU1QUtIVFhFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/84788F37-55EC-46B1-A11A-5E89AC69AE42@getmailspring.com/2?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL7MYREXIDFZ5KLHOLBFYTDRYVKDXANCNFSM4OJYDSZQ&recipient=cmVwbHkrQUw3TVlSQVZVQTM1NVFETUIyQk41WTU1QUtIVFhFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D).
Deepin is about 2 years behind upstream wine, so I doubt that. But, whatever works for you. I am just saying that (given I have contributed to both projects and have found my way around the source code of both) - wine is a better bet than darling, if an application is available for both windows and mac, and you are not particularly attached to the mac version of it.
My interest in darling is in apple's font tools and Apple's CoreText and ATS framework, so it is apple-specific. (I am interested in Microsoft"s directwrite and GDI too, but that's completely separate)
I understand you, but the Deepin community has spent years optimizing tray icons, files dialog and so on, and only in Qq, it runs better than wine 5.7, and Deepin wine is currently in stable and active maintenance. At the same time, I'm very optimistic about Darling, and I hope to get Xcode up and running on Darling soon (yes, it looks like I had a serious problem building Darling from Aur!) On 6月 27 2020, at 10:42 上午, HinTak notifications@github.com wrote:
Deepin is about 2 years behind upstream wine, so I doubt that. But, whatever works for you. I am just saying that (given I have contributed to both projects and have found my way around the source code of both) - wine is a better bet than darling, if an application is available for both windows and mac, and you are not particularly attached to the mac version of it. My interest in darling is in apple's font tools and Apple's CoreText and ATS framework, so it is apple-specific. (I am interested in Microsoft"s directwrite and GDI too, but that's completely separate) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/F9C5DBBB-E467-4A96-A20C-BE7163FBA585@getmailspring.com/0?redirect=https%3A%2F%2Fgithub.com%2Fdarlinghq%2Fdarling%2Fissues%2F839%23issuecomment-650476766&recipient=cmVwbHkrQUw3TVlSSEw0Wk5aS0UzN1JFTE9TSk41QUtKUVBFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/F9C5DBBB-E467-4A96-A20C-BE7163FBA585@getmailspring.com/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL7MYRA6DXSDUOQHIEYCO4DRYVMAPANCNFSM4OJYDSZQ&recipient=cmVwbHkrQUw3TVlSSEw0Wk5aS0UzN1JFTE9TSk41QUtKUVBFVkJOSEhDTkNPWEFVQHJlcGx5LmdpdGh1Yi5jb20%3D).
Hi @hongyi-zhao
Yes, it is possible. See Darling's docs:
https://docs.darlinghq.org/installing-software.html#dmg-files
Tried but still failed. See the following steps for my case:
$ darling shell
$ hdiutil attach QQ_6.6.7.dmg
$ cd /Volumes/QQ_6.6.7/
$ rsync -avP QQ.app/ /Applications/QQ.app/
$ cd /Applications/QQ.app/Contents/MacOS/
$ ./QQ
dyld: Library not loaded: /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
Referenced from: /Applications/QQ.app/Contents/MacOS/QQ
Reason: image not found
Abort trap: 6 (core dumped)
Same issue as https://github.com/darlinghq/darling/projects/2#card-36354606 then.
Same issue as https://github.com/darlinghq/darling/projects/2#card-36354606 then.
Do you mean this is a not yet implemented feature till now?
"not yet implemented". Otoh, you can have a go at stubbing it. It does not need to be functional, just present. (as in, have a few "do nothing yet" routines).
@qianyigengwu
I hope to get Xcode up and running on Darling soon (yes, it looks like I had a serious problem building Darling from Aur!)
You can build manually Darling without problems. I am on Endeavour OS (Arch Linux-based distro) and run normally Darling.
Please follow the manual and go to the title "Arch Linux & Manjaro": https://docs.darlinghq.org/build-instructions.html. Please note you do not need to install linux-lts (which is Linux Kernel 5.4) if you have already installed linux-headers
and linux
). Then go to https://docs.darlinghq.org/build-instructions.html#fetch-the-sources.
@hongyi-zhao
Tried but still failed. See the following steps for my case:
$ darling shell $ hdiutil attach QQ_6.6.7.dmg $ cd /Volumes/QQ_6.6.7/ $ rsync -avP QQ.app/ /Applications/QQ.app/ $ cd /Applications/QQ.app/Contents/MacOS/ $ ./QQ dyld: Library not loaded: /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit Referenced from: /Applications/QQ.app/Contents/MacOS/QQ Reason: image not found Abort trap: 6 (core dumped)
We have this same issue, in reference to https://github.com/darlinghq/darling/issues/838. You need to install few missed libraries dyld
and abort_with_payload
that Darling developers did not include in their project.
Oh!thanksa lot and i will try it soon.
We have this same issue, in reference to #838. You need to install few missed libraries
dyld
andabort_with_payload
that Darling developers did not include in their project.
Do you mean something similar to the following is needed for solving this problem:
$ brew install dyld abort_with_payload
You need to install few missed libraries
dyld
andabort_with_payload
that Darling developers did not include in their project.
$ brew install dyld abort_with_payload
That's... hilarious, and that's not how any of this works 😆
We have this same issue, in reference to #838. You need to install few missed libraries
dyld
andabort_with_payload
that Darling developers did not include in their project.Do you mean something similar to the following is needed for solving this problem:
$ brew install dyld abort_with_payload
Homebrew still does not work. In reference to #357, @facekapow said it needs this issue to be fixed.
dyld: Library not loaded: /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit Referenced from: /Applications/QQ.app/Contents/MacOS/QQ Reason: image not found
This is not that dyld
is not found, but that dyld
tried to load AudioUnit.framework
, but couldn't find it. AudioUnit.framework
is normally a part of macOS itself, but for Darling there needs to be a re-implementation of it.
However, it seems that lack of these libraries came from Xcode, in reference to https://github.com/darlinghq/darling/issues/636.
Hello @bjorn3, please can you explain what's wrong at the reference #838?
dyld
open source from apple, included in darling) says it cannot find some library, so it aborted (abort_with_playload
is a message from the object-c runtime, which is also open source and darling includes) and stopped loading visual studio code.We have this same issue, in reference to #838. You need to install few missed libraries
dyld
andabort_with_payload
that Darling developers did not include in their project.Do you mean something similar to the following is needed for solving this problem:
$ brew install dyld abort_with_payload
Homebrew still does not work. In reference to #357, @facekapow said it needs this issue to be fixed.
Actually, my last comment on that issue was that Homebrew does work now (with a few hiccups, of course; it may freeze sometimes, but killing it and relaunching it will usually fix that). But, no, Homebrew won’t help with this issue.
This is actually the same problem that #764 has.
I also tried to launch it with open command, but failed as follows:
$ open /Applications/QQ.app
audit_session_self STUB
file:///Applications/QQ.app/Contents/MacOS/QQ: Failed to spawn via launchd
Deepin-wine can be understood as QQ's custom wine, which means you can manually install the latest version of Qq at ~ / . DEEPINWINE / eepin-QQ / , such as"export wineprefix = ~ / . DEEPINWINE / Deepin-QQ deepin-wine xxxx.exe"(at this point your exe file needs to be placed in ~ / . DEEPINWINE / Deepin-QQ or its subfolder)
I installed the lateset qq into ~/.deepinwine/Deepin-QQ
with the following steps:
$ wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
$ sudo apt-get install deepin.com.qq.im
Use the self-compiled wine to install the latest qq into the location: ~/.wine/Deepin-QQ and then run it as following:
$ cd ~/.deepinwine/Deepin-QQ/drive_c/'Program Files'/Tencent/QQ/Bin
$ env WINEPREFIX=~/.deepinwine/Deepin-QQ deepin-wine QQ.exe
It seems the above command failed to start qq but following command will run it successfully:
$ /opt/deepinwine/apps/Deepin-QQ/run.sh
It seems this method is not so stabler than the one installed by sudo apt-get install deepin.com.qq.im
, sometimes it will freeze during the starting progress. So, the best method is use the latest version supplied by deepin repo instead of trying to use the latest qq version released by Tencent.
Side note: The self-compiled git master version of wine can start the above qq but will crash after several seconds.
Hi,
I'm using Ubuntu 20.04. Is it possible for to run QQ_6.6.7.dmg within darlinghq?