From nobody Thu Nov 2 14:29:23 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SLmTv4jHsz4ySdB; Thu, 2 Nov 2023 14:29:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SLmTv2njmz4WcZ; Thu, 2 Nov 2023 14:29:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698935363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IKDlCj6VKsuBTq6n7ha/wjq+AgYc9szNa/RTYXpoZWw=; b=VCpOcC88m8SOPYRn1VN9W37B/LUtU855fWf6rIHdIBswUr3FC51CBgtNtN+7JNrJTjZYWf CHJiBPKIu9VcoCqD8DGC2Hm+d4UyxfcFDGBuPvmBfw4fEnLP/V5FfH+7IPggsn2u2sRKAm GH8FEfU/S5k+6O9v7z8gDsN1NVEOFGhVcjx1jPpXPFFKTl+tK0S8cZdaliSk+Nqxlsy5A2 iyJb/GAT0uW8RUXigCj4CbjW0hrEQEoGxbWinZDdUsQKiAEptA9pwXW22HXT69cB9/gGmu 8pgSY/usewrHXXeHG7cze9aXOt91fQZjsibzN10CP5cnkLV1OmjG+cITn8V2BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698935363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IKDlCj6VKsuBTq6n7ha/wjq+AgYc9szNa/RTYXpoZWw=; b=EeDLlPaENgn20uQbfDTFKUyE6GClT23n4y9RIjonGaXTgnxfbF4bj0IAVOSbSGRBolrb6c Mbg1gqr+M9i6WVgSes4jtwfSy8iM3x0/crv5dUakNJah14z7mTzuuadVZ0OzClidgk73to 6i+6inpoU9SfSHSWZqhwGB/ZoJnqXY6TzLC0itC23OaZbKmYPXvDNNlqox3YmqOUjQL2mm hI1/qSc7dt/ELQnhqYRcvdH/c071Te4IM8s+0VWu03Vb+y2g5S7vCIAAwi/TJhYhFLi+IC NvboAlC0ajKGCZDpDnOGG5vPx9hsphn0oc9yD6aI/EcIa3mV96s80kj04SA4gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698935363; a=rsa-sha256; cv=none; b=InLD7++k5zM2CUYtKjoyAnL6pmAxpH0YYYt6OSTFQ8GcWth6i91j5Gw9h+1SjT97p/OK5Q WtRvzaUSav3CyGaHShXF/lqvJjnc1p5NSHZwGDqs4CkIyaAArkfhgmOszPWDdqVribSeMd FVbZPbYzjvs1hVuda5oIoGfSUv+4dWsXFCXK5/tvFoS70+wpMVQQGdXr2r7jpof/5SVbdd C98IpoHLKouca4pdfC9ugF/Y5bJ8+KgqxruO7t66Pl5zyY7vrkbpdFfJcSgcrG1ig+o83i HvMfxx6GP/PO57HqfYu4kaTi9aftqHHBjFgSplMdBqG7VKzZCkR7bVpBwWzdEA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SLmTv1rmpzXpP; Thu, 2 Nov 2023 14:29:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A2ETN4W009354; Thu, 2 Nov 2023 14:29:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A2ETNgV009351; Thu, 2 Nov 2023 14:29:23 GMT (envelope-from git) Date: Thu, 2 Nov 2023 14:29:23 GMT Message-Id: <202311021429.3A2ETNgV009351@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Diane Bruce Subject: git: 00f80e6cb8e6 - main - comms/fldigi: Update to 4.2.03 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: db X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 00f80e6cb8e623e15faf864290dc8fd867cb6c12 Auto-Submitted: auto-generated The branch main has been updated by db: URL: https://cgit.FreeBSD.org/ports/commit/?id=00f80e6cb8e623e15faf864290dc8fd867cb6c12 commit 00f80e6cb8e623e15faf864290dc8fd867cb6c12 Author: Diane Bruce AuthorDate: 2023-11-02 14:25:59 +0000 Commit: Diane Bruce CommitDate: 2023-11-02 14:25:59 +0000 comms/fldigi: Update to 4.2.03 2023-10-31 dave-w1hkj 2ba9f43d0: Version 4.2.03 923ff32f6: FSQ sounding CR/LF - removed a number patches that were there to comment out cmedia support - removed FreeBSD 12 support due to no cmedia support --- comms/fldigi/Makefile | 7 ++-- comms/fldigi/distinfo | 6 ++-- comms/fldigi/files/patch-configure.ac | 14 -------- comms/fldigi/files/patch-m4_build.m4 | 11 ------ comms/fldigi/files/patch-src_Makefile.am | 29 ---------------- comms/fldigi/files/patch-src_cmedia_hid__lin.cxx | 23 +++++++++++++ .../fldigi/files/patch-src_dialogs_confdialog.cxx | 29 ---------------- comms/fldigi/files/patch-src_main.cxx | 11 ------ comms/fldigi/files/patch-src_rigcontrol_ptt.cxx | 39 ---------------------- 9 files changed, 31 insertions(+), 138 deletions(-) diff --git a/comms/fldigi/Makefile b/comms/fldigi/Makefile index 8b588d8edf71..945dbe72e897 100644 --- a/comms/fldigi/Makefile +++ b/comms/fldigi/Makefile @@ -1,5 +1,5 @@ PORTNAME= fldigi -DISTVERSION= 4.2.02 +DISTVERSION= 4.2.03 CATEGORIES= comms hamradio MASTER_SITES= SF/fldigi/${PORTNAME} \ http://www.w1hkj.com/files/fldigi/ @@ -8,6 +8,8 @@ MAINTAINER= hamradio@FreeBSD.org COMMENT= Digital decoder for psk, cw, psk31, olivia WWW= http://www.w1hkj.com +BROKEN_FreeBSD_12= no hid support + LICENSE= GPLv3 BUILD_DEPENDS= asciidoc:textproc/asciidoc \ @@ -19,7 +21,8 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpng.so:graphics/png \ libportaudio.so:audio/portaudio \ libsamplerate.so:audio/libsamplerate \ - libsndfile.so:audio/libsndfile + libsndfile.so:audio/libsndfile \ + libudev.so:devel/libudev-devd USES= autoreconf compiler:c++11-lib desktop-file-utils gmake jpeg \ perl5 pkgconfig shebangfix xorg diff --git a/comms/fldigi/distinfo b/comms/fldigi/distinfo index 730e92e75b8d..ba819b95159d 100644 --- a/comms/fldigi/distinfo +++ b/comms/fldigi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1698762993 -SHA256 (fldigi-4.2.02.tar.gz) = f50386f3c3bd063b4c34d01ac439ff8d41ec1b7c12e3c2c252f307ef3a5a6b9e -SIZE (fldigi-4.2.02.tar.gz) = 4979638 +TIMESTAMP = 1698927901 +SHA256 (fldigi-4.2.03.tar.gz) = b5c258a487858280be8d721dbdcd62c7effabfda0f71c7f18106cbd3020829a6 +SIZE (fldigi-4.2.03.tar.gz) = 4979861 diff --git a/comms/fldigi/files/patch-configure.ac b/comms/fldigi/files/patch-configure.ac deleted file mode 100644 index 316670368d4d..000000000000 --- a/comms/fldigi/files/patch-configure.ac +++ /dev/null @@ -1,14 +0,0 @@ ---- configure.ac.orig 2021-07-01 20:36:20 UTC -+++ configure.ac -@@ -309,11 +309,6 @@ AC_FLDIGI_INTL - # Set ac_cv_udev to yes/no - # Define USE_LIBHID in config.h - # Substitute LIBHID_CFLAGS and LIBHID_LIBS in Makefile --#if test "x$ac_cv_want_fldigi" = "xyes"; then --#AC_FLDIGI_PKG_CHECK([libhid], [libhid], [no], [no], --# [use udev libraries @<:@autodetect@:>@], --# [ENABLE_LIBHID]) --#fi - - ### asciidoc - # substitute ASCIIDOC and A2X in doc/Makefile diff --git a/comms/fldigi/files/patch-m4_build.m4 b/comms/fldigi/files/patch-m4_build.m4 deleted file mode 100644 index 291239106a7a..000000000000 --- a/comms/fldigi/files/patch-m4_build.m4 +++ /dev/null @@ -1,11 +0,0 @@ ---- m4/build.m4.orig 2021-07-01 21:41:53 UTC -+++ m4/build.m4 -@@ -94,7 +94,7 @@ $BFD_CFLAGS -pipe -Wall -fexceptions $OPT_CFLAGS $DEBU - else if test "x$target_mingw32" = "xyes"; then - FLDIGI_BUILD_LDADD="$FLDIGI_BUILD_LDADD -lsetupapi -lhid" - else -- FLDIGI_BUILD_LDADD="$FLDIGI_BUILD_LDADD -ludev" -+ FLDIGI_BUILD_LDADD="$FLDIGI_BUILD_LDADD" - fi - fi - diff --git a/comms/fldigi/files/patch-src_Makefile.am b/comms/fldigi/files/patch-src_Makefile.am deleted file mode 100644 index 93ec2bb71c05..000000000000 --- a/comms/fldigi/files/patch-src_Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ ---- src/Makefile.am.orig 2022-03-18 02:06:06 UTC -+++ src/Makefile.am -@@ -503,8 +503,6 @@ fldigi_SOURCES += \ - - # Sources that we build. It is OK to have headers here. - fldigi_SOURCES += \ -- cmedia/cmedia.cxx \ -- cmedia/hid.cxx \ - combo/combo.cxx \ - config_script/create_default_script.cxx \ - config_script/run_script.h \ -@@ -709,9 +707,6 @@ EXTRA_fldigi_SOURCES += \ - EXTRA_fldigi_SOURCES += \ - blank/blank.cxx \ - blank/blank.h \ -- cmedia/hid_lin.cxx \ -- cmedia/hid_mac.cxx \ -- cmedia/hid_win.cxx \ - dialogs/fl_digi_main.cxx \ - dxcluster/arc-help.cxx \ - dxcluster/CCC_Commands.cxx \ -@@ -764,7 +759,6 @@ EXTRA_fldigi_SOURCES += \ - include/calendar.h \ - include/charsetdistiller.h \ - include/charsetlist.h \ -- include/cmedia.h \ - include/colorbox.h \ - include/combo.h \ - include/complex.h \ diff --git a/comms/fldigi/files/patch-src_cmedia_hid__lin.cxx b/comms/fldigi/files/patch-src_cmedia_hid__lin.cxx new file mode 100644 index 000000000000..5ba53c2386b9 --- /dev/null +++ b/comms/fldigi/files/patch-src_cmedia_hid__lin.cxx @@ -0,0 +1,23 @@ +--- src/cmedia/hid_lin.cxx.orig 2023-08-04 01:13:37 UTC ++++ src/cmedia/hid_lin.cxx +@@ -35,10 +35,20 @@ + #include + #include + ++#ifdef __FreeBSD__ ++typedef unsigned short uint16_t; ++typedef unsigned char __u8; ++typedef unsigned long __u32; ++#include ++/* These are from linux */ ++#define BUS_USB 0x03 ++#define BUS_BLUETOOTH 0x05 ++#else + /* Linux */ + #include + #include + #include ++#endif + #include + + #include "hidapi.h" diff --git a/comms/fldigi/files/patch-src_dialogs_confdialog.cxx b/comms/fldigi/files/patch-src_dialogs_confdialog.cxx deleted file mode 100644 index 2dea6c6b2339..000000000000 --- a/comms/fldigi/files/patch-src_dialogs_confdialog.cxx +++ /dev/null @@ -1,29 +0,0 @@ ---- src/dialogs/confdialog.cxx.orig 2023-08-31 22:56:35 UTC -+++ src/dialogs/confdialog.cxx -@@ -7790,7 +7790,7 @@ progdefaults.cmedia_ptt = false; - btn_init_cmedia_PTT->redraw(); - } else { - progdefaults.cmedia_ptt = false; --close_cmedia(); -+//close_cmedia(); - } - progdefaults.changed = true; - } -@@ -7798,7 +7798,7 @@ static void cb_inp_cmedia_dev(Fl_ComboBox* o, void*) { - Fl_ComboBox *inp_cmedia_dev=(Fl_ComboBox *)0; - - static void cb_inp_cmedia_dev(Fl_ComboBox* o, void*) { -- close_cmedia(); -+// close_cmedia(); - progdefaults.cmedia_device = o->value(); - btn_init_cmedia_PTT->labelcolor(FL_RED); - btn_init_cmedia_PTT->redraw(); -@@ -7822,7 +7822,7 @@ static void cb_btn_test_cmedia(Fl_Button*, void*) { - Fl_Button *btn_test_cmedia=(Fl_Button *)0; - - static void cb_btn_test_cmedia(Fl_Button*, void*) { -- test_hid_ptt(); -+// test_hid_ptt(); - } - - Fl_File_Input *inp_wav_fname_regex=(Fl_File_Input *)0; diff --git a/comms/fldigi/files/patch-src_main.cxx b/comms/fldigi/files/patch-src_main.cxx deleted file mode 100644 index e0bd90a1d528..000000000000 --- a/comms/fldigi/files/patch-src_main.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- src/main.cxx.orig 2023-08-24 15:22:40 UTC -+++ src/main.cxx -@@ -1182,7 +1182,7 @@ int main (int argc, char *argv[]) - setTabColors(); - - progdefaults.testCommPorts(); -- init_hids(); -+ //init_hids(); - - #if USE_HAMLIB - xcvr = new Rig(); diff --git a/comms/fldigi/files/patch-src_rigcontrol_ptt.cxx b/comms/fldigi/files/patch-src_rigcontrol_ptt.cxx deleted file mode 100644 index 027e74f580ff..000000000000 --- a/comms/fldigi/files/patch-src_rigcontrol_ptt.cxx +++ /dev/null @@ -1,39 +0,0 @@ ---- src/rigcontrol/ptt.cxx.orig 2023-08-31 22:56:35 UTC -+++ src/rigcontrol/ptt.cxx -@@ -69,7 +69,7 @@ - - #include "n3fjp_logger.h" - --#include "cmedia.h" -+//#include "cmedia.h" - - LOG_FILE_SOURCE(debug::LOG_RIGCONTROL); - -@@ -114,9 +114,11 @@ void PTT::reset(ptt_t dev) - case PTT_TTY: - open_tty(); - break; -+#if 0 - case PTT_CMEDIA: - cmedia_fd = open_cmedia(progdefaults.cmedia_device); - break; -+#endif - default: - break; // nothing to open - } -@@ -178,6 +180,7 @@ void PTT::set(bool ptt) - set_uhrouter(ptt); - break; - #endif -+#if 0 - case PTT_CMEDIA: - if (cmedia_fd != -1) { - int bitnbr = 2; -@@ -188,6 +191,7 @@ void PTT::set(bool ptt) - set_cmedia(bitnbr, ptt); - } - break; -+#endif - default: - break; - }