Bounding Unicorns

How To Rebuild Scite For GTK2 On Debian

While rebuilding scite to apply my shorter tabs patch I saw that it was trivial to also make scite use gtk2 rather than gtk3.

All you have to do is:

  1. Obtain scite source via apt-get source scite.
  2. Get the patch: wget
  3. Change into the scite directory: cd scite-*
  4. Apply the patch: patch -p0 <../scite-debian-gtk2-patch.diff
  5. Rebuild the package: dpkg-buildpackage The build step will fail at signing, but it would have produced the .deb files by then which is all we need.
  6. As root, install the new package: dpkg -i .../scite_*.deb