Index: head/x11-toolkits/Makefile =================================================================== --- head/x11-toolkits/Makefile (revision 460061) +++ head/x11-toolkits/Makefile (revision 460062) @@ -1,297 +1,298 @@ # $FreeBSD$ # COMMENT = X11 toolkits SUBDIR += SoXt SUBDIR += Xaw3d SUBDIR += Xmt SUBDIR += attica SUBDIR += bakery SUBDIR += blt SUBDIR += bwidget SUBDIR += c++-gtk-utils SUBDIR += diorite SUBDIR += flowcanvas SUBDIR += fltk SUBDIR += fltk-devel SUBDIR += fox14 SUBDIR += fox16 SUBDIR += fox17 SUBDIR += fpc-gtk2 SUBDIR += fpc-xforms SUBDIR += fxscintilla SUBDIR += gai SUBDIR += gdl SUBDIR += girara SUBDIR += gnocl SUBDIR += gnome-pty-helper SUBDIR += gnome-sharp20 SUBDIR += gnomemm SUBDIR += gnustep-back SUBDIR += gnustep-gui SUBDIR += granite SUBDIR += gstreamer-plugins-pango SUBDIR += gstreamer1-plugins-gtk SUBDIR += gstreamer1-plugins-pango SUBDIR += gtk-sharp-beans SUBDIR += gtk-sharp20 SUBDIR += gtk-sharp30 SUBDIR += gtk12 SUBDIR += gtk20 SUBDIR += gtk20-reference SUBDIR += gtk30 SUBDIR += gtk30-reference SUBDIR += gtkada SUBDIR += gtkada3 SUBDIR += gtkdatabox SUBDIR += gtkextra2 SUBDIR += gtkglarea2 SUBDIR += gtkglext SUBDIR += gtkglextmm SUBDIR += gtkimageview SUBDIR += gtkmathview SUBDIR += gtkmm20 SUBDIR += gtkmm20-reference SUBDIR += gtkmm24 SUBDIR += gtkmm24-reference SUBDIR += gtkmm30 SUBDIR += gtkmm30-reference SUBDIR += gtksourceview SUBDIR += gtksourceview-reference SUBDIR += gtksourceview2 SUBDIR += gtksourceview2-reference SUBDIR += gtksourceview3 SUBDIR += gtksourceview3-reference SUBDIR += gtksourceviewmm3 SUBDIR += hippo-canvas SUBDIR += hs-GLURaw SUBDIR += hs-GLUT SUBDIR += hs-OpenGL SUBDIR += hs-OpenGLRaw SUBDIR += hs-gtk SUBDIR += hs-gtk2hs SUBDIR += hs-gtksourceview2 SUBDIR += hs-pango SUBDIR += hs-vte SUBDIR += hs-wx SUBDIR += hs-wxc SUBDIR += hs-wxcore SUBDIR += hs-wxdirect SUBDIR += irrlicht SUBDIR += itk SUBDIR += iwidgets SUBDIR += kf5-attica SUBDIR += kf5-kcompletion SUBDIR += kf5-kconfigwidgets SUBDIR += kf5-kdesignerplugin SUBDIR += kf5-kguiaddons SUBDIR += kf5-kirigami2 SUBDIR += kf5-kitemviews SUBDIR += kf5-kjobwidgets SUBDIR += kf5-ktextwidgets SUBDIR += kf5-kwidgetsaddons SUBDIR += kf5-kxmlgui SUBDIR += kproperty SUBDIR += lesstif SUBDIR += libXaw SUBDIR += libXmu SUBDIR += libXt SUBDIR += libbonoboui SUBDIR += libbonoboui-reference SUBDIR += libgdiplus SUBDIR += libgnomeprintui SUBDIR += libgnomeprintuimm SUBDIR += libgnomeui SUBDIR += libgnomeui-reference SUBDIR += libgnomeuimm26 SUBDIR += libsexy SUBDIR += libsexymm SUBDIR += libunique3 SUBDIR += libwnck SUBDIR += libwnck-reference SUBDIR += libwnck3 SUBDIR += libxaw3dxft SUBDIR += libxfce4gui SUBDIR += linux-c6-gtk2 SUBDIR += linux-c6-openmotif SUBDIR += linux-c6-pango SUBDIR += linux-c6-qt47-x11 SUBDIR += linux-c6-tk85 SUBDIR += linux-c7-gtk2 SUBDIR += linux-c7-openmotif SUBDIR += linux-c7-pango SUBDIR += linux-c7-qt-x11 SUBDIR += linux-c7-tk85 SUBDIR += movingmotif SUBDIR += mowitz SUBDIR += mygui SUBDIR += mygui-dummy SUBDIR += mygui-ogre SUBDIR += mygui-opengl + SUBDIR += nanogui SUBDIR += neXtaw SUBDIR += ntk SUBDIR += nucleo SUBDIR += ocaml-lablgtk2 SUBDIR += ocaml-labltk SUBDIR += open-motif SUBDIR += osm-gps-map SUBDIR += otk SUBDIR += p5-Alien-wxWidgets SUBDIR += p5-Glade2 SUBDIR += p5-Gnome2 SUBDIR += p5-Gnome2-Canvas SUBDIR += p5-Gnome2-VFS SUBDIR += p5-Gnome2-Wnck SUBDIR += p5-Gtk-Perl SUBDIR += p5-Gtk2 SUBDIR += p5-Gtk2-Chmod SUBDIR += p5-Gtk2-Ex-Dialogs SUBDIR += p5-Gtk2-Ex-FormFactory SUBDIR += p5-Gtk2-Ex-PodViewer SUBDIR += p5-Gtk2-Ex-Simple-List SUBDIR += p5-Gtk2-Ex-Utils SUBDIR += p5-Gtk2-GladeXML SUBDIR += p5-Gtk2-Html2 SUBDIR += p5-Gtk2-ImageView SUBDIR += p5-Gtk2-PathButtonBar SUBDIR += p5-Gtk2-TrayIcon SUBDIR += p5-Gtk2-Unique SUBDIR += p5-Gtk3 SUBDIR += p5-Pango SUBDIR += p5-Prima SUBDIR += p5-Tk SUBDIR += p5-Tk-Action SUBDIR += p5-Tk-Autoscroll SUBDIR += p5-Tk-ColourChooser SUBDIR += p5-Tk-Contrib SUBDIR += p5-Tk-CursorControl SUBDIR += p5-Tk-DKW SUBDIR += p5-Tk-Date SUBDIR += p5-Tk-DynaTabFrame SUBDIR += p5-Tk-Enscript SUBDIR += p5-Tk-FileDialog SUBDIR += p5-Tk-FontDialog SUBDIR += p5-Tk-GBARR SUBDIR += p5-Tk-Getopt SUBDIR += p5-Tk-HistEntry SUBDIR += p5-Tk-JComboBox SUBDIR += p5-Tk-ResizeButton SUBDIR += p5-Tk-Role-Dialog SUBDIR += p5-Tk-Role-HasWidgets SUBDIR += p5-Tk-Splashscreen SUBDIR += p5-Tk-Sugar SUBDIR += p5-Tk-TableMatrix SUBDIR += p5-Tk-ToolBar SUBDIR += p5-Tk-WaitBox SUBDIR += p5-Wx SUBDIR += p5-Wx-Perl-ProcessStream SUBDIR += pango SUBDIR += pango-reference SUBDIR += pangomm SUBDIR += pangox-compat SUBDIR += pangoxsl SUBDIR += phat SUBDIR += plib SUBDIR += pure-gtk SUBDIR += pure-tk SUBDIR += py-Pmw SUBDIR += py-SquareMap SUBDIR += py-fltk SUBDIR += py-gnome2 SUBDIR += py-gtk2 SUBDIR += py-gtkglext SUBDIR += py-gtksourceview SUBDIR += py-gui SUBDIR += py-kivy SUBDIR += py-kiwi-gtk SUBDIR += py-qt4-gui SUBDIR += py-qt5-gui SUBDIR += py-qt5-quick SUBDIR += py-qt5-widgets SUBDIR += py-sexy SUBDIR += py-tkinter SUBDIR += py-tktreectrl SUBDIR += py-vte SUBDIR += py-wax SUBDIR += py-wxPython-common SUBDIR += py-wxPython28 SUBDIR += py-wxPython28-common SUBDIR += py-wxPython30 SUBDIR += py-xlib SUBDIR += pypy-tkinter SUBDIR += qt4-declarative SUBDIR += qt4-gui SUBDIR += qt4pas SUBDIR += qt5-canvas3d SUBDIR += qt5-charts SUBDIR += qt5-datavis3d SUBDIR += qt5-gamepad SUBDIR += qt5-gtkplatform SUBDIR += qt5-gui SUBDIR += qt5-quick SUBDIR += qt5-quickcontrols SUBDIR += qt5-quickcontrols2 SUBDIR += qt5-uiplugin SUBDIR += qt5-virtualkeyboard SUBDIR += qt5-widgets SUBDIR += qt5pas SUBDIR += qtermwidget SUBDIR += qtermwidget-l10n SUBDIR += qwt5 SUBDIR += qwt5-designerplugin SUBDIR += qwt6 SUBDIR += qwt6-designerplugin SUBDIR += rep-gtk2 SUBDIR += rubygem-gdk3 SUBDIR += rubygem-gtk2 SUBDIR += rubygem-gtk3 SUBDIR += rubygem-gtksourceview2 SUBDIR += rubygem-gtksourceview3 SUBDIR += rubygem-pango SUBDIR += rubygem-poppler SUBDIR += rubygem-uh SUBDIR += rubygem-vte SUBDIR += rubygem-vte3 SUBDIR += scintilla SUBDIR += sdl_pango SUBDIR += shared-desktop-ontologies SUBDIR += skinlf SUBDIR += slingshot SUBDIR += soqt SUBDIR += swt SUBDIR += swt-devel SUBDIR += termit SUBDIR += tile SUBDIR += tix SUBDIR += tk-wrapper SUBDIR += tk85 SUBDIR += tk86 SUBDIR += tk87 SUBDIR += tkdnd SUBDIR += tkshape SUBDIR += tktable SUBDIR += tktray SUBDIR += tktreectrl SUBDIR += unique SUBDIR += v SUBDIR += vdk SUBDIR += viewklass SUBDIR += vte SUBDIR += vte-reference SUBDIR += vte3 SUBDIR += vtkfox SUBDIR += wlc SUBDIR += wmapp SUBDIR += wxgtk28 SUBDIR += wxgtk28-common SUBDIR += wxgtk28-contrib SUBDIR += wxgtk28-contrib-common SUBDIR += wxgtk30 SUBDIR += xbae SUBDIR += xforms SUBDIR += xmhtml SUBDIR += xview SUBDIR += xview-clients .include Index: head/x11-toolkits/nanogui/Makefile =================================================================== --- head/x11-toolkits/nanogui/Makefile (nonexistent) +++ head/x11-toolkits/nanogui/Makefile (revision 460062) @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= nanogui +DISTVERSIONPREFIX= v +DISTVERSION= g20171202 +CATEGORIES= x11-toolkits + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Minimalistic GUI library for OpenGL + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libglfw.so:graphics/glfw + +USES= cmake:outsource compiler:c++14-lang eigen:3,build,run +USE_GITHUB= yes +GH_ACCOUNT= wjakob +GH_TAGNAME= 3e0b2c8 +GH_TUPLE= wjakob:nanovg:ab38df8:nanovg/ext/nanovg +USE_GL= gl +USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm +USE_LDCONFIG= yes +CMAKE_OFF= NANOGUI_BUILD_EXAMPLE GLFW_BUILD_EXAMPLES + +OPTIONS_DEFINE= PYTHON +OPTIONS_DEFAULT= PYTHON +OPTIONS_SUB= yes + +PYTHON_CMAKE_BOOL= NANOGUI_BUILD_PYTHON +PYTHON_USES= python +PYTHON_BUILD_DEPENDS= ${LOCALBASE}/include/pybind11/pybind11.h:devel/pybind11 +PYTHON_RUN_DEPENDS= pybind11>0:devel/pybind11 + +post-install: + ${INSTALL_DATA} ${WRKSRC}/ext/nanovg/src/*.h ${STAGEDIR}${PREFIX}/include/nanogui/ # bundled dependency headers aren't installed + +post-install-PYTHON-on: + @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} + ${MV} ${STAGEDIR}${PREFIX}/lib/nanogui.so ${STAGEDIR}${PYTHON_SITELIBDIR} + +.include Property changes on: head/x11-toolkits/nanogui/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-toolkits/nanogui/distinfo =================================================================== --- head/x11-toolkits/nanogui/distinfo (nonexistent) +++ head/x11-toolkits/nanogui/distinfo (revision 460062) @@ -0,0 +1,5 @@ +TIMESTAMP = 1514452444 +SHA256 (wjakob-nanogui-vg20171202-3e0b2c8_GH0.tar.gz) = 04a7e1628ae7507fd0a3482f096205bccd0c667caef104eafb7c3b57f0a57f18 +SIZE (wjakob-nanogui-vg20171202-3e0b2c8_GH0.tar.gz) = 2742665 +SHA256 (wjakob-nanovg-ab38df8_GH0.tar.gz) = 4919c34f84eefaea556130906e1a1e0733562c96de1b46715ed31b5d15fc5eca +SIZE (wjakob-nanovg-ab38df8_GH0.tar.gz) = 2014812 Property changes on: head/x11-toolkits/nanogui/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-toolkits/nanogui/files/patch-CMakeLists.txt =================================================================== --- head/x11-toolkits/nanogui/files/patch-CMakeLists.txt (nonexistent) +++ head/x11-toolkits/nanogui/files/patch-CMakeLists.txt (revision 460062) @@ -0,0 +1,96 @@ +--- CMakeLists.txt.orig 2017-12-02 22:40:58 UTC ++++ CMakeLists.txt +@@ -6,11 +6,11 @@ if (POLICY CMP0058) + cmake_policy(SET CMP0058 NEW) + endif() + +-if (NOT IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ext/glfw/src") +- message(FATAL_ERROR "The NanoGUI dependency repositories (GLFW, etc.) are missing! " +- "You probably did not clone the project with --recursive. It is possible to recover " +- "by calling \"git submodule update --init --recursive\"") +-endif() ++#if (NOT IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ext/glfw/src") ++# message(FATAL_ERROR "The NanoGUI dependency repositories (GLFW, etc.) are missing! " ++# "You probably did not clone the project with --recursive. It is possible to recover " ++# "by calling \"git submodule update --init --recursive\"") ++#endif() + + if (WIN32) + set(NANOGUI_USE_GLAD_DEFAULT ON) +@@ -18,6 +18,8 @@ else() + set(NANOGUI_USE_GLAD_DEFAULT OFF) + endif() + ++include_directories(${CMAKE_INSTALL_PREFIX}/include/eigen3) ++ + option(NANOGUI_BUILD_EXAMPLE "Build NanoGUI example application?" ON) + option(NANOGUI_BUILD_SHARED "Build NanoGUI as a shared library?" ON) + option(NANOGUI_BUILD_PYTHON "Build a Python plugin for NanoGUI?" ON) +@@ -73,7 +75,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations") + endif() + +-add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/ext/glfw" "ext_build/glfw") ++#add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/ext/glfw" "ext_build/glfw") + + # Python support: add NANOGUI_PYTHON flag to all targets + if (NANOGUI_BUILD_PYTHON) +@@ -243,6 +245,9 @@ elseif(CMAKE_SYSTEM MATCHES "Linux" OR C + if(CMAKE_SYSTEM MATCHES "Linux") + list(APPEND NANOGUI_EXTRA_LIBS dl) + endif() ++ if(CMAKE_SYSTEM MATCHES "FreeBSD") ++ list(APPEND NANOGUI_EXTRA_LIBS glfw) ++ endif() + endif() + + include_directories(${NANOGUI_EIGEN_INCLUDE_DIR} ext/glfw/include ext/nanovg/src include ${CMAKE_CURRENT_BINARY_DIR}) +@@ -282,7 +287,7 @@ else() + set(NANOGUI_LIBRARY_TYPE "STATIC") + endif() + +-if (APPLE OR CMAKE_SYSTEM MATCHES "Linux") ++if (APPLE OR CMAKE_SYSTEM MATCHES "Linux|FreeBSD") + # Include coroutine support for running the mainloop in detached mode + add_definitions(-DCORO_SJLJ) + include_directories(ext/coro) +@@ -343,7 +348,7 @@ add_library(nanogui-obj OBJECT + + add_library(nanogui ${NANOGUI_LIBRARY_TYPE} + $ +- $ ++ #$ + ) + + if (NANOGUI_BUILD_SHARED) +@@ -415,7 +420,7 @@ if (NANOGUI_BUILD_PYTHON) + # Detect Python + + # Try to autodetect Python (can be overridden manually if needed) +- list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/ext/pybind11/tools") ++ list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/share/cmake/pybind11/") + set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 3.4) + find_package(PythonLibsNew ${NANOGUI_PYTHON_VERSION}) + if (NOT PYTHONLIBS_FOUND) +@@ -430,7 +435,7 @@ endif() + if (NANOGUI_BUILD_PYTHON) + # Need PIC code in libnanogui even when compiled as a static library + set_target_properties(nanogui-obj PROPERTIES POSITION_INDEPENDENT_CODE ON) +- set_target_properties(glfw_objects PROPERTIES POSITION_INDEPENDENT_CODE ON) ++ #set_target_properties(glfw_objects PROPERTIES POSITION_INDEPENDENT_CODE ON) + + include_directories("ext/pybind11/include" ${PYTHON_INCLUDE_DIR}) + add_library(nanogui-python-obj OBJECT +@@ -489,9 +494,9 @@ if (NANOGUI_BUILD_PYTHON) + endif() + elseif(UNIX) + # Optimize for size +- if (U_CMAKE_BUILD_TYPE MATCHES REL) +- set_property(TARGET nanogui-python-obj APPEND PROPERTY COMPILE_OPTIONS "-Os") +- endif() ++ #if (U_CMAKE_BUILD_TYPE MATCHES REL) ++ # set_property(TARGET nanogui-python-obj APPEND PROPERTY COMPILE_OPTIONS "-Os") ++ #endif() + + # Strip unnecessary sections of the binary on Linux/Mac OS + if(APPLE) Property changes on: head/x11-toolkits/nanogui/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-toolkits/nanogui/pkg-descr =================================================================== --- head/x11-toolkits/nanogui/pkg-descr (nonexistent) +++ head/x11-toolkits/nanogui/pkg-descr (revision 460062) @@ -0,0 +1,5 @@ +NTK is a fork of FLTK 1.3.0 which adds graphics rendering via +Cairo, support for transparent/overlapping widgets, streamlining +of internals, and some new/improved widgets. + +WWW: https://github.com/original-male/ntk Property changes on: head/x11-toolkits/nanogui/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-toolkits/nanogui/pkg-plist =================================================================== --- head/x11-toolkits/nanogui/pkg-plist (nonexistent) +++ head/x11-toolkits/nanogui/pkg-plist (revision 460062) @@ -0,0 +1,46 @@ +include/nanogui/button.h +include/nanogui/checkbox.h +include/nanogui/colorpicker.h +include/nanogui/colorwheel.h +include/nanogui/combobox.h +include/nanogui/common.h +include/nanogui/compat.h +include/nanogui/entypo.h +include/nanogui/fontstash.h +include/nanogui/formhelper.h +include/nanogui/glcanvas.h +include/nanogui/glutil.h +include/nanogui/graph.h +include/nanogui/imagepanel.h +include/nanogui/imageview.h +include/nanogui/label.h +include/nanogui/layout.h +include/nanogui/messagedialog.h +include/nanogui/nanogui.h +include/nanogui/nanovg.h +include/nanogui/nanovg_gl.h +include/nanogui/nanovg_gl_utils.h +include/nanogui/object.h +include/nanogui/opengl.h +include/nanogui/popup.h +include/nanogui/popupbutton.h +include/nanogui/progressbar.h +include/nanogui/python.h +include/nanogui/screen.h +include/nanogui/serializer/core.h +include/nanogui/serializer/opengl.h +include/nanogui/serializer/sparse.h +include/nanogui/slider.h +include/nanogui/stackedwidget.h +include/nanogui/stb_image.h +include/nanogui/stb_truetype.h +include/nanogui/tabheader.h +include/nanogui/tabwidget.h +include/nanogui/textbox.h +include/nanogui/theme.h +include/nanogui/toolbutton.h +include/nanogui/vscrollpanel.h +include/nanogui/widget.h +include/nanogui/window.h +lib/libnanogui.so +%%PYTHON%%%%PYTHON_SITELIBDIR%%/nanogui.so Property changes on: head/x11-toolkits/nanogui/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property