flar
June 11th, 2007, 01:34 PM
From the iFolder website: "iFolder is a simple and secure storage solution that can increase your productivity by enabling you to back up, access and manage your personal files-from anywhere, at any time."
Basically it synchronizes files between computers, anywhere (ie: over the internet). Clients are available for Linux, Mac, and Windows. To use iFolder, you will need to have an iFolder server.
Go to the iFolder main page for info on building the server:
http://www.ifolder.com/index.php/Main_Page
The iFolder Enterprise Server is now open source so you can build that if you want. I use the older SimpleServer because it is lighter and simpler. This howto describes how to build an iFolder client on Linux that will work with both the Enterprise and Simple iFolder servers.
The client-server setup of iFolder has a big advantage (at least for me): I can sync files between my home computer and my office computer despite the highly restrictive firewall at my office.
I've been using iFolder for a couple years (most recently with Dapper), but recently upgraded to Feisty. I built and tested several versions of the iFolder client on Feisty without success (usually the client ran but did not work properly, sometimes would not compile). Finally, after much effort, I found a version of the iFolder client that compiles and works on Feisty:
1. Install dependencies
Dependencies (that I know of, there might be more): libmono-dev mono-xsp mono-gmcs libflaim-dev libflaim4.1 liblog4net1.2-cil build-essential
sudo apt-get install libmono-dev mono-xsp mono-gmcs libflaim-dev libflaim4.1 liblog4net1.2-cil build-essential
2. Download the source code using subversion:
Make a directory for your iFolder source code (can be wherever you want)
mkdir ifolder
cd ifolder
Download the source code:
iFolder:
svn co https://forgesvn1.novell.com/svn/ifolder/branches/ifolder_3_4_sled10sp1/ifolder
Simias:
svn co https://forgesvn1.novell.com/svn/simias/branches/ifolder_3_4_sled10sp1/simias
Nautilus-iFolder (optional):
svn co https://forgesvn1.novell.com/svn/ifolder/branches/ifolder_3_4_sled10sp1/nautilus-ifolder/
3. Build Simias
Simias must be built first because it is a dependency for iFolder. It is recommended that you install it in /opt/ifolder so as not to contaminate your /usr directory. Simias and iFolder, like many Novell apps, spread files all over so it's best to keep them all in /opt/iFolder. This will make it easier to uninstall
cd simias
./configure --prefix=/opt/ifolder
make
sudo make install
4. Patch and build iFolder
To get ifolder to build, you'll have to change two instances of TrayIcon to Egg.TrayIcon in the file src/LinuxClient/application/iFolderApplication.cs. This can be done with a patch.
first, change to the directory where you put the iFolder source code. If you're still in the simias directory, then
cd ../ifolder
This following is the code for the patch file, paste it into a text editor and save the file in your ifolder directory, e.g.: save it as trayicon.patch.
--- src/LinuxClient/application/iFolderApplication.cs 2007-06-15 09:13:11.000000000 -0400
+++ src/LinuxClient/application/iFolderApplication.cs.new 2007-06-11 12:42:17.000000000 -0400
@@ -65,7 +65,7 @@
private Gdk.Pixbuf DownloadingPixbuf;
private Gdk.Pixbuf UploadingPixbuf;
private Gtk.EventBox eBox;
- private TrayIcon tIcon;
+ private Egg.TrayIcon tIcon;
private iFolderWebService ifws;
private SimiasWebService simws;
private iFolderData ifdata;
@@ -141,7 +141,7 @@
Util.SetQuitiFolderDelegate(new QuitiFolderDelegate(QuitiFolder));
- tIcon = new TrayIcon("iFolder");
+ tIcon = new Egg.TrayIcon("iFolder");
currentIconAnimationDirection = 0;
Now apply the patch:
patch -p0 < trayicon.patch
Now we're ready to build iFolder:
./configure --prefix=/opt/ifolder
make
sudo make install
Note that it is essential that iFolder be installed in the same place as simias so it can find the simias files. In our case both will be install in /opt/ifolder
5. Build nautilus-ifolder (OPTIONAL)
iFolder also comes with an optional extension for Nautilus. You don't need this, but it will allow you to manage iFolders from the right click context menu in Nautilus.
cd ../nautilus-ifolder
./configure --prefix=/opt/ifolder
make
sudo make install
Now everything should be installed and ready to connect to an iFolder server.
Other things you should know:
iFolder's user settings are stored in
~/.local/share/simias
If you screw up the client's configuration, simply delete this directory to start fresh.
To execute iFolder, you have to type in the full path ( unless you added the path "/opt/ifolder/bin to your profile). Assuming that you compiled using --prefix=/opt/ifolder, then the command to execute iFolder is:
/opt/ifolder/bin/ifolder
You could also make a menu entry with the menu editor.
The iFolder icon is located at:
/opt/ifolder/share/ifolder3/images/ifolder128.png
Basically it synchronizes files between computers, anywhere (ie: over the internet). Clients are available for Linux, Mac, and Windows. To use iFolder, you will need to have an iFolder server.
Go to the iFolder main page for info on building the server:
http://www.ifolder.com/index.php/Main_Page
The iFolder Enterprise Server is now open source so you can build that if you want. I use the older SimpleServer because it is lighter and simpler. This howto describes how to build an iFolder client on Linux that will work with both the Enterprise and Simple iFolder servers.
The client-server setup of iFolder has a big advantage (at least for me): I can sync files between my home computer and my office computer despite the highly restrictive firewall at my office.
I've been using iFolder for a couple years (most recently with Dapper), but recently upgraded to Feisty. I built and tested several versions of the iFolder client on Feisty without success (usually the client ran but did not work properly, sometimes would not compile). Finally, after much effort, I found a version of the iFolder client that compiles and works on Feisty:
1. Install dependencies
Dependencies (that I know of, there might be more): libmono-dev mono-xsp mono-gmcs libflaim-dev libflaim4.1 liblog4net1.2-cil build-essential
sudo apt-get install libmono-dev mono-xsp mono-gmcs libflaim-dev libflaim4.1 liblog4net1.2-cil build-essential
2. Download the source code using subversion:
Make a directory for your iFolder source code (can be wherever you want)
mkdir ifolder
cd ifolder
Download the source code:
iFolder:
svn co https://forgesvn1.novell.com/svn/ifolder/branches/ifolder_3_4_sled10sp1/ifolder
Simias:
svn co https://forgesvn1.novell.com/svn/simias/branches/ifolder_3_4_sled10sp1/simias
Nautilus-iFolder (optional):
svn co https://forgesvn1.novell.com/svn/ifolder/branches/ifolder_3_4_sled10sp1/nautilus-ifolder/
3. Build Simias
Simias must be built first because it is a dependency for iFolder. It is recommended that you install it in /opt/ifolder so as not to contaminate your /usr directory. Simias and iFolder, like many Novell apps, spread files all over so it's best to keep them all in /opt/iFolder. This will make it easier to uninstall
cd simias
./configure --prefix=/opt/ifolder
make
sudo make install
4. Patch and build iFolder
To get ifolder to build, you'll have to change two instances of TrayIcon to Egg.TrayIcon in the file src/LinuxClient/application/iFolderApplication.cs. This can be done with a patch.
first, change to the directory where you put the iFolder source code. If you're still in the simias directory, then
cd ../ifolder
This following is the code for the patch file, paste it into a text editor and save the file in your ifolder directory, e.g.: save it as trayicon.patch.
--- src/LinuxClient/application/iFolderApplication.cs 2007-06-15 09:13:11.000000000 -0400
+++ src/LinuxClient/application/iFolderApplication.cs.new 2007-06-11 12:42:17.000000000 -0400
@@ -65,7 +65,7 @@
private Gdk.Pixbuf DownloadingPixbuf;
private Gdk.Pixbuf UploadingPixbuf;
private Gtk.EventBox eBox;
- private TrayIcon tIcon;
+ private Egg.TrayIcon tIcon;
private iFolderWebService ifws;
private SimiasWebService simws;
private iFolderData ifdata;
@@ -141,7 +141,7 @@
Util.SetQuitiFolderDelegate(new QuitiFolderDelegate(QuitiFolder));
- tIcon = new TrayIcon("iFolder");
+ tIcon = new Egg.TrayIcon("iFolder");
currentIconAnimationDirection = 0;
Now apply the patch:
patch -p0 < trayicon.patch
Now we're ready to build iFolder:
./configure --prefix=/opt/ifolder
make
sudo make install
Note that it is essential that iFolder be installed in the same place as simias so it can find the simias files. In our case both will be install in /opt/ifolder
5. Build nautilus-ifolder (OPTIONAL)
iFolder also comes with an optional extension for Nautilus. You don't need this, but it will allow you to manage iFolders from the right click context menu in Nautilus.
cd ../nautilus-ifolder
./configure --prefix=/opt/ifolder
make
sudo make install
Now everything should be installed and ready to connect to an iFolder server.
Other things you should know:
iFolder's user settings are stored in
~/.local/share/simias
If you screw up the client's configuration, simply delete this directory to start fresh.
To execute iFolder, you have to type in the full path ( unless you added the path "/opt/ifolder/bin to your profile). Assuming that you compiled using --prefix=/opt/ifolder, then the command to execute iFolder is:
/opt/ifolder/bin/ifolder
You could also make a menu entry with the menu editor.
The iFolder icon is located at:
/opt/ifolder/share/ifolder3/images/ifolder128.png