Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/libs
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10540/10.4-transitional/unstable/main/finkinfo/libs
Added Files:
libhowl-dev.info libhowl-dev.patch
Removed Files:
libhowl.info libhowl.patch
Log Message:
Remove unused and useless "libhowl" package itself.
--- 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;
};
--- NEW FILE: libhowl-dev.info ---
Package: libhowl-dev
Version: 1.0.0
Revision: 16
###
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
###
SetCPPFLAGS: -no-cpp-precomp
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.
<<
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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits