4.10. GNOME Applications

Use this section if you want to package a GNOME desktop application. This is not typical for appliance products; it is more applicable to Linux distributions built with rBuilder and/or Conary. Use GnomePackageRecipe after loading the superclass gnomepackage.recipe from Conary.

Use the following template to start this basic recipe for packaging a GNOME desktop application:

loadRecipe('gnomepackage.recipe')
class ExampleApp(GnomePackageRecipe):

    name = 'example'
    version = '1.0'
    buildRequires = []
    extraConfig = '--disable-scrollkeeper'

Replace the class name, package name, and version as appropriate for your package. This recipe will automatically obtain the package from among the official GNOME applications. You can override the archive location to package a GNOME application that is not from GNOME's site by adding the following lines, replacing the archive URI as appropriate:

    def unpack(r):
        r.addArchive('http://www.example.com/%(name)s/')

Reference all the other actions you can add to your recipe in Conary Recipe Actions, Macros, and Variables at docs.rpath.com/conary.