[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: "Compound file" library?
From:       Roberto Alsina <ralsina () unl ! edu ! ar>
Date:       1998-11-03 17:11:55
[Download RAW message or body]

On Tue, 3 Nov 1998, David Faure wrote:

> > I was thinking of a resource-library system that can store files in a
> > space- and retrieval-efficient way. An application would be to store a
> > logical set of toolbar pics etc in a single file.
> Would other applications be able to access one of those pixmaps even without
> knowing that they are stored in the compound file ?

Probably yes, since apps should load pixmaps by using the Icon() macro.
It's just a matter of reimplementing/extending it.

> This is for two reasons :
> * Usual pixmaps for toolbars are already used by lots of apps, and
> putting them into compound files shouldn't imply changing those apps.
> * Furthermore, even if only using this for new apps, we don't want to put the
> same icon in several compound files, do we ?   ... just a question, in fact.
> 
> > Does anyone know of a free library that can achieve this easily? I thought
> > of using ar but the idea of invoking a new process for every access didn't
> > seem palatable.
> I vote for the 'zip' suggestion previously made on the list.
> Is gzip like zip ? (can it be non-compressed ?)

gzip is like zip except it doesn't have the index and therefore can 
compress only one file.

BTW: worthless tip of the week: "gzcat verybroken.zip >file" will 
uncompress the first file in verybroken.zip :-)

 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina@unl.edu.ar
 (_Y_.)' ._   ) `._`.  " -.-'   Centro de Telematica
  _..`-'_..-_/ /-'_.'           Universidad Nacional del Litoral
(l)-'' ((i).' ((!.'             Santa Fe - Argentina
                                KDE Developer (MFCH)
"I can attempt anything, specialization is for insects" (50% Heinlein).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic