pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

proj: Update to 9.4.0



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%lexort.com@localhost>
Pushed By:	gdt
Date:		Thu May 23 09:53:50 2024 -0400
Changeset:	15130e19735d20b8607b570881136f99f2d26f86

Modified Files:
	proj/COMMIT_MSG
	proj/Makefile
	proj/TODO
	proj/distinfo

Log Message:
proj: Update to 9.4.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=15130e19735d20b8607b570881136f99f2d26f86

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 proj/COMMIT_MSG | 101 ++------------------------------------------------------
 proj/Makefile   |  29 +++++++++-------
 proj/TODO       |   6 ++--
 proj/distinfo   |   6 ++--
 4 files changed, 26 insertions(+), 116 deletions(-)

diffs:
diff --git a/proj/COMMIT_MSG b/proj/COMMIT_MSG
index 2ea94c978f..aeb5cc2832 100644
--- a/proj/COMMIT_MSG
+++ b/proj/COMMIT_MSG
@@ -1,103 +1,6 @@
-geography/proj: Update to 8.2.1
-
-This version withdraws proj_api.h.
+geography/proj: Update to 9.4.0
 
 Upstream NEWS, less normal updates (e.g. EPSG database) and other
 housekeeping, bugfixes, minor improvements follows.
 
-8.2.1 Release Notes
--------------------
-
-[pruned items only]
-
-8.2.0 Release Notes
--------------------
-
- Announcements
- -------------
-
- From PROJ 9.0.0 and onwards CMake will be the only build system bundled
- with the PROJ package. As a consequence support for Autotools builds will
- stop when the 8.2 branch of PROJ reaches end of life. We encourage
- everyone to adjust their build workflows as soon as possible and report
- any discrepancies discovered between Autotools and CMake builds.
-
- Updates
- -------
-
- o Database layout modified to include "anchor" field to geodetic_datum and
-   vertical_datum tables, consequently database layout version is increased
-   to 1.2 (#2859)
-
- o Add IAU_2015 CRS definitions (#2876)
-
- o Added proj_trans_bounds() (#2882)
-
-
-8.1.1 Release Notes
--------------------
-
-[pruned items only]
-
-
-8.1.0 Release Notes
--------------------
-
- Updates
- -------
-
- + Database
-
-   o Added a PROJ.VERSION metadata entry (#2646)
-
-
- + API additions
-
-   o Added proj_get_geoid_models_from_database() function that returns a list of
-     geoid models available for a given CRS (#2681)
-
-   o Added proj_get_celestial_body_list_from_database that returns a list
-     of celestial bodies in the PROJ database (#2667)
-
-   o Added proj_get_celestial_body_name() (#2662)
-
- + Various improvements
-
-   o projsync: make it filter out files not intended for the current version (#2725)
-
-   o Added projinfo option --list-crs (supports --area) (#2663)
-
-   o Added capability to get SQL statements to add custom CRS in the database (#2577)
-
-
-8.0.1 Release Notes
--------------------
-
-[pruned items only]
-
-
-8.0.0 Release Notes
--------------------
-
-With the release of PROJ 8 the proj_api.h API is finally removed. See
-https://proj.org/development/migration.html for more info on how to migrate
-from the old to the proj.h API.
-
-With the removal of proj_api.h it has been possible to simplify error codes
-and messages given by the software. The error codes are exposed in the API.
-
-Several improvements has been made to the command line utilities as well as
-tweaks in the underlying API.
-
- Updates
- -------
-
- o Public header file proj_api.h removed (#837)
-
- o Added geocentric->topocentric conversion (+proj=topocentric) (#2444)
-
- o Added --authority switch in cs2cs to control where coordinate operations
-   are looked for. C API function proj_create_crs_to_crs_from_pj() updated
-   accordingly (#2477)
-
- o Added proj_crs_is_derived() function to C API (#2496)
+TODO
diff --git a/proj/Makefile b/proj/Makefile
index 14ee4103bb..39d50466ae 100644
--- a/proj/Makefile
+++ b/proj/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.31 2022/11/27 13:55:49 gdt Exp $
+# $NetBSD: Makefile,v 1.39 2024/05/23 13:35:58 gdt Exp $
 
-VERSION_BASE=	8.2.1
-#VERSION_RC=	RC1
+VERSION_BASE=	9.4.0
+# Accomodate testing RCs, whcih have names like 9.0RC1 and unpack to
+# 9.0.
+VERSION_RC=
 VERSION=	${VERSION_BASE}${VERSION_RC}
-#PKGREVISION=	0
-# proj RCs have names like 5.1.0RC1 but unpack to 5.1.0
 WRKFINAL=	proj-${VERSION_BASE}
 WRKSRC=		${WRKDIR}/${WRKFINAL}
 DISTNAME=	proj-${VERSION}
@@ -21,18 +21,23 @@ LICENSE=	mit
 
 PREV_PKGPATH=		misc/proj
 
-USE_LANGUAGES=		c99 c++11
+USE_LANGUAGES=		c c++
+USE_CC_FEATURES=	c99
+USE_CXX_FEATURES=	c++11
+
 USE_LIBTOOL=		yes
 USE_TOOLS+=		gmake pkg-config
 GNU_CONFIGURE=		yes
 
-# \todo Debug this.
-# Tests fail if proj relies on NetBSD 8's C99 math, vs proj's
-# replacement functions.
-.if ${OPSYS} == "NetBSD"
-CFLAGS+=		-DHAVE_C99_MATH=0
-.endif
+# \todo GC this after resolving test issues.
+#.if ${OPSYS} == "NetBSD"
+#CFLAGS+=		-DHAVE_C99_MATH=0
+#.endif
+
+# \todo Document, file uprsteam, and add uptream bug report URL.
+CXXFLAGS.SunOS+=	-fpermissive
 
+# \todo Debug geodtest failure, after we are up to date.
 TEST_TARGET=		check
 
 .include "../../databases/sqlite3/buildlink3.mk"
diff --git a/proj/TODO b/proj/TODO
index 961e7f9171..5b032a0d4a 100644
--- a/proj/TODO
+++ b/proj/TODO
@@ -1,7 +1,9 @@
+Convert to cmake :-(
+
 Figure out CDN location/permission issues.  This is likely just an
 upstream doc issue, if any.
 
 Test all proj dependencies in pkgsrc.
 
-Resolve test failures; perhaps testing 8 while 7 is installed does not
-work.
+Run tests and resolve issues.
+
diff --git a/proj/distinfo b/proj/distinfo
index ff3a0b8908..b0092ca06e 100644
--- a/proj/distinfo
+++ b/proj/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.18 2022/11/27 13:30:45 gdt Exp $
 
-BLAKE2s (proj-8.2.1.tar.gz) = 2d7629837ac2cdf2d7a60e9c3717dc2dda5506d81326f78f24b3fb5ee6847ab1
-SHA512 (proj-8.2.1.tar.gz) = c6164771fd492be5aa91d8dd2f2794a19b47431078f148356aa70dee96a4589ec5decbab9d8dd756a7bcb322ad94935750c22e0e7fb16e21c8f59ca474e7137e
-Size (proj-8.2.1.tar.gz) = 5882136 bytes
+BLAKE2s (proj-9.4.0.tar.gz) = c0840bd5859b4ea58b4a971346576df6619203cae3b1811db7060fd4b9511d8e
+SHA512 (proj-9.4.0.tar.gz) = 9cce269e2ea98d20726f433dfef85b4ccdf7defb428844d6404f3175e7034fa4c86cafd51c70cf151645abf1a79a12b96bddb8e6cab403114d72d14755ac0ed1
+Size (proj-9.4.0.tar.gz) = 5652874 bytes


Home | Main Index | Thread Index | Old Index