Bug 6715 - [spec] Expand specification with additional Perl modules
: [spec] Expand specification with additional Perl modules
: NEW
: Moblin Compliance Tools
Moblin Compliance Specification
: unspecified
: Netbook Moblin Linux
: Undecided normal
: ---
:
:
:
:
 
 
Reported: 2009-10-13 02:24 PST by
Modified: 2009-10-13 02:50 PST (History)


Attachments




Description From 2009-10-13 02:24:31 PST
Currently Moblin specification doesn't declare any Perl modules in addition to
those included in LSB 4.0. However, LSB only includes some core modules, and
this set doesn't seem to be enough for Moblin applications.

Currently we can see that the following modules are used:
1) SDL modules (probably ok to add, since the spec includes SDL libraries):
 SDL
 SDL::App
 SDL::Cursor
 SDL::Event
 SDL::Font
 SDL::Mixer
 SDL::Surface

2) Additional core modules and pragmas:
 Errno
 Config
 lib
 encoding
 vars
 DynaLoader

There doesn't seem to be any reasons not to include the first four. 'vars' has
been marked as obsolete for years, but there are still quite a few apps that
use it.

DynaLoader is an analogue of dlopen - it allows Perl apps to load binary (*.so)
libraries and to call their functions. Not sure if we need this modules, but if
we add it, then ISVs will have to provide additional information for
certification team to ensure that no forbidden libs/functions are loaded.

3) Other modules (probably ok to add):
SVG
SVG::Parser
XML::XQL
XML::XQL::DOM

Note, however, that there is no tool at the moment to check presence of
required modules in the system (when performing OSV tests). In LSB, Perl/Python
test suites are used and it is supposed that if they succeed, then the system
is compliant. However, these test suites definitely don't touch any modules
outside the core set.

So if we add some more modules to the specification, then we need to develop a
simple tool - libchk analogue for Perl/Python - which will check module
availability in the system.
------- Comment #1 From 2009-10-13 02:50:43 PST -------
Forgot to mention one more module, should go to point 3:
  Locale::gettext