Folks,

  I finally have gotten around to transforming the latest Unicon CVS 
build into a Debian package. Results can be downloaded with apt-get:
  
deb     http://www.xs4all.nl/~kurzanov/Debian   unstable contrib
deb-src http://www.xs4all.nl/~kurzanov/Debian   unstable contrib

  Here follows a very concise list of changes I made (full diff is here:
http://www.xs4all.nl/~kurzanov/Debian/dists/unstable/contrib/source/unicon_11.1-3.diff.gz)

1. scripting support I've already mailed to this list

2. a new packs/nico. This is a pre-processor I made for simplfying
   one-liners such as (plain mode):
   
   $ nico plain -e 'write("hello icon")'
   hello icon
   
   or (AWK mode):
   
   $ echo -e "1 2\n2 3\n"| nico awk -e 'global C; C:=(\C | 0)+Field[2]; END { 
write(C) }'
   5

   It also includes regular expressions a-la AWK:
   
        =/pattern/ is translated to tab(ReMatch(pattern))
        ~/pattern/ is translated to tab(ReFind(pattern))

   (sources from :pserver:[EMAIL PROTECTED]:/cvs/projects/PUBLIC/nico).

3. rt.{a,so,db} is renamed to libiconrt.{a,so,db}. 

4. support for libtp, liburi and libiconrt in a shared library. This
   allows a "hello world" application to be around 4.5K.

5. support for minimal iconc runtime (libiconrt-mini), which includes
   none of the window/graphics, database, posix and monitoring
   functionality. This allows libiconrt-mini.so to be halved in size
   (240K rather than 672K), which is a plus for embedded applications.
   It also compares favourably to perl, python and ruby:

    1057324 2004-10-24 18:37 /usr/bin/perl*
     983480 2004-12-03 14:12 /usr/bin/python2.3*

       3504 2004-12-23 05:04 /usr/bin/ruby1.8*
     743496 2004-12-23 05:04 /usr/lib/libruby1.8.so.1.8.2

       4524 2005-01-05 23:35 helloworld.exe*
     241200 2005-01-05 22:48 /usr/lib/libiconrt-mini.so
     680848 2005-01-05 22:48 /usr/lib/libiconrt.s

   This change required quite some tweaks to various .r files and
   config.h and rt.h as well, however, I'm pretty sure this is
   done well, i.e., this seems to work seamlessly by just exporting
   DBLIST="rt-mini.db" rather than the default (rt.db) if minimal
   linkage is required.

   The name of the header included in generated .h files is now
   deduced from the DBLIST.

   No attempt has been made yet to support minimal iconx. I am
   planning to do that in the near future.

6. Directory layout changes (put libraries into ../../lib, sample
   programs into ../../lib/icon, ipl goes into ../../lib/ipl, unicon
   goes into ../../lib/uni)

7. libgdbm.{a,so} is installed as libndbm.{a,so} to avoid clashes with
   other Debian packages (this is a kludge, but seems to work).

   Full documentation is included in unicon-doc package.

   I have tested it on two Debian/unstable machines, both i386,
and found out that it worked fine (expect for an issue on one
machine where then libGL.so required some additional soft-linking).
I am planning to try it on MIPS/ARM ins the near future.

   I will be happy to receive your feedback;-) If these packages will
prove being helpful, I can start the procedure of adding it to the
official Debian distribution (if the authors will have no objections
of course:-)

 Pjotr Kourzanov

On Wed, Dec 15, 2004 at 12:09:38PM -0700, Clint Jeffery wrote:
> Hi Peter,
> 
> Thanks very much for your code contribution, I am looking it over now
> and will send you e-mail privately if I have questions.
> 
> Regarding your question about Debian, we'd certainly be glad to have
> binary package build scripts and/or a binary distribution for it, along
> with any source or makefile/configuration tweaks needed.  The same goes
> for other platforms. :-)
> 
> Clint
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to