pkgsrc-WIP-changes archive

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

devel/gnatcoll-db: Add 25.0.0



Module Name:	pkgsrc-wip
Committed By:	Dmytro Kazankov <dmytro.kazankov%gmail.com@localhost>
Pushed By:	dkazankov
Date:		Wed Nov 27 23:48:17 2024 +0200
Changeset:	b55197d0181b65c7b00be363129f5f824f399803

Added Files:
	gnatcoll-db/COMMIT_MSG
	gnatcoll-db/DESCR
	gnatcoll-db/Makefile
	gnatcoll-db/PLIST
	gnatcoll-db/buildlink3.mk
	gnatcoll-db/distinfo
	gnatcoll-db/options.mk
	gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__all2ada.gpr
	gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__db2ada.gpr
	gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__postgres2ada.gpr
	gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__sqlite2ada.gpr
	gnatcoll-db/patches/patch-gnatinspect_gnatinspect.gpr
	gnatcoll-db/patches/patch-postgres_Makefile
	gnatcoll-db/patches/patch-postgres_gnatcoll__postgres.gpr
	gnatcoll-db/patches/patch-sql_Makefile
	gnatcoll-db/patches/patch-sqlite_Makefile
	gnatcoll-db/patches/patch-sqlite_gnatcoll__sqlite.gpr
	gnatcoll-db/patches/patch-version_information
	gnatcoll-db/patches/patch-xref_Makefile
	gnatcoll-db/patches/patch-xref_gnatcoll__xref.gpr

Log Message:
devel/gnatcoll-db: Add 25.0.0

* This is the DB module of the GNAT Components Collection

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

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

diffstat:
 gnatcoll-db/COMMIT_MSG                             |   1 +
 gnatcoll-db/DESCR                                  |   4 +
 gnatcoll-db/Makefile                               | 139 +++++++++++++++++++
 gnatcoll-db/PLIST                                  | 152 +++++++++++++++++++++
 gnatcoll-db/buildlink3.mk                          |  23 ++++
 gnatcoll-db/distinfo                               |  18 +++
 gnatcoll-db/options.mk                             |  59 ++++++++
 .../patch-gnatcoll__db2ada_gnatcoll__all2ada.gpr   |  19 +++
 .../patch-gnatcoll__db2ada_gnatcoll__db2ada.gpr    |  15 ++
 ...tch-gnatcoll__db2ada_gnatcoll__postgres2ada.gpr |  17 +++
 ...patch-gnatcoll__db2ada_gnatcoll__sqlite2ada.gpr |  17 +++
 .../patches/patch-gnatinspect_gnatinspect.gpr      |  19 +++
 gnatcoll-db/patches/patch-postgres_Makefile        |  15 ++
 .../patches/patch-postgres_gnatcoll__postgres.gpr  |  15 ++
 gnatcoll-db/patches/patch-sql_Makefile             |  15 ++
 gnatcoll-db/patches/patch-sqlite_Makefile          |  15 ++
 .../patches/patch-sqlite_gnatcoll__sqlite.gpr      |  15 ++
 gnatcoll-db/patches/patch-version_information      |   9 ++
 gnatcoll-db/patches/patch-xref_Makefile            |  15 ++
 gnatcoll-db/patches/patch-xref_gnatcoll__xref.gpr  |  17 +++
 20 files changed, 599 insertions(+)

diffs:
diff --git a/gnatcoll-db/COMMIT_MSG b/gnatcoll-db/COMMIT_MSG
new file mode 100644
index 0000000000..3fc499e35d
--- /dev/null
+++ b/gnatcoll-db/COMMIT_MSG
@@ -0,0 +1 @@
+GNATCOLL Db - database connectivity for Ada
diff --git a/gnatcoll-db/DESCR b/gnatcoll-db/DESCR
new file mode 100644
index 0000000000..9cfc21f5cb
--- /dev/null
+++ b/gnatcoll-db/DESCR
@@ -0,0 +1,4 @@
+The GNAT Components Collection (GNATcoll) - Database packages
+
+This is the DB module of the GNAT Components Collection.
+Please refer to individual components for more details.
diff --git a/gnatcoll-db/Makefile b/gnatcoll-db/Makefile
new file mode 100644
index 0000000000..a4d447f8f5
--- /dev/null
+++ b/gnatcoll-db/Makefile
@@ -0,0 +1,139 @@
+# $NetBSD: Makefile,v 1.0 2024/05/13 13:00:00 dkazankov Exp $
+
+PKGNAME=	gnatcoll-db-25.0.0
+DISTNAME=	gnatcoll-db-${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=AdaCore/}
+GITHUB_PROJECT=	gnatcoll-db
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+HOMEPAGE=	https://github.com/AdaCore/gnatcoll-db
+COMMENT=	The GNAT Components Collection (GNATcoll) - Database packages
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	gmake
+
+HAS_CONFIGURE=	yes
+
+CHECK_PIE_SKIP+=	bin/*
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_LANGUAGES=	c ada
+
+.include "options.mk"
+
+CONFIG_SHELL_FLAGS+=	prefix=${DESTDIR}${PREFIX} BUILD=PROD
+CONFIG_SHELL=		${MAKE_PROGRAM}
+CONFIGURE_SCRIPT=	setup
+
+# Makefile in gnatcoll_db2ada directory can build and install
+# four different apps, but one at a time. So we need special
+# build and install process for this directory
+
+do-build:
+.for _dir_ in ${BUILD_DIRS}
+.  if ${_dir_} == "gnatcoll_db2ada"
+.    if !empty(PKG_OPTIONS:Mgnatcoll_db2ada)
+	${RUN}${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_JOBS} \
+	${MAKE_FLAGS} ${BUILD_MAKE_FLAGS} DB_BACKEND=db \
+	-f ${MAKE_FILE} \
+	${BUILD_TARGET}
+.    endif
+.    if !empty(PKG_OPTIONS:Mgnatcoll_postgres2ada)
+	${RUN}${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_JOBS} \
+	${MAKE_FLAGS} ${BUILD_MAKE_FLAGS} DB_BACKEND=postgres \
+	-f ${MAKE_FILE} \
+	${BUILD_TARGET}
+.    endif
+.    if !empty(PKG_OPTIONS:Mgnatcoll_sqlite2ada)
+	${RUN}${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_JOBS} \
+	${MAKE_FLAGS} ${BUILD_MAKE_FLAGS} DB_BACKEND=sqlite \
+	-f ${MAKE_FILE} \
+	${BUILD_TARGET}
+.    endif
+.    if !empty(PKG_OPTIONS:Mgnatcoll_all2ada)
+	${RUN}${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_JOBS} \
+	${MAKE_FLAGS} ${BUILD_MAKE_FLAGS} DB_BACKEND=all \
+	-f ${MAKE_FILE} \
+	${BUILD_TARGET}
+.    endif
+.  else
+	${RUN}${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${BUILD_MAKE_CMD} ${BUILD_TARGET}
+.  endif
+.endfor
+
+do-install:
+.for _dir_ in ${INSTALL_DIRS}
+.  if ${_dir_} == "gnatcoll_db2ada"
+.    if !empty(PKG_OPTIONS:Mgnatcoll_db2ada)
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} DB_BACKEND=db \
+	-f ${MAKE_FILE} ${INSTALL_TARGET}
+.    endif
+.    if !empty(PKG_OPTIONS:Mgnatcoll_postgres2ada)
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} DB_BACKEND=postgres \
+	-f ${MAKE_FILE} ${INSTALL_TARGET}
+.    endif
+.    if !empty(PKG_OPTIONS:Mgnatcoll_sqlite2ada)
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} DB_BACKEND=sqlite \
+	-f ${MAKE_FILE} ${INSTALL_TARGET}
+.    endif
+.    if !empty(PKG_OPTIONS:Mgnatcoll_all2ada)
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} DB_BACKEND=all \
+	-f ${MAKE_FILE} ${INSTALL_TARGET}
+.    endif
+.  else
+	${RUN} ${_ULIMIT_CMD} \
+	cd ${WRKSRC} && cd ${_dir_} && \
+	${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
+	${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \
+	-f ${MAKE_FILE} ${INSTALL_TARGET}
+.  endif
+.endfor
+
+GENERATE_PLIST+= \
+	cd ${DESTDIR}${PREFIX} && \
+	${FIND} bin include lib share \( -type f -or -type l \) -print | ${SORT};
+
+.include "../../wip/gcc14-gnat-libs/buildlink3.mk"
+
+BUILDLINK_DEPMETHOD.xmlada=	full
+.include "../../wip/xmlada/buildlink3.mk"
+
+BUILDLINK_DEPMETHOD.gprlib=	full
+.include "../../wip/gprlib/buildlink3.mk"
+
+BUILDLINK_DEPMETHOD.gnatcoll-core=	full
+.include "../../wip/gnatcoll-core/buildlink3.mk"
+
+.include "../../wip/gprbuild/buildlink3.mk"
+
+.include "../../wip/gcc14-gnat/gcc.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gnatcoll-db/PLIST b/gnatcoll-db/PLIST
new file mode 100644
index 0000000000..e776634455
--- /dev/null
+++ b/gnatcoll-db/PLIST
@@ -0,0 +1,152 @@
+@comment $NetBSD: PLIST,v 1.0 2024/05/06 13:00:00 dkazankov Exp $
+bin/gnatcoll_all2ada
+bin/gnatcoll_db2ada
+bin/gnatcoll_postgres2ada
+bin/gnatcoll_sqlite2ada
+bin/gnatinspect
+include/gnatcoll_postgres/gnatcoll-sql-postgres-builder.adb
+include/gnatcoll_postgres/gnatcoll-sql-postgres-builder.ads
+include/gnatcoll_postgres/gnatcoll-sql-postgres-gnade.adb
+include/gnatcoll_postgres/gnatcoll-sql-postgres-gnade.ads
+include/gnatcoll_postgres/gnatcoll-sql-postgres.adb
+include/gnatcoll_postgres/gnatcoll-sql-postgres.ads
+include/gnatcoll_postgres/gnatcoll-sql-ranges.adb
+include/gnatcoll_postgres/gnatcoll-sql-ranges.ads
+include/gnatcoll_postgres/postgres_support.c
+include/gnatcoll_sql/gnatcoll-sql-exec-tasking.adb
+include/gnatcoll_sql/gnatcoll-sql-exec-tasking.ads
+include/gnatcoll_sql/gnatcoll-sql-exec.adb
+include/gnatcoll_sql/gnatcoll-sql-exec.ads
+include/gnatcoll_sql/gnatcoll-sql-exec_private.adb
+include/gnatcoll_sql/gnatcoll-sql-exec_private.ads
+include/gnatcoll_sql/gnatcoll-sql-inspect.adb
+include/gnatcoll_sql/gnatcoll-sql-inspect.ads
+include/gnatcoll_sql/gnatcoll-sql-orm-impl.adb
+include/gnatcoll_sql/gnatcoll-sql-orm-impl.ads
+include/gnatcoll_sql/gnatcoll-sql-orm.adb
+include/gnatcoll_sql/gnatcoll-sql-orm.ads
+include/gnatcoll_sql/gnatcoll-sql-sessions.adb
+include/gnatcoll_sql/gnatcoll-sql-sessions.ads
+include/gnatcoll_sql/gnatcoll-sql.adb
+include/gnatcoll_sql/gnatcoll-sql.ads
+include/gnatcoll_sql/gnatcoll-sql_fields.adb
+include/gnatcoll_sql/gnatcoll-sql_fields.ads
+include/gnatcoll_sql/gnatcoll-sql_impl.adb
+include/gnatcoll_sql/gnatcoll-sql_impl.ads
+include/gnatcoll_sqlite/gnatcoll-sql-sqlite-builder.adb
+include/gnatcoll_sqlite/gnatcoll-sql-sqlite-builder.ads
+include/gnatcoll_sqlite/gnatcoll-sql-sqlite-gnade.adb
+include/gnatcoll_sqlite/gnatcoll-sql-sqlite-gnade.ads
+include/gnatcoll_sqlite/gnatcoll-sql-sqlite.adb
+include/gnatcoll_sqlite/gnatcoll-sql-sqlite.ads
+include/gnatcoll_sqlite/shell.c
+include/gnatcoll_sqlite/sqlite3.c
+include/gnatcoll_sqlite/sqlite3.h
+include/gnatcoll_sqlite/sqlite3ext.h
+include/gnatcoll_xref/gnatcoll-xref-database.adb
+include/gnatcoll_xref/gnatcoll-xref-database.ads
+include/gnatcoll_xref/gnatcoll-xref-database_names.ads
+include/gnatcoll_xref/gnatcoll-xref.adb
+include/gnatcoll_xref/gnatcoll-xref.ads
+lib/gnatcoll_postgres.relocatable/gnatcoll-sql-postgres.ali
+lib/gnatcoll_postgres.relocatable/gnatcoll-sql-ranges.ali
+lib/gnatcoll_postgres.relocatable/libgnatcoll_postgres.so
+lib/gnatcoll_postgres.relocatable/libgnatcoll_postgres.so.25
+lib/gnatcoll_postgres.relocatable/libgnatcoll_postgres.so.25.0
+lib/gnatcoll_postgres.static-pic/gnatcoll-sql-postgres-builder.ali
+lib/gnatcoll_postgres.static-pic/gnatcoll-sql-postgres-gnade.ali
+lib/gnatcoll_postgres.static-pic/gnatcoll-sql-postgres.ali
+lib/gnatcoll_postgres.static-pic/gnatcoll-sql-ranges.ali
+lib/gnatcoll_postgres.static-pic/libgnatcoll_postgres.a
+lib/gnatcoll_postgres.static/gnatcoll-sql-postgres-builder.ali
+lib/gnatcoll_postgres.static/gnatcoll-sql-postgres-gnade.ali
+lib/gnatcoll_postgres.static/gnatcoll-sql-postgres.ali
+lib/gnatcoll_postgres.static/gnatcoll-sql-ranges.ali
+lib/gnatcoll_postgres.static/libgnatcoll_postgres.a
+lib/gnatcoll_sql.relocatable/gnatcoll-sql-exec-tasking.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql-exec.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql-exec_private.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql-inspect.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql-orm-impl.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql-orm.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql-sessions.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql_fields.ali
+lib/gnatcoll_sql.relocatable/gnatcoll-sql_impl.ali
+lib/gnatcoll_sql.relocatable/libgnatcoll_sql.so
+lib/gnatcoll_sql.relocatable/libgnatcoll_sql.so.25
+lib/gnatcoll_sql.relocatable/libgnatcoll_sql.so.25.0
+lib/gnatcoll_sql.static-pic/gnatcoll-sql-exec-tasking.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql-exec.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql-exec_private.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql-inspect.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql-orm-impl.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql-orm.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql-sessions.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql_fields.ali
+lib/gnatcoll_sql.static-pic/gnatcoll-sql_impl.ali
+lib/gnatcoll_sql.static-pic/libgnatcoll_sql.a
+lib/gnatcoll_sql.static/gnatcoll-sql-exec-tasking.ali
+lib/gnatcoll_sql.static/gnatcoll-sql-exec.ali
+lib/gnatcoll_sql.static/gnatcoll-sql-exec_private.ali
+lib/gnatcoll_sql.static/gnatcoll-sql-inspect.ali
+lib/gnatcoll_sql.static/gnatcoll-sql-orm-impl.ali
+lib/gnatcoll_sql.static/gnatcoll-sql-orm.ali
+lib/gnatcoll_sql.static/gnatcoll-sql-sessions.ali
+lib/gnatcoll_sql.static/gnatcoll-sql.ali
+lib/gnatcoll_sql.static/gnatcoll-sql_fields.ali
+lib/gnatcoll_sql.static/gnatcoll-sql_impl.ali
+lib/gnatcoll_sql.static/libgnatcoll_sql.a
+lib/gnatcoll_sqlite.relocatable/gnatcoll-sql-sqlite.ali
+lib/gnatcoll_sqlite.relocatable/libgnatcoll_sqlite.so
+lib/gnatcoll_sqlite.relocatable/libgnatcoll_sqlite.so.25
+lib/gnatcoll_sqlite.relocatable/libgnatcoll_sqlite.so.25.0
+lib/gnatcoll_sqlite.static-pic/gnatcoll-sql-sqlite-builder.ali
+lib/gnatcoll_sqlite.static-pic/gnatcoll-sql-sqlite-gnade.ali
+lib/gnatcoll_sqlite.static-pic/gnatcoll-sql-sqlite.ali
+lib/gnatcoll_sqlite.static-pic/libgnatcoll_sqlite.a
+lib/gnatcoll_sqlite.static/gnatcoll-sql-sqlite-builder.ali
+lib/gnatcoll_sqlite.static/gnatcoll-sql-sqlite-gnade.ali
+lib/gnatcoll_sqlite.static/gnatcoll-sql-sqlite.ali
+lib/gnatcoll_sqlite.static/libgnatcoll_sqlite.a
+lib/gnatcoll_xref.relocatable/gnatcoll-xref-database.ali
+lib/gnatcoll_xref.relocatable/gnatcoll-xref-database_names.ali
+lib/gnatcoll_xref.relocatable/gnatcoll-xref.ali
+lib/gnatcoll_xref.relocatable/libgnatcoll_xref.so
+lib/gnatcoll_xref.relocatable/libgnatcoll_xref.so.25
+lib/gnatcoll_xref.relocatable/libgnatcoll_xref.so.25.0
+lib/gnatcoll_xref.static-pic/gnatcoll-xref-database.ali
+lib/gnatcoll_xref.static-pic/gnatcoll-xref-database_names.ali
+lib/gnatcoll_xref.static-pic/gnatcoll-xref.ali
+lib/gnatcoll_xref.static-pic/libgnatcoll_xref.a
+lib/gnatcoll_xref.static/gnatcoll-xref-database.ali
+lib/gnatcoll_xref.static/gnatcoll-xref-database_names.ali
+lib/gnatcoll_xref.static/gnatcoll-xref.ali
+lib/gnatcoll_xref.static/libgnatcoll_xref.a
+lib/libgnatcoll_postgres.so
+lib/libgnatcoll_postgres.so.25
+lib/libgnatcoll_postgres.so.25.0
+lib/libgnatcoll_sql.so
+lib/libgnatcoll_sql.so.25
+lib/libgnatcoll_sql.so.25.0
+lib/libgnatcoll_sqlite.so
+lib/libgnatcoll_sqlite.so.25
+lib/libgnatcoll_sqlite.so.25.0
+lib/libgnatcoll_xref.so
+lib/libgnatcoll_xref.so.25
+lib/libgnatcoll_xref.so.25.0
+share/gnatcoll/dborm.py
+share/gpr/gnatcoll_postgres.gpr
+share/gpr/gnatcoll_sql.gpr
+share/gpr/gnatcoll_sqlite.gpr
+share/gpr/gnatcoll_xref.gpr
+share/gpr/manifests/gnatcoll_all2ada
+share/gpr/manifests/gnatcoll_db2ada
+share/gpr/manifests/gnatcoll_postgres
+share/gpr/manifests/gnatcoll_postgres2ada
+share/gpr/manifests/gnatcoll_sql
+share/gpr/manifests/gnatcoll_sqlite
+share/gpr/manifests/gnatcoll_sqlite2ada
+share/gpr/manifests/gnatcoll_xref
+share/gpr/manifests/gnatinspect
diff --git a/gnatcoll-db/buildlink3.mk b/gnatcoll-db/buildlink3.mk
new file mode 100644
index 0000000000..461503fd09
--- /dev/null
+++ b/gnatcoll-db/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.0 2024/05/14 09:30:00 dkazankov Exp $
+
+BUILDLINK_TREE+=	gnatcoll-db
+
+.if !defined(GNATCOLL_DB_BUILDLINK3_MK)
+GNATCOLL_DB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gnatcoll-db+=	gnatcoll-db>=24.0.0
+BUILDLINK_PKGSRCDIR.gnatcoll-db=	../../wip/gnatcoll-db
+BUILDLINK_DEPMETHOD.gnatcoll-db?=	build
+
+BUILDLINK_FILES.gnatcoll-db=	include/gnatcoll_*/* lib/gnatcoll* lib/gnatcoll_*/*
+BUILDLINK_FILES.gnatcoll-db+=	share/gpr/manifests/gnatcoll_* share/gpr/gnatcoll_*.gpr
+BUILDLINK_FILES.gnatcoll-db+=	bin/gnatcoll_*2ada bin/gnatinspect
+
+BUILDLINK_CONTENTS_FILTER.gnatcoll-db=	\
+	${EGREP} '(include/.*\.ads$$|lib/.*\.ali$$|lib/.*\.a$$|lib/gnatcoll.*\.so$$|share/gpr/manifests/.*|share/gpr/.*\.gpr$$|bin/gnatcoll_.*2ada$$|bin/gnatinspect$$)'
+
+pkgbase := gnatcoll-db
+.include "../../mk/pkg-build-options.mk"
+.endif
+
+BUILDLINK_TREE+=	-gnatcoll-db
diff --git a/gnatcoll-db/distinfo b/gnatcoll-db/distinfo
new file mode 100644
index 0000000000..c31c3f016d
--- /dev/null
+++ b/gnatcoll-db/distinfo
@@ -0,0 +1,18 @@
+$NetBSD$
+
+BLAKE2s (gnatcoll-db-25.0.0.tar.gz) = 644f89eca578ab538daf7c90317a89cfa4736632f141e2d7db5a413d39c0c297
+SHA512 (gnatcoll-db-25.0.0.tar.gz) = 7cd37d33650a16fd72796adda375a62a6368c11b369209686194fe96ad72a8e49094076679824266f88aeb7b1bc592ac1be678fcfaad10b59c7e05f7dd512cf3
+Size (gnatcoll-db-25.0.0.tar.gz) = 2688678 bytes
+SHA1 (patch-gnatcoll__db2ada_gnatcoll__all2ada.gpr) = e7eeace9f2cfa4e700672e77d50dc803d1158f2b
+SHA1 (patch-gnatcoll__db2ada_gnatcoll__db2ada.gpr) = 3178dbd902c02c58a701c8b31438954a7e6b9f15
+SHA1 (patch-gnatcoll__db2ada_gnatcoll__postgres2ada.gpr) = f3d13b8e5980b2080fbef520b9a72877d01186cd
+SHA1 (patch-gnatcoll__db2ada_gnatcoll__sqlite2ada.gpr) = f576c92cb92a6f4535c4693db4a579885555207c
+SHA1 (patch-gnatinspect_gnatinspect.gpr) = 6c3e65e4af79e879ddd88ef7cc9cc1598b63299d
+SHA1 (patch-postgres_Makefile) = 818f2e48d763dea72cf5a93338ab6db8eae62cdb
+SHA1 (patch-postgres_gnatcoll__postgres.gpr) = 4300d92c882ab1d59675da4aba206bfebf6e19b6
+SHA1 (patch-sql_Makefile) = d275d66ae519298126b13e9186bb9fd9e6ad5404
+SHA1 (patch-sqlite_Makefile) = ce545bcad501d86e9dda5d267cbb82a53e2d62c2
+SHA1 (patch-sqlite_gnatcoll__sqlite.gpr) = 54798487954cc9a8651ffb7d658ccc3196c22ae3
+SHA1 (patch-version_information) = e1d2fe8e1039d3d1855b8ad208ca5d94a08628f4
+SHA1 (patch-xref_Makefile) = 5143f4f6666788eea72653b15b16c64a3ce8e5d2
+SHA1 (patch-xref_gnatcoll__xref.gpr) = 2a2379aa77eb04ce452787109a54611f86e7a0e6
diff --git a/gnatcoll-db/options.mk b/gnatcoll-db/options.mk
new file mode 100644
index 0000000000..9854267a8e
--- /dev/null
+++ b/gnatcoll-db/options.mk
@@ -0,0 +1,59 @@
+# $NetBSD: options.mk,v 1.0 2024/05/13 15:00:00 dkazankov Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.gnatcoll-db
+PKG_SUPPORTED_OPTIONS=	gnatcoll_db2ada gnatcoll_postgres2ada gnatcoll_sqlite2ada gnatcoll_all2ada
+PKG_SUPPORTED_OPTIONS+=	gnatinspect postgres sql sqlite xref
+PKG_SUGGESTED_OPTIONS=	gnatcoll_db2ada gnatcoll_postgres2ada gnatcoll_sqlite2ada gnatcoll_all2ada
+PKG_SUGGESTED_OPTIONS+=	gnatinspect postgres sql sqlite xref
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.include "../../mk/bsd.options.mk"
+
+CONFIGURE_DIRS=
+BUILD_DIRS=
+INSTALL_DIRS=
+
+# Build order is important
+
+.if !empty(PKG_OPTIONS:Msql)
+CONFIGURE_DIRS+=	sql
+BUILD_DIRS+=		sql
+INSTALL_DIRS+=		sql
+.endif
+
+.if !empty(PKG_OPTIONS:Msqlite)
+#.  include "../../databases/sqlite3/buildlink3.mk"
+CONFIGURE_DIRS+=	sqlite
+BUILD_DIRS+=		sqlite
+INSTALL_DIRS+=		sqlite
+.endif
+
+.if !empty(PKG_OPTIONS:Mpostgres)
+.  include "../../wip/gnatcoll-bindings/buildlink3.mk"
+.  include "../../mk/pgsql.buildlink3.mk"
+CONFIGURE_DIRS+=	postgres
+BUILD_DIRS+=		postgres
+INSTALL_DIRS+=		postgres
+.endif
+
+.if !empty(PKG_OPTIONS:Mxref)
+.  include "../../wip/gnatcoll-bindings/buildlink3.mk"
+CONFIGURE_DIRS+=	xref
+BUILD_DIRS+=		xref
+INSTALL_DIRS+=		xref
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnatinspect)
+.  include "../../wip/gnatcoll-bindings/buildlink3.mk"
+CONFIGURE_DIRS+=	gnatinspect
+BUILD_DIRS+=		gnatinspect
+INSTALL_DIRS+=		gnatinspect
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnatcoll_db2ada) || !empty(PKG_OPTIONS:Mgnatcoll_postgres2ada) || \
+    !empty(PKG_OPTIONS:Mgnatcoll_sqlite2ada) || !empty(PKG_OPTIONS:Mgnatcoll_all2ada)
+CONFIGURE_DIRS+=	gnatcoll_db2ada
+BUILD_DIRS+=		gnatcoll_db2ada
+INSTALL_DIRS+=		gnatcoll_db2ada
+.endif
diff --git a/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__all2ada.gpr b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__all2ada.gpr
new file mode 100644
index 0000000000..8e8c538668
--- /dev/null
+++ b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__all2ada.gpr
@@ -0,0 +1,19 @@
+$NetBSD: patch-gnatcoll__db2ada_gnatcoll__all2ada.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- gnatcoll_db2ada/gnatcoll_all2ada.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ gnatcoll_db2ada/gnatcoll_all2ada.gpr	2024-07-24 19:55:53.120387194 +0300
+@@ -23,9 +23,9 @@
+ 
+ with "../gnatcoll_db_shared.gpr";
+ with "gnatcoll";
+-with "gnatcoll_sql";
+-with "gnatcoll_sqlite";
+-with "gnatcoll_postgres";
++with "../sql/gnatcoll_sql";
++with "../sqlite/gnatcoll_sqlite";
++with "../postgres/gnatcoll_postgres";
+ 
+ standard project gnatcoll_all2ada is
+ 
diff --git a/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__db2ada.gpr b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__db2ada.gpr
new file mode 100644
index 0000000000..222eccc8d8
--- /dev/null
+++ b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__db2ada.gpr
@@ -0,0 +1,15 @@
+$NetBSD: patch-gnatcoll__db2ada_gnatcoll__db2ada.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- gnatcoll_db2ada/gnatcoll_db2ada.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ gnatcoll_db2ada/gnatcoll_db2ada.gpr	2024-07-24 19:04:50.327277107 +0300
+@@ -23,7 +23,7 @@
+ 
+ with "../gnatcoll_db_shared.gpr";
+ with "gnatcoll";
+-with "gnatcoll_sql";
++with "../sql/gnatcoll_sql";
+ 
+ standard project GNATCOLL_DB2Ada is
+ 
diff --git a/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__postgres2ada.gpr b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__postgres2ada.gpr
new file mode 100644
index 0000000000..43ddeb8b40
--- /dev/null
+++ b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__postgres2ada.gpr
@@ -0,0 +1,17 @@
+$NetBSD: patch-gnatcoll__db2ada_gnatcoll__postgres2ada.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- gnatcoll_db2ada/gnatcoll_postgres2ada.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ gnatcoll_db2ada/gnatcoll_postgres2ada.gpr	2024-07-24 18:55:39.814325097 +0300
+@@ -23,8 +23,8 @@
+ 
+ with "../gnatcoll_db_shared.gpr";
+ with "gnatcoll";
+-with "gnatcoll_sql";
+-with "gnatcoll_postgres";
++with "../sql/gnatcoll_sql";
++with "../postgres/gnatcoll_postgres";
+ 
+ standard project gnatcoll_Postgres2ada is
+ 
diff --git a/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__sqlite2ada.gpr b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__sqlite2ada.gpr
new file mode 100644
index 0000000000..9aeb2eebba
--- /dev/null
+++ b/gnatcoll-db/patches/patch-gnatcoll__db2ada_gnatcoll__sqlite2ada.gpr
@@ -0,0 +1,17 @@
+$NetBSD: patch-gnatcoll__db2ada_gnatcoll__sqlite2ada.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- gnatcoll_db2ada/gnatcoll_sqlite2ada.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ gnatcoll_db2ada/gnatcoll_sqlite2ada.gpr	2024-07-24 18:56:05.410546133 +0300
+@@ -23,8 +23,8 @@
+ 
+ with "../gnatcoll_db_shared.gpr";
+ with "gnatcoll";
+-with "gnatcoll_sql";
+-with "gnatcoll_sqlite";
++with "../sql/gnatcoll_sql";
++with "../sqlite/gnatcoll_sqlite";
+ 
+ standard project gnatcoll_sqlite2ada is
+ 
diff --git a/gnatcoll-db/patches/patch-gnatinspect_gnatinspect.gpr b/gnatcoll-db/patches/patch-gnatinspect_gnatinspect.gpr
new file mode 100644
index 0000000000..494b1d322a
--- /dev/null
+++ b/gnatcoll-db/patches/patch-gnatinspect_gnatinspect.gpr
@@ -0,0 +1,19 @@
+$NetBSD: patch-gnatinspect_gnatinspect.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- gnatinspect/gnatinspect.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ gnatinspect/gnatinspect.gpr	2024-07-24 19:47:06.261997538 +0300
+@@ -23,9 +23,9 @@
+ 
+ with "../gnatcoll_db_shared.gpr";
+ with "gnatcoll";
+-with "gnatcoll_xref";
+-with "gnatcoll_sql";
+-with "gnatcoll_sqlite";
++with "../xref/gnatcoll_xref";
++with "../sql/gnatcoll_sql";
++with "../sqlite/gnatcoll_sqlite";
+ 
+ standard project Gnatinspect is
+ 
diff --git a/gnatcoll-db/patches/patch-postgres_Makefile b/gnatcoll-db/patches/patch-postgres_Makefile
new file mode 100644
index 0000000000..3667243866
--- /dev/null
+++ b/gnatcoll-db/patches/patch-postgres_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-postgres_Makefile,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix library types to build
+
+--- postgres/Makefile.orig	2022-09-02 15:43:38.000000000 +0300
++++ postgres/Makefile	2024-07-24 20:34:07.604188615 +0300
+@@ -91,7 +91,7 @@
+ ifeq ($(ENABLE_SHARED), yes)
+    LIBRARY_TYPES=static relocatable static-pic
+ else
+-   LIBRARY_TYPES=static
++   LIBRARY_TYPES=static static-pic
+ endif
+ 
+ ifeq ($(INTEGRATED), yes)
diff --git a/gnatcoll-db/patches/patch-postgres_gnatcoll__postgres.gpr b/gnatcoll-db/patches/patch-postgres_gnatcoll__postgres.gpr
new file mode 100644
index 0000000000..58cc00d5ae
--- /dev/null
+++ b/gnatcoll-db/patches/patch-postgres_gnatcoll__postgres.gpr
@@ -0,0 +1,15 @@
+$NetBSD: patch-postgres_gnatcoll__postgres.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- postgres/gnatcoll_postgres.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ postgres/gnatcoll_postgres.gpr	2024-07-24 19:38:37.895285106 +0300
+@@ -23,7 +23,7 @@
+ 
+ with "gnatcoll_postgres_conf.gpr";
+ with "gnatcoll";
+-with "gnatcoll_sql";
++with "../sql/gnatcoll_sql";
+ 
+ library project GnatColl_Postgres is
+ 
diff --git a/gnatcoll-db/patches/patch-sql_Makefile b/gnatcoll-db/patches/patch-sql_Makefile
new file mode 100644
index 0000000000..efa8047a5e
--- /dev/null
+++ b/gnatcoll-db/patches/patch-sql_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-sql_Makefile,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix library types to build
+
+--- sql/Makefile.orig	2022-09-02 15:43:38.000000000 +0300
++++ sql/Makefile	2024-07-24 20:32:31.706525848 +0300
+@@ -85,7 +85,7 @@
+ ifeq ($(ENABLE_SHARED), yes)
+    LIBRARY_TYPES=static relocatable static-pic
+ else
+-   LIBRARY_TYPES=static
++   LIBRARY_TYPES=static static-pic
+ endif
+ 
+ ifeq ($(INTEGRATED), yes)
diff --git a/gnatcoll-db/patches/patch-sqlite_Makefile b/gnatcoll-db/patches/patch-sqlite_Makefile
new file mode 100644
index 0000000000..0c77bc8758
--- /dev/null
+++ b/gnatcoll-db/patches/patch-sqlite_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-sqlite_Makefile,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix library types to build
+
+--- sqlite/Makefile.orig	2022-09-02 15:43:38.000000000 +0300
++++ sqlite/Makefile	2024-07-24 20:33:11.197470758 +0300
+@@ -92,7 +92,7 @@
+ ifeq ($(ENABLE_SHARED), yes)
+    LIBRARY_TYPES=static relocatable static-pic
+ else
+-   LIBRARY_TYPES=static
++   LIBRARY_TYPES=static static-pic
+ endif
+ 
+ ifeq ($(INTEGRATED), yes)
diff --git a/gnatcoll-db/patches/patch-sqlite_gnatcoll__sqlite.gpr b/gnatcoll-db/patches/patch-sqlite_gnatcoll__sqlite.gpr
new file mode 100644
index 0000000000..0c181b99a5
--- /dev/null
+++ b/gnatcoll-db/patches/patch-sqlite_gnatcoll__sqlite.gpr
@@ -0,0 +1,15 @@
+$NetBSD: patch-sqlite_gnatcoll__sqlite.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- sqlite/gnatcoll_sqlite.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ sqlite/gnatcoll_sqlite.gpr	2024-07-24 19:35:36.829916300 +0300
+@@ -23,7 +23,7 @@
+ 
+ with "gnatcoll_sqlite_conf.gpr";
+ with "gnatcoll";
+-with "gnatcoll_sql";
++with "../sql/gnatcoll_sql";
+ 
+ library project GnatColl_Sqlite is
+ 
diff --git a/gnatcoll-db/patches/patch-version_information b/gnatcoll-db/patches/patch-version_information
new file mode 100644
index 0000000000..96c7ab4a97
--- /dev/null
+++ b/gnatcoll-db/patches/patch-version_information
@@ -0,0 +1,9 @@
+$NetBSD: patch-version_information,v 1.0 2024/05/06 14:00:00 dkazankov Exp $
+
+Set version information
+
+--- version_information.orig	2023-09-21 18:57:14.000000000 +0300
++++ version_information
+@@ -1 +1 @@
+-0.0
++25.0
diff --git a/gnatcoll-db/patches/patch-xref_Makefile b/gnatcoll-db/patches/patch-xref_Makefile
new file mode 100644
index 0000000000..aa82466b2a
--- /dev/null
+++ b/gnatcoll-db/patches/patch-xref_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-sql_Makefile,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix library types to build
+
+--- xref/Makefile.orig	2022-09-02 15:43:38.000000000 +0300
++++ xref/Makefile	2024-07-24 20:33:41.375207331 +0300
+@@ -86,7 +86,7 @@
+ ifeq ($(ENABLE_SHARED), yes)
+    LIBRARY_TYPES=static relocatable static-pic
+ else
+-   LIBRARY_TYPES=static
++   LIBRARY_TYPES=static static-pic
+ endif
+ 
+ ifeq ($(INTEGRATED), yes)
diff --git a/gnatcoll-db/patches/patch-xref_gnatcoll__xref.gpr b/gnatcoll-db/patches/patch-xref_gnatcoll__xref.gpr
new file mode 100644
index 0000000000..f0084d2e76
--- /dev/null
+++ b/gnatcoll-db/patches/patch-xref_gnatcoll__xref.gpr
@@ -0,0 +1,17 @@
+$NetBSD: patch-xref_gnatcoll__xref.gpr,v 1.0 2024/07/24 19:00:00 dkazankov Exp $
+
+Fix project paths
+
+--- xref/gnatcoll_xref.gpr.orig	2022-09-02 15:43:38.000000000 +0300
++++ xref/gnatcoll_xref.gpr	2024-07-24 19:43:03.528885412 +0300
+@@ -24,8 +24,8 @@
+ with "gnatcoll_xref_conf.gpr";
+ with "gnatcoll";
+ with "gnatcoll_iconv";
+-with "gnatcoll_sql";
+-with "gnatcoll_sqlite";
++with "../sql/gnatcoll_sql";
++with "../sqlite/gnatcoll_sqlite";
+ 
+ library project GnatColl_Xref is
+ 


Home | Main Index | Thread Index | Old Index