vdggvdgg / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

Unofficial Google Picasa 3.9 patch / verb #451

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I've attached a patch for Google Picasa 3.9(unoffical) for your consideration.

I've also attached a verb and a modified version of winetricks to use for the 
install instead if that's preferred.

I apologize in advance if I goofed on any of the formatting ;*)

Something I noticed is the end message, with the run instructions does not 
show, so maybe I put something wrong there. Although, there seems to be lots of 
error messages hanging around.. Maybe from ie7 install or something?

Also, ie7 doesn't seem to work in 64bit WINEPREFIX, so I used 32bit for 
installing it. I would have used ie8, but it takes longer to install. IE and 
wininet(at least) are needed in order to be able to login to the Google account 
(if one chooses to do this).

To install the program, use the attached modified version of winetricks (quiet 
mode shown):
$ WINEARCH=win32 WINEPREFIX="$HOME/.local/share/wineprefixes/picasa39" 
./winetrickspicasa39120814 -q picasa39

To run the program:
$ cd "$HOME/.local/share/wineprefixes/picasa39/drive_c/Program 
Files/Google/Picasa3"
$ WINEPREFIX="$HOME/.local/share/wineprefixes/picasa39" wine ./Picasa3.exe

Hopefully this can be useful for someone. I'll need it if I ever have to setup 
my Sister-in-law's computer for GNU/Linux again.. :-P

Cheers!

Original issue reported on code.google.com by Shannon....@gmail.com on 8 Dec 2014 at 5:35

GoogleCodeExporter commented 8 years ago
Added some minor fixes for reliable button clicking and timing.

Still can't figure out why w_declare_exe doesn't give me the start instructions 
for the program.

All I get at the end is:
wine: Unhandled page fault on read access to 0x00540073 at address 0x7e17ac24 
(thread 0047), starting debugger...
fixme:advapi:RegisterTraceGuidsA (0x7721212f, 0x7724bfc0, 
{0cfe0455-93ba-440d-a3fe-553973d0b723}, 1, 0x33fd18, (null), (null), 
0x7724bfc8): stub
fixme:advapi:RegisterTraceGuidsA (0x7721212f, 0x7724bfe0, 
{797fabac-7b58-4796-b924-d51178a59ce4}, 1, 0x33fd18, (null), (null), 
0x7724bfe8): stub
fixme:advapi:EventRegister {43d1a55c-76d6-4f7e-995c-64c711e5cafe}, 0x7723dc30, 
(nil), 0x7724b738
You opted in, so reporting 'wininet ie7 picasa39 ' to the winetricks maintainer 
so he knows which winetricks verbs get used and which don't.  Use --optout to 
disable future reports.
fixme:advapi:EventUnregister deadbeef: stub
err:menubuilder:InvokeShellLinker failed to build the menu
$

Original comment by Shannon....@gmail.com on 9 Dec 2014 at 5:03

GoogleCodeExporter commented 8 years ago
A few issues:
A) What do you mean by 'unofficial'? AFAICT, google still supports Picasa..
B) The ie7/wininet overrides need w_workaround_wine_bug with the appropriate 
bug numbers (if they don't exist, file them first).

Original comment by austinenglish@gmail.com on 13 Dec 2014 at 11:17

GoogleCodeExporter commented 8 years ago
Hi Mr. English,

please disregard my mention of the verb being "unofficial". If this picasa39 - 
that I created in my personal time, and for installing picasa on my in-law's 
computer, were to be merged into winetricks, it would certainly download the 
absolutely "official" version of Picasa 3.9 for windows and run it in wine. 
Sorry if I caused any confusion.

As for the bug workaround needing wininet/ie7, I believe bug 29434 describes 
the issue. Please find the updated "gitdiff" 
patch(winetrickspicasa39121314.gitdiff) with the change. 

Thanks!

Original comment by Shannon....@gmail.com on 14 Dec 2014 at 4:57

GoogleCodeExporter commented 8 years ago
That workaround doesn't work for me, does it work for you?

I also noticed that crash during install, but didn't see a bug for it. I filed 
https://bugs.winehq.org/show_bug.cgi?id=37729. The patch should use a 
workaround and disable the crash dialog.

Lastly, when working around bugs, the comment should be after the bug number 
and it will be displayed to the user, i.e.,:
if w_workaround_wine_bug 29434 "Picasa can't login to Google account without 
ie7 and wininet"

Original comment by austinenglish@gmail.com on 15 Dec 2014 at 9:05

GoogleCodeExporter commented 8 years ago
hmm... I had it working on my Sis's computer, I promise. I was able to get her 
logged in and share things on G+ even.. But now I do see that it doesn't seem 
to work at all with 2ndFactorAuth on my separate testing computer. I'm able to 
get all the way to the 2ndFAuth code entry page, but it won't go past. I also 
see the launchpad bug that's in for it.. 
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/971221 .. 

I wonder if the problem is related to either of these:
https://bugs.winehq.org/show_bug.cgi?id=30870
https://bugs.winehq.org/show_bug.cgi?id=26203

I'll get back on the original computer I tried it with and try to figure out 
what I did different. One thing I remember doing was opening IE7 outside of 
Picasa and attempting to login.

Original comment by Shannon....@gmail.com on 20 Dec 2014 at 7:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi Mr. English, per your guidance, I've made some additional changes to the 
attached patch, please have a look.

Also, I notice loading dotnet20 prevents the Picasa updater crash during 
install. I put it in a workaround with mention of the bug(37729) you created. 
Let me know if it's not the same issue. 

Also, I've tried several things but have not been successful at authenticating 
Picasa to my Google account :-(. I see this is a known issue per the Google 
Picasa forums at 
https://productforums.google.com/forum/#!topic/picasa/avcsAC920Hw , and I made 
a comment there. In the meantime, Picasa 3.9 will have to work without 
authentication to the Google account.

To install the program, use the attached modified version of winetricks (quiet 
mode shown):
$ WINEARCH=win32 WINEPREFIX="$HOME/.local/share/wineprefixes/picasa39" 
./winetrickspicasa -q picasa39

To run the program:
$ cd "$HOME/.local/share/wineprefixes/picasa39/drive_c/Program 
Files/Google/Picasa3"
$ WINEPREFIX="$HOME/.local/share/wineprefixes/picasa39" wine ./Picasa3.exe

Cheers!

Original comment by Shannon....@gmail.com on 6 Jan 2015 at 12:30

Attachments:

GoogleCodeExporter commented 8 years ago
If the authenticator doesn't work, there's not much point to installing native 
ie7/wininet. Do they solve other issues?

Original comment by austinenglish@gmail.com on 14 Jan 2015 at 10:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi Mr. English, I don't see any other functionality that's added with 
ie+wininet. I've removed the extraneous verbs and replaced with:
        w_warn "Picasa 3.9 authentication to the Google account is currently broken under wine. See http://bugs.winehq.org/show_bug.cgi?id=29434 for more details.

I'm hoping that was a good way to notify the user of where to look for more 
details. I suppose if it ever gets fixed, we can edit the verb to load wininet 
and ie so the authentication page will be accessible.

Thanks for your consideration!

Original comment by Shannon....@gmail.com on 16 Jan 2015 at 5:46

Attachments:

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/winetricks/source/detail?r=dc75ddbaf28f2049f49e3e634f7
026829d1baf0d

Original comment by austinenglish@gmail.com on 17 Jan 2015 at 7:39