Install textroom on Fedora 17 x86_64

I had some problems getting TextRoom up and running on Fedora 17, so I thought I might share my findings with you. TextRoom is a non-intrusive Word processor for authors (with built-in ogg player) that promises a distraction free writing experience. There are some screenshots on the bottom of that page. It is available for Windows, Mac, FreeBSD and GNU/Linux. This howto relates to Fedora 17 x86_64 GNU/Linux. Thanks to the Arch Linux guys for detailed troubleshooting (link).

Note: textroom-0.8.2 did NOT work on FC17 with these and other patches. I suspect it is a simple bug related to the 64-bit dir tree.

$ # install prerequisites (includes qt4)
$ su -c 'yum -y install wget SDL_mixer SDL_mixer-devel glibmm24 glibmm24-devel
libxml++ libxml++-devel hunspell hunspell-devel libcurl-devel qt qt-devel gcc-c++'
$ cd ~/Downloads
$ # download textroom from
$ wget -O textroom.tar.gz
$ tar xvf textroom.tar.gz
$ cd textroom-*
$ # build makefiles
$ qmake-qt4
$ # patch makefiles
$ sed 's+-lhunspell+-lhunspell-1.3+' -i application/
$ sed 's/linux-g++/unix/' -i application/
$ sed -i '19i#include <unistd.h>' library/sxfile/getusername.cpp
$ # run make and make install if no errors
$ make
$ su -c 'make install'
$ make clean
$ cd .. && rm -Rf textroom*

That’s it! Now you’ll find textroom in the menu and from cli. If I knew how to create an rpm I would do so. Thanks to Gordebak for writing textroom and sharing it under the GPLv3!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.