Required packages for gdbmrecent

G. Milde g.milde at quantentunnel.de
Tue Feb 6 10:06:07 CET 2007


On  5.02.07, Rafael Laboissiere wrote:
> [replying to pkg-jed-devel]

> * G. Milde <g.milde at quantentunnel.de> [2007-02-05 10:30]:

> > On  4.02.07, Rafael Laboissiere wrote:
> > > A quick question:  If I put in my .jed/jed.rc:
> > 
> > >     require ("gdbmrecent");
> > 
> > > it does not work.  I need to put instead:
> > 
> > >     require ("bufutils");
> > >     require ("sl_utils");
> > >     require ("gdbmrecent");
> > 
> > > Shouldn't the two first lines be present in gdbmrecent.sl?
> > 
> > Not really. I'd rather use autoloads for the needed functions
...
> > ...jed-extra has autoloads for the "Boekholt-modes" that
> > are activated by default in jed.d/50jed-extra.sl


> I would prefer the first solution (adding autoloads).  The gdmrecent module
> will ultimately replace the jedstate package, so it has to work out of the
> box.  

This would require a dependency on the slgdbm module! Whe I try to evaluate
gdbmrecent.sl, I get an "Error linking to gdbm-module.so: ..."

OTOH, I am perfectly fine without gdbm and gdbmrecent as I prefer my
recent.sl (with storage in a JED_HOME/.recent file).

> My plan is to make the DJG adopt the package and transform it into a
> transition package, which will "Recommends: jed-extra" and include a tool
> for converting ~/.jedstats.db into ~/.jed/recent_db.  I think that following
> down this path is better than simply removing the jedstate package from the
> Debian distribution, since this package was relatively popular [1].

We could consider to keep the jedstate package not as "transitional" but
as "functional", i.e. it would require jed-extra as well as slgdbm (or
"slang-gdbm"?) and place activation code into jed.d/55jedstate.sl

> So, Günter, could you please add the required autoloads to 50jed-extra.sl?

I cannot easily tell which functions are needed, as here slgdbm.sl fails
as stated above due to a missing gdbm module.

You could please try (with the -n option to be sure no autoloads are
met by other scripts) to require("gdbmrecent") and add the autoloads one
by one according to the error report?

Then either mail me for inclusion or do it yourself in 

  jed-extra/trunk/debian/examples/50jed-extra.sl
  
in the

 % add some autoloads 

section.

Thanks for your efforts

Günter




More information about the Pkg-jed-devel mailing list