• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

icons/H03-May-2022-468404

intl/H28-Jul-2020-14,63910,465

m4/H28-Jul-2020-3,0992,857

po/H03-May-2022-7,6946,164

src/H03-May-2022-14,66110,015

ABOUT-NLSH A D02-Nov-201852.6 KiB769723

AUTHORSH A D02-Nov-2018275 127

COPYINGH A D02-Nov-201814.8 KiB281237

ChangeLogH A D27-Jul-20206.5 KiB208174

INSTALLH A D02-Nov-20186.8 KiB168129

Makefile.amH A D02-Nov-2018667 2213

Makefile.inH A D03-May-202229.9 KiB935833

READMEH A D01-Jul-20203.7 KiB9586

TODOH A D04-Jul-2020466 1311

acconfig.hH A D02-Nov-2018293 1413

acinclude.m4H A D02-Nov-20186.1 KiB176162

aclocal.m4H A D28-Jul-202042 KiB1,1821,076

compileH A D02-Nov-20187.2 KiB348258

config.guessH A D02-Nov-201842.6 KiB1,4611,263

config.h.inH A D28-Jul-20208.8 KiB331238

config.rpathH A D02-Nov-201814.6 KiB549443

config.subH A D02-Nov-201830.4 KiB1,5501,409

configureH A D28-Jul-2020317.1 KiB11,1829,356

configure.acH A D28-Jul-20202.4 KiB8669

depcompH A D02-Nov-201814.8 KiB523330

install-shH A D02-Nov-20185.5 KiB251152

ltris.desktop.inH A D02-Nov-2018121 87

missingH A D02-Nov-20186.1 KiB189152

mkinstalldirsH A D02-Nov-20183.3 KiB151102

touchallH A D02-Nov-2018158 86

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