Skip to content

Commit

Permalink
libgpkg-0.9.18 (rebuild with gcc-12.4.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 1, 2025
1 parent d58c191 commit ed7161a
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 89 deletions.
48 changes: 21 additions & 27 deletions libgpkg/README
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,32 @@ libgpkg
------------------------------------------
A SQLite 3 extension that provides a minimal OGC GeoPackage implementation.

GeoPackage is an open, standards-based, application and platform independent,
and self-describing file format for geodata based on SQLite.

Luciad is actively participating in the GeoPackage Standards Working Group to
define this standard. We are releasing this library under the liberal Apache
Software License to promote widespread adoption of this new format.

Luciad is using this library in its LuciadLightspeed and LuciadMobile products
to handle GeoPackage data. Both products provide a rich set of components for
geospatial situational awareness. See www.luciad.com for more information.

Runtime requirements:
cygwin-2.5.0-1
libgcc1-5.3.0-5
libgeos_c1-3.5.0-1
libgpkg-devel-0.9.18-1bl3
libgpkg0-0.9.18-1bl3
libreadline7-6.3.8-1
libsqlite3_0-3.12.1-1
pkg-config-0.29-1
cygwin-3.5.4-1
libgcc1-12.4.0-3
libgeos_c1-3.12.1-1
libgpkg-devel-0.9.18-1bl4
libgpkg0-0.9.18-1bl4
libreadline7-8.2-2
libsqlite3_0-3.34.0-1
pkg-config-2.3.0-1

Build requirements:
(besides corresponding -devel packages)
binutils-2.25-4
cmake-3.3.2-1
cygport-0.21.1-1
gcc-core-5.3.0-5
make-4.1-1
ruby-2.2.4-1
binutils-2.43.1-1
cmake-3.28.3-1
cygport-0.36.9-1
gcc-core-12.4.0-3
libgeos-devel-3.12.1-1
libreadline-devel-8.2-2
libsqlite3-devel-3.34.0-1
ninja-1.12.0-1

Canonical website:
https://bitbucket.org/luciad/libgpkg
https://github.com/luciad/libgpkg

Canonical download:
https://bitbucket.org/luciad/libgpkg
https://github.com/luciad/libgpkg/archive/refs/tags/0.9.18.tar.gz

-------------------------------------------

Expand Down Expand Up @@ -77,6 +68,9 @@ Files included in the binary package:

Port Notes:

----- version 0.9.18-1bl4 -----
Rebuild with gcc-12.4.0

----- version 0.9.18-1bl3 -----
Rebuild for libgeos

Expand Down
45 changes: 0 additions & 45 deletions libgpkg/libgpkg-0.9.18-1bl3.cygport

This file was deleted.

39 changes: 39 additions & 0 deletions libgpkg/libgpkg-0.9.18-1bl4.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
HOMEPAGE="https://github.com/luciad/${PN}"
SRC_URI="https://github.com/luciad/${PN}/archive/refs/tags/${PV}.tar.gz"

CATEGORY="Libs"
SUMMARY="SQLite loadable extension to provide GeoPackage file access"
DESCRIPTION="A SQLite 3 extension that provides a minimal OGC GeoPackage implementation."

LICENSE="Apache-2.0"
LICENSE_SPDX="SPDX-License-Identifier: Apache-2.0"
LICENSE_URI="LICENSE"

BUILD_REQUIRES="libgeos-devel libreadline-devel libsqlite3-devel"

inherit cmake

CYGCMAKE_ARGS="
-DGPKG_GEOS:BOOL=ON
"
# -DGPKG_TEST:BOOL=ON : Need ruby

PKG_NAMES="
${PN}
${PN}0
${PN}-devel
"
libgpkg_CONTENTS="
usr/bin/*.exe
usr/share
"
libgpkg0_CONTENTS="
usr/bin/cyg*-0.dll
"
libgpkg_devel_CONTENTS="
usr/include
usr/lib
"
libgpkg_SUMMARY="${SUMMARY} (utilities)"
libgpkg0_SUMMARY="${SUMMARY} (runtime)"
libgpkg_devel_SUMMARY="${SUMMARY} (development)"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- origsrc/libgpkg/CMakeLists.txt 2016-04-21 09:01:55.000000000 +0900
+++ src/libgpkg/CMakeLists.txt 2016-04-21 09:02:00.033189300 +0900
--- origsrc/libgpkg-0.9.18/CMakeLists.txt 2014-06-20 22:33:46.000000000 +0900
+++ src/libgpkg-0.9.18/CMakeLists.txt 2025-01-01 09:32:07.964805400 +0900
@@ -44,9 +44,16 @@ endif()

add_subdirectory( gpkg )
Expand All @@ -11,15 +11,15 @@
add_subdirectory( test )
endif()
+
+SET(prefix ${CMAKE_INSTALL_PREFIX})
+SET(exec_prefix ${CMAKE_INSTALL_PREFIX})
+SET(libdir ${CMAKE_INSTALL_PREFIX}/lib)
+SET(includedir ${CMAKE_INSTALL_PREFIX}/include)
+SET(VERSION ${gpkg_BUILD_VERSION})
+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.pc.in ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc @ONLY)
+INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
--- origsrc/libgpkg/gpkg/CMakeLists.txt 2016-04-21 09:01:56.000000000 +0900
+++ src/libgpkg/gpkg/CMakeLists.txt 2016-04-21 09:02:00.033189300 +0900
+set(prefix ${CMAKE_INSTALL_PREFIX})
+set(exec_prefix ${CMAKE_INSTALL_PREFIX})
+set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
+set(includedir ${CMAKE_INSTALL_PREFIX}/include)
+set(VERSION ${gpkg_BUILD_VERSION})
+configure_file(${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.pc.in ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc @ONLY)
+install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
--- origsrc/libgpkg-0.9.18/gpkg/CMakeLists.txt 2014-06-20 22:33:46.000000000 +0900
+++ src/libgpkg-0.9.18/gpkg/CMakeLists.txt 2025-01-01 09:31:22.077623900 +0900
@@ -53,13 +53,6 @@ if( GPKG_GEOS )
endif()

Expand Down Expand Up @@ -67,8 +67,8 @@
install( FILES gpkg.h DESTINATION include )
endif()
\ No newline at end of file
--- origsrc/libgpkg/gpkg/cmake/FindGEOS.cmake 2016-04-21 09:01:56.000000000 +0900
+++ src/libgpkg/gpkg/cmake/FindGEOS.cmake 2016-04-21 09:02:00.033189300 +0900
--- origsrc/libgpkg-0.9.18/gpkg/cmake/FindGEOS.cmake 2014-06-20 22:33:46.000000000 +0900
+++ src/libgpkg-0.9.18/gpkg/cmake/FindGEOS.cmake 2025-01-01 09:31:22.077623900 +0900
@@ -138,9 +138,9 @@ ELSE(WIN32)
## split off the name
## use regular expression to match wildcard equivalent "-l*<endchar>"
Expand All @@ -91,8 +91,8 @@
ELSE (APPLE)
SET(GEOS_LIBRARY ${GEOS_LINK_DIRECTORIES}/lib${GEOS_LIB_NAME}.so CACHE STRING INTERNAL)
ENDIF (APPLE)
--- origsrc/libgpkg/libgpkg.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/libgpkg/libgpkg.pc.in 2016-04-21 09:02:00.033189300 +0900
--- origsrc/libgpkg-0.9.18/libgpkg.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/libgpkg-0.9.18/libgpkg.pc.in 2025-01-01 09:31:22.077623900 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
Expand All @@ -104,8 +104,8 @@
+Version: @VERSION@
+Libs: -L${libdir} -lgpkg
+Cflags: -I${includedir}
--- origsrc/libgpkg/shell/CMakeLists.txt 2016-04-21 09:01:56.000000000 +0900
+++ src/libgpkg/shell/CMakeLists.txt 2016-04-21 09:02:00.050204800 +0900
--- origsrc/libgpkg-0.9.18/shell/CMakeLists.txt 2014-06-20 22:33:46.000000000 +0900
+++ src/libgpkg-0.9.18/shell/CMakeLists.txt 2025-01-01 09:31:22.077623900 +0900
@@ -9,8 +9,8 @@ find_package( Readline )
#
add_executable( gpkg_shell shell.c )
Expand Down

0 comments on commit ed7161a

Please sign in to comment.