[arch-commits] Commit in quassel/trunk (5 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Jan 15 20:28:43 UTC 2022


    Date: Saturday, January 15, 2022 @ 20:28:43
  Author: arojas
Revision: 1104686

Update to 0.14.0

Modified:
  quassel/trunk/PKGBUILD
Deleted:
  quassel/trunk/0001-qtui-Set-desktop-file-name.patch
  quassel/trunk/0002-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch
  quassel/trunk/0003-Removed-mozilla-IRC-network-from-networks.ini.patch
  quassel/trunk/0004-This-commit-changes-the-official-Quassel-IRC-channel.patch

-----------------------------------------------------------------+
 0001-qtui-Set-desktop-file-name.patch                           |   46 ----
 0002-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch |   35 ---
 0003-Removed-mozilla-IRC-network-from-networks.ini.patch        |   24 --
 0004-This-commit-changes-the-official-Quassel-IRC-channel.patch |   99 ----------
 PKGBUILD                                                        |   36 +--
 5 files changed, 10 insertions(+), 230 deletions(-)

Deleted: 0001-qtui-Set-desktop-file-name.patch
===================================================================
--- 0001-qtui-Set-desktop-file-name.patch	2022-01-15 20:27:57 UTC (rev 1104685)
+++ 0001-qtui-Set-desktop-file-name.patch	2022-01-15 20:28:43 UTC (rev 1104686)
@@ -1,46 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Fri, 22 Mar 2019 22:37:22 +0100
-Subject: [PATCH] qtui: Set desktop file name
-
-The XCB platform plugin defaults the WM class to the executable name,
-which already matches our desktop file name. Unfortunately, the Wayland
-platform plugin prepends the inverted organization domain, resulting in
-an app ID of "org.quassel-irc.quasselclient", thus breaking the
-association.
-
-Set the desktop file name explicitly so the Wayland platform doesn't get
-confused.
----
- src/qtui/monoapplication.cpp | 3 +++
- src/qtui/qtuiapplication.cpp | 3 +++
- 2 files changed, 6 insertions(+)
-
-diff --git a/src/qtui/monoapplication.cpp b/src/qtui/monoapplication.cpp
-index 809f1147..457a5dce 100644
---- a/src/qtui/monoapplication.cpp
-+++ b/src/qtui/monoapplication.cpp
-@@ -32,6 +32,9 @@ MonolithicApplication::MonolithicApplication(int &argc, char **argv)
-     : QtUiApplication(argc, argv)
- {
-     Quassel::setRunMode(Quassel::Monolithic);
-+#if QT_VERSION >= 0x050700
-+    QGuiApplication::setDesktopFileName(Quassel::buildInfo().applicationName);
-+#endif
- }
- 
- 
-diff --git a/src/qtui/qtuiapplication.cpp b/src/qtui/qtuiapplication.cpp
-index e5b0b773..42e4bf77 100644
---- a/src/qtui/qtuiapplication.cpp
-+++ b/src/qtui/qtuiapplication.cpp
-@@ -92,6 +92,9 @@ QtUiApplication::QtUiApplication(int &argc, char **argv)
- #if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
-     QGuiApplication::setFallbackSessionManagementEnabled(false);
- #endif
-+#if QT_VERSION >= 0x050700
-+    QGuiApplication::setDesktopFileName(Quassel::buildInfo().clientApplicationName);
-+#endif
- }
- 
- 

Deleted: 0002-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch
===================================================================
--- 0002-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch	2022-01-15 20:27:57 UTC (rev 1104685)
+++ 0002-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch	2022-01-15 20:28:43 UTC (rev 1104686)
@@ -1,35 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Manuel Nickschas <sputnick at 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.
----
- src/common/types.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/common/types.h b/src/common/types.h
-index 467d9fb2..c4b9f364 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
- 

Deleted: 0003-Removed-mozilla-IRC-network-from-networks.ini.patch
===================================================================
--- 0003-Removed-mozilla-IRC-network-from-networks.ini.patch	2022-01-15 20:27:57 UTC (rev 1104685)
+++ 0003-Removed-mozilla-IRC-network-from-networks.ini.patch	2022-01-15 20:28:43 UTC (rev 1104686)
@@ -1,24 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Svetlana T <svetlana at members.fsf.org>
-Date: Sun, 8 Mar 2020 07:46:19 +1100
-Subject: [PATCH] Removed mozilla IRC network from networks.ini
-
-Mozilla IRC has shut down this month. Mozilla moved their chat services to matrix. I am removing it from the default preset now.
----
- data/networks.ini | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/data/networks.ini b/data/networks.ini
-index 5f8fa029..73afecb3 100644
---- a/data/networks.ini
-+++ b/data/networks.ini
-@@ -35,9 +35,6 @@ Servers=irc.gamesnet.net:6667
- [IRCnet]
- Servers=irc.ircnet.com:6667,open.ircnet.net:6666,irc.us.ircnet.net:6665,ircnet.netvision.net.il:6666,irc.tokyo.wide.ad.jp:6666,irc.freebsd.org.tw:6666,linz.irc.at:6666,vienna.irc.at:6666,ircnet.realroot.be:6666,irc.datacomm.ch:6664,irc.felk.cvut.cz:6667,random.ircd.de:6666,irc.dotsrc.org:6666,irc.ircnet.ee:6666,irc.cs.hut.fi:6667,ircnet.club-internet.fr:6666,atw.irc.hu:6667,irc.simnet.is:6660,irc.eutelia.it:6664,irc.eutelia.it:7000,irc.tin.it:6665,irc.apollo.lv:6666,irc.apollo.lv:7000,irc.uunet.nl:6660,irc.xs4all.nl:6660,irc.snt.utwente.nl:6660,irc.ifi.uio.no:6667,irc.pvv.ntnu.no:6667,lublin.irc.pl:6666,warszawa.irc.pl:6666,irc.ludd.luth.se:6661,irc.swipnet.se:6660,irc.swipnet.se:8000,irc.arnes.si:6666,irc.link.si:6666,irc.nextra.sk:6666,ircnet.demon.co.uk:6665,ircnet.eversible.com:6665,ircnet.choopa.net:6665
- 
--[Mozilla]
--Servers=irc.mozilla.org:+6697,irc.mozilla.org:6667
--
- [OFTC]
- Servers=irc.oftc.net:+6697,irc.oftc.net:6667
- 

Deleted: 0004-This-commit-changes-the-official-Quassel-IRC-channel.patch
===================================================================
--- 0004-This-commit-changes-the-official-Quassel-IRC-channel.patch	2022-01-15 20:27:57 UTC (rev 1104685)
+++ 0004-This-commit-changes-the-official-Quassel-IRC-channel.patch	2022-01-15 20:28:43 UTC (rev 1104686)
@@ -1,99 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: phuzion <398094+phuzion at users.noreply.github.com>
-Date: Wed, 19 May 2021 18:05:36 +0000
-Subject: [PATCH] This commit changes the official Quassel IRC channel,
- (#quassel) from the Freenode IRC network to the Libera IRC network in
- response to recent issues which resulted in the entire volunteer staff of
- Freenode stepping down.
-
-For more information about this situation, please read this:
-https://gist.github.com/joepie91/df80d8d36cd9d1bde46ba018af497409
----
- README.md             | 6 ++----
- data/networks.ini     | 7 +++++--
- src/qtui/aboutdlg.cpp | 2 +-
- 3 files changed, 8 insertions(+), 7 deletions(-)
-
-diff --git a/README.md b/README.md
-index c7b03dc2..6f54dfaa 100644
---- a/README.md
-+++ b/README.md
-@@ -47,31 +47,29 @@ documentation.
- 
- IRC is the preferred means of getting in touch with the developers.
- 
--The Quassel IRC Team can be contacted on **`Freenode/#quassel`**
--(or **`#quassel.de`**).  If you have trouble getting Quassel to connect,
--you can use [Freenode's webchat][help-freenode].
-+The Quassel IRC Team can be contacted on **`Libera Chat/#quassel`**
-+(or **`#quassel.de`**). 
- 
- We always welcome new users in our channels!
- 
- You can learn more and reach out to us in several ways:
- * [Visit our homepage][web-home]
- * [Submit and browse issues on the bugtracker][dev-bugs]
-   * GitHub issues are not used, but [pull requests][dev-pr-new] are accepted!
- * [Email the dev team - devel at quassel-irc.org][dev-email]
- 
- Thanks for reading,
- 
- ~ *The Quassel IRC Team*
- 
- [web-home]: https://quassel-irc.org
- [web-download]: https://quassel-irc.org/downloads
- [dev-bugs]: https://bugs.quassel-irc.org
- [dev-email]: mailto:devel at quassel-irc.org
- [dev-pr-new]: https://github.com/quassel/quassel/pull/new/master
- [docs-wiki]: https://bugs.quassel-irc.org/projects/quassel-irc/wiki
- [docs-wiki-unofficial-build]: https://bugs.quassel-irc.org/projects/quassel-irc/wiki#Unofficial-builds
- [docs-wiki-getstart]: https://bugs.quassel-irc.org/projects/quassel-irc/wiki#Getting-started
--[help-freenode]: https://webchat.freenode.net?channels=%23quassel
- [repo-changelog]: ChangeLog
- [ci-linux-badge]: https://travis-ci.org/quassel/quassel.svg?branch=master
- [ci-linux-status-page]: https://travis-ci.org/quassel/quassel/branches
-diff --git a/data/networks.ini b/data/networks.ini
-index 73afecb3..cf16313e 100644
---- a/data/networks.ini
-+++ b/data/networks.ini
-@@ -19,22 +19,25 @@ Servers=irc.efnet.info:6667,irc.efnet.org:6667,irc.inter.net.il:6667,irc.igs.ca:
- Servers=irc.enterthegame.com:6667
- 
- [Freenode]
--Default=Yes
--DefaultChannels=#quassel
- Servers=chat.freenode.net:+6697,chat.freenode.net:6667
- 
- [GalaxyNet]
- Servers=irc.galaxynet.org:6662,irc.galaxynet.org:7000,boston.ma.us.galaxynet.org:6661
- 
- [GameSurge]
- Servers=irc.gamesurge.net:6667,irc.eu.gamesurge.net:6667
- 
- [GamesNET]
- Servers=irc.gamesnet.net:6667
- 
- [IRCnet]
- Servers=irc.ircnet.com:6667,open.ircnet.net:6666,irc.us.ircnet.net:6665,ircnet.netvision.net.il:6666,irc.tokyo.wide.ad.jp:6666,irc.freebsd.org.tw:6666,linz.irc.at:6666,vienna.irc.at:6666,ircnet.realroot.be:6666,irc.datacomm.ch:6664,irc.felk.cvut.cz:6667,random.ircd.de:6666,irc.dotsrc.org:6666,irc.ircnet.ee:6666,irc.cs.hut.fi:6667,ircnet.club-internet.fr:6666,atw.irc.hu:6667,irc.simnet.is:6660,irc.eutelia.it:6664,irc.eutelia.it:7000,irc.tin.it:6665,irc.apollo.lv:6666,irc.apollo.lv:7000,irc.uunet.nl:6660,irc.xs4all.nl:6660,irc.snt.utwente.nl:6660,irc.ifi.uio.no:6667,irc.pvv.ntnu.no:6667,lublin.irc.pl:6666,warszawa.irc.pl:6666,irc.ludd.luth.se:6661,irc.swipnet.se:6660,irc.swipnet.se:8000,irc.arnes.si:6666,irc.link.si:6666,irc.nextra.sk:6666,ircnet.demon.co.uk:6665,ircnet.eversible.com:6665,ircnet.choopa.net:6665
- 
-+[Libera Chat]
-+Default=Yes
-+DefaultChannels=#quassel
-+Servers=irc.libera.chat:+6697,irc.libera.chat:6667
-+
- [OFTC]
- Servers=irc.oftc.net:+6697,irc.oftc.net:6667
- 
-diff --git a/src/qtui/aboutdlg.cpp b/src/qtui/aboutdlg.cpp
-index 6b21b0f5..a6c4da25 100644
---- a/src/qtui/aboutdlg.cpp
-+++ b/src/qtui/aboutdlg.cpp
-@@ -67,7 +67,7 @@ QString AboutDlg::about() const
-     QString res {tr("<b>A modern, distributed IRC Client</b><br><br>"
-              "©%1 by the Quassel Project<br>"
-              "<a href=\"https://quassel-irc.org\">https://quassel-irc.org</a><br>"
--             "<a href=\"irc://irc.freenode.net/quassel\">#quassel</a> on <a href=\"https://www.freenode.net\">Freenode</a><br><br>"
-+             "<a href=\"irc://irc.libera.chat/quassel\">#quassel</a> on <a href=\"https://libera.chat\">Libera Chat</a><br><br>"
-              "Quassel IRC is dual-licensed under <a href=\"https://www.gnu.org/licenses/gpl-2.0.txt\">GPLv2</a> and "
-                  "<a href=\"https://www.gnu.org/licenses/gpl-3.0.txt\">GPLv3</a>.<br>"
-              "<a href=\"https://api.kde.org/frameworks/breeze-icons/html\">Breeze icon theme</a> © Uri Herrera and others, licensed under the "

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-15 20:27:57 UTC (rev 1104685)
+++ PKGBUILD	2022-01-15 20:28:43 UTC (rev 1104686)
@@ -8,8 +8,8 @@
          'quassel-monolithic'
          'quassel-monolithic-qt'
          'quassel-common')
-pkgver=0.13.1
-pkgrel=9
+pkgver=0.14.0
+pkgrel=1
 pkgdesc="Next-generation distributed IRC client"
 arch=('x86_64')
 url="https://quassel-irc.org/"
@@ -16,40 +16,24 @@
 license=('GPL')
 makedepends=('qt5-base' 'qt5-tools' 'qt5-webengine' 'qca' 'qt5-script'
              'qt5-multimedia' 'knotifyconfig' 'sonnet' 'libldap' 'cmake'
-             'extra-cmake-modules' 'python' 'hicolor-icon-theme')
+             'extra-cmake-modules' 'python' 'hicolor-icon-theme' 'boost')
 source=(https://quassel-irc.org/pub/$pkgbase-$pkgver.tar.bz2
-        0001-qtui-Set-desktop-file-name.patch
-        0002-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch
-        0003-Removed-mozilla-IRC-network-from-networks.ini.patch
-        0004-This-commit-changes-the-official-Quassel-IRC-channel.patch
         $pkgbase.service
         $pkgbase.sysusers
         $pkgbase.tmpfiles
         $pkgbase.conf)
-sha256sums=('48efee9778743b1db9f44efb91d1c913104db01190c57f2ff57483c39a97e855'
-            '7a64214024dc047f35ec8af3c5d543853a5c89c0506766c69c2e1072ca8f5ec7'
-            'a1f874558f31c786b2fb483454d14e74a0dfc01382e1ba58bd610a65e02f4df4'
-            '0f92f3a51d2e3272d71b21a563047d7fae93bc2dd6676f405a2d63a20d48521b'
-            'f59d4138f5fc8c9e84b5626fcbe16eec21b22344dc6c28d784c511677de661e1'
+sha256sums=('bbd46ca429c1518480904c9e2b0ab3a0412fe197f3ce4879974e06ed3a0093a3'
             '5dbe20290f3361b9b7a74a52905137e76b656976febf2d31082a2276f9dcde7f'
             '3c72441a99e2668c6a8a751fa07beeb44f937576c8a1b5f615e4a55f841d93d9'
             '2afd4340c7713f6533e5d175a86b28fd118ecd907776c2b10925d1a4fb31cdca'
             'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
 
-prepare() {
-  cd $pkgbase-$pkgver
-  patch -Np1 -i ../0001-qtui-Set-desktop-file-name.patch
-  patch -Np1 -i ../0002-common-Disable-enum-type-stream-operators-for-Qt-5.1.patch
-  patch -Np1 -i ../0003-Removed-mozilla-IRC-network-from-networks.ini.patch
-  patch -Np1 -i ../0004-This-commit-changes-the-official-Quassel-IRC-channel.patch
-}
-
 _build() (
   cmake -H$pkgbase-$pkgver -Bbuild-$1 \
-    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=None \
+    -DENABLE_SHARED=OFF \
     -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-suggest-override" \
-    -DHAVE_SSL=ON \
     "${@:2}" \
     -Wno-dev
   cmake --build build-$1
@@ -124,7 +108,7 @@
   install -Dm644 $pkgbase-$pkgver/data/quasselclient.appdata.xml "$pkgdir/usr/share/metainfo/quasselclient.appdata.xml"
 
   # Split quassel-common
-  rm -r "$pkgdir"/usr/share/{icons,knotifications5,pixmaps,quassel}
+  rm -r "$pkgdir"/usr/share/{icons,knotifications5,quassel}
 }
 
 package_quassel-client-qt() {
@@ -137,7 +121,7 @@
   _install client-qt
 
   # Split quassel-common
-  rm -r "$pkgdir"/usr/share/{icons,pixmaps,quassel}
+  rm -r "$pkgdir"/usr/share/{icons,quassel}
 
   # Ignore package by AppStream to avoid duplicated IDs
   echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/quasselclient.desktop"
@@ -156,7 +140,7 @@
 
   # Split quassel-common
   mkdir "$srcdir/quassel-common"
-  mv "$pkgdir"/usr/share/{icons,knotifications5,pixmaps,quassel} \
+  mv "$pkgdir"/usr/share/{icons,knotifications5,quassel} \
      "$srcdir/quassel-common/"
 }
 
@@ -170,7 +154,7 @@
   _install monolithic-qt
 
   # Split quassel-common
-  rm -r "$pkgdir"/usr/share/{icons,pixmaps,quassel}
+  rm -r "$pkgdir"/usr/share/{icons,quassel}
 
   # Ignore package by AppStream to avoid duplicated IDs
   echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/quassel.desktop"



More information about the arch-commits mailing list