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.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/libunique/1.1/libunique-1.1.6.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/libunique/1.1/libunique-1.1.6.tar.bz2
Download MD5 sum: 7955769ef31f1bc4f83446dbb3625e6d
Download size: 328 KB
Estimated disk space required: 4.7 MB
Estimated build time: 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
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.
Last updated on 2012-01-16 13:56:35 +0000