[Replicate]how to compile Wine with a particular glib

Questions about Wine on Linux
Locked
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

[Replicate]how to compile Wine with a particular glib

Post by miu »

The original topic is here http://forum.winehq.org/viewtopic.php?t=15823,
I still have some puzzles about that.

Now I know that my glib version is "Version: 2.32.3-0ubuntu1" which is showed on my terminal output.
I know that I come acroos the bug http://bugs.winehq.org/show_bug.cgi?id=30557 and I want to compile wine with a
particular glib to solve the problem.

How to deal with the relationship between glib and wine?
I tried the code in the topic http://forum.winehq.org/viewtopic.php?t=15823
but i don't know which step does wrongly.

I will appreciate it if anyone can give me some hints on the problem. :D
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by dimesio »

If you're asking about the suggestion to use --disable-shared, that would be used when compiling glib. However, as noted in the other thread, you probably need to also compile gstreamer with the older glib for this to work.

FYI, Maarten has submitted a newer version of his patch to fix bug 30557. You might want to try that. http://source.winehq.org/patches/data/97585
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by miu »

dimesio wrote:If you're asking about the suggestion to use --disable-shared, that would be used when compiling glib. However, as noted in the other thread, you probably need to also compile gstreamer with the older glib for this to work.

FYI, Maarten has submitted a newer version of his patch to fix bug 30557. You might want to try that. http://source.winehq.org/patches/data/97585
Yes, i want to try that first, but how to use that patch? sorry, i should have known how to use.
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by miu »

It took me almost an hour to compile wine and took me almost an hour to test it. At last, it failed. why, i don't know. :evil:
The patch is somewhat strange when I test the window program.
Is something wrong when I patch the wine? :cry:

the terminal output :

Code: Select all

fixme:wtsapi:WTSRegisterSessionNotification Stub 0x10070 0x00000000
fixme:thread:start_thread Started native thread 00000026
fixme:thread:start_thread Started native thread 00000027
fixme:thread:start_thread Started native thread 00000028
fixme:thread:start_thread Started native thread 00000029
fixme:thread:start_thread Started native thread 0000002a
fixme:win:EnumDisplayDevicesW ((null),0,0x32f528,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:thread:start_thread Started native thread 00000030
fixme:thread:start_thread Started native thread 00000031
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000001 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x255dcd8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x255d808,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x255d808,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
err:ole:CoGetClassObject class {7d8aa343-6e63-4663-be90-6b80f66540a3} not registered
err:ole:CoGetClassObject no class object {7d8aa343-6e63-4663-be90-6b80f66540a3} could be created for context 0x1
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {6bc1cffa-8fc1-4261-ac22-cfb4cc38db50}, hres is 0x80040154
Oh, my gosh. where goes wrong? How to fix it?
Please give me some hints on how to solve the problem. :cry:
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by dimesio »

{7d8aa343-6e63-4663-be90-6b80f66540a3} is quartz.dll.

What app is this?
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by miu »

sorry to post the reply so lately.
Today there is no electricity in my living area and the weather is so hot. I can't use computer all the day untill now.
dimesio wrote:{7d8aa343-6e63-4663-be90-6b80f66540a3} is quartz.dll.
With the help of your hint, I register the quartz.dll.
It works, just sound, no image (black screen) and the terminal output is no error. :evil:
NO ERROR, why no error, there should be some errors. :?:

terminal output

Code: Select all


fixme:wtsapi:WTSRegisterSessionNotification Stub 0x2002c 0x00000000
fixme:thread:start_thread Started native thread 00000026
fixme:thread:start_thread Started native thread 00000027
fixme:thread:start_thread Started native thread 00000028
fixme:thread:start_thread Started native thread 00000029
fixme:thread:start_thread Started native thread 0000002a
fixme:win:EnumDisplayDevicesW ((null),0,0x32f528,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:thread:start_thread Started native thread 00000030
fixme:thread:start_thread Started native thread 00000031
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000001 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x288dcc8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x288d7f8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x288d7f8,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:win:EnumDisplayDevicesW ((null),0,0x288db78,0x00000000), stub!
fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0x2002c
fixme:mci:MCI_SendCommand unhandled MCI_ALL_DEVICE_ID

Just need another hint.
What app is this?
It's Kono Aozora ni Yakusoku o , a game, a Japanese game.
Introduction:http://en.wikipedia.org/wiki/Kono_Aozora_ni_Yakusoku_o
If you are interested in that type of game, I recommend you to play that game,it's wonderful :D
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by dimesio »

You may just need to install some codecs. Try installing WMP9 or WMP10, and if that's not enough, try a codec pack (something like K-Lite or CCCP).
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by miu »

Just test the patch for some time and the below is my report.

I tried to install WMP9 or WMP10 via winetricks but it failed.
It seems that the patch doesn't support the window app perfectly, because previously i just install the WMP10 perfectly on the ubuntu distro. By the way, i install some codec packs and make it successful to play videos in the games anyway, however, I don't think that it will make any difference owing to the reason that i can also play a video in the game by means of installing some codec packs in the ubuntu distro and disabling the winegastreamer.dll via winecfg, not built by myself. There was no sense in that kinda solution though i tried several games to test the patch to know what difference it might bring but it disappointed me.

I am looking for some solutions to solve the problem more effectively not just by installing some codec packs in the wine. I suppose that maybe it should be some adjustment between the gastreamer and wine since the game can play a video without picture and with sound only. Oh, i don't know.
dimesio wrote:You may just need to install some codecs. Try installing WMP9 or WMP10, and if that's not enough, try a codec pack (something like K-Lite or CCCP).
Now i want to ensure whether your game can play interlude video without installing some codec packs.
How to solve the that kinda of problem, which aspect should i pay attention to? Can you give me some hints on it to resolve the problem not just by installing some codec packs. Looking forward to your reply.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by dimesio »

Native quartz won't work with winegstreamer, so you need to remove that. Make sure you have the necessary codecs installed in Linux; gstreamer has lots of plugins. If you are on 64 bit, you need to install the 32 bit ones.

Have you actually tested your game with the older glib & gstreamer to be sure video works?

It is also possible that that patch simply doesn't completely fix the problem. If it doesn't work in a clean wineprefix, and you are sure you have all the needed gstreamer plugins installed, you should leave a comment to that effect in the bug report.
miu
Level 2
Level 2
Posts: 18
Joined: Tue Aug 13, 2013 9:39 pm

Re: [Replicate]how to compile Wine with a particular glib

Post by miu »

dimesio wrote:Native quartz won't work with winegstreamer, so you need to remove that. Make sure you have the necessary codecs installed in Linux; gstreamer has lots of plugins. If you are on 64 bit, you need to install the 32 bit ones.

Have you actually tested your game with the older glib & gstreamer to be sure video works?

It is also possible that that patch simply doesn't completely fix the problem. If it doesn't work in a clean wineprefix, and you are sure you have all the needed gstreamer plugins installed, you should leave a comment to that effect in the bug report.
Thanks for your hints. :) and i will make efforts for it, i promise.
After a day of constant tests, it seems that i need more time,maybe several days or weeks, to prove the feasibility of the patch with other possible factors excluded contributed to the problem though that is a hard work for me at least. i will try my best to do it and if needed i will submit my feedbacks and make some comments on the bug report.
Locked