Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome
In directory sc8-pr-cvs17:/tmp/cvs-serv21971/main/finkinfo/gnome
Modified Files:
Tag: pangocairo-branch
libgtop2.0.7.info libgtop2.0.7.patch
Log Message:
working libgtop2.0.7
Index: libgtop2.0.7.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome/libgtop2.0.7.info,v
retrieving revision 1.7.2.14
retrieving revision 1.7.2.15
diff -u -d -r1.7.2.14 -r1.7.2.15
--- libgtop2.0.7.info 26 Sep 2007 23:55:07 -0000 1.7.2.14
+++ libgtop2.0.7.info 27 Sep 2007 19:13:04 -0000 1.7.2.15
@@ -27,9 +27,9 @@
Replaces: libgtop2, libgtop2.0.5
Source: mirror:gnome:sources/libgtop/2.20/libgtop-%v.tar.bz2
Source-MD5: ddc05ffe9499294801cbd5fdac949045
-#Source2: mirror:sourceforge:fink/libgtop2-darwin-4.tar.bz2
-#Source2-MD5: 00c6ec58aed75aac5f36687ff3d274bd
-#Source2ExtractDir: libgtop-%v/sysdeps
+Source2: mirror:sourceforge:fink/libgtop-darwin-2.20.tar.bz2
+Source2-MD5: c256c0747043aa277bef874e2ae4bb8d
+Source2ExtractDir: libgtop-%v/sysdeps
Patch: %n.patch
#PatchScript: <<
# cp sysdeps/freebsd/netlist.c sysdeps/stub/procopenfiles.c sysdeps/darwin
Index: libgtop2.0.7.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome/libgtop2.0.7.patch,v
retrieving revision 1.2.2.6
retrieving revision 1.2.2.7
diff -u -d -r1.2.2.6 -r1.2.2.7
--- libgtop2.0.7.patch 26 Sep 2007 23:55:08 -0000 1.2.2.6
+++ libgtop2.0.7.patch 27 Sep 2007 19:13:05 -0000 1.2.2.7
@@ -1,6 +1,40 @@
-diff -uNr libgtop-2.20.0/lib/Makefile.in libgtop-2.20.0-patched/lib/Makefile.in
+diff -uNr libgtop-2.20.0/configure libgtop-2.20.0-new/configure
+--- libgtop-2.20.0/configure 2007-09-16 09:06:10.000000000 -0400
++++ libgtop-2.20.0-new/configure 2007-09-27 13:25:53.000000000 -0400
+@@ -21120,6 +21120,13 @@
+ echo $ECHO_N "checking for libgtop sysdeps directory... $ECHO_C" >&6; }
+
+ case "$host_os" in
++ darwin*)
++ libgtop_sysdeps_dir=darwin
++ libgtop_use_machine_h=yes
++ libgtop_have_sysinfo=yes
++ libgtop_need_server=yes
++ libgtop_postinstall='chgrp kmem $(DESTDIR)$(bindir)/libgtop_server2
&& chmod 6755 $(DESTDIR)/$(bindir)/libgtop_server2'
++ ;;
+ linux*)
+ libgtop_sysdeps_dir=linux
+ libgtop_use_machine_h=no
+@@ -31891,7 +31898,7 @@
+
+
+
+-ac_config_files="$ac_config_files Makefile libgtop.spec po/Makefile.in
misc/Makefile include/Makefile include/glibtop/Makefile sysdeps/Makefile
sysdeps/common/Makefile sysdeps/stub/Makefile sysdeps/stub_suid/Makefile
sysdeps/sun4/Makefile sysdeps/osf1/Makefile sysdeps/linux/Makefile
sysdeps/freebsd/Makefile sysdeps/solaris/Makefile sysdeps/aix/Makefile
sysdeps/bsd/Makefile src/Makefile src/daemon/Makefile lib/Makefile
examples/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml
libgtop-2.0.pc libgtopconfig.h"
++ac_config_files="$ac_config_files Makefile libgtop.spec po/Makefile.in
misc/Makefile include/Makefile include/glibtop/Makefile sysdeps/Makefile
sysdeps/common/Makefile sysdeps/stub/Makefile sysdeps/stub_suid/Makefile
sysdeps/sun4/Makefile sysdeps/osf1/Makefile sysdeps/linux/Makefile
sysdeps/freebsd/Makefile sysdeps/solaris/Makefile sysdeps/aix/Makefile
sysdeps/darwin/Makefile sysdeps/bsd/Makefile src/Makefile src/daemon/Makefile
lib/Makefile examples/Makefile doc/Makefile doc/reference/Makefile
doc/reference/version.xml libgtop-2.0.pc libgtopconfig.h"
+
+
+ cat >confcache <<\_ACEOF
+@@ -32561,6 +32568,7 @@
+ "sysdeps/freebsd/Makefile") CONFIG_FILES="$CONFIG_FILES
sysdeps/freebsd/Makefile" ;;
+ "sysdeps/solaris/Makefile") CONFIG_FILES="$CONFIG_FILES
sysdeps/solaris/Makefile" ;;
+ "sysdeps/aix/Makefile") CONFIG_FILES="$CONFIG_FILES sysdeps/aix/Makefile"
;;
++ "sysdeps/darwin/Makefile") CONFIG_FILES="$CONFIG_FILES
sysdeps/darwin/Makefile" ;;
+ "sysdeps/bsd/Makefile") CONFIG_FILES="$CONFIG_FILES sysdeps/bsd/Makefile"
;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
+ "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
+diff -uNr libgtop-2.20.0/lib/Makefile.in libgtop-2.20.0-new/lib/Makefile.in
--- libgtop-2.20.0/lib/Makefile.in 2007-09-16 09:05:59.000000000 -0400
-+++ libgtop-2.20.0-patched/lib/Makefile.in 2007-09-26 17:18:07.000000000
-0400
++++ libgtop-2.20.0-new/lib/Makefile.in 2007-09-27 13:19:24.000000000 -0400
@@ -286,7 +286,7 @@
read_data.c write.c lib.c parameter.c \
sysdeps.c
@@ -10,26 +44,51 @@
libgtop_2_0_la_LIBADD = $(GLIB_LIBS)
$(top_builddir)/sysdeps/common/libgtop_common-2.0.la
$(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la $(sysdeps_suid_lib)
BUILT_SOURCES = lib.c
EXTRA_DIST = lib.pl libgtop.sym
-diff -uNr libgtop-2.20.0/sysdeps/stub/glibtop_server.h
libgtop-2.20.0-patched/sysdeps/stub/glibtop_server.h
---- libgtop-2.20.0/sysdeps/stub/glibtop_server.h 2007-04-26
18:27:38.000000000 -0400
-+++ libgtop-2.20.0-patched/sysdeps/stub/glibtop_server.h 2007-09-26
17:15:55.000000000 -0400
-@@ -45,6 +45,7 @@
- #define GLIBTOP_SUID_NETLOAD 0
- #define GLIBTOP_SUID_NETLIST 0
- #define GLIBTOP_SUID_PPP 0
-+#define GLIBTOP_SUID_PROC_WD 0
+diff -uNr libgtop-2.20.0/lib/open.c libgtop-2.20.0-new/lib/open.c
+--- libgtop-2.20.0/lib/open.c 2007-09-16 09:04:03.000000000 -0400
++++ libgtop-2.20.0-new/lib/open.c 2007-09-27 13:23:59.000000000 -0400
+@@ -147,7 +147,7 @@
- G_END_DECLS
+ if (nbytes != size)
+ glibtop_error_r (server,
+- "Requested %u bytes but got %u.",
++ "Requested %lu bytes but got %lu.",
+ size, nbytes);
-diff -uNr libgtop-2.20.0/sysdeps/stub/proclist.c
libgtop-2.20.0-patched/sysdeps/stub/proclist.c
---- libgtop-2.20.0/sysdeps/stub/proclist.c 2007-04-26 18:27:38.000000000
-0400
-+++ libgtop-2.20.0-patched/sysdeps/stub/proclist.c 2007-09-26
17:11:51.000000000 -0400
-@@ -42,7 +42,7 @@
- * On success, it returnes a pointer to a list of buf->number elements
- * each buf->size big. The total size is stored in buf->total. */
+ glibtop_read_l (server, nbytes, buffer);
+diff -uNr libgtop-2.20.0/src/daemon/Makefile.in
libgtop-2.20.0-new/src/daemon/Makefile.in
+--- libgtop-2.20.0/src/daemon/Makefile.in 2007-09-16 09:06:01.000000000
-0400
++++ libgtop-2.20.0-new/src/daemon/Makefile.in 2007-09-27 13:22:51.000000000
-0400
+@@ -594,7 +594,7 @@
+
+
+ install-exec-hook:
+- [EMAIL PROTECTED]@
++ @libgtop_postinstall@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+diff -uNr libgtop-2.20.0/src/daemon/main.c libgtop-2.20.0-new/src/daemon/main.c
+--- libgtop-2.20.0/src/daemon/main.c 2007-05-12 17:54:57.000000000 -0400
++++ libgtop-2.20.0-new/src/daemon/main.c 2007-09-27 13:22:34.000000000
-0400
+@@ -52,7 +52,7 @@
+ glibtop_server_features);
+
+ if (enable_debug)
+- syslog_message (LOG_DEBUG, "SIZEOF: %u - %u - %u - %u - %u - %u",
++ syslog_message (LOG_DEBUG, "SIZEOF: %lu - %lu - %lu - %lu - %lu - %lu",
+ sizeof (glibtop_command), sizeof (glibtop_response),
+ sizeof (glibtop_mountentry), sizeof (glibtop_union),
+ sizeof (glibtop_sysdeps),
+diff -uNr libgtop-2.20.0/sysdeps/Makefile.in
libgtop-2.20.0-new/sysdeps/Makefile.in
+--- libgtop-2.20.0/sysdeps/Makefile.in 2007-09-16 09:06:01.000000000 -0400
++++ libgtop-2.20.0-new/sysdeps/Makefile.in 2007-09-27 13:23:11.000000000
-0400
+@@ -260,7 +260,7 @@
+ target_vendor = @target_vendor@
+ SUBDIRS = common @sysdeps_dir@
+ DIST_SUBDIRS = bsd common linux osf1 \
+- stub stub_suid sun4 freebsd solaris aix
++ stub stub_suid sun4 darwin freebsd solaris aix
+
+ all: all-recursive
--unsigned *
-+pid_t *
- glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf,
- gint64 which, gint64 arg)
- {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits