KlikIntegration
Size: 4214
Comment:
|
Size: 5754
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
* '''Contributors''': Merc2 * '''Packages affected''': |
* '''Contributors''': Merc2, RaphaelPinson * '''Packages affected''': fuseiso, fusecram |
Line 13: | Line 13: |
Line 15: | Line 16: |
At the moment, to install an application a user needs to use Synaptics. This means that s/he will need root access, AND that the package will need to be available in one of the repositories. | * At the moment, to install an application a user needs to use apt. This means that s/he will need root access, AND that the package will need to be available in one of the repositories. |
Line 17: | Line 18: |
* Currently, most klik packages are based on Sarge. Hence : * Most programs are more recent in Ubuntu stable than in Sarge. * These packages are built on libraries on which Ubuntu might have overtaken transitions (e.g. libstdc++5 in Sid vs. libstdc++6 in Dapper). * Security updates in Ubuntu might not be followed in Klik packages. * We have no direct control on the Q&A of the packages provided by klik. * Klik vs. Backports |
|
Line 20: | Line 28: |
* A user wants to install an application without having root access to the system | * Sven wants to install a program on his work machine but has no administrator access to the system. |
Line 22: | Line 30: |
* A user wants to copy an application onto a CD, and be able to run it off the CD without installing it | * Clara has a program she likes very much but few people have installed. When she moves to another machine, she'd like to take this program on a removable media or a CD and run it from this media without installing it. |
Line 24: | Line 32: |
* A user wants to install an application that is not available in any repository | * Paul wants to test the latest version of a program, but this program is not available in the apt archives yet. * Mel administrates a stable Ubuntu system. She wants to provide a test version of a program to all the users of the system, but there is no package available for her version of Ubuntu. She could install cmgs in /opt. |
Line 28: | Line 38: |
This only covers software installation WITHOUT using Synaptics. | * This only covers software installation WITHOUT using Synaptics. * Klik is NOT a replacment for Synaptic |
Line 32: | Line 44: |
Please have a look at [ this interview http://www.freesoftwaremagazine.com/free_issues/issue_11/simon_peter_interview/ ] for more information about Klik (straight from the author!) | * Packaging : Currently, the klik installer installs invisible scripts in ~. We don't want this behaviour. Instead, these scripts should be made system-wide and installed in /usr/bin. |
Line 34: | Line 47: |
Basically, Klik is "ready to go". What is missing, at the moment, is: | * FUSE Support : Klik uses cramfs. Currently, the installer adds dirty mounting points in /etc/fstab. FUSE could handle mounting cramfs without having these entries in /etc/fstab. The recent kernels shipped with Ubuntu have FUSE support. We need to find a way to activate the FUSE module cleanly. fuseiso and fusecram are then required to use klik with FUSE support. These packages are already in Dapper. The klik scripts have to be reimplemented to use FUSE. KANOTIX has done so lately. |
Line 36: | Line 52: |
* A way of "registering" where an application is. An application could be registered the first time it's run (as it happens is OS X). Then, if it's moved by the GUI, it could re-register itself in the new location | * A way of "registering" where an application is would be good. An application could be registered the first time it's run (as it happens is OS X). Then, if it's moved by the GUI, it could re-register itself in the new location |
Line 38: | Line 54: |
* An EASY way of assigning mime types to a registered application. | * An EASY way of assigning mime types to a registered application. |
Line 40: | Line 56: |
Both these modifications would be fairly easily achieved by patching Nautilous. | * Patching nautilus and firefox to get support for the klik:/ protocol. |
Line 43: | Line 59: |
Line 48: | Line 65: |
* Patching nautilous so that it registers applications. This should be done in such a way so that Konqueror for example does it in a compatible fashion | * Patching nautilus so that it registers applications. This should be done in such a way so that Konqueror for example does it in a compatible fashion |
Line 51: | Line 68: |
Line 78: | Line 96: |
Point 1 is a none issue Point 2 is a non issue also as klik apps do NOT afect the system in any way Point 3 - There are many systems but i dont think any of them meet the 'human' need Other, An Application Folder type system might be a solution for registering menu/mimetypes |
* Points 1 and 2 is a non issue also as klik apps do NOT afect the system in any way * Point 3 - There are many systems but i dont think any of them meet the 'human' need, dont belive me check this out http://www.whistlerquestion.com/madison%5CWQuestion.nsf/0/A0DA1F88D3FCB4DB882571250004E6E3?OpenDocument * Other, An Application Folder type system might be a solution for registering menu/mimetypes |
Line 83: | Line 100: |
=== Links === http://klik.atekon.de/wiki/index.php/Dapper |
Launchpad Entry: https://launchpad.net/distros/ubuntu/+spec/klik-integration
Created: Date(2006-01-25T02:52:56Z) by Merc2
Contributors: Merc2, RaphaelPinson
Packages affected: fuseiso, fusecram
Summary
I believe it's very important to integrate Klik and Ubuntu as much as possible. Klik offers a way of installing applications in GNU/Linux without actually using a repository. It's based on the "Appdirs" specifications.
Rationale
- At the moment, to install an application a user needs to use apt. This means that s/he will need root access, AND that the package will need to be available in one of the repositories.
- Currently, most klik packages are based on Sarge. Hence :
- Most programs are more recent in Ubuntu stable than in Sarge.
- These packages are built on libraries on which Ubuntu might have overtaken transitions (e.g. libstdc++5 in Sid vs. libstdc++6 in Dapper).
- Security updates in Ubuntu might not be followed in Klik packages.
We have no direct control on the Q&A of the packages provided by klik.
- Klik vs. Backports
Use cases
- Sven wants to install a program on his work machine but has no administrator access to the system.
- Clara has a program she likes very much but few people have installed. When she moves to another machine, she'd like to take this program on a removable media or a CD and run it from this media without installing it.
- Paul wants to test the latest version of a program, but this program is not available in the apt archives yet.
- Mel administrates a stable Ubuntu system. She wants to provide a test version of a program to all the users of the system, but there is no package available for her version of Ubuntu. She could install cmgs in /opt.
Scope
- This only covers software installation WITHOUT using Synaptics.
- Klik is NOT a replacment for Synaptic
Design
- Packaging :
Currently, the klik installer installs invisible scripts in ~. We don't want this behaviour. Instead, these scripts should be made system-wide and installed in /usr/bin.
- FUSE Support :
Klik uses cramfs. Currently, the installer adds dirty mounting points in /etc/fstab. FUSE could handle mounting cramfs without having these entries in /etc/fstab. The recent kernels shipped with Ubuntu have FUSE support. We need to find a way to activate the FUSE module cleanly. fuseiso and fusecram are then required to use klik with FUSE support. These packages are already in Dapper. The klik scripts have to be reimplemented to use FUSE. KANOTIX has done so lately.
- A way of "registering" where an application is would be good. An application could be registered the first time it's run (as it happens is OS X). Then, if it's moved by the GUI, it could re-register itself in the new location
- An EASY way of assigning mime types to a registered application.
- Patching nautilus and firefox to get support for the klik:/ protocol.
The tricky part would be the creation of an applet that checks that each registered application is indeed up-to-date. This is much trickier, but still not impossible to achieve.
Implementation
The coding involved would be:
- Patching nautilus so that it registers applications. This should be done in such a way so that Konqueror for example does it in a compatible fashion
- Writing the applet that works on the updates
Discussion
Daniel-Goldsmith says:
It seems to me that system-level Klik integration may be more trouble than it is worth. This occurs for three reasons:
- Incompatibility of Klik-patching with standard ubuntu patches in libraries. This would result in Klik'd libraries failing to function with ubuntu patched programs installed at a later time from repositories.
- Incompatibility of Klik with apt system. This would perforce lead to difficulties in supporting users who had klik'd their systems by installation of items with compatibility issues, thus preventing ubuntu achieving enterprise usage.
- Already there are a multiplicity of Ubuntu upgade/installation systems. Just on a quick memory count the user can apply dpkg, apt-get, aptitide, synaptic, adept and Ubuntu's own 'Add Application. Do we need a further method, particularly one over which Ubuntu has little or no control?
Tony Mobily says:
I don't think point 1) is valid, but I am not 100% sure. Points 2) and 3) are definitely valid.
However, do you have a counter-proposal for a system which:
- Would allow people to install software as non-root (or non-admin)
- Would allow people to see a program as in "icon", and copy such a program on an external media and _run_ it
...? I see these two things as crucial. Mac got it right. Linux... not quite :-|
Klik is the closed thing there is to a "solution". The points (2) is very true. However, I think (3) Is the real problem: it doesn't have *much* to do with Ubuntu. However, Klik is there and it works...
KillerKiwi says
- Points 1 and 2 is a non issue also as klik apps do NOT afect the system in any way
Point 3 - There are many systems but i dont think any of them meet the 'human' need, dont belive me check this out http://www.whistlerquestion.com/madison%5CWQuestion.nsf/0/A0DA1F88D3FCB4DB882571250004E6E3?OpenDocument
- Other, An Application Folder type system might be a solution for registering menu/mimetypes
Links
http://klik.atekon.de/wiki/index.php/Dapper
Code
Outstanding issues
BoF agenda and discussion
KlikIntegration (last edited 2008-08-06 16:34:38 by localhost)