Accepting request 987951 from home:cronfox:branches:openSUSE:Factory
- Update to 0.14.0 * Database schema format change, no downgrade possible! * Don't silently fall back to unencrypted client/core communication if certificate cannot be loaded * Properly escape LDAP usernames to prevent injection or bypassing authentication * Strip format codes in ignore list rules (this might affect pre-existing rules) * Support many more features of IRCv3 * Improve window handling under Wayland * Support the HAProxy protocol * Provide a daemon providing Prometheus metrics * Deprecate local highlight settings (prefer synced ones instead) * Improve configuration of SASL PLAIN and EXTERNAL * Add button for strike-through format * Allow choosing the account to connect to via command-line option * Make database schema migration more robust * Make backlog fetch more efficient, allow for fetch-on-demand * Make syncing and other aspects of the core/client protocol more efficient * Many smaller fixes * Improve log output, documentation and UI help * Update translations, bundled iconsets and application icons - Added new BuildRequires boost-devel: New build dependency. - Added new Require update-alternatives: Fixing missing in post/pre. - Change logrotate config: Fix permission problem. - Dropped patches: * 0001-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch: Upstream support Qt 5.15. * quassel-set-required-libs-and-flags.patch: Remove Qt4 support. OBS-URL: https://build.opensuse.org/request/show/987951 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/quassel?expand=0&rev=93
This commit is contained in:
parent
efdd3d97d8
commit
1962a25e2a
@ -1,40 +0,0 @@
|
|||||||
From 7860b9699b6a20fdf6e61d89df28e86b1e9a4dc4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Manuel Nickschas <sputnick@quassel-irc.org>
|
|
||||||
Date: Tue, 7 Jan 2020 18:34:54 +0100
|
|
||||||
Subject: [PATCH] common: Disable enum type stream operators for Qt >= 5.14
|
|
||||||
|
|
||||||
Starting from version 5.14, Qt provides stream operators for enum
|
|
||||||
types, which collide with the ones we ship in types.h. Disable
|
|
||||||
Quassel's stream operators when compiling against Qt 5.14 or later.
|
|
||||||
|
|
||||||
Add a unit test that ensures that enum serialization honors the width
|
|
||||||
of the underlying type.
|
|
||||||
|
|
||||||
(original patch trimmed)
|
|
||||||
---
|
|
||||||
src/common/types.h | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/common/types.h b/src/common/types.h
|
|
||||||
index 467d9fb..c4b9f36 100644
|
|
||||||
--- a/src/common/types.h
|
|
||||||
+++ b/src/common/types.h
|
|
||||||
@@ -140,6 +140,7 @@ Q_DECLARE_METATYPE(QHostAddress)
|
|
||||||
typedef QList<MsgId> MsgIdList;
|
|
||||||
typedef QList<BufferId> BufferIdList;
|
|
||||||
|
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
|
|
||||||
/**
|
|
||||||
* Catch-all stream serialization operator for enum types.
|
|
||||||
*
|
|
||||||
@@ -169,6 +170,7 @@ QDataStream &operator>>(QDataStream &in, T &value) {
|
|
||||||
value = static_cast<T>(v);
|
|
||||||
return in;
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
// Exceptions
|
|
||||||
|
|
||||||
--
|
|
||||||
2.24.1
|
|
||||||
|
|
@ -8,6 +8,6 @@
|
|||||||
missingok
|
missingok
|
||||||
copytruncate
|
copytruncate
|
||||||
postrotate
|
postrotate
|
||||||
chmod 644 /var/log/quasselcore
|
su quasselcore quasselcore
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:48efee9778743b1db9f44efb91d1c913104db01190c57f2ff57483c39a97e855
|
|
||||||
size 4289663
|
|
3
quassel-0.14.0.tar.bz2
Normal file
3
quassel-0.14.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bbd46ca429c1518480904c9e2b0ab3a0412fe197f3ce4879974e06ed3a0093a3
|
||||||
|
size 4774297
|
@ -1,5 +1,2 @@
|
|||||||
addFilter("incoherent-init-script-name quasselcore")
|
|
||||||
addFilter("incoherent-logrotate-file /etc/logrotate.d/quasselcore")
|
addFilter("incoherent-logrotate-file /etc/logrotate.d/quasselcore")
|
||||||
addFilter("explicit-lib-dependency libqt5_sql_backend")
|
addFilter("explicit-lib-dependency libqt5_sql_backend")
|
||||||
addFilter("non-standard-uid /var/log/quassel quasslecore")
|
|
||||||
addFilter("non-standard-uid /var/lib/quasselcore quasslecore")
|
|
@ -1,13 +0,0 @@
|
|||||||
Index: quassel-0.12.5/CMakeLists.txt
|
|
||||||
===================================================================
|
|
||||||
--- quassel-0.12.5.orig/CMakeLists.txt
|
|
||||||
+++ quassel-0.12.5/CMakeLists.txt
|
|
||||||
@@ -465,6 +465,8 @@ endif()
|
|
||||||
# a small test program checking the defines. This works for both Qt4 and Qt5.
|
|
||||||
cmake_push_check_state(RESET)
|
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${QT_INCLUDES} ${Qt5Core_INCLUDE_DIRS})
|
|
||||||
+set(CMAKE_REQUIRED_FLAGS ${Qt5Core_EXECUTABLE_COMPILE_FLAGS})
|
|
||||||
+set(CMAKE_REQUIRED_LIBRARIES ${Qt5Core_LIBRARIES})
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}")
|
|
||||||
|
|
||||||
if (USE_QT5 AND Qt5_POSITION_INDEPENDENT_CODE)
|
|
@ -1,4 +1,32 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 12 11:09:50 UTC 2022 - Cronfox <cronfox@erinn.network>
|
||||||
|
|
||||||
|
- Update to 0.14.0
|
||||||
|
* Database schema format change, no downgrade possible!
|
||||||
|
* Don't silently fall back to unencrypted client/core communication if certificate cannot be loaded
|
||||||
|
* Properly escape LDAP usernames to prevent injection or bypassing authentication
|
||||||
|
* Strip format codes in ignore list rules (this might affect pre-existing rules)
|
||||||
|
* Support many more features of IRCv3
|
||||||
|
* Improve window handling under Wayland
|
||||||
|
* Support the HAProxy protocol
|
||||||
|
* Provide a daemon providing Prometheus metrics
|
||||||
|
* Deprecate local highlight settings (prefer synced ones instead)
|
||||||
|
* Improve configuration of SASL PLAIN and EXTERNAL
|
||||||
|
* Add button for strike-through format
|
||||||
|
* Allow choosing the account to connect to via command-line option
|
||||||
|
* Make database schema migration more robust
|
||||||
|
* Make backlog fetch more efficient, allow for fetch-on-demand
|
||||||
|
* Make syncing and other aspects of the core/client protocol more efficient
|
||||||
|
* Many smaller fixes
|
||||||
|
* Improve log output, documentation and UI help
|
||||||
|
* Update translations, bundled iconsets and application icons
|
||||||
|
- Added new BuildRequires boost-devel: New build dependency.
|
||||||
|
- Added new Require update-alternatives: Fixing missing in post/pre.
|
||||||
|
- Change logrotate config: Fix permission problem.
|
||||||
|
- Dropped patches:
|
||||||
|
* 0001-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch: Upstream support Qt 5.15.
|
||||||
|
* quassel-set-required-libs-and-flags.patch: Remove Qt4 support.
|
||||||
|
-------------------------------------------------------------------
|
||||||
Mon Nov 23 09:05:32 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
Mon Nov 23 09:05:32 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||||
|
|
||||||
- Spec cleanup
|
- Spec cleanup
|
||||||
|
30
quassel.spec
30
quassel.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package quassel
|
# spec file for package quassel
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,13 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define realver 0.13.1
|
%define realver 0.14.0
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
Name: quassel
|
Name: quassel
|
||||||
Version: 0.13.1
|
Version: 0.14.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Distributed IRC client
|
Summary: Distributed IRC client
|
||||||
License: GPL-2.0-only OR GPL-3.0-only
|
License: GPL-2.0-only OR GPL-3.0-only
|
||||||
@ -33,10 +33,7 @@ Source1: service.%{name}core
|
|||||||
Source2: sysconfig.%{name}core
|
Source2: sysconfig.%{name}core
|
||||||
Source3: logrotate.%{name}core
|
Source3: logrotate.%{name}core
|
||||||
Source5: quassel-rpmlintrc
|
Source5: quassel-rpmlintrc
|
||||||
# PATCH-FIX-SUSE: Set the correct libraries and compiler flags in order to use qglobal.h in check_cxx_source_compiles function
|
BuildRequires: boost-devel
|
||||||
Patch0: quassel-set-required-libs-and-flags.patch
|
|
||||||
# PATCH-FIX-UPSTREAM: Fix build with Qt 5.14
|
|
||||||
Patch1: 0001-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
@ -51,7 +48,7 @@ BuildRequires: cmake(KF5TextWidgets)
|
|||||||
BuildRequires: cmake(KF5XmlGui)
|
BuildRequires: cmake(KF5XmlGui)
|
||||||
BuildRequires: cmake(LibsnoreQt5) >= 0.7
|
BuildRequires: cmake(LibsnoreQt5) >= 0.7
|
||||||
BuildRequires: cmake(Qca-qt5)
|
BuildRequires: cmake(Qca-qt5)
|
||||||
BuildRequires: cmake(Qt5Core) >= 5.2.0
|
BuildRequires: cmake(Qt5Core) >= 5.5.0
|
||||||
BuildRequires: cmake(Qt5Gui)
|
BuildRequires: cmake(Qt5Gui)
|
||||||
BuildRequires: cmake(Qt5LinguistTools)
|
BuildRequires: cmake(Qt5LinguistTools)
|
||||||
BuildRequires: cmake(Qt5Multimedia)
|
BuildRequires: cmake(Qt5Multimedia)
|
||||||
@ -93,6 +90,8 @@ This is the quassel standalone client.
|
|||||||
Summary: KDE client for the Quassel IRC client
|
Summary: KDE client for the Quassel IRC client
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name}-base = %{version}
|
Requires: %{name}-base = %{version}
|
||||||
|
Requires: update-alternatives
|
||||||
|
Requires(post): update-alternatives
|
||||||
Provides: %{name}_ui = %{version}
|
Provides: %{name}_ui = %{version}
|
||||||
|
|
||||||
%description client
|
%description client
|
||||||
@ -107,6 +106,8 @@ This is the quassel KDE client only.
|
|||||||
Summary: Qt5 client for the Quassel IRC client
|
Summary: Qt5 client for the Quassel IRC client
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Requires: %{name}-base = %{version}
|
Requires: %{name}-base = %{version}
|
||||||
|
Requires: update-alternatives
|
||||||
|
Requires(post): update-alternatives
|
||||||
Provides: %{name}_ui = %{version}
|
Provides: %{name}_ui = %{version}
|
||||||
|
|
||||||
%description client-qt5
|
%description client-qt5
|
||||||
@ -156,10 +157,10 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/common/quassel.cpp
|
|||||||
FAKE_BUILDTIME=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
|
FAKE_BUILDTIME=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
|
||||||
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/common/quassel.cpp
|
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/common/quassel.cpp
|
||||||
|
|
||||||
%cmake_kf5 -d build -- -DUSE_QT5=ON -DWITH_WEBENGINE=ON -DWITH_KDE=ON
|
%cmake_kf5 -d build -- -DUSE_QT5=ON -DWITH_WEBENGINE=ON -DWITH_KDE=ON -DENABLE_SHARED=OFF
|
||||||
%cmake_build
|
%cmake_build
|
||||||
cd ..
|
cd ..
|
||||||
%cmake_kf5 -d build-qt5 -- -DUSE_QT5=ON -DWITH_WEBENGINE=ON -DWITH_KDE=OFF
|
%cmake_kf5 -d build-qt5 -- -DUSE_QT5=ON -DWITH_WEBENGINE=ON -DWITH_KDE=OFF -DENABLE_SHARED=OFF
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -184,6 +185,11 @@ install -D -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.quasselcore
|
|||||||
install -d -m 751 %{buildroot}%{_localstatedir}/log/%{name}
|
install -d -m 751 %{buildroot}%{_localstatedir}/log/%{name}
|
||||||
install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}core
|
install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}core
|
||||||
|
|
||||||
|
# actions svg icon dir is named incorrectly as 'action'
|
||||||
|
if [ -d %{buildroot}%{_datadir}/icons/hicolor/scalable/action ]; then
|
||||||
|
mv %{buildroot}%{_datadir}/icons/hicolor/scalable/action %{buildroot}%{_datadir}/icons/hicolor/scalable/actions
|
||||||
|
fi
|
||||||
|
|
||||||
# rewrite env shebang on scripts to normal shebang
|
# rewrite env shebang on scripts to normal shebang
|
||||||
sed -i '1{
|
sed -i '1{
|
||||||
s,^#!%{_bindir}/env *bash *$,#!/bin/bash,
|
s,^#!%{_bindir}/env *bash *$,#!/bin/bash,
|
||||||
@ -251,10 +257,8 @@ fi
|
|||||||
|
|
||||||
%files base
|
%files base
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_datadir}/applications/%{name}client.desktop
|
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
|
||||||
%dir %{_datadir}/%{name}
|
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
%{_datadir}/applications/%{name}client.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||||
%{_datadir}/knotifications5/%{name}.notifyrc
|
%{_datadir}/knotifications5/%{name}.notifyrc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user