pkgsrc-WIP-changes archive

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

libgtop: Import for update.



Module Name:	pkgsrc-wip
Committed By:	Youri Mouton <youri%NetBSD.org@localhost>
Pushed By:	youri
Date:		Sat Jun 18 17:49:32 2016 +0200
Changeset:	c77a30c35a907d87bad1c332395b5ee4dace299b

Added Files:
	libgtop/DESCR
	libgtop/Makefile
	libgtop/PLIST
	libgtop/buildlink3.mk
	libgtop/distinfo

Log Message:
libgtop: Import for update.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c77a30c35a907d87bad1c332395b5ee4dace299b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libgtop/DESCR         |   4 ++
 libgtop/Makefile      | 103 ++++++++++++++++++++++++++++
 libgtop/PLIST         | 181 ++++++++++++++++++++++++++++++++++++++++++++++++++
 libgtop/buildlink3.mk |  17 +++++
 libgtop/distinfo      |   6 ++
 5 files changed, 311 insertions(+)

diffs:
diff --git a/libgtop/DESCR b/libgtop/DESCR
new file mode 100644
index 0000000..55f3012
--- /dev/null
+++ b/libgtop/DESCR
@@ -0,0 +1,4 @@
+libgtop is a library that fetches system information about the running
+system such as cpu and memory usage, active processes etc.  It
+provides a setgid server that fetches the information and a
+client-side library that talks to this server.
diff --git a/libgtop/Makefile b/libgtop/Makefile
new file mode 100644
index 0000000..8ddd64e
--- /dev/null
+++ b/libgtop/Makefile
@@ -0,0 +1,103 @@
+# $NetBSD: Makefile,v 1.52 2016/04/28 22:18:58 jperkin Exp $
+
+DISTNAME=		libgtop-2.34.0
+CATEGORIES=		sysutils gnome
+MASTER_SITES=		${MASTER_SITE_GNOME:=sources/libgtop/2.34/}
+EXTRACT_SUFX=		.tar.xz
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		http://www.gnome.org/
+COMMENT=		Library to retrieve system information, used in GNOME2
+LICENSE=		gnu-gpl-v2
+
+OSVERSION_SPECIFIC=	YES
+
+GNU_CONFIGURE=		YES
+CONFIG_SHELL=		bash
+INFO_FILES=		YES
+PKGCONFIG_OVERRIDE=	libgtop-2.0.pc.in
+TEXINFO_REQD=		4.6
+USE_LIBTOOL=		YES
+USE_PKGLOCALEDIR=	YES
+USE_TOOLS+=		gmake makeinfo msgfmt perl pkg-config intltool
+
+CONFIGURE_ARGS+=	--enable-gtk-doc
+CONFIGURE_ARGS+=	--without-x
+CONFIGURE_ENV+=		LN_S="${LN} -s"
+
+CONFLICTS+=		libgtop2-[0-9]*
+
+# The following flags are for debugging purposes.  They don't need to
+# be used unless you are actively developing/debugging libgtop.
+#CPPFLAGS+=		-DLIBGTOP_ENABLE_DEBUG -DLIBGTOP_FATAL_WARNINGS
+#CFLAGS+=		-g
+#LDFLAGS+=		-g
+
+#PRINT_PLIST_AWK+=	/^bin\/libgtop_server2$$/ \
+#				{ print "$${LIBGTOP_SERVER}" $$0; next }
+#PRINT_PLIST_AWK+=	/^include\/libgtop-2.0\/glibtop_suid.h$$/ \
+#				{ print "$${LIBGTOP_SUID_H}" $$0; next }
+
+CONFIGURE_ENV.NetBSD+=	fu_cv_sys_mounted_getmntinfo=yes
+# needed since about 6.99.16
+CPPFLAGS.NetBSD+=	-D_KMEMUSER
+
+.include "../../mk/bsd.prefs.mk"
+
+#INSTALL_MAKE_FLAGS+=	libgtop_postinstall=true
+#PLIST_VARS+=	server suid.h
+#.if ${OPSYS} == "AIX"
+#PLIST.server=	yes
+#PLIST.suid.h=	yes
+#SPECIAL_PERMS=	bin/libgtop_server2 ${REAL_ROOT_USER} system 2755
+#.elif ${OPSYS} == "DragonFly" || \
+#      ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || \
+#      ${OPSYS} == "OpenBSD"
+#PLIST.server=	yes
+#PLIST.suid.h=	yes
+#SPECIAL_PERMS=	bin/libgtop_server2 ${REAL_ROOT_USER} kmem 2755
+#.elif ${OPSYS} == "Linux"
+##PLIST.server=	no
+##PLIST.suid.h=	no
+#.elif ${OPSYS} == "SunOS"
+#PLIST.server=	yes
+#SPECIAL_PERMS=	bin/libgtop_server2 ${REAL_ROOT_USER} sys 2755
+#.elif ${OPSYS} == "Darwin"
+#PLIST.server=	yes
+#.else
+#PLIST.server=	yes
+#PLIST.suid.h=	yes
+#.endif
+
+#PLIST_VARS+=    glibtop_private.h
+#.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+#PLIST.glibtop_private.h= yes
+#.endif
+#
+## XXX This needs a check in the configure script, which should be clean
+## enough to be integrated in the mainstream sources.
+#statvfs_h=	/usr/include/sys/statvfs.h
+#.if exists(${statvfs_h})
+#reads_count!=	if ${GREP} f_syncreads ${statvfs_h} >/dev/null; then \
+#		${ECHO} yes; else ${ECHO} no; fi
+#.  if ${reads_count} == "yes"
+#CPPFLAGS+=	-DHAVE_STATVFS_READS_COUNT
+#.  endif
+#.  undef reads_count
+#
+#writes_count!=	if ${GREP} f_syncwrites ${statvfs_h} >/dev/null; then \
+#		${ECHO} yes; else ${ECHO} no; fi
+#.  if ${writes_count} == "yes"
+#CPPFLAGS+=	-DHAVE_STATVFS_WRITES_COUNT
+#.  endif
+#.  undef writes_count
+#.endif
+#.undef statvfs_h
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.6.0
+.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk-doc+=	gtk-doc>=1.20
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.include "../../x11/libXau/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libgtop/PLIST b/libgtop/PLIST
new file mode 100644
index 0000000..360525d
--- /dev/null
+++ b/libgtop/PLIST
@@ -0,0 +1,181 @@
+@comment $NetBSD$
+bin/libgtop_daemon2
+bin/libgtop_server2
+include/libgtop-2.0/glibtop.h
+include/libgtop-2.0/glibtop/close.h
+include/libgtop-2.0/glibtop/command.h
+include/libgtop-2.0/glibtop/cpu.h
+include/libgtop-2.0/glibtop/fsusage.h
+include/libgtop-2.0/glibtop/global.h
+include/libgtop-2.0/glibtop/gnuserv.h
+include/libgtop-2.0/glibtop/loadavg.h
+include/libgtop-2.0/glibtop/mem.h
+include/libgtop-2.0/glibtop/mountlist.h
+include/libgtop-2.0/glibtop/msg_limits.h
+include/libgtop-2.0/glibtop/netlist.h
+include/libgtop-2.0/glibtop/netload.h
+include/libgtop-2.0/glibtop/open.h
+include/libgtop-2.0/glibtop/parameter.h
+include/libgtop-2.0/glibtop/ppp.h
+include/libgtop-2.0/glibtop/procaffinity.h
+include/libgtop-2.0/glibtop/procargs.h
+include/libgtop-2.0/glibtop/prockernel.h
+include/libgtop-2.0/glibtop/proclist.h
+include/libgtop-2.0/glibtop/procmap.h
+include/libgtop-2.0/glibtop/procmem.h
+include/libgtop-2.0/glibtop/procopenfiles.h
+include/libgtop-2.0/glibtop/procsegment.h
+include/libgtop-2.0/glibtop/procsignal.h
+include/libgtop-2.0/glibtop/procstate.h
+include/libgtop-2.0/glibtop/proctime.h
+include/libgtop-2.0/glibtop/procuid.h
+include/libgtop-2.0/glibtop/procwd.h
+include/libgtop-2.0/glibtop/sem_limits.h
+include/libgtop-2.0/glibtop/shm_limits.h
+include/libgtop-2.0/glibtop/signal.h
+include/libgtop-2.0/glibtop/swap.h
+include/libgtop-2.0/glibtop/sysdeps.h
+include/libgtop-2.0/glibtop/sysinfo.h
+include/libgtop-2.0/glibtop/union.h
+include/libgtop-2.0/glibtop/uptime.h
+include/libgtop-2.0/glibtop_machine.h
+include/libgtop-2.0/glibtop_server.h
+include/libgtop-2.0/libgtopconfig.h
+info/libgtop2.info
+lib/libgtop-2.0.la
+lib/pkgconfig/libgtop-2.0.pc
+share/gtk-doc/html/libgtop/home.png
+share/gtk-doc/html/libgtop/index.html
+share/gtk-doc/html/libgtop/index.sgml
+share/gtk-doc/html/libgtop/left-insensitive.png
+share/gtk-doc/html/libgtop/left.png
+share/gtk-doc/html/libgtop/libgtop-Close.html
+share/gtk-doc/html/libgtop/libgtop-Command.html
+share/gtk-doc/html/libgtop/libgtop-GlibTop-Server.html
+share/gtk-doc/html/libgtop/libgtop-GlibTop.html
+share/gtk-doc/html/libgtop/libgtop-Net-List.html
+share/gtk-doc/html/libgtop/libgtop-Net-Load.html
+share/gtk-doc/html/libgtop/libgtop-PPP.html
+share/gtk-doc/html/libgtop/libgtop-Process-Arguments.html
+share/gtk-doc/html/libgtop/libgtop-Process-List.html
+share/gtk-doc/html/libgtop/libgtop-Process-Time.html
+share/gtk-doc/html/libgtop/libgtop-Shared-Memory-Limits.html
+share/gtk-doc/html/libgtop/libgtop-Uptime.html
+share/gtk-doc/html/libgtop/libgtop-cpu.html
+share/gtk-doc/html/libgtop/libgtop-fsusage.html
+share/gtk-doc/html/libgtop/libgtop-lib.html
+share/gtk-doc/html/libgtop/libgtop-loadavg.html
+share/gtk-doc/html/libgtop/libgtop-mem.html
+share/gtk-doc/html/libgtop/libgtop-mountlist.html
+share/gtk-doc/html/libgtop/libgtop-msg-limits.html
+share/gtk-doc/html/libgtop/libgtop-open.html
+share/gtk-doc/html/libgtop/libgtop-parameter.html
+share/gtk-doc/html/libgtop/libgtop-prockernel.html
+share/gtk-doc/html/libgtop/libgtop-procmap.html
+share/gtk-doc/html/libgtop/libgtop-procmem.html
+share/gtk-doc/html/libgtop/libgtop-procopenfiles.html
+share/gtk-doc/html/libgtop/libgtop-procsegment.html
+share/gtk-doc/html/libgtop/libgtop-procsignal.html
+share/gtk-doc/html/libgtop/libgtop-procstate.html
+share/gtk-doc/html/libgtop/libgtop-procuid.html
+share/gtk-doc/html/libgtop/libgtop-sem-limits.html
+share/gtk-doc/html/libgtop/libgtop-signal.html
+share/gtk-doc/html/libgtop/libgtop-swap.html
+share/gtk-doc/html/libgtop/libgtop-sysdeps.html
+share/gtk-doc/html/libgtop/libgtop-sysinfo.html
+share/gtk-doc/html/libgtop/libgtop-union.html
+share/gtk-doc/html/libgtop/libgtop-version.html
+share/gtk-doc/html/libgtop/libgtop-white-paper-overview.html
+share/gtk-doc/html/libgtop/libgtop-white-paper.html
+share/gtk-doc/html/libgtop/libgtop.devhelp2
+share/gtk-doc/html/libgtop/right-insensitive.png
+share/gtk-doc/html/libgtop/right.png
+share/gtk-doc/html/libgtop/style.css
+share/gtk-doc/html/libgtop/up-insensitive.png
+share/gtk-doc/html/libgtop/up.png
+share/locale/am/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ar/LC_MESSAGES/libgtop-2.0.mo
+share/locale/as/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ast/LC_MESSAGES/libgtop-2.0.mo
+share/locale/az/LC_MESSAGES/libgtop-2.0.mo
+share/locale/be/LC_MESSAGES/libgtop-2.0.mo
+share/locale/bg/LC_MESSAGES/libgtop-2.0.mo
+share/locale/bn/LC_MESSAGES/libgtop-2.0.mo
+share/locale/bn_IN/LC_MESSAGES/libgtop-2.0.mo
+share/locale/bs/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ca/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ca@valencia/LC_MESSAGES/libgtop-2.0.mo
+share/locale/cs/LC_MESSAGES/libgtop-2.0.mo
+share/locale/cy/LC_MESSAGES/libgtop-2.0.mo
+share/locale/da/LC_MESSAGES/libgtop-2.0.mo
+share/locale/de/LC_MESSAGES/libgtop-2.0.mo
+share/locale/dz/LC_MESSAGES/libgtop-2.0.mo
+share/locale/el/LC_MESSAGES/libgtop-2.0.mo
+share/locale/en@shaw/LC_MESSAGES/libgtop-2.0.mo
+share/locale/en_CA/LC_MESSAGES/libgtop-2.0.mo
+share/locale/en_GB/LC_MESSAGES/libgtop-2.0.mo
+share/locale/eo/LC_MESSAGES/libgtop-2.0.mo
+share/locale/es/LC_MESSAGES/libgtop-2.0.mo
+share/locale/et/LC_MESSAGES/libgtop-2.0.mo
+share/locale/eu/LC_MESSAGES/libgtop-2.0.mo
+share/locale/fa/LC_MESSAGES/libgtop-2.0.mo
+share/locale/fi/LC_MESSAGES/libgtop-2.0.mo
+share/locale/fr/LC_MESSAGES/libgtop-2.0.mo
+share/locale/fur/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ga/LC_MESSAGES/libgtop-2.0.mo
+share/locale/gl/LC_MESSAGES/libgtop-2.0.mo
+share/locale/gu/LC_MESSAGES/libgtop-2.0.mo
+share/locale/he/LC_MESSAGES/libgtop-2.0.mo
+share/locale/hi/LC_MESSAGES/libgtop-2.0.mo
+share/locale/hr/LC_MESSAGES/libgtop-2.0.mo
+share/locale/hu/LC_MESSAGES/libgtop-2.0.mo
+share/locale/id/LC_MESSAGES/libgtop-2.0.mo
+share/locale/it/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ja/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ka/LC_MESSAGES/libgtop-2.0.mo
+share/locale/kn/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ko/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ku/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ky/LC_MESSAGES/libgtop-2.0.mo
+share/locale/la/LC_MESSAGES/libgtop-2.0.mo
+share/locale/lt/LC_MESSAGES/libgtop-2.0.mo
+share/locale/lv/LC_MESSAGES/libgtop-2.0.mo
+share/locale/mai/LC_MESSAGES/libgtop-2.0.mo
+share/locale/mg/LC_MESSAGES/libgtop-2.0.mo
+share/locale/mi/LC_MESSAGES/libgtop-2.0.mo
+share/locale/mk/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ml/LC_MESSAGES/libgtop-2.0.mo
+share/locale/mn/LC_MESSAGES/libgtop-2.0.mo
+share/locale/mr/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ms/LC_MESSAGES/libgtop-2.0.mo
+share/locale/nb/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ne/LC_MESSAGES/libgtop-2.0.mo
+share/locale/nl/LC_MESSAGES/libgtop-2.0.mo
+share/locale/nn/LC_MESSAGES/libgtop-2.0.mo
+share/locale/oc/LC_MESSAGES/libgtop-2.0.mo
+share/locale/or/LC_MESSAGES/libgtop-2.0.mo
+share/locale/pa/LC_MESSAGES/libgtop-2.0.mo
+share/locale/pl/LC_MESSAGES/libgtop-2.0.mo
+share/locale/pt/LC_MESSAGES/libgtop-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ro/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ru/LC_MESSAGES/libgtop-2.0.mo
+share/locale/rw/LC_MESSAGES/libgtop-2.0.mo
+share/locale/sk/LC_MESSAGES/libgtop-2.0.mo
+share/locale/sl/LC_MESSAGES/libgtop-2.0.mo
+share/locale/sq/LC_MESSAGES/libgtop-2.0.mo
+share/locale/sr/LC_MESSAGES/libgtop-2.0.mo
+share/locale/sr@latin/LC_MESSAGES/libgtop-2.0.mo
+share/locale/sv/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ta/LC_MESSAGES/libgtop-2.0.mo
+share/locale/te/LC_MESSAGES/libgtop-2.0.mo
+share/locale/tg/LC_MESSAGES/libgtop-2.0.mo
+share/locale/th/LC_MESSAGES/libgtop-2.0.mo
+share/locale/tr/LC_MESSAGES/libgtop-2.0.mo
+share/locale/ug/LC_MESSAGES/libgtop-2.0.mo
+share/locale/uk/LC_MESSAGES/libgtop-2.0.mo
+share/locale/vi/LC_MESSAGES/libgtop-2.0.mo
+share/locale/xh/LC_MESSAGES/libgtop-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/libgtop-2.0.mo
+share/locale/zh_HK/LC_MESSAGES/libgtop-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/libgtop-2.0.mo
diff --git a/libgtop/buildlink3.mk b/libgtop/buildlink3.mk
new file mode 100644
index 0000000..bca4e9d
--- /dev/null
+++ b/libgtop/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.11 2012/09/15 10:06:29 obache Exp $
+
+BUILDLINK_TREE+=	libgtop
+
+.if !defined(LIBGTOP_BUILDLINK3_MK)
+LIBGTOP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libgtop+=	libgtop>=2.34.0
+BUILDLINK_ABI_DEPENDS.libgtop+=	libgtop>=2.34.0
+BUILDLINK_PKGSRCDIR.libgtop?=	../../sysutils/libgtop
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/libXau/buildlink3.mk"
+.endif # LIBGTOP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libgtop
diff --git a/libgtop/distinfo b/libgtop/distinfo
new file mode 100644
index 0000000..dc6eb80
--- /dev/null
+++ b/libgtop/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.32 2016/04/28 22:18:58 jperkin Exp $
+
+SHA1 (libgtop-2.34.0.tar.xz) = c3fa90b1e71bbd12cf9a8d0018d0d975bceb5b7e
+RMD160 (libgtop-2.34.0.tar.xz) = 0cf7a8cbd51ccc6a507bff81222d3597022c9e58
+SHA512 (libgtop-2.34.0.tar.xz) = d9b8a34f9aedcf73e56a29cbde8a404911d04e87e4edf286720d7e16644a99a5e543605ed489fcf3a7a005ada7f5c15fef524c90e7ae0770793f1f2711959b93
+Size (libgtop-2.34.0.tar.xz) = 677392 bytes


Home | Main Index | Thread Index | Old Index