This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

Should KDE4 have some kind of package control?

Tags: None
(comma "," separated)
mootchie
Registered Member
Posts
8
Karma
0
Currently KDE4 uses some abstraction layers such as Phonon (multimedia) and Solid (hardware, and stuff?). However, there is no package control layer. Although there is GetHotNewStuff2 and possible PackageKit integration (KPackageKit, etc) they are separate things (or so I assume...).

Should KDE4 have a more unified API for all kinds of package control, even for more advanced features (compile from source/git, etc)? discuss...

Use cases:

In some distributions there is this feature where if you try to play a multimedia file and you don't have the required codecs installed it does a small pop-up requesting permission to download those packages.

Now imagine something like that for the whole desktop:
- trying to install some ruby plasmoid would ask for permissions to fetch the necessary dependencies,
- selecting a new language for the spell checker would download and install any needed dictionaries,
- extracting an unknown compressed file would not cause an error but instead request permission for those formats (if available).
- etc.
It would also be nice if you could install things from source just as transparently as binaries (so it would fetch the build tools, do make install, or even extract from svn/git, etc).
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
I think PackageKit already serves that purpose, it is an abstraction layer for package managers. But stronger integration with packagekit would probably be a good idea. I assume your dependency and file-handler checking operations could be done using PackageKit, and if it can't it might be more efficient to improve packagekit rather than making an entirely new abstraction layer from scratch.

Last edited by TheBlackCat on Sun Feb 01, 2009 5:39 pm, edited 1 time in total.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The problem with this is:

1) Distributions cannot integrate codec support fully ( even links ) due to legal issues ( DVD for instance )
2) Distributions have different package naming schemes.

Until these issues are resolved ( particularly issue 2 ) then this functionality will be difficult to implement


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
bcooksley wrote:1) Distributions cannot integrate codec support fully ( even links ) due to legal issues ( DVD for instance )


If the package for the codec isn't available the package manager should tell you that.

bcooksley wrote:2) Distributions have different package naming schemes.

Most package managers have a "provides" component for each package that tells you the programs and libraries that each package contains. I think it should be possible to use that to find the package that contains the library that provides the capability you are looking for, since the library names should be much more consistent than the packages that contain them (I think).


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]