Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Troy Dawson
4157868f2a Added to RHEL 10.1 rhbz#2376350 2025-11-20 10:08:34 -08:00
10 changed files with 1 additions and 2005 deletions

126
.gitignore vendored
View file

@ -1,126 +0,0 @@
gdal-1.7.2-fedora.tar.gz
gdalautotest-1.7.0.tar.gz
/gdal-1.7.3-fedora.tar.gz
/gdalautotest-1.7.3.tar.gz
/gdal-1.9.0-fedora.tar.gz
/gdalautotest-1.9.0.tar.gz
/gdal-1.9.1-fedora.tar.gz
/gdal-1.9.2-fedora.tar.gz
/gdal-1.10.0-fedora.tar.gz
/gdal-1.10.1-fedora.tar.xz
/gdalautotest-1.10.1.tar.gz
/gdal-1.11.0-fedora.tar.xz
/gdalautotest-1.11.0.tar.gz
/gdal-1.11.1-fedora.tar.xz
/gdalautotest-1.11.1.tar.gz
/gdalautotest-1.11.2.tar.gz
/gdal-1.11.2-fedora.tar.xz
/gdal-2.0.0-fedora.tar.xz
/gdalautotest-2.0.0.tar.gz
/gdalautotest-2.0.1.tar.gz
/gdal-2.0.1-fedora.tar.xz
/gdalautotest-2.0.2.tar.gz
/gdalautotest-1.11.3.tar.gz
/gdal-2.0.2-fedora.tar.xz
/gdalautotest-2.1.0.tar.gz
/gdal-2.1.0-fedora.tar.xz
/gdalautotest-2.1.1.tar.gz
/gdal-2.1.1-fedora.tar.xz
/gdal-2.1.2-fedora.tar.xz
/gdalautotest-2.1.3.tar.gz
/gdal-2.1.3-fedora.tar.xz
/gdal-2.1.4-fedora.tar.xz
/gdalautotest-2.1.4.tar.gz
/gdal-2.2.2-fedora.tar.xz
/gdalautotest-2.2.2.tar.gz
/gdalautotest-2.2.3.tar.gz
/gdal-2.2.3-fedora.tar.xz
/gdalautotest-2.2.4.tar.gz
/gdal-2.2.4-fedora.tar.xz
/gdalautotest-2.3.1.tar.gz
/gdal-2.3.1-fedora.tar.xz
/gdalautotest-2.3.2.tar.gz
/gdal-2.3.2-fedora.tar.xz
/gdalautotest-3.0.1.zip
/gdal-3.0.1-fedora.tar.xz
/gdal-3.1.0-fedora.tar.xz
/gdalautotest-3.1.0.tar.gz
/gdal-3.1.1-fedora.tar.xz
/gdalautotest-3.1.1.tar.gz
/gdal-3.1.2-fedora.tar.xz
/gdalautotest-3.1.2.tar.gz
/gdal-3.1.3-fedora.tar.xz
/gdalautotest-3.1.3.tar.gz
/gdal-3.1.4-fedora.tar.xz
/gdalautotest-3.1.4.tar.gz
/gdalautotest-3.2.0.tar.gz
/gdal-3.2.0-fedora.tar.xz
/gdal-3.2.1-fedora.tar.xz
/gdalautotest-3.2.1.tar.gz
/gdalautotest-3.2.2.tar.gz
/gdal-3.2.2-fedora.tar.xz
/gdalautotest-3.3.0.tar.gz
/gdal-3.3.0-fedora.tar.xz
/gdal-3.3.1-fedora.tar.xz
/gdalautotest-3.3.1.tar.gz
/gdal-3.3.2-fedora.tar.xz
/gdalautotest-3.3.2.tar.gz
/gdal-3.3.3-fedora.tar.xz
/gdalautotest-3.3.3.tar.gz
/gdal-3.4.0-fedora.tar.xz
/gdalautotest-3.4.0.tar.gz
/gdal-3.4.1-fedora.tar.xz
/gdalautotest-3.4.1.tar.gz
/gdal-3.4.2-fedora.tar.xz
/gdalautotest-3.4.2.tar.gz
/gdal-3.4.3-fedora.tar.xz
/gdalautotest-3.4.3.tar.gz
/gdalautotest-3.5.0.tar.gz
/gdal-3.5.0-fedora.tar.xz
/gdalautotest-3.5.1.tar.gz
/gdal-3.5.1-fedora.tar.xz
/gdal-3.5.2-fedora.tar.xz
/gdalautotest-3.5.2.tar.gz
/gdal-3.5.3-fedora.tar.xz
/gdalautotest-3.5.3.tar.gz
/gdal-3.6.0-fedora.tar.xz
/gdalautotest-3.6.0.tar.gz
/gdalautotest-3.6.1.tar.gz
/gdal-3.6.1.tar.xz
/gdal-3.6.1-fedora.tar.xz
/gdal-3.6.2-fedora.tar.xz
/gdalautotest-3.6.2.tar.gz
/gdal-3.6.3-fedora.tar.xz
/gdalautotest-3.6.3.tar.gz
/gdal-3.6.4-fedora.tar.xz
/gdalautotest-3.6.4.tar.gz
/gdal-3.7.0-fedora.tar.xz
/gdalautotest-3.7.0.tar.gz
/gdal-3.7.1-fedora.tar.xz
/gdalautotest-3.7.1.tar.gz
/gdal-3.7.2-fedora.tar.xz
/gdalautotest-3.7.2.tar.gz
/gdal-3.7.3-fedora.tar.xz
/gdalautotest-3.7.3.tar.gz
/gdal-3.8.0-fedora.tar.xz
/gdalautotest-3.8.0.tar.gz
/gdal-3.8.1-fedora.tar.xz
/gdalautotest-3.8.1.tar.gz
/gdal-3.8.2-fedora.tar.xz
/gdalautotest-3.8.2.tar.gz
/gdal-3.8.3-fedora.tar.xz
/gdalautotest-3.8.3.tar.gz
/gdal-3.8.4-fedora.tar.xz
/gdalautotest-3.8.4.tar.gz
/gdal-3.8.5-fedora.tar.xz
/gdalautotest-3.8.5.tar.gz
/gdal-3.9.0-fedora.tar.xz
/gdalautotest-3.9.0.tar.gz
/gdal-3.9.1-fedora.tar.xz
/gdalautotest-3.9.1.tar.gz
/gdal-3.9.2-fedora.tar.xz
/gdalautotest-3.9.2.tar.gz
/gdalautotest-3.9.3.tar.gz
/gdal-3.9.3-fedora.tar.xz
/gdal-3.10.0-fedora.tar.xz
/gdalautotest-3.10.0.tar.gz

View file

@ -1,38 +0,0 @@
gdal-1.9.1.tar.gz re-pack for Fedora
All files with pending legal questions are stripped from the original tarball,
to form this tarball. Legal information is mainly from PROVENANCE.TXT
No files are manipulated.
Please see the cleaning script clean-gdal.sh!
This leaves GDAL short of a few formats, coordinate systems and the PHP bindings.
Volker Fröhlich <volker27@gmx.at>
* updated to 1.9.1 by Volker Fröhlich <volker27@gmx.at>
* updated to 1.9.0 by Volker Fröhlich <volker27@gmx.at>
* updated to 1.7.3 by Viji V Nair <viji@fedoraproject.org>
* updated to 1.7.2 by Sven Lankes <sven@lank.es>
* updated to 1.7.1 by Balint Crisitan <cristian.balint@gmail.com>
* updated to 1.6.1 by Dan Horak <dan@danny.cz>
Removed files:
========================================
# due to uncertain license issues
and derivative copy from ESRI (TM) and CubeWerx (TM):
data/cubewerx_extra.wkt
data/esri_extra.wkt
data/ecw_cs.wkt
Removed folders plus its contents:
========================================
# due to uncertain license issues these formats
are removed and not suported in fedora pack:
frmts/bsb <-- http://www.osgeo.org/pipermail/gdal-dev/2003-September/001097.html
swig/php <-- PHP license, incompatible mixture

View file

@ -1,11 +0,0 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "gdal/cpl_config-32.h"
#else
#if __WORDSIZE == 64
#include "gdal/cpl_config-64.h"
#else
#error "Unknown word size"
#endif
#endif

1
dead.package Normal file
View file

@ -0,0 +1 @@
Added to RHEL 10.1 rhbz#2376350

View file

@ -1,37 +0,0 @@
#!/bin/bash
if [ $# -lt 1 ]; then
echo "Usage: $0 version"
exit 1
fi
VERSION="$1"
PRE="$2"
if [ ! -f "gdal-"${VERSION}${PRE}".tar.xz" ]; then
wget https://download.osgeo.org/gdal/${VERSION}/gdal-${VERSION}${PRE}.tar.xz
fi
if [ -d gdal-"${VERSION}" ] || [ -d gdal-"${VERSION}"-fedora ]; then
echo "gdal-${VERSION} or gdal-${VERSION}-fedora in the way, please remove and rerun this script"
exit 1
fi
tar xvf gdal-"${VERSION}${PRE}".tar.xz
mv gdal-"${VERSION}"{,-fedora} && pushd gdal-"${VERSION}"-fedora
rm data/cubewerx_extra.wkt
rm data/esri_StatePlane_extra.wkt
rm data/ecw_cs.wkt
sed -i 's|data/cubewerx_extra.wkt||' gdal.cmake
sed -i 's|data/esri_StatePlane_extra.wkt||' gdal.cmake
sed -i 's|data/ecw_cs.wkt||' gdal.cmake
popd
#TODO: Insert Provenance file
tar cvfJ gdal-"${VERSION}${PRE}"-fedora.tar.xz gdal-"${VERSION}"-fedora

View file

@ -1,11 +0,0 @@
#!/bin/bash
ARCH=$(uname -m)
case $ARCH in
x86_64 | ppc64 | ppc64le | ia64 | s390x | sparc64 | alpha | alphaev6 | aarch64 | riscv64 )
gdal-config-64 ${*}
;;
*)
gdal-config-32 ${*}
;;
esac

1722
gdal.spec

File diff suppressed because it is too large Load diff

View file

@ -1,21 +0,0 @@
diff -rupN --no-dereference gdal-3.10.0-fedora/port/cpl_vsil_win32.cpp gdal-3.10.0-fedora-new/port/cpl_vsil_win32.cpp
--- gdal-3.10.0-fedora/port/cpl_vsil_win32.cpp 2024-11-01 16:47:25.000000000 +0100
+++ gdal-3.10.0-fedora-new/port/cpl_vsil_win32.cpp 2024-11-06 16:50:12.824350522 +0100
@@ -897,7 +897,7 @@ int VSIWin32FilesystemHandler::Stat(cons
pwszFilename[nLen - 1] = 0;
#endif
- int nResult = _wstat64(pwszFilename, pStatBuf);
+ int nResult = _wstat64(pwszFilename, reinterpret_cast<struct _stat64 *>(pStatBuf));
// If _wstat64() fails and the original name is not an extended one,
// then retry with an extended filename
@@ -908,7 +908,7 @@ int VSIWin32FilesystemHandler::Stat(cons
nLastError == ERROR_FILENAME_EXCED_RANGE)
{
VSIWin32TryLongFilename(pwszFilename);
- nResult = _wstat64(pwszFilename, pStatBuf);
+ nResult = _wstat64(pwszFilename, reinterpret_cast<struct _stat64 *>(pStatBuf));
}
}

View file

@ -1,37 +0,0 @@
diff -rupN --no-dereference gdal-3.10.0-fedora/frmts/iso8211/CMakeLists.txt gdal-3.10.0-fedora-new/frmts/iso8211/CMakeLists.txt
--- gdal-3.10.0-fedora/frmts/iso8211/CMakeLists.txt 2024-11-01 16:47:25.000000000 +0100
+++ gdal-3.10.0-fedora-new/frmts/iso8211/CMakeLists.txt 2024-11-06 16:50:12.603332820 +0100
@@ -14,14 +14,17 @@ target_sources(${GDAL_LIB_TARGET_NAME} P
gdal_standard_includes(gdal_iso8211)
# Because linking an OBJECT library
-add_executable(8211dump EXCLUDE_FROM_ALL 8211dump.cpp)
+add_executable(8211dump 8211dump.cpp)
target_include_directories(8211dump PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(8211dump PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> gdal_iso8211)
+install(TARGETS 8211dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
-add_executable(8211view EXCLUDE_FROM_ALL 8211view.cpp)
+add_executable(8211view 8211view.cpp)
target_include_directories(8211view PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(8211view PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> gdal_iso8211)
+install(TARGETS 8211view RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
-add_executable(8211createfromxml EXCLUDE_FROM_ALL 8211createfromxml.cpp)
+add_executable(8211createfromxml 8211createfromxml.cpp)
target_include_directories(8211createfromxml PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(8211createfromxml PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> gdal_iso8211)
+install(TARGETS 8211createfromxml RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff -rupN --no-dereference gdal-3.10.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt gdal-3.10.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt
--- gdal-3.10.0-fedora/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-11-01 16:47:26.000000000 +0100
+++ gdal-3.10.0-fedora-new/ogr/ogrsf_frmts/s57/CMakeLists.txt 2024-11-06 16:50:12.604332900 +0100
@@ -27,7 +27,8 @@ set_property(
APPEND
PROPERTY RESOURCE "${GDAL_DATA_FILES}")
-add_executable(s57dump EXCLUDE_FROM_ALL s57dump.cpp)
+add_executable(s57dump s57dump.cpp)
gdal_standard_includes(s57dump)
target_include_directories(s57dump PRIVATE $<TARGET_PROPERTY:gdal_iso8211,SOURCE_DIR>)
target_link_libraries(s57dump PRIVATE $<TARGET_NAME:${GDAL_LIB_TARGET_NAME}> ogr_S57 gdal_iso8211)
+install(TARGETS s57dump RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

View file

@ -1,2 +0,0 @@
SHA512 (gdal-3.10.0-fedora.tar.xz) = d17a6d5894847e03c3b8f5de55e87321d1fc848c8b822664b36b28abe1388fffd4288db5798a9261b46aa05d82903724a46af5752c9c7d7a42dfd063df2ee757
SHA512 (gdalautotest-3.10.0.tar.gz) = 89ae4dfedb7f86405dc43c6ddeddbba569b050189fc85ae43521a1be4d71dd3fbc8e357b33753786d2ce921eaf9a1e9805d2a79a822885f462c526c4ba43ad00