Some times I like to see what the ‘fortune’ program says. Unfortunately,
openSUSE only distributes the English version, whereas debian has
several languages.
I downloaded the debian package “fortunes-es_1.32_all.deb”. Each data
“pack” or whatever, is made of two files and a link, like this:
amistad.fortunes
amistad.fortunes.dat
amistad.fortunes.u8 -> amistad.fortune
I tried copying this to the appropriate location in openSUSE,
/usr/share/fortune/.
However, when I try:
> cer@Telcontar:~> fortune amistad.fortunes
> Tómate tiempo en escoger un amigo, pero sé mas lento aún en cambiarlo.
> -- Benjamin Franklin. (1706-1790) Estadista y científico
> estadounidense.
> %
> El amor sin admiración solo es amistad.
> -- Aurore Dupín. (George Sand). (1804-1876) Novelista francesa.
> %
> Mis amigos me dicen que soy muy agresivo, pero me lo dicen a gritos.
> -- Jaume Perich.
> %
> El futuro es ese periodo de tiempo en el que prosperan nuestros
> negocios, nuestros amigos son verdaderos y nuestra felicidad segura.
> -- Ambrose Bierce. (1842-1914) Escritor estadounidense.
> %
> Amigo verdadero es el amigo de las horas difíciles.
> -- Jorge Piejanou.
> %
> Guarda a tu amigo bajo la llave de tu propia vida.
> -- William Shakespeare. (1564-1616) Escritor británico.
> %
> Los animales son buenos amigos, no hacen preguntas y tampoco critican.
> -- Mary Anne Evans 'George Elliot'. (1819-1880) Novelista
> británica.
See? I do not get a single saying, but all of them.
The format of the “amistad.fortunes” file is correct, the same as the
English ones, so it must be the control or “amistad.fortunes.dat” file
which is wrong.
I have some old fortune files, obtained from debian in 2006, that worked
then, but now fail in the same manner.
Thus I assume that something has changed in the way that openSUSE
creates that .dat file.
I can not use the debian makefile because it would do the same mistake -
how should I “susify” this, how can I create the correct data file?
Hints?
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)