diff options
-rw-r--r-- | meta-oe/recipes-extended/gnuplot/gnuplot/0003-Use-native-tools-to-build-docs.patch | 131 | ||||
-rw-r--r-- | meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-and-qt6-native-tools.patch | 64 | ||||
-rw-r--r-- | meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-native-tools.patch | 42 | ||||
-rw-r--r-- | meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb (renamed from meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb) | 11 |
4 files changed, 170 insertions, 78 deletions
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/0003-Use-native-tools-to-build-docs.patch b/meta-oe/recipes-extended/gnuplot/gnuplot/0003-Use-native-tools-to-build-docs.patch index 7a7e550349..1f5b689730 100644 --- a/meta-oe/recipes-extended/gnuplot/gnuplot/0003-Use-native-tools-to-build-docs.patch +++ b/meta-oe/recipes-extended/gnuplot/gnuplot/0003-Use-native-tools-to-build-docs.patch | |||
@@ -23,29 +23,26 @@ diff --git a/docs/Makefile.am b/docs/Makefile.am | |||
23 | index b20918a..47406eb 100644 | 23 | index b20918a..47406eb 100644 |
24 | --- a/docs/Makefile.am | 24 | --- a/docs/Makefile.am |
25 | +++ b/docs/Makefile.am | 25 | +++ b/docs/Makefile.am |
26 | @@ -156,7 +156,7 @@ gnuplot-groff.ps: gnuplot.ms $(srcdir)/titlepag.ms | 26 | @@ -175,7 +175,7 @@ |
27 | $(AM_V_GEN) touch $@ | ||
27 | 28 | ||
28 | ### doc2xxx dependencies | 29 | gnuplot.tex: allterm.h doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc |
29 | gnuplot.ms: doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc | ||
30 | - $(AM_V_GEN) ./doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ms "$(srcdir)/titlepag.ms" | ||
31 | + $(AM_V_GEN) doc2ms$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ms "$(srcdir)/titlepag.ms" | ||
32 | |||
33 | doc2ms_SOURCES = doc2ms.c termdoc.c | ||
34 | doc2ms_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS) | ||
35 | @@ -177,10 +177,10 @@ pdf_figures: $(GNUPLOT_EXE) $(srcdir)/plotstyles.gnu | ||
36 | $(AM_V_GEN)touch $@ | ||
37 | |||
38 | figures.tex: allterm.h doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc | ||
39 | - $(AM_V_GEN)./doc2tex$(EXEEXT) -figures $(srcdir)/gnuplot.doc $@ | 30 | - $(AM_V_GEN)./doc2tex$(EXEEXT) -figures $(srcdir)/gnuplot.doc $@ |
40 | + $(AM_V_GEN) doc2tex$(EXEEXT) -figures $(srcdir)/gnuplot.doc $@ | 31 | + $(AM_V_GEN) doc2tex$(EXEEXT) -figures $(srcdir)/gnuplot.doc $@ |
41 | 32 | ||
42 | nofigures.tex: allterm.h doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc | 33 | pdf: pdf_figures |
43 | - $(AM_V_GEN)./doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc $@ | 34 | $(MAKE) gnuplot.pdf |
44 | + $(AM_V_GEN) doc2tex$(EXEEXT) $(srcdir)/gnuplot.doc $@ | 35 | @@ -255,7 +255,7 @@ |
45 | 36 | ||
46 | pdf: gnuplot.pdf | 37 | gnuplot-ja.pdf: gnuplot-ja.doc title-ja.tex pdf_figures allterm-ja.h doc2tex$(EXEEXT) |
47 | pdf_nofig: nofigures.pdf | 38 | iconv -f EUC-JP -t UTF-8 gnuplot-ja.doc > ja.doc |
48 | @@ -260,7 +260,7 @@ gnuplot.ps: gnuplot.dvi | 39 | - ./doc2tex$(EXEEXT) -figures -japanese ja.doc | sed 's/titlepag.tex/title-ja.tex/' > gnuplot-ja.tex |
40 | + doc2tex$(EXEEXT) -figures -japanese ja.doc | sed 's/titlepag.tex/title-ja.tex/' > gnuplot-ja.tex | ||
41 | lualatex gnuplot-ja | ||
42 | lualatex gnuplot-ja | ||
43 | makeindex gnuplot-ja | ||
44 | |||
45 | @@ -268,7 +268,7 @@ gnuplot.ps: gnuplot.dvi | ||
49 | hlp: gnuplot.hlp | 46 | hlp: gnuplot.hlp |
50 | 47 | ||
51 | gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc | 48 | gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc |
@@ -54,7 +51,7 @@ index b20918a..47406eb 100644 | |||
54 | 51 | ||
55 | doc2hlp_SOURCES = doc2hlp.c termdoc.c | 52 | doc2hlp_SOURCES = doc2hlp.c termdoc.c |
56 | 53 | ||
57 | @@ -268,14 +268,14 @@ doc2hlp_SOURCES = doc2hlp.c termdoc.c | 54 | @@ -276,14 +276,14 @@ doc2hlp_SOURCES = doc2hlp.c termdoc.c |
58 | gih: gnuplot.gih | 55 | gih: gnuplot.gih |
59 | 56 | ||
60 | gnuplot.gih: doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc | 57 | gnuplot.gih: doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc |
@@ -71,7 +68,7 @@ index b20918a..47406eb 100644 | |||
71 | 68 | ||
72 | alldoc2gih_SOURCES = doc2gih.c termdoc.c | 69 | alldoc2gih_SOURCES = doc2gih.c termdoc.c |
73 | alldoc2gih_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS) | 70 | alldoc2gih_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS) |
74 | @@ -290,7 +290,7 @@ $(srcdir)/windows/wgnuplot.hhk | 71 | @@ -298,7 +298,7 @@ $(srcdir)/windows/wgnuplot.hhk |
75 | wxhelp/wgnuplot.hhc wxhelp/wgnuplot.hhk wxhelp/*.html windows/*.png | 72 | wxhelp/wgnuplot.hhc wxhelp/wgnuplot.hhk wxhelp/*.html windows/*.png |
76 | 73 | ||
77 | wxhelp/wgnuplot.html: doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc | 74 | wxhelp/wgnuplot.html: doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc |
@@ -80,7 +77,16 @@ index b20918a..47406eb 100644 | |||
80 | 77 | ||
81 | doc2wxhtml_SOURCES = windows/doc2html.c termdoc.c xref.c allterm.h | 78 | doc2wxhtml_SOURCES = windows/doc2html.c termdoc.c xref.c allterm.h |
82 | doc2wxhtml_CPPFLAGS = -DALL_TERM_DOC -DWXHELP -I../src $(AM_CPPFLAGS) | 79 | doc2wxhtml_CPPFLAGS = -DALL_TERM_DOC -DWXHELP -I../src $(AM_CPPFLAGS) |
83 | @@ -340,7 +340,7 @@ install-info: gnuplot.info | 80 | @@ -318,7 +318,7 @@ |
81 | $(AM_V_at) [ -d html ] || mkdir -p html | ||
82 | $(AM_V_at) rm -f html/Overview.html html/Plotting_Styles.html html/Commands.html html/Terminals.html | ||
83 | $(AM_V_at) rm -f html/NewFeatures.html | ||
84 | - $(AM_V_GEN)./doc2web$(EXEEXT) $(srcdir)/gnuplot.doc html | ||
85 | + $(AM_V_GEN) doc2web$(EXEEXT) $(srcdir)/gnuplot.doc html | ||
86 | $(AM_V_GEN) sort -k 3 html/index.hhk > html/index.html | ||
87 | |||
88 | svg_figures: $(GNUPLOT_EXE) $(srcdir)/plotstyles.gnu | ||
89 | @@ -372,7 +372,7 @@ install-info: gnuplot.info | ||
84 | ipf: gnuplot.ipf | 90 | ipf: gnuplot.ipf |
85 | 91 | ||
86 | gnuplot.ipf: doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc | 92 | gnuplot.ipf: doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc |
@@ -89,7 +95,7 @@ index b20918a..47406eb 100644 | |||
89 | 95 | ||
90 | doc2ipf_SOURCES = doc2ipf.c termdoc.c xref.c | 96 | doc2ipf_SOURCES = doc2ipf.c termdoc.c xref.c |
91 | 97 | ||
92 | @@ -348,7 +348,7 @@ doc2ipf_SOURCES = doc2ipf.c termdoc.c xref.c | 98 | @@ -380,7 +380,7 @@ doc2ipf_SOURCES = doc2ipf.c termdoc.c xref.c |
93 | rtf: gnuplot.rtf | 99 | rtf: gnuplot.rtf |
94 | 100 | ||
95 | gnuplot.rtf: doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc | 101 | gnuplot.rtf: doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc |
@@ -98,14 +104,78 @@ index b20918a..47406eb 100644 | |||
98 | 104 | ||
99 | doc2rtf_SOURCES = doc2rtf.c termdoc.c xref.c | 105 | doc2rtf_SOURCES = doc2rtf.c termdoc.c xref.c |
100 | 106 | ||
101 | @@ -356,13 +356,13 @@ doc2rtf_SOURCES = doc2rtf.c termdoc.c xref.c | 107 | @@ -386,7 +386,7 @@ |
102 | rnh: gnuplot.rnh | 108 | |
109 | # this is how to check the gnuplot.doc file | ||
110 | check-local: checkdoc$(EXEEXT) | ||
111 | - $(AM_V_at)./checkdoc$(EXEEXT) < $(srcdir)/gnuplot.doc; \ | ||
112 | + $(AM_V_at)checkdoc$(EXEEXT) < $(srcdir)/gnuplot.doc; \ | ||
113 | if test $$? -eq 0; then \ | ||
114 | echo "PASS: gnuplot.doc"; \ | ||
115 | else \ | ||
116 | --- ./docs/Makefile.am.orig 2025-10-06 20:44:25.315270887 +0200 | ||
117 | +++ ./docs/Makefile.am 2025-10-06 21:22:31.287527296 +0200 | ||
118 | @@ -268,7 +268,7 @@ | ||
119 | hlp: gnuplot.hlp | ||
120 | |||
121 | gnuplot.hlp: doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc | ||
122 | - $(AM_V_GEN)./doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.hlp | ||
123 | + $(AM_V_GEN)doc2hlp$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.hlp | ||
124 | |||
125 | doc2hlp_SOURCES = doc2hlp.c termdoc.c | ||
126 | |||
127 | @@ -276,14 +276,14 @@ | ||
128 | gih: gnuplot.gih | ||
129 | |||
130 | gnuplot.gih: doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc | ||
131 | - $(AM_V_GEN)./doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih | ||
132 | + $(AM_V_GEN)doc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih | ||
133 | |||
134 | doc2gih_SOURCES = doc2gih.c termdoc.c | ||
135 | |||
136 | # To include all terminals in the .gih file | ||
137 | allgih: alldoc2gih$(EXEEXT) $(srcdir)/gnuplot.doc | ||
138 | @echo "generate gnuplot.gih with all terminals" | ||
139 | - $(AM_V_at)./alldoc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih | ||
140 | + $(AM_V_at)alldoc2gih$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.gih | ||
141 | |||
142 | alldoc2gih_SOURCES = doc2gih.c termdoc.c | ||
143 | alldoc2gih_CPPFLAGS = -DALL_TERM_DOC $(AM_CPPFLAGS) | ||
144 | @@ -298,7 +298,7 @@ | ||
145 | wxhelp/wgnuplot.hhc wxhelp/wgnuplot.hhk wxhelp/*.html windows/*.png | ||
103 | 146 | ||
104 | gnuplot.rnh: doc2rnh$(EXEEXT) $(srcdir)/gnuplot.doc | 147 | wxhelp/wgnuplot.html: doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc |
105 | - $(AM_V_GEN) ./doc2rnh$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rnh | 148 | - $(AM_V_GEN) ./doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc wxhelp/ |
106 | + $(AM_V_GEN) doc2rnh$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rnh | 149 | + $(AM_V_GEN) doc2wxhtml$(EXEEXT) $(srcdir)/gnuplot.doc wxhelp/ |
107 | 150 | ||
108 | doc2rnh_SOURCES = doc2rnh.c termdoc.c | 151 | doc2wxhtml_SOURCES = windows/doc2html.c termdoc.c xref.c allterm.h |
152 | doc2wxhtml_CPPFLAGS = -DALL_TERM_DOC -DWXHELP -I../src $(AM_CPPFLAGS) | ||
153 | @@ -318,7 +318,7 @@ | ||
154 | $(AM_V_at) [ -d html ] || mkdir -p html | ||
155 | $(AM_V_at) rm -f html/Overview.html html/Plotting_Styles.html html/Commands.html html/Terminals.html | ||
156 | $(AM_V_at) rm -f html/NewFeatures.html | ||
157 | - $(AM_V_GEN)./doc2web$(EXEEXT) $(srcdir)/gnuplot.doc html | ||
158 | + $(AM_V_GEN)doc2web$(EXEEXT) $(srcdir)/gnuplot.doc html | ||
159 | $(AM_V_GEN) sort -k 3 html/index.hhk > html/index.html | ||
160 | |||
161 | svg_figures: $(GNUPLOT_EXE) $(srcdir)/plotstyles.gnu | ||
162 | @@ -372,7 +372,7 @@ | ||
163 | ipf: gnuplot.ipf | ||
164 | |||
165 | gnuplot.ipf: doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc | ||
166 | - $(AM_V_GEN) ./doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ipf | ||
167 | + $(AM_V_GEN) doc2ipf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.ipf | ||
168 | |||
169 | doc2ipf_SOURCES = doc2ipf.c termdoc.c xref.c | ||
170 | |||
171 | @@ -380,13 +380,13 @@ | ||
172 | rtf: gnuplot.rtf | ||
173 | |||
174 | gnuplot.rtf: doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc | ||
175 | - $(AM_V_GEN) ./doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rtf | ||
176 | + $(AM_V_GEN) doc2rtf$(EXEEXT) $(srcdir)/gnuplot.doc gnuplot.rtf | ||
177 | |||
178 | doc2rtf_SOURCES = doc2rtf.c termdoc.c xref.c | ||
109 | 179 | ||
110 | # this is how to check the gnuplot.doc file | 180 | # this is how to check the gnuplot.doc file |
111 | check-local: checkdoc$(EXEEXT) | 181 | check-local: checkdoc$(EXEEXT) |
@@ -114,6 +184,3 @@ index b20918a..47406eb 100644 | |||
114 | if test $$? -eq 0; then \ | 184 | if test $$? -eq 0; then \ |
115 | echo "PASS: gnuplot.doc"; \ | 185 | echo "PASS: gnuplot.doc"; \ |
116 | else \ | 186 | else \ |
117 | -- | ||
118 | 2.14.3 | ||
119 | |||
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-and-qt6-native-tools.patch b/meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-and-qt6-native-tools.patch new file mode 100644 index 0000000000..50c0785df0 --- /dev/null +++ b/meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-and-qt6-native-tools.patch | |||
@@ -0,0 +1,64 @@ | |||
1 | From 577e21622475fa29fd471149cf2380c53fdbfcbd Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Tue, 6 Mar 2018 22:26:48 +0100 | ||
4 | Subject: [PATCH] Add configure option to find qt5 native tools | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Pkg-config checks for target locations. With these qt5 tools as uic/moc.. | ||
10 | cannot be used. | ||
11 | |||
12 | Upstream-Status: Inappropriate [embedded specific] | ||
13 | |||
14 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
15 | --- | ||
16 | configure.ac | 6 +++++- | ||
17 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index cdd831a..fdd192b 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -1061,11 +1061,15 @@ | ||
24 | if test "x${with_qt}" != "xqt4"; then | ||
25 | pkg_failed="not_tried" | ||
26 | if test "x${with_qt}" != "xqt5"; then | ||
27 | + AC_ARG_WITH(qt6nativesysroot, | ||
28 | + AC_HELP_STRING([--with-qt6nativesysroot=PATH], [prepend path - for native qt6 tools]), | ||
29 | + [QT6NATIVESYSROOT="$withval"], [QT6NATIVESYSROOT=""]) | ||
30 | + | ||
31 | AC_MSG_CHECKING([Checking for Qt6 support libraries]) | ||
32 | PKG_CHECK_MODULES_NOFAIL(QT, [Qt6Core Qt6Gui Qt6Network Qt6Svg Qt6PrintSupport Qt6Widgets Qt6Core5Compat]) | ||
33 | fi | ||
34 | if test $pkg_failed = no; then | ||
35 | - QT6LOC=`$PKG_CONFIG --variable=libexecdir Qt6Core` | ||
36 | + QT6LOC=${QT6NATIVESYSROOT}`$PKG_CONFIG --variable=libexecdir Qt6Core` | ||
37 | if test "x${QT6LOC}" != "x"; then | ||
38 | UIC=${QT6LOC}/uic | ||
39 | MOC=${QT6LOC}/moc | ||
40 | @@ -1075,7 +1079,7 @@ | ||
41 | MOC=moc-qt6 | ||
42 | RCC=rcc-qt6 | ||
43 | fi | ||
44 | - QT6BIN=`$PKG_CONFIG --variable=bindir Qt6Core` | ||
45 | + QT6BIN=${QT6NATIVESYSROOT}`$PKG_CONFIG --variable=bindir Qt6Core` | ||
46 | if test "x${QT6BIN}" != "x"; then | ||
47 | LRELEASE=${QT6BIN}/lrelease | ||
48 | elif test "x${LRELEASE}" = "x"; then | ||
49 | @@ -1086,10 +1090,14 @@ | ||
50 | AC_MSG_RESULT([The Qt terminal will use Qt6.]) | ||
51 | QTVER="6" | ||
52 | else | ||
53 | + AC_ARG_WITH(qt5nativesysroot, | ||
54 | + AC_HELP_STRING([--with-qt5nativesysroot=PATH], [prepend path - for native qt5 tools]), | ||
55 | + [QT5NATIVESYSROOT="$withval"], [QT5NATIVESYSROOT=""]) | ||
56 | + | ||
57 | AC_MSG_CHECKING([Checking for Qt5 support libraries]) | ||
58 | PKG_CHECK_MODULES_NOFAIL(QT, [Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport]) | ||
59 | if test $pkg_failed = no; then | ||
60 | - QT5LOC=`$PKG_CONFIG --variable=host_bins Qt5Core` | ||
61 | + QT5LOC=${QT5NATIVESYSROOT}`$PKG_CONFIG --variable=host_bins Qt5Core` | ||
62 | if test "x${QT5LOC}" != "x"; then | ||
63 | UIC=${QT5LOC}/uic | ||
64 | MOC=${QT5LOC}/moc | ||
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-native-tools.patch b/meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-native-tools.patch deleted file mode 100644 index 7ed9e761f2..0000000000 --- a/meta-oe/recipes-extended/gnuplot/gnuplot/0004-Add-configure-option-to-find-qt5-native-tools.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 577e21622475fa29fd471149cf2380c53fdbfcbd Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Tue, 6 Mar 2018 22:26:48 +0100 | ||
4 | Subject: [PATCH] Add configure option to find qt5 native tools | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Pkg-config checks for target locations. With these qt5 tools as uic/moc.. | ||
10 | cannot be used. | ||
11 | |||
12 | Upstream-Status: Inappropriate [embedded specific] | ||
13 | |||
14 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
15 | --- | ||
16 | configure.ac | 6 +++++- | ||
17 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index cdd831a..fdd192b 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -1133,11 +1133,15 @@ if test "${enable_qt}" = yes ; then | ||
24 | else | ||
25 | try_qt4=yes | ||
26 | fi | ||
27 | + AC_ARG_WITH(qt5nativesysroot, | ||
28 | + AC_HELP_STRING([--with-qt5nativesysroot=PATH], [prepend path - for native qt5 tools]), | ||
29 | + [QT5NATIVESYSROOT="$withval"], [QT5NATIVESYSROOT=""]) | ||
30 | + | ||
31 | if test "x${with_qt}" != "xqt4"; then | ||
32 | PKG_CHECK_MODULES_NOFAIL(QT, [Qt5Core Qt5Gui Qt5Network Qt5Svg Qt5PrintSupport]) | ||
33 | if test $pkg_failed = no; then | ||
34 | try_qt4=no | ||
35 | - QT5LOC=`$PKG_CONFIG --variable=host_bins Qt5Core` | ||
36 | + QT5LOC=${QT5NATIVESYSROOT}`$PKG_CONFIG --variable=host_bins Qt5Core` | ||
37 | if test "x${QT5LOC}" != "x"; then | ||
38 | UIC=${QT5LOC}/uic | ||
39 | MOC=${QT5LOC}/moc | ||
40 | -- | ||
41 | 2.14.3 | ||
42 | |||
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb b/meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb index 679b1a7e98..35c83fd23e 100644 --- a/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb +++ b/meta-oe/recipes-extended/gnuplot/gnuplot_6.0.3.bb | |||
@@ -18,10 +18,10 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz;name=a | |||
18 | SRC_URI:append:class-target = " \ | 18 | SRC_URI:append:class-target = " \ |
19 | file://0002-do-not-build-demos.patch \ | 19 | file://0002-do-not-build-demos.patch \ |
20 | file://0003-Use-native-tools-to-build-docs.patch \ | 20 | file://0003-Use-native-tools-to-build-docs.patch \ |
21 | file://0004-Add-configure-option-to-find-qt5-native-tools.patch \ | 21 | file://0004-Add-configure-option-to-find-qt5-and-qt6-native-tools.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | SRC_URI[archive.sha256sum] = "51f89bbab90f96d3543f95235368d188eb1e26eda296912256abcd3535bd4d84" | 24 | SRC_URI[archive.sha256sum] = "ec52e3af8c4083d4538152b3f13db47f6d29929a3f6ecec5365c834e77f251ab" |
25 | SRC_URI[qtplot.sha256sum] = "6df317183ff62cc82f3dcf88207a267cd6478cb5147f55d7530c94f1ad5f4132" | 25 | SRC_URI[qtplot.sha256sum] = "6df317183ff62cc82f3dcf88207a267cd6478cb5147f55d7530c94f1ad5f4132" |
26 | 26 | ||
27 | # for building docs (they deserve it) we need *doc2* tools native | 27 | # for building docs (they deserve it) we need *doc2* tools native |
@@ -39,14 +39,17 @@ do_install:class-native() { | |||
39 | 39 | ||
40 | PACKAGECONFIG ??= "cairo ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | 40 | PACKAGECONFIG ??= "cairo ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
41 | PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" | 41 | PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" |
42 | PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" | 42 | PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua lua-native" |
43 | PACKAGECONFIG[qt5] = "--with-qt --with-qt5nativesysroot=${STAGING_DIR_NATIVE},--without-qt,qtbase-native qtbase qtsvg qttools-native" | 43 | # qt5 requires meta-qt5 layer, qt6 requires meta-qt6 layer |
44 | PACKAGECONFIG[qt5] = "--with-qt=qt5 --with-qt5nativesysroot=${STAGING_DIR_NATIVE},,qtbase-native qtbase qtsvg qttools-native,,,qt6" | ||
45 | PACKAGECONFIG[qt6] = "--with-qt --with-qt6nativesysroot=${STAGING_DIR_NATIVE},,qtbase-native qtbase qtsvg qttools-native qt5compat,,,qt5" | ||
44 | PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11" | 46 | PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11" |
45 | 47 | ||
46 | EXTRA_OECONF = " \ | 48 | EXTRA_OECONF = " \ |
47 | --with-readline=${STAGING_LIBDIR}/.. \ | 49 | --with-readline=${STAGING_LIBDIR}/.. \ |
48 | --disable-wxwidgets \ | 50 | --disable-wxwidgets \ |
49 | --without-libcerf \ | 51 | --without-libcerf \ |
52 | ${@bb.utils.contains_any('PACKAGECONFIG', 'qt5 qt6', '', '--without-qt', d)} \ | ||
50 | " | 53 | " |
51 | 54 | ||
52 | do_compile:prepend() { | 55 | do_compile:prepend() { |