summaryrefslogtreecommitdiff
path: root/x11/fltk13/Makefile
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2015-07-21 21:36:41 +0000
committermarkd <markd@pkgsrc.org>2015-07-21 21:36:41 +0000
commit96377b08d2a1dbec9ec607ada06ab8d0db2901b1 (patch)
treed424f6ea8ad99e250b55691ff0c016aaa8392cb1 /x11/fltk13/Makefile
parent94080308cbf0a22cf6ea0ace5ca6ae5157fc52d4 (diff)
downloadpkgsrc-96377b08d2a1dbec9ec607ada06ab8d0db2901b1.tar.gz
Update fltk13 to 1.3.3
New features and extensions - New class Fl_Copy_Surface allows copying graphical data to the clipboard in a cross-platform way - Support for pasting graphical data from the clipboard to a widget. - New class Fl_Image_Surface allows drawing into an Fl_Image object. - Methods Fl::add_clipboard_notify() and Fl::remove_clipboard_notify() to get notifications whenever the clipboard changes - New method Fl_Window::wait_for_expose() - New bilinear scaling method for RGB images - New method Fl_Widget::top_window() - New method Fl_Widget::top_window_offset() - New Fl_Tree_Item methods label_x(), label_y(), label_w(), label_h(). - New methods Fl::enable_im() and Fl::disable_im() to enable/disable system Input Methods (IM). - New methods Fl::add_system_handler() and Fl::remove_system_handler() to intercept low level system events. - New FLTK scheme "gleam" - New method Fl::is_scheme() to compare the current scheme name. - New method to set custom icons for windows see Fl_Window::icon() for more info. - New method to set any custom cursor, based on a Fl_RGB_Image object. Also changed fallback cursors to use this method, so that fallback cursors are handled in a platform independent manner - New ability to convert Fl_Pixmap to Fl_RGB_Image - Support for full screen windows over multiple monitors. - New optional line numbers in Fl_Text_Display and options to control line numbers and word wrapping (on/off) in example test/editor.cxx. - On Linux/Unix, class Fl_Native_File_Chooser uses file dialogs from the Gnome environment (provided by the libgtk dynamic library) if available, and falls back to Fl_File_Chooser if not Use option Fl::OPTION_FNFC_USES_GTK to enable/disable this feature. - New support for the Mac OS text input system that deals with character composition and input of languages with large character sets (e.g. Chinese and Japanese). This implementation has been reported to work well for Chinese. Superficial testing suggests it's also operational for Japanese. In-depth testing remains needed though. Other improvements - Many CMake improvements - Some autoconf, configure improvements. - Removed 1024 bytes constraint in labels and browser lines - Mac OS version of Fl_Native_File_Chooser: when using filters in a save file dialog, the output file extension gets changed when the user modifies the output file type. - Many Mac OS X improvements related to Fl_Sys_Menu_Bar. - Improved Mac OS X keyboard handling of special keys or combinations. - General Mac OS X improvements, incl. high resolution (Retina) displays, and support up to Mac OS X 10.10. - Documentation improvements and clarifications. - Printing support improvements, including GL windows. - Many improvements related to Fl_Tree (some of them only as ABI breaking features, see below). - Some static data has been made 'const' to improve memory usage with shared libraries. - Don't grab navkeys with modifiers (CTRL, ALT), as the application may want them - Check compiler support of -fvisibility, -fvisibility-inlines-hidden, and use it, if available. Reduces shared library size. - Drag'n'drop behaves better now: if text is dropped in the widget it comes from, then it works like cut and paste. - Other improvements of DND handling when dragging text from other applications, e.g. Firefox and Thunderbird. - Windows message WM_QUIT is processed like SIGTERM, i.e. as a request to terminate the program. - Fluid no longer closes the code window when hitting ESC (STR #2997). - Improved Fl_Widget::when() handling in Fl_Tabs - Improved support for more recent compilers (clang and gcc) that issue more warnings, and fixed some 32-/64-bit compilation issues. - Added method Fl_Window::clear_modal_states() to make it possible to remove the modal or non-modal state from a window Bug fixes - Fixed word selection dragging in text input - Fixed crash if Fl_Window::flush() called while window not shown() - Fixed segfault in fl_set_fonts_xft.cxx when loading fonts not named as expected - Fixed a memory leak in font loading/allocation - Fixed OS X fl_read_image() and Fl_Paged_Device::print_window_part() when using a Retina display. - Fixed MinGW build if configure didn't find strcasecmp() - Fixed access of protected member under Linux/Unix - Fixed various Mac specific OpenGL issues - Fixed PostScript printing with non-english locale - Fixed a regression in Fl_File_Chooser since FLTK 1.1.8: the Enter key now selects the file again. - Fixed a bug in Fl_Native_File_Chooser (Windows) for some file name input filters - Fixed out-of-bounds memory access in Fl_Text_Display
Diffstat (limited to 'x11/fltk13/Makefile')
-rw-r--r--x11/fltk13/Makefile60
1 files changed, 3 insertions, 57 deletions
diff --git a/x11/fltk13/Makefile b/x11/fltk13/Makefile
index e6733cf8dea..a079575945b 100644
--- a/x11/fltk13/Makefile
+++ b/x11/fltk13/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2015/04/25 14:25:04 tnn Exp $
+# $NetBSD: Makefile,v 1.20 2015/07/21 21:36:41 markd Exp $
-DISTNAME= fltk-1.3.2-source
+DISTNAME= fltk-1.3.3-source
PKGNAME= ${DISTNAME:S/-source//}
VERS= ${DISTNAME:S/fltk-//:S/-source//}
-PKGREVISION= 5
CATEGORIES= x11
MASTER_SITES= http://fltk.org/pub/fltk/${VERS}/
@@ -12,58 +11,6 @@ HOMEPAGE= http://www.fltk.org/
COMMENT= Fast Light Tool Kit for graphical user interfaces
LICENSE= gnu-lgpl-v2
-CONFLICTS= fltk-1.[012].*
-
-DIST_SUBDIR= fltk13
-
-#TigerVNC requires FLTK 1.3.0 (or later). Although it will build and work
-#with plain 1.3.0, to get full functionality and the best behaviour the
-#following patches are needed
-
-# Export dead key information from FLTK to the apps
-# http://www.fltk.org/str.php?L2599
-PATCHFILES= fltk-1_v4.3.x-keyboard-x11.patch \
- fltk-1_v4.3.x-keyboard-win32.patch \
- fltk-1_v6.3.x-keyboard-osx.patch
-PATCH_SITES= http://www.fltk.org/strfiles/2599/
-
-# Notify applications of changes to the clipboard
-# http://www.fltk.org/str.php?L2636
-PATCHFILES+= fltk-1.3.x-clipboard.patch \
- fltk-1_v5.3.x-clipboard-x11.patch \
- fltk-1_v3.3.x-clipboard-win32-fix.patch \
- fltk-1_v2.3.x-clipboard-win32.patch \
- fltk-1_v2.3.x-clipboard-osx.patch
-PATCH_SITES+= http://www.fltk.org/strfiles/2636/
-
-# Ability to convert a Fl_Pixmap to a Fl_RGB_Image
-# http://www.fltk.org/str.php?L2659
-PATCHFILES+= pixmap_v2.patch
-PATCH_SITES+= http://www.fltk.org/strfiles/2659/
-
-# Support for custom cursors
-# http://www.fltk.org/str.php?L2660
-PATCHFILES+= fltk-1_v5.3.x-cursor.patch
-PATCH_SITES+= http://www.fltk.org/strfiles/2660/
-
-# Improve modality interaction with WM
-# http://www.fltk.org/str.php?L2802
-PATCHFILES+= fltk-1_v2.3.0-modal.patch
-PATCH_SITES+= http://www.fltk.org/strfiles/2802/
-
-# Window icons
-# http://www.fltk.org/str.php?L2816
-PATCHFILES+= fltk-1_v3.3.0-icons.patch
-PATCH_SITES+= http://www.fltk.org/strfiles/2816/
-
-# Multihead
-# http://fltk.org/str.php?L2860
-PATCHFILES+= fltk-1.3.x-screen_num.patch \
- fltk-1_v3.3.x-multihead.patch
-PATCH_SITES+= http://www.fltk.org/strfiles/2860/
-
-PATCH_DIST_STRIP= -p1
-
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
@@ -91,8 +38,6 @@ CONFIGURE_ARGS+= --with-links
PLIST.cs= yes
.endif
-BUILDLINK_DEPMETHOD.libXt?= build
-
#.if !empty(PKG_OPTIONS:Mcairo)
#. include "../../graphics/cairo/buildlink3.mk"
#CONFIGURE_ARGS+= --enable-cairo
@@ -120,6 +65,7 @@ CONFIGURE_ARGS+= --disable-localjpeg --disable-localzlib --disable-localpng
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"