@@ -912,6 +912,8 @@ Error validating server certificate for 'https://svn.qgis.org:443':
912
912
913
913
== Starting the compile ==
914
914
915
+ /!\ ***Note:*** The next section describes howto build debian packages
916
+
915
917
I compile my development version of QGIS into my ~/apps directory to avoid
916
918
conflicts with Ubuntu packages that may be under /usr. This way for example
917
919
you can use the binary packages of QGIS on your system along side with your
@@ -950,6 +952,43 @@ make install
950
952
951
953
It may take a little while to build depending on your platform.
952
954
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
+
953
992
== Running QGIS ==
954
993
955
994
Now you can try to run QGIS:
@@ -1989,14 +2028,14 @@ The following people have contributed to this document:
1989
2028
- MSVC install additions Tim Sutton 2007
1990
2029
- PostgreSQL, Qt compile, SIP, Python, AutoExp additions Juergen Fischer 2007
1991
2030
1992
-
1993
2031
- Windows MSVC Section (Simplified install)
1994
2032
- Tim Sutton 2007
1995
2033
- Juergen Fischer 2007
1996
2034
1997
2035
- OSX Section
1998
- - Tim Sutton, 2007
2036
+ - Tim Sutton 2007
1999
2037
- With special thanks to Tom Elwertowski and William Kyngesburye
2000
2038
2001
2039
- GNU/Linux Section
2002
2040
- Tim Sutton 2006
2041
+ - Debian package section: Juergen Fischer 2008
0 commit comments