Re: Write my own library/extension or create package that calls external program?




Kevin Walzer wrote:

Adrian gave the same points of view that I would have given... It is
mainly really a matter of deployment. If you want to deploy the
resulting application it could be very obstructive to have external
dependencies. You can make an installer that copies the files to
relevant locations, but does the user have write permissions? Does s/he
have another version of the tools installed that conflict with the
version your program needs? How about dependencies of the tools to
other tools/shared libraries? I would try to be as independent as
possible in this case.
It is another thing when I install the program on a machine that I know
inside out and where I have complete control. In this case it would be
absolutely feasible to use external tools and thus speed up the
development.

*a Tcl wrapper for the Mac's Carbon LaunchServices and IconServices
API's, to allow getting default icons for various file types and
applications

A good solution, I think. The API interface should be kept stable by
Apple and behind it, there should be always an updated (patched)
implementation. Also, this interface is available on all Mac OSX
computers, I would say.. (I never worked with Macintosh, but it should
not be different from windows or unix platforms, regarding this kind of
services).


*a Tcl extension that can read the .icns file format

This is more work, definitely. Maybe there is a static and even
platform independent library that can be employed for it? If so, it
boils down to writing a wrapper around this library.


osxutils, however, handles both of these issues beautifully--the
"geticon" tool solves all of my problems, though it's probably a bit slow.

As said, the easiest and fastest solution - and certainly adequate if
you can live with the small disadvantages of third party tools...


Eckhard

.



Relevant Pages

  • Re: xawtv problems
    ... >> I wonder if xawtv is making a gfx call that causes rivafb.ko to load. ... At one time nVidia suggested that the Mesa libraries be removed. ... before and after running the nVidia installer in initstate 3. ...
    (Fedora)
  • Re: manifest vc8.0 problem
    ... the libraries that is not found or installed. ... application and this time i chose not to embed the manifest. ... linking, include the run-time libraries with your installer, or send a link ... work and like to test it on the other lab computers for which i don't ...
    (microsoft.public.vc.language)
  • Re: binary execution
    ... [Assembly Binding Log Viewer ] ... Try to avoid exotic libraries and try to ... or make sure your installer ... dependencies have been resolved. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Exportability of EDA industry from North America?
    ... RedHat puts all of its user libraries in /usr/lib. ... > configure for this name for GTK should be built into the installer. ... Stuart and I will fix this for the ...
    (sci.electronics.design)
  • Re: Exportability of EDA industry from North America?
    ... RedHat puts all of its user libraries in /usr/lib. ... > configure for this name for GTK should be built into the installer. ... Stuart and I will fix this for the ...
    (sci.electronics.cad)