Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 10:37:07 GMT
From:      Stephen Hurd <shurd@sasktel.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188454: New port: comms/flrig Ham Radio rig control program, cooperates with fldigi
Message-ID:  <201404111037.s3BAb7m5084044@cgiserv.freebsd.org>
Resent-Message-ID: <201404111040.s3BAe0TY020220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188454
>Category:       ports
>Synopsis:       New port: comms/flrig Ham Radio rig control program, cooperates with fldigi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 10:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD portable 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Flrig is a transceiver control program designed to be used either stand alone
or as an adjunct to fldigi.  The supported transceivers all have some degree
of CAT.  The flrig user interface changes to accommodate the degree of CAT
support available for the transceiver in use. 

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	flrig
#	flrig/files
#	flrig/files/patch-configure
#	flrig/files/patch-src_xmlrpcpp_base64.h
#	flrig/files/patch-src_debug.cxx
#	flrig/pkg-plist
#	flrig/pkg-descr
#	flrig/distinfo
#	flrig/Makefile
#
echo c - flrig
mkdir -p flrig > /dev/null 2>&1
echo c - flrig/files
mkdir -p flrig/files > /dev/null 2>&1
echo x - flrig/files/patch-configure
sed 's/^X//' >flrig/files/patch-configure << '835f97e404a04d958912528e11add4a6'
X--- configure.orig	2014-04-08 22:42:56.000000000 -0700
X+++ configure	2014-04-08 22:43:21.000000000 -0700
X@@ -7205,7 +7205,7 @@
X           FLTK_LIBS=`$FLTK_CONFIG --ldflags --use-images`
X           if test "x$target_mingw32" != "xyes"; then
X               if test "x$target_darwin" != "xyes"; then
X-                  if grep -q "lX11" <<< "$FLTK_LIBS"; then
X+                  if echo "$FLTK_LIBS" | grep -q "lX11"; then
X                       FLTK_LIBS="$FLTK_LIBS";
X                   else
X                       FLTK_LIBS="$FLTK_LIBS -lm -lX11";
835f97e404a04d958912528e11add4a6
echo x - flrig/files/patch-src_xmlrpcpp_base64.h
sed 's/^X//' >flrig/files/patch-src_xmlrpcpp_base64.h << 'dd70fe038a33908f8e70e5366256da47'
X--- src/xmlrpcpp/base64.h.orig	2014-04-08 23:01:00.000000000 -0700
X+++ src/xmlrpcpp/base64.h	2014-04-08 23:01:12.000000000 -0700
X@@ -10,6 +10,7 @@
X #define __BASE64_H_INCLUDED__ 1
X 
X #include <iterator>
X+#include <ios>
X 
X static
X int _base64Chars[]= {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
dd70fe038a33908f8e70e5366256da47
echo x - flrig/files/patch-src_debug.cxx
sed 's/^X//' >flrig/files/patch-src_debug.cxx << '9ca8811220e6d834e1cd30d6db93e1d2'
X--- src/debug.cxx.orig	2013-08-29 02:59:21.000000000 -0700
X+++ src/debug.cxx	2014-04-11 03:02:01.000000000 -0700
X@@ -126,7 +126,7 @@
X 
X 	vsnprintf(sztemp, sizeof(sztemp), fmt, args);
X 	estr.append(sztemp);
X-	vfprintf(wfile, fmt, args);
X+	fputs(sztemp, wfile);
X 
X 	va_end(args);
X 
X@@ -149,16 +149,14 @@
X 
X 	vsnprintf(sztemp, sizeof(sztemp), fmt, args);
X 	estr.append(sztemp);
X-	vfprintf(wfile, fmt, args);
X+	fputs(sztemp, wfile);
X 	va_end(args);
X 
X 	fflush(wfile);
X 
X 	if (tty) {
X 		if (level <= DEBUG_LEVEL && level >= QUIET_LEVEL) {
X-			va_start(args, format);
X-			vfprintf(stderr, fmt, args);
X-			va_end(args);
X+			fputs(sztemp, stderr);
X 		}
X 	}
X 
9ca8811220e6d834e1cd30d6db93e1d2
echo x - flrig/pkg-plist
sed 's/^X//' >flrig/pkg-plist << '4eb41141b614a5d4408916b638cab993'
Xbin/flrig
Xshare/applications/flrig.desktop
Xshare/pixmaps/flrig.xpm
Xshare/licenses/flrig-1.3.13/catalog.mk
Xshare/licenses/flrig-1.3.13/LICENSE
Xshare/licenses/flrig-1.3.13/GPLv2
4eb41141b614a5d4408916b638cab993
echo x - flrig/pkg-descr
sed 's/^X//' >flrig/pkg-descr << '49b6db419b8e6fb59b984941aab0f3a9'
XFlrig is a transceiver control program designed to be used either stand alone
Xor as an adjunct to fldigi.  The supported transceivers all have some degree
Xof CAT.  The flrig user interface changes to accommodate the degree of CAT
Xsupport available for the transceiver in use. 
X
XWWW: http://www.w1hkj.com/flrig-help/index.html
49b6db419b8e6fb59b984941aab0f3a9
echo x - flrig/distinfo
sed 's/^X//' >flrig/distinfo << 'e3987d551f2e65202396b18116d15c80'
XSHA256 (flrig-1.3.13.tar.gz) = c5238bc72dc04a2b2ba741e093672990ec9ceecc7bfc4137b76d9e01a89dfdbb
XSIZE (flrig-1.3.13.tar.gz) = 578415
e3987d551f2e65202396b18116d15c80
echo x - flrig/Makefile
sed 's/^X//' >flrig/Makefile << 'f277936d67ad7f924ecf2a05a05dabb7'
X# Created by: Stephen Hurd <shurd@sasktel.net>
X# $FreeBSD: $
X
XPORTNAME=	flrig
XPORTVERSION=	1.3.13
XCATEGORIES=	comms hamradio
XMASTER_SITES=	http://www.w1hkj.com/downloads/flrig/
X
XMAINTAINER=	shurd@sasktel.net
XCOMMENT=	Ham Radio rig control program, cooperates with fldigi
X
XLICENSE=	GPLv2
X
XLIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
X
XUSES=		gmake
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	FLTK_CONFIG="${LOCALBASE}/bin/fltk-config"
X
XOPTIONS_DEFINE=	NATIVE_OPT
X
XNATIVE_OPT_DESC=	Enable Native Optimizations
X
X.include <bsd.port.pre.mk>
X
X.if ${PORT_OPTIONS:MNATIVE_OPT}
XCONFIGURE_ARGS+=--enable-optimizations=native
X.else
XCONFIGURE_ARGS+=--enable-optimizations=none
X.endif
X
X.include <bsd.port.mk>
f277936d67ad7f924ecf2a05a05dabb7
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404111037.s3BAb7m5084044>