pkgsrc-WIP-changes archive

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

devel/gnatcoll-core: Add 24.0.0



Module Name:	pkgsrc-wip
Committed By:	Dmytro Kazankov <dmytro.kazankov%gmail.com@localhost>
Pushed By:	dkazankov
Date:		Tue May 21 12:29:17 2024 +0300
Changeset:	a89c4cba6a01f27461d83907622850a68d3a4844

Added Files:
	gnatcoll-core/DESCR
	gnatcoll-core/Makefile
	gnatcoll-core/PLIST
	gnatcoll-core/buildlink3.mk
	gnatcoll-core/distinfo
	gnatcoll-core/patches/patch-Makefile
	gnatcoll-core/patches/patch-executable_path.c
	gnatcoll-core/patches/patch-gnatcoll.gpr
	gnatcoll-core/patches/patch-src_os_unix_libc-wrappers.c
	gnatcoll-core/patches/patch-src_os_unix_process-wrappers.c
	gnatcoll-core/patches/patch-version_information

Log Message:
devel/gnatcoll-core: Add 24.0.0

* The GNAT Components Collection - Core Ada library.
* The package is needed to build new lang/spark2014 package.
* Development package - only static libraries are provided.

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

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

diffstat:
 gnatcoll-core/DESCR                                |   8 +
 gnatcoll-core/Makefile                             |  36 ++
 gnatcoll-core/PLIST                                | 368 +++++++++++++++++++++
 gnatcoll-core/buildlink3.mk                        |  20 ++
 gnatcoll-core/distinfo                             |  11 +
 gnatcoll-core/patches/patch-Makefile               |  31 ++
 gnatcoll-core/patches/patch-executable_path.c      |  15 +
 gnatcoll-core/patches/patch-gnatcoll.gpr           |  31 ++
 .../patches/patch-src_os_unix_libc-wrappers.c      |  15 +
 .../patches/patch-src_os_unix_process-wrappers.c   |  17 +
 gnatcoll-core/patches/patch-version_information    |   9 +
 11 files changed, 561 insertions(+)

diffs:
diff --git a/gnatcoll-core/DESCR b/gnatcoll-core/DESCR
new file mode 100644
index 0000000000..0c7fb2a568
--- /dev/null
+++ b/gnatcoll-core/DESCR
@@ -0,0 +1,8 @@
+The GNAT Components Collection (GNATcoll) - Core packages
+
+The reusable library known as the GNAT Component Collection (GNATColl) is
+based on one main principle: general-purpose packages that are part of
+the GNAT technology should also be available to GNAT user application code.
+The GNATColl components complement the predefined Ada and GNAT libraries
+and deal with a range of common programming issues including string and text
+processing, memory management, and file handling.
diff --git a/gnatcoll-core/Makefile b/gnatcoll-core/Makefile
new file mode 100644
index 0000000000..d5048f89f6
--- /dev/null
+++ b/gnatcoll-core/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.0 2024/05/06 15:00:00 dkazankov Exp $
+
+GNATCOLL_VERSION=	24.0.0
+
+PKGNAME=	gnatcoll-core-${GNATCOLL_VERSION}
+DISTNAME=	gnatcoll-core-${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=AdaCore/}
+GITHUB_PROJECT=	gnatcoll-core
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+HOMEPAGE=	https://github.com/AdaCore/gnatcoll-core
+COMMENT=	The GNAT Components Collection (GNATcoll) - Core packages
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	gmake
+HAS_CONFIGURE=	yes
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_LANGUAGES=	c ada
+GCC_REQD+=	13
+
+CONFIG_SHELL_FLAGS+=	prefix=${DESTDIR}${PREFIX} BUILD=PROD ENABLE_SHARED=no
+CONFIG_SHELL=		${MAKE_PROGRAM}
+CONFIGURE_SCRIPT=	setup
+
+GENERATE_PLIST+= \
+	cd ${DESTDIR}${PREFIX} && \
+	${FIND} include lib share \( -type f -or -type l \) -print | ${SORT};
+
+.include "../../wip/gprbuild/buildlink3.mk"
+.include "../../wip/xmlada/buildlink3.mk"
+.include "../../wip/gprlib/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gnatcoll-core/PLIST b/gnatcoll-core/PLIST
new file mode 100644
index 0000000000..cb0fb192de
--- /dev/null
+++ b/gnatcoll-core/PLIST
@@ -0,0 +1,368 @@
+@comment $NetBSD: PLIST,v 1.0 2024/05/06 13:00:00 dkazankov Exp $
+include/gnatcoll/executable_path.c
+include/gnatcoll/getRSS.c
+include/gnatcoll/gnatcoll-any_types.adb
+include/gnatcoll/gnatcoll-any_types.ads
+include/gnatcoll/gnatcoll-arg_lists.adb
+include/gnatcoll/gnatcoll-arg_lists.ads
+include/gnatcoll/gnatcoll-asserts.adb
+include/gnatcoll/gnatcoll-asserts.ads
+include/gnatcoll/gnatcoll-atomic.adb
+include/gnatcoll/gnatcoll-atomic.ads
+include/gnatcoll/gnatcoll-boyer_moore.adb
+include/gnatcoll/gnatcoll-boyer_moore.ads
+include/gnatcoll/gnatcoll-coders-base64.adb
+include/gnatcoll/gnatcoll-coders-base64.ads
+include/gnatcoll/gnatcoll-coders-streams.adb
+include/gnatcoll/gnatcoll-coders-streams.ads
+include/gnatcoll/gnatcoll-coders.adb
+include/gnatcoll/gnatcoll-coders.ads
+include/gnatcoll/gnatcoll-config.adb
+include/gnatcoll/gnatcoll-config.ads
+include/gnatcoll/gnatcoll-damerau_levenshtein_distance.ads
+include/gnatcoll/gnatcoll-damerau_levenshtein_generic.adb
+include/gnatcoll/gnatcoll-damerau_levenshtein_generic.ads
+include/gnatcoll/gnatcoll-email-mailboxes.adb
+include/gnatcoll/gnatcoll-email-mailboxes.ads
+include/gnatcoll/gnatcoll-email-parser.adb
+include/gnatcoll/gnatcoll-email-parser.ads
+include/gnatcoll/gnatcoll-email-utils.adb
+include/gnatcoll/gnatcoll-email-utils.ads
+include/gnatcoll/gnatcoll-email.adb
+include/gnatcoll/gnatcoll-email.ads
+include/gnatcoll/gnatcoll-file_indexes.adb
+include/gnatcoll/gnatcoll-file_indexes.ads
+include/gnatcoll/gnatcoll-file_paths.adb
+include/gnatcoll/gnatcoll-file_paths.ads
+include/gnatcoll/gnatcoll-format_columns_vertical.ads
+include/gnatcoll/gnatcoll-formatters.adb
+include/gnatcoll/gnatcoll-formatters.ads
+include/gnatcoll/gnatcoll-geometry.adb
+include/gnatcoll/gnatcoll-geometry.ads
+include/gnatcoll/gnatcoll-io-native-codec__unix.adb
+include/gnatcoll/gnatcoll-io-native.adb
+include/gnatcoll/gnatcoll-io-native.ads
+include/gnatcoll/gnatcoll-io-remote-unix.adb
+include/gnatcoll/gnatcoll-io-remote-unix.ads
+include/gnatcoll/gnatcoll-io-remote-windows.adb
+include/gnatcoll/gnatcoll-io-remote-windows.ads
+include/gnatcoll/gnatcoll-io-remote.adb
+include/gnatcoll/gnatcoll-io-remote.ads
+include/gnatcoll/gnatcoll-io.adb
+include/gnatcoll/gnatcoll-io.ads
+include/gnatcoll/gnatcoll-json-utility.adb
+include/gnatcoll/gnatcoll-json-utility.ads
+include/gnatcoll/gnatcoll-json.adb
+include/gnatcoll/gnatcoll-json.ads
+include/gnatcoll/gnatcoll-locks.adb
+include/gnatcoll/gnatcoll-locks.ads
+include/gnatcoll/gnatcoll-memory.adb
+include/gnatcoll/gnatcoll-memory.ads
+include/gnatcoll/gnatcoll-mmap-system__unix.adb
+include/gnatcoll/gnatcoll-mmap-system__unix.ads
+include/gnatcoll/gnatcoll-mmap.adb
+include/gnatcoll/gnatcoll-mmap.ads
+include/gnatcoll/gnatcoll-opt_parse.adb
+include/gnatcoll/gnatcoll-opt_parse.ads
+include/gnatcoll/gnatcoll-os-constants__unix.ads
+include/gnatcoll/gnatcoll-os-dir-close__unix.adb
+include/gnatcoll/gnatcoll-os-dir-open__unix.adb
+include/gnatcoll/gnatcoll-os-dir-read__unix.adb
+include/gnatcoll/gnatcoll-os-dir.adb
+include/gnatcoll/gnatcoll-os-dir.ads
+include/gnatcoll/gnatcoll-os-dir_types__unix.ads
+include/gnatcoll/gnatcoll-os-fs-is_console__unix.adb
+include/gnatcoll/gnatcoll-os-fs-null_file__unix.adb
+include/gnatcoll/gnatcoll-os-fs-open__unix.adb
+include/gnatcoll/gnatcoll-os-fs-open_pipe__linux.adb
+include/gnatcoll/gnatcoll-os-fs-set_close_on_exec__unix.adb
+include/gnatcoll/gnatcoll-os-fs.adb
+include/gnatcoll/gnatcoll-os-fs.ads
+include/gnatcoll/gnatcoll-os-fsutil-copy_file_content__unix.adb
+include/gnatcoll/gnatcoll-os-fsutil-copy_permissions__unix.adb
+include/gnatcoll/gnatcoll-os-fsutil-copy_timestamps__unix.adb
+include/gnatcoll/gnatcoll-os-fsutil.adb
+include/gnatcoll/gnatcoll-os-fsutil.ads
+include/gnatcoll/gnatcoll-os-libc-dirent.ads
+include/gnatcoll/gnatcoll-os-libc-spawn.ads
+include/gnatcoll/gnatcoll-os-libc-stat.ads
+include/gnatcoll/gnatcoll-os-libc.ads
+include/gnatcoll/gnatcoll-os-libc_constants__linux.ads
+include/gnatcoll/gnatcoll-os-process-internal_spawn__unix.adb
+include/gnatcoll/gnatcoll-os-process-state__unix.adb
+include/gnatcoll/gnatcoll-os-process-wait__unix.adb
+include/gnatcoll/gnatcoll-os-process-wait_for_processes__unix.adb
+include/gnatcoll/gnatcoll-os-process.adb
+include/gnatcoll/gnatcoll-os-process.ads
+include/gnatcoll/gnatcoll-os-process_types__unix.adb
+include/gnatcoll/gnatcoll-os-process_types__unix.ads
+include/gnatcoll/gnatcoll-os-stat-stat__unix.adb
+include/gnatcoll/gnatcoll-os-stat.adb
+include/gnatcoll/gnatcoll-os-stat.ads
+include/gnatcoll/gnatcoll-os.ads
+include/gnatcoll/gnatcoll-paragraph_filling-badnesses.adb
+include/gnatcoll/gnatcoll-paragraph_filling-badnesses.ads
+include/gnatcoll/gnatcoll-paragraph_filling-words.adb
+include/gnatcoll/gnatcoll-paragraph_filling-words.ads
+include/gnatcoll/gnatcoll-paragraph_filling.adb
+include/gnatcoll/gnatcoll-paragraph_filling.ads
+include/gnatcoll/gnatcoll-path.adb
+include/gnatcoll/gnatcoll-path.ads
+include/gnatcoll/gnatcoll-plugins.ads
+include/gnatcoll/gnatcoll-plugins__unix.adb
+include/gnatcoll/gnatcoll-pools.adb
+include/gnatcoll/gnatcoll-pools.ads
+include/gnatcoll/gnatcoll-projects-aux.adb
+include/gnatcoll/gnatcoll-projects-aux.ads
+include/gnatcoll/gnatcoll-projects-krunch.adb
+include/gnatcoll/gnatcoll-projects-krunch.ads
+include/gnatcoll/gnatcoll-projects-normalize.adb
+include/gnatcoll/gnatcoll-projects-normalize.ads
+include/gnatcoll/gnatcoll-projects.adb
+include/gnatcoll/gnatcoll-projects.ads
+include/gnatcoll/gnatcoll-promises.adb
+include/gnatcoll/gnatcoll-promises.ads
+include/gnatcoll/gnatcoll-refcount-weakref.adb
+include/gnatcoll/gnatcoll-refcount-weakref.ads
+include/gnatcoll/gnatcoll-refcount.adb
+include/gnatcoll/gnatcoll-refcount.ads
+include/gnatcoll/gnatcoll-remote-db.adb
+include/gnatcoll/gnatcoll-remote-db.ads
+include/gnatcoll/gnatcoll-remote.ads
+include/gnatcoll/gnatcoll-scripts-files.adb
+include/gnatcoll/gnatcoll-scripts-files.ads
+include/gnatcoll/gnatcoll-scripts-impl.adb
+include/gnatcoll/gnatcoll-scripts-impl.ads
+include/gnatcoll/gnatcoll-scripts-projects.adb
+include/gnatcoll/gnatcoll-scripts-projects.ads
+include/gnatcoll/gnatcoll-scripts-shell.adb
+include/gnatcoll/gnatcoll-scripts-shell.ads
+include/gnatcoll/gnatcoll-scripts-utils.adb
+include/gnatcoll/gnatcoll-scripts-utils.ads
+include/gnatcoll/gnatcoll-scripts.adb
+include/gnatcoll/gnatcoll-scripts.ads
+include/gnatcoll/gnatcoll-storage_pools-alignment.adb
+include/gnatcoll/gnatcoll-storage_pools-alignment.ads
+include/gnatcoll/gnatcoll-storage_pools-headers.adb
+include/gnatcoll/gnatcoll-storage_pools-headers.ads
+include/gnatcoll/gnatcoll-storage_pools.ads
+include/gnatcoll/gnatcoll-string_builders.adb
+include/gnatcoll/gnatcoll-string_builders.ads
+include/gnatcoll/gnatcoll-string_list_builders.adb
+include/gnatcoll/gnatcoll-string_list_builders.ads
+include/gnatcoll/gnatcoll-strings.ads
+include/gnatcoll/gnatcoll-strings_impl.adb
+include/gnatcoll/gnatcoll-strings_impl.ads
+include/gnatcoll/gnatcoll-symbols.adb
+include/gnatcoll/gnatcoll-symbols.ads
+include/gnatcoll/gnatcoll-templates.adb
+include/gnatcoll/gnatcoll-templates.ads
+include/gnatcoll/gnatcoll-terminal.adb
+include/gnatcoll/gnatcoll-terminal.ads
+include/gnatcoll/gnatcoll-traces.adb
+include/gnatcoll/gnatcoll-traces.ads
+include/gnatcoll/gnatcoll-tribooleans.adb
+include/gnatcoll/gnatcoll-tribooleans.ads
+include/gnatcoll/gnatcoll-utils.adb
+include/gnatcoll/gnatcoll-utils.ads
+include/gnatcoll/gnatcoll-vfs.adb
+include/gnatcoll/gnatcoll-vfs.ads
+include/gnatcoll/gnatcoll-vfs_types.ads
+include/gnatcoll/gnatcoll-vfs_utils.adb
+include/gnatcoll/gnatcoll-vfs_utils.ads
+include/gnatcoll/gnatcoll-wstring_builders.adb
+include/gnatcoll/gnatcoll-wstring_builders.ads
+include/gnatcoll/gnatcoll-wstring_list_builders.adb
+include/gnatcoll/gnatcoll-wstring_list_builders.ads
+include/gnatcoll/gnatcoll.ads
+include/gnatcoll/gnatcoll_support.c
+include/gnatcoll/libc-wrappers.c
+include/gnatcoll/link_max.c
+include/gnatcoll/objlist_file.c
+include/gnatcoll/process-wrappers.c
+include/gnatcoll/run_path_option.c
+include/gnatcoll/separate_run_path_option.c
+include/gnatcoll/set_std_prefix.c
+include/gnatcoll/terminals.c
+include/gnatcoll/update_path.c
+lib/gnatcoll.static-pic/gnatcoll-any_types.ali
+lib/gnatcoll.static-pic/gnatcoll-arg_lists.ali
+lib/gnatcoll.static-pic/gnatcoll-asserts.ali
+lib/gnatcoll.static-pic/gnatcoll-atomic.ali
+lib/gnatcoll.static-pic/gnatcoll-boyer_moore.ali
+lib/gnatcoll.static-pic/gnatcoll-coders-base64.ali
+lib/gnatcoll.static-pic/gnatcoll-coders-streams.ali
+lib/gnatcoll.static-pic/gnatcoll-coders.ali
+lib/gnatcoll.static-pic/gnatcoll-config.ali
+lib/gnatcoll.static-pic/gnatcoll-damerau_levenshtein_distance.ali
+lib/gnatcoll.static-pic/gnatcoll-damerau_levenshtein_generic.ali
+lib/gnatcoll.static-pic/gnatcoll-email-mailboxes.ali
+lib/gnatcoll.static-pic/gnatcoll-email-parser.ali
+lib/gnatcoll.static-pic/gnatcoll-email-utils.ali
+lib/gnatcoll.static-pic/gnatcoll-email.ali
+lib/gnatcoll.static-pic/gnatcoll-file_indexes.ali
+lib/gnatcoll.static-pic/gnatcoll-file_paths.ali
+lib/gnatcoll.static-pic/gnatcoll-format_columns_vertical.ali
+lib/gnatcoll.static-pic/gnatcoll-formatters.ali
+lib/gnatcoll.static-pic/gnatcoll-geometry.ali
+lib/gnatcoll.static-pic/gnatcoll-io-native.ali
+lib/gnatcoll.static-pic/gnatcoll-io-remote-unix.ali
+lib/gnatcoll.static-pic/gnatcoll-io-remote-windows.ali
+lib/gnatcoll.static-pic/gnatcoll-io-remote.ali
+lib/gnatcoll.static-pic/gnatcoll-io.ali
+lib/gnatcoll.static-pic/gnatcoll-json-utility.ali
+lib/gnatcoll.static-pic/gnatcoll-json.ali
+lib/gnatcoll.static-pic/gnatcoll-locks.ali
+lib/gnatcoll.static-pic/gnatcoll-memory.ali
+lib/gnatcoll.static-pic/gnatcoll-mmap-system__unix.ali
+lib/gnatcoll.static-pic/gnatcoll-mmap.ali
+lib/gnatcoll.static-pic/gnatcoll-opt_parse.ali
+lib/gnatcoll.static-pic/gnatcoll-os-constants__unix.ali
+lib/gnatcoll.static-pic/gnatcoll-os-dir.ali
+lib/gnatcoll.static-pic/gnatcoll-os-dir_types__unix.ali
+lib/gnatcoll.static-pic/gnatcoll-os-fs.ali
+lib/gnatcoll.static-pic/gnatcoll-os-fsutil.ali
+lib/gnatcoll.static-pic/gnatcoll-os-libc-dirent.ali
+lib/gnatcoll.static-pic/gnatcoll-os-libc-spawn.ali
+lib/gnatcoll.static-pic/gnatcoll-os-libc-stat.ali
+lib/gnatcoll.static-pic/gnatcoll-os-libc.ali
+lib/gnatcoll.static-pic/gnatcoll-os-libc_constants__linux.ali
+lib/gnatcoll.static-pic/gnatcoll-os-process.ali
+lib/gnatcoll.static-pic/gnatcoll-os-process_types__unix.ali
+lib/gnatcoll.static-pic/gnatcoll-os-stat.ali
+lib/gnatcoll.static-pic/gnatcoll-os.ali
+lib/gnatcoll.static-pic/gnatcoll-paragraph_filling-badnesses.ali
+lib/gnatcoll.static-pic/gnatcoll-paragraph_filling-words.ali
+lib/gnatcoll.static-pic/gnatcoll-paragraph_filling.ali
+lib/gnatcoll.static-pic/gnatcoll-path.ali
+lib/gnatcoll.static-pic/gnatcoll-plugins__unix.ali
+lib/gnatcoll.static-pic/gnatcoll-pools.ali
+lib/gnatcoll.static-pic/gnatcoll-projects-aux.ali
+lib/gnatcoll.static-pic/gnatcoll-projects-krunch.ali
+lib/gnatcoll.static-pic/gnatcoll-projects-normalize.ali
+lib/gnatcoll.static-pic/gnatcoll-projects.ali
+lib/gnatcoll.static-pic/gnatcoll-promises.ali
+lib/gnatcoll.static-pic/gnatcoll-refcount-weakref.ali
+lib/gnatcoll.static-pic/gnatcoll-refcount.ali
+lib/gnatcoll.static-pic/gnatcoll-remote-db.ali
+lib/gnatcoll.static-pic/gnatcoll-remote.ali
+lib/gnatcoll.static-pic/gnatcoll-scripts-files.ali
+lib/gnatcoll.static-pic/gnatcoll-scripts-impl.ali
+lib/gnatcoll.static-pic/gnatcoll-scripts-projects.ali
+lib/gnatcoll.static-pic/gnatcoll-scripts-shell.ali
+lib/gnatcoll.static-pic/gnatcoll-scripts-utils.ali
+lib/gnatcoll.static-pic/gnatcoll-scripts.ali
+lib/gnatcoll.static-pic/gnatcoll-storage_pools-alignment.ali
+lib/gnatcoll.static-pic/gnatcoll-storage_pools-headers.ali
+lib/gnatcoll.static-pic/gnatcoll-storage_pools.ali
+lib/gnatcoll.static-pic/gnatcoll-string_builders.ali
+lib/gnatcoll.static-pic/gnatcoll-string_list_builders.ali
+lib/gnatcoll.static-pic/gnatcoll-strings.ali
+lib/gnatcoll.static-pic/gnatcoll-strings_impl.ali
+lib/gnatcoll.static-pic/gnatcoll-symbols.ali
+lib/gnatcoll.static-pic/gnatcoll-templates.ali
+lib/gnatcoll.static-pic/gnatcoll-terminal.ali
+lib/gnatcoll.static-pic/gnatcoll-traces.ali
+lib/gnatcoll.static-pic/gnatcoll-tribooleans.ali
+lib/gnatcoll.static-pic/gnatcoll-utils.ali
+lib/gnatcoll.static-pic/gnatcoll-vfs.ali
+lib/gnatcoll.static-pic/gnatcoll-vfs_types.ali
+lib/gnatcoll.static-pic/gnatcoll-vfs_utils.ali
+lib/gnatcoll.static-pic/gnatcoll-wstring_builders.ali
+lib/gnatcoll.static-pic/gnatcoll-wstring_list_builders.ali
+lib/gnatcoll.static-pic/gnatcoll.ali
+lib/gnatcoll.static-pic/libgnatcoll.a
+lib/gnatcoll.static/gnatcoll-any_types.ali
+lib/gnatcoll.static/gnatcoll-arg_lists.ali
+lib/gnatcoll.static/gnatcoll-asserts.ali
+lib/gnatcoll.static/gnatcoll-atomic.ali
+lib/gnatcoll.static/gnatcoll-boyer_moore.ali
+lib/gnatcoll.static/gnatcoll-coders-base64.ali
+lib/gnatcoll.static/gnatcoll-coders-streams.ali
+lib/gnatcoll.static/gnatcoll-coders.ali
+lib/gnatcoll.static/gnatcoll-config.ali
+lib/gnatcoll.static/gnatcoll-damerau_levenshtein_distance.ali
+lib/gnatcoll.static/gnatcoll-damerau_levenshtein_generic.ali
+lib/gnatcoll.static/gnatcoll-email-mailboxes.ali
+lib/gnatcoll.static/gnatcoll-email-parser.ali
+lib/gnatcoll.static/gnatcoll-email-utils.ali
+lib/gnatcoll.static/gnatcoll-email.ali
+lib/gnatcoll.static/gnatcoll-file_indexes.ali
+lib/gnatcoll.static/gnatcoll-file_paths.ali
+lib/gnatcoll.static/gnatcoll-format_columns_vertical.ali
+lib/gnatcoll.static/gnatcoll-formatters.ali
+lib/gnatcoll.static/gnatcoll-geometry.ali
+lib/gnatcoll.static/gnatcoll-io-native.ali
+lib/gnatcoll.static/gnatcoll-io-remote-unix.ali
+lib/gnatcoll.static/gnatcoll-io-remote-windows.ali
+lib/gnatcoll.static/gnatcoll-io-remote.ali
+lib/gnatcoll.static/gnatcoll-io.ali
+lib/gnatcoll.static/gnatcoll-json-utility.ali
+lib/gnatcoll.static/gnatcoll-json.ali
+lib/gnatcoll.static/gnatcoll-locks.ali
+lib/gnatcoll.static/gnatcoll-memory.ali
+lib/gnatcoll.static/gnatcoll-mmap-system__unix.ali
+lib/gnatcoll.static/gnatcoll-mmap.ali
+lib/gnatcoll.static/gnatcoll-opt_parse.ali
+lib/gnatcoll.static/gnatcoll-os-constants__unix.ali
+lib/gnatcoll.static/gnatcoll-os-dir.ali
+lib/gnatcoll.static/gnatcoll-os-dir_types__unix.ali
+lib/gnatcoll.static/gnatcoll-os-fs.ali
+lib/gnatcoll.static/gnatcoll-os-fsutil.ali
+lib/gnatcoll.static/gnatcoll-os-libc-dirent.ali
+lib/gnatcoll.static/gnatcoll-os-libc-spawn.ali
+lib/gnatcoll.static/gnatcoll-os-libc-stat.ali
+lib/gnatcoll.static/gnatcoll-os-libc.ali
+lib/gnatcoll.static/gnatcoll-os-libc_constants__linux.ali
+lib/gnatcoll.static/gnatcoll-os-process.ali
+lib/gnatcoll.static/gnatcoll-os-process_types__unix.ali
+lib/gnatcoll.static/gnatcoll-os-stat.ali
+lib/gnatcoll.static/gnatcoll-os.ali
+lib/gnatcoll.static/gnatcoll-paragraph_filling-badnesses.ali
+lib/gnatcoll.static/gnatcoll-paragraph_filling-words.ali
+lib/gnatcoll.static/gnatcoll-paragraph_filling.ali
+lib/gnatcoll.static/gnatcoll-path.ali
+lib/gnatcoll.static/gnatcoll-plugins__unix.ali
+lib/gnatcoll.static/gnatcoll-pools.ali
+lib/gnatcoll.static/gnatcoll-projects-aux.ali
+lib/gnatcoll.static/gnatcoll-projects-krunch.ali
+lib/gnatcoll.static/gnatcoll-projects-normalize.ali
+lib/gnatcoll.static/gnatcoll-projects.ali
+lib/gnatcoll.static/gnatcoll-promises.ali
+lib/gnatcoll.static/gnatcoll-refcount-weakref.ali
+lib/gnatcoll.static/gnatcoll-refcount.ali
+lib/gnatcoll.static/gnatcoll-remote-db.ali
+lib/gnatcoll.static/gnatcoll-remote.ali
+lib/gnatcoll.static/gnatcoll-scripts-files.ali
+lib/gnatcoll.static/gnatcoll-scripts-impl.ali
+lib/gnatcoll.static/gnatcoll-scripts-projects.ali
+lib/gnatcoll.static/gnatcoll-scripts-shell.ali
+lib/gnatcoll.static/gnatcoll-scripts-utils.ali
+lib/gnatcoll.static/gnatcoll-scripts.ali
+lib/gnatcoll.static/gnatcoll-storage_pools-alignment.ali
+lib/gnatcoll.static/gnatcoll-storage_pools-headers.ali
+lib/gnatcoll.static/gnatcoll-storage_pools.ali
+lib/gnatcoll.static/gnatcoll-string_builders.ali
+lib/gnatcoll.static/gnatcoll-string_list_builders.ali
+lib/gnatcoll.static/gnatcoll-strings.ali
+lib/gnatcoll.static/gnatcoll-strings_impl.ali
+lib/gnatcoll.static/gnatcoll-symbols.ali
+lib/gnatcoll.static/gnatcoll-templates.ali
+lib/gnatcoll.static/gnatcoll-terminal.ali
+lib/gnatcoll.static/gnatcoll-traces.ali
+lib/gnatcoll.static/gnatcoll-tribooleans.ali
+lib/gnatcoll.static/gnatcoll-utils.ali
+lib/gnatcoll.static/gnatcoll-vfs.ali
+lib/gnatcoll.static/gnatcoll-vfs_types.ali
+lib/gnatcoll.static/gnatcoll-vfs_utils.ali
+lib/gnatcoll.static/gnatcoll-wstring_builders.ali
+lib/gnatcoll.static/gnatcoll-wstring_list_builders.ali
+lib/gnatcoll.static/gnatcoll.ali
+lib/gnatcoll.static/libgnatcoll.a
+share/examples/gnatcoll/coders/base64-demo
+share/examples/gnatcoll/coders/base64_coder.adb
+share/examples/gnatcoll/coders/base64_coder.gpr
+share/examples/gnatcoll/projects/gpr_sources.adb
+share/examples/gnatcoll/projects/gpr_sources.gpr
+share/gpr/gnatcoll.gpr
+share/gpr/manifests/gnatcoll
diff --git a/gnatcoll-core/buildlink3.mk b/gnatcoll-core/buildlink3.mk
new file mode 100644
index 0000000000..e7a82ba0c8
--- /dev/null
+++ b/gnatcoll-core/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.0 2024/05/06 13:00:00 dkazankov Exp $
+
+BUILDLINK_TREE+=	gnatcoll-core
+
+.if !defined(GNATCOLL_CORE_BUILDLINK3_MK)
+GNATCOLL_CORE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gnatcoll-core+=	gnatcoll-core>=24.0.0
+BUILDLINK_PKGSRCDIR.gnatcoll-core=	../../wip/gnatcoll-core
+BUILDLINK_DEPMETHOD.gnatcoll-core?=	build
+
+BUILDLINK_FILES.gnatcoll-core=		include/gnatcoll/* lib/gnatcoll.*/*
+BUILDLINK_FILES.gnatcoll-core+=		share/gpr/manifests/gnatcoll share/gpr/gnatcoll.gpr
+
+BUILDLINK_CONTENTS_FILTER.gnatcoll-core=	\
+	${EGREP} '(include/.*\.ads$$|lib/.*\.ali$$|lib/.*\.a$$|share/gpr/manifests/.*|share/gpr/.*\.gpr$$)'
+
+.endif
+
+BUILDLINK_TREE+=	-gnatcoll-core
diff --git a/gnatcoll-core/distinfo b/gnatcoll-core/distinfo
new file mode 100644
index 0000000000..f539258f4f
--- /dev/null
+++ b/gnatcoll-core/distinfo
@@ -0,0 +1,11 @@
+$NetBSD$
+
+BLAKE2s (gnatcoll-core-24.0.0.tar.gz) = dfd9779a3aee0a5bccad92fcfb3e6473065a73f6cfb33a2319be6a6e974db191
+SHA512 (gnatcoll-core-24.0.0.tar.gz) = 1f1d470e7b74f238682f0938efe04c303c6bfca5a6b723eb789f5cb4bd33a199a9f2323626b8887758f01709ab1ba4d8045c56ce45f02e535babca4025662d9f
+Size (gnatcoll-core-24.0.0.tar.gz) = 764526 bytes
+SHA1 (patch-Makefile) = 014a48e7dfc9016e28cc11502559b1f26f9b8a88
+SHA1 (patch-executable_path.c) = b0c88ee3d657332a1c879d4807681ea4c8c171b7
+SHA1 (patch-gnatcoll.gpr) = c4e107ce24c56e8bebcab3284f42055b3166c47e
+SHA1 (patch-src_os_unix_libc-wrappers.c) = 6d9750ee1dedce3129a895238da909f3c7967c31
+SHA1 (patch-src_os_unix_process-wrappers.c) = da4b4b0922d7a6b690c2dab2046001d4f48a8855
+SHA1 (patch-version_information) = 27344a8db2fccede1f8a42ba2bd4fb1d690eb9ae
diff --git a/gnatcoll-core/patches/patch-Makefile b/gnatcoll-core/patches/patch-Makefile
new file mode 100644
index 0000000000..8a8bdd001b
--- /dev/null
+++ b/gnatcoll-core/patches/patch-Makefile
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile,v 1.0 2024/05/08 23:00:00 dkazankov Exp $
+
+Make static-pic in addition to static lib
+Add install options
+
+--- Makefile.orig	2023-09-21 18:57:14.000000000 +0300
++++ Makefile	2024-05-10 23:25:58.532726100 +0300
+@@ -101,7 +101,7 @@
+ ifeq ($(ENABLE_SHARED), yes)
+    LIBRARY_TYPES=static relocatable static-pic
+ else
+-   LIBRARY_TYPES=static
++   LIBRARY_TYPES=static static-pic
+ endif
+ 
+ ifeq ($(GNATCOV), yes)
+@@ -129,12 +129,13 @@
+ 
+ # Used to pass extra options to GPRBUILD, like -d for instance
+ GPRBUILD_OPTIONS=
++GPRINSTALL_OPTIONS=
+ 
+ BUILDER=$(GNATCOV_PROJECT_PATH) gprbuild -p -m $(GTARGET) $(RBD) \
+         -j$(PROCESSORS) $(GPR_VARS) \
+ 	$(GPRBUILD_OPTIONS) $(GNATCOV_BUILD_OPTS)
+ INSTALLER=gprinstall -p -f $(GTARGET) $(GPR_VARS) \
+-	$(RBD) --sources-subdir=include/gnatcoll --prefix=$(prefix)$(integrated_install)
++	$(RBD) --sources-subdir=include/gnatcoll --prefix=$(prefix)$(integrated_install) $(GPRINSTALL_OPTIONS)
+ CLEANER=gprclean -q $(RBD) $(GTARGET)
+ UNINSTALLER=$(INSTALLER) -p -f --install-name=gnatcoll --uninstall
+ 
diff --git a/gnatcoll-core/patches/patch-executable_path.c b/gnatcoll-core/patches/patch-executable_path.c
new file mode 100644
index 0000000000..61b1b2e72e
--- /dev/null
+++ b/gnatcoll-core/patches/patch-executable_path.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-executable_path.c,v 1.0 2024/05/06 14:00:00 dkazankov Exp $
+
+Add NetBSD support
+
+--- src/executable_path.c.orig	2023-09-21 18:57:14.000000000 +0300
++++ src/executable_path.c	2024-05-06 13:54:06.462078706 +0300
+@@ -50,7 +50,7 @@
+     return (int) GetModuleFileNameA(NULL, buffer, (DWORD) size);
+ }
+ 
+-#elif defined (__linux__)
++#elif defined (__linux__) || defined (__NetBSD__)
+ /* Linux implementation */
+ #include <unistd.h>
+ int
diff --git a/gnatcoll-core/patches/patch-gnatcoll.gpr b/gnatcoll-core/patches/patch-gnatcoll.gpr
new file mode 100644
index 0000000000..baba33e92b
--- /dev/null
+++ b/gnatcoll-core/patches/patch-gnatcoll.gpr
@@ -0,0 +1,31 @@
+$NetBSD: patch-gnatcoll.gpr,v 1.0 2024/05/17 18:00:00 dkazankov Exp $
+
+Fix extra libs on NetBSD
+Fix RELRO options on NetBSD
+
+--- gnatcoll.gpr.orig	2023-09-21 18:57:14.000000000 +0300
++++ gnatcoll.gpr	2024-05-17 18:02:19.343616530 +0300
+@@ -105,7 +105,8 @@
+    end case;
+    case OS is
+       when "unix" =>
+-         Extra_Libs := Extra_Libs & ("-ldl"); --  For gnatcoll.plugins
++         --Extra_Libs := Extra_Libs & ("-ldl"); --  For gnatcoll.plugins
++         null;
+       when others =>
+          null;
+    end case;
+@@ -156,6 +157,13 @@
+ 
+       for Switches ("gnatcoll_support.c") use
+         Extra_Switches & Compiler'Switches ("C");
++      case Library_Type is
++         when "static-pic" | "relocatable" =>
++            for PIC_Option ("Ada") use ("-fPIC");
++            for PIC_Option ("C") use ("-fPIC");
++         when others =>
++            null;
++      end case;
+    end Compiler;
+ 
+    package Binder is
diff --git a/gnatcoll-core/patches/patch-src_os_unix_libc-wrappers.c b/gnatcoll-core/patches/patch-src_os_unix_libc-wrappers.c
new file mode 100644
index 0000000000..0b50431c21
--- /dev/null
+++ b/gnatcoll-core/patches/patch-src_os_unix_libc-wrappers.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_os_unix_libc-wrappers.c,v 1.0 2024/05/10 23:00:00 dkazankov Exp $
+
+Add NetBSD support
+
+--- src/os/unix/libc-wrappers.c.orig	2023-09-21 18:57:14.000000000 +0300
++++ src/os/unix/libc-wrappers.c	2024-05-10 23:03:56.375549812 +0300
+@@ -348,7 +348,7 @@
+   if (result != NULL)
+   {
+      buf->inode = (uint_64) result->d_ino;
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__NetBSD__)
+      buf->offset = 0;
+ #else
+      buf->offset = (uint_64) result->d_off;
diff --git a/gnatcoll-core/patches/patch-src_os_unix_process-wrappers.c b/gnatcoll-core/patches/patch-src_os_unix_process-wrappers.c
new file mode 100644
index 0000000000..4c9e15df1d
--- /dev/null
+++ b/gnatcoll-core/patches/patch-src_os_unix_process-wrappers.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_os_unix_process-wrappers.c,v 1.0 2024/05/10 23:00:00 dkazankov Exp $
+
+Add NetBSD support
+
+--- src/os/unix/process-wrappers.c.orig	2023-09-21 18:57:14.000000000 +0300
++++ src/os/unix/process-wrappers.c	2024-05-10 23:00:28.930367426 +0300
+@@ -28,6 +28,10 @@
+ #include <unistd.h>
+ #include <sys/wait.h>
+ #include <signal.h>
++#if defined(__NetBSD__)
++#include <sys/select.h>
++#include <sys/time.h>
++#endif
+ 
+ typedef long long int sint_64;
+ 
diff --git a/gnatcoll-core/patches/patch-version_information b/gnatcoll-core/patches/patch-version_information
new file mode 100644
index 0000000000..f4fc56ab74
--- /dev/null
+++ b/gnatcoll-core/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	2024-05-06 14:53:16.555885083 +0300
+@@ -1 +1 @@
+-0.0
++24.0


Home | Main Index | Thread Index | Old Index