Thu Dec 18 00:32:14 2008 UTC ()
Import libunique-1.0.4 as x11/libunique.
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.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(ahoka)
diff -r0 -r1.1.1.1 pkgsrc/x11/libunique/Makefile
diff -r0 -r1.1.1.1 pkgsrc/x11/libunique/PLIST
diff -r0 -r1.1.1.1 pkgsrc/x11/libunique/distinfo
diff -r0 -r1.1.1.1 pkgsrc/x11/libunique/DESCR
diff -r0 -r1.1.1.1 pkgsrc/x11/libunique/options.mk
diff -r0 -r1.1.1.1 pkgsrc/x11/libunique/buildlink3.mk
# $NetBSD: Makefile,v 1.1.1.1 2008/12/18 00:32:14 ahoka Exp $
#
DISTNAME= unique-1.0.4
PKGNAME= lib${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://www.gnome.org/~ebassi/source/
MAINTAINER= ahoka@NetBSD.org
HOMEPAGE= http://live.gnome.org/LibUnique
COMMENT= Library for writing single instance applications
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= unique.pc.in
.include "options.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/18 00:32:14 ahoka Exp $
include/unique-1.0/unique/unique.h
include/unique-1.0/unique/uniqueapp.h
include/unique-1.0/unique/uniquebackend.h
include/unique-1.0/unique/uniquemessage.h
include/unique-1.0/unique/uniqueversion.h
lib/libunique-1.0.la
lib/pkgconfig/unique-1.0.pc
share/gtk-doc/html/unique/UniqueApp.html
share/gtk-doc/html/unique/UniqueBackend.html
share/gtk-doc/html/unique/home.png
share/gtk-doc/html/unique/index.html
share/gtk-doc/html/unique/index.sgml
share/gtk-doc/html/unique/ix01.html
share/gtk-doc/html/unique/left.png
share/gtk-doc/html/unique/license.html
share/gtk-doc/html/unique/right.png
share/gtk-doc/html/unique/style.css
share/gtk-doc/html/unique/unique-Message-Data.html
share/gtk-doc/html/unique/unique-Versioning-Information.html
share/gtk-doc/html/unique/unique-overview.html
share/gtk-doc/html/unique/unique.devhelp
share/gtk-doc/html/unique/unique.devhelp2
share/gtk-doc/html/unique/up.png
@dirrm share/gtk-doc/html/unique
@dirrm include/unique-1.0/unique
@dirrm include/unique-1.0
$NetBSD: distinfo,v 1.1.1.1 2008/12/18 00:32:14 ahoka Exp $
SHA1 (unique-1.0.4.tar.gz) = 79a9534507f8f3307561175e021c25214a3191a8
RMD160 (unique-1.0.4.tar.gz) = ffe4a6b91bd1778662d7116c051f158be2b73f33
Size (unique-1.0.4.tar.gz) = 448957 bytes
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.
# $NetBSD: options.mk,v 1.1.1.1 2008/12/18 00:32:14 ahoka Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libunique
PKG_SUPPORTED_OPTIONS= dbus
PKG_SUGGESTED_OPTIONS= dbus
.include "../../mk/bsd.options.mk"
#
# D-BUS support
#
.if !empty(PKG_OPTIONS:Mdbus)
CONFIGURE_ARGS+= --enable-dbus
. include "../../sysutils/dbus-glib/buildlink3.mk"
.endif
# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/12/18 00:32:14 ahoka Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBUNIQUE_BUILDLINK3_MK:= ${LIBUNIQUE_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libunique
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibunique}
BUILDLINK_PACKAGES+= libunique
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libunique
.if ${LIBUNIQUE_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libunique+= libunique>=1.0.4
BUILDLINK_PKGSRCDIR.libunique?= ../../x11/libunique
.endif # LIBUNIQUE_BUILDLINK3_MK
pkgbase := libunique
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.libunique:Mdbus)
.include "../../sysutils/dbus-glib/buildlink3.mk"
.endif
.include "../../x11/gtk2/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}