pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/libdevkit-gobject Initial import of libdevkit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cef6b588cfa4
branches: trunk
changeset: 565160:cef6b588cfa4
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Sep 16 19:03:10 2009 +0000
description:
Initial import of libdevkit-gobject-003, part of DeviceKit.
Based on work by jmcneill.
DeviceKit is an abstraction for enumerating devices and listening
to device events. Any application on the system can access the
org.freedesktop.DeviceKit service via the system message bus. On
GNU/Linux, DeviceKit can be considered a simple D-Bus frontend to
udev(7).
This package contains devkit and the devkit-gobject library.
diffstat:
sysutils/libdevkit-gobject/DESCR | 7 +++++
sysutils/libdevkit-gobject/Makefile | 36 +++++++++++++++++++++++++++++
sysutils/libdevkit-gobject/PLIST | 8 ++++++
sysutils/libdevkit-gobject/buildlink3.mk | 15 ++++++++++++
sysutils/libdevkit-gobject/distinfo | 7 +++++
sysutils/libdevkit-gobject/patches/patch-aa | 13 ++++++++++
sysutils/libdevkit-gobject/patches/patch-ab | 35 ++++++++++++++++++++++++++++
7 files changed, 121 insertions(+), 0 deletions(-)
diffs (149 lines):
diff -r f5607bb4ccb9 -r cef6b588cfa4 sysutils/libdevkit-gobject/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libdevkit-gobject/DESCR Wed Sep 16 19:03:10 2009 +0000
@@ -0,0 +1,7 @@
+DeviceKit is an abstraction for enumerating devices and listening
+to device events. Any application on the system can access the
+org.freedesktop.DeviceKit service via the system message bus. On
+GNU/Linux, DeviceKit can be considered a simple D-Bus frontend to
+udev(7).
+
+This package contains devkit and the devkit-gobject library.
diff -r f5607bb4ccb9 -r cef6b588cfa4 sysutils/libdevkit-gobject/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libdevkit-gobject/Makefile Wed Sep 16 19:03:10 2009 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/16 19:03:10 wiz Exp $
+#
+
+DISTNAME= DeviceKit-003
+PKGNAME= ${DISTNAME:S/DeviceKit/libdevkit-gobject/}
+CATEGORIES= sysutils
+MASTER_SITES= http://hal.freedesktop.org/releases/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.freedesktop.org/wiki/Software/DeviceKit
+COMMENT= Modular hardware abstraction layer
+LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoconf automake pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
+# needs udev support, which currently only exists on Linux
+# for NetBSD, use the devkitd package
+# XXX: fix PLIST for Linux
+CONFIGURE_ARGS+= --disable-devkitd
+.endif
+
+PKGCONFIG_OVERRIDE+= src/devkit-gobject/devkit-gobject.pc.in
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f5607bb4ccb9 -r cef6b588cfa4 sysutils/libdevkit-gobject/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libdevkit-gobject/PLIST Wed Sep 16 19:03:10 2009 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/16 19:03:10 wiz Exp $
+bin/devkit
+include/DeviceKit/devkit-gobject/devkit-client.h
+include/DeviceKit/devkit-gobject/devkit-device.h
+include/DeviceKit/devkit-gobject/devkit-gobject.h
+include/DeviceKit/devkit-gobject/devkit-types.h
+lib/libdevkit-gobject.la
+lib/pkgconfig/devkit-gobject.pc
diff -r f5607bb4ccb9 -r cef6b588cfa4 sysutils/libdevkit-gobject/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libdevkit-gobject/buildlink3.mk Wed Sep 16 19:03:10 2009 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/09/16 19:03:10 wiz Exp $
+
+BUILDLINK_TREE+= libdevkit-gobject
+
+.if !defined(LIBDEVKIT_GOBJECT_BUILDLINK3_MK)
+LIBDEVKIT_GOBJECT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdevkit-gobject+= libdevkit-gobject>=003
+BUILDLINK_PKGSRCDIR.libdevkit-gobject?= ../../sysutils/libdevkit-gobject
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.endif # LIBDEVKIT_GOBJECT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libdevkit-gobject
diff -r f5607bb4ccb9 -r cef6b588cfa4 sysutils/libdevkit-gobject/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libdevkit-gobject/distinfo Wed Sep 16 19:03:10 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/16 19:03:10 wiz Exp $
+
+SHA1 (DeviceKit-003.tar.gz) = 31874d013b8816a71d6a7a9200b7a74701b204e4
+RMD160 (DeviceKit-003.tar.gz) = c4966300273cb983a166b13f68c1c707575ce516
+Size (DeviceKit-003.tar.gz) = 384408 bytes
+SHA1 (patch-aa) = dd2f1973ad7df7b6950a63a69f9a49538970c312
+SHA1 (patch-ab) = 04f38467eba2fa93e1a2626dc2ba36f1766045d2
diff -r f5607bb4ccb9 -r cef6b588cfa4 sysutils/libdevkit-gobject/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libdevkit-gobject/patches/patch-aa Wed Sep 16 19:03:10 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/09/16 19:03:10 wiz Exp $
+
+--- Makefile.am.orig 2008-12-19 01:12:03.000000000 +0000
++++ Makefile.am
+@@ -1,6 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+
+-SUBDIRS = src doc devkitd tools
++SUBDIRS = src doc @DEVKITD_SUBDIR@ tools
++DIST_SUBDIRS = src doc devkitd tools
+
+ # Creating ChangeLog from git log (taken from cairo/Makefile.am):
+ ChangeLog: $(srcdir)/ChangeLog
diff -r f5607bb4ccb9 -r cef6b588cfa4 sysutils/libdevkit-gobject/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libdevkit-gobject/patches/patch-ab Wed Sep 16 19:03:10 2009 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/09/16 19:03:10 wiz Exp $
+
+--- configure.ac.orig 2008-12-19 01:12:03.000000000 +0000
++++ configure.ac
+@@ -30,6 +30,7 @@ AM_PROG_CC_C_O
+ # Taken from dbus
+ AC_ARG_ENABLE(ansi, [ --enable-ansi enable -ansi -pedantic gcc flags],enable_ansi=$enableval,enable_ansi=no)
+ AC_ARG_ENABLE(man-pages, [ --enable-man-pages build manual pages],enable_man_pages=$enableval,enable_man_pages=yes)
++AC_ARG_ENABLE(devkitd, [ --enable-devkitd build devkitd],enable_devkitd=$enableval,enable_devkitd=yes)
+
+ if test "${enable_man_page}" != no; then
+ dnl
+@@ -116,9 +117,15 @@ PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-
+ AC_SUBST(DBUS_GLIB_CFLAGS)
+ AC_SUBST(DBUS_GLIB_LIBS)
+
+-PKG_CHECK_MODULES(LIBUDEV, [libudev >= 130])
++if test "x${enable_devkitd}" = "xyes"; then
++ DEVKITD_SUBDIR=devkitd
++ PKG_CHECK_MODULES(LIBUDEV, [libudev >= 130])
++else
++ DEVKITD_SUBDIR=
++fi
+ AC_SUBST(LIBUDEV_CFLAGS)
+ AC_SUBST(LIBUDEV_LIBS)
++AC_SUBST([DEVKITD_SUBDIR])
+
+ if test "x$GCC" = "xyes"; then
+ LDFLAGS="-Wl,--as-needed $LDFLAGS"
+@@ -161,4 +168,5 @@ echo "
+ Maintainer mode: ${USE_MAINTAINER_MODE}
+ Building api docs: ${enable_gtk_doc}
+ Building man pages: ${enable_man_pages}
++ Building devkitd: ${enable_devkitd}
+ "
Home |
Main Index |
Thread Index |
Old Index