FreeBSD Bugzilla – Attachment 186825 Details for
Bug 222711
[New port] graphics/instant-meshes: Interactive field-aligned mesh generator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
instant-meshes.patch
instant-meshes.patch (text/plain), 6.91 KB, created by
Val Packett
on 2017-10-01 00:41:35 UTC
(
hide
)
Description:
instant-meshes.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2017-10-01 00:41:35 UTC
Size:
6.91 KB
patch
obsolete
>diff --git c/graphics/instant-meshes/Makefile i/graphics/instant-meshes/Makefile >new file mode 100644 >index 000000000000..97e480fdd62c >--- /dev/null >+++ i/graphics/instant-meshes/Makefile >@@ -0,0 +1,43 @@ >+# $FreeBSD$ >+ >+PORTNAME= instant-meshes >+PORTVERSION= 0 >+CATEGORIES= graphics >+ >+MAINTAINER= greg@unrelenting.technology >+COMMENT= Interactive field-aligned mesh generator >+ >+LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE.txt >+ >+RUN_DEPENDS= zenity:x11/zenity >+ >+USES= cmake:outsource compiler:c++11-lang pkgconfig >+USE_GL= gl >+USE_XORG+= xxf86vm xrandr xinerama xcursor xi x11 >+ >+USE_GITHUB= yes >+GH_ACCOUNT= wjakob >+GH_TAGNAME= 4a083f4 >+GH_TUPLE= wjakob:nanogui:2a61f03:nanogui/ext/nanogui \ >+ libigl:eigen:c34a913:eigen \ >+ wjakob:glfw:0ff30d6:glfw \ >+ wjakob:nanovg:ac15b84:nanovg \ >+ pybind:pybind11:c01a1c1:pybind11 \ >+ wjakob:pcg32:0ef13e6:pcg32/ext/pcg32 \ >+ wjakob:dset:7967ef0:dset/ext/dset \ >+ wjakob:tbb:550c18b:tbb/ext/tbb \ >+ wjakob:pss:a91da33:pss/ext/pss >+ >+post-extract: >+ @${MV} ${WRKSRC_eigen}/* ${WRKSRC}/ext/nanogui/ext/eigen >+ @${MV} ${WRKSRC_glfw}/* ${WRKSRC}/ext/nanogui/ext/glfw >+ @${MV} ${WRKSRC_nanovg}/* ${WRKSRC}/ext/nanogui/ext/nanovg >+ @${MV} ${WRKSRC_pybind11}/* ${WRKSRC}/ext/nanogui/ext/pybind11 >+ >+post-install: >+ ${INSTALL_DATA} ${WRKSRC}/resources/icon.png \ >+ ${STAGEDIR}${PREFIX}/share/pixmaps/instant-meshes.png >+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} >+ >+.include <bsd.port.mk> >diff --git c/graphics/instant-meshes/distinfo i/graphics/instant-meshes/distinfo >new file mode 100644 >index 000000000000..513e2512f334 >--- /dev/null >+++ i/graphics/instant-meshes/distinfo >@@ -0,0 +1,21 @@ >+TIMESTAMP = 1506815324 >+SHA256 (wjakob-instant-meshes-0-4a083f4_GH0.tar.gz) = 49ad27088f6e045be0d65f3fb71a75ac24ebc38a5d7c94953d3568ab19b44203 >+SIZE (wjakob-instant-meshes-0-4a083f4_GH0.tar.gz) = 3001725 >+SHA256 (wjakob-nanogui-2a61f03_GH0.tar.gz) = 449ec1c4510377a651de5357b18b7540f9cc4bbf2cac6b1b36d28ceff045a6b3 >+SIZE (wjakob-nanogui-2a61f03_GH0.tar.gz) = 2420569 >+SHA256 (libigl-eigen-c34a913_GH0.tar.gz) = 4727123dc498f0762748d9eaeb462a2f5b3da8f315e0a4bd4f0b39c53aa35d4e >+SIZE (libigl-eigen-c34a913_GH0.tar.gz) = 1518424 >+SHA256 (wjakob-glfw-0ff30d6_GH0.tar.gz) = 31bd08bd1d8061a3f62ff970561994b6c90d2db7ab955134cef71ee0eda5d165 >+SIZE (wjakob-glfw-0ff30d6_GH0.tar.gz) = 471108 >+SHA256 (wjakob-nanovg-ac15b84_GH0.tar.gz) = b7971a9c4ae472c39190ed6b24d98622fec3ace0e744362fa8b540dba212a4ff >+SIZE (wjakob-nanovg-ac15b84_GH0.tar.gz) = 2014793 >+SHA256 (pybind-pybind11-c01a1c1_GH0.tar.gz) = 84cd4dc4c0b703a43d8d547c8ddadcf30d3c26e45e3a1565bd9d5ef5040fcf7d >+SIZE (pybind-pybind11-c01a1c1_GH0.tar.gz) = 360503 >+SHA256 (wjakob-pcg32-0ef13e6_GH0.tar.gz) = 4043b476e24158b5fc157428f2c09eea342a8f03e77fa9d57609e220e8605b9e >+SIZE (wjakob-pcg32-0ef13e6_GH0.tar.gz) = 5320 >+SHA256 (wjakob-dset-7967ef0_GH0.tar.gz) = 5f9361a6760b327cacbe77e9260bc3b121c35ff740c61d235aff7079efaa4423 >+SIZE (wjakob-dset-7967ef0_GH0.tar.gz) = 2492 >+SHA256 (wjakob-tbb-550c18b_GH0.tar.gz) = 7a7294be306aed32895622cd6305dc1d96f7b28a909e3c75e275b85de01f53df >+SIZE (wjakob-tbb-550c18b_GH0.tar.gz) = 2836486 >+SHA256 (wjakob-pss-a91da33_GH0.tar.gz) = e2dc7fd87c44971ea53d0c7436daa70ae3caba77facff7b5554fdb5a3d67c1b5 >+SIZE (wjakob-pss-a91da33_GH0.tar.gz) = 3476 >diff --git c/graphics/instant-meshes/files/instant-meshes.desktop i/graphics/instant-meshes/files/instant-meshes.desktop >new file mode 100644 >index 000000000000..52e770553cba >--- /dev/null >+++ i/graphics/instant-meshes/files/instant-meshes.desktop >@@ -0,0 +1,11 @@ >+[Desktop Entry] >+Type=Application >+Version=1.0 >+Name=Instant Meshes >+GenericName=Instant Meshes >+Comment=Instant Meshes, an interactive field-aligned mesh generator >+Icon=instant-meshes >+Exec="Instant Meshes" >+Keywords=3d;cg;modeling;meshing; >+Categories=Graphics;3DGraphics; >+Terminal=false >diff --git c/graphics/instant-meshes/files/patch-CMakeLists.txt i/graphics/instant-meshes/files/patch-CMakeLists.txt >new file mode 100644 >index 000000000000..d35667961129 >--- /dev/null >+++ i/graphics/instant-meshes/files/patch-CMakeLists.txt >@@ -0,0 +1,21 @@ >+--- CMakeLists.txt.orig 2017-09-06 16:18:14 UTC >++++ CMakeLists.txt >+@@ -114,6 +114,11 @@ include_directories( >+ ${CMAKE_CURRENT_BINARY_DIR} >+ ) >+ >++if (${CMAKE_SYSTEM_NAME} MATCHES "BSD") >++ include_directories(/usr/local/include) >++ link_directories(/usr/local/lib) >++endif() >++ >+ # Run bin2c on resource files >+ set(PNG_FILES >+ ${CMAKE_CURRENT_SOURCE_DIR}/resources/comb.png >+@@ -198,3 +203,6 @@ endif() >+ if (UNIX AND NOT ${U_CMAKE_BUILD_TYPE} MATCHES DEBUG) >+ add_custom_command(TARGET InstantMeshes POST_BUILD COMMAND strip $<TARGET_FILE:InstantMeshes>) >+ endif() >++ >++install(TARGETS InstantMeshes >++ RUNTIME DESTINATION bin) >diff --git c/graphics/instant-meshes/files/patch-ext_nanogui_CMakeLists.txt i/graphics/instant-meshes/files/patch-ext_nanogui_CMakeLists.txt >new file mode 100644 >index 000000000000..867b99bb3c76 >--- /dev/null >+++ i/graphics/instant-meshes/files/patch-ext_nanogui_CMakeLists.txt >@@ -0,0 +1,16 @@ >+--- ext/nanogui/CMakeLists.txt.orig 2016-10-15 20:12:12 UTC >++++ ext/nanogui/CMakeLists.txt >+@@ -174,13 +174,6 @@ if (NANOGUI_BUILD_SHARED) >+ endif() >+ endif() >+ >+-# Always use libc++ on Clang >+-if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") >+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") >+- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi") >+- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -stdlib=libc++ -lc++abi") >+-endif() >+- >+ if (NANOGUI_USE_GLAD) >+ # Build and include GLAD on Windows >+ list(APPEND LIBNANOGUI_EXTRA_SOURCE >diff --git c/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp i/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp >new file mode 100644 >index 000000000000..d1b743bf5c1f >--- /dev/null >+++ i/graphics/instant-meshes/files/patch-ext_nanogui_src_common.cpp >@@ -0,0 +1,11 @@ >+--- ext/nanogui/src/common.cpp.orig 2017-10-01 00:15:16 UTC >++++ ext/nanogui/src/common.cpp >+@@ -248,7 +248,7 @@ std::string file_dialog(const std::vector<std::pair<st >+ return std::string(ofn.lpstrFile); >+ #else >+ char buffer[FILE_DIALOG_MAX_BUFFER]; >+- std::string cmd = "/usr/bin/zenity --file-selection "; >++ std::string cmd = "zenity --file-selection "; >+ if (save) >+ cmd += "--save "; >+ cmd += "--file-filter=\""; >diff --git c/graphics/instant-meshes/pkg-descr i/graphics/instant-meshes/pkg-descr >new file mode 100644 >index 000000000000..b5a02120aae9 >--- /dev/null >+++ i/graphics/instant-meshes/pkg-descr >@@ -0,0 +1,4 @@ >+Interactive 3D mesh retopology software developed as part of the publication >+"Instant Field-Aligned Meshes". >+ >+WWW: https://igl.ethz.ch/projects/instant-meshes/ >diff --git c/graphics/instant-meshes/pkg-plist i/graphics/instant-meshes/pkg-plist >new file mode 100644 >index 000000000000..46fc23e7a94e >--- /dev/null >+++ i/graphics/instant-meshes/pkg-plist >@@ -0,0 +1,3 @@ >+bin/Instant Meshes >+share/applications/instant-meshes.desktop >+share/pixmaps/instant-meshes.png
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222711
:
186825
|
186843
|
187472
|
187840