pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
iterated-dynamics: new package, doesn't build
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Jun 24 23:47:31 2026 +0200
Changeset: d3151965d3ffeed8548f02a45b2155ba90157d68
Modified Files:
Makefile
Added Files:
iterated-dynamics/DESCR
iterated-dynamics/Makefile
iterated-dynamics/PLIST
iterated-dynamics/TODO
iterated-dynamics/distinfo
iterated-dynamics/patches/patch-libid_CMakeLists.txt
iterated-dynamics/patches/patch-libid_include_engine_random__seed.h
iterated-dynamics/patches/patch-tests_libid_CMakeLists.txt
iterated-dynamics/patches/patch-x11_CMakeLists.txt
Log Message:
iterated-dynamics: new package, doesn't build
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d3151965d3ffeed8548f02a45b2155ba90157d68
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
iterated-dynamics/DESCR | 2 ++
iterated-dynamics/Makefile | 29 ++++++++++++++++++++++
iterated-dynamics/PLIST | 4 +++
iterated-dynamics/TODO | 14 +++++++++++
iterated-dynamics/distinfo | 9 +++++++
.../patches/patch-libid_CMakeLists.txt | 22 ++++++++++++++++
.../patch-libid_include_engine_random__seed.h | 14 +++++++++++
.../patches/patch-tests_libid_CMakeLists.txt | 12 +++++++++
iterated-dynamics/patches/patch-x11_CMakeLists.txt | 12 +++++++++
10 files changed, 119 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 0b2f1ed42c..11bf7e4853 100644
--- a/Makefile
+++ b/Makefile
@@ -1830,6 +1830,7 @@ SUBDIR+= isa-l
SUBDIR+= ised
SUBDIR+= islamic-menus
SUBDIR+= ispell-dictionaries
+SUBDIR+= iterated-dynamics
SUBDIR+= itools
SUBDIR+= ivtools
SUBDIR+= ja-freewnn-cvs
diff --git a/iterated-dynamics/DESCR b/iterated-dynamics/DESCR
new file mode 100644
index 0000000000..90b7c16fe4
--- /dev/null
+++ b/iterated-dynamics/DESCR
@@ -0,0 +1,2 @@
+Iterated Dynamics is an open source fractal renderer that can
+generate a lot of different fractal types.
diff --git a/iterated-dynamics/Makefile b/iterated-dynamics/Makefile
new file mode 100644
index 0000000000..06df8b882e
--- /dev/null
+++ b/iterated-dynamics/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME= iterated-dynamics-1.4.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=LegalizeAdulthood/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/LegalizeAdulthood/iterated-dynamics/
+COMMENT= Fractal renderer with support for many fractal types
+LICENSE= gnu-gpl-v3
+
+TOOL_DEPENDS+= cpuid-[0-9]*:../../sysutils/cpuid
+
+USE_LANGUAGES= c c++
+
+CMAKE_CONFIGURE_ARGS+= -DBUILD_TESTING=OFF
+# suggested by documentation, but:
+# CMake Error: Unknown argument --workflow
+#CMAKE_CONFIGURE_ARGS+= --workflow --preset default
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/googletest/buildlink3.mk"
+.include "../../graphics/giflib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/iterated-dynamics/PLIST b/iterated-dynamics/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/iterated-dynamics/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/iterated-dynamics/TODO b/iterated-dynamics/TODO
new file mode 100644
index 0000000000..c5c94da957
--- /dev/null
+++ b/iterated-dynamics/TODO
@@ -0,0 +1,14 @@
+[133/244] Building CXX object libid/CMakeFiles/libid.dir/io/make_mig.cpp.o
+FAILED: [code=1] libid/CMakeFiles/libid.dir/io/make_mig.cpp.o
+/tmp/wip/iterated-dynamics/work/.cwrapper/bin/c++ -DFMT_HEADER_ONLY=1 -I/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/libid/include -I/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/helpcom/include -I/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/config/include -I/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/cmake-pkgsrc-build/config/include -I/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/x11/include -I/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/cmake-pkgsrc-build/include -I/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/algos/include -O2 -g -fstack-clash-protection -pthread -I/usr/pkg/include -I/usr/include -g -std=gnu++17 -Werror -MD -MT libid/CMakeFiles/libid.dir/io/make_mig.cpp.o -MF libid/CMakeFiles/libid.dir/io/make_mig.cpp.o.d -o libid/CMakeFiles/libid.dir/io/make_mig.cpp.o -c /tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/libid/io/make_mig.cpp
+/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/libid/io/make_mig.cpp: In member function 'int id::io::OutputGif::spew()':
+/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/libid/io/make_mig.cpp:130:33: error: too few arguments to function 'int EGifSpew(GifFileType*, int*)'
+ 130 | m_spew_result = EGifSpew(m_gif);
+ | ~~~~~~~~^~~~~~~
+In file included from /tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/libid/io/make_mig.cpp:9:
+/tmp/wip/iterated-dynamics/work/.buildlink/include/gif_lib.h:132:5: note: declared here
+ 132 | int EGifSpew(GifFileType *GifFile, int *ErrorCode);
+ | ^~~~~~~~
+[148/244] Building CXX object libid/CMakeFiles/libid.dir/io/path_match.cpp.o
+ninja: build stopped: subcommand failed.
+*** Error code 1
diff --git a/iterated-dynamics/distinfo b/iterated-dynamics/distinfo
new file mode 100644
index 0000000000..deec632733
--- /dev/null
+++ b/iterated-dynamics/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+BLAKE2s (iterated-dynamics-1.4.1.tar.gz) = 74e9102099fa2a9e4fa34ff7582ce385ce987e690709e2a08c37ce396c257577
+SHA512 (iterated-dynamics-1.4.1.tar.gz) = fbbf5d52c4d473f701c3470b1f1f67316ca4eac9529e6ec027e2b07dbc924aee43db9c3655fd819f1510817bf1cd625bf7832df88746b9780436f6248220b456
+Size (iterated-dynamics-1.4.1.tar.gz) = 29817463 bytes
+SHA1 (patch-libid_CMakeLists.txt) = 18d4e48663c8f6c62f14fe97fbca60afbce75bbf
+SHA1 (patch-libid_include_engine_random__seed.h) = 74cd9a4a9a11e1ec0853f958678d44c2ca25f856
+SHA1 (patch-tests_libid_CMakeLists.txt) = 4613e604144379c03809a111fa9489cfb48bd4ff
+SHA1 (patch-x11_CMakeLists.txt) = c38957b22f83926f891ef784fd7e6e8357b3c921
diff --git a/iterated-dynamics/patches/patch-libid_CMakeLists.txt b/iterated-dynamics/patches/patch-libid_CMakeLists.txt
new file mode 100644
index 0000000000..6c1425295e
--- /dev/null
+++ b/iterated-dynamics/patches/patch-libid_CMakeLists.txt
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- libid/CMakeLists.txt.orig 2026-06-21 02:27:06.000000000 +0000
++++ libid/CMakeLists.txt
+@@ -1,9 +1,7 @@
+ # SPDX-License-Identifier: GPL-3.0-only
+ #
+-find_package(boost_endian CONFIG REQUIRED)
+ find_package(fmt CONFIG REQUIRED)
+ prefer_vcpkg_gif()
+-find_package(cpuid CONFIG REQUIRED)
+
+ set(ID_MAKE_MIG_SCRIPT_SOURCE ui/make_mig_script_unix.cpp)
+ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
+@@ -298,6 +296,6 @@ endif()
+ if(WIN32)
+ target_link_libraries(libid PRIVATE shell32.lib)
+ endif()
+-target_link_libraries(libid PUBLIC help-defs config algos Boost::endian GIF::GIF cpuid::cpuid)
++target_link_libraries(libid PUBLIC help-defs config algos GIF::GIF)
+ target_folder(libid "Libraries")
+ add_dependencies(libid native-help)
diff --git a/iterated-dynamics/patches/patch-libid_include_engine_random__seed.h b/iterated-dynamics/patches/patch-libid_include_engine_random__seed.h
new file mode 100644
index 0000000000..ad5c0ffc3c
--- /dev/null
+++ b/iterated-dynamics/patches/patch-libid_include_engine_random__seed.h
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- libid/include/engine/random_seed.h.orig 2026-06-24 14:18:37.580748957 +0000
++++ libid/include/engine/random_seed.h
+@@ -3,6 +3,9 @@
+ #pragma once
+
+ #include <cstdint>
++#ifdef RANDOM_MAX
++#undef RANDOM_MAX
++#endif
+
+ namespace id::engine
+ {
diff --git a/iterated-dynamics/patches/patch-tests_libid_CMakeLists.txt b/iterated-dynamics/patches/patch-tests_libid_CMakeLists.txt
new file mode 100644
index 0000000000..ac4389acdb
--- /dev/null
+++ b/iterated-dynamics/patches/patch-tests_libid_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- tests/libid/CMakeLists.txt.orig 2026-06-21 02:27:06.000000000 +0000
++++ tests/libid/CMakeLists.txt
+@@ -2,7 +2,6 @@ include(GoogleTest)
+ #
+ include(GoogleTest)
+
+-find_package(boost_endian CONFIG REQUIRED)
+ find_package(GTest CONFIG REQUIRED)
+
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
diff --git a/iterated-dynamics/patches/patch-x11_CMakeLists.txt b/iterated-dynamics/patches/patch-x11_CMakeLists.txt
new file mode 100644
index 0000000000..a1f22d554c
--- /dev/null
+++ b/iterated-dynamics/patches/patch-x11_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- x11/CMakeLists.txt.orig 2026-06-21 02:27:06.000000000 +0000
++++ x11/CMakeLists.txt
+@@ -34,7 +34,4 @@ install(TARGETS id
+ vs_debugger_directory(id "${CMAKE_SOURCE_DIR}/home")
+ install(TARGETS id
+ DESTINATION .
+- RUNTIME_DEPENDENCIES
+- PRE_EXCLUDE_REGEXES "api-ms-.*" "ext-ms-.*"
+- POST_EXCLUDE_REGEXES ".*system32/.*\\.dll"
+ )
Home |
Main Index |
Thread Index |
Old Index