Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv25174
Added Files: libhowl-dev.info libhowl-dev.patch Removed Files: libhowl.info libhowl.patch Log Message: latest version to stable --- libhowl.patch DELETED --- --- NEW FILE: libhowl-dev.patch --- diff -Nurd -x'*~' howl-1.0.0.orig/configure howl-1.0.0/configure --- howl-1.0.0.orig/configure 2005-05-19 18:29:51.000000000 -0400 +++ howl-1.0.0/configure 2005-09-07 14:46:05.000000000 -0400 @@ -8513,7 +8513,7 @@ LIB_SUBDIRS="howl" HOWL_LIB_SUBDIRS=MacOSX HOWL_LIB_OBJECTS='macosx_salt.lo macosx_socket.lo macosx_time.lo macosx_mdns_stub.lo' - PLATFORM_LIBS="-framework CoreFoundation" + PLATFORM_LIBS="-Wl,-framework,CoreFoundation" HOWL_MAN_PAGES= ;; *-*-linux*) diff -aur howl-1.0.0/src/lib/howl/MacOSX/macosx_salt.c howl-1.0.0.patched/src/lib/howl/MacOSX/macosx_salt.c --- howl-1.0.0/src/lib/howl/MacOSX/macosx_salt.c 2004-07-29 08:18:36.000000000 +0200 +++ howl-1.0.0.patched/src/lib/howl/MacOSX/macosx_salt.c 2005-06-11 20:10:56.000000000 +0200 @@ -66,6 +66,7 @@ char ** argv) { sw_result err = SW_OKAY; + pthread_mutexattr_t attrs; *salt = (sw_salt) sw_malloc(sizeof(struct _sw_salt)); err = sw_translate_error(*salt, SW_E_MEM); @@ -76,6 +77,8 @@ (*salt)->m_sockets.m_prev = NULL; (*salt)->m_step = SW_FALSE; + pthread_mutexattr_settype(&attrs, PTHREAD_MUTEX_RECURSIVE); + pthread_mutex_init(&(*salt)->m_mutex, &attrs); signal(SIGPIPE, SIG_IGN); exit: @@ -180,6 +183,22 @@ return SW_OKAY; } +sw_result +sw_salt_lock( + sw_salt self) +{ + sw_assert(self); + pthread_mutex_lock(&self->m_mutex); +} + +sw_result +sw_salt_unlock( + sw_salt self) +{ + sw_assert(self); + pthread_mutex_unlock(&self->m_mutex); +} + sw_result sw_salt_step( diff -aur howl-1.0.0/src/lib/howl/MacOSX/macosx_salt.h howl-1.0.0.patched/src/lib/howl/MacOSX/macosx_salt.h --- howl-1.0.0/src/lib/howl/MacOSX/macosx_salt.h 2004-02-11 02:38:52.000000000 +0100 +++ howl-1.0.0.patched/src/lib/howl/MacOSX/macosx_salt.h 2005-06-11 20:13:21.000000000 +0200 @@ -33,7 +33,7 @@ #include "macosx_socket.h" #include "macosx_time.h" #include <sys/errno.h> - +#include <pthread.h> #ifdef __cplusplus extern "C" @@ -46,6 +46,7 @@ CFRunLoopRef m_cf_run_loop; struct _sw_macosx_socket m_sockets; struct _sw_macosx_timer m_timers; + pthread_mutex_t m_mutex; sw_bool m_step; }; diff -Nurd -x'*~' howl-1.0.0.orig/src/lib/howl/Makefile.in howl-1.0.0/src/lib/howl/Makefile.in --- howl-1.0.0.orig/src/lib/howl/Makefile.in 2005-05-19 18:29:28.000000000 -0400 +++ howl-1.0.0/src/lib/howl/Makefile.in 2006-08-08 15:42:58.000000000 -0400 @@ -105,7 +105,7 @@ libhowl_la_SOURCES = $(sources_h) $(sources_c) libhowl_la_LDFLAGS = -version-info $(HOWL_LIBRARY_VERSION) EXTRA_libhowl_la_SOURCES = MacOSX/macosx_salt.c MacOSX/macosx_socket.c MacOSX/macosx_time.c MacOSX/macosx_mdns_stub.c Posix/posix_salt.c Posix/posix_socket.c Posix/posix_time.c Posix/posix_signal.c Posix/posix_interface.c NotOSX/notosx_mdns_stub.c -libhowl_la_LIBADD = @HOWL_LIB_OBJECTS@ +libhowl_la_LIBADD = @HOWL_LIB_OBJECTS@ $(PLATFORM_LIBS) libhowl_la_DEPENDENCIES = @HOWL_LIB_OBJECTS@ subdir = src/lib/howl mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs --- NEW FILE: libhowl-dev.info --- Package: libhowl-dev Version: 1.0.0 Revision: 17 ### Depends: libhowl-shlibs (= %v-%r) Replaces: libhowl-shlibs (<< 1.0.0-11) BuildDependsOnly: true ### Source: http://www.porchdogsoft.com/download/howl-%v.tar.gz Source-MD5: c389d3ffba0e69a179de2ec650f1fdcc Patch: %n.patch ### NoSetLDFLAGS: true ### DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO ### ConfigureParams: --with-pic --mandir=%i/share/man --disable-dependency-tracking ### SplitOff: << Package: libhowl-shlibs Files: << lib/libhowl.0*.dylib << Shlibs: << %p/lib/libhowl.0.dylib 1.0.0 %n (>= 1.0.0-11) << DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO << SplitOff2: << Package: libhowl-bin Depends: libhowl-shlibs (>= %v-%r) Files: << bin share/man << DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO << ### Description: Cross-platform implementation of Zeroconf DescDetail: << Branded as Rendezvous(tm) by Apple Computer, Inc., Zeroconf standardizes networking protocols for delivering hassle-free ad-hoc networking, service discovery and IP configuration. This ease of use, enjoyed by users of Mac OS X, is now available as an SDK for Windows 2000/XP and many flavors of Unix. Howl allows software developers to easily embed Zeroconf functionality in their applications, making cumbersome and error-prone network configuration tasks seem so five minutes ago. Give your users what they want. Give them simple, elegant networking. Give them Howl. Howl is open-source and royalty-free. We ask only that any fixes or improvements you make are fed back to us so we can ensure that we provide the most stable, best-quality cross-platform software for Zeroconf/Rendezvous networking. << DescPort: << jfm added a patch (from darwinports) to ensure that esp. _sw_salt_lock and _sw_salt_unlock are well defined, else eg the build of gnome-vfs2 in exp/gnome2.8 goes wrong (same with current version) in 1.0.0-11. dmacks patched how configure defines PLATFORM_LIBS so we don't get a .pc file that confuses pkg-config and to link libhowl against its dependent framework. << DescPackaging: << dmacks moved the dev files from libhowl and libhowl-shlibs to libhowl-dev and added DocFiles to all pkgs in the family in 1.0.0-11 and removed the now-unused libhowl bundle in 1.0.0-16. << DescUsage: << None of the components that have manpages are installed, so there are no manpages at all. The API has docs in %p/share/doc/howl (part of the libhowl-dev package). << ### License: GPL Maintainer: Darian Lanx <[EMAIL PROTECTED]> Homepage: http://www.porchdogsoft.com/products/howl/ --- libhowl.info DELETED --- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs