Skip to content

Commit 17090b9

Browse files
committed
debian packaging update: add experimental build
1 parent 7cf5592 commit 17090b9

File tree

5 files changed

+10
-56
lines changed

5 files changed

+10
-56
lines changed

cmake_templates/Doxyfile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -939,13 +939,13 @@ GENERATE_QHP = @WITH_QHP@
939939
# be used to specify the file name of the resulting .qch file.
940940
# The path specified is relative to the HTML output folder.
941941

942-
QCH_FILE =../qch/qgis.qch
942+
QCH_FILE = ../qch/qgis.qch
943943

944944
# The QHP_NAMESPACE tag specifies the namespace to use when generating
945945
# Qt Help Project output. For more information please see
946946
# http://doc.trolltech.com/qthelpproject.html#namespace
947947

948-
QHP_NAMESPACE = org.qgis.qgis2
948+
QHP_NAMESPACE = org.qgis.qgis3
949949

950950
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
951951
# Qt Help Project output. For more information please see

debian/control

-38
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Build-Depends:
2929
python3-sip,
3030
python3-sip-dev,
3131
python3-pyqt5,
32-
libosgearth-dev,
3332
git,
3433
txt2tags,
3534
doxygen
@@ -49,7 +48,6 @@ Depends:
4948
qgis-providers (= ${binary:Version}),
5049
qgis-common (= ${source:Version})
5150
Recommends:
52-
qgis-plugin-globe,
5351
qgis-plugin-grass,
5452
python-qgis
5553
Suggests: gpsbabel
@@ -286,32 +284,6 @@ Description: GRASS plugin for QGIS - architecture-independent data
286284
This package contains architecture-independent supporting data files for use
287285
with the QGIS GRASS plugin.
288286

289-
Package: qgis-plugin-globe
290-
Architecture: any
291-
Depends:
292-
qgis (= ${binary:Version}),
293-
qgis-plugin-globe-common (= ${source:Version}),
294-
openscenegraph-plugin-osgearth,
295-
${shlibs:Depends},
296-
${misc:Depends}
297-
Description: OSG globe plugin for QGIS
298-
QGIS is a Geographic Information System (GIS) which manages, analyzes and
299-
display databases of geographic information.
300-
.
301-
This plugin enables 3D viewing using OSG globe in the QGIS.
302-
303-
Package: qgis-plugin-globe-common
304-
Architecture: all
305-
Depends:
306-
osgearth-data,
307-
${misc:Depends}
308-
Description: OSG globe plugin for QGIS - architecture-independent data
309-
QGIS is a Geographic Information System (GIS) which manages, analyzes and
310-
display databases of geographic information.
311-
.
312-
This package contains architecture-independent supporting data files for use
313-
with the QGIS GLOBE plugin.
314-
315287
Package: python-qgis
316288
Architecture: any
317289
Section: python
@@ -420,13 +392,3 @@ Description: QGIS API documentation
420392
.
421393
This package contains the QGIS API documentation.
422394

423-
#oracle#Package: qgis-oracle-provider
424-
#oracle#Architecture: any
425-
#oracle#Depends: ${shlibs:Depends}, ${misc:Depends}
426-
#oracle#Section: contrib/database
427-
#oracle#Description: QGIS oracle provider
428-
#oracle# QGIS is a Geographic Information System (GIS) which manages, analyzes and
429-
#oracle# display databases of geographic information.
430-
#oracle# .
431-
#oracle# This package contains the QGIS oracle provider.
432-
#oracle#

debian/control.in

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ Build-Depends:
3131
python3-sip,
3232
python3-sip-dev,
3333
python3-pyqt5,
34-
libosgearth-dev,
34+
#sid# libosgearth-dev,
35+
qttools5-dev-tools,
3536
git,
3637
txt2tags,
3738
doxygen,
@@ -43,7 +44,7 @@ Build-Depends:
4344
libqt5svg5-dev, libqt5xmlpatterns5-dev,
4445
pyqt5.qsci-dev,
4546
libqt5webkit5-dev, qttools5-dev, qtscript5-dev,
46-
libqt5scintilla2-dev, pyqt5-dev-tools, python3-pyqt5.qtsql, qtpositioning5-dev, libqt5opengl5-dev,
47+
libqt5scintilla2-dev, pyqt5-dev-tools, python3-pyqt5.qtsql, qtpositioning5-dev, libqt5opengl5-dev, libqt5sql5-sqlite,
4748
python3-pyqt5.qsci,
4849
pyqt5.qsci-dev, python3-nose2,
4950
python3-gdal, python3-yaml, python3-mock, python3-psycopg2, python3-future, python3-termcolor,

debian/rules

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ DEB_BUILD_MULTIARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
1919

2020
DEB_TEST_TARGET ?= Experimental
2121
QGIS_BUILDDIR ?= debian/build
22+
export QT_SELECT=5
2223

2324
QGIS_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \([0-9]\+:\)\?\([^+-]\+\).*$$/\2/p')
2425

@@ -81,8 +82,6 @@ CMAKE_OPTS := \
8182
-DWITH_INTERNAL_YAML=FALSE \
8283
-DWITH_INTERNAL_NOSE2=FALSE \
8384
-DWITH_INTERNAL_SIX=FALSE \
84-
-DQT_TAG_FILE=/usr/share/qt5/doc/html/qt.tags \
85-
-DQT_DOC_URL=/usr/share/qt5/doc/qtdoc/ \
8685
-DWITH_GLOBE=FALSE \
8786
-DWITH_SERVER=FALSE \
8887
-DWITH_SERVER_PLUGINS=FALSE \

doc/CMakeLists.txt

+4-12
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,17 @@ INSTALL (FILES ${SPONSOR_IMAGES} DESTINATION ${QGIS_DATA_DIR}/doc/images/project
3434
IF(WITH_APIDOC)
3535
FIND_PACKAGE(Doxygen 1.8.2 REQUIRED)
3636
IF(DOXYGEN_FOUND)
37+
SET(QHP_FILES ${CMAKE_CURRENT_BINARY_DIR}/api/html/index.qhp)
3738

3839
# Whether to generate QHP file
3940
SET (GENERATE_QHP FALSE CACHE BOOL "Determines whether to generate Qt QHP help from the QGIS API Docs")
4041
IF (GENERATE_QHP)
4142
SET(WITH_QHP YES)
43+
SET(QHP_FILES ${QHP_FILES} ${CMAKE_CURRENT_BINARY_DIR}/api/qch/qgis.qch)
4244
ELSE(GENERATE_QHP)
4345
SET(WITH_QHP NO)
4446
ENDIF(GENERATE_QHP)
4547

46-
FIND_FILE(QT_TAG_FILE
47-
NAMES qt4.tags qt4.tag qt.tags qt.tag
48-
PATHS "${QT_DOC_DIR}"
49-
DOC "Path to Qt documentation tag file (eg qt.tags)"
50-
)
51-
IF(QT_TAG_FILE)
52-
SET(DOXYGEN_TAGS ${QT_TAG_FILE}=${QT_DOC_URL})
53-
ENDIF(QT_TAG_FILE)
54-
5548
SET(DOXYGEN_INPUT
5649
${CMAKE_SOURCE_DIR}/doc
5750
${CMAKE_SOURCE_DIR}/src/core
@@ -104,12 +97,11 @@ IF(WITH_APIDOC)
10497
STRING(REPLACE ";" " " DOXYGEN_INPUT "${DOXYGEN_INPUT}")
10598

10699
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/cmake_templates/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
107-
ADD_CUSTOM_TARGET(apidoc ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/doxygen.stamp)
100+
ADD_CUSTOM_TARGET(apidoc ALL DEPENDS ${QHP_FILES})
108101
ADD_CUSTOM_COMMAND(
109-
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/doxygen.stamp
102+
OUTPUT ${QHP_FILES}
110103
DEPENDS ${DOXYGEN_FILES}
111104
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
112-
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/doxygen.stamp
113105
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
114106
COMMENT "Generating API documentation" VERBATIM)
115107
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/api/html/ DESTINATION ${QGIS_DATA_DIR}/doc/api)

0 commit comments

Comments
 (0)