pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mayo: wip package for v0.9.0.
Module Name: pkgsrc-wip
Committed By: Robert Swindells <rjs%NetBSD.org@localhost>
Pushed By: rjs
Date: Fri Oct 24 12:51:02 2025 +0100
Changeset: 21d0c38e630988626a7240e473151c344da27858
Added Files:
mayo/DESCR
mayo/Makefile
mayo/PLIST
mayo/TODO
mayo/distinfo
mayo/patches/patch-src_base_string__conv.cpp
Log Message:
mayo: wip package for v0.9.0.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=21d0c38e630988626a7240e473151c344da27858
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mayo/DESCR | 5 +++
mayo/Makefile | 29 ++++++++++++++
mayo/PLIST | 59 ++++++++++++++++++++++++++++
mayo/TODO | 1 +
mayo/distinfo | 6 +++
mayo/patches/patch-src_base_string__conv.cpp | 14 +++++++
6 files changed, 114 insertions(+)
diffs:
diff --git a/mayo/DESCR b/mayo/DESCR
new file mode 100644
index 0000000000..459e6719ec
--- /dev/null
+++ b/mayo/DESCR
@@ -0,0 +1,5 @@
+Mayo can read/write 3D files from/to STEP, IGES, STL and many other
+CAD formats
+
+Mayo 3D viewer supports clip planes, exploding of assemblies,
+measurement of shapes, show/hide parts, ...
diff --git a/mayo/Makefile b/mayo/Makefile
new file mode 100644
index 0000000000..ff5ad50cca
--- /dev/null
+++ b/mayo/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME= mayo-0.9.0
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_GITHUB:=fougue/}
+GITHUB_PROJECT= mayo
+GITHUB_TAG= v${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.gz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/fougue/mayo
+COMMENT= 3D CAD viewer and converter based on Qt + OpenCascade
+LICENSE= mit
+
+USE_LANGUAGES= c c++
+USE_TOOLS= git
+
+CMAKE_CONFIGURE_ARGS+= -DMayo_BuildPluginAssimp="ON"
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../devel/cmake/build.mk"
+
+.include "../../wip/occt/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../graphics/freeimage/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mayo/PLIST b/mayo/PLIST
new file mode 100644
index 0000000000..894a743431
--- /dev/null
+++ b/mayo/PLIST
@@ -0,0 +1,59 @@
+@comment $NetBSD$
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_EXTSDIR}/ox.${RUBY_DLEXT}
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/ext/ox/attr.h
+${GEM_LIBDIR}/ext/ox/base64.c
+${GEM_LIBDIR}/ext/ox/base64.h
+${GEM_LIBDIR}/ext/ox/buf.h
+${GEM_LIBDIR}/ext/ox/builder.c
+${GEM_LIBDIR}/ext/ox/cache.c
+${GEM_LIBDIR}/ext/ox/cache.h
+${GEM_LIBDIR}/ext/ox/cache8.c
+${GEM_LIBDIR}/ext/ox/cache8.h
+${GEM_LIBDIR}/ext/ox/dump.c
+${GEM_LIBDIR}/ext/ox/err.c
+${GEM_LIBDIR}/ext/ox/err.h
+${GEM_LIBDIR}/ext/ox/extconf.rb
+${GEM_LIBDIR}/ext/ox/gen_load.c
+${GEM_LIBDIR}/ext/ox/hash_load.c
+${GEM_LIBDIR}/ext/ox/helper.h
+${GEM_LIBDIR}/ext/ox/intern.c
+${GEM_LIBDIR}/ext/ox/intern.h
+${GEM_LIBDIR}/ext/ox/obj_load.c
+${GEM_LIBDIR}/ext/ox/ox.c
+${GEM_LIBDIR}/ext/ox/ox.h
+${GEM_LIBDIR}/ext/ox/parse.c
+${GEM_LIBDIR}/ext/ox/sax.c
+${GEM_LIBDIR}/ext/ox/sax.h
+${GEM_LIBDIR}/ext/ox/sax_as.c
+${GEM_LIBDIR}/ext/ox/sax_buf.c
+${GEM_LIBDIR}/ext/ox/sax_buf.h
+${GEM_LIBDIR}/ext/ox/sax_hint.c
+${GEM_LIBDIR}/ext/ox/sax_hint.h
+${GEM_LIBDIR}/ext/ox/sax_stack.h
+${GEM_LIBDIR}/ext/ox/slotcache.c
+${GEM_LIBDIR}/ext/ox/slotcache.h
+${GEM_LIBDIR}/ext/ox/special.c
+${GEM_LIBDIR}/ext/ox/special.h
+${GEM_LIBDIR}/ext/ox/type.h
+${GEM_LIBDIR}/lib/ox.rb
+${GEM_LIBDIR}/lib/ox.${RUBY_DLEXT}
+${GEM_LIBDIR}/lib/ox/bag.rb
+${GEM_LIBDIR}/lib/ox/cdata.rb
+${GEM_LIBDIR}/lib/ox/comment.rb
+${GEM_LIBDIR}/lib/ox/doctype.rb
+${GEM_LIBDIR}/lib/ox/document.rb
+${GEM_LIBDIR}/lib/ox/element.rb
+${GEM_LIBDIR}/lib/ox/error.rb
+${GEM_LIBDIR}/lib/ox/hasattrs.rb
+${GEM_LIBDIR}/lib/ox/instruct.rb
+${GEM_LIBDIR}/lib/ox/node.rb
+${GEM_LIBDIR}/lib/ox/raw.rb
+${GEM_LIBDIR}/lib/ox/sax.rb
+${GEM_LIBDIR}/lib/ox/version.rb
+${GEM_LIBDIR}/lib/ox/xmlrpc_adapter.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/mayo/TODO b/mayo/TODO
new file mode 100644
index 0000000000..d15df6069e
--- /dev/null
+++ b/mayo/TODO
@@ -0,0 +1 @@
+Make it install.
diff --git a/mayo/distinfo b/mayo/distinfo
new file mode 100644
index 0000000000..e76feeea45
--- /dev/null
+++ b/mayo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (mayo-0.9.0.tar.gz) = 8748078a301480952732f0580936f81ad16eca6a3dd8b96c4774584de6920d77
+SHA512 (mayo-0.9.0.tar.gz) = cb3a07ae2118c9af36ce5fa053bd65f920137069f74f8b690c5b0bf89c368042b6771e09f0dfc506881a993aa91062b2027b35746cc461087a16414ed56aba56
+Size (mayo-0.9.0.tar.gz) = 10079952 bytes
+SHA1 (patch-src_base_string__conv.cpp) = 76f872bcef585191fd281a92610453df9f3a9571
diff --git a/mayo/patches/patch-src_base_string__conv.cpp b/mayo/patches/patch-src_base_string__conv.cpp
new file mode 100644
index 0000000000..0e0339d508
--- /dev/null
+++ b/mayo/patches/patch-src_base_string__conv.cpp
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- src/base/string_conv.cpp.orig 2025-10-24 11:43:42.756193937 +0000
++++ src/base/string_conv.cpp
+@@ -9,6 +9,9 @@
+ # include <Windows.h>
+ #else
+ # include <iconv.h>
++#if defined(__NetBSD__)
++#define _NETBSD_SOURCE
++#endif
+ # include <langinfo.h>
+ # include <locale.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index