pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/gcad3d add gcad3d, a GTK based 3D CAD software



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb75c81b1fe5
branches:  trunk
changeset: 379814:bb75c81b1fe5
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Mon May 23 19:10:03 2022 +0000

description:
add gcad3d, a GTK based 3D CAD software

3D - CADCAM - software

gCAD3D has its own:
    import and export-programs (Step, Iges, VRML, DXF, SVG ..),
    integrated 3D-OpenGL viewer,
    program interpreter for geometry and NC commands in 3D,
    integrated NC processor.
    programming interface for userprograms (plugins)
    programming interface for RemoteControl

diffstat:

 cad/gcad3d/DESCR                                  |    9 +
 cad/gcad3d/Makefile                               |   86 ++++++++
 cad/gcad3d/PLIST                                  |  231 ++++++++++++++++++++++
 cad/gcad3d/distinfo                               |   14 +
 cad/gcad3d/patches/patch-src_APP_srcOS.mak        |   15 +
 cad/gcad3d/patches/patch-src_gcad3d               |   62 +++++
 cad/gcad3d/patches/patch-src_gui__version__set.sh |   38 +++
 cad/gcad3d/patches/patch-src_options.sh           |   29 ++
 cad/gcad3d/patches/patch-src_ut_ut__err.c         |   15 +
 cad/gcad3d/patches/patch-src_ut_ut__os__aix.c     |   55 +++++
 cad/gcad3d/patches/patch-src_xa_xa.c              |   15 +
 cad/gcad3d/patches/patch-src_xa_xa__main.c        |   34 +++
 cad/gcad3d/patches/patch-src_xa_xa__msg.h         |   14 +
 13 files changed, 617 insertions(+), 0 deletions(-)

diffs (truncated from 669 to 300 lines):

diff -r 6e1ef924d223 -r bb75c81b1fe5 cad/gcad3d/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gcad3d/DESCR  Mon May 23 19:10:03 2022 +0000
@@ -0,0 +1,9 @@
+3D - CADCAM - software
+
+gCAD3D has its own:
+    import and export-programs (Step, Iges, VRML, DXF, SVG ..),
+    integrated 3D-OpenGL viewer,
+    program interpreter for geometry and NC commands in 3D,
+    integrated NC processor.
+    programming interface for userprograms (plugins)
+    programming interface for RemoteControl
diff -r 6e1ef924d223 -r bb75c81b1fe5 cad/gcad3d/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gcad3d/Makefile       Mon May 23 19:10:03 2022 +0000
@@ -0,0 +1,86 @@
+# $NetBSD: Makefile,v 1.1 2022/05/23 19:10:03 plunky Exp $
+#
+
+#
+# gCAD3D is open source but not open development. Each release is added
+# to github as a single commit, with the message as the ChangeLog. So,
+# the tag is needed to fetch the right version.
+#
+
+DISTNAME=      gcad3d-2.46.24
+CATEGORIES=    cad editors
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=gcad3d/}
+GITHUB_PROJECT=        gcad3d
+GITHUB_TAG=    ff33b206f158092dbac7f2b1236c3d38fee5d656
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.gcad3d.org/
+COMMENT=       3D CADCAM software
+LICENSE=       gnu-gpl-v3
+
+USE_TOOLS=     gmake pkg-config
+USE_LANGUAGES= c99
+TOOLS_NOOP+=   ctags   # exctags is used but not needed
+
+WRKSRC=                ${WRKDIR}/${PKGBASE}-${GITHUB_TAG}
+
+REPLACE_SH+=   src/APP/del_obj.sh
+
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_MESSAGE.paths=   Fixing hardcoded paths
+SUBST_FILES.paths=     src/gcad3d
+SUBST_VARS.paths=      PREFIX
+
+#
+# The gCAD3D build system is a custom shell script plus a bunch of makefiles
+# with no way to add flags. We leverage cwrappers to wedge the flags we need
+# for pkgsrc in there. pkglint suggests to use :Q but we don't want that.
+#
+CWRAPPERS_PREPEND.cc=  ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
+
+BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+DL_AUTO_VARS=          yes
+
+ALL_ENV+=              DIR_DEV=${WRKSRC}/
+ALL_ENV+=              DIR_BIN=${WRKSRC}/
+
+INSTALLATION_DIRS=     bin lib/gcad3d/plugins/cut1 share/applications share/pixmaps
+INSTALLATION_DIRS+=    share/gcad3d/icons share/doc/gcad3d/html share/doc/gcad3d/msg
+
+do-configure:
+       cd ${WRKSRC}/src/APP && env ${CONFIGURE_ENV} ./do debug_OFF
+
+do-build:
+       cd ${WRKSRC}/src/APP && env ${MAKE_ENV} ./do complete
+
+# see rpm/gcad3d.spec
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/src/gcad3d ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/gcad3d/gCAD3D ${DESTDIR}${PREFIX}/lib/gcad3d
+       ${INSTALL_PROGRAM} ${WRKSRC}/gcad3d/GUI_dlg1_gtk2 ${DESTDIR}${PREFIX}/lib/gcad3d
+       ${INSTALL_PROGRAM} ${WRKSRC}/gcad3d/GUI_file_gtk2 ${DESTDIR}${PREFIX}/lib/gcad3d
+       ${INSTALL_LIB} ${WRKSRC}/gcad3d/*.so ${DESTDIR}${PREFIX}/lib/gcad3d
+       ${INSTALL_LIB} ${WRKSRC}/gcad3d/plugins/*.so ${DESTDIR}${PREFIX}/lib/gcad3d/plugins
+       ${INSTALL_LIB} ${WRKSRC}/gcad3d/plugins/cut1/* ${DESTDIR}${PREFIX}/lib/gcad3d/plugins/cut1
+       ${INSTALL_DATA} ${WRKSRC}/src/gcad3d.desktop ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${WRKSRC}/icons/gCAD3D.xpm ${DESTDIR}${PREFIX}/share/pixmaps/gcad3d.xpm
+       ${INSTALL_DATA} ${WRKSRC}/packages/examples.gz ${DESTDIR}${PREFIX}/share/gcad3d
+       ${INSTALL_DATA} ${WRKSRC}/icons/*.png ${DESTDIR}${PREFIX}/share/gcad3d/icons
+       ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${DESTDIR}${PREFIX}/share/gcad3d/icons
+       ${INSTALL_DATA} ${WRKSRC}/icons/*.bmp ${DESTDIR}${PREFIX}/share/gcad3d/icons
+       ${INSTALL_DATA} ${WRKSRC}/doc/html/*.htm ${DESTDIR}${PREFIX}/share/doc/gcad3d/html
+       ${INSTALL_DATA} ${WRKSRC}/doc/html/*.png ${DESTDIR}${PREFIX}/share/doc/gcad3d/html
+       ${INSTALL_DATA} ${WRKSRC}/doc/html/*.js ${DESTDIR}${PREFIX}/share/doc/gcad3d/html
+       ${INSTALL_DATA} ${WRKSRC}/doc/msg/*.txt ${DESTDIR}${PREFIX}/share/doc/gcad3d/msg
+       ${INSTALL_DATA} ${WRKSRC}/doc/gCAD3D_log.txt ${DESTDIR}${PREFIX}/share/doc/gcad3d/NEWS
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/gcad3d
+       ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/gcad3d
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/gtkglarea2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6e1ef924d223 -r bb75c81b1fe5 cad/gcad3d/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gcad3d/PLIST  Mon May 23 19:10:03 2022 +0000
@@ -0,0 +1,231 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/23 19:10:03 plunky Exp $
+bin/gcad3d
+lib/gcad3d/GUI_dlg1_gtk2
+lib/gcad3d/GUI_file_gtk2
+lib/gcad3d/gCAD3D
+lib/gcad3d/plugins/DemoAssy1.so
+lib/gcad3d/plugins/DemoPlugin_Create.so
+lib/gcad3d/plugins/DemoPlugin_Dialog.so
+lib/gcad3d/plugins/DemoPlugin_Hili.so
+lib/gcad3d/plugins/DemoPlugin_Mousemove.so
+lib/gcad3d/plugins/DemoPlugin_Resolv.so
+lib/gcad3d/plugins/Demo_CPP.so
+lib/gcad3d/plugins/Demo_appDat1.so
+lib/gcad3d/plugins/Demo_export.so
+lib/gcad3d/plugins/Demo_gsrc.so
+lib/gcad3d/plugins/Demo_gui1.so
+lib/gcad3d/plugins/Demo_gui_anim1.so
+lib/gcad3d/plugins/Demo_gui_plate.so
+lib/gcad3d/plugins/Demo_toolbar1.so
+lib/gcad3d/plugins/Demo_toolbar2.so
+lib/gcad3d/plugins/Demo_tstf_1.so
+lib/gcad3d/plugins/Demosimple.so
+lib/gcad3d/plugins/PRC_cut1.so
+lib/gcad3d/plugins/PRC_demo1.so
+lib/gcad3d/plugins/cut1/G-Code
+lib/gcad3d/xa_dxf_r.so
+lib/gcad3d/xa_dxf_w.so
+lib/gcad3d/xa_edmpt.so
+lib/gcad3d/xa_gui.so
+lib/gcad3d/xa_gui_gtk2.so
+lib/gcad3d/xa_ige_r.so
+lib/gcad3d/xa_obj_r.so
+lib/gcad3d/xa_print__.so
+lib/gcad3d/xa_stl_r.so
+lib/gcad3d/xa_stp_r.so
+lib/gcad3d/xa_stp_w.so
+lib/gcad3d/xa_svg_w.so
+lib/gcad3d/xa_vr2_exp.so
+lib/gcad3d/xa_vr2_r.so
+lib/gcad3d/xa_wrl_r.so
+share/applications/gcad3d.desktop
+share/doc/gcad3d/LICENSE
+share/doc/gcad3d/NEWS
+share/doc/gcad3d/README
+share/doc/gcad3d/html/3Dfrom2D_de.htm
+share/doc/gcad3d/html/3Dfrom2D_en.htm
+share/doc/gcad3d/html/APP_GIS1_de.htm
+share/doc/gcad3d/html/APP_GIS1_en.htm
+share/doc/gcad3d/html/AddOn_de.htm
+share/doc/gcad3d/html/AddOn_en.htm
+share/doc/gcad3d/html/Appli_de.htm
+share/doc/gcad3d/html/Appli_en.htm
+share/doc/gcad3d/html/Attribs_de.htm
+share/doc/gcad3d/html/Attribs_en.htm
+share/doc/gcad3d/html/Browser_de.htm
+share/doc/gcad3d/html/Browser_en.htm
+share/doc/gcad3d/html/CAD_Ace_de.htm
+share/doc/gcad3d/html/CAD_Ace_en.htm
+share/doc/gcad3d/html/CAD_Activ_de.htm
+share/doc/gcad3d/html/CAD_Activ_en.htm
+share/doc/gcad3d/html/CAD_Analyz_de.htm
+share/doc/gcad3d/html/CAD_Analyz_en.htm
+share/doc/gcad3d/html/CAD_Base_de.htm
+share/doc/gcad3d/html/CAD_Base_en.htm
+share/doc/gcad3d/html/CAD_CI_de.htm
+share/doc/gcad3d/html/CAD_CI_en.htm
+share/doc/gcad3d/html/CAD_CV_de.htm
+share/doc/gcad3d/html/CAD_CV_en.htm
+share/doc/gcad3d/html/CAD_Joint_de.htm
+share/doc/gcad3d/html/CAD_Joint_en.htm
+share/doc/gcad3d/html/CAD_LN_de.htm
+share/doc/gcad3d/html/CAD_LN_en.htm
+share/doc/gcad3d/html/CAD_Model_de.htm
+share/doc/gcad3d/html/CAD_Model_en.htm
+share/doc/gcad3d/html/CAD_Modify_de.htm
+share/doc/gcad3d/html/CAD_Modify_en.htm
+share/doc/gcad3d/html/CAD_PLN_de.htm
+share/doc/gcad3d/html/CAD_PLN_en.htm
+share/doc/gcad3d/html/CAD_PT_de.htm
+share/doc/gcad3d/html/CAD_PT_en.htm
+share/doc/gcad3d/html/CAD_SOL_de.htm
+share/doc/gcad3d/html/CAD_SOL_en.htm
+share/doc/gcad3d/html/CAD_SUR_de.htm
+share/doc/gcad3d/html/CAD_SUR_en.htm
+share/doc/gcad3d/html/CAD_Tra_de.htm
+share/doc/gcad3d/html/CAD_Tra_en.htm
+share/doc/gcad3d/html/CAD_TxtG_de.htm
+share/doc/gcad3d/html/CAD_TxtG_en.htm
+share/doc/gcad3d/html/CAD_Var_de.htm
+share/doc/gcad3d/html/CAD_Var_en.htm
+share/doc/gcad3d/html/CAD_Vec_de.htm
+share/doc/gcad3d/html/CAD_Vec_en.htm
+share/doc/gcad3d/html/CAD_examples_de.htm
+share/doc/gcad3d/html/CAD_examples_en.htm
+share/doc/gcad3d/html/CAD_input_de.htm
+share/doc/gcad3d/html/CAD_input_en.htm
+share/doc/gcad3d/html/CAD_using_de.htm
+share/doc/gcad3d/html/CAD_using_en.htm
+share/doc/gcad3d/html/Catalog_de.htm
+share/doc/gcad3d/html/Catalog_en.htm
+share/doc/gcad3d/html/Demo_appDat1_en.htm
+share/doc/gcad3d/html/Demo_toolbar1_en.htm
+share/doc/gcad3d/html/EDMPT_de.htm
+share/doc/gcad3d/html/EDMPT_en.htm
+share/doc/gcad3d/html/GMVO_en.htm
+share/doc/gcad3d/html/GROUP_de.htm
+share/doc/gcad3d/html/GROUP_en.htm
+share/doc/gcad3d/html/IO_de.htm
+share/doc/gcad3d/html/IO_en.htm
+share/doc/gcad3d/html/IO_svg_de.htm
+share/doc/gcad3d/html/IO_svg_en.htm
+share/doc/gcad3d/html/Images_de.htm
+share/doc/gcad3d/html/Images_en.htm
+share/doc/gcad3d/html/MAN_de.htm
+share/doc/gcad3d/html/MAN_en.htm
+share/doc/gcad3d/html/MS_dev_en.htm
+share/doc/gcad3d/html/Measure_de.htm
+share/doc/gcad3d/html/Measure_en.htm
+share/doc/gcad3d/html/Notes_de.htm
+share/doc/gcad3d/html/Notes_en.htm
+share/doc/gcad3d/html/PRC__demo1_de.htm
+share/doc/gcad3d/html/PRC__demo1_en.htm
+share/doc/gcad3d/html/PRC_cut1_de.htm
+share/doc/gcad3d/html/PRC_cut1_en.htm
+share/doc/gcad3d/html/Plugin_de.htm
+share/doc/gcad3d/html/Plugin_en.htm
+share/doc/gcad3d/html/Process_de.htm
+share/doc/gcad3d/html/Process_en.htm
+share/doc/gcad3d/html/RemoteControl_de.htm
+share/doc/gcad3d/html/RemoteControl_en.htm
+share/doc/gcad3d/html/SW_layout_en.htm
+share/doc/gcad3d/html/Search_en.htm
+share/doc/gcad3d/html/Select_de.htm
+share/doc/gcad3d/html/Select_en.htm
+share/doc/gcad3d/html/Settings_de.htm
+share/doc/gcad3d/html/Settings_en.htm
+share/doc/gcad3d/html/TextureEditor_de.htm
+share/doc/gcad3d/html/TextureEditor_en.htm
+share/doc/gcad3d/html/Textures_de.htm
+share/doc/gcad3d/html/Textures_en.htm
+share/doc/gcad3d/html/Using_de.htm
+share/doc/gcad3d/html/Using_en.htm
+share/doc/gcad3d/html/VWR_de.htm
+share/doc/gcad3d/html/VWR_en.htm
+share/doc/gcad3d/html/Video_en.htm
+share/doc/gcad3d/html/bc.png
+share/doc/gcad3d/html/blk.png
+share/doc/gcad3d/html/bo.png
+share/doc/gcad3d/html/dev_doc_en.htm
+share/doc/gcad3d/html/dev_inf_en.htm
+share/doc/gcad3d/html/empty_de.htm
+share/doc/gcad3d/html/empty_en.htm
+share/doc/gcad3d/html/file_format_en.htm
+share/doc/gcad3d/html/format_gcad_A_de.htm
+share/doc/gcad3d/html/format_gcad_A_en.htm
+share/doc/gcad3d/html/gCAD3D_basics_de.htm
+share/doc/gcad3d/html/gCAD3D_basics_en.htm
+share/doc/gcad3d/html/gCAD3D_feat_de.htm
+share/doc/gcad3d/html/gCAD3D_feat_en.htm
+share/doc/gcad3d/html/gCAD3D_formats_de.htm
+share/doc/gcad3d/html/gCAD3D_lic_de.htm
+share/doc/gcad3d/html/gCAD3D_lic_en.htm
+share/doc/gcad3d/html/gCAD3D_princ_de.htm
+share/doc/gcad3d/html/gCAD3D_princ_en.htm
+share/doc/gcad3d/html/gCAD3D_startNC_de.htm
+share/doc/gcad3d/html/gCAD3D_startNC_en.htm
+share/doc/gcad3d/html/gCAD3D_startVRML_de.htm
+share/doc/gcad3d/html/gCAD3D_startVRML_en.htm
+share/doc/gcad3d/html/htmTree.js
+share/doc/gcad3d/html/img_doc_sur_extru1.png
+share/doc/gcad3d/html/img_doc_sur_revo1.png
+share/doc/gcad3d/html/img_doc_sur_sph1.png
+share/doc/gcad3d/html/img_doc_sur_sweep1.png
+share/doc/gcad3d/html/img_doc_sur_tps1.png
+share/doc/gcad3d/html/index_de.htm
+share/doc/gcad3d/html/index_en.htm
+share/doc/gcad3d/html/index_tree_de.htm
+share/doc/gcad3d/html/index_tree_de.htm.htm
+share/doc/gcad3d/html/index_tree_en.htm
+share/doc/gcad3d/html/index_tree_en.htm.htm
+share/doc/gcad3d/html/install_en.htm
+share/doc/gcad3d/html/keycodes_en.htm
+share/doc/gcad3d/html/p.png
+share/doc/gcad3d/html/transl_en.htm
+share/doc/gcad3d/html/wcut_de.htm
+share/doc/gcad3d/html/xa.png
+share/doc/gcad3d/msg/msg_const_de.txt
+share/doc/gcad3d/msg/msg_const_en.txt
+share/doc/gcad3d/msg/msg_const_es.txt
+share/doc/gcad3d/msg/msg_const_fr.txt
+share/doc/gcad3d/msg/msg_const_it.txt
+share/doc/gcad3d/msg/msg_const_ms.txt
+share/doc/gcad3d/msg/msg_de.txt



Home | Main Index | Thread Index | Old Index