summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-05-01 15:16:30 +0200
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-05-01 15:26:11 +0200
commit952610c014fdc1458c8fbd775e57543892bbc61a (patch)
tree267ac5b42019c3bc7c4268b3482feb5e4602b5a5 /comms
parentgnome: remove components that do not exists anymore (diff)
Prepare for libgnome removal
Remove the 2 last ports depending on libgnome - comms/kb is an abandonware with no upstream left - games/monster-masher is an abandonware
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/kb/Makefile49
-rw-r--r--comms/kb/distinfo4
-rw-r--r--comms/kb/files/Makefile14
-rw-r--r--comms/kb/files/README_TIPS138
-rw-r--r--comms/kb/files/kb9
-rw-r--r--comms/kb/files/kb-icon.pngbin2788 -> 0 bytes
-rw-r--r--comms/kb/files/kb.126
-rw-r--r--comms/kb/files/patch-init.c46
-rw-r--r--comms/kb/files/patch-support.c38
-rw-r--r--comms/kb/pkg-descr14
-rw-r--r--comms/kb/pkg-plist21
12 files changed, 0 insertions, 360 deletions
diff --git a/comms/Makefile b/comms/Makefile
index dfde5f36c6b8..9743a98ca2ca 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -67,7 +67,6 @@
SUBDIR += inspectrum
SUBDIR += iwmbt-firmware
SUBDIR += java-simple-serial-connector
- SUBDIR += kb
SUBDIR += kermit
SUBDIR += klog
SUBDIR += libconcord
diff --git a/comms/kb/Makefile b/comms/kb/Makefile
deleted file mode 100644
index 69386f5361d9..000000000000
--- a/comms/kb/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-PORTNAME= kb
-PORTVERSION= 8.04
-PORTREVISION= 10
-CATEGORIES= comms hamradio
-MASTER_SITES= http://www.db.net/downloads/
-DISTFILES= kb_src-${PORTVERSION}.tar.gz kb_inst-${PORTVERSION}.tar.gz
-
-MAINTAINER= hamradio@FreeBSD.org
-COMMENT= Amateur Radio contest logger
-
-USES= gnome pkgconfig
-USE_GNOME= libgnome gtk20 libbonobo
-NO_WRKSUBDIR= yes
-PKGMESSAGE= ${FILESDIR}/pkg_message
-
-DESKTOP_ENTRIES="KB" \
- "Kick Butt logger" \
- "${PREFIX}/share/pixmaps/kb/icons/kb-icon.png" \
- "kb" \
- "" \
- true
-
-OPTIONS_DEFINE= DOCS
-
-pre-configure:
- @${CP} ${FILESDIR}/Makefile ${WRKSRC}
-
-do-install:
- ${INSTALL_SCRIPT} ${FILESDIR}/kb ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/kb ${STAGEDIR}${PREFIX}/bin/kb_bin
- ${INSTALL_PROGRAM} ${WRKSRC}/kb_server ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${FILESDIR}/kb.1 ${STAGEDIR}${MANPREFIX}/man/man1
- ${MKDIR} ${STAGEDIR}${DATADIR}
-.for f in COUNTY.CQP DEFAULT.INI CALL_LIB.LST CALL_SS.LST \
- CALL_FD.LST HELP.LST COUNTRY.LST HELPFD.LST \
- SECTION.LST STATE.LST
- ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
-.endfor
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps/kb/icons
- ${INSTALL_DATA} ${FILESDIR}/kb-icon.png \
- ${STAGEDIR}${PREFIX}/share/pixmaps/kb/icons/kb-icon.png
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${FILESDIR}/README_TIPS ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/kb_bsd/README_BSD ${STAGEDIR}${DOCSDIR}
-.for f in LICENSE README README_KINKS README_SRC
- ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/comms/kb/distinfo b/comms/kb/distinfo
deleted file mode 100644
index 75b0dfd8f91f..000000000000
--- a/comms/kb/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (kb_src-8.04.tar.gz) = 0294ba1ff6b40dda7db1065a53088e3d6d642411c51cddc14b866027840c6a8f
-SIZE (kb_src-8.04.tar.gz) = 96647
-SHA256 (kb_inst-8.04.tar.gz) = cd6707ae05b544e74bc0fdf25ab84c17f93394953f6f1a4fb1c5a84c63af5add
-SIZE (kb_inst-8.04.tar.gz) = 321463
diff --git a/comms/kb/files/Makefile b/comms/kb/files/Makefile
deleted file mode 100644
index 68f2032a5d32..000000000000
--- a/comms/kb/files/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# Makefile for: kb
-
-LIBS+= `pkg-config --cflags --libs gtk+-2.0`
-LIBS+= `pkg-config --cflags --libs libgnome-2.0`
-LIBS+= `pkg-config --cflags --libs bonobo-activation-2.0`
-
-all: kb kb_server
-
-kb_server: kb_server.c
- ${CC} ${CFLAGS} -o kb_server kb_server.c -lm
-
-kb: boxes.c fboxes.c kb.c radio.c bsd_bells.c fields.c sboxes.c \
- couzon.c init.c kb_server.c support.c elogs.c io.c network.c tree.c
- ${CC} ${CFLAGS} -DSPKR -I. ${LIBS} kb.c -o kb -lm
diff --git a/comms/kb/files/README_TIPS b/comms/kb/files/README_TIPS
deleted file mode 100644
index b4c05ea19111..000000000000
--- a/comms/kb/files/README_TIPS
+++ /dev/null
@@ -1,138 +0,0 @@
-Tips for the System Administrator:
-
-Prior to Field Day:
-
-To prevent users from inadvertently starting up more than one kb_server
-(which would be a very bad thing), I put the kb_server executable on the
-non-server computers with a different name. That way, if the server
-computer dies and a backup computer needs to become the server, the file
-is there and just needs to be renamed back to kb_server.
-
-I set up the network computers at home before Field Day to make sure
-everything works as expected. Last year, the battery died in one of the
-computers less than a week before Field Day, and a hard disk died on
-another a couple of weeks before that. Much better to have it happen at
-home! I also set up all the Initial Screen information before Field Day
-to save time at the site. KB will save a zero-byte data file that will
-come up automatically when you start KB at Field Day. (It's most
-convenient to do this in June, since KB's default contest for May is WPX
-CW. In June, it's Field Day.)
-
-At Field Day:
-
-It's best to start up the client on the server computer before the other
-clients are started. This will minimize network traffic, since the
-first client connected to the server is assumed to be the master client.
- When the master client is on a different computer from the server,
-all the traffic between them is over the network, not local. If you
-lose the master client (say someone accidentally exits KB on that
-machine), the second-connected client automatically becomes the master,
-and the network keeps going, but less efficiently. Similarly, when
-shutting down the network, it's best (but not essential) to shut down
-the remote clients first and then the master client last. When the last
-client has exited, the server program shuts down automatically.
-
-If a network computer gets turned off by accident, restart it. When you
-reconnect it to the network, all the log information will be
-resynchronized with what's already on the network. If it's a client
-that goes down, it's all automatic. If it's the server, you'll have to
-reconnect all the clients after the server is running again.
-
-The VHF station at the AARA Field Day uses KB, but is not connected to
-the network. 6-meters is logged as 160-meters, and the higher bands are
-logged up from there. The VHF ops leave me a note as to which "band" is
-which. After Field Day, I edit the band designators on the electronic
-dupe sheets to reflect the correct bands. I then copy the VHF dupe
-sheet file into the HF dupe sheet file for submittal. (Be careful here,
-since the filenames from the HF and VHF stations for ALL of the files
-(main data file, log, dupe sheets, etc.) will be identical. Take
-appropriate action to keep them straight.) There is a command-line
-capability with KB to specify a non-default file name, but using it at
-Field Day, especially with unfamiliar users, is probably asking for trouble.
-
-The GOTA station must not be networked with the other stations, since
-all computers on the network are assumed to be logging with the same
-call sign. The GOTA station will need its own dupe sheet. All warnings
-about the identical file names for the VHF station apply here too.
-
-I tend to prepare for the worst, so I like to do a file back-up
-occasionally (to either a floppy disk or USB memory stick) using Alt-O
-(Output). Use separate media for the main network, VHF, and GOTA
-stations to avoid overwriting the identically-named data files. (If you
-have a separate server computer, you won't have to interrupt any
-operators on the network to do this.) KB forces a hard disk write after
-every logged QSO, and I've never lost a contact using KB (with power
-outages, etc.), but I don't want to be a goat at Field Day(!).
-
-After Field Day:
-
-See VHF station tip above (for after Field Day items).
-
-The summary sheet that KB generates is for use as an aid in filling out
-the ARRL online entry form. It is not for submittal to ARRL. (ARRL
-only wants the dupe sheets.)
-
-Tips for Operators/Users:
-
-General:
-
-At the AARA Field Day (the first two years we used KB), we set up a
-"Demo" computer to allow users to get familiar with how KB works. This
-computer was not networked to any of the "official" computers (the ones
-with real Field Day logs on them). They could play with this computer,
-get stuck, ask questions, work North Korea, etc. We also gave a
-training session on this computer an hour or two before Field Day
-started. We won't be doing a demo station this year, but by now our ops
-are familiar enough with KB that it isn't necessary.
-
-Specific:
-
-When using KB to send messages (either CW or DVK), it is more convenient
-to "shift the function keys". This allows each message to be sent with
-a single keystroke. Which type of message is sent (CW or DVK) is
-determined by which mode has been selected (CW or phone). The menu bar
-functions then require pressing the shift key in conjunction with the
-appropriate function key.
-
-There are two "dupe modes" in KB: Ask and Always. "Ask" is good for
-search-and-pounce operation. If a dupe is encountered, KB will ask
-whether the operator wants to work that call again or not. "Always" is
-good for running stations. In this mode, KB will mark each dupe with a
-red star (and zero points), and let the operator continue without
-interruption. (When running, it's a lot faster to just work the dupes
-rather than to argue with them about it.)
-
-When editing a previously logged call (to correct any logging errors),
-the proper way to complete the task is to press <Enter>. Many
-unfamiliar users (at our Field Day) hit <Escape> instead. Unfortunately
-for them, <Escape> is the command to clear a field. Fortunately for
-them (but only if they know about it), Alt-<Escape> will restore the
-original contents of that field (before it was edited). Then they can
-try editing again, and use <Enter> to resume operating.
-
-Also, when sending CW or DVK messages, the proper way to interrupt the
-message is to press <Pause/Break>. Unfortunately, unfamiliar operators
-like to use <Escape> for this too, and KB dutifully clears the field.
-There's no way to retrieve the previous contents in this case, however.
- (I'm going to try more Post-It notes on the keyboard this year.)
-
-Many of our club's operators are long-time users of CT and WriteLog. In
-those programs, the space bar is used like a tab key. In KB, the space
-bar is used to reassemble two parts of a call sign. (For example, the
-operator only gets the last two letters of the call, RC, then asks for
-the rest. When the rest is received, the operator has typed in the call
-field: RC VE3, which when <Enter> or <TAB> is pressed, gets reassembled
-to VE3RC. (Before Field Day 2006 started, our ops were insisting that
-the space bar "has to be" used like a tab key, until they saw this.
-Then they wondered how they could ever operate again without it. We got
-no complaints about the space bar in 2007.)
-
-An operator at one station can send a message across the network using
-Alt-M. (When the rate is slow, and/or the ops want to harass each other,
-they can stay in touch this way.) The messages will cover up part of
-the menu bar (and the automatically generated network messages will also
-do this). Pressing Alt-R will redraw the screen with the full menu bar
-restored.
-
-
-
diff --git a/comms/kb/files/kb b/comms/kb/files/kb
deleted file mode 100644
index 180a869c4a02..000000000000
--- a/comms/kb/files/kb
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-if [ ! -e ~/.kb ];then
- mkdir ~/.kb
- cd ~/.kb
- ln -s /usr/local/bin/kb_server kb_server
-fi
-cd ~/.kb
-cp -f /usr/local/share/kb/* .
-exec kb_bin
diff --git a/comms/kb/files/kb-icon.png b/comms/kb/files/kb-icon.png
deleted file mode 100644
index 5b82aa4ae126..000000000000
--- a/comms/kb/files/kb-icon.png
+++ /dev/null
Binary files differ
diff --git a/comms/kb/files/kb.1 b/comms/kb/files/kb.1
deleted file mode 100644
index 83275c29a1af..000000000000
--- a/comms/kb/files/kb.1
+++ /dev/null
@@ -1,26 +0,0 @@
-.Dd May 24, 2008
-.Os Unix
-.Dt kb 1
-.Sh NAME
-.Nm kb
-.Nd Contest logger for gnome
-.Sh SYNOPSIS
-This program is a contest logger specifically written for the gnome
-window manager,
-though it will work under all window managers.
-.Sh DESCRIPTION
-.B kb
-kb consists of a pair of programs, the kb GUI and the kb_server, which
-is a logging reflector. A multi-op site can use one copy of kb_server to
-replicate all events/logs to all clients running kb over a LAN;
-such as at a field day. This does mean a lot of LAN traffic but
-also means any user can take over the job of the kb_server and with
-the replicated logs there is a lot of backup as well.
-.Sh SEE ALSO
-If documents were installed for kb on your system: README_BSD,README_SRC,
-README, README_KINKS and README_TIPS.
-.Pp
-The location of documents is system dependent, but is typically in
-/usr/local/share/doc/kb for BSD system and /usr/share/doc/kb for Linux systems.
-.Sh AUTHORS
-Walter J. Legowski (WA1KKM) <wa1kkm@k2ct.net>
diff --git a/comms/kb/files/patch-init.c b/comms/kb/files/patch-init.c
deleted file mode 100644
index e39c0aab5075..000000000000
--- a/comms/kb/files/patch-init.c
+++ /dev/null
@@ -1,46 +0,0 @@
---- init.c.orig 2008-03-30 09:33:37.000000000 -0400
-+++ init.c 2008-07-17 15:33:42.000000000 -0400
-@@ -525,6 +525,8 @@
- pfd = pango_font_description_from_string ("misc fixed 16");
- pfm = pango_context_get_metrics (pc, pfd, pl);
- ipfmgadw = pango_font_metrics_get_approximate_digit_width (pfm);
-+/* A misc fixed 16 is not a monospace font! -db */
-+#if 0
- if(ipfmgadw/PANGO_SCALE==wcol)
- {
- cursor_offset = 4;
-@@ -533,10 +535,11 @@
- pango_font_description_free (pfd);
- }
- else
-+#endif
- {
- for(nff=0; nff<2; nff++)
- {
-- for(font_size=10; font_size<=24; font_size++)
-+ for(font_size=10; font_size<=32; font_size++)
- {
- pango_font_metrics_unref (pfm);
- pango_font_description_free (pfd);
-@@ -545,7 +548,7 @@
- pfd = pango_font_description_from_string (font_desc);
- pfm = pango_context_get_metrics (pc, pfd, pl);
- ipfmgadw = pango_font_metrics_get_approximate_digit_width (pfm);
-- if(ipfmgadw/PANGO_SCALE==wcol)
-+ if(ipfmgadw/PANGO_SCALE>=wcol)
- {
- nfound = TRUE;
- ipfmgd = pango_font_metrics_get_descent (pfm);
-@@ -562,7 +565,11 @@
- pango_font_metrics_unref (pfm);
- pango_font_description_free (pfd);
- if(nfound)
-- printf("Found a good font [%s]\n", font_desc);
-+ {
-+ if(ipfmgadw/PANGO_SCALE>wcol)
-+ printf("Font may appear squashed due to your screen resolution\n");
-+ printf("Found a good font [%s] font_size %d\n", font_desc, font_size);
-+ }
- else
- {
- printf("Cannot find a suitable font for your system!\n");
diff --git a/comms/kb/files/patch-support.c b/comms/kb/files/patch-support.c
deleted file mode 100644
index ae388f0825c4..000000000000
--- a/comms/kb/files/patch-support.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- support.c.orig 2008-03-30 08:31:55.000000000 -0500
-+++ support.c 2014-03-01 21:19:48.000000000 -0500
-@@ -1199,31 +1199,21 @@
- static gint get_running_pid(const gchar *filnam)
- {
- FILE *fp;
-- gchar filnam_hold[14], psc_line[81], system_line[41];
-+ gchar psc_line[81], system_line[41];
- gint ami_running=-1;
-
-- strcpy(filnam_hold, filnam);
-- strcat(filnam_hold, ".tmp");
- #ifdef BSD
-- strcpy(system_line, "ps | grep ");
-- strcat(system_line, filnam);
-- strcat(system_line, " | grep -v grep > ");
-- strcat(system_line, filnam_hold);
-+ sprintf(system_line, "ps | grep %s | grep -v grep", filnam);
- #else
-- strcpy(system_line, "ps -C ");
-- strcat(system_line, filnam);
-- strcat(system_line, " | sort > ");
-- strcat(system_line, filnam_hold);
-+ sprintf(system_line, "ps -C | grep %s | sort", filnam);
- #endif
-- system(system_line);
-- fp = fopen(filnam_hold, "r");
-+ fp = popen(system_line, "r");
- if(fp!=NULL)
- {
- fgets(psc_line, sizeof(psc_line), fp);
- if(kb_index (psc_line, filnam)>-1)
- ami_running = atoi(psc_line);
- fclose(fp);
-- remove(filnam_hold);
- }
- return ami_running;
- }
diff --git a/comms/kb/pkg-descr b/comms/kb/pkg-descr
deleted file mode 100644
index f1595df617cf..000000000000
--- a/comms/kb/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-The KB contest logging computer program runs on the Linux operating system
-with the Gnome desktop. The program is under development, and currently
-supports the CQ WW, CQ WPX, and ARRL DX contests, plus Field Day.
-Features include on-the-fly dupe checking, CW and voice message keying,
-super check partial, packet (Telnet and rf nodes), networking, and
-radio control (currently for the FT-1000 only). The program is designed
-to be used by U.S. stations, with some support for Canadian stations.
-New features and contests are being added regularly, and I will consider
-adding support for DX stations if there is sufficient demand.
-
-(The port version has bug fixes and some modifications for Canadian stations.
-- db)
-
-WWW: http://www.k2ct.net/kbsoftware/kbsoftware.htm
diff --git a/comms/kb/pkg-plist b/comms/kb/pkg-plist
deleted file mode 100644
index 8b1cd4e60ecc..000000000000
--- a/comms/kb/pkg-plist
+++ /dev/null
@@ -1,21 +0,0 @@
-bin/kb
-bin/kb_bin
-bin/kb_server
-man/man1/kb.1.gz
-%%DATADIR%%/CALL_FD.LST
-%%DATADIR%%/CALL_LIB.LST
-%%DATADIR%%/CALL_SS.LST
-%%DATADIR%%/COUNTY.CQP
-%%DATADIR%%/COUNTRY.LST
-%%DATADIR%%/DEFAULT.INI
-%%DATADIR%%/HELP.LST
-%%DATADIR%%/HELPFD.LST
-%%DATADIR%%/SECTION.LST
-%%DATADIR%%/STATE.LST
-share/pixmaps/kb/icons/kb-icon.png
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README_BSD
-%%PORTDOCS%%%%DOCSDIR%%/README_KINKS
-%%PORTDOCS%%%%DOCSDIR%%/README_SRC
-%%PORTDOCS%%%%DOCSDIR%%/README_TIPS