|
|
Subscribe / Log in / New account

An initial release of Flatpak portals for GNOME

An initial release of Flatpak portals for GNOME

Posted Jul 21, 2016 10:23 UTC (Thu) by callegar (guest, #16148)
Parent article: An initial release of Flatpak portals for GNOME

> For instance, if the user clicks on a hyperlink in a sandboxed office application, there would need to be some interprocess communication (IPC) interface in place to open up that link in a web browser.

How can one be sure that there is a web browser at all in a system that is meant by design to have no dependencies? How does that app specify that it may need to open links at install time so that one, when installing it, knows he'll need a browser as well?


to post comments

An initial release of Flatpak portals for GNOME

Posted Jul 21, 2016 14:16 UTC (Thu) by mathstuf (subscriber, #69389) [Link] (2 responses)

No different than if it wants to open a PDF and you don't have a viewer? "No suitable program could be found, would you like to search for one?".

An initial release of Flatpak portals for GNOME

Posted Jul 21, 2016 22:59 UTC (Thu) by callegar (guest, #16148) [Link] (1 responses)

In a conventional distro this may happen if someone gives you a PDF and you had never seen one before. But every application producing PDFs would likely suggest a PDF viewer at install time, so you can install both together and avoid the need to have your users searching for a suitable program at inconvenient times.

In fact, my question was triggered by the instructions I found on the net for installing nextcloud as a snap in ubuntu (https://www.linux.com/learn/how-install-nextcloud-server-...) which made me a bit worried about the management of strict dependencies and suggested companion packages in a flatpack and snap world. For instance, you install the nextcloud snap, but this gives you nothing useful yet. Because you need to realize and satisfy all the dependencies yourself. You need a web server (and most likely not just a web server, but Apache and in a specific version range, if you want everything to work without tweaks), then you need a DB (in fact mysql), and a specific version of PHP. But still you do not have anything functional. You need to collect some error logs or read some deployment instructions to realize that PHP misses some packages and, one by one, see that they are zip, dom, xml writer and reader, gd, curl, mdstring. Seems fairly more complex on the admin than what traditional packaging with automatic management of dependencies would be. Obviously this could be solved by having the nextcloud "package" contain a full AMP stack and all the needed php packages, but this has other inconveniences. It is true that things have always worked in this way on OSs with no package management, but I was wondering if some better solution was in the work for flatpack or snap.

An initial release of Flatpak portals for GNOME

Posted Sep 19, 2016 6:03 UTC (Mon) by ploxiln (subscriber, #58395) [Link]

> You should also know, however, that the snap package is limited in what it can do. You will not be configuring this installation nearly as much as you would the standard installation. Because of this, I will give you the step-by-step for installing Nextcloud manually.

The manual steps were alternative to, not for, the snap install. Indeed, it wouldn't make sense for a snap package to use the host system PHP.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds