Package: slsh
Version: 2.1.3-3
Severity: normal

slsh 2.1.3-3 breaks jed -- some S-Lang scripts/functions are not available.

Diagnosis:

after an update to slsh (2.1.3-3) some jed-extra (e.g. ffap.sl) scripts
failed to work.

I could track this down to "/usr/share/slsh/" missing in the jed
library path.

The reason is given indirectly in slsh's changelog.Debian.gz

   * set SLSH_LOCALLIB_DIR="", as we don't ship a local-packages dir in
      Debian (breaks FSSTND).

while the code in site.sl adds /usr/share/slsh/ to the library path only if
/usr/share/slsh/local-packages" exists.

This can be fixed by making site.sl more foolproof (at the expense of one
more file stat during program start).

The problem was discussed in pkg-jed-devel at lists.alioth.debian.org.
However, consensus is still needed on

* was  /usr/share/slsh/local-packages removed because of the assumption that
  it is intended for local (sysadmin) addtions?
  
  Could adding

   The directory /usr/share/slsh/local-packages exists so that 3rd party
   packages can be installed here.  Read /usr/share/jed/lib/site.sl
   for a usage example.

  to README.Debian solve the problem?

* does the FHS prohibit /usr/share/slsh/local-packages
  because of its name? 
  
  Would /usr/share/slsh/site-packages be ok?
  
* does the FHS prohibit /usr/share/slsh/local-packages
  because of its location? 

  Would /usr/lib/slsh/local-packages be ok?
  Would /usr/lib/slsh/site-packages be ok?

* where should additional S-Lang scripts for slsh and|or Jed be placed
  that are

  - installed by the "system" (e.g. a Debian package)
  - installed by the administrator
  - installed by the user


Guenter Milde


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages slsh depends on:
ii  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libpcre3                  7.4-1          Perl 5 Compatible Regular Expressi
ii  libpng12-0                1.2.15~beta5-3 PNG library - runtime
ii  libslang2                 2.1.3-3        The S-Lang programming library - r

slsh recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to