Introduction to gtksourceview

The gtksourceview package contains libgtksourceview libraries. This is useful for extending the GTK text functions to include syntax highlighting.

Package Information

gtksourceview Dependencies


GTK+-2.10.13 and XML::Parser-2.34


Optional (Required to Build the Test Programs)

GNOME Virtual File System-2.18.1 and libgnomeprintui-2.18.0


GTK-Doc-1.8 and intltool-0.35.5

User Notes:

Installation of gtksourceview

Install gtksourceview by running the following commands:

./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) &&

This package does not come with a test suite. If you have the optional dependencies to build the test programs installed, after the package is installed you can change to the tests directory in the source tree and issue ./test-widget. This will test the functionality of the libgtksourceview-1.0 library.

Now, as the root user:

make install

Command Explanations

--prefix=$(pkg-config --variable=prefix ORBit-2.0): Setting the prefix using this parameter instead of with $GNOME_PREFIX will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.


Installed Programs: None
Installed Library: libgtksourceview-1.0.{so,a}
Installed Directories: The following subdirectories of $GNOME_PREFIX/: include/gtksourceview-1.0, share/{gtk-doc/html/gtksourceview, gtksourceview-1.0}

Short Descriptions


contains function extensions for the GtkTextView widget.

Last updated on 2007-07-25 09:54:33 -0500