Go to file
2020-02-03 07:27:33 +01:00
data Build with Gtk+ 3 by default 2019-10-06 03:37:38 +02:00
doc Update the helper scripts from upstream 2019-10-06 03:37:38 +02:00
include Update the copyright notice 2018-04-21 22:29:20 +02:00
src Build with Gtk+ 3 by default 2019-10-06 03:37:38 +02:00
tests Build with Gtk+ 3 by default 2019-10-06 03:37:38 +02:00
tools Build with Gtk+ 3 by default 2019-10-06 03:37:38 +02:00
.gitignore Add a couple .gitignore files 2015-04-05 19:44:53 +02:00
COPYING Re-license as 2-clause BSD 2015-05-25 13:33:03 +02:00
project.conf List the vendor above the package name 2020-02-03 07:27:33 +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.