|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| icons/ | H | 03-May-2022 | - | 468 | 404 |
| intl/ | H | 28-Jul-2020 | - | 14,639 | 10,465 |
| m4/ | H | 28-Jul-2020 | - | 3,099 | 2,857 |
| po/ | H | 03-May-2022 | - | 7,694 | 6,164 |
| src/ | H | 03-May-2022 | - | 14,661 | 10,015 |
| ABOUT-NLS | H A D | 02-Nov-2018 | 52.6 KiB | 769 | 723 |
| AUTHORS | H A D | 02-Nov-2018 | 275 | 12 | 7 |
| COPYING | H A D | 02-Nov-2018 | 14.8 KiB | 281 | 237 |
| ChangeLog | H A D | 27-Jul-2020 | 6.5 KiB | 208 | 174 |
| INSTALL | H A D | 02-Nov-2018 | 6.8 KiB | 168 | 129 |
| Makefile.am | H A D | 02-Nov-2018 | 667 | 22 | 13 |
| Makefile.in | H A D | 03-May-2022 | 29.9 KiB | 935 | 833 |
| README | H A D | 01-Jul-2020 | 3.7 KiB | 95 | 86 |
| TODO | H A D | 04-Jul-2020 | 466 | 13 | 11 |
| acconfig.h | H A D | 02-Nov-2018 | 293 | 14 | 13 |
| acinclude.m4 | H A D | 02-Nov-2018 | 6.1 KiB | 176 | 162 |
| aclocal.m4 | H A D | 28-Jul-2020 | 42 KiB | 1,182 | 1,076 |
| compile | H A D | 02-Nov-2018 | 7.2 KiB | 348 | 258 |
| config.guess | H A D | 02-Nov-2018 | 42.6 KiB | 1,461 | 1,263 |
| config.h.in | H A D | 28-Jul-2020 | 8.8 KiB | 331 | 238 |
| config.rpath | H A D | 02-Nov-2018 | 14.6 KiB | 549 | 443 |
| config.sub | H A D | 02-Nov-2018 | 30.4 KiB | 1,550 | 1,409 |
| configure | H A D | 28-Jul-2020 | 317.1 KiB | 11,182 | 9,356 |
| configure.ac | H A D | 28-Jul-2020 | 2.4 KiB | 86 | 69 |
| depcomp | H A D | 02-Nov-2018 | 14.8 KiB | 523 | 330 |
| install-sh | H A D | 02-Nov-2018 | 5.5 KiB | 251 | 152 |
| ltris.desktop.in | H A D | 02-Nov-2018 | 121 | 8 | 7 |
| missing | H A D | 02-Nov-2018 | 6.1 KiB | 189 | 152 |
| mkinstalldirs | H A D | 02-Nov-2018 | 3.3 KiB | 151 | 102 |
| touchall | H A D | 02-Nov-2018 | 158 | 8 | 6 |
README
1
2 LTris
3
4 a tetris clone for Linux
5
6********************
7I. Requirements
8II. Installation
9III. Troubleshooting
10IV. Localization
11V. Feedback
12********************
13
14********************
15I. Requirements
16********************
17LTris runs in X and uses SDL (any version though >= 1.1.4
18is recommended) and SDL_mixer (optional for sound). Both libraries
19can be found at http://libsdl.org.
20
21********************
22II. Installation
23********************
24Enter your favorite shell and type in the following stuff (in the
25directory you extracted the LTris source)
26> ./configure [--disable-sound] [--disable-install] [--disable-nls]
27 [--localstatedir=HIDIR]
28 --disable-sound: no sound
29 --with-buffer-size: modify audio buffer size (set this value
30 to 2048 if you encounter any sound delays)
31 --disable-install: no installation; play from source directory
32 --localstatedir: install global highscores to this directory
33 REPLACES --with-highscore-path TO COMPLY
34 WITH AUTOCONF; THE DEFAULT LOCATION NOW
35 DEPENDS ON YOUR DISTRIBUTION: PREVIOUSLY
36 IT WAS /var/lib/games. USE
37 --localstatedir=/var/lib/games
38 FOR EXISTING HIGHSCORES.
39 --disable-nls disable gettext support
40> make
41> su (become root)
42> make install (if install wasn't disabled)
43> exit (become user again)
44> ltris (run game)
45
46********************
47III. Troubleshooting
48********************
49If you have SDL_mixer installed but configure tells you that it can't
50find it, remember that you have to install the development package
51for compiling!
52---
53If you can't compile because LTris' timestamps are slightly in
54the future run 'touchall' (found in the configure directory).
55---
56If the SDL sound seems to be out of sync first try
57to modify the audio buffer by using configure option
58--with-buffer-size (set to 2048). If this fails set
59SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma).
60
61********************
62IV. Localization
63********************
64This game now supports i18n. If you want to add l10n for your native language,
65please contact me first, to prevent overlapping translations. A thorough
66documentation can be found at
67 http://www.gnu.org/software/gettext/manual/html_mono/gettext.html
68Basically, you will have to do the following:
69 1) cd po
70 2) add your language code (e.g., de for German) to the existing line in
71LINGUAS merely separated from the other languages by a blank
72 3) run `msginit -o <LL>.po` with <LL> replaced by your language code
73 4) translate the english message IDs in <LL>.po
74 5) run make <LL>.gmo
75Whenever you change something in your translation you'll have to repeat
76step 5). I strongly recommend to configure the program with --disable-install
77while working on a translation. Otherwise you'd have to copy and rename the
78.gmo file as root every time you want to see your changes. If the source has
79been compiled without installation, only step 5) and simply running the game
80is required. (Of course, the enviroment variable LANG must be set to your
81locale.)
82This should suffice. If not, please read the excellent documentation at
83gnu.org. The fonts do only contain the basic latin letters. No special letters
84(like the german umlauts or any accents for example) are supported, so a l10n
85should not use them. If a string has a single %, meant as a percent sign,
86you'll have to manually remove the 'format' comment above the id (if any).
87
88********************
89V. Feedback
90********************
91LGames URL: http://lgames.sf.net
92e-Mail: http://lgames.sf.net/contact.php
93
94Enjoy!
95Michael