xwords/xwords4/linux
2021-12-29 07:35:43 -08:00
..
res test files for new bonus-squares-settable feature 2011-04-10 13:02:45 -07:00
scripts fix so mqtt really is the default 2021-12-21 16:34:04 -08:00
.gitignore ignore log dir 2018-05-31 21:23:10 -07:00
CollegeEng_2to8.xwd rename dict symlink 2017-11-11 16:12:06 -08:00
curgamlistwin.c rename gamesdb public functions (linux only) 2020-09-26 09:48:35 -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 make game ask for dicts when needed 2021-03-19 14:27:04 -07:00
cursesboard.h remove assertion when message mis-delivered 2020-04-11 11:44:09 -07: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 unsigned->signed to fix drawing garbage in empty tiles 2021-03-19 14:27:04 -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 remove unneeded .h file 2021-03-19 12:50:23 -07:00
cursesmain.h add mqtt as a new transport 2020-05-20 13:58:53 -07: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 to compile on raspberry pi (64-bit ARM) 2020-12-15 10:02:51 -08:00
gamesdb.h add creation timestamp to game struct 2020-09-26 09:48:35 -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 gtk bug not terminating buffer 2021-08-24 21:24:55 -07:00
gtkboard.h drive letters/values from a three-value enum 2021-02-11 14:11:02 -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 add mqtt as a new transport 2020-05-20 13:58:53 -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 unsigned->signed to fix drawing garbage in empty tiles 2021-03-19 14:27:04 -07:00
gtkdraw.h fix to build with CURSES_ONLY flag 2016-12-22 08:57:54 -08:00
gtkinvit.c display known player timestamp when known (debug only) 2021-01-04 08:12:05 -08:00
gtkinvit.h gtk known-player invitation works 2020-09-26 09:48:35 -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 tile picker dialog 2020-04-22 21:28:27 -07:00
gtkletterask.h toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
gtkmain.c make game ask for dicts when needed 2021-03-19 14:27:04 -07:00
gtkmain.h save and restore board windows' positions 2020-12-02 14:29:07 -08:00
gtknewgame.c add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07: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 add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
lindutil.h make game ask for dicts when needed 2021-03-19 14:27:04 -07:00
linuxbt.c fix crashes rematching from linux a games started on android 2020-06-04 11:37:07 -07: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 split dict faces using js so utf8 chars are ok 2021-03-19 14:29:20 -07:00
linuxdict.h remove use of thread->env mapper for drawing 2020-04-26 13:39:21 -07:00
linuxmain.c add varible-length int encoding to streams 2021-12-28 18:25:05 -08:00
linuxmain.h make game ask for dicts when needed 2021-03-19 14:27:04 -07: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 cleanup 2020-10-01 13:38:07 -07:00
linuxsms.h better display of "sms" message passing 2020-03-14 13:43:42 -07: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 show invitee name where possible 2021-05-30 13:31:33 -07:00
linuxutl.h use new glib datetime api (replaces deprecated) 2020-08-31 17:17:52 -07:00
LocalizedStrIncludes.h add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
main.h make game ask for dicts when needed 2021-03-19 14:27:04 -07:00
Makefile another tweak: make version imply format 2021-12-29 07:35:43 -08:00
mqttcon.c cleanup (mostly non-DBG compile errors) 2021-03-19 13:03:39 -07:00
mqttcon.h add mqtt as a new transport 2020-05-20 13:58:53 -07:00
README.txt update linux README 2021-04-25 20:57:13 -07:00
relaycon.c rename gamesdb public functions (linux only) 2020-09-26 09:48:35 -07:00
relaycon.h add mqtt as a new transport 2020-05-20 13:58:53 -07: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 pass env into dict-related methods 2020-04-26 13:39:16 -07: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.