FreeSoftware to the fullest!

AppStream offers a Cross-Distribution identifier for applications

One of the problems we’ve historically had in the GNU/Linux world (and especially in KDE, since we’re cross-distribution) is that we’ve always had a hard time at explaining how to install our applications. Basically because it’s different on each distribution.

My first approach to this problem was creating Muon Discover but that’s clearly not enough because, in the end, we seldom look for new applications. Often they will be recommended on a blog post or forum and we’ll want to install it. But then, while recommending it, it will either be a vague “you should try KMail” or a “you should ‘apt-get install kmail’ or whatever applies to your distribution.

What I’m proposing today is to embrace AppStream at the level of URL handlers (for web browser integration). AppStream shows GNU/Linux distributions maturity by offering a solution by letting the upstream projects set the identifier in their appdata.xml file (among other things) and then let distributions name the package however they want, rather keeping to push different naming schemes down each other throats.

AppStream has been supported in Discover for over a year now (only for PackageKit so far) and, since introducing this feature is straightforward, I implemented it in master.
If somebody wants to give it a go, test master and click here: KMail

I think this will be beneficial not only for KDE but any project packaged on GNU/Linux distributions that have a presence on the web and need to find their way in users’ installations. This will of course be limited to getting the URL scheme adopted by our peers.

/me winks at Gnome Software and Ubuntu Software Center.

3 Comments

  1. Filipe Saraiva

    Thank you Aleix, it is a very good idea.

    I hope all the majors Linux distributions will implement it in their respective package management tools.

  2. Eneko

    Diculpa que escriba en castellano; leer inglés, me apaño, pero en escribirlo tardo el triple o el cuádruple que en castellano porque tengo que andar tirando de diccionarios, buscando si tal verbo está bien conjugado, si tal preposición es la adecuada en tal caso… En fin, que los que no necesitamos el inglés para nada en nuestras vidas habitualmente no pasamos de leerlo con alguna dificultad como para pretender escribirlo y que no sea un insulto a la lengua de Shakespeare.
    Bueno, a lo que iba: He visto vídeos de Muon Discover y el programa es una “monada”, ¿pero exactamente para qué sirve? Es un escaparate de aplicaciones o es también un instalador. No me queda muy claro. Si es un instalador, ¿quiere eso decir que él se encarga completamente de comunicarse con el gestor de paquetes de cada distro y manejar los diferentes formatos de paquete, dependencias y “engranajes” de los diferentes gestores, incluyendo los de paquetes fuente como Portage en Gentoo o ABS en Arch? Si has conseguido eso eres la h*stia, macho! Un “estándar” para todos los usuarios de KDE independientemente de su distro. Todos conocemos los gestores de paquetes gráficos de Ubuntu y otras, pero eran exclusivas de cada distro. Esto de Discover me parece demasiado bueno para ser cierto, así que te “suplico” que me lo aclares, jeje.

    Un saludo.

  3. apol

    Hola @Eneko,
    Sí, sirve para cualquier distribución. Hay distintos métodos para soportar cualquier distribución y si bien me gustaría ser “la hostia”, me temo que tampoco es tan original.

    De hecho no se trata simplemente de software. También tenemos “backends” para OCS (kde-look.org) entre otros.

    Espero haberte contestado.

    ¡Un saludo!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 TheBlindCow

Theme by Anders NorenUp ↑