Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2017 19:48:14 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453482 - in head/x11-toolkits: . ntk
Message-ID:  <201711041948.vA4JmEkZ031229@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Nov  4 19:48:14 2017
New Revision: 453482
URL: https://svnweb.freebsd.org/changeset/ports/453482

Log:
  New port: x11-toolkits/ntk: Fork of FLTK 1.3.0 which adds graphics rendering via Cairo, etc
  
  PR:		221551
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12885

Added:
  head/x11-toolkits/ntk/
  head/x11-toolkits/ntk/Makefile   (contents, props changed)
  head/x11-toolkits/ntk/distinfo   (contents, props changed)
  head/x11-toolkits/ntk/pkg-descr   (contents, props changed)
  head/x11-toolkits/ntk/pkg-plist   (contents, props changed)
Modified:
  head/x11-toolkits/Makefile

Modified: head/x11-toolkits/Makefile
==============================================================================
--- head/x11-toolkits/Makefile	Sat Nov  4 19:42:19 2017	(r453481)
+++ head/x11-toolkits/Makefile	Sat Nov  4 19:48:14 2017	(r453482)
@@ -130,6 +130,7 @@
     SUBDIR += mygui-ogre
     SUBDIR += mygui-opengl
     SUBDIR += neXtaw
+    SUBDIR += ntk
     SUBDIR += nucleo
     SUBDIR += ocaml-lablgtk2
     SUBDIR += ocaml-labltk

Added: head/x11-toolkits/ntk/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/ntk/Makefile	Sat Nov  4 19:48:14 2017	(r453482)
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME=	ntk
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.3.1000
+CATEGORIES=	x11-toolkits
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Fork of FLTK 1.3.0 which adds graphics rendering via Cairo, etc
+
+LICENSE=	LGPL20
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libpng16.so:graphics/png
+
+USES=		jpeg localbase:ldflags pkgconfig waf
+USE_GITHUB=	yes
+GH_ACCOUNT=	original-male
+USE_GNOME=	cairo
+USE_XORG=	x11 xft
+USE_LDCONFIG=	yes
+
+PLIST_SUB=	SHLIB_VER=${DISTVERSION}
+
+post-patch:
+	@${REINPLACE_CMD} -e " \
+		s|conf\.env\['LIB_DL'\] = \['dl'\]|conf.env['LIB_DL'] = []|; \
+		s|bld.add_post_fun( run_ldconfig )|#bld.add_post_fun( run_ldconfig )|" \
+		${WRKSRC}/wscript
+
+post-install:
+	# Removing items that are there by mistake: https://github.com/original-male/ntk/issues/13
+	@${REINPLACE_CMD} -e ' \
+		/^Requires.*/d; \
+		s| -lglu||; \
+		s| -lgl||; \
+		s| -D_LARGEFILE64_SOURCE||; \
+		s| -D_FILE_OFFSET_BITS=64||' \
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/ntk*.pc
+	@${RM} ${STAGEDIR}${PREFIX}/lib/libntk*.a.*
+	@${STRIP_CMD} \
+		${STAGEDIR}${PREFIX}/bin/ntk-chtheme \
+		${STAGEDIR}${PREFIX}/bin/ntk-fluid \
+		${STAGEDIR}${PREFIX}/lib/libntk.so.${PORTVERSION} \
+		${STAGEDIR}${PREFIX}/lib/libntk_images.so.${PORTVERSION}
+
+.include <bsd.port.mk>

Added: head/x11-toolkits/ntk/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/ntk/distinfo	Sat Nov  4 19:48:14 2017	(r453482)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509466466
+SHA256 (original-male-ntk-v1.3.1000_GH0.tar.gz) = 0e515c94281a46e7b86601182d2463e81a77ba339b52341c56898dc7fb649e1f
+SIZE (original-male-ntk-v1.3.1000_GH0.tar.gz) = 2737614

Added: head/x11-toolkits/ntk/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/ntk/pkg-descr	Sat Nov  4 19:48:14 2017	(r453482)
@@ -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

Added: head/x11-toolkits/ntk/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/ntk/pkg-plist	Sat Nov  4 19:48:14 2017	(r453482)
@@ -0,0 +1,158 @@
+bin/ntk-chtheme
+bin/ntk-fluid
+include/ntk/FL/Cairo_Theme.H
+include/ntk/FL/Clean_Theme.H
+include/ntk/FL/Crystal_Theme.H
+include/ntk/FL/Enumerations.H
+include/ntk/FL/Fl.H
+include/ntk/FL/Fl_Adjuster.H
+include/ntk/FL/Fl_BMP_Image.H
+include/ntk/FL/Fl_Bitmap.H
+include/ntk/FL/Fl_Box.H
+include/ntk/FL/Fl_Browser.H
+include/ntk/FL/Fl_Browser_.H
+include/ntk/FL/Fl_Button.H
+include/ntk/FL/Fl_Cairo.H
+include/ntk/FL/Fl_Chart.H
+include/ntk/FL/Fl_Check_Browser.H
+include/ntk/FL/Fl_Check_Button.H
+include/ntk/FL/Fl_Choice.H
+include/ntk/FL/Fl_Color_Chooser.H
+include/ntk/FL/Fl_Counter.H
+include/ntk/FL/Fl_Device.H
+include/ntk/FL/Fl_Dial.H
+include/ntk/FL/Fl_Dial_Base.H
+include/ntk/FL/Fl_Double_Window.H
+include/ntk/FL/Fl_Export.H
+include/ntk/FL/Fl_File_Browser.H
+include/ntk/FL/Fl_File_Chooser.H
+include/ntk/FL/Fl_File_Icon.H
+include/ntk/FL/Fl_File_Input.H
+include/ntk/FL/Fl_Fill_Dial.H
+include/ntk/FL/Fl_Fill_Slider.H
+include/ntk/FL/Fl_Float_Input.H
+include/ntk/FL/Fl_GIF_Image.H
+include/ntk/FL/Fl_Gl_Window.H
+include/ntk/FL/Fl_Group.H
+include/ntk/FL/Fl_Help_Dialog.H
+include/ntk/FL/Fl_Help_View.H
+include/ntk/FL/Fl_Hold_Browser.H
+include/ntk/FL/Fl_Hor_Fill_Slider.H
+include/ntk/FL/Fl_Hor_Nice_Slider.H
+include/ntk/FL/Fl_Hor_Slider.H
+include/ntk/FL/Fl_Hor_Value_Slider.H
+include/ntk/FL/Fl_Image.H
+include/ntk/FL/Fl_Input.H
+include/ntk/FL/Fl_Input_.H
+include/ntk/FL/Fl_Input_Choice.H
+include/ntk/FL/Fl_Int_Input.H
+include/ntk/FL/Fl_JPEG_Image.H
+include/ntk/FL/Fl_Light_Button.H
+include/ntk/FL/Fl_Line_Dial.H
+include/ntk/FL/Fl_Menu.H
+include/ntk/FL/Fl_Menu_.H
+include/ntk/FL/Fl_Menu_Bar.H
+include/ntk/FL/Fl_Menu_Button.H
+include/ntk/FL/Fl_Menu_Item.H
+include/ntk/FL/Fl_Menu_Window.H
+include/ntk/FL/Fl_Multi_Browser.H
+include/ntk/FL/Fl_Multi_Label.H
+include/ntk/FL/Fl_Multiline_Input.H
+include/ntk/FL/Fl_Multiline_Output.H
+include/ntk/FL/Fl_Native_File_Chooser.H
+include/ntk/FL/Fl_Nice_Slider.H
+include/ntk/FL/Fl_Object.H
+include/ntk/FL/Fl_Output.H
+include/ntk/FL/Fl_Overlay_Window.H
+include/ntk/FL/Fl_PNG_Image.H
+include/ntk/FL/Fl_PNM_Image.H
+include/ntk/FL/Fl_Pack.H
+include/ntk/FL/Fl_Paged_Device.H
+include/ntk/FL/Fl_Panzoomer.H
+include/ntk/FL/Fl_Pixmap.H
+include/ntk/FL/Fl_Plugin.H
+include/ntk/FL/Fl_Positioner.H
+include/ntk/FL/Fl_PostScript.H
+include/ntk/FL/Fl_Preferences.H
+include/ntk/FL/Fl_Printer.H
+include/ntk/FL/Fl_Progress.H
+include/ntk/FL/Fl_RGB_Image.H
+include/ntk/FL/Fl_Radio_Button.H
+include/ntk/FL/Fl_Radio_Light_Button.H
+include/ntk/FL/Fl_Radio_Round_Button.H
+include/ntk/FL/Fl_Repeat_Button.H
+include/ntk/FL/Fl_Return_Button.H
+include/ntk/FL/Fl_Roller.H
+include/ntk/FL/Fl_Round_Button.H
+include/ntk/FL/Fl_Scroll.H
+include/ntk/FL/Fl_Scrollbar.H
+include/ntk/FL/Fl_Secret_Input.H
+include/ntk/FL/Fl_Select_Browser.H
+include/ntk/FL/Fl_Shared_Image.H
+include/ntk/FL/Fl_Simple_Counter.H
+include/ntk/FL/Fl_Single_Window.H
+include/ntk/FL/Fl_Slider.H
+include/ntk/FL/Fl_Socket_Window.H
+include/ntk/FL/Fl_Spinner.H
+include/ntk/FL/Fl_Sys_Menu_Bar.H
+include/ntk/FL/Fl_Table.H
+include/ntk/FL/Fl_Table_Row.H
+include/ntk/FL/Fl_Tabs.H
+include/ntk/FL/Fl_Text_Buffer.H
+include/ntk/FL/Fl_Text_Display.H
+include/ntk/FL/Fl_Text_Editor.H
+include/ntk/FL/Fl_Theme.H
+include/ntk/FL/Fl_Theme_Chooser.H
+include/ntk/FL/Fl_Tile.H
+include/ntk/FL/Fl_Tiled_Image.H
+include/ntk/FL/Fl_Toggle_Button.H
+include/ntk/FL/Fl_Toggle_Light_Button.H
+include/ntk/FL/Fl_Toggle_Round_Button.H
+include/ntk/FL/Fl_Tooltip.H
+include/ntk/FL/Fl_Tree.H
+include/ntk/FL/Fl_Tree_Item.H
+include/ntk/FL/Fl_Tree_Item_Array.H
+include/ntk/FL/Fl_Tree_Prefs.H
+include/ntk/FL/Fl_Valuator.H
+include/ntk/FL/Fl_Value_Input.H
+include/ntk/FL/Fl_Value_Output.H
+include/ntk/FL/Fl_Value_Slider.H
+include/ntk/FL/Fl_Widget.H
+include/ntk/FL/Fl_Window.H
+include/ntk/FL/Fl_Wizard.H
+include/ntk/FL/Fl_XBM_Image.H
+include/ntk/FL/Fl_XPM_Image.H
+include/ntk/FL/Gleam_Theme.H
+include/ntk/FL/Vector_Theme.H
+include/ntk/FL/Xutf8.h
+include/ntk/FL/dirent.h
+include/ntk/FL/filename.H
+include/ntk/FL/fl_ask.H
+include/ntk/FL/fl_draw.H
+include/ntk/FL/fl_message.H
+include/ntk/FL/fl_show_colormap.H
+include/ntk/FL/fl_show_input.H
+include/ntk/FL/fl_types.h
+include/ntk/FL/fl_utf8.h
+include/ntk/FL/gl.h
+include/ntk/FL/gl2opengl.h
+include/ntk/FL/gl_draw.H
+include/ntk/FL/glu.h
+include/ntk/FL/glut.H
+include/ntk/FL/mac.H
+include/ntk/FL/math.h
+include/ntk/FL/names.h
+include/ntk/FL/themes.H
+include/ntk/FL/win32.H
+include/ntk/FL/x.H
+lib/libntk.a
+lib/libntk.so
+lib/libntk.so.1
+lib/libntk.so.%%SHLIB_VER%%
+lib/libntk_images.a
+lib/libntk_images.so
+lib/libntk_images.so.1
+lib/libntk_images.so.%%SHLIB_VER%%
+libdata/pkgconfig/ntk.pc
+libdata/pkgconfig/ntk_gl.pc
+libdata/pkgconfig/ntk_images.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711041948.vA4JmEkZ031229>