Date: Sat, 8 Feb 2020 03:43:24 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525515 - in head/comms: . flamp flamp/files Message-ID: <202002080343.0183hOsX017557@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Feb 8 03:43:23 2020 New Revision: 525515 URL: https://svnweb.freebsd.org/changeset/ports/525515 Log: New port: comms/flamp: Program for the Amateur Multicast Protocol Added: head/comms/flamp/ head/comms/flamp/Makefile (contents, props changed) head/comms/flamp/distinfo (contents, props changed) head/comms/flamp/files/ head/comms/flamp/files/patch-src_flamp.cxx (contents, props changed) head/comms/flamp/files/patch-src_utils_transmit__camp.cxx (contents, props changed) head/comms/flamp/pkg-descr (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Sat Feb 8 01:10:30 2020 (r525514) +++ head/comms/Makefile Sat Feb 8 03:43:23 2020 (r525515) @@ -44,6 +44,7 @@ SUBDIR += efax SUBDIR += ems-flasher SUBDIR += fl_moxgen + SUBDIR += flamp SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog Added: head/comms/flamp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/Makefile Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= flamp +DISTVERSION= 2.2.05 +CATEGORIES= comms hamradio +MASTER_SITES= https://iweb.dl.sourceforge.net/project/fldigi/flamp/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Program for the Amateur Multicast Protocol + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ + libfontconfig.so:x11-fonts/fontconfig \ + libpng16.so:graphics/png +RUN_DEPENDS= fldigi:comms/fldigi + +USES= gmake jpeg pkgconfig xorg +USE_XORG= x11 xcursor xext xfixes xft xinerama xrender + +GNU_CONFIGURE= yes + +PLIST_FILES= bin/flamp \ + share/applications/flamp.desktop \ + share/pixmaps/flamp.xpm + +.include <bsd.port.mk> Added: head/comms/flamp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/distinfo Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,3 @@ +TIMESTAMP = 1581130407 +SHA256 (flamp-2.2.05.tar.gz) = 64b2c13d4053571b471fc2a840dfb0175a6135fd154811a1c1ebb806e19be1a7 +SIZE (flamp-2.2.05.tar.gz) = 518900 Added: head/comms/flamp/files/patch-src_flamp.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/files/patch-src_flamp.cxx Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,29 @@ +--- src/flamp.cxx.orig 2020-02-08 03:11:19 UTC ++++ src/flamp.cxx +@@ -838,7 +838,7 @@ void addfile(std::string xmtfname, void *rx, bool useC + int use_comp_on_file = 0; + int use_forced_comp_on_file = 0; + +- if(rx > 0 && !rAmp->rx_completed()) { ++ if(rx != nullptr && !rAmp->rx_completed()) { + fl_alert2("Only completed files can be transfered"); + return; + } +@@ -934,7 +934,7 @@ void addfile(std::string xmtfname, void *rx, bool useC + + LOG_INFO("File added to transmit queue: %s", xmtfname.c_str()); + +- if(rx > 0) { ++ if(rx != nullptr) { + cAmp *rAmp = (cAmp *) rx; + int xfrBlockSize = rAmp->rx_blocksize_int(); + +@@ -2649,7 +2649,7 @@ int parse_args(int argc, char **argv, int& idx) + + + if (strcasecmp(argv[idx], "--version") == 0) { +- printf("Version: "VERSION"\n"); ++ printf("Version: " VERSION "\n"); + exit (0); + } + return 0; Added: head/comms/flamp/files/patch-src_utils_transmit__camp.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/files/patch-src_utils_transmit__camp.cxx Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,11 @@ +--- src/utils/transmit_camp.cxx.orig 2020-02-08 03:12:42 UTC ++++ src/utils/transmit_camp.cxx +@@ -285,7 +285,7 @@ void * create_tx_table(void *ptr) + + LOG_DEBUG("Mode %s overhead=%f", mode_name.c_str(), overhead); + +- fprintf(fd, "\t{\n\t\t(char *) \"%s\", 1.0, "P_RELSOL2", \n\t\t{\n\t\t\t", mode_name.c_str(), overhead); ++ fprintf(fd, "\t{\n\t\t(char *) \"%s\", 1.0, " P_RELSOL2 ", \n\t\t{\n\t\t\t", mode_name.c_str(), overhead); + fflush(fd); + + if(mode_name.find("Olivia") != string::npos || mode_name.find("MT63") != string::npos) { Added: head/comms/flamp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/flamp/pkg-descr Sat Feb 8 03:43:23 2020 (r525515) @@ -0,0 +1,3 @@ +A program for the Amateur Multicast Protocol, working with fldigi. + +WWW: https://sourceforge.net/projects/fldigi/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002080343.0183hOsX017557>