User avatar
kyrios
Posts: 2286
Joined: Thu Sep 22, 2016 4:20 pm

Software Center: packages with an icon/website

Tue Mar 14, 2017 9:00 pm

Hello,

In the software center, a few applications have a visual (icon) and a website url on the description page of the application.
How are these added ?

I would like to add these info in a package I am currently building.

Thanks

sunnyflunk
Development Team
Posts: 3007
Joined: Sun Mar 13, 2016 11:35 pm

Re: Software Center: packages with an icon/website

Tue Mar 14, 2017 10:21 pm

kyrios wrote:
Tue Mar 14, 2017 9:00 pm
Hello,

In the software center, a few applications have a visual (icon) and a website url on the description page of the application.
How are these added ?

I would like to add these info in a package I am currently building.

Thanks
I believe for Website to work it likely needs a 'homepage : link' in the package.yml

The icons are theme related, I don't believe you can add one

User avatar
kyrios
Posts: 2286
Joined: Thu Sep 22, 2016 4:20 pm

Re: Software Center: packages with an icon/website

Tue Mar 14, 2017 11:39 pm

Thanks!

But I am still confused: I had a look at the package.yml of a couple of applications that have a website button in the software center and I don't see anything in the file. For example here is the one of Brasero

On the help center, I don't see any key for a homepage/website in package.yml

I also looked at some other files but I don't see the url anywhere ???

sunnyflunk
Development Team
Posts: 3007
Joined: Sun Mar 13, 2016 11:35 pm

Re: Software Center: packages with an icon/website

Wed Mar 15, 2017 4:59 am

kyrios wrote:
Tue Mar 14, 2017 11:39 pm
Thanks!

But I am still confused: I had a look at the package.yml of a couple of applications that have a website button in the software center and I don't see anything in the file. For example here is the one of Brasero

On the help center, I don't see any key for a homepage/website in package.yml

I also looked at some other files but I don't see the url anywhere ???
Well perhaps my mistake then. The homepage : key hasn't really been utilised much (only the older packages ever had it). The data the Software Center uses comes from Appstream, so perhaps they include website some website information as well. It falls back to the information provided in the package.yml if there's no Appstream data for it I believe. It's part of the reason why the metadata in the package.yml is allowed to be more sparse (as it hopefully is overruled by the Appstream information).

Return to “Engagement”