Date: Thu, 31 Jan 2019 02:04:30 +0000 (UTC) From: Diane Bruce <db@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491675 - in head/comms/fldigi: . files Message-ID: <201901310204.x0V24U5Y032910@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: db Date: Thu Jan 31 02:04:30 2019 New Revision: 491675 URL: https://svnweb.freebsd.org/changeset/ports/491675 Log: - Update to fldigi 4.1.00 - Restore OSS and pulseaudio options - Fix OSS bug in upstream code causing OSS to fail. =Version 4.1.0= 2019-01-29 David Freese <w1hkj@bellsouth.net> 39a76e8: po update 79c67d3: WWV doc 04e53b5: Winkeyer FSK b8ca88e: Contests b197c75: arq-override 8572f35: flmsg-dir 02c66eb: contest-docs 9d85169: fldigi_def.xml 20e2c02: socket_mods e1c2d80: Fltk 1.4 mod 5ffd6f5: wefax fb1fd67: nanoIO 7d604b8: CW SOM table 4eec8f2: flrig: macro 99b0a01: Audio adjust docs 146bd7e: feldhell 6b5c93a: C-11 fixes ccbd52f: nano FSK ed6a7db: Mint-19/Mate e9c0f2d: Signal Browser documentation fbb0654: flrig seg fault Added: head/comms/fldigi/files/patch-src_soundcard_sound.cxx (contents, props changed) Modified: head/comms/fldigi/Makefile head/comms/fldigi/distinfo head/comms/fldigi/files/patch-src_misc_newinstall.cxx head/comms/fldigi/files/patch-src_waterfall_raster.cxx (contents, props changed) Modified: head/comms/fldigi/Makefile ============================================================================== --- head/comms/fldigi/Makefile Thu Jan 31 01:50:17 2019 (r491674) +++ head/comms/fldigi/Makefile Thu Jan 31 02:04:30 2019 (r491675) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= fldigi -PORTVERSION= 4.0.18 -PORTREVISION= 2 +PORTVERSION= 4.1.00 CATEGORIES= comms hamradio MASTER_SITES= SF/${PORTNAME}/${PORTNAME} @@ -23,26 +22,34 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs\ libsamplerate.so:audio/libsamplerate USES= autoreconf compiler:c++11-lib jpeg gmake perl5 pkgconfig shebangfix + USE_CXXSTD= gnu++0x GNU_CONFIGURE= yes USE_XORG= x11 xft xext xfixes xcursor xinerama CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" \ EXTRA_LIBS="-lexecinfo" -OPTIONS_DEFINE= NATIVE_OPT FLARQ PULSEAUDIO HAMLIB NLS DOCS +OPTIONS_DEFINE= NATIVE_OPT FLARQ OSS SNDFILE PORTAUDIO PULSEAUDIO HAMLIB NLS DOCS NATIVE_OPT_DESC= Enable Native Optimizations FLARQ_DESC= Compile flarq +OSS_DESC= Support OSS +SNDFILE_DESC= Support for libsndfile +PORTAUDIO_DESC= PortAudio support PULSEAUDIO_DESC= PulseAudio support HAMLIB_DESC= Support rig control via hamlib -OPTIONS_DEFAULT= FLARQ HAMLIB +OPTIONS_DEFAULT= FLARQ OSS HAMLIB OPTIONS_SUB= yes NATIVE_OPT_CONFIGURE_ON= --enable-optimizations=native NATIVE_OPT_CONFIGURE_OFF= --enable-optimizations=none FLARQ_CONFIGURE_ENABLE= flarq OSS_CONFIGURE_ENABLE= oss +SNDFILE_CONFIGURE_WITH= sndfile +SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile +PORTAUDIO_CONFIGURE_WITH= portaudio +PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio HAMLIB_CONFIGURE_WITH= hamlib Modified: head/comms/fldigi/distinfo ============================================================================== --- head/comms/fldigi/distinfo Thu Jan 31 01:50:17 2019 (r491674) +++ head/comms/fldigi/distinfo Thu Jan 31 02:04:30 2019 (r491675) @@ -1,3 +1,3 @@ -TIMESTAMP = 1534289571 -SHA256 (fldigi-4.0.18.tar.gz) = e71e317f6b1ed63094193e953a4d096639cc2708244515a77646e997644f7f28 -SIZE (fldigi-4.0.18.tar.gz) = 3757912 +TIMESTAMP = 1548774122 +SHA256 (fldigi-4.1.00.tar.gz) = 1ab857ee163843e9a7c8f9fc81bea9c1ebf7ff70fcbf1f6712a0b53b2eb1a2c2 +SIZE (fldigi-4.1.00.tar.gz) = 3916169 Modified: head/comms/fldigi/files/patch-src_misc_newinstall.cxx ============================================================================== --- head/comms/fldigi/files/patch-src_misc_newinstall.cxx Thu Jan 31 01:50:17 2019 (r491674) +++ head/comms/fldigi/files/patch-src_misc_newinstall.cxx Thu Jan 31 02:04:30 2019 (r491675) @@ -1,6 +1,6 @@ ---- src/misc/newinstall.cxx.orig 2017-10-28 00:24:34 UTC +--- src/misc/newinstall.cxx.orig 2018-02-24 13:42:49 UTC +++ src/misc/newinstall.cxx -@@ -67,7 +67,7 @@ text[3] = " btu <NAME> <CALL> de <MYCALL +@@ -67,7 +67,7 @@ text[3] = " btu <NAME> <CALL> de <MYCALL> k\n\ label[4] = "SK @||"; text[4] = "\n\ Added: head/comms/fldigi/files/patch-src_soundcard_sound.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_soundcard_sound.cxx Thu Jan 31 02:04:30 2019 (r491675) @@ -0,0 +1,44 @@ +--- src/soundcard/sound.cxx.orig 2018-12-06 14:41:46 UTC ++++ src/soundcard/sound.cxx +@@ -651,7 +651,27 @@ int SoundOSS::Open(int md, int freq) + oflags = oflags | O_CLOEXEC; + # endif + ++#ifdef __FreeBSD__ ++/* ++ * In FreeBSD sound devices e.g. /dev/dsp0.0 can only be open once ++ * whereas /dev/dsp0 can be open multiple times. fldigi tries ++ * to open /dev/dsp0.0 multiple times which fails. Also see man 4 sound. ++ * "For specific sound card access, please instead use /dev/dsp or /dev/dsp%d" ++ * This is a hack. XXX - db VA3DB ++ */ ++ char *fixed_name; ++ char *p; ++ /* Look for a '.' if found, blow it away */ ++ fixed_name = strdup(device.c_str()); ++ p = fixed_name; ++ while (*p++) ++ if(*p == '.') ++ *p = '\0'; ++ device_fd = fl_open(fixed_name, oflags, 0); ++ free(fixed_name); ++#else + device_fd = fl_open(device.c_str(), oflags, 0); ++#endif + if (device_fd == -1) + throw SndException(errno); + +@@ -677,12 +697,11 @@ void SoundOSS::Close(unsigned dir) + void SoundOSS::getVersion() + { + version = 0; +-#ifndef __FreeBSD__ ++ + if (ioctl(device_fd, OSS_GETVERSION, &version) == -1) { + version = -1; + throw SndException("OSS Version"); + } +-#endif + } + + void SoundOSS::getCapabilities() Modified: head/comms/fldigi/files/patch-src_waterfall_raster.cxx ============================================================================== --- head/comms/fldigi/files/patch-src_waterfall_raster.cxx Thu Jan 31 01:50:17 2019 (r491674) +++ head/comms/fldigi/files/patch-src_waterfall_raster.cxx Thu Jan 31 02:04:30 2019 (r491675) @@ -1,6 +1,6 @@ ---- src/waterfall/raster.cxx.orig 2018-08-11 23:26:43 UTC +--- src/waterfall/raster.cxx.orig 2018-02-24 13:42:49 UTC +++ src/waterfall/raster.cxx -@@ -169,6 +169,10 @@ void Raster::resize(int x, int y, int w, +@@ -169,6 +169,10 @@ void Raster::resize(int x, int y, int w, int h) while ((Ndest * rhs) < Hdest) Ndest++; Ndest--;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901310204.x0V24U5Y032910>