[Midnightbsd-cvs] mports [18979] trunk/audio/liblo: liblo 0.28

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri May 15 19:06:55 EDT 2015


Revision: 18979
          http://svnweb.midnightbsd.org/mports/?rev=18979
Author:   laffer1
Date:     2015-05-15 19:06:55 -0400 (Fri, 15 May 2015)
Log Message:
-----------
liblo 0.28

Modified Paths:
--------------
    trunk/audio/liblo/Makefile
    trunk/audio/liblo/distinfo
    trunk/audio/liblo/files/patch-src-lo_types_internal.h
    trunk/audio/liblo/pkg-descr
    trunk/audio/liblo/pkg-plist

Added Paths:
-----------
    trunk/audio/liblo/files/patch-src-messages.c

Removed Paths:
-------------
    trunk/audio/liblo/files/patch-src-server.c

Property Changed:
----------------
    trunk/audio/liblo/files/patch-src-lo_types_internal.h

Modified: trunk/audio/liblo/Makefile
===================================================================
--- trunk/audio/liblo/Makefile	2015-05-15 23:04:03 UTC (rev 18978)
+++ trunk/audio/liblo/Makefile	2015-05-15 23:06:55 UTC (rev 18979)
@@ -1,7 +1,7 @@
 # $MidnightBSD$
 
 PORTNAME=	liblo
-PORTVERSION=	0.26
+PORTVERSION=	0.28
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
@@ -11,8 +11,39 @@
 LICENSE=	lgpl2.1
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+INSTALL_TARGET=	install-strip
+USES=		gmake libtool pathfix
 USE_LDCONFIG=	yes
-USES=	pathfix
 
+PORTDOCS=	*
+PORTEXAMPLES=	example_client example_server \
+		example_tcp_echo_server nonblocking_server_example
+
+OPTIONS_DEFINE=	DOXYGEN DOCS EXAMPLES
+OPTIONS_SUB=	yes
+
+DOXYGEN_BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
+
+.include <bsd.mport.options.mk>
+
+post-patch:
+.if ${ARCH} == i386
+	@${REINPLACE_CMD} -e 's,deadbeef,, ; s,f00baa23,,' \
+		${WRKSRC}/lo/lo_macros.h
+.endif
+
+post-install:
+	@${MKDIR} ${DOCSDIR}
+.for f in AUTHORS ChangeLog NEWS README TODO
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.if ${PORT_OPTIONS:MDOXYGEN}
+	(cd ${WRKSRC}/doc/man/man3 && ${INSTALL_MAN} l*.3 p*.3 \
+		${STAGEDIR}${MAN3PREFIX}/man/man3/)
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
+.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
+		${STAGEDIR}${EXAMPLESDIR}
+
 .include <bsd.port.mk>

Modified: trunk/audio/liblo/distinfo
===================================================================
--- trunk/audio/liblo/distinfo	2015-05-15 23:04:03 UTC (rev 18978)
+++ trunk/audio/liblo/distinfo	2015-05-15 23:06:55 UTC (rev 18979)
@@ -1,2 +1,2 @@
-SHA256 (liblo-0.26.tar.gz) = a636fb09f8178ad0d5303e94fec37b182d3062a0e3daee85eed2a39ab6232258
-SIZE (liblo-0.26.tar.gz) = 519750
+SHA256 (liblo-0.28.tar.gz) = da94a9b67b93625354dd89ff7fe31e5297fc9400b6eaf7378c82ee1caf7db909
+SIZE (liblo-0.28.tar.gz) = 591659

Modified: trunk/audio/liblo/files/patch-src-lo_types_internal.h
===================================================================
--- trunk/audio/liblo/files/patch-src-lo_types_internal.h	2015-05-15 23:04:03 UTC (rev 18978)
+++ trunk/audio/liblo/files/patch-src-lo_types_internal.h	2015-05-15 23:06:55 UTC (rev 18979)
@@ -1,10 +1,18 @@
---- src/lo_types_internal.h.orig	Mon Dec  4 23:29:22 2006
-+++ src/lo_types_internal.h	Mon Dec  4 23:29:32 2006
-@@ -9,6 +9,7 @@
+--- src/lo_types_internal.h.orig	2013-05-22 18:34:31.000000000 +0200
++++ src/lo_types_internal.h	2013-06-24 01:54:53.000000000 +0200
+@@ -20,6 +20,7 @@
+ #else
+ #define closesocket close
+ #include <netdb.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
  #endif
  
+@@ -33,6 +34,7 @@
+ 
+ #ifdef ENABLE_THREADS
  #include <pthread.h>
 +#include <sys/socket.h>
+ #endif
  
  #include "lo/lo_osc_types.h"
- 


Property changes on: trunk/audio/liblo/files/patch-src-lo_types_internal.h
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Added: trunk/audio/liblo/files/patch-src-messages.c
===================================================================
--- trunk/audio/liblo/files/patch-src-messages.c	                        (rev 0)
+++ trunk/audio/liblo/files/patch-src-messages.c	2015-05-15 23:06:55 UTC (rev 18979)
@@ -0,0 +1,13 @@
+--- src/message.c.orig	2014-01-20 12:49:42.000000000 +0100
++++ src/message.c	2014-12-03 23:02:28.000000000 +0100
+@@ -996,8 +996,8 @@ void lo_message_pp(lo_message m)
+     putchar('\n');
+     if (d != end) {
+         fprintf(stderr,
+-                "liblo warning: type and data do not match (off by %d) in message %p\n",
+-                abs((char *) d - (char *) end), m);
++                "liblo warning: type and data do not match (off by %td) in message %p\n",
++                d >= end ? (char *) d - (char *) end : (char *) end - (char *) d, m);
+     }
+ }
+ 


Property changes on: trunk/audio/liblo/files/patch-src-messages.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Deleted: trunk/audio/liblo/files/patch-src-server.c
===================================================================
--- trunk/audio/liblo/files/patch-src-server.c	2015-05-15 23:04:03 UTC (rev 18978)
+++ trunk/audio/liblo/files/patch-src-server.c	2015-05-15 23:06:55 UTC (rev 18979)
@@ -1,43 +0,0 @@
---- src/server.c.orig	2009-03-06 08:09:26.000000000 +0100
-+++ src/server.c	2009-03-28 10:19:58.000000000 +0100
-@@ -958,38 +958,11 @@ static void dispatch_method(lo_server s,
- 
-     //inet_ntop(s->addr.ss_family, &s->addr.padding, hostname, sizeof(hostname));
-     if (s->protocol == LO_UDP && s->addr_len>0) {
--	err = getnameinfo((struct sockaddr *)&s->addr, sizeof(s->addr),
-+	err = getnameinfo((struct sockaddr *)&s->addr, s->addr.ss_len,
- 	    hostname, sizeof(hostname), portname, sizeof(portname),
- 	    NI_NUMERICHOST | NI_NUMERICSERV);
- 	if (err) {
--	    switch (err) {
--	    case EAI_AGAIN:
--		lo_throw(s, err, "Try again", path);
--		break;
--	    case EAI_BADFLAGS:
--		lo_throw(s, err, "Bad flags", path);
--		break;
--	    case EAI_FAIL:
--		lo_throw(s, err, "Failed", path);
--		break;
--	    case EAI_FAMILY:
--		lo_throw(s, err, "Cannot resolve address family", path);
--		break;
--	    case EAI_MEMORY:
--		lo_throw(s, err, "Out of memory", path);
--		break;
--	    case EAI_NONAME:
--		lo_throw(s, err, "Cannot resolve", path);
--		break;
--#ifndef WIN32
--	    case EAI_SYSTEM:
--		lo_throw(s, err, strerror(err), path);
--		break;
--#endif
--	    default:
--		lo_throw(s, err, "Unknown error", path);
--		break;
--	    }
-+	    lo_throw(s, err, gai_strerror(err), path);
- 
- 	    return;
- 	}

Modified: trunk/audio/liblo/pkg-descr
===================================================================
--- trunk/audio/liblo/pkg-descr	2015-05-15 23:04:03 UTC (rev 18978)
+++ trunk/audio/liblo/pkg-descr	2015-05-15 23:06:55 UTC (rev 18979)
@@ -1,4 +1,8 @@
-liblo is an implementation of the Open Sound Control
-protocol for POSIX systems.
+liblo is a lightweight library that provides an easy to use implementation of
+the Open Sound Control protocol for POSIX systems. For more information about
+the Open Sound Control protocol, please see:
 
+  - http://www.cnmat.berkeley.edu/OpenSoundControl/
+  - http://www.opensoundcontrol.org/
+
 WWW: http://liblo.sourceforge.net/

Modified: trunk/audio/liblo/pkg-plist
===================================================================
--- trunk/audio/liblo/pkg-plist	2015-05-15 23:04:03 UTC (rev 18978)
+++ trunk/audio/liblo/pkg-plist	2015-05-15 23:06:55 UTC (rev 18979)
@@ -1,15 +1,26 @@
 bin/oscdump
 bin/oscsend
+include/lo/lo.h
+include/lo/lo_cpp.h
+include/lo/lo_endian.h
 include/lo/lo_errors.h
-include/lo/lo.h
 include/lo/lo_lowlevel.h
+include/lo/lo_macros.h
+include/lo/lo_osc_types.h
+include/lo/lo_serverthread.h
 include/lo/lo_throw.h
 include/lo/lo_types.h
-include/lo/lo_osc_types.h
-include/lo/lo_endian.h
-include/lo/lo_macros.h
+lib/liblo.so
 lib/liblo.so.7
-lib/liblo.so
-lib/liblo.la
+lib/liblo.so.7.2.0
 libdata/pkgconfig/liblo.pc
- at dirrm include/lo
+%%DOXYGEN%%man/man3/liblo.3.gz
+%%DOXYGEN%%man/man3/liblolowlevel.3.gz
+%%DOXYGEN%%man/man3/lo.h.3.gz
+%%DOXYGEN%%man/man3/lo_arg.3.gz
+%%DOXYGEN%%man/man3/lo_lowlevel.h.3.gz
+%%DOXYGEN%%man/man3/lo_osc_types.h.3.gz
+%%DOXYGEN%%man/man3/lo_serverthread.h.3.gz
+%%DOXYGEN%%man/man3/lo_timetag.3.gz
+%%DOXYGEN%%man/man3/lo_types.h.3.gz
+%%DOXYGEN%%man/man3/pp.3.gz



More information about the Midnightbsd-cvs mailing list