参考:http://wlxblog.westgis.ac.cn/195/
拷贝qgis-0.7.4的debian目录,按照下面的diff进行修改
debian/control
5c5
< Build-Depends: debhelper (>= 4.0.0), libgdal1-1.3.1-dev (>= 1.2.6-1), libqt4-dev , libcfitsio-dev (>= 2.460-1), libpq-dev | postgresql-dev, libhdf4g-dev (>= 4.1r4-17), libungif4-dev (>= 4.1.0b1-6), unixodbc-dev (>= 2.2.4-6), libxerces27-dev (>= 2.1.0-5), libjasper-1.701-dev (>= 1.701.0-2), libtiff4-dev (>= 3.6.1-1.1), netcdfg-dev (>= 3.5.0-7.1), libgeos-dev (>= 2.0.1-1), dpatch, libgrass-dev (>= 6.0.0-1), libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev
—
> Build-Depends: debhelper (>= 4.0.0), libgdal1-1.3.1-dev (>= 1.2.6-1), libqt3-mt-dev (>= 3:3.2.1-6), libqt3-compat-headers (>= 3:3.2.3-2), libcfitsio-dev (>= 2.460-1), libpq-dev | postgresql-dev, libhdf4g-dev (>= 4.1r4-17), libungif4-dev (>= 4.1.0b1-6), unixodbc-dev (>= 2.2.4-6), libxerces26-dev (>= 2.1.0-5), libjasper-1.701-dev (>= 1.701.0-2), libtiff4-dev (>= 3.6.1-1.1), netcdfg-dev (>= 3.5.0-7.1), libgeos-dev (>= 2.0.1-1), dpatch, libgrass-dev (>= 6.0.0-1), libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev
26,27c26,27
< Depends: qgis (= ${Source-Version}), libgdal1-1.3.1-dev (>= 1.2.6-1), libqt4-dev , , libcfitsio-dev (>= 2.460-1), libpq-dev | postgresql-dev, libhdf4g-dev (>= 4.1r4-17), libungif4-dev (>= 4.1.0b1-6), unixodbc-dev (>= 2.2.4-6), libxerces27-dev (>= 2.1.0-5), libjasper-1.701-dev (>= 1.701.0-2), libtiff4-dev (>= 3.6.1-1.1), netcdfg-dev (>= 3.5.0-7.1), libgeos-dev (>= 2.0.1-1), libgrass-dev (>= 6.0.0-1), libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev
< Suggests: qt4-designer --- > Depends: qgis (= ${Source-Version}), libgdal1-dev (>= 1.2.6-1), libqt3-mt-dev (>= 3:3.2.1-6), libqt3-compat-headers (>= 3:3.2.3-2), libcfitsio-dev (>= 2.460-1), libpq-dev | postgresql-dev, libhdf4g-dev (>= 4.1r4-17), libungif4-dev (>= 4.1.0b1-6), unixodbc-dev (>= 2.2.4-6), libxerces26-dev (>= 2.1.0-5), libjasper-1.701-dev (>= 1.701.0-2), libtiff4-dev (>= 3.6.1-1.1), netcdfg-dev (>= 3.5.0-7.1), libgeos-dev (>= 2.0.1-1), libgrass-dev (>= 6.0.0-1), libsqlite3-dev, libgsl0-dev, proj, libexpat1-dev
> Suggests: qt3-designer
38c38
< Depends: qgis (= ${Source-Version}), libgdal1-1.3.1-grass (>= 1.2.6-0)
—
> Depends: qgis (= ${Source-Version}), libgdal1-grass (>= 1.2.6-0)
debian/qgis-dev.install
17a18
> usr/lib/qgis/designer/*.*a
debian/qgis.install
0a1
> usr/bin/gridmaker
2c3
< usr/lib/libqgis_*.so.* --- > usr/lib/libqgis.so.*
15a17
> usr/lib/qgis/designer/*.so
debian/rules
35c35
< --with-qtdir=/usr/share/qt4 \ --- > –with-qtdir=/usr/share/qt3 \
发表回复