pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/fltk13



Module Name:    pkgsrc
Committed By:   micha
Date:           Tue Jul 16 11:21:25 UTC 2019

Modified Files:
        pkgsrc/x11/fltk13: Makefile PLIST distinfo
        pkgsrc/x11/fltk13/patches: patch-test_Makefile
Added Files:
        pkgsrc/x11/fltk13/patches: patch-fluid_Makefile
Removed Files:
        pkgsrc/x11/fltk13/patches: patch-ae

Log Message:
fltk13: Update tp 1.3.5

This release does not contain new "ABI features".
The ABI (Application Binary Interface) is 100% compatible
with releases 1.3.4, 1.3.4-1, and 1.3.4-2.

Changes in FLTK 1.3.5
=====================

New features and enhancements (highlights):

� - Add support for macOS 10.13 "High Sierra" and 10.14 "Mojave".
� - Add FL/platform.H for compatibility with FLTK 1.4 and higher.
� - Improve OpenGL(3+) support.
� - Improve Cairo support and (CMake) Cairo detection.
� - Improve desktop scaling support for HiDPI screens.
��� Note: FLTK application scaling is available in FLTK 1.4.0.

Bug fixes and other improvements:

� - Update CHANGES for release, remove one wrong entry
� - Fix Xcode FLTK project for use under macOS 10.14
� - Fix for STR 3473 (and its duplicate STR 3507) to restore configure-based
��� builds on recent Linux/Unix distributions where the freetype-config
��� command has been replaced by pkg-config.
� - Fix Fl_Tree::insert() with pos out ouf range (issue #18).
� - Fix Fl_GIF_Image Color Table handling (STR 3491).
� - Make sure not to access Fl_Menu_ widgets if the widget gets
��� deleted while the menu (pulldown) is open (STR 3503).
� - Fix CMake build (fluid) on case sensitive macOS file systems.
� - Windows/OpenGL: improve pixel format detection (STR 3119).
� - Add support for macOS 10.14 "Mojave": all drawing to windows is done
��� through "layer-backed views" when the app is linked to SDK 10.14.
� - MacOS platform: fix regression in macOS 10.13 where an unbundled app
��� had its system menu bar unresponsive.
� - MacOS 10.10 platform: Fl_Window::fullscreen() and fullscreen_off()
��� no longer call Fl_Window::hide() + Fl_Window::show().
��� The new procedure essentially resizes the window, as done on
��� the X11+EWMH and Windows platforms. This improves in particular
��� the possibility to turn an Fl_Gl_Window fullscreen on and off.
� - MacOS platform: Support \r\n as end of line used by recent
��� MS Office apps in clipboard.
� - Fix Fl_Text_Editor overstrike mode (STR 3463).
� - More consistent and optimized "gleam" scheme box drawing.
� - Fix a MinGW build error with new MinGW versions as of Feb 2018
��� (undefined S_OK and __FD_ISSET), see STR 3454.
� - Windows/CMake: Add missing definition of WIN32 for Windows builds.
��� This seems to be necessary for VS2017 and other compilers that
��� don't #define WIN32, but FLTK relies on this preprocessor macro.
��� Autoconf/configure and bundled IDE files #define WIN32 as well.
� - Fix illegal memory access after free when closing fluid (valgrind
��� reports "Invalid read of size 4"), see also STR 3427.
� - Fix crash when closing fluid with Fl_Table (STR 3427).
� - Fix ignored buffer pre-allocation (requestedSize) in Fl_Text_Buffer.
��� See fltk.general "Fl_Text_Buffer constructor bug" on Dec 5, 2016.
� - Fix Fl_Browser background and text color parsing (STR 3376).
� - Fix Windows CreateDC/DeleteDC mismatch (STR 3373).
� - Update bundled configure scripts config.guess and config.sub.
� - Fix configure --enable-cairo --enable-cairoext,
��� see this report in fltk.general
� - Fix macOS timer implementation (STR 3387).
� - Fix drop-to-FLTK-widget under MSWindows when the desktop is
��� rescaled (STR 3390).
� - Add support for macOS 10.13 "High Sierra". Subwindows don't
��� move correctly under 10.13 without this fix.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/x11/fltk13/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/x11/fltk13/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/x11/fltk13/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/x11/fltk13/patches/patch-ae
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/fltk13/patches/patch-fluid_Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/x11/fltk13/patches/patch-test_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/fltk13/Makefile
diff -u pkgsrc/x11/fltk13/Makefile:1.27 pkgsrc/x11/fltk13/Makefile:1.28
--- pkgsrc/x11/fltk13/Makefile:1.27     Mon Jul  8 10:36:25 2019
+++ pkgsrc/x11/fltk13/Makefile  Tue Jul 16 11:21:25 2019
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.27 2019/07/08 10:36:25 nia Exp $
+# $NetBSD: Makefile,v 1.28 2019/07/16 11:21:25 micha Exp $
 
-DISTNAME=      fltk-1.3.4-source
+DISTNAME=      fltk-1.3.5-source
 PKGNAME=       ${DISTNAME:S/-source//}
 VERS=          ${DISTNAME:S/fltk-//:S/-source//}
 CATEGORIES=    x11
 MASTER_SITES=  http://fltk.org/pub/fltk/${VERS}/
+EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://www.fltk.org/
+HOMEPAGE=      http://www.fltk.org/
 COMMENT=       Fast Light Tool Kit for graphical user interfaces
 LICENSE=       gnu-lgpl-v2
 

Index: pkgsrc/x11/fltk13/PLIST
diff -u pkgsrc/x11/fltk13/PLIST:1.5 pkgsrc/x11/fltk13/PLIST:1.6
--- pkgsrc/x11/fltk13/PLIST:1.5 Fri Jul 13 04:24:39 2018
+++ pkgsrc/x11/fltk13/PLIST     Tue Jul 16 11:21:25 2019
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.5 2018/07/13 04:24:39 dbj Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/07/16 11:21:25 micha Exp $
 bin/fltk-config
 bin/fluid
-include/FL/abi-version.h
 include/FL/Enumerations.H
 ${PLIST.cs}include/FL/Enumerations.h
 include/FL/Fl.H
@@ -248,6 +247,7 @@ include/FL/Fl_XBM_Image.H
 ${PLIST.cs}include/FL/Fl_XBM_Image.h
 include/FL/Fl_XPM_Image.H
 ${PLIST.cs}include/FL/Fl_XPM_Image.h
+include/FL/abi-version.h
 include/FL/dirent.h
 include/FL/filename.H
 ${PLIST.cs}include/FL/filename.h
@@ -278,6 +278,8 @@ include/FL/mac.H
 ${PLIST.cs}include/FL/mac.h
 include/FL/math.h
 include/FL/names.h
+include/FL/platform.H
+${PLIST.cs}include/FL/platform.h
 include/FL/win32.H
 ${PLIST.cs}include/FL/win32.h
 include/FL/x.H

Index: pkgsrc/x11/fltk13/distinfo
diff -u pkgsrc/x11/fltk13/distinfo:1.10 pkgsrc/x11/fltk13/distinfo:1.11
--- pkgsrc/x11/fltk13/distinfo:1.10     Fri Jul 13 04:24:39 2018
+++ pkgsrc/x11/fltk13/distinfo  Tue Jul 16 11:21:25 2019
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.10 2018/07/13 04:24:39 dbj Exp $
+$NetBSD: distinfo,v 1.11 2019/07/16 11:21:25 micha Exp $
 
-SHA1 (fltk-1.3.4-source.tar.gz) = 3c58770d2920a219d07641fa403de2c8c57bb7f0
-RMD160 (fltk-1.3.4-source.tar.gz) = a660ec3b18e89426c2edb76818bbfcec6a6f5890
-SHA512 (fltk-1.3.4-source.tar.gz) = 92c236e426ad9b2a2954a6fc401bc9bf4c4c46d47b08f8c9b879da6031ac158ef9b944f28a8bea64d18072d1af8ceaa09c00abebd745fb76dd628636424446c2
-Size (fltk-1.3.4-source.tar.gz) = 5284217 bytes
+SHA1 (fltk-1.3.5-source.tar.bz2) = 30ee0a45d0f7f8dfc3139bb237440d3d2784b8a8
+RMD160 (fltk-1.3.5-source.tar.bz2) = 09713fde1b1056633750a5b4964460a370a6cf2e
+SHA512 (fltk-1.3.5-source.tar.bz2) = dee280990a5bf846c9fa44b2e1997d7829e25e17b32e36ea8cf50457c4f1008c57f1cfcdce0b582f6722b33c9aa7b39d8f23cb289e3dff9d588f1a66d7179164
+Size (fltk-1.3.5-source.tar.bz2) = 4497531 bytes
 SHA1 (patch-aa) = 335993d2e6b232b0539e583fb2463bafdffbb9b3
 SHA1 (patch-ac) = 4ee251d11b3840f525f473fe6c320e4d16ac95e1
 SHA1 (patch-ad) = 5a17f8fb46ce65b4795618d6aa22f445b55f6aa8
-SHA1 (patch-ae) = 4952426cd6ecc67921779de95f68835aa3bdaa9c
 SHA1 (patch-af) = 4c2b772cc8bd6729aeb94ee4e871c2d982356616
 SHA1 (patch-ag) = 2339189b49551d27a8246d9efd9fed4b26732dde
-SHA1 (patch-test_Makefile) = a2e47c0c21983b8906898eea3f19b19c2f09386c
+SHA1 (patch-fluid_Makefile) = 28440f02095116302bf58319c397b1b9b921027d
+SHA1 (patch-test_Makefile) = ff615f828ee5aac0d44023d190f26e260baf66a2

Index: pkgsrc/x11/fltk13/patches/patch-test_Makefile
diff -u pkgsrc/x11/fltk13/patches/patch-test_Makefile:1.4 pkgsrc/x11/fltk13/patches/patch-test_Makefile:1.5
--- pkgsrc/x11/fltk13/patches/patch-test_Makefile:1.4   Fri Jul 13 04:24:39 2018
+++ pkgsrc/x11/fltk13/patches/patch-test_Makefile       Tue Jul 16 11:21:25 2019
@@ -1,22 +1,27 @@
-$NetBSD: patch-test_Makefile,v 1.4 2018/07/13 04:24:39 dbj Exp $
+$NetBSD: patch-test_Makefile,v 1.5 2019/07/16 11:21:25 micha Exp $
 
---- test/Makefile.orig 2016-09-03 08:14:43.000000000 +0000
+Use libtool.
+
+--- test/Makefile.orig 2019-03-03 08:40:23.000000000 +0000
 +++ test/Makefile
-@@ -308,19 +308,19 @@ buttons$(EXEEXT): buttons.o
+@@ -308,14 +308,14 @@ buttons$(EXEEXT): buttons.o
  
  blocks$(EXEEXT): blocks.o
        echo Linking $@...
 -      $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) blocks.o -o $@ $(AUDIOLIBS) $(LINKFLTK) $(LDLIBS)
 +      $(LIBTOOL) --mode=link $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) blocks.o -o $@ $(AUDIOLIBS) $(LINKFLTK) $(LDLIBS)
+       $(OSX_ONLY) $(RM) -r -f blocks.app/Contents/MacOS
+       $(OSX_ONLY) mkdir blocks.app/Contents/MacOS
        $(OSX_ONLY) $(INSTALL_BIN) blocks$(EXEEXT) blocks.app/Contents/MacOS
  
  checkers$(EXEEXT): checkers.o
        echo Linking $@...
 -      $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) checkers.o -o $@ $(LINKFLTK) $(LDLIBS)
 +      $(LIBTOOL) --mode=link $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) checkers.o -o $@ $(LINKFLTK) $(LDLIBS)
+       $(OSX_ONLY) $(RM) -r -f checkers.app/Contents/MacOS
+       $(OSX_ONLY) mkdir checkers.app/Contents/MacOS
        $(OSX_ONLY) $(INSTALL_BIN) checkers$(EXEEXT) checkers.app/Contents/MacOS
- 
- clock$(EXEEXT): clock.o
+@@ -324,7 +324,7 @@ clock$(EXEEXT): clock.o
  
  colbrowser$(EXEEXT): colbrowser.o
        echo Linking $@...
@@ -25,7 +30,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
        $(OSX_ONLY) mkdir -p colbrowser.app/Contents/Resources
        $(OSX_ONLY) cp -f rgb.txt colbrowser.app/Contents/Resources/
-@@ -333,21 +333,21 @@ curve$(EXEEXT): curve.o
+@@ -337,21 +337,21 @@ curve$(EXEEXT): curve.o
  
  demo$(EXEEXT): demo.o
        echo Linking $@...
@@ -50,7 +55,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
        $(OSX_ONLY) cp -f ../ide/Xcode4/plists/editor-Info.plist editor.app/Contents/Info.plist
  
-@@ -356,21 +356,21 @@ fast_slow.cxx:   fast_slow.fl ../fluid/flu
+@@ -360,21 +360,21 @@ fast_slow.cxx:   fast_slow.fl ../fluid/flu
  
  file_chooser$(EXEEXT): file_chooser.o $(IMGLIBNAME)
        echo Linking $@...
@@ -75,7 +80,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
        $(OSX_ONLY) mkdir -p help.app/Contents/Resources
        $(OSX_ONLY) cp -f help-test.html help.app/Contents/Resources/
-@@ -390,14 +390,14 @@ input_choice$(EXEEXT): input_choice.o
+@@ -394,14 +394,14 @@ input_choice$(EXEEXT): input_choice.o
  
  keyboard$(EXEEXT): keyboard_ui.o keyboard.o
        echo Linking $@...
@@ -92,7 +97,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
  
  line_style$(EXEEXT): line_style.o
-@@ -406,7 +406,7 @@ list_visuals$(EXEEXT): list_visuals.o
+@@ -410,7 +410,7 @@ list_visuals$(EXEEXT): list_visuals.o
  
  mandelbrot$(EXEEXT): mandelbrot_ui.o mandelbrot.o
        echo Linking $@...
@@ -101,7 +106,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
  mandelbrot_ui.o:      mandelbrot_ui.h
  mandelbrot_ui.cxx:    mandelbrot_ui.fl ../fluid/fluid$(EXEEXT)
-@@ -419,7 +419,7 @@ minimum$(EXEEXT): minimum.o
+@@ -423,7 +423,7 @@ minimum$(EXEEXT): minimum.o
  
  native-filechooser$(EXEEXT): native-filechooser.o $(IMGLIBNAME)
        echo Linking $@...
@@ -110,7 +115,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
  
  navigation$(EXEEXT): navigation.o
-@@ -428,7 +428,7 @@ offscreen$(EXEEXT): offscreen.o
+@@ -432,7 +432,7 @@ offscreen$(EXEEXT): offscreen.o
  
  output$(EXEEXT): output.o $(FLLIBNAME)
        echo Linking $@...
@@ -119,7 +124,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
  
  overlay$(EXEEXT): overlay.o
-@@ -439,7 +439,7 @@ pixmap$(EXEEXT): pixmap.o
+@@ -443,7 +443,7 @@ pixmap$(EXEEXT): pixmap.o
  
  pixmap_browser$(EXEEXT): pixmap_browser.o $(IMGLIBNAME)
        echo Linking $@...
@@ -128,14 +133,16 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
        $(OSX_ONLY) ../fltk-config --post $@
  
  preferences$(EXEEXT): preferences.o
-@@ -463,13 +463,13 @@ subwindow$(EXEEXT): subwindow.o
+@@ -467,7 +467,7 @@ subwindow$(EXEEXT): subwindow.o
  
  sudoku: sudoku.o
        echo Linking $@...
 -      $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) sudoku.o -o $@ $(AUDIOLIBS) $(LINKFLTKIMG) $(LDLIBS)
 +      $(LIBTOOL) --mode=link $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) sudoku.o -o $@ $(AUDIOLIBS) $(LINKFLTKIMG) $(LDLIBS)
+       $(OSX_ONLY) $(RM) -r -f sudoku.app/Contents/MacOS
+       $(OSX_ONLY) mkdir sudoku.app/Contents/MacOS
        $(OSX_ONLY) $(INSTALL_BIN) sudoku$(EXEEXT) sudoku.app/Contents/MacOS
- 
+@@ -475,7 +475,7 @@ sudoku: sudoku.o
  sudoku.exe: sudoku.o sudoku.rc
        echo Linking $@...
        $(RC) sudoku.rc sudokures.o
@@ -144,7 +151,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
  
  symbols$(EXEEXT): symbols.o
  
-@@ -501,7 +501,7 @@ $(GLALL): $(LIBNAME) $(GLLIBNAME)
+@@ -507,7 +507,7 @@ $(GLALL): $(LIBNAME) $(GLLIBNAME)
  # OpenGL demos...
  CubeView$(EXEEXT): CubeMain.o CubeView.o CubeViewUI.o
        echo Linking $@...
@@ -153,7 +160,7 @@ $NetBSD: patch-test_Makefile,v 1.4 2018/
                CubeMain.o CubeView.o CubeViewUI.o \
                $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS)
        $(OSX_ONLY) ../fltk-config --post $@
-@@ -512,37 +512,37 @@ CubeViewUI.cxx:  CubeViewUI.fl ../fluid/f
+@@ -518,37 +518,37 @@ CubeViewUI.cxx:  CubeViewUI.fl ../fluid/f
  
  cube$(EXEEXT): cube.o
        echo Linking $@...

Added files:

Index: pkgsrc/x11/fltk13/patches/patch-fluid_Makefile
diff -u /dev/null pkgsrc/x11/fltk13/patches/patch-fluid_Makefile:1.1
--- /dev/null   Tue Jul 16 11:21:25 2019
+++ pkgsrc/x11/fltk13/patches/patch-fluid_Makefile      Tue Jul 16 11:21:25 2019
@@ -0,0 +1,24 @@
+$NetBSD: patch-fluid_Makefile,v 1.1 2019/07/16 11:21:25 micha Exp $
+
+Use libtool.
+
+--- fluid/Makefile.orig        2019-03-03 08:40:23.000000000 +0000
++++ fluid/Makefile
+@@ -50,7 +50,7 @@ all: $(FLUID) fluid$(EXEEXT)
+ fluid$(EXEEXT):               $(OBJECTS) $(LIBNAME) $(FLLIBNAME) \
+                       $(IMGLIBNAME)
+       echo Linking $@...
+-      $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(LDLIBS)
++      ${LIBTOOL} --mode=link $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(LDLIBS)
+       $(OSX_ONLY) $(RM) -r -f fluid.app/Contents/MacOS
+       $(OSX_ONLY) mkdir fluid.app/Contents/MacOS
+       $(OSX_ONLY) $(INSTALL_BIN) fluid fluid.app/Contents/MacOS
+@@ -74,7 +74,7 @@ include makedepend
+ install: all
+       echo "Installing FLUID in $(DESTDIR)$(bindir)..."
+       -$(INSTALL_DIR) $(DESTDIR)$(bindir)
+-      $(INSTALL_BIN) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT)
++      ${LIBTOOL} --mode=install $(INSTALL_BIN) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT)
+ 
+ install-linux:
+       -$(INSTALL_DIR) $(DESTDIR)/usr/share/applications



Home | Main Index | Thread Index | Old Index