Tortoise SVN

Questions about Wine on Linux
Locked
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Tortoise SVN

Post by code_fodder »

I want to install Tortoise SVN under WINE. Usually I copy installed folders of simple programs from my windows box to a folder under .wine and this works ok mostly.

But for Tortoise SVN I think I need to do a bit more. So I read the page: https://appdb.winehq.org/objectManager. ... &iId=30875, but I still don't understand what I need to do to install it.

I found this list of instructions from a search of someone who could not get it working (so I am not sure its a good list to follow):

Code: Select all

$ wget http://sourceforge.net/projects/tortoisesvn/files/1.7.0/Application/TortoiseSVN-1.7.0.22068-win32-svn-1.7.0.msi

Code: Select all

$ msiexec /i TortoiseSVN-1.7.0.22068-win32-svn-1.7.0.msi
Got this from: https://www.winehq.org/pipermail/wine-u ... 06994.html, but I don't see any replies to his issue so I am not sure I want to do this.

I need some pointers how to get started, or where I can find instructions how to install this.
Thanks
Code Fodder
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tortoise SVN

Post by dimesio »

Copying a Windows install may work for some apps, but it's not supported. You need to install the app in Wine the same way you would on Windows. According to the AppDB, the installer just needs a 32 bit wineprefix, and you need to add a line to your .bashrc. https://appdb.winehq.org/objectManager. ... &iId=30875
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Re: Tortoise SVN

Post by code_fodder »

Thanks for that :)
But I was trying to ask what line of code do I need to use for the install?, I never did this before - I put some example lines of code, is it like this?

Thanks very much!
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tortoise SVN

Post by dimesio »

You already have the correct command for installing an .msi file. You just need to do it in a 32 bit wineprefix.
http://wiki.winehq.org/FAQ#head-a78d6af ... 1851da32e2
http://wiki.winehq.org/FAQ#32_bit_wineprefix
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Re: Tortoise SVN

Post by code_fodder »

Hi There, thanks for your continued support. So I have been trying like mad to figure out what this wine prefix thing is all about and how to use it. I could not find that much actually, but I finally figured it is some sort of separate installation of wine with a different configuration - so we can have many wine configs as we need them - please correct if I am wrong.

So I have tried to install my own one, here is the output:

Code: Select all

<user>@<host>:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
wine: created the configuration directory '/home/<user>/.wine32'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x10ee890, overlapped 0x10ee89c): stub
wine: configuration in '/home/<user>/.wine32' has been updated.
So you can see that there are a few errors... I have not yet investigated if they are bad or not, but I assume they are not a great thing to have!

Anyway, it seemed to work to some degree and my winecfg window appears and shows that it is running as windows XP.

Next I tried to install tortoise SVN with the following:

Code: Select all

wget http://sourceforge.net/projects/tortoisesvn/files/1.8.11/Application/TortoiseSVN-1.8.11.26392-win32-svn-1.8.13.msi
...
msiexec /i TortoiseSVN-1.8.11.26392-win32-svn-1.8.13.msi
<user>@<host>:~/.wine32$ msiexec /i TortoiseSVN-1.8.11.26392-win32-svn-1.8.13.msi 
fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:ITERATE_Actions Execution halted, action L"LaunchConditions" returned 1603
<user>@<host>:~/.wine32$

I also get the popup error:
TortoiseSVN 1.8.11.26392 (32 bit) requires Windows XP SP3 or later.
I assume there is somthing wrong with my 32-bit prefix?, but I don't really understand what, I have followed the instructions as best as I can see how :(
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tortoise SVN

Post by dimesio »

code_fodder wrote: So you can see that there are a few errors... I have not yet investigated if they are bad or not, but I assume they are not a great thing to have!
It's normal console output for wineprefix creation.

Code: Select all

msiexec /i TortoiseSVN-1.8.11.26392-win32-svn-1.8.13.msi
You forgot to specify the wineprefix in the command line.
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Re: Tortoise SVN

Post by code_fodder »

Hi, thanks for that.

But I thought once you set the WINEPREFIX then you are using it from then on - some parts of the FAQ say that you need to unset the WINEPREFIX to (or set it to ~/.wine) go back to original wine?

I had already set the following:

Code: Select all

<user>@<host>:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
So, okay, I don't see any examples how to specify which wine prefix to use for my command line, do I just do something like:

Code: Select all

WINEPREFIX=~/.wine32 msiexec /i TortoiseSVN-1.8.11.26392-win32-svn-1.8.13.msi
Is that syntactically correct?

Thanks very much, I think I am nearly there :o
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tortoise SVN

Post by dimesio »

code_fodder wrote:

Code: Select all

<user>@<host>:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
When you specify the WINEPREFIX in the command line as you did, it only holds for that command, and you have to specify it again for any subsequent commands. You can set it for the terminal session by using export on a line by itself, e.g.

Code: Select all

export WINEPREFIX=/path/to/wineprefix
Any commands entered after that will be for that wineprefix, until you unset it or close the terminal.

Code: Select all

WINEPREFIX=~/.wine32 msiexec /i TortoiseSVN-1.8.11.26392-win32-svn-1.8.13.msi
Is that syntactically correct?
Yes.
code_fodder
Level 2
Level 2
Posts: 14
Joined: Wed May 29, 2013 2:58 am

Re: Tortoise SVN

Post by code_fodder »

Hi There,

That worked perfectly :)

Thanks very much for your help, I understand these wine prefixes now.

One further comment regarding TortoiseSVN under wine, it seems only usable as a command line interface. Well, you can call the GUI elements, like the repo browser, but there does not seem to be any integration with thunar or nautilus (or other file manager?) and also you can only use it (it seems) for windows paths. Is this just how it is, or is there some way to integrate it?

Thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tortoise SVN

Post by dimesio »

According to the most recent AppDB test report, unix-style paths should work from the command line, but you need to add a line to your .bashrc. https://appdb.winehq.org/objectManager. ... &iId=30875
Locked