xwords/xwords4/linux
Eric House 837991feb4 remove timestamps from mqtt header and procs that feed it
It belongs in comms msg header. Also remove PROTO_2, which shipping
code can read but never could send.
2022-12-30 15:35:01 -08:00
..
res test files for new bonus-squares-settable feature 2011-04-10 13:02:45 -07:00
scripts remove relay options from test script 2022-12-26 19:40:57 -08:00
.gitignore ignore .xwd files 2022-04-04 08:15:51 +02:00
CollegeEng_2to8.xwd rename dict symlink 2017-11-11 16:12:06 -08:00
curgamlistwin.c Replace LangCode with ISOCode, linux and common side 2022-06-05 09:07:01 -07:00
curgamlistwin.h handle relay-invites received 2020-01-31 13:29:36 -08:00
cursesask.c use deviceID to invite via relay; make 3- and 4-device games work 2020-02-16 19:12:22 -08:00
cursesask.h cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
cursesboard.c don't call a game over until message count drops to 0 2022-12-26 17:15:44 -08:00
cursesboard.h fix memory leaks; get curses using new invite resp. code 2022-11-18 11:09:22 -08:00
cursesdlgutil.c make curses version use udp socket when --db param passed. There's no 2013-01-24 07:49:49 -08:00
cursesdlgutil.h make curses version use udp socket when --db param passed. There's no 2013-01-24 07:49:49 -08:00
cursesdraw.c Fix curses api misuse flagged by new C compiler 2022-07-28 12:00:12 -07:00
cursesletterask.c make curses app more like the rest 2020-01-24 09:05:16 -08:00
cursesletterask.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
cursesmain.c fix memory leaks; get curses using new invite resp. code 2022-11-18 11:09:22 -08:00
cursesmain.h fix memory leaks; get curses using new invite resp. code 2022-11-18 11:09:22 -08:00
cursesmenu.c handle window resize (more-or-less) 2020-01-31 12:29:45 -08:00
cursesmenu.h handle window resize (more-or-less) 2020-01-31 12:29:45 -08:00
dict.xwd comment out dead code I keep reading 2019-02-22 19:59:55 -08:00
filestream.c Add, and use, stream_putString. Saves 500 bytes on win32. 2006-04-25 13:31:15 +00:00
filestream.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
flip.xpm first checkin 2003-11-01 05:35:29 +00:00
gamesdb.c fix stall showing up in curses test app 2022-11-18 11:09:22 -08:00
gamesdb.h improve new game creation 2022-09-14 21:37:44 -07:00
gsrcwrap.c cleanup and fix test script stalls 2020-02-07 23:11:20 -08:00
gsrcwrap.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
gtkask.c show bonus-square-held 2020-04-17 07:06:31 -07:00
gtkask.h show bonus-square-held 2020-04-17 07:06:31 -07:00
gtkaskdict.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkaskdict.h snapshot. New game button works and game gets saved in DB. Next: display and open from DB. 2013-01-05 16:08:19 -08:00
gtkaskm.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkaskm.h progress on inviting via SMS 2013-12-12 06:08:56 -08:00
gtkboard.c fix to compile without DEBUG set 2022-12-21 10:29:48 -08:00
gtkboard.h cleanup 2022-11-18 11:09:22 -08:00
gtkchat.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkchat.h change names of two types and variables of that type to make a common 2013-01-15 19:04:20 -08:00
gtkconnsdlg.c remove relay from linux client via conditional compile 2022-05-10 20:54:25 -07:00
gtkconnsdlg.h change names of two types and variables of that type to make a common 2013-01-15 19:04:20 -08:00
gtkdraw.c cleanup and force draw 2022-07-31 17:57:57 -07:00
gtkdraw.h fix to build with CURSES_ONLY flag 2016-12-22 08:57:54 -08:00
gtkinvit.c fix gtk invite for sms 2022-08-26 13:26:03 -07:00
gtkinvit.h cleanup: remove some relay stuff 2022-08-25 11:20:26 -07:00
gtkkpdlg.c display known player timestamp when known (debug only) 2021-01-04 08:12:05 -08:00
gtkkpdlg.h use a grid for kp dialog layout 2020-10-01 14:44:18 -07:00
gtkletterask.c fix problems with tile picking introduced by 9-tiles 2022-01-20 22:14:13 -08:00
gtkletterask.h fix problems with tile picking introduced by 9-tiles 2022-01-20 22:14:13 -08:00
gtkmain.c include game name in nli when rematching 2022-11-18 21:52:10 -08:00
gtkmain.h save and restore board windows' positions 2020-12-02 14:29:07 -08:00
gtknewgame.c move extra counts into header so new dicts backward compatible 2022-04-01 07:51:13 +02:00
gtknewgame.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
gtkntilesask.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkntilesask.h snapshot. New game button works and game gets saved in DB. Next: display and open from DB. 2013-01-05 16:08:19 -08:00
gtkpasswdask.c fix remaining gtk dialogs 2016-08-04 12:43:33 -07:00
gtkpasswdask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkutils.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkutils.h beginning of support for invite-by-relay (which is mostly interesting 2015-07-01 07:10:45 -07:00
hint.xpm first checkin 2003-11-01 05:35:29 +00:00
juggle.xpm first checkin 2003-11-01 05:35:29 +00:00
lindutil.c fix to compile without DEBUG set 2022-12-21 10:29:48 -08:00
lindutil.h make game ask for dicts when needed 2021-03-19 14:27:04 -07:00
linuxbt.c merge android_branch changes to comms_make 2022-11-18 11:09:22 -08:00
linuxbt.h toward improving bt support in gtk client: add scan button that only 2013-12-07 10:12:20 -08:00
linuxdict.c move extra counts into header so new dicts backward compatible 2022-04-01 07:51:13 +02:00
linuxdict.h remove use of thread->env mapper for drawing 2020-04-26 13:39:21 -07:00
linuxmain.c cleanup 2022-12-27 17:38:20 -08:00
linuxmain.h move TransportProcs into cGlobals to fix gtk crash 2022-11-18 11:09:22 -08:00
linuxserver.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
linuxserver.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
linuxsms.c fix memory leaks; get curses using new invite resp. code 2022-11-18 11:09:22 -08:00
linuxsms.h fix memory leaks; get curses using new invite resp. code 2022-11-18 11:09:22 -08:00
linuxudp.c add and use boolToStr 2017-01-22 14:15:29 -08:00
linuxudp.h Add files forgotten with last checkin; add additional parameter to 2007-11-28 03:59:26 +00:00
linuxutl.c Replace LangCode with ISOCode, linux and common side 2022-06-05 09:07:01 -07:00
linuxutl.h use new glib datetime api (replaces deprecated) 2020-08-31 17:17:52 -07:00
LocalizedStrIncludes.h remove assertion firing in dup mode 2022-08-01 13:05:19 -07:00
main.h move TransportProcs into cGlobals to fix gtk crash 2022-11-18 11:09:22 -08:00
Makefile remove timestamps from mqtt header and procs that feed it 2022-12-30 15:35:01 -08:00
mqttcon.c API cleanup and all done 2022-12-20 11:55:30 -08:00
mqttcon.h snapshot: mqtt invites for gtk work via comms 2022-11-18 11:09:22 -08:00
README.txt update linux README 2021-04-25 20:57:13 -07:00
relaycon.c merge android_branch changes to comms_make 2022-11-18 11:09:22 -08:00
relaycon.h merge android_branch changes to comms_make 2022-11-18 11:09:22 -08:00
uuidhack.c compile with latest gcc (untested on old) 2018-04-06 21:49:51 -07:00
uuidhack.h compile with latest gcc (untested on old) 2018-04-06 21:49:51 -07:00
value.xpm first checkin 2003-11-01 05:35:29 +00:00
xptypes.h include line num in log 2022-01-03 16:53:28 -08:00

This directory contains the desktop Linux port of CrossWords. It
should build and run on any Debian derivative (e.g. Ubuntu or
Raspbian).

You'll need the build tool "make" installed. Once you have that, cd
into this directory and run

# make debs_install

which will get you all the packages the build depends on. Your user
will need sudo capability.

Once that's done, build:

# make MEMDEBUG=TRUE
or
# make

the latter for a release build

If the build succeeds (if it doesn't, and it's not because you changed
something, email me at xwords@eehouse.org), run the debug build thus:

# ./obj_linux_memdbg/xwords

or the release thus:

# ./obj_linux_rel/xwords

Add --help to get a list of all the options.

The first time you launch its main window will be tiny and in the
upper-left corner of your screen. If you resize or move the window the
app will remember its new size and location. Use the buttons and menus
to do stuff. Not all will be obvious, and some stuff may not
work. Always remember that this app exists to develop and test code
whose main target is Android or other mobile platforms, not desktop
Linux.