[haiku-development] Re: software organization/installation

  • From: Mauro de Wit <maurodewit@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 17 Feb 2009 09:28:45 +0100

>
> > > The application developer is really the only one who
> > > can determine what version of a library works best
> > > with his application, so those dependencies should be
> > > his responsibility to provide and update them as
> > > needed, not some central authority.
> >
> > 100% Agree.
> +1
>
I Agree



>
> > Applications should be self contained.  Anything that is not a OS
> > supplied library should be located within the same folder.
>

Indeed. Running different versions of the same software causes problems if
you are relying on a shared source for libs. For instance, if you are a
webdeveloper and using Windows you cannot run IE6 next to IE7 and IE8 for
testing purposes. Self containg apps would give the user a lot more
flexibility without being more difficult to use.

Isn't it possible to use libs supplied by the application directory and
reverting to libs on the system when they are not present in the local
directory? This option would give developers the choice which libs to use.


>
> > You can layer complexity over this by turning that folder into some
> > sort of compressed image so that it looks like a file.  You can ignore
> > libraries located in the image in favour of a central library
> > repository where versions match.
> >
> > And you certainly need standards on where config files and user files
> > should be stored.
> >
> > Look at what it gets you:
> > Installation is easy
> > Uninstallation is easy
> >
> > This is what you want the end user experience to be.
> +1
> This is exactly Bundles on Mac OS X.
>
> This bundles idea sounds interesting. +1

> Why do you need to know where the software is installed? What are your
> use-cases for that?

Well, let's say I have upgraded to a SSD and do a fresh Haiku install. Then
I want to be able to copy my apps & home dir and be finished. On Windows I
have to reinstall all applications, since copying the Program Files dir
doesn't do the trick.
On linux I would copy my home dir, but for the apps do not even dare to
think about copying some (errrr.. which) directories. No, I would have to
apt-get them all over again.

Mauro

Other related posts: