libunique-1.1.6

Introduction to libunique

The libunique package contains a library for writing single instance applications.

This package is known to build and work properly using an LFS-7.0 platform.

Package Information

libunique Dependencies

Required

gtk+-2.24.8

Optional

D-Bus GLib Bindings-0.98

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libunique

Installation of libunique

Install libunique by running the following commands:

sed -i '/DG_DISABLE_DEPRECATED/d' unique/Makefile.in &&
./configure --prefix=/usr --disable-static &&
sed -i 's#  -Werror ##' unique/dbus/Makefile &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i '/DG_DISABLE_DEPRECATED/d' ...: Libunique uses functions that are deprecated in the current version of Glib. This sed allows it to compile using those deprecated functions.

sed -i 's# -Werror ##' ...: This sed disables treating warnings as errors in the Makefile that deals with dbus.

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

Contents

Installed Programs: None
Installed Library: libunique-1.0.so
Installed Directories: /usr/{include/unique-1.0/unique,share/gtk-doc/html/unique}

Short Descriptions

libunique-1.0.so

contains the libunique API functions for single instance support.

Last updated on 2012-01-16 13:56:35 +0000