pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/libunique Import libunique-1.0.4 as x11/libunique.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6fba81d42b6
branches:  trunk
changeset: 551574:c6fba81d42b6
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Thu Dec 18 00:32:14 2008 +0000

description:
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.

diffstat:

 x11/libunique/DESCR         |  10 ++++++++++
 x11/libunique/Makefile      |  24 ++++++++++++++++++++++++
 x11/libunique/PLIST         |  27 +++++++++++++++++++++++++++
 x11/libunique/buildlink3.mk |  28 ++++++++++++++++++++++++++++
 x11/libunique/distinfo      |   5 +++++
 x11/libunique/options.mk    |  16 ++++++++++++++++
 6 files changed, 110 insertions(+), 0 deletions(-)

diffs (134 lines):

diff -r ef8902480879 -r c6fba81d42b6 x11/libunique/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libunique/DESCR       Thu Dec 18 00:32:14 2008 +0000
@@ -0,0 +1,10 @@
+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.
diff -r ef8902480879 -r c6fba81d42b6 x11/libunique/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libunique/Makefile    Thu Dec 18 00:32:14 2008 +0000
@@ -0,0 +1,24 @@
+# $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@localhost
+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"
diff -r ef8902480879 -r c6fba81d42b6 x11/libunique/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libunique/PLIST       Thu Dec 18 00:32:14 2008 +0000
@@ -0,0 +1,27 @@
+@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
diff -r ef8902480879 -r c6fba81d42b6 x11/libunique/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libunique/buildlink3.mk       Thu Dec 18 00:32:14 2008 +0000
@@ -0,0 +1,28 @@
+# $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/+$//}
diff -r ef8902480879 -r c6fba81d42b6 x11/libunique/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libunique/distinfo    Thu Dec 18 00:32:14 2008 +0000
@@ -0,0 +1,5 @@
+$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
diff -r ef8902480879 -r c6fba81d42b6 x11/libunique/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libunique/options.mk  Thu Dec 18 00:32:14 2008 +0000
@@ -0,0 +1,16 @@
+# $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



Home | Main Index | Thread Index | Old Index