Ubuntu One packages for Fedora 15

I spent the rest of today packaging Ubuntu One for ease of installation, and only just finished. There was a tricky bug in my ubuntuone-sso-client SPEC file that I was finally able to track down and squash with the help of the #fedora-devel crew.

The packages built and installed on my system, but I have not tested them in a clean environment yet. They may include unnecessary dependencies, or fail to include necessary dependencies. I'll work on that tomorrow.

Packages        Source

Ubuntu One Nautilus Script

After I got the basic underlying components of Ubuntu One installed yesterday, I realized that I was missing GNOME integration. I spent some time trying to compile the ubuntuone-client-gnome package, but eventually decided to write a Nautilus script of my own to provide the functionality I need (namely, making Ubuntu One sync selected files and folders). I uploaded the script to a github repository here.

Ubuntu One in Fedora 15

Spent the day installing Ubuntu One in Fedora 15 with the help of the good folks on the #ubuntuone channel. Here are the steps I used to make it work:

sudo yum install imake python-twisted python-inotify python-oauth protobuf-python gnome-settings-daemon-devel nautilus-devel python-distutils-extra protobuf protobuf-compiler PyQt4 PyQt4-devel

# Download the latest release tarball of ubuntuone-client, ubuntuone-sso-client, ubuntuone-storage-protocol, ubuntuone-client-gnome, configglue, lazr.restful, lazr.restfulclient, and lazr.uri from their respective launchpad pages. Extract all tarballs to /opt.

cd /opt
mkdir u1
mv ubuntuone-storage-protocol-1.7.0 u1/protocol
mv ubuntuone-client-1.7.1 u1/client
mv ubuntu-sso-client-1.3.2 u1/sso
mv configglue-1.0 u1/configglue
mv lazr.restful-0.19 u1/lazr.restful
mv lazr.restfulclient-0.12.0 u1/lazr.restfulclient
mv lazr.uri-1.0.2 u1/lazr.uri

cd u1 && cd lazr.restful
python setup.py build
sudo python setup.py install --prefix=/usr
cd .. && cd lazr.restfulclient
python setup.py build
sudo python setup.py install --prefix=/usr
cd .. && cd lazr.uri
python setup.py build
sudo python setup.py install --prefix=/usr
cd .. && cd configglue
python setup.py build
sudo python setup.py install --prefix=/usr
cd .. && cd sso
python setup.py build
sudo python setup.py install --prefix=/usr
cd .. && cd protocol
python setup.py build
sudo python setup.py install --prefix=/usr
cd .. && cd client
./configure --with-protocol=../protocol --with-sso=../sso --prefix=/usr --sysconfdir=/etc
make
sudo make install

cd ..
sudo mkdir /etc/xdg/ubuntuone
sudo cp client/data/syncdaemon.conf /etc/xdg/ubuntuone

# /usr/lib/ubuntu-sso-client/ubuntu-sso-login &
# /usr/libexec/ubuntuone-syncdaemon --debug
# u1sdtool -c

Hello World!

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.