Go to file
2020-11-03 23:18:38 +01:00
data Build with Gtk+ 3 by default 2019-10-06 03:37:38 +02:00
doc Use config.ent for the Gtk-Doc documentation 2020-11-03 23:18:06 +01:00
include Update the copyright notice 2018-04-21 22:29:20 +02:00
src Update the copyright notice 2020-09-28 08:04:43 +02:00
tests Import newer scripts upstream 2020-11-03 22:32:12 +01:00
tools Update the copyright notice 2020-02-03 07:36:57 +01:00
.gitignore Also ignore more backup files 2020-02-03 07:48:40 +01:00
COPYING Re-license as 2-clause BSD 2015-05-25 13:33:03 +02:00
project.conf Also ship config.ent 2020-11-03 23:18:38 +01:00
README.md Default to Gtk+ 3 from now on 2019-10-06 03:38:11 +02:00

DeforaOS libDesktop

About libDesktop

libDesktop is a collection of compatibility and portability routines to help with the development of desktop applications using the Gtk+ toolkit.

Compiling libDesktop

With GCC, this should be enough:

$ make

To install libDesktop in a dedicated directory, like /path/to/libDesktop:

$ make PREFIX="/path/to/libDesktop" install

Using Gtk+ version 2

libDesktop defaults to the version 3 of the Gtk+ toolkit. Alternatively, it is possible to re-generate the Makefiles for the Gtk+ 2 toolkit with configure(1) from the DeforaOS configure project, found at https://www.defora.org/os/project/16/configure. The procedure is then as follows:

$ $EDITOR data/libDesktop.pc.in
[replace "gtk+-3.0" with "gtk+-2.0"]
$ $EDITOR src/project.conf tests/project.conf tools/project.conf
[comment lines in and out as described]
$ make distclean
$ configure
$ make

Please refer to the documentation of DeforaOS configure for further instructions.