From owner-svn-ports-head@FreeBSD.ORG Sat Nov 10 16:56:41 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CFEE6E6; Sat, 10 Nov 2012 16:56:41 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F238D8FC0C; Sat, 10 Nov 2012 16:56:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAGue8L062168; Sat, 10 Nov 2012 16:56:40 GMT (envelope-from db@svn.freebsd.org) Received: (from db@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAAGue6h062161; Sat, 10 Nov 2012 16:56:40 GMT (envelope-from db@svn.freebsd.org) Message-Id: <201211101656.qAAGue6h062161@svn.freebsd.org> From: Diane Bruce Date: Sat, 10 Nov 2012 16:56:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307294 - in head/comms/soundmodem: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 16:56:41 -0000 Author: db Date: Sat Nov 10 16:56:40 2012 New Revision: 307294 URL: http://svnweb.freebsd.org/changeset/ports/307294 Log: - update to latest 0.17 - unbreak amd64 build Feature safe: yes Added: head/comms/soundmodem/pkg-plist (contents, props changed) Deleted: head/comms/soundmodem/files/patch-libmisc_getopt.h head/comms/soundmodem/files/patch-pammodem_meas.c head/comms/soundmodem/files/patch-pskmodem_measpsk.c Modified: head/comms/soundmodem/Makefile (contents, props changed) head/comms/soundmodem/distinfo (contents, props changed) head/comms/soundmodem/files/patch-configapp_src_main.c (contents, props changed) head/comms/soundmodem/files/patch-configure (contents, props changed) head/comms/soundmodem/files/patch-soundcard_main.c (contents, props changed) head/comms/soundmodem/files/patch-soundcard_ptt.c (contents, props changed) Modified: head/comms/soundmodem/Makefile ============================================================================== --- head/comms/soundmodem/Makefile Sat Nov 10 16:52:43 2012 (r307293) +++ head/comms/soundmodem/Makefile Sat Nov 10 16:56:40 2012 (r307294) @@ -1,13 +1,7 @@ -# ports collection makefile for: soundmodem -# Date created: 4 November 2006 -# Whom: db -# # $FreeBSD$ -# PORTNAME= soundmodem -PORTVERSION= 0.10 -PORTREVISION= 3 +PORTVERSION= 0.17 CATEGORIES= comms hamradio MASTER_SITES= http://www.baycom.org/~tom/ham/soundmodem/ \ http://chronos.org.uk/distfiles/ @@ -21,23 +15,19 @@ CONFIGURE_ARGS= --disable-alsatest WRKSRC= ${WRKDIR}/${DISTNAME} USE_GMAKE= yes HAS_CONFIGURE= yes -ONLY_FOR_ARCHS= i386 -USE_GNOME= gtk12 libxml +USE_GNOME= gtk20 libxml2 MAN8= soundmodem.8 soundmodemconfig.8 -PLIST_FILES= bin/soundmodemconfig etc/rc.d/soundmodem \ - include/modem.h include/simd.h sbin/soundmodem pre-patch: @${CP} ${FILESDIR}/soundmodem ${WRKSRC} post-patch: - ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/soundcard/soundmodem.8 \ ${WRKSRC}/soundcard/main.c \ ${WRKSRC}/configapp/src/soundmodemconfig.8 \ ${WRKSRC}/configapp/src/main.c \ ${WRKSRC}/soundmodem - post-install: ${INSTALL_SCRIPT} ${WRKSRC}/soundmodem ${PREFIX}/etc/rc.d Modified: head/comms/soundmodem/distinfo ============================================================================== --- head/comms/soundmodem/distinfo Sat Nov 10 16:52:43 2012 (r307293) +++ head/comms/soundmodem/distinfo Sat Nov 10 16:56:40 2012 (r307294) @@ -1,2 +1,2 @@ -SHA256 (soundmodem-0.10.tar.gz) = e7a42c413a180b873ae76b2c252904a3e34c9807c2604f2315426443d9e28627 -SIZE (soundmodem-0.10.tar.gz) = 491112 +SHA256 (soundmodem-0.17.tar.gz) = 741cd31b645340e6371a5592452f29aa03991943c467d03d4da9353b8dbb5edb +SIZE (soundmodem-0.17.tar.gz) = 486024 Modified: head/comms/soundmodem/files/patch-configapp_src_main.c ============================================================================== --- head/comms/soundmodem/files/patch-configapp_src_main.c Sat Nov 10 16:52:43 2012 (r307293) +++ head/comms/soundmodem/files/patch-configapp_src_main.c Sat Nov 10 16:56:40 2012 (r307294) @@ -1,6 +1,6 @@ ---- configapp/src/main.c.orig Sun Nov 5 21:45:29 2006 -+++ configapp/src/main.c Sun Nov 5 21:45:50 2006 -@@ -358,7 +358,7 @@ +--- configapp/src/main.c.orig 2010-10-30 11:49:09.000000000 -0500 ++++ configapp/src/main.c 2012-11-05 17:20:25.000000000 -0500 +@@ -359,7 +359,7 @@ #else /* WIN32 */ static xmlDocPtr doc = NULL; Modified: head/comms/soundmodem/files/patch-configure ============================================================================== --- head/comms/soundmodem/files/patch-configure Sat Nov 10 16:52:43 2012 (r307293) +++ head/comms/soundmodem/files/patch-configure Sat Nov 10 16:56:40 2012 (r307294) @@ -1,22 +1,20 @@ ---- configure.orig Tue Sep 12 14:52:56 2006 -+++ configure Tue Sep 12 16:48:30 2006 -@@ -7912,7 +7912,8 @@ +--- configure.orig 2012-11-07 05:55:37.000000000 -0500 ++++ configure 2012-11-07 07:02:34.000000000 -0500 +@@ -844,7 +844,7 @@ + psdir='${docdir}' + libdir='${exec_prefix}/lib' + localedir='${datarootdir}/locale' +-mandir='${datarootdir}/man' ++mandir='${prefix}/man' + + ac_prev= + ac_dashdash= +@@ -7265,7 +7265,7 @@ int main () { - +#include -+printf("RUNNING a conftest!\n"); /* ensure backward compatibility */ #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR -@@ -7979,9 +7980,6 @@ - - echo "$as_me:$LINENO: result: not present." >&5 - echo "${ECHO_T}not present." >&6 -- { { echo "$as_me:$LINENO: error: Sufficiently new version of libasound not found." >&5 --echo "$as_me: error: Sufficiently new version of libasound not found." >&2;} -- { (exit 1); exit 1; }; } - alsa_found=no - - fi Modified: head/comms/soundmodem/files/patch-soundcard_main.c ============================================================================== --- head/comms/soundmodem/files/patch-soundcard_main.c Sat Nov 10 16:52:43 2012 (r307293) +++ head/comms/soundmodem/files/patch-soundcard_main.c Sat Nov 10 16:56:40 2012 (r307294) @@ -1,6 +1,6 @@ ---- soundcard/main.c.orig Sun Nov 5 21:44:34 2006 -+++ soundcard/main.c Sun Nov 5 21:44:53 2006 -@@ -354,7 +354,7 @@ +--- soundcard/main.c.orig 2010-10-30 11:49:10.000000000 -0500 ++++ soundcard/main.c 2012-11-05 17:22:52.000000000 -0500 +@@ -358,7 +358,7 @@ { "daemonize", 0, 0, 'D' }, { 0, 0, 0, 0 } }; Modified: head/comms/soundmodem/files/patch-soundcard_ptt.c ============================================================================== --- head/comms/soundmodem/files/patch-soundcard_ptt.c Sat Nov 10 16:52:43 2012 (r307293) +++ head/comms/soundmodem/files/patch-soundcard_ptt.c Sat Nov 10 16:56:40 2012 (r307294) @@ -1,60 +1,11 @@ ---- soundcard/ptt.c.orig Sat Nov 9 10:31:53 2002 -+++ soundcard/ptt.c Mon Apr 23 10:24:36 2007 -@@ -48,6 +48,9 @@ - - #ifdef HAVE_LINUX_PPDEV_H - #include -+#elif defined(__FreeBSD__) -+#include -+#include - #else - #include "ppdev.h" +--- soundcard/ptt.c.orig 2012-11-07 11:05:55.000000000 -0500 ++++ soundcard/ptt.c 2012-11-07 11:06:15.000000000 -0500 +@@ -176,7 +176,7 @@ #endif -@@ -62,7 +65,11 @@ - - struct modemparams pttparams[] = { - { "file", "PTT Driver", "Path name of the serial or parallel port driver for outputting PTT", "none", MODEMPAR_COMBO, -+#ifdef __FreeBSD__ -+ { c: { { "none", "/dev/ttyd0", "/dev/ttyd1", "/dev/ppi0", "/dev/ppi1" } } } }, -+#else - { c: { { "none", "/dev/ttyS0", "/dev/ttyS1", "/dev/parport0", "/dev/parport1" } } } }, -+#endif - { NULL } - }; -@@ -87,7 +94,11 @@ - if (!ioctl(fd, TIOCMBIC, &y)) { - state->fd = fd; - state->mode = serport; -+#ifdef __FreeBSD__ -+ } else if (!ioctl(fd, PPISDATA, &x)) { -+#else - } else if (!ioctl(fd, PPCLAIM, 0) && !ioctl(fd, PPRDATA, &x)) { -+#endif - state->fd = fd; - state->mode = parport; - } else { -@@ -122,7 +133,11 @@ - #endif - } else if (state->mode == parport) { - reg = state->ptt | (state->dcd << 1); -+#ifdef __FreeBSD__ -+ ioctl(state->fd, PPISDATA, ®); -+#else - ioctl(state->fd, PPWDATA, ®); -+#endif + logprintf(MLOG_INFO, "Opening PTT device \"%s\"\n", path); +- if ((fd = open(path, O_RDWR, 0)) < 0) { ++ if ((fd = open(path, O_RDWR|O_NONBLOCK, 0)) < 0) { + logprintf(MLOG_ERROR, "Cannot open PTT device \"%s\"\n", path); + return -1; } - } - -@@ -148,7 +163,11 @@ - #endif - } else if (state->mode == parport) { - reg = state->ptt | (state->dcd << 1); -+#ifdef __FreeBSD__ -+ ioctl(state->fd, PPISDATA, ®); -+#else - ioctl(state->fd, PPWDATA, ®); -+#endif - } - } - Added: head/comms/soundmodem/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/soundmodem/pkg-plist Sat Nov 10 16:56:40 2012 (r307294) @@ -0,0 +1,12 @@ +bin/soundmodemconfig +sbin/soundmodem +etc/rc.d/soundmodem +include/modem.h +include/simd.h +share/locale/fr/LC_MESSAGES/soundmodem.mo +share/locale/sv/LC_MESSAGES/soundmodem.mo +@dirrmtry share/locale/fr/LC_MESSAGES +@dirrmtry share/locale/sv/LC_MESSAGES +@dirrmtry share/locale/fr +@dirrmtry share/locale/sv +@dirrmtry share/locale