Skip to content

Commit 1cfc6e8

Browse files
author
jef
committed
added debian package section
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9615 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 599e874 commit 1cfc6e8

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed

doc/INSTALL.t2t

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,8 @@ Error validating server certificate for 'https://svn.qgis.org:443':
912912

913913
== Starting the compile ==
914914

915+
/!\ ***Note:*** The next section describes howto build debian packages
916+
915917
I compile my development version of QGIS into my ~/apps directory to avoid
916918
conflicts with Ubuntu packages that may be under /usr. This way for example
917919
you can use the binary packages of QGIS on your system along side with your
@@ -950,6 +952,43 @@ make install
950952

951953
It may take a little while to build depending on your platform.
952954

955+
== Building Debian packages ==
956+
957+
Instead of creating a personal installation as in the previous step you can
958+
also create debian package. This is done from the qgis root directory, where
959+
you'll find a debian directory.
960+
961+
First you need to install the debian packaging tools once:
962+
963+
```
964+
apt-get install build-essential
965+
```
966+
967+
The QGIS packages will be created with:
968+
969+
```
970+
dpkg-buildpackage -us -us -b
971+
```
972+
973+
/!\ ***Note:*** If ``dpkg-buildpackage`` complains about unmet build dependencies
974+
you can install them using ``apt-get`` and re-run the command.
975+
976+
/!\ ***Note:*** If you have ``libqgis1-dev`` installed, you need to remove it first
977+
using ``dpkg -r libqgis1-dev``. Otherwise ``dpkg-buildpackage`` will complain about at
978+
build conflict.
979+
980+
The the packages are created in the parent directory (ie. one level up).
981+
Install them using dpkg. E.g.:
982+
983+
```
984+
sudo dpkg -i \
985+
../qgis_1.0preview16_amd64.deb \
986+
../libqgis-gui1_1.0preview16_amd64.deb \
987+
../libqgis-core1_1.0preview16_amd64.deb \
988+
../qgis-plugin-grass_1.0preview16_amd64.deb \
989+
../python-qgis_1.0preview16_amd64.deb
990+
```
991+
953992
== Running QGIS ==
954993

955994
Now you can try to run QGIS:
@@ -1989,14 +2028,14 @@ The following people have contributed to this document:
19892028
- MSVC install additions Tim Sutton 2007
19902029
- PostgreSQL, Qt compile, SIP, Python, AutoExp additions Juergen Fischer 2007
19912030

1992-
19932031
- Windows MSVC Section (Simplified install)
19942032
- Tim Sutton 2007
19952033
- Juergen Fischer 2007
19962034

19972035
- OSX Section
1998-
- Tim Sutton, 2007
2036+
- Tim Sutton 2007
19992037
- With special thanks to Tom Elwertowski and William Kyngesburye
20002038

20012039
- GNU/Linux Section
20022040
- Tim Sutton 2006
2041+
- Debian package section: Juergen Fischer 2008

0 commit comments

Comments
 (0)