ALT Linux Bugzilla
– Attachment 17509 Details for
Bug 49932
Добавить подпакет qt6pas
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
patch for lazarus.spec adding qt6pas subpackage
lazarus-qt6pas.patch (text/plain), 2.61 KB, created by
Max Pozdeev
on 2025-01-07 18:38:06 MSK
(
hide
)
Description:
patch for lazarus.spec adding qt6pas subpackage
Filename:
MIME Type:
Creator:
Max Pozdeev
Created:
2025-01-07 18:38:06 MSK
Size:
2.61 KB
patch
obsolete
>diff --git a/lazarus.spec b/lazarus.spec >index 1529d6a3a9..ff42c09898 100644 >--- a/lazarus.spec >+++ b/lazarus.spec >@@ -36,6 +36,7 @@ Patch13: lazarus-customform-sigsegv-fix.patch > Patch14: lazarus_fpc_3.2.3-alt.patch > > BuildRequires(pre): qt5-base-devel >+BuildRequires(pre): qt6-base-devel > BuildRequires(pre): rpm-build-python3 > BuildRequires: fpc >= 3.2.2 fpc-utils glibc-devel libgtk+2-devel libXi-devel desktop-file-utils > BuildRequires: libXext-devel libXtst-devel libGL-devel libGLU-devel libode-devel >@@ -127,6 +128,22 @@ Requires: qt5pas = %EVR > The qt5pas-devel package contains libraries and header files for > developing applications that use qt5pas. > >+%package -n qt6pas >+Summary: Qt6 bindings for Pascal >+Group: Development/Other >+ >+%description -n qt6pas >+Qt6 bindings for Pascal from Lazarus. >+ >+%package -n qt6pas-devel >+Summary: Development files for qt5pas >+Group: Development/Other >+Requires: qt6pas = %EVR >+ >+%description -n qt6pas-devel >+The qt6pas-devel package contains libraries and header files for >+developing applications that use qt6pas. >+ > %prep > %setup > %patch0 -p1 >@@ -229,6 +246,12 @@ pushd lcl/interfaces/qt5/cbindings/ > %make_build > popd > >+# Build Qt6 bindings >+pushd lcl/interfaces/qt6/cbindings/ >+ %qmake_qt6 >+ %make_build >+popd >+ > export LCL_PLATFORM= > #export LCL_PLATFORM=gtk2 > #export FPCDIR=%%_libdir/fpc >@@ -293,7 +316,11 @@ echo -e "begin\nend." > %buildroot$LAZARUSDIR/compilertest.pas > pushd lcl/interfaces/qt5/cbindings/ > %makeinstall_std INSTALL_ROOT=%buildroot > popd >+pushd lcl/interfaces/qt6/cbindings/ >+ %makeinstall_std INSTALL_ROOT=%buildroot >+popd > rm -rf %buildroot$LAZARUSDIR/lcl/interfaces/qt5/cbindings >+rm -rf %buildroot$LAZARUSDIR/lcl/interfaces/qt6/cbindings > rm -rf %buildroot$LAZARUSDIR/lazarus.app > > # Make executable symlink to selected program >@@ -321,6 +348,7 @@ subst 's|#!.*python$|#!%__python3|' %buildroot%_libdir/lazarus/components/GLScen > %dir %_datadir/fpcsrc/rtl/inc > %dir %_datadir/fpcsrc/packages/fcl-base > %exclude %_libdir/libQt5Pas.so* >+%exclude %_libdir/libQt6Pas.so* > %_iconsdir/hicolor/48x48/mimetypes/*.png > %exclude %_libdir/lazarus/components/fortes4lazarus > %exclude %_libdir/lazarus/components/fpspreadsheet >@@ -367,6 +395,14 @@ subst 's|#!.*python$|#!%__python3|' %buildroot%_libdir/lazarus/components/GLScen > %files -n qt5pas-devel > %_libdir/libQt5Pas.so > >+%files -n qt6pas >+%doc lcl/interfaces/qt6/cbindings/COPYING.TXT >+%doc lcl/interfaces/qt6/cbindings/README.TXT >+%_libdir/libQt6Pas.so.* >+ >+%files -n qt6pas-devel >+%_libdir/libQt6Pas.so >+ > %changelog > * Sat Dec 14 2024 Artem Kurashov <saahriktu@altlinux.org> 1:3.6-alt2 > - Fixed for build with fpc 3.2.3.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 49932
: 17509