pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/libgtop2 Move libgtop2 to the sysutils catego...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6411d6ae6f21
branches:  trunk
changeset: 472012:6411d6ae6f21
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Fri Apr 02 12:09:16 2004 +0000

description:
Move libgtop2 to the sysutils category, coming from devel.
This is version 2.5.2.

diffstat:

 sysutils/libgtop2/DESCR            |    4 +
 sysutils/libgtop2/Makefile         |   72 ++++++++++++++++++++++++
 sysutils/libgtop2/PLIST            |  107 +++++++++++++++++++++++++++++++++++++
 sysutils/libgtop2/buildlink3.mk    |   22 +++++++
 sysutils/libgtop2/distinfo         |    6 ++
 sysutils/libgtop2/patches/patch-aa |   20 ++++++
 sysutils/libgtop2/patches/patch-al |   14 ++++
 7 files changed, 245 insertions(+), 0 deletions(-)

diffs (273 lines):

diff -r 101459d7e5cb -r 6411d6ae6f21 sysutils/libgtop2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/DESCR   Fri Apr 02 12:09:16 2004 +0000
@@ -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 -r 101459d7e5cb -r 6411d6ae6f21 sysutils/libgtop2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/Makefile        Fri Apr 02 12:09:16 2004 +0000
@@ -0,0 +1,72 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/02 12:09:16 jmmv Exp $
+
+DISTNAME=              libgtop-2.5.2
+PKGNAME=               ${DISTNAME:S/-/2-/}
+CATEGORIES=            sysutils gnome
+MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/libgtop/2.5/}
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://www.gnome.org/
+COMMENT=               Library to retrieve system information, used in GNOME2
+
+BUILD_USES_MSGFMT=     YES
+
+NOT_FOR_PLATFORM=      SunOS-*-*
+OSVERSION_SPECIFIC=    YES
+USE_MSGFMT_PLURALS=    YES
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == NetBSD
+.  if (${MACHINE_ARCH} != alpha) && \
+       (${MACHINE_ARCH} != arm) && (${MACHINE_ARCH} != arm32) && \
+       (${MACHINE_ARCH} != i386) && (${MACHINE_ARCH} != m68k) && \
+       (${MACHINE_ARCH} != mipsel) && (${MACHINE_ARCH} != powerpc) && \
+       (${MACHINE_ARCH} != sparc) && (${MACHINE_ARCH} != sparc64) && \
+       (${MACHINE_ARCH} != x86_64)
+PKG_FAIL_REASON=       "${PKGNAME} has not yet been ported to ${MACHINE_ARCH}."
+PKG_FAIL_REASON+=      "Please look at /usr/include/${MACHINE_ARCH}/pcb.h"
+PKG_FAIL_REASON+=      "and update patches/patch-al appropriately."
+PKG_FAIL_REASON+=      "(More information can be found in libgtop.info.)"
+.  endif
+.endif
+
+USE_PERL5=             build
+USE_BUILDLINK3=                YES
+USE_PKGLOCALEDIR=      YES
+USE_X11=               YES
+USE_GNU_TOOLS+=                make
+USE_LIBTOOL=           YES
+PKGCONFIG_OVERRIDE=    libgtop-2.0.pc.in
+PKGCONFIG_OVERRIDE+=   support/gnome-support-2.0.pc.in
+USE_MAKEINFO=          YES
+INFO_FILES=            libgtop2.info
+TEXINFO_REQD=          4.6
+
+# 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
+
+GNU_CONFIGURE=         YES
+CONFIGURE_ARGS+=       --with-glib-prefix=${BUILDLINK_PREFIX.glib2}
+CONFIGURE_ARGS+=       --with-catgets --with-libgtop-guile=no
+CONFIGURE_ENV+=                AWK="${AWK}" LN_S="${LN} -s" PERL="${PERL5}"
+
+.if ${OPSYS} == "Linux"
+PLIST_SUBST+=  LIBGTOP_SERVER="@comment "
+.else
+PLIST_SUBST+=  LIBGTOP_SERVER=""
+
+post-install:
+       @${CHMOD} g+s ${PREFIX}/bin/libgtop_server2
+.endif
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libgnome/buildlink3.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 101459d7e5cb -r 6411d6ae6f21 sysutils/libgtop2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/PLIST   Fri Apr 02 12:09:16 2004 +0000
@@ -0,0 +1,107 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/02 12:09:16 jmmv Exp $
+bin/libgtop_daemon2
+${LIBGTOP_SERVER}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/error.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/inodedb.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/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/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/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/read.h
+include/libgtop-2.0/glibtop/read_data.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/types.h
+include/libgtop-2.0/glibtop/union.h
+include/libgtop-2.0/glibtop/uptime.h
+include/libgtop-2.0/glibtop/version.h
+include/libgtop-2.0/glibtop/write.h
+include/libgtop-2.0/glibtop_machine.h
+include/libgtop-2.0/glibtop_server.h
+${LIBGTOP_SERVER}include/libgtop-2.0/glibtop_suid.h
+lib/libgtop-2.0.a
+lib/libgtop-2.0.la
+lib/libgtop-2.0.so
+lib/libgtop-2.0.so.3
+lib/libgtop-2.0.so.3.0
+lib/pkgconfig/libgtop-2.0.pc
+${PKGLOCALEDIR}/locale/am/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ar/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/be/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/bn/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/cy/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/fa/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/he/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/lv/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/mk/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ml/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/mn/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/nn/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/ta/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/libgtop-2.0.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/libgtop-2.0.mo
+@dirrm include/libgtop-2.0/glibtop
+@dirrm include/libgtop-2.0
diff -r 101459d7e5cb -r 6411d6ae6f21 sysutils/libgtop2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/buildlink3.mk   Fri Apr 02 12:09:16 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/02 12:09:16 jmmv Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBGTOP2_BUILDLINK3_MK:=       ${LIBGTOP2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libgtop2
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibgtop2}
+BUILDLINK_PACKAGES+=   libgtop2
+
+.if !empty(LIBGTOP2_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libgtop2+=   libgtop2>=2.5.2
+BUILDLINK_PKGSRCDIR.libgtop2?= ../../sysutils/libgtop2
+.endif # LIBGTOP2_BUILDLINK3_MK
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 101459d7e5cb -r 6411d6ae6f21 sysutils/libgtop2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/distinfo        Fri Apr 02 12:09:16 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/02 12:09:16 jmmv Exp $
+
+SHA1 (libgtop-2.5.2.tar.bz2) = 0ef139ccfd7a6a11b9f94c17e3a9d382ded1dad3
+Size (libgtop-2.5.2.tar.bz2) = 935545 bytes
+SHA1 (patch-aa) = 5ebb407abdaedb77ed02c01adbaba70113b333b6
+SHA1 (patch-al) = 4fad51ee02aa13c8f53d8716fb230bef2f282d4d
diff -r 101459d7e5cb -r 6411d6ae6f21 sysutils/libgtop2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/patches/patch-aa        Fri Apr 02 12:09:16 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/02 12:09:16 jmmv Exp $
+
+--- configure.orig     2003-12-13 08:32:17.000000000 +0100
++++ configure  2003-12-13 08:33:16.000000000 +0100
+@@ -19717,13 +19717,13 @@
+         libgtop_sysdeps_dir=freebsd
+         libgtop_use_machine_h=yes
+         libgtop_need_server=yes
+-        libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
++        libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server'
+         ;;
+       solaris*)
+         libgtop_sysdeps_dir=solaris
+         libgtop_use_machine_h=yes
+         libgtop_need_server=yes
+-        libgtop_postinstall='chgrp sys $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
++        libgtop_postinstall='chgrp sys $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server'
+         ;;
+         aix*)
+         libgtop_sysdeps_dir=aix
diff -r 101459d7e5cb -r 6411d6ae6f21 sysutils/libgtop2/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/patches/patch-al        Fri Apr 02 12:09:16 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-al,v 1.1.1.1 2004/04/02 12:09:16 jmmv Exp $
+
+--- sysdeps/freebsd/prockernel.c.orig  2004-03-11 03:23:52.000000000 +0100
++++ sysdeps/freebsd/prockernel.c
+@@ -228,6 +228,9 @@ glibtop_get_proc_kernel_p (glibtop *serv
+ #if defined(__m68k__)
+                       buf->kstk_esp = (u_int64_t) pcb.pcb_usp;
+                       buf->kstk_eip = (u_int64_t) 0;
++#elif defined(__x86_64__)
++                      buf->kstk_esp = (u_int64_t) pcb.pcb_usersp;
++                      buf->kstk_eip = (u_int64_t) 0;
+ #elif (defined(__arm32__) || defined(__powerpc__))
+                       buf->kstk_esp = (u_int64_t) pcb.pcb_sp;
+                       buf->kstk_eip = (u_int64_t) 0;



Home | Main Index | Thread Index | Old Index