Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions scripts/build-helpers
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ export MASTER_SCP=upload.osgeo.org:/osgeo/download/$MASTER_BASE
export OSGEO4W_SCRIPTS=$(cygpath -a "$( dirname "${BASH_SOURCE[0]}" )")
export OSGEO4W_PWD=$PWD

: ${WINDOWS_KITS_ROOT:=c/Program Files (x86)/Windows Kits}
: ${MSVS2022_ROOT:=$PROGRAMFILES}
: ${MSVS2019_ROOT:=$PROGRAMFILES (x86)}
export WINDOWS_KITS_ROOT
export MSVS2022_ROOT
export MSVS2019_ROOT

export CCACHE_CACHE_SIZE=50G

: ${PYTHON:=Python312}
Expand Down Expand Up @@ -179,7 +186,7 @@ vs2019env() {

vcdir=
for e in Community Professional Enterprise; do
d=$(cygpath "$PROGRAMFILES (x86)\\Microsoft Visual Studio\\2019\\$e")
d=$(cygpath "$MSVS2019_ROOT\\Microsoft Visual Studio\\2019\\$e")
if [ -d "$d" ]; then
vcdir=$d
break
Expand Down Expand Up @@ -233,7 +240,7 @@ vs2022env() {

vcdir=
for e in Community Professional Enterprise; do
d=$(cygpath "$PROGRAMFILES\\Microsoft Visual Studio\\2022\\$e")
d=$(cygpath "$MSVS2022_ROOT\\Microsoft Visual Studio\\2022\\$e")
if [ -d "$d" ]; then
vcdir=$d
break
Expand Down Expand Up @@ -265,7 +272,7 @@ vs2022env() {
VCSDK=10.0.22621.0
fi

local dhd="/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/dbghelp.dll"
local dhd="/cygdrive/$WINDOWS_KITS_ROOT/10/Debuggers/x64/dbghelp.dll"

# make sure we have a dbghelp version, that works on Windows 8 using brute force
if ! [ -f "$dhd" ]; then
Expand All @@ -280,7 +287,7 @@ vs2022env() {
v=$(fileversion "$dhd")

case $v in
10.0.19041.*)
10.0.19041.*|10.0.22621.*)
;;
*)
log Replacing $dhd $v
Expand Down Expand Up @@ -365,7 +372,7 @@ ninjaenv() {
if ! [ -x "$OSGEO4W_SCRIPTS/ninja.exe" ]; then
(
cd /tmp
curl --remote-name -L https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-win.zip
curl --remote-name -L https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-win.zip
cd $OSGEO4W_SCRIPTS
unzip /tmp/ninja-win.zip

Expand Down
6 changes: 3 additions & 3 deletions src/qgis-dev/osgeo4w/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export P=qgis-dev
export V=tbd
export B=tbd
export MAINTAINER=JuergenFischer
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel gdal-dev-devel qt5-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt5 python3-sip python3-pyqt-builder python3-devel python3-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-devel qscintilla-devel qt5-devel qwt-devel libspatialite-devel oci-devel qtkeychain-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel qtwebkit-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib"
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel gdal-dev-devel qt5-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt5 python3-sip python3-pyqt-builder python3-devel python3-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-devel qscintilla-devel qt5-devel qwt-devel libspatialite-devel oci-devel qtkeychain-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel qtwebkit-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib python3-jinja2 python3-owslib"
export PACKAGES="qgis-dev qgis-dev-deps qgis-dev-full qgis-dev-full-free qgis-dev-pdb"

: ${REPO:=https://github.com/qgis/QGIS.git}
Expand Down Expand Up @@ -185,7 +185,7 @@ nextbinary
-D WITH_CUSTOM_WIDGETS=TRUE \
-D CMAKE_BUILD_TYPE=$BUILDCONF \
-D CMAKE_CONFIGURATION_TYPES="$BUILDCONF" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/c/Program Files (x86)/Windows Kits/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/$WINDOWS_KITS_ROOT/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D PROJ_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D POSTGRES_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D GEOS_LIBRARY=$(cygpath -am "$O4W_ROOT/lib/geos_c.lib") \
Expand Down Expand Up @@ -285,7 +285,7 @@ nextbinary
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" qgis.bat >install/bin/$P.bat
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" process.bat >install/bin/qgis_process-$P.bat

cp "/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P
cp "/cygdrive/$WINDOWS_KITS_ROOT/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P

mkdir -p install/apps/$P/python
cp "$PYTHONHOME/Lib/site-packages/PyQt5/uic/widget-plugins/qgis_customwidgets.py" install/apps/$P/python
Expand Down
6 changes: 3 additions & 3 deletions src/qgis-ltr-dev/osgeo4w/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export P=qgis-ltr-dev
export V=tbd
export B=tbd
export MAINTAINER=JuergenFischer
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt5-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt5 python3-sip python3-pyqt-builder python3-devel python3-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-devel qscintilla-devel qt5-devel qwt-devel libspatialite-devel oci-devel qtkeychain-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel qtwebkit-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib gdal-devel"
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt5-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt5 python3-sip python3-pyqt-builder python3-devel python3-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-devel qscintilla-devel qt5-devel qwt-devel libspatialite-devel oci-devel qtkeychain-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel qtwebkit-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib python3-jinja2 python3-owslib gdal-devel"
export PACKAGES="qgis-ltr-dev qgis-ltr-dev-deps qgis-ltr-dev-full qgis-ltr-dev-full-free qgis-ltr-dev-pdb"

: ${REPO:=https://github.com/qgis/QGIS.git}
Expand Down Expand Up @@ -201,7 +201,7 @@ nextbinary
-D WITH_CUSTOM_WIDGETS=TRUE \
-D CMAKE_BUILD_TYPE=$BUILDCONF \
-D CMAKE_CONFIGURATION_TYPES="$BUILDCONF" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/c/Program Files (x86)/Windows Kits/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/$WINDOWS_KITS_ROOT/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D PROJ_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D POSTGRES_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D GEOS_LIBRARY=$(cygpath -am "$O4W_ROOT/lib/geos_c.lib") \
Expand Down Expand Up @@ -301,7 +301,7 @@ nextbinary
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" qgis.bat >install/bin/$P.bat
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" process.bat >install/bin/qgis_process-$P.bat

cp "/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P
cp "/cygdrive/$WINDOWS_KITS_ROOT/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P

mkdir -p install/apps/$P/python
cp "$PYTHONHOME/Lib/site-packages/PyQt5/uic/widget-plugins/qgis_customwidgets.py" install/apps/$P/python
Expand Down
6 changes: 3 additions & 3 deletions src/qgis-ltr-qt6/osgeo4w/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export P=qgis-ltr-qt6
export V=tbd
export B=tbd
export MAINTAINER=JuergenFischer
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt6-qml qt6-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt6 python3-sip python3-pyqt-builder python3-devel python3-pyqt6-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-qt6-devel qscintilla-qt6-devel qt6-devel qwt-qt6-devel libspatialite-devel oci-devel qtkeychain-qt6-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel python3-oauthlib gdal-devel"
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt6-qml qt6-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt6 python3-sip python3-pyqt-builder python3-devel python3-pyqt6-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-qt6-devel qscintilla-qt6-devel qt6-devel qwt-qt6-devel libspatialite-devel oci-devel qtkeychain-qt6-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel python3-oauthlib python3-jinja2 python3-owslib gdal-devel"
export PACKAGES="qgis-ltr-qt6 qgis-ltr-qt6-common qgis-ltr-qt6-deps qgis-ltr-qt6-devel qgis-ltr-qt6-full qgis-ltr-qt6-full-free qgis-ltr-qt6-grass-plugin qgis-ltr-qt6-oracle-provider qgis-ltr-qt6-pdb qgis-ltr-qt6-server"

: ${REPO:=https://github.com/qgis/QGIS.git}
Expand Down Expand Up @@ -136,7 +136,7 @@ nextbinary
-D WITH_CUSTOM_WIDGETS=TRUE \
-D CMAKE_BUILD_TYPE=$BUILDCONF \
-D CMAKE_CONFIGURATION_TYPES="$BUILDCONF" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/c/Program Files (x86)/Windows Kits/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/$WINDOWS_KITS_ROOT/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D PROJ_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D POSTGRES_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D GEOS_LIBRARY=$(cygpath -am "$O4W_ROOT/lib/geos_c.lib") \
Expand Down Expand Up @@ -240,7 +240,7 @@ nextbinary
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" postinstall-grass.bat >install/etc/postinstall/$P-grass-plugin.bat
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" preremove-grass.bat >install/etc/preremove/$P-grass-plugin.bat

cp "/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P
cp "/cygdrive/$WINDOWS_KITS_ROOT/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P

mv install/apps/$P/bin/qgis.exe install/bin/$P-bin.exe
cp qgis.vars install/bin/$P-bin.vars
Expand Down
6 changes: 3 additions & 3 deletions src/qgis-ltr/osgeo4w/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export P=qgis-ltr
export V=tbd
export B=tbd
export MAINTAINER=JuergenFischer
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel gdal-devel qt5-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt5 python3-sip python3-pyqt-builder python3-devel python3-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-devel qscintilla-devel qt5-devel qwt-devel libspatialite-devel oci-devel qtkeychain-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel qtwebkit-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel python3-oauthlib"
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel gdal-devel qt5-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt5 python3-sip python3-pyqt-builder python3-devel python3-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-devel qscintilla-devel qt5-devel qwt-devel libspatialite-devel oci-devel qtkeychain-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel qtwebkit-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel python3-oauthlib python3-jinja2 python3-owslib"
export PACKAGES="qgis-ltr qgis-ltr-common qgis-ltr-deps qgis-ltr-devel qgis-ltr-full qgis-ltr-full-free qgis-ltr-grass-plugin qgis-ltr-oracle-provider qgis-ltr-pdb qgis-ltr-server"

: ${REPO:=https://github.com/qgis/QGIS.git}
Expand Down Expand Up @@ -132,7 +132,7 @@ nextbinary
-D WITH_CUSTOM_WIDGETS=TRUE \
-D CMAKE_BUILD_TYPE=$BUILDCONF \
-D CMAKE_CONFIGURATION_TYPES="$BUILDCONF" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/c/Program Files (x86)/Windows Kits/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/$WINDOWS_KITS_ROOT/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D PROJ_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D POSTGRES_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D GEOS_LIBRARY=$(cygpath -am "$O4W_ROOT/lib/geos_c.lib") \
Expand Down Expand Up @@ -236,7 +236,7 @@ nextbinary
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" postinstall-grass.bat >install/etc/postinstall/$P-grass-plugin.bat
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" preremove-grass.bat >install/etc/preremove/$P-grass-plugin.bat

cp "/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P
cp "/cygdrive/$WINDOWS_KITS_ROOT/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P

mv install/apps/$P/bin/qgis.exe install/bin/$P-bin.exe
cp qgis.vars install/bin/$P-bin.vars
Expand Down
6 changes: 3 additions & 3 deletions src/qgis-qt6-dev/osgeo4w/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export P=qgis-qt6-dev
export V=tbd
export B=tbd
export MAINTAINER=JuergenFischer
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt6-qml qt6-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt6 python3-sip python3-pyqt-builder python3-devel python3-pyqt6-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-qt6-devel qscintilla-qt6-devel qt6-devel qwt-qt6-devel libspatialite-devel oci-devel qtkeychain-qt6-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib gdal-dev-devel"
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt6-qml qt6-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt6 python3-sip python3-pyqt-builder python3-devel python3-pyqt6-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-qt6-devel qscintilla-qt6-devel qt6-devel qwt-qt6-devel libspatialite-devel oci-devel qtkeychain-qt6-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib python3-jinja2 python3-owslib gdal-dev-devel"
export PACKAGES="qgis-qt6-dev qgis-qt6-dev-deps qgis-qt6-dev-full qgis-qt6-dev-full-free qgis-qt6-dev-pdb"

: ${REPO:=https://github.com/qgis/QGIS.git}
Expand Down Expand Up @@ -193,7 +193,7 @@ nextbinary
-D WITH_CUSTOM_WIDGETS=TRUE \
-D CMAKE_BUILD_TYPE=$BUILDCONF \
-D CMAKE_CONFIGURATION_TYPES="$BUILDCONF" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/c/Program Files (x86)/Windows Kits/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/$WINDOWS_KITS_ROOT/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D PROJ_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D POSTGRES_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D GEOS_LIBRARY=$(cygpath -am "$O4W_ROOT/lib/geos_c.lib") \
Expand Down Expand Up @@ -293,7 +293,7 @@ nextbinary
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" qgis.bat >install/bin/$P.bat
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" process.bat >install/bin/qgis_process-$P.bat

cp "/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P
cp "/cygdrive/$WINDOWS_KITS_ROOT/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P

mkdir -p install/apps/$P/python
cp "$PYTHONHOME/Lib/site-packages/PyQt6/uic/widget-plugins/qgis_customwidgets.py" install/apps/$P/python
Expand Down
6 changes: 3 additions & 3 deletions src/qgis-qt6-ltr-dev/osgeo4w/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export P=qgis-qt6-ltr-dev
export V=tbd
export B=tbd
export MAINTAINER=JuergenFischer
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt6-qml qt6-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt6 python3-sip python3-pyqt-builder python3-devel python3-pyqt6-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-qt6-devel qscintilla-qt6-devel qt6-devel qwt-qt6-devel libspatialite-devel oci-devel qtkeychain-qt6-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib gdal-devel"
export BUILDDEPENDS="expat-devel fcgi-devel proj-devel qt6-qml qt6-oci sqlite3-devel geos-devel gsl-devel libiconv-devel libzip-devel libspatialindex-devel python3-pip python3-pyqt6 python3-sip python3-pyqt-builder python3-devel python3-pyqt6-qscintilla python3-nose2 python3-future python3-pyyaml python3-mock python3-six qca-qt6-devel qscintilla-qt6-devel qt6-devel qwt-qt6-devel libspatialite-devel oci-devel qtkeychain-qt6-devel zlib-devel opencl-devel exiv2-devel protobuf-devel python3-setuptools zstd-devel libpq-devel libxml2-devel hdf5-devel hdf5-tools netcdf-devel pdal pdal-devel grass draco-devel libtiff-devel transifex-cli python3-oauthlib python3-jinja2 python3-owslib gdal-devel"
export PACKAGES="qgis-qt6-ltr-dev qgis-qt6-ltr-dev-deps qgis-qt6-ltr-dev-full qgis-qt6-ltr-dev-full-free qgis-qt6-ltr-dev-pdb"

: ${REPO:=https://github.com/qgis/QGIS.git}
Expand Down Expand Up @@ -209,7 +209,7 @@ nextbinary
-D WITH_CUSTOM_WIDGETS=TRUE \
-D CMAKE_BUILD_TYPE=$BUILDCONF \
-D CMAKE_CONFIGURATION_TYPES="$BUILDCONF" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/c/Program Files (x86)/Windows Kits/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D SETUPAPI_LIBRARY="$(cygpath -am "/cygdrive/$WINDOWS_KITS_ROOT/10/Lib/$UCRTVersion/um/x64/SetupAPI.Lib")" \
-D PROJ_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D POSTGRES_INCLUDE_DIR=$(cygpath -am $O4W_ROOT/include) \
-D GEOS_LIBRARY=$(cygpath -am "$O4W_ROOT/lib/geos_c.lib") \
Expand Down Expand Up @@ -309,7 +309,7 @@ nextbinary
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" qgis.bat >install/bin/$P.bat
sed -e "s/@package@/$P/g" -e "s/@version@/$v/g" -e "s/@grassversion@/$GRASS_VERSION/g" -e "s/@grasspath@/$(basename $GRASS_PREFIX)/g" -e "s/@grassmajor@/${GRASS_VERSION%%.*}/" process.bat >install/bin/qgis_process-$P.bat

cp "/cygdrive/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P
cp "/cygdrive/$WINDOWS_KITS_ROOT/10/Debuggers/x64/"{dbghelp.dll,symsrv.dll} install/apps/$P

mkdir -p install/apps/$P/python
cp "$PYTHONHOME/Lib/site-packages/PyQt6/uic/widget-plugins/qgis_customwidgets.py" install/apps/$P/python
Expand Down
Loading