Software/Krep

From ThorstensHome
Jump to: navigation, search
With krep you can add and remove filtering conditions (click to enlarge).

krep is a file viewer that lets you filter a file's content. You can add and remove filtering conditions without getting out of the work flow. If you do not give a file, standard input is shown. If the given file changes, krep reloads it.

Contents

Download

krep is now in KDE's svn repository. However, here is krep to download:

download the source code here

download the source RPM here

Installation

To install krep proceed like this. In this example we use the SUSE Linux 11.2 distribution, but it should work same or similar with any Linux:

svn co svn://anonsvn.kde.org/home/kde/trunk/playground/utils/krep/
yast -i libkde4-devel
cd krep
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_SUFFIX=64 -DCMAKE_BUILD_TYPE=debugfull && make -j2 && make install

Developing krep

Here is an example how to start developing krep. I assume you want to do it as root using qtcreator on SUSE Linux 11.4.

  • install KDE 4's development libraries
yast -i libkde4-devel
  • if you are KDE author
start qtcreator and select File -> New File or Project -> Project from Version Control -> Subversion Checkout -> Choose -> Repository: svn+ssh://kde-user@svn.kde.org/home/kde/trunk/playground/utils/krep -> Next -> Finish -> Build directory: /root/krep -> Next -> CMake Arguments: . -> Run CMake -> Finish
  • if you are no KDE author
start qtcreator and select File -> New File or Project -> Project from Version Control -> Subversion Checkout -> Choose -> Repository: svn://anonsvn.kde.org/home/kde/trunk/playground/utils/krep -> Next -> Finish -> Build directory: /root/krep -> Next -> CMake Arguments: . -> Run CMake -> Finish

See also