(courtesy wikipedia, "GNU build system")
Debian protip: when the build fails with an error message "dependency foo is missing," the package you need to install is named libfoo-dev
Ubuntu package names are slightly different. If some dependency is missing, search the oneiric repositories by visiting http://packages.ubuntu.com/missing-package-name
UPDATE: 2012.05.16 -- if you previously compiled Cinnamon (<= 1.4) using these instructions, there will be cruft in /usr/local that interferes with the normal installation in /usr. Cinnamon will fail to start correctly if some of these files remain.
If you haven't taken the update to libclutter 1.10, you should complete this step and be sure cinnamon 1.4.0-lmde1 runs normally before upgrading.
Get rid of (sudo rm -r) all the matching files:
Code: Select all
find /usr/local -name cinnamon*
----
- Enable deb-src repositories
- apt update
- apt install cdbs debhelper autotools-dev gnome-pkg-tools intltool libgjs-dev gvfs-backends gobject-introspection gir1.2-json-1.0 gnome-bluetooth gsettings-desktop-schemas-dev libcaribou-dev libcroco3-dev libdbus-glib-1-dev libgconf2-dev libgirepository1.0-dev libglib2.0-dev libglib2.0-bin libgnome-bluetooth-dev libgnome-desktop-3-dev libgnome-keyring-dev libgnome-menu-3-dev libgstreamer0.10-dev libgtk-3-dev libgudev-1.0-dev libnm-glib-dev libstartup-notification0-dev libmutter-dev librsvg2-dev libwnck-dev libclutter-1.0-dev libxfixes-dev libxss-dev libpulse-dev libcanberra-dev libecal1.2-dev libedataserver1.2-dev libedataserverui-3.0-dev libfolks-dev libtelepathy-glib-dev libtelepathy-logger-dev libpolkit-agent-1-dev libjson-glib-dev dh-autoreconf libcanberra-gtk3-dev libxt-dev libcanberra-gtk3-module gnome-common gnome-doc-utils
- mkdir logs
- if compiling muffin, git clone git://github.com/linuxmint/muffin (latest requires muffin 1.0.3)
- cd muffin
- sudo dpkg-buildpackage > ../logs/build-muffin.log 2>&1
- ctrl+shift+t to open a new terminal and tail -f ../logs/build-muffin.log to watch the fireworks
- if everything succeeds, ctrl+c to end the tail, cd .. and sudo dkpg -i *.deb to install the new muffin files
- if not compiling muffin, apt install libmuffin0 libmuffin-dev
- git clone git://github.com/linuxmint/Cinnamon
- cd Cinnamon
- ./autogen.sh --prefix=/usr > ../logs/autogen-cinnamon.log 2>&1 && \
sudo dpkg-buildpackage > ../logs/build-cinnamon.log 2>&1 - ctrl+shift+t to open a new terminal and tail -f ../logs/each-of-the-above-logfiles.log to watch the fireworks
- if everything succeeds, ctrl+c to end the tail, cd .. and sudo dkpg -i *.deb to install the new cinnamon file
- APT will think it's older than the version in the repositories, so upgrading will overwrite it
- if compiling muffin, git clone git://github.com/linuxmint/muffin (latest requires muffin 1.0.3)