Skip to content

Instantly share code, notes, and snippets.

@oliwarner
Created June 19, 2014 10:12
Show Gist options
  • Save oliwarner/1334c3fb8f0aa7647771 to your computer and use it in GitHub Desktop.
Save oliwarner/1334c3fb8f0aa7647771 to your computer and use it in GitHub Desktop.
Build compiz
#!/bin/bash
# once you've run this once, you can comment these next 4 out.
sudo apt-get install build-essential
sudo apt-get build-dep compiz
wget -q https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/974242/+attachment/3141645/+files/fix-974242.patch
mkdir -p ~/src
cd ~/src
rm -rf compiz*
apt-get source compiz
cd compiz*
patch -p1 < fix-974242.patch
dpkg-source --commit
dch -i
debuild -S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment