Re: [fpc-pascal] AppImage

2018-01-15 Thread Sven Barth via fpc-pascal
Am 16.01.2018 00:50 schrieb "Graeme Geldenhuys" <
mailingli...@geldenhuys.co.uk>:

On 2018-01-15 20:54, Michael Van Canneyt wrote:

> It's nothing but a zip with the needed dependencies.
>

More precisely, they use a standard ISO image that gets loop mounted.
Simply rename any *.AppImage application with a .iso extension and you can
examine the directory structure and content.

This is nothing new really. Linux has had many such attempts over the
years. Anybody remember AutoPackage, Zero Install and others? I think
Snappy from Canonical was the last attempt at this. None of them took hold
in the community at large. I don't really know why - I have always thought
"app bundles" was a good idea. Maybe 10th time lucky - after all, this is
the year of Linux. ;-)


Maybe because each app will have its own dependencies, thus duplicating
code.
Also if you have different versions of dependencies they might access
shared global configuration in incompatible ways.
Not to mention that if there is a (security) bug in one dependency you need
to update all apps containing the bugged library instead of merely the
library (that is if you can easily find out that an app contains that
library).
So, yeah, I'm definitely skeptical about such approaches.

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] AppImage

2018-01-15 Thread Graeme Geldenhuys

On 2018-01-15 20:54, Michael Van Canneyt wrote:

It's nothing but a zip with the needed dependencies.


More precisely, they use a standard ISO image that gets loop mounted. 
Simply rename any *.AppImage application with a .iso extension and you 
can examine the directory structure and content.


This is nothing new really. Linux has had many such attempts over the 
years. Anybody remember AutoPackage, Zero Install and others? I think 
Snappy from Canonical was the last attempt at this. None of them took 
hold in the community at large. I don't really know why - I have always 
thought "app bundles" was a good idea. Maybe 10th time lucky - after 
all, this is the year of Linux. ;-)




I suspect the idea is taken from MacOS, where apps are bundled in a similar
way.


Yeah, it looks or sounds similar, but like I said, this was done a few 
times before on Linux already.



Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] AppImage

2018-01-15 Thread Darius Blaszyk
> Take a look at
> 
> https://appimage.org/
> 
> Is this possible for Freepascal and Lazarus?

Though I'm not able to help you, it seems to be similar to
https://www.docker.com/. Though docker apps can run on other platforms
like windows and mac as well.

Rgds, Darius___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] AppImage

2018-01-15 Thread Michael Van Canneyt



On Mon, 15 Jan 2018, Rainer Stratmann wrote:


Take a look at

https://appimage.org/

Is this possible for Freepascal and Lazarus?


Yes, of course. It's even quite easy for vanilla FPC apps.

It's nothing but a zip with the needed dependencies. A vanilla FPC app
doesn't need any libraries (unless you link them in). I imagine that for
Lazarus it's also quite easy, since the needed libs are known.

I suspect the idea is taken from MacOS, where apps are bundled in a similar
way.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] AppImage

2018-01-15 Thread Rainer Stratmann
Take a look at

https://appimage.org/

Is this possible for Freepascal and Lazarus?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] pas2js mailing list

2018-01-15 Thread Mattias Gaertner
Hi,

There is now a public mailing list for pas2js. You can subscribe here:

http://lists.freepascal.org/mailman/listinfo/pas2js/


Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal