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
This commit is contained in:
parent
5084c2f4b2
commit
952610c014
21 changed files with 2 additions and 607 deletions
2
MOVED
2
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
|
||||
|
|
|
@ -67,7 +67,6 @@
|
|||
SUBDIR += inspectrum
|
||||
SUBDIR += iwmbt-firmware
|
||||
SUBDIR += java-simple-serial-connector
|
||||
SUBDIR += kb
|
||||
SUBDIR += kermit
|
||||
SUBDIR += klog
|
||||
SUBDIR += libconcord
|
||||
|
|
|
@ -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>
|
|
@ -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
|
|
@ -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
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
@ -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
|
Binary file not shown.
Before Width: | Height: | Size: 2.7 KiB |
|
@ -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>
|
|
@ -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");
|
|
@ -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;
|
||||
}
|
|
@ -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
|
|
@ -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
|
|
@ -610,7 +610,6 @@
|
|||
SUBDIR += miscom
|
||||
SUBDIR += mkhexgrid
|
||||
SUBDIR += moagg
|
||||
SUBDIR += monster-masher
|
||||
SUBDIR += monsterz
|
||||
SUBDIR += moon-buggy
|
||||
SUBDIR += moonlander
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
# Created by: Koop Mast <einekoai@chello.nl>
|
||||
|
||||
PORTNAME= monster
|
||||
PORTVERSION= 1.8.1
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= games gnome
|
||||
MASTER_SITES= http://people.iola.dk/olau/monster-masher/source/
|
||||
PKGNAMESUFFIX= -masher
|
||||
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
|
||||
|
||||
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
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
GCONF_SCHEMAS= monster-masher.schemas
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
|
||||
${WRKSRC}/src/pixbuf-drawing.hpp
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (monster-masher-1.8.1.tar.bz2) = 09f710fe1293fc6c8791ed569d02143c238659f8b635b364f59f08ab6c5ea5b1
|
||||
SIZE (monster-masher-1.8.1.tar.bz2) = 1042299
|
|
@ -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
|
||||
|
||||
-@MAINTAINER_MODE_FALSE@AM_CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) -Wall -O3
|
||||
+@MAINTAINER_MODE_FALSE@AM_CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) -Wall @CFLAGS@
|
||||
@MAINTAINER_MODE_TRUE@AM_CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) -O0 -Wall
|
||||
LDADD = $(DEPS_LIBS)
|
||||
glade_DATA = ui.glade
|
|
@ -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;
|
|
@ -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);
|
||||
}
|
|
@ -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/
|
|
@ -1,141 +0,0 @@
|
|||
bin/monster-masher
|
||||
share/applications/monster-masher.desktop
|
||||
share/monster-masher/glade/ui.glade
|
||||
share/monster-masher/pixmaps/block-24.png
|
||||
share/monster-masher/pixmaps/block-32.png
|
||||
share/monster-masher/pixmaps/egg-layer-egg-24.png
|
||||
share/monster-masher/pixmaps/egg-layer-egg-32.png
|
||||
share/monster-masher/pixmaps/egg-layer-gore-24.png
|
||||
share/monster-masher/pixmaps/egg-layer-gore-32.png
|
||||
share/monster-masher/pixmaps/egg-layer-monster-24.png
|
||||
share/monster-masher/pixmaps/egg-layer-monster-32.png
|
||||
share/monster-masher/pixmaps/footprint-down-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-down-rightmost.png
|
||||
share/monster-masher/pixmaps/footprint-left-down-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-left-down-rightmost.png
|
||||
share/monster-masher/pixmaps/footprint-left-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-left-rightmost.png
|
||||
share/monster-masher/pixmaps/footprint-left-up-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-left-up-rightmost.png
|
||||
share/monster-masher/pixmaps/footprint-right-down-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-right-down-rightmost.png
|
||||
share/monster-masher/pixmaps/footprint-right-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-right-rightmost.png
|
||||
share/monster-masher/pixmaps/footprint-right-up-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-right-up-rightmost.png
|
||||
share/monster-masher/pixmaps/footprint-up-leftmost.png
|
||||
share/monster-masher/pixmaps/footprint-up-rightmost.png
|
||||
share/monster-masher/pixmaps/freeze-box-24.png
|
||||
share/monster-masher/pixmaps/freeze-box-32.png
|
||||
share/monster-masher/pixmaps/hard-egg-24.png
|
||||
share/monster-masher/pixmaps/hard-egg-32.png
|
||||
share/monster-masher/pixmaps/hard-gore-24.png
|
||||
share/monster-masher/pixmaps/hard-gore-32.png
|
||||
share/monster-masher/pixmaps/hard-monster-24.png
|
||||
share/monster-masher/pixmaps/hard-monster-32.png
|
||||
share/monster-masher/pixmaps/hero-down-24.png
|
||||
share/monster-masher/pixmaps/hero-down-32.png
|
||||
share/monster-masher/pixmaps/hero-gore-24.png
|
||||
share/monster-masher/pixmaps/hero-gore-32.png
|
||||
share/monster-masher/pixmaps/hero-left-24.png
|
||||
share/monster-masher/pixmaps/hero-left-32.png
|
||||
share/monster-masher/pixmaps/hero-left-down-24.png
|
||||
share/monster-masher/pixmaps/hero-left-down-32.png
|
||||
share/monster-masher/pixmaps/hero-left-up-24.png
|
||||
share/monster-masher/pixmaps/hero-left-up-32.png
|
||||
share/monster-masher/pixmaps/hero-right-24.png
|
||||
share/monster-masher/pixmaps/hero-right-32.png
|
||||
share/monster-masher/pixmaps/hero-right-down-24.png
|
||||
share/monster-masher/pixmaps/hero-right-down-32.png
|
||||
share/monster-masher/pixmaps/hero-right-up-24.png
|
||||
share/monster-masher/pixmaps/hero-right-up-32.png
|
||||
share/monster-masher/pixmaps/hero-up-24.png
|
||||
share/monster-masher/pixmaps/hero-up-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-down-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-down-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-left-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-left-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-left-down-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-left-down-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-left-up-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-left-up-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-right-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-right-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-right-down-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-right-down-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-right-up-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-right-up-32.png
|
||||
share/monster-masher/pixmaps/invisible-hero-up-24.png
|
||||
share/monster-masher/pixmaps/invisible-hero-up-32.png
|
||||
share/monster-masher/pixmaps/levitation-24.png
|
||||
share/monster-masher/pixmaps/levitation-32.png
|
||||
share/monster-masher/pixmaps/monster-wall-24.png
|
||||
share/monster-masher/pixmaps/monster-wall-32.png
|
||||
share/monster-masher/pixmaps/plain-egg-24.png
|
||||
share/monster-masher/pixmaps/plain-egg-32.png
|
||||
share/monster-masher/pixmaps/plain-gore-24.png
|
||||
share/monster-masher/pixmaps/plain-gore-32.png
|
||||
share/monster-masher/pixmaps/plain-monster-24.png
|
||||
share/monster-masher/pixmaps/plain-monster-32.png
|
||||
share/monster-masher/pixmaps/power-up-explode-24.png
|
||||
share/monster-masher/pixmaps/power-up-explode-32.png
|
||||
share/monster-masher/pixmaps/power-up-freeze-24.png
|
||||
share/monster-masher/pixmaps/power-up-freeze-32.png
|
||||
share/monster-masher/pixmaps/power-up-invisibility-24.png
|
||||
share/monster-masher/pixmaps/power-up-invisibility-32.png
|
||||
share/monster-masher/pixmaps/seeker-egg-24.png
|
||||
share/monster-masher/pixmaps/seeker-egg-32.png
|
||||
share/monster-masher/pixmaps/seeker-gore-24.png
|
||||
share/monster-masher/pixmaps/seeker-gore-32.png
|
||||
share/monster-masher/pixmaps/seeker-monster-24.png
|
||||
share/monster-masher/pixmaps/seeker-monster-32.png
|
||||
share/monster-masher/pixmaps/splash.jpg
|
||||
share/monster-masher/pixmaps/wall-24.png
|
||||
share/monster-masher/pixmaps/wall-32.png
|
||||
share/monster-masher/sounds/clinck.wav
|
||||
share/monster-masher/sounds/splat.wav
|
||||
share/pixmaps/monster-masher.png
|
||||
share/locale/ar/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/az/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/bg/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/ca/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/cs/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/cy/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/da/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/de/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/dz/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/el/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/en_CA/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/en_GB/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/es/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/eu/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/fi/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/fr/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/ga/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/gu/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/hr/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/it/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/ka/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/lt/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/lv/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/nb/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/ne/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/nl/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/oc/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/pa/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/pl/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/pt/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/rw/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/sl/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/sq/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/sr/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/sr@Latn/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/sv/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/ta/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/tr/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/uk/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/vi/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/zh_HK/LC_MESSAGES/monster-masher.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/monster-masher.mo
|
Loading…
Reference in a new issue