pkgsrc-WIP-changes archive

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

fltk14-devel: Fix dependencies



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Mar 22 15:30:46 2024 +0100
Changeset:	b8e5237fb3eeded3c1d4f6225de59c13b888053a

Modified Files:
	fltk14-devel/README
	fltk14-devel/buildlink3.mk
	fltk14-devel/options.mk

Log Message:
fltk14-devel: Fix dependencies

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b8e5237fb3eeded3c1d4f6225de59c13b888053a

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

diffstat:
 fltk14-devel/README        | 25 ++++++++++++++++++++-----
 fltk14-devel/buildlink3.mk |  4 ----
 fltk14-devel/options.mk    |  4 ----
 3 files changed, 20 insertions(+), 13 deletions(-)

diffs:
diff --git a/fltk14-devel/README b/fltk14-devel/README
index 7e2d7b81c1..5ed83ea1b0 100644
--- a/fltk14-devel/README
+++ b/fltk14-devel/README
@@ -1,11 +1,26 @@
 FLTK 1.4.x development snapshot
 
-Intended to test glyph substitution via Pango with X11 backend.
+Enabling the untested "wayland" option should (in theory) allow to use
+the new Wayland backend.
+
+The option "cairo" enables support for the widget Fl_Cairo_Window.
+
+Glyph substitution via Pango with X11 backend is now supported.
 The "pango" option allows applications to render text using multiple fonts.
 
-Disabling the "pango" and "xft2" options allows to build a lightweight FLTK
-library that use X11 Core Fonts (rendered by the X server).
+Disabling the "pango" and "xft2" options allows to use X11 Core Fonts
+(rendered by the X server). Works well with network redirection of DISPLAY.
+This is for users who want the "F" in FLTK.
+
+Disabling the "xcursor", "xfixes", "xinerama" and "xrender" options allows
+to further reduce dependencies for the X11 backend.
+This is for users who want the "L" in FLTK.
 
-Also useful to test compatibility of packages with FLTK 1.4 API.
-In general application using the FLTK 1.3 API should work out-of-the-box
+In general applications using the FLTK 1.3 API should work out-of-the-box
 with FLTK 1.4 too. Note: The ABI of the shared library is not compatible!
+
+
+Note:
+FLTK 1.4 will be the last release that supports old systems (C99 / C++98).
+The next release of FLTK will require at least C++11 and CMake. This will
+drop more than a decade of formerly supported systems.
diff --git a/fltk14-devel/buildlink3.mk b/fltk14-devel/buildlink3.mk
index 8faaecc6fb..ed01734ed7 100644
--- a/fltk14-devel/buildlink3.mk
+++ b/fltk14-devel/buildlink3.mk
@@ -42,10 +42,6 @@ pkgbase := fltk
 # For "x11" option
 .if ${PKG_BUILD_OPTIONS.fltk:Mx11}
 .  include "../../x11/libX11/buildlink3.mk"
-.  include "../../x11/libXcursor/buildlink3.mk"
-.  include "../../x11/libXext/buildlink3.mk"
-.  include "../../x11/libXfixes/buildlink3.mk"
-.  include "../../x11/libXrender/buildlink3.mk"
 .endif
 
 # For "xcursor" option
diff --git a/fltk14-devel/options.mk b/fltk14-devel/options.mk
index 65ff0281f6..24f62077bd 100644
--- a/fltk14-devel/options.mk
+++ b/fltk14-devel/options.mk
@@ -71,10 +71,6 @@ CONFIGURE_ARGS+=	--disable-wayland
 # Attention: Forcing X11 backend requires X Window system to be installed.
 .if !empty(PKG_OPTIONS:Mx11)
 .  include "../../x11/libX11/buildlink3.mk"
-.  include "../../x11/libXcursor/buildlink3.mk"
-.  include "../../x11/libXext/buildlink3.mk"
-.  include "../../x11/libXfixes/buildlink3.mk"
-.  include "../../x11/libXrender/buildlink3.mk"
 CONFIGURE_ARGS+=	--enable-x11
 .else
 CONFIGURE_ARGS+=	--disable-x11


Home | Main Index | Thread Index | Old Index