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:
- Obtain scite source via
apt-get source scite
. - Get the patch:
wget http://bsdpower.com/rebuild-scite-for-gtk2-on-debian-jessie/scite-debian-gtk2-patch.diff
- Change into the scite directory:
cd scite-*
- Apply the patch:
patch -p0 <../scite-debian-gtk2-patch.diff
- 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. - As root, install the new package:
dpkg -i .../scite_*.deb