BSD Ports

x11-toolkits/libunique3 3.0.2_1 MidnightBSD

Library for single instance applications

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl2.1
Categories
x11-toolkits

Description

Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance.

Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side.

Unique aims to replace the BaconMessageConnection code that has been copied by many projects and the code using Bonobo and D-Bus.

In the other systems

SystemPortVersion
MidnightBSDx11-toolkits/libunique33.0.2_1
FreeBSDx11-toolkits/libunique33.0.2_5
NetBSDx11/libunique1.1.6nb47
DragonFlyx11-toolkits/libunique33.0.2_5
HardenedBSDx11-toolkits/libunique33.0.2_5
GhostBSDx11-toolkits/libunique33.0.2_5

Install

Binary package:

mport install libunique

From mports:

cd /usr/mports/x11-toolkits/libunique3 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libunique>0:x11-toolkits/libunique3
LIB_DEPENDS=	libunique-3.0.so:x11-toolkits/libunique3

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
gettext gmake gnome libtool pathfix pkgconfig tar:xz xorg
Service scripts
none

Files

pkg-plist 12
  • include/unique-3.0/unique/unique.h
  • include/unique-3.0/unique/uniqueapp.h
  • include/unique-3.0/unique/uniquebackend.h
  • include/unique-3.0/unique/uniqueenumtypes.h
  • include/unique-3.0/unique/uniquemessage.h
  • include/unique-3.0/unique/uniqueversion.h
  • lib/girepository-1.0/Unique-3.0.typelib
  • lib/libunique-3.0.so
  • lib/libunique-3.0.so.0
  • lib/libunique-3.0.so.0.0.2
  • libdata/pkgconfig/unique-3.0.pc
  • share/gir-1.0/Unique-3.0.gir
distinfo 1
FileSizeSHA256
libunique-3.0.2.tar.xz294712a8f02ce073e2b920cca8ac45d418e7cb64438ad0814780c5912c6d63f8a4e038
Master sites 1
  • GNOME