Doing those manually in DtFile sucks monkey nuts. I've done it enough to know. 
This will be much, much better.



-----Original Message-----
From: Isaac Dunham <ibid...@gmail.com>
To: cdesktopenv-devel <cdesktopenv-devel@lists.sourceforge.net>
Sent: Sun, Mar 8, 2015 11:29 pm
Subject: Re: [cdesktopenv-devel] Where to add new filetypes?


On Sun, Mar 08, 2015 at 12:37:48PM +0100, Edmond Orignac wrote:
> I have a file
with datatypes for PDF, DJVU, wordprocessor and spreadsheets
> formats,
multimedia formats, compressed formats (bzip, gzip, zoo, pkzip,
> winrar, lzma)
and some programming languages.
> 
> I have not tried to generate a source
file for it, but it could be included
> in contrib/

Ah, that's almost all
that I wanted, and more besides.

So I've hacked up a little tool that will
convert it into the source.
Said tool is rather clumsy; it *must* be invoked
as:
 nlsize file.dt <NUMBER>

and it will generate temp.dt.src and
temp.dt.tmsg,
overwriting them if they exist.
<NUMBER> is whereever you want
the index number for localization to start.
There is of course no sanity
checking; it calls
fopen(argv[1]); atoi(argv[2]);
and doesn't check them. Also
note the hardcoded output filenames.
It also assumes that the input file is
valid, and that all lines are under
4096 chars long.

But here it is, along
with the output from
nlsize extra_datatypes.dt 4000

You may treat it as
public domain, via CC0.

> The associated actions are defined in separate
files. They can be found
> from my homepage at:
> 
>
http://edmond.orignac.pagesperso-orange.fr/appconfig.tgz
> 
> I also have a
set of XPM icons (*.l.pm, *.m.pm, *.s.pm, *.t.pm) for the
> various OpenOffice
formats obtained by converting Windows .ico files created
> by Lee Corbin in
2002 for OpenOffice 2.0 that might be used in CDE to
> support Openoffice
files. If you are interested to use them, I may add a tgz
> file to my
homepage.

I haven't been using OO/LO recently, though if I had I'd
be
interested.


Thank you,
Isaac Dunham



 
------------------------------------------------------------------------------
Dive
into the World of Parallel Programming The Go Parallel Website, sponsored
by
Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the

conversation now. http://goparallel.sourceforge.net/
 
_______________________________________________
cdesktopenv-devel mailing
list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

 
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to