Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/gnome In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6298/10.4-transitional/unstable/main/finkinfo/gnome
Added Files: libgtop2.0.5.info libgtop2.0.5.patch Log Message: New version (new lib-major version) --- NEW FILE: libgtop2.0.5.info --- Package: libgtop2.0.5 Version: 2.10.2 Revision: 1 Depends: %N-shlibs (= %v-%r), libgettext3-shlibs, libiconv, glib2 (>= 2.6.0-1), popt-shlibs BuildDepends: libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, glib2-dev (>= 2.6.0-1), popt, pkgconfig Conflicts: libgtop2 Replaces: libgtop2 Source: mirror:gnome:sources/libgtop/2.10/libgtop-%v.tar.bz2 Source-MD5: 59d1f49a37abe98a25fdb005711cd5fe Source2: mirror:sourceforge:fink/libgtop2-darwin-2.tar.bz2 Source2-MD5: d5b402ef66d46c87b3cb29d640a3d660 Source2ExtractDir: libgtop-%v/sysdeps Patch: %n.patch PatchScript: << ln -s ../freebsd/netlist.c ../stub/procopenfiles.c sysdeps/darwin perl -pi -e 's/(sem_limits)\.(c|lo)/$1.$2 netlist.$2 procopenfiles.$2/' sysdeps/darwin/Makefile.in perl -pi -e 's/.*_static_LDADD.*/$& -framework CoreFoundation/' examples/Makefile.in << SetCPPFLAGS: -no-cpp-precomp ConfigureParams: --infodir=%p/share/info --with-libgtop-smp --enable-hacker-mode --disable-dependency-tracking InstallScript: << make install DESTDIR=%d mkdir -p %i/lib/%n /bin/cp -R examples %i/lib/%n << SplitOff: << Package: %N-shlibs Depends: libgettext3-shlibs, libiconv, glib2-shlibs (>= 2.6.0-1) Files: lib/lib*-2.0.*.dylib Shlibs: << %p/lib/libgtop-2.0.5.dylib 6.0.0 %n (>= 2.10.2-1) << DocFiles: AUTHORS COPYING ChangeLog doc/ChangeLog:ChangeLog.doc po/ChangeLog:ChangeLog.po src/daemon/ChangeLog:ChangeLog.src.daemon NEWS README << SplitOff2: << Package: %N-dev Depends: %N-shlibs (= %v-%r), %N (= %v-%r) Conflicts: libgtop2-dev Replaces: libgtop2-dev BuildDependsOnly: True Files: include lib DocFiles: AUTHORS COPYING ChangeLog doc/ChangeLog:ChangeLog.doc po/ChangeLog:ChangeLog.po src/daemon/ChangeLog:ChangeLog.src.daemon NEWS README << DocFiles: AUTHORS COPYING ChangeLog doc/ChangeLog:ChangeLog.doc po/ChangeLog:ChangeLog.po src/daemon/ChangeLog:ChangeLog.src.daemon NEWS README InfoDocs: libgtop2.info Description: System monitoring library DescPort: << Static-linked examples need -framework CoreFoundation to resolve symbols from libintl.a, but libintl.la doesn't have that flag. darwin back-end is only present in hacker-mode procopenfiles is disabled << License: GPL Maintainer: The Gnome Core Team <[EMAIL PROTECTED]> Homepage: http://www.gnome.org/ --- NEW FILE: libgtop2.0.5.patch --- diff -Nurd -x'*~' libgtop-2.10.2.orig/Makefile.in libgtop-2.10.2/Makefile.in --- libgtop-2.10.2.orig/Makefile.in 2005-06-13 05:49:10.000000000 -0400 +++ libgtop-2.10.2/Makefile.in 2005-08-09 19:02:17.000000000 -0400 @@ -143,7 +143,7 @@ sysdeps_dir = @sysdeps_dir@ sysdeps_suid_lib = @sysdeps_suid_lib@ -SUBDIRS = po misc include sysdeps lib src examples doc +SUBDIRS = po misc include sysdeps lib src examples doc libgtopinclude_HEADERS = glibtop.h libgtopconfig.h libgtopincludedir = $(includedir)/libgtop-2.0 diff -Nurd -x'*~' libgtop-2.10.2.orig/configure libgtop-2.10.2/configure --- libgtop-2.10.2.orig/configure 2005-06-13 05:10:33.000000000 -0400 +++ libgtop-2.10.2/configure 2005-08-09 19:02:17.000000000 -0400 @@ -20171,6 +20171,12 @@ libgtop_use_machine_h=yes libgtop_need_server=yes ;; + darwin*) + libgtop_sysdeps_dir=darwin + libgtop_use_machine_h=yes + libgtop_need_server=yes + libgtop_postinstall='chgrp kmem $(DESTDIR)$(bindir)/libgtop_server2 && chmod 6755 $(DESTDIR)/$(bindir)/libgtop_server2' + ;; *) libgtop_sysdeps_dir=stub libgtop_use_machine_h=no @@ -30908,7 +30914,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 src/Makefile src/daemon/Makefile src/inodedb/Makefile lib/Makefile examples/Makefile doc/Makefile 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/darwin/Makefile sysdeps/aix/Makefile src/Makefile src/daemon/Makefile src/inodedb/Makefile lib/Makefile examples/Makefile doc/Makefile libgtop-2.0.pc libgtopconfig.h" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -31460,6 +31466,7 @@ "sysdeps/linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES sysdeps/linux/Makefile" ;; "sysdeps/freebsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES sysdeps/freebsd/Makefile" ;; "sysdeps/solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES sysdeps/solaris/Makefile" ;; + "sysdeps/darwin/Makefile" ) CONFIG_FILES="$CONFIG_FILES sysdeps/darwin/Makefile" ;; "sysdeps/aix/Makefile" ) CONFIG_FILES="$CONFIG_FILES sysdeps/aix/Makefile" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/daemon/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;; diff -Nurd -x'*~' libgtop-2.10.2.orig/lib/read.c libgtop-2.10.2/lib/read.c --- libgtop-2.10.2.orig/lib/read.c 2005-02-15 07:48:33.000000000 -0500 +++ libgtop-2.10.2/lib/read.c 2005-08-09 19:02:17.000000000 -0400 @@ -59,7 +59,14 @@ if (server->socket) { do_read (server->socket, buf, size); } else { - if(read (server->input [0], buf, size) < 0) + size_t done = 0; + int ret = 0; + while (ret >= 0 && done < size) { + ret = read (server->input [0], (char*)buf + done, size - done); + if (ret > 0) + done += ret; + } + if (ret < 0) glibtop_error_io_r ( server, ngettext ("read %d byte", diff -Nurd -x'*~' libgtop-2.10.2.orig/ltmain.sh libgtop-2.10.2/ltmain.sh --- libgtop-2.10.2.orig/ltmain.sh 2005-06-13 05:10:03.000000000 -0400 +++ libgtop-2.10.2/ltmain.sh 2005-08-09 19:02:17.000000000 -0400 @@ -2272,7 +2272,7 @@ { test "$prefer_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes + need_relink=no fi # This is a shared library @@ -3764,8 +3764,24 @@ eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else + if test "x$verstring" = "x0.0"; then + tmp_verstring= + else + tmp_verstring="$verstring" + fi + save_deplibs="$deplibs" + for conv in $convenience; do + tmp_deplibs= + for test_deplib in $deplibs; do + if test "$test_deplib" != "$conv"; then + tmp_deplibs="$tmp_deplibs $test_deplib" + fi + done + deplibs="$tmp_deplibs" + done eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds + deplibs="$save_deplibs" fi fi ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits