diff options
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-05-01 13:16:30 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-05-01 13:26:11 +0000
commit952610c014fdc1458c8fbd775e57543892bbc61a (patch)
parent5084c2f4b2d395206c043e240e19769b0eceb9cb (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
-rw-r--r--comms/kb/files/kb-icon.pngbin2788 -> 0 bytes
21 files changed, 2 insertions, 607 deletions
diff --git a/MOVED b/MOVED
index bdca2c9ac02a..a33700f7ce98 100644
--- a/MOVED
+++ b/MOVED
@@ -16319,3 +16319,5 @@ x11-toolkits/libgnomeui||2021-05-01|Dead upstream, no consumers left in the port
x11-toolkits/p5-Gnome2-Canvas||2021-05-01|Has expired: Deprecated by the Gtk-Perl project. No more security patches and bug fixes
x11-toolkits/p5-Gnome2-Wnck||2021-05-01|Has expired: Deprecated by the Gtk-Perl project. No more security patches and bug fixes
devel/p5-Gnome2-GConf||2021-05-01|Has expired: Deprecated by the Gtk-Perl project. No more security patches and bug fixes
+comms/kb||2021-05-01|Abandonware, upstream has disappeared, depends on libgnome
+games/monster-masher||2021-05-01|Abandonware, depends on libgnome
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 @@
-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
-PKGMESSAGE= ${FILESDIR}/pkg_message
- "Kick Butt logger" \
- "${PREFIX}/share/pixmaps/kb/icons/kb-icon.png" \
- "kb" \
- "" \
- true
- @${CP} ${FILESDIR}/Makefile ${WRKSRC}
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps/kb/icons
- ${INSTALL_DATA} ${FILESDIR}/kb-icon.png \
- ${STAGEDIR}${PREFIX}/share/pixmaps/kb/icons/kb-icon.png
-.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:
-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.
-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
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 @@
-if [ ! -e ~/.kb ];then
- mkdir ~/.kb
- cd ~/.kb
- ln -s /usr/local/bin/kb_server kb_server
-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
-.Nm kb
-.Nd Contest logger for gnome
-This program is a contest logger specifically written for the gnome
-window manager,
-though it will work under all window managers.
-.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.
-If documents were installed for kb on your system: README_BSD,README_SRC,
-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.
-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
- {
- 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 @@
diff --git a/games/Makefile b/games/Makefile
index a85c3c54385c..d1b6393e7044 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -610,7 +610,6 @@
SUBDIR += miscom
SUBDIR += mkhexgrid
SUBDIR += moagg
- SUBDIR += monster-masher
SUBDIR += monsterz
SUBDIR += moon-buggy
SUBDIR += moonlander
diff --git a/games/monster-masher/Makefile b/games/monster-masher/Makefile
deleted file mode 100644
index 659b2aaf0ce7..000000000000
--- a/games/monster-masher/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# Created by: Koop Mast <einekoai@chello.nl>
-PORTNAME= monster
-CATEGORIES= games gnome
-MASTER_SITES= http://people.iola.dk/olau/monster-masher/source/
-MAINTAINER= kwm@FreeBSD.org
-COMMENT= Gnomemm puzzle game where you have to clean the caves of monsters
-LIB_DEPENDS= libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26 \
- libgconfmm-2.6.so:devel/gconfmm26 \
- libglademm-2.4.so:devel/libglademm24
-USES= compiler:c++11-lang gettext gmake gnome pathfix pkgconfig \
- tar:bzip2
-USE_CXXSTD= c++11
-USE_GNOME= gnomeprefix intlhack libgnome
-GCONF_SCHEMAS= monster-masher.schemas
- @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
- ${WRKSRC}/src/pixbuf-drawing.hpp
-.include <bsd.port.mk>
diff --git a/games/monster-masher/distinfo b/games/monster-masher/distinfo
deleted file mode 100644
index 32fba7a7623f..000000000000
--- a/games/monster-masher/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (monster-masher-1.8.1.tar.bz2) = 09f710fe1293fc6c8791ed569d02143c238659f8b635b364f59f08ab6c5ea5b1
-SIZE (monster-masher-1.8.1.tar.bz2) = 1042299
diff --git a/games/monster-masher/files/patch-src-Makefile.in b/games/monster-masher/files/patch-src-Makefile.in
deleted file mode 100644
index 5f1c18c9974d..000000000000
--- a/games/monster-masher/files/patch-src-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig 2010-10-31 15:18:09.000000000 +0100
-+++ src/Makefile.in 2010-10-31 15:18:40.000000000 +0100
-@@ -266,7 +266,7 @@
- ucompose.hpp \
- vector.hpp
- glade_DATA = ui.glade
diff --git a/games/monster-masher/files/patch-src__arena.cpp b/games/monster-masher/files/patch-src__arena.cpp
deleted file mode 100644
index aaf23107e72f..000000000000
--- a/games/monster-masher/files/patch-src__arena.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/arena.cpp.orig Mon Nov 3 06:47:41 2003
-+++ src/arena.cpp Wed Nov 5 20:32:03 2003
-@@ -64,11 +64,16 @@
- Vector<int> Arena::random_tile()
- {
-+ const size_t ax = size.x - 2;
-+ const size_t ay = size.y - 2;
-+ const size_t av = ax * ay;
- Vector<int> t;
- do {
-- t.x = std::rand() % (size.x - 2) + 1;
-- t.y = std::rand() % (size.y - 2) + 1;
-+ const int rnd = std::rand() % av;
-+ t.x = rnd % ax + 1;
-+ t.y = rnd / ax + 1;
- } while (occupier(t) != 0);
- return t;
diff --git a/games/monster-masher/files/patch-src_sound.cpp b/games/monster-masher/files/patch-src_sound.cpp
deleted file mode 100644
index c6c7bc028173..000000000000
--- a/games/monster-masher/files/patch-src_sound.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-Remove esound dependency. In recent versions of libgnome,
-gnome_sound_connection_get() always returns -1, so esd_sample_play()
-can never work.
---- src/sound.cpp.orig 2018-08-17 12:52:26 UTC
-+++ src/sound.cpp
-@@ -18,9 +18,6 @@
- * USA.
- */
--#include <libgnome/gnome-sound.h>
--#include <esd.h>
- #include "sound.hpp"
-@@ -40,16 +37,4 @@ Sound::~Sound()
- void Sound::play(const std::string &name)
- {
-- int id;
-- cache_map::iterator i = cache.find(name);
-- if (i != cache.end())
-- id = i->second;
-- else {
-- id = gnome_sound_sample_load(name.c_str(),
-- (MONSTER_MASHER_SOUND_DIR + name).c_str());
-- cache.insert(make_pair(name, id));
-- }
-- esd_sample_play(gnome_sound_connection_get(), id);
- }
diff --git a/games/monster-masher/pkg-descr b/games/monster-masher/pkg-descr
deleted file mode 100644
index cc287fbf68b6..000000000000
--- a/games/monster-masher/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Monster Masher is an action game for the Gnome desktop environment.
-The basic idea is that you, as levitation worker gnome, has to clean
-the caves for monsters that want to roll over you. You do the cleaning
-by mashing the monsters with stone blocks.
-WWW: http://people.iola.dk/olau/monster-masher/
diff --git a/games/monster-masher/pkg-plist b/games/monster-masher/pkg-plist
deleted file mode 100644
index 023cc358418d..000000000000
--- a/games/monster-masher/pkg-plist
+++ /dev/null
@@ -1,141 +0,0 @@