Lines 36-41
Patch13: lazarus-customform-sigsegv-fix.patch
Link Here
|
36 |
Patch14: lazarus_fpc_3.2.3-alt.patch |
36 |
Patch14: lazarus_fpc_3.2.3-alt.patch |
37 |
|
37 |
|
38 |
BuildRequires(pre): qt5-base-devel |
38 |
BuildRequires(pre): qt5-base-devel |
|
|
39 |
BuildRequires(pre): qt6-base-devel |
39 |
BuildRequires(pre): rpm-build-python3 |
40 |
BuildRequires(pre): rpm-build-python3 |
40 |
BuildRequires: fpc >= 3.2.2 fpc-utils glibc-devel libgtk+2-devel libXi-devel desktop-file-utils |
41 |
BuildRequires: fpc >= 3.2.2 fpc-utils glibc-devel libgtk+2-devel libXi-devel desktop-file-utils |
41 |
BuildRequires: libXext-devel libXtst-devel libGL-devel libGLU-devel libode-devel |
42 |
BuildRequires: libXext-devel libXtst-devel libGL-devel libGLU-devel libode-devel |
Lines 127-132
Requires: qt5pas = %EVR
Link Here
|
127 |
The qt5pas-devel package contains libraries and header files for |
128 |
The qt5pas-devel package contains libraries and header files for |
128 |
developing applications that use qt5pas. |
129 |
developing applications that use qt5pas. |
129 |
|
130 |
|
|
|
131 |
%package -n qt6pas |
132 |
Summary: Qt6 bindings for Pascal |
133 |
Group: Development/Other |
134 |
|
135 |
%description -n qt6pas |
136 |
Qt6 bindings for Pascal from Lazarus. |
137 |
|
138 |
%package -n qt6pas-devel |
139 |
Summary: Development files for qt5pas |
140 |
Group: Development/Other |
141 |
Requires: qt6pas = %EVR |
142 |
|
143 |
%description -n qt6pas-devel |
144 |
The qt6pas-devel package contains libraries and header files for |
145 |
developing applications that use qt6pas. |
146 |
|
130 |
%prep |
147 |
%prep |
131 |
%setup |
148 |
%setup |
132 |
%patch0 -p1 |
149 |
%patch0 -p1 |
Lines 229-234
pushd lcl/interfaces/qt5/cbindings/
Link Here
|
229 |
%make_build |
246 |
%make_build |
230 |
popd |
247 |
popd |
231 |
|
248 |
|
|
|
249 |
# Build Qt6 bindings |
250 |
pushd lcl/interfaces/qt6/cbindings/ |
251 |
%qmake_qt6 |
252 |
%make_build |
253 |
popd |
254 |
|
232 |
export LCL_PLATFORM= |
255 |
export LCL_PLATFORM= |
233 |
#export LCL_PLATFORM=gtk2 |
256 |
#export LCL_PLATFORM=gtk2 |
234 |
#export FPCDIR=%%_libdir/fpc |
257 |
#export FPCDIR=%%_libdir/fpc |
Lines 293-299
echo -e "begin\nend." > %buildroot$LAZARUSDIR/compilertest.pas
Link Here
|
293 |
pushd lcl/interfaces/qt5/cbindings/ |
316 |
pushd lcl/interfaces/qt5/cbindings/ |
294 |
%makeinstall_std INSTALL_ROOT=%buildroot |
317 |
%makeinstall_std INSTALL_ROOT=%buildroot |
295 |
popd |
318 |
popd |
|
|
319 |
pushd lcl/interfaces/qt6/cbindings/ |
320 |
%makeinstall_std INSTALL_ROOT=%buildroot |
321 |
popd |
296 |
rm -rf %buildroot$LAZARUSDIR/lcl/interfaces/qt5/cbindings |
322 |
rm -rf %buildroot$LAZARUSDIR/lcl/interfaces/qt5/cbindings |
|
|
323 |
rm -rf %buildroot$LAZARUSDIR/lcl/interfaces/qt6/cbindings |
297 |
rm -rf %buildroot$LAZARUSDIR/lazarus.app |
324 |
rm -rf %buildroot$LAZARUSDIR/lazarus.app |
298 |
|
325 |
|
299 |
# Make executable symlink to selected program |
326 |
# Make executable symlink to selected program |
Lines 321-326
subst 's|#!.*python$|#!%__python3|' %buildroot%_libdir/lazarus/components/GLScen
Link Here
|
321 |
%dir %_datadir/fpcsrc/rtl/inc |
348 |
%dir %_datadir/fpcsrc/rtl/inc |
322 |
%dir %_datadir/fpcsrc/packages/fcl-base |
349 |
%dir %_datadir/fpcsrc/packages/fcl-base |
323 |
%exclude %_libdir/libQt5Pas.so* |
350 |
%exclude %_libdir/libQt5Pas.so* |
|
|
351 |
%exclude %_libdir/libQt6Pas.so* |
324 |
%_iconsdir/hicolor/48x48/mimetypes/*.png |
352 |
%_iconsdir/hicolor/48x48/mimetypes/*.png |
325 |
%exclude %_libdir/lazarus/components/fortes4lazarus |
353 |
%exclude %_libdir/lazarus/components/fortes4lazarus |
326 |
%exclude %_libdir/lazarus/components/fpspreadsheet |
354 |
%exclude %_libdir/lazarus/components/fpspreadsheet |
Lines 367-372
subst 's|#!.*python$|#!%__python3|' %buildroot%_libdir/lazarus/components/GLScen
Link Here
|
367 |
%files -n qt5pas-devel |
395 |
%files -n qt5pas-devel |
368 |
%_libdir/libQt5Pas.so |
396 |
%_libdir/libQt5Pas.so |
369 |
|
397 |
|
|
|
398 |
%files -n qt6pas |
399 |
%doc lcl/interfaces/qt6/cbindings/COPYING.TXT |
400 |
%doc lcl/interfaces/qt6/cbindings/README.TXT |
401 |
%_libdir/libQt6Pas.so.* |
402 |
|
403 |
%files -n qt6pas-devel |
404 |
%_libdir/libQt6Pas.so |
405 |
|
370 |
%changelog |
406 |
%changelog |
371 |
* Sat Dec 14 2024 Artem Kurashov <saahriktu@altlinux.org> 1:3.6-alt2 |
407 |
* Sat Dec 14 2024 Artem Kurashov <saahriktu@altlinux.org> 1:3.6-alt2 |
372 |
- Fixed for build with fpc 3.2.3. |
408 |
- Fixed for build with fpc 3.2.3. |