From d2cde8c5ee36924d0fdc0cf6403d1e1380e98c72 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Sat, 9 Sep 2006 10:54:46 +0000 Subject: hf is a gtk+-based linux ham radio fsk digimode program, which can do also the realtime ARQ modes pactor 1, amtor, gtor without a ptc, only with a soundcard and a pc and linux(FreeBSD), all of which need not be the newest. The core of hf, the heart of the program (hfkernel) is a real master-piece of code, it has originally been made by Tom Sailer, many thanks Tom! hf can also do MT63 and has a CW elbug function. WWW: http://www.hf.webmasternet.org - Diane Bruce, VA3DB db@db.net PR: ports/101452 Submitted by: db --- comms/hf/files/patch-hfterm_src_helpgui.c | 57 +++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 comms/hf/files/patch-hfterm_src_helpgui.c (limited to 'comms/hf/files/patch-hfterm_src_helpgui.c') diff --git a/comms/hf/files/patch-hfterm_src_helpgui.c b/comms/hf/files/patch-hfterm_src_helpgui.c new file mode 100644 index 000000000000..9c23bca444cb --- /dev/null +++ b/comms/hf/files/patch-hfterm_src_helpgui.c @@ -0,0 +1,57 @@ +--- hfterm/src/helpgui.c.orig Mon Jul 31 15:51:44 2006 ++++ hfterm/src/helpgui.c Mon Jul 31 15:55:24 2006 +@@ -426,7 +426,12 @@ + gtk_container_add (GTK_CONTAINER (scrw_help_4), text_help_4); + gtk_tooltips_set_tip (tooltips, text_help_4, _("Left Side English \nRight Side German"), NULL); + gtk_text_set_editable (GTK_TEXT (text_help_4), FALSE); ++#ifdef __linux__ + textinsert("/usr/share/hf/HF-HOWTO.txt", GTK_TEXT(text_help_4)); ++#endif ++#ifdef __FreeBSD ++ textinsert("/usr/local/share/hf/HF-HOWTO.txt", GTK_TEXT(text_help_4)); ++#endif + + label_help_4 = gtk_label_new (_("HF-HOWTO")); + gtk_widget_set_name (label_help_4, "label_help_4"); +@@ -509,8 +514,12 @@ + gtk_container_add (GTK_CONTAINER (scrw_help_6), text_help_6); + gtk_tooltips_set_tip (tooltips, text_help_6, _("Left Side English \nRight Side German"), NULL); + gtk_text_set_editable (GTK_TEXT (text_help_6), FALSE); ++#ifdef __linux__ + textinsert("/usr/share/hf/DE-HF-HOWTO.txt", GTK_TEXT(text_help_6)); +- ++#endif ++#ifdef __FreeBSD__ ++ textinsert("/usr/local/share/hf/DE-HF-HOWTO.txt", GTK_TEXT(text_help_6)); ++#endif + label_help_6 = gtk_label_new (_("DE-HF-HOWTO")); + gtk_widget_set_name (label_help_6, "label_help_6"); + gtk_widget_ref (label_help_6); +@@ -589,8 +598,12 @@ + gtk_container_add (GTK_CONTAINER (scrw_help_8), text_help_8); + gtk_tooltips_set_tip (tooltips, text_help_8, _("This mailbox list is provided monthly, \nyou can subscribe it via e-mail or packet.\n"), NULL); + gtk_text_set_editable (GTK_TEXT (text_help_8), FALSE); ++#ifdef __linux__ + textinsert("/usr/share/hf/P-MB-list.txt", GTK_TEXT(text_help_8)); +- ++#endif ++#ifdef __FreeBSD__ ++ textinsert("/usr/local/share/hf/P-MB-list.txt", GTK_TEXT(text_help_8)); ++#endif + label_help_8 = gtk_label_new (_("Pactor Mailbox List")); + gtk_widget_set_name (label_help_8, "label_help_8"); + gtk_widget_ref (label_help_8); +@@ -629,8 +642,12 @@ + gtk_container_add (GTK_CONTAINER (scrw_help_9), text_help_9); + gtk_tooltips_set_tip (tooltips, text_help_9, _("Left Side English \nRight German"), NULL); + gtk_text_set_editable (GTK_TEXT (text_help_9), FALSE); ++#ifdef __linux__ + textinsert("/usr/share/hf/pactor.txt", GTK_TEXT(text_help_9)); +- ++#endif ++#ifdef __FreeBSD__ ++ textinsert("/usr/local/share/hf/pactor.txt", GTK_TEXT(text_help_9)); ++#endif + label_help_9 = gtk_label_new (_("PACTOR spec")); + gtk_widget_set_name (label_help_9, "label_help_9"); + gtk_widget_ref (label_help_9); -- cgit v1.2.3