[GRASS-SVN] r50538 - grass/branches/develbranch_6/debian
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 29 23:17:46 EST 2012
Author: hamish
Date: 2012-01-29 20:17:46 -0800 (Sun, 29 Jan 2012)
New Revision: 50538
Modified:
grass/branches/develbranch_6/debian/README.debian
Log:
update to modern; svn props
Modified: grass/branches/develbranch_6/debian/README.debian
===================================================================
--- grass/branches/develbranch_6/debian/README.debian 2012-01-29 19:34:32 UTC (rev 50537)
+++ grass/branches/develbranch_6/debian/README.debian 2012-01-30 04:17:46 UTC (rev 50538)
@@ -1,39 +1,54 @@
-# For preparing GRASS Debian package run
+# For preparing GRASS Debian package you should download the packaging
+# rules from DebianGIS's git repository, then use the Debian build scripts
+# to construct the .deb files.
-svn co svn://svn.debian.org/pkg-grass/packages/grass/trunk/debian debiangis
+# Make sure git and the debian build scripts are installed:
+ sudo apt-get install git-core devscripts
- -or for the old version-
-svn co -r 1896 svn://svn.debian.org/pkg-grass/packages/grass/branches/6.4/debian debiangis
-mv debiangis/* .
+# From the grass source dir download the packaging rules (the contents
+# of debiangis/grass/ can be ignored, only the debian/ dir is needed):
+ git clone git://git.debian.org/git/pkg-grass/grass.git debiangis
+ ln -s debiangis/grass/debian debian
-# in this directory. It will download latest debian configuration files
-# from debian Subversion server (http://svn.debian.org).
-# The grass debian/ dir is under SVN control so you can't just checkout over
-# the top of it from another repo.
+# If you haven't built GRASS from source on this machine before, you'll
+# have to install a bunch of -dev packages. Look at the debian/control
+# file and install the packages on the "Build-depends" lines.
+
+ apt-get install flex bison libreadline-dev libncurses5-dev # ... etc.
+
+
+# In your favorite text editor open debian/changelog and adjust the
+# version number on the top line to reflect the GRASS SVN checkout number.
+# e.g. for r50538: grass (6.5+svn50538-0) unstable; urgency=low
+
+ nano debian/changelog
+
+
# After that, you can build current version of GRASS with
-dpkg-buildpackage -rfakeroot
-# or
-debuild binary
-# or
-debuild -i -uc -us -b -j2
+ debuild -i -uc -us -b
# in main GRASS source directory. After the packages are generated, you can
# install them with
-dpkg -i ../*grass*deb
+ dpkg -i ../grass*.deb
+# to try again, first clean out the old build by running:
+# (from the main source dir)
-=====
+ debuild clean
-fixme: DebianGIS has moved to git,
+# then repeat the build process
- sudo apt-get install git-core
- mkdir git && cd git
- git clone git://git.debian.org/git/pkg-grass/grass.git
- ln -s grass/debian debiangis
-how to download just the grass/debian/ directory from that?
+
+FIXME: how to download just the grass/debian/ directory from git
+ and not the whole thing?
+
+
+--
+H.Bowman
+Last changed: $Date$
Property changes on: grass/branches/develbranch_6/debian/README.debian
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Author Date Id
Added: svn:eol-style
+ native
More information about the grass-commit
mailing list