sci-visualization/spyview: add binding := to fltk & fix build with 1.4

1.4.x drops the case sensitivity compat symlinks by default
and upstream strongly recommends to fix packages rather than
re-enable them.

:= due to new soname

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-12-26 11:17:30 -05:00
parent b5d162d286
commit c08bd80c77
3 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
Deprecated compatibility symlinks are removed.
--- a/spyview/ImageData.C
+++ b/spyview/ImageData.C
@@ -4 +4 @@
-#include <Fl/filename.H>
+#include <FL/filename.H>
--- a/spyview/spybrowse.C
+++ b/spyview/spybrowse.C
@@ -5,2 +5,2 @@
-#include <Fl/filename.H>
-#include <Fl/fl_ask.H>
+#include <FL/filename.H>
+#include <FL/fl_ask.H>
--- a/spyview/spybrowse_ui.fl
+++ b/spyview/spybrowse_ui.fl
@@ -11 +11 @@
-decl {\#include <Fl/Fl_File_Chooser.H>} {public
+decl {\#include <FL/Fl_File_Chooser.H>} {public
--- a/spyview/spybrowse_ui.h
+++ b/spyview/spybrowse_ui.h
@@ -8 +8 @@
-#include <Fl/Fl_File_Chooser.H>
+#include <FL/Fl_File_Chooser.H>
--- a/spyview/spyview.C
+++ b/spyview/spyview.C
@@ -13 +13 @@
-#include <Fl/fl_ask.H>
+#include <FL/fl_ask.H>
@@ -15,2 +15,2 @@
-#include <Fl/Fl_File_Chooser.H>
-#include <Fl/filename.H>
+#include <FL/Fl_File_Chooser.H>
+#include <FL/filename.H>

View File

@@ -22,7 +22,7 @@ SLOT="0"
COMMON_DEPEND="
dev-libs/boost:=
media-libs/netpbm
x11-libs/fltk:1[opengl]
x11-libs/fltk:1=[opengl]
app-text/ghostscript-gpl
virtual/glu
"
@@ -35,6 +35,7 @@ RDEPEND="${COMMON_DEPEND}
PATCHES=(
"${FILESDIR}/spyview-no-user-dirs.patch"
"${FILESDIR}/${P}-fltk1.4.patch"
)
src_unpack() {

View File

@@ -22,7 +22,7 @@ SLOT="0"
COMMON_DEPEND="
dev-libs/boost:=
media-libs/netpbm
x11-libs/fltk:1[opengl]
x11-libs/fltk:1=[opengl]
app-text/ghostscript-gpl
virtual/glu
"