[Tux4kids-tuxtype-dev] Tuxtype 1.7.5

David Bruce davidstuartbruce at gmail.com
Mon Jun 22 13:41:56 UTC 2009


Hi Holger,

On Sun, Jun 21, 2009 at 8:25 AM, Holger Levsen <holger at layer-acht.org>wrote:

> Hi David,
>
> tuxtype 1.7.5 uploaded to Debian sid \o/
>
>
Great!


>
> I've also noticed that menu navigation with cursor keys still doesnt work


Didn't address that yet.


> and
> that when you launch it from the command line, you get output like this,
>


> $ tuxtype
> Error - VAR_PREFIX = '/usr/var/tuxtype' not found!
>

"make install" of tuxtype now creates a path for localstatedir.  This is
being done so that teachers/parents can modify word and phrase lists.  The
GNU coding standards (which is what the autotools follow) say that
localstatedir should be $prefix/var, hence our package's directory would be
/usr/var/tuxtype if $prefix = /usr.  However, the LSB and FHS say
localstatedir should be something under /var, typically /var/lib (and the
tuxtype directory would be /var/lib/tuxtype).  Thus, tuxtype needs to be
configured with "--localstatedir=/var/lib" and the package installation
needs to create /var/lib and /var/lib/tuxtype.  Similarly, we are going to
put tuxtype's global settings in the proper location under /etc which will
be "/etc/tuxtype". This requires a configure flag of "--sysconfdir=/etc".  I
use the following args in the specfile to build the rpms:

%configure --disable-rpath \
           --prefix=%_prefix \
           --localstatedir=%_localstatedir \
           --sysconfdir=%_sysconfdir

However, tuxtype does not yet actually use either of these new locations.
So, for now it makes sense to have the path check messages only show up if
debug is turned on.

LoadSound() - could not load click.wav
>
> I wonder what the issue with click.wav is - it's installed
> in /usr/share/tuxtype/data/sounds/click.wav...
>
>
I don't know about that one - will check.

Hope that helps,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20090622/28239a80/attachment.htm>


More information about the Tux4kids-tuxtype-dev mailing list