Okay, I've rebuilt the package and the extension actually gets built and works correctly. Here are the instructions (again) for you do-it-yourselfers.
I assume you already have build-essential and debuild installed, but if not you can grab those. There may be other build dependencies, that I'm unaware of.
- Code: Select all
sudo apt-get install build-essential fakeroot devscripts libtool
- Code: Select all
touch ~/migrate.sh
chmod 755 ~/migrate.sh
Copy and paste the migrate.sh text from from
http://wiki.mate-desktop.org/doku.php/migrating to this new file.
- Code: Select all
vi ~/migrate.sh
(or use another editor)
Line 17 - change to:
pkg_dir=.
Line 216 - change to (note the double slash after datacontent):
datacontent=${datacontent//${replaces[$index]}/${replaces[$index + 1]}}
- Code: Select all
mkdir ~/nautilus-dropbox
cd ~/nautilus-dropbox
wget https://launchpad.net/ubuntu/oneiric/+source/nautilus-dropbox/0.6.8-1/+files/nautilus-dropbox_0.6.8.orig.tar.bz2
wget https://launchpad.net/ubuntu/oneiric/+source/nautilus-dropbox/0.6.8-1/+files/nautilus-dropbox_0.6.8-1.debian.tar.bz2
sudo apt-get install libcaja-extension-dev python-docutils
tar jxvf nautilus-dropbox_0.6.8-1.debian.tar.bz2
tar jxvf nautilus-dropbox_0.6.8.orig.tar.bz2
mv *.bz2 ../
mv debian/ nautilus-dropbox-0.6.8/
~/migrate.sh
grep -rl 2\.16\.0 * | xargs sed -i 's/2\.16\.0/1.1.2/'
cd caja-dropbox-0.6.8
autoreconf && ./configure
dpkg-buildpackage -b
(you may receive an error about debsign: gpg error occurred! Aborting.... )
- Code: Select all
cd ..
sudo dpkg -i caja-dropbox_0.6.8-1_amd64.deb
(yours might be i386, not amd64)
- Code: Select all
killall caja
And you're done. Just go to Applications->Internet->Dropbox and have fun.
This places the extension in the /usr/lib/caja/extensions-2.0 directory, and enables the icons to show the status of the dropbox sync as well as the Dropbox right click menu.
If you tried my previous instructions and they didn't work correctly, you probably ought to start fresh with a clean working folder.