Page MenuHomeFreeBSD

New port: x11-toolkits/nanogui: Minimalistic GUI library for OpenGL
ClosedPublic

Authored by yuri on Dec 28 2017, 6:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 25 2024, 1:35 PM
Unknown Object (File)
Dec 24 2023, 2:09 AM
Unknown Object (File)
Nov 30 2023, 1:58 AM
Unknown Object (File)
Nov 26 2023, 5:16 PM
Unknown Object (File)
Nov 23 2023, 7:19 PM
Unknown Object (File)
Nov 22 2023, 5:05 AM
Unknown Object (File)
Nov 18 2023, 8:03 AM
Unknown Object (File)
Nov 16 2023, 8:00 AM
Subscribers

Details

Summary

Minimalistic GUI library for OpenGL

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13901
Build 14105: arc lint + arc unit

Event Timeline

x11-toolkits/nanogui/Makefile
40

Missing EXAMPLES option.

Added the missing OPTIONS_DEFINE=EXAMPLES.

Sorry, EXAMPLES were removed.

yuri marked an inline comment as done.Dec 29 2017, 5:36 PM
x11-toolkits/nanogui/Makefile
6

^ DISTVERSION

46

^ why not patch the CMakeLists.txt to install this to the proper location driectly -- always seems less dirty to me :D

x11-toolkits/nanogui/Makefile
46

more importantly.. shouldn't it be nanogui-python.so.

yuri added inline comments.
x11-toolkits/nanogui/Makefile
46

why not patch the CMakeLists.txt

Because the upstream project isn't yet stable, and such patch is likely going to break.

shouldn't it be nanogui-python.so

It does load into python as it is now. Python binding is currently broken, I reported this upstream, but didn't hear back yet. Also, python binding isn't really important for this project, considering its lack of stability and lack of apps using it. It's an experimental part so far,

x11-toolkits/nanogui/Makefile
46

if you know it's broken, why install it by default?

x11-toolkits/nanogui/Makefile
46

Well, this is exactly why a patch is better than using sed in a post-patch target, or moving things around during post-install.

Because when the file changes enough that the patch does not apply any more, it means you need to check that what you did at the beginning to see if it still applies, or not, or something else need to be done.

When you blindly use sed, you never get noticed that it is obsolete, which is very bad, because it can go on for years, and one day you wonder wtf is these 10 lines of sed doing there that do not do anything at all.

yuri added inline comments.
x11-toolkits/nanogui/Makefile
46

When you blindly use sed

There is no sed in this case. There is ${MV} in this case. :-)
This ${MV} will break if that file disappeared, or something like that.

yuri added inline comments.
x11-toolkits/nanogui/Makefile
46

I left it "on" because upstream has it "on" by default, also in expectation of it being fixed.

yuri added inline comments.
x11-toolkits/nanogui/Makefile
46

Also, it doesn't break anything else, just breaks itself when run. :)

yuri marked 2 inline comments as done.Dec 30 2017, 6:32 AM
x11-toolkits/nanogui/Makefile
19

^ are you sure about this one?

yuri marked an inline comment as done.Dec 31 2017, 4:39 PM
yuri added inline comments.
x11-toolkits/nanogui/Makefile
19

This is a library using the Eigen headers-only library.
It has a dependency on Eigen in a form of #include statements.
So RUN_DEPENDS here is justified.

yuri marked an inline comment as done.

Updating for USES=eigen.

yuri marked an inline comment as done.Jan 8 2018, 10:28 PM
x11-toolkits/nanogui/Makefile
27

^ This can now be shorter as
CMAKE_OFF=NANOGUI_BUILD_EXAMPLE GLFW_BUILD_EXAMPLES

This revision now requires changes to proceed.Jan 15 2018, 4:07 PM
yuri marked an inline comment as done.

CMAKE_OFF

This revision is now accepted and ready to land.Jan 19 2018, 7:08 PM
head/x11-toolkits/nanogui/Makefile
4 ↗(On Diff #38505)

What is this for exactly?

yuri marked an inline comment as done.Jan 27 2018, 7:02 PM
yuri added inline comments.
head/x11-toolkits/nanogui/Makefile
4 ↗(On Diff #38505)

This is a small mistake that I will correct with the next update.