Difference between revisions of "Ubuntu Packaging"

From GRASS-Wiki
Jump to: navigation, search
m (Organisation: list)
m
 
(21 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
== Organisation ==
 
== Organisation ==
 
*  GRASS packages are provided by different repositories.
 
*  GRASS packages are provided by different repositories.
*  They are mostely distihuished by their level of up-to-dateness in respect to the GRASS source code.
+
*  They are mostly distinguished by their level of up-to-dateness in respect to the GRASS source code.
  
 
== Overview and Sources ==
 
== Overview and Sources ==
Line 21: Line 21:
 
! Link  
 
! Link  
 
|-
 
|-
| Official Ubuntu Repositories
+
| Official Ubuntu Repositories
 
| universe
 
| universe
 
| Only updated before each Ubuntu release
 
| Only updated before each Ubuntu release
Line 28: Line 28:
 
| Imported from Debian repositories
 
| Imported from Debian repositories
 
|   
 
|   
| [http://packages.ubuntu.com/search?keywords=grass&searchon=names&exact=1&suite=all&section=all Overview]
+
| [http://packages.ubuntu.com/grass Overview]
  
 
|-
 
|-
 
| UbuntuGIS
 
| UbuntuGIS
 
| stable
 
| stable
| ?
+
| Upon request
 
| Stable at time of packaging  
 
| Stable at time of packaging  
 
| 6.4.2
 
| 6.4.2
| ?
+
| <ubuntu at lists.osgeo.org>
 
|  
 
|  
 
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]
 
| [https://launchpad.net/~ubuntugis/+archive/ppa ubuntugis-stable]
Line 43: Line 43:
 
| UbuntuGIS
 
| UbuntuGIS
 
| unstable
 
| unstable
| ?
+
| Upon request
 
| Unstable at time of packaging
 
| Unstable at time of packaging
 
| 6.4.2~x
 
| 6.4.2~x
| ?
+
| <ubuntu at lists.osgeo.org>
 
|  
 
|  
 
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]
 
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable ubuntugis-unstable]
Line 53: Line 53:
 
| UbuntuGIS
 
| UbuntuGIS
 
| testing
 
| testing
| ?
+
| Upon request
 
| Very unstable at time of packaging
 
| Very unstable at time of packaging
 
| 6.4.3-1~x<br>7.0-1~x
 
| 6.4.3-1~x<br>7.0-1~x
| ?
+
| <ubuntu at lists.osgeo.org>
 
|  
 
|  
 
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]
 
| [https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing ubuntugis-testing]
Line 76: Line 76:
 
| Very unstable but latest development code
 
| Very unstable but latest development code
 
| 7.0.x
 
| 7.0.x
| Imported from [https://svn.osgeo.org/grass/grass/trunk GRASS SVN trunk]
+
| Imported from [https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0 GRASS SVN of releasebranch_7_0]
 
|  
 
|  
 
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]
 
| [https://launchpad.net/~grass/+archive/grass-devel GRASS Packages: Development Series]
 +
 +
|-
 +
| Official Debian Repositories
 +
| stable/testing/unstable
 +
| Follows official GRASS releases
 +
| Upstream source of Ubuntu (and derivatives) packages
 +
| 6.4.2-2
 +
| The DebianGIS Team (mainly Frankie and Hamish)
 +
| http://packages.debian.org/grass
 +
| [http://wiki.debian.org/DebianGis DebianGIS]
  
 
|}
 
|}
Line 85: Line 95:
 
== Organisation ==
 
== Organisation ==
 
*  [https://launchpad.net/~grass GRASS team]
 
*  [https://launchpad.net/~grass GRASS team]
**  GRASS team
+
**  Individuals which are dedicated to work on GRASS packaging for Ubuntu
**  individuals which are dedicated to work on GRASS packaging for Ubuntu
 
 
**  Any user and developer is free and welcome to join!
 
**  Any user and developer is free and welcome to join!
 
**  New active members are needed!
 
**  New active members are needed!
 
**  Umbrella ''organisation'' for activities around GRASS on Launchpad
 
**  Umbrella ''organisation'' for activities around GRASS on Launchpad
**  administers the [https://launchpad.net/grass GRASS GIS Project]
+
**  Administers the [https://launchpad.net/grass GRASS GIS Project]
 
*  [https://launchpad.net/grass GRASS GIS Project]
 
*  [https://launchpad.net/grass GRASS GIS Project]
 
**  The GRASS [https://help.launchpad.net/Projects LP project]
 
**  The GRASS [https://help.launchpad.net/Projects LP project]
Line 98: Line 107:
 
*  other future projects could be
 
*  other future projects could be
 
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]
 
**  Automatic packaging of [http://grasswiki.osgeo.org/wiki/AddOns AddOns]
**  Further integration of GRASS in Ubntu
+
**  Further integration of GRASS in Ubuntu
 
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]
 
**  Link to Live-CD projects such as [http://live.osgeo.org/ OSGeo-Live]
  
== Others (UbuntuGIS) ==
+
=== Others (UbuntuGIS) ===
 
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]
 
* [https://wiki.ubuntu.com/UbuntuGIS https://wiki.ubuntu.com/UbuntuGIS]
 
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]
 
* [http://trac.osgeo.org/ubuntugis/ http://trac.osgeo.org/ubuntugis/]
Line 111: Line 120:
 
*  Latest SVN imports
 
*  Latest SVN imports
 
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]
 
**  [https://code.launchpad.net/~grass/grass/releasebranch_6_4 stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 SVN releasebranch_6_4]
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN ][https://svn.osgeo.org/grass/grass/trunk trunk]
+
**  [https://code.launchpad.net/~grass/grass/releasebranch_7_0 upcoming stable] from [http://svn.osgeo.org/grass/grass/branches/releasebranch_7_0 SVN releasebranch_7_0]
 +
**  [https://code.launchpad.net/~grass/grass/grass_trunk development] from [https://svn.osgeo.org/grass/grass/trunk SVN trunk]
 
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]
 
*  [https://code.launchpad.net/ubuntu/+source/grass Bazaar branches for “grass” package in Ubuntu]
 
**  Used by Ubuntu packages for the official packages
 
**  Used by Ubuntu packages for the official packages
Line 118: Line 128:
 
== Offical Ubuntu Packages ==
 
== Offical Ubuntu Packages ==
  
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).
+
These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the [http://svn.osgeo.org/grass/grass/trunk/debian/README.debian debian/README.debian] file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).
  
 
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add "ubuntu", +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.
 
''Please base all downstream builds on these packaging rules'', with appropriate version number changes to the top entry of the debian/changelog file to add "ubuntu", +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.
Line 128: Line 138:
  
 
== GRASS PPA Packages ==
 
== GRASS PPA Packages ==
* [http://Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]
+
* [https://help.launchpad.net/Packaging/SourceBuilds/Recipes Built by Launchpad] using [https://code.launchpad.net/~grass/+recipes GRASS build recipes]
 
* Either built daily (stable code) or upon request (development code)
 
* Either built daily (stable code) or upon request (development code)
 +
* Browse the debian/ packaging files
 +
** [http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/files grass64] (stable)
 +
** [http://bazaar.launchpad.net/~grass/grass/grass70_release_debian/files grass70] (upcoming stable)
 +
** [http://bazaar.launchpad.net/~grass/grass/grass_trunk_debian/files grass] (development)
  
 
=== Process ===
 
=== Process ===
Line 153: Line 167:
 
Outstanding tasks are:
 
Outstanding tasks are:
  
* check the correct update & daily builds for GRASS 6.4.x
+
* Sync to the latest [http://wiki.debian.org/DebianGis DebianGIS] build rules
* Check if the upgrade to the next Ubntu release (13.04) does not affect the packages
+
* Check the correct update & daily builds for GRASS 6.4.x
 +
* Check if the upgrade to the next Ubuntu release (14.10) does not affect the packages
 
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds
 
* make the GRASS 7.0.x package failsave so that it can be activated for daily builds
 +
 +
=== Report bugs and issues ===
 +
 +
* Report bugs only related to packages installed from the GRASS PPA on he [https://bugs.launchpad.net/grass/+filebug Launchpad bug tracker].
 +
* Bugs related to GRASS functionality shall be reported directly to [http://trac.osgeo.org/grass/newticket GRASS trac]
  
 
'''Interested contributors, please come in here and give something back to the GRASS community!'''
 
'''Interested contributors, please come in here and give something back to the GRASS community!'''
Line 162: Line 182:
  
  
* [[Grass_in_Debian | Grass in Debian]]
+
* [[GRASS in Debian]]
* [[Compile_and_Install_Ubunt0u | Compile and Install Ubuntu]]
+
* [[Compile and Install Ubuntu]]
  
  
Line 169: Line 189:
 
[[Category: Ubuntu]]
 
[[Category: Ubuntu]]
 
[[Category: Debian]]
 
[[Category: Debian]]
[[Category: Linux]]
 
 
[[Category: Voluteers]]
 
[[Category: Voluteers]]

Latest revision as of 02:47, 26 December 2014

News / Announcements

We need voluteers and support. Please see: Actions needing helping hands!

Organisation

  • GRASS packages are provided by different repositories.
  • They are mostly distinguished by their level of up-to-dateness in respect to the GRASS source code.

Overview and Sources

An overview is given in the following table:

Repository Type Update Frequency Status Current version Source Details Link
Official Ubuntu Repositories universe Only updated before each Ubuntu release Stable at time of import 6.4.2-2 Imported from Debian repositories Overview
UbuntuGIS stable Upon request Stable at time of packaging 6.4.2 <ubuntu at lists.osgeo.org> ubuntugis-stable
UbuntuGIS unstable Upon request Unstable at time of packaging 6.4.2~x <ubuntu at lists.osgeo.org> ubuntugis-unstable
UbuntuGIS testing Upon request Very unstable at time of packaging 6.4.3-1~x
7.0-1~x
<ubuntu at lists.osgeo.org> ubuntugis-testing
GRASS PPA stable Daily upon change of GRASS source code Most recent fixes and backports to stable series 6.4.2+2 Imported from GRASS SVN of releasebranch_6_4 GRASS Packages: Stable Series
GRASS PPA unstable Daily upon change of GRASS source code Very unstable but latest development code 7.0.x Imported from GRASS SVN of releasebranch_7_0 GRASS Packages: Development Series
Official Debian Repositories stable/testing/unstable Follows official GRASS releases Upstream source of Ubuntu (and derivatives) packages 6.4.2-2 The DebianGIS Team (mainly Frankie and Hamish) http://packages.debian.org/grass DebianGIS

GRASS on Launchpad (LP)

Organisation

  • GRASS team
    • Individuals which are dedicated to work on GRASS packaging for Ubuntu
    • Any user and developer is free and welcome to join!
    • New active members are needed!
    • Umbrella organisation for activities around GRASS on Launchpad
    • Administers the GRASS GIS Project
  • GRASS GIS Project
  • other future projects could be
    • Automatic packaging of AddOns
    • Further integration of GRASS in Ubuntu
    • Link to Live-CD projects such as OSGeo-Live

Others (UbuntuGIS)

Source Code

The source code is managed in a structure corresponding to the above organisation

GRASS Packaging

Offical Ubuntu Packages

These are based on the DebianGIS packages by Frankie and Hamish, packaging rules stored in DebianGIS's git repo -- see the debian/README.debian file in the GRASS source code for details. The official Ubuntu packages are automatically rebuilt from the current Debian packages every six months. If a newer version shows up in the Debian archives before the upcoming Ubuntu release is frozen, it is possible to file a request for the Ubuntu maintainers to re-pull the newer version from Debian (if you can get their attention).

Please base all downstream builds on these packaging rules, with appropriate version number changes to the top entry of the debian/changelog file to add "ubuntu", +svn rev, and whatever else special identifier is needed to show the package's heritage and difference from the official ones.

Please pass up and bug fixes and wish to bugs.debian.org against the grass source package. Thanks.

UbuntuGIS Packages

To be added.

GRASS PPA Packages

Process

  1. GRASS source code is regularly imported upon change by LP (destination: see above)
  2. If source has changed, the package is build by
    1. nesting the debian package files (e.g. from lp:~grass/grass/grass64_release_debian for the 6.4.x stable series) in the original source (e.g. lp:~grass/grass/releasebranch_6_4 for the 6.4.x stable series)
    2. run the build process on LP for the chosen Ubuntu releases according to the instructions in the debian files (e.g. ~grass/grass/grass64_release_debian)
    3. Upload the package to the respective archive / PPA (e.g. GRASS Packages: Stable Series for 6.4.x stable series)

What do to on errors in the packaging process

  • If a package build fails, its most likely that there were changes in the upstream GRASS SVN
  • Then the debian files outlined above must be adapted:
    • branch the code of the debian files Bazaar (bzr) repository from launchpad
    • make the necessary changes locally
    • prepare the source running the recipe locally using
      • bzr dailydeb
      • bzr build
    • tests the build process on your machine using
      • pbuilder (recommended), or
      • dpkg-buildpackage (etc.)

Actions where help is needed

Outstanding tasks are:

  • Sync to the latest DebianGIS build rules
  • Check the correct update & daily builds for GRASS 6.4.x
  • Check if the upgrade to the next Ubuntu release (14.10) does not affect the packages
  • make the GRASS 7.0.x package failsave so that it can be activated for daily builds

Report bugs and issues

  • Report bugs only related to packages installed from the GRASS PPA on he Launchpad bug tracker.
  • Bugs related to GRASS functionality shall be reported directly to GRASS trac

Interested contributors, please come in here and give something back to the GRASS community!

See also