Accepting request 1177940 from devel:languages:pascal

OBS-URL: https://build.opensuse.org/request/show/1177940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lazarus?expand=0&rev=26
This commit is contained in:
Ana Guerrero 2024-06-03 15:41:28 +00:00 committed by Git OBS Bridge
commit 0623d9bf61
5 changed files with 13 additions and 84 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:69f43f0a10b9e09deea5f35094c73b84464b82d3f40d8a2fcfcb5a5ab03c6edf
size 87832941

3
lazarus-3.4-0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b27c0feabf90ef49034acffb71947d3ee77d4ccf597d348473f5c5a2485e80ff
size 87535234

View File

@ -1,78 +0,0 @@
From b71e3074a333b1573c6d662930b4689d92f5962e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=BDeljan=20Rikalo?= <zeljko@lazarus-ide.org>
Date: Sun, 14 Apr 2024 13:19:52 +0200
Subject: [PATCH] Qt6: removed deprecated QString::IsSimpleText() from
cbindings. issue #40901
---
lcl/interfaces/qt6/cbindings/Qt6Pas.pro | 8 ++++----
lcl/interfaces/qt6/cbindings/src/qstring_c.cpp | 5 -----
lcl/interfaces/qt6/cbindings/src/qstring_c.h | 1 -
lcl/interfaces/qt6/qt62.pas | 1 -
4 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/lcl/interfaces/qt6/cbindings/Qt6Pas.pro b/lcl/interfaces/qt6/cbindings/Qt6Pas.pro
index bb4dd573cfd..c6e7419f18e 100644
--- a/lcl/interfaces/qt6/cbindings/Qt6Pas.pro
+++ b/lcl/interfaces/qt6/cbindings/Qt6Pas.pro
@@ -10,13 +10,13 @@
-# Binding Release Version 6.2.7 against Qt6 6.2 LTS release.
+# Binding Release Version 6.2.8 against Qt6 6.2 LTS release.
-win32:VERSION = 6.2.7.0
-else:VERSION = 6.2.7
+win32:VERSION = 6.2.8.0
+else:VERSION = 6.2.8
VER_MAJ = 6
VER_MIN = 2
-VER_PAT = 7
+VER_PAT = 8
win32:VERSION_PE_HEADER = 6.2
QT += gui printsupport
diff --git a/lcl/interfaces/qt6/cbindings/src/qstring_c.cpp b/lcl/interfaces/qt6/cbindings/src/qstring_c.cpp
index 9cb602ebc08..d3d5058480f 100644
--- a/lcl/interfaces/qt6/cbindings/src/qstring_c.cpp
+++ b/lcl/interfaces/qt6/cbindings/src/qstring_c.cpp
@@ -1073,11 +1073,6 @@ bool QString_isNull(QStringH handle)
return (bool) ((QString *)handle)->isNull();
}
-bool QString_isSimpleText(QStringH handle)
-{
- return (bool) ((QString *)handle)->isSimpleText();
-}
-
bool QString_isRightToLeft(QStringH handle)
{
return (bool) ((QString *)handle)->isRightToLeft();
diff --git a/lcl/interfaces/qt6/cbindings/src/qstring_c.h b/lcl/interfaces/qt6/cbindings/src/qstring_c.h
index 6f0b6715207..377ef5a133a 100644
--- a/lcl/interfaces/qt6/cbindings/src/qstring_c.h
+++ b/lcl/interfaces/qt6/cbindings/src/qstring_c.h
@@ -166,7 +166,6 @@ C_EXPORT void QString_push_back2(QStringH handle, PWideString s);
C_EXPORT void QString_push_front(QStringH handle, PWideChar c);
C_EXPORT void QString_push_front2(QStringH handle, PWideString s);
C_EXPORT bool QString_isNull(QStringH handle);
-C_EXPORT bool QString_isSimpleText(QStringH handle);
C_EXPORT bool QString_isRightToLeft(QStringH handle);
C_EXPORT void QString_chopped(QStringH handle, int len, PWideString retval);
C_EXPORT void QString_first(QStringH handle, int n, PWideString retval);
diff --git a/lcl/interfaces/qt6/qt62.pas b/lcl/interfaces/qt6/qt62.pas
index 9def6242a2a..bef59bfc9bc 100644
--- a/lcl/interfaces/qt6/qt62.pas
+++ b/lcl/interfaces/qt6/qt62.pas
@@ -3214,7 +3214,6 @@ procedure QString_push_back(handle: QStringH; s: PWideString); cdecl; external Q
procedure QString_push_front(handle: QStringH; c: PWideChar); cdecl; external Qt6PasLib name 'QString_push_front';
procedure QString_push_front(handle: QStringH; s: PWideString); cdecl; external Qt6PasLib name 'QString_push_front2';
function QString_isNull(handle: QStringH): Boolean; cdecl; external Qt6PasLib name 'QString_isNull';
-function QString_isSimpleText(handle: QStringH): Boolean; cdecl; external Qt6PasLib name 'QString_isSimpleText';
function QString_isRightToLeft(handle: QStringH): Boolean; cdecl; external Qt6PasLib name 'QString_isRightToLeft';
function QString_Create(size: Integer; AnonParam2: QtInitialization): QStringH; cdecl; external Qt6PasLib name 'QString_Create8';
procedure QString_chopped(handle: QStringH; len: integer; retval: PWideString); cdecl; external Qt6PasLib name 'QString_chopped';
--
GitLab

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri May 31 10:04:48 UTC 2024 - PragmaticLinux <info@pragmaticlinux.com>
- Update to 3.4
* This is a bugfix release for which no seperate release notes were
published. The previous release notes still apply:
https://wiki.freepascal.org/Lazarus_3.0_release_notes
- Removed lazarus-libqt6_fix.patch because this is fixed in Lazarus 3.4.
-------------------------------------------------------------------
Tue May 14 20:19:34 UTC 2024 - PragmaticLinux <info@pragmaticlinux.com>

View File

@ -19,7 +19,7 @@
%define qt5_sover 1
%define qt6_sover 6
Name: lazarus
Version: 3.2
Version: 3.4
Release: 0
# Please note that the LGPL is modified and this is not multi-licensed, but each component has a separate license chosen.
Summary: FreePascal RAD IDE and Component Library
@ -34,8 +34,6 @@ Source90: %{name}-rpmlintrc
Patch0: %{name}-Makefile_patch.diff
# PATCH-FIX-OPENSUSE lazarus.desktop.patch -- Fix desktop file
Patch1: lazarus.desktop.patch
# PATCH-FIX-OPENSUSE lazarus-libqt6_fix.patch -- Fix libqt6pas per upstream issue #40901
Patch2: lazarus-libqt6_fix.patch
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: fpc >= 3.0.0