Package Information

From Mugshot Developer Wiki

Jump to: navigation, search
Why are you here?
You were probably looking at an application that didn't have the proper distribution information.
You can help!
These are the instructions to help you include your distribution in the application pages.

Contents

Application Pages

No Package Information

The Mugshot application pages try to display information about and links relevant to your local machine. If something is wrong it looks like the image to the right. There are several requirements for having your application page links and information properly displayed, each of which are described below. See how to fix problems at the bottom of this page.

General Requirements

  • The Mugshot download is installed
  • You are running a Linux Desktop or a similar system
  • The Mugshot application database contains the name of the software package for this application

Install Link

  • The Install Link will not be shown if the application is already installed
  • It will not be shown if the Mugshot software doesn't understand your distribution so doesn't know how to install software

Image:Same GNOME Install Now.png

Run Link

  • The Mugshot application database needs the name of the desktop file used to start the application
  • The application must be installed on your system (Same GNOME shown)

Image:Same GNOME Run Same GNOME.png

For the Currently Installed Version to appear the Mugshot software needs to know how to query application versions on your Linux distribution.

Fixing Application Pages

If you have questions about how to help out with your distribution please read this page and then send mail to the Mugshot Mailing list before you go off doing too much work.

Missing Run Link?
If you don't see the Run Link, but you have the application installed on your system, the Application database probably doesn't contain the right desktop file name for this application on your Linux distribution. This is generally easy to fix. Just locate the right desktop file in /usr/share/applications, go to the edit application database entry page (linked to from the application page) and add your desktop file name to the list. You will need to be logged in to Mugshot to make this change.
Lots of Package Names Missing?
If we don't have package names for your distribution, it's probably easiest to do a mass import, rather than adding them one-by-one via the edit page. So, send some Mugshot Mailing list and we can discuss how we can do that.
Missing Install Link or Version Information?
The code for installing and querying packages in Mugshot can be found in hippo-distribution.c. It should be easy to extend to other systems if you know the commands that need to be run. (For example, it currently knows that to query a package version on Fedora, it should run 'rpm -q'.) If you come up with a patch, or have a suggestion on how it should work on your system, even without a patch, please send that along to the Mugshot Mailing list.
Personal tools