pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/konsole konsole: update to 20.04.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ab4fa407e52
branches:  trunk
changeset: 448169:8ab4fa407e52
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Mar 06 04:47:37 2021 +0000

description:
konsole: update to 20.04.1

qt5/kf5 version.

diffstat:

 x11/konsole/Makefile                          |   26 ++-
 x11/konsole/PLIST                             |  148 +++++++++++++++++++------
 x11/konsole/distinfo                          |   12 +-
 x11/konsole/patches/patch-src_ProcessInfo.cpp |   70 +++++------
 4 files changed, 164 insertions(+), 92 deletions(-)

diffs (truncated from 352 to 300 lines):

diff -r c0ceedcaf37c -r 8ab4fa407e52 x11/konsole/Makefile
--- a/x11/konsole/Makefile      Sat Mar 06 04:47:21 2021 +0000
+++ b/x11/konsole/Makefile      Sat Mar 06 04:47:37 2021 +0000
@@ -1,16 +1,22 @@
-# $NetBSD: Makefile,v 1.51 2021/01/01 08:24:59 ryoon Exp $
+# $NetBSD: Makefile,v 1.52 2021/03/06 04:47:37 markd Exp $
+
+DISTNAME=      konsole-${KAPPSVER}
+CATEGORIES=    x11
 
-DISTNAME=      konsole-${_KDE_VERSION}
-PKGREVISION=   24
-CATEGORIES=    x11
+HOMEPAGE=      http://kde.org/applications/system/konsole/
 COMMENT=       Terminal emulator for the K Desktop Environment
+LICENSE=       gnu-gpl-v2 AND gnu-lgpl-v2 AND gnu-fdl-v1.2
+
+.include "../../meta-pkgs/kde/applications.mk"
 
-.include "../../meta-pkgs/kde4/Makefile.kde4"
+BUILD_DEPENDS+=        kdoctools>=5.19.0:../../devel/kdoctools
+
+USE_TOOLS+=    msgmerge
 
-.include "../../meta-pkgs/kde4/kde4.mk"
-
+.include "../../devel/knotifyconfig/buildlink3.mk"
+.include "../../devel/kpty/buildlink3.mk"
+.include "../../net/knewstuff/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-.include "../../x11/kdelibs4/buildlink3.mk"
-.include "../../x11/kde-baseapps4/buildlink3.mk"
-
+.include "../../x11/kdelibs4support/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c0ceedcaf37c -r 8ab4fa407e52 x11/konsole/PLIST
--- a/x11/konsole/PLIST Sat Mar 06 04:47:21 2021 +0000
+++ b/x11/konsole/PLIST Sat Mar 06 04:47:37 2021 +0000
@@ -1,40 +1,112 @@
-@comment $NetBSD: PLIST,v 1.4 2014/11/13 10:53:49 markd Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/03/06 04:47:37 markd Exp $
 bin/konsole
 bin/konsoleprofile
-lib/kde4/libkonsolepart.so
-lib/libkdeinit4_konsole.so
-lib/libkonsoleprivate.so
-share/applications/kde4/konsole.desktop
-share/doc/kde/HTML/en/konsole/common
-share/doc/kde/HTML/en/konsole/draganddrop-contextmenu.png
-share/doc/kde/HTML/en/konsole/index.cache.bz2
-share/doc/kde/HTML/en/konsole/index.docbook
-share/kde/apps/kconf_update/konsole-2.10.0-remove-menuindex-from-profiles.sh
-share/kde/apps/kconf_update/konsole-2.9.0-colorscheme-bold-key.sh
-share/kde/apps/kconf_update/konsole-2.9.0-global-options.sh
-share/kde/apps/kconf_update/konsole.upd
-share/kde/apps/kconf_update/konsole_remove_background_mode.upd
-share/kde/apps/konsole/BlackOnLightYellow.colorscheme
-share/kde/apps/konsole/BlackOnRandomLight.colorscheme
-share/kde/apps/konsole/BlackOnWhite.colorscheme
-share/kde/apps/konsole/BlueOnBlack.colorscheme
-share/kde/apps/konsole/DarkPastels.colorscheme
-share/kde/apps/konsole/GreenOnBlack.colorscheme
-share/kde/apps/konsole/Linux.colorscheme
-share/kde/apps/konsole/README.KeyTab
-share/kde/apps/konsole/RedOnBlack.colorscheme
-share/kde/apps/konsole/Shell.profile
-share/kde/apps/konsole/Solarized.colorscheme
-share/kde/apps/konsole/SolarizedLight.colorscheme
-share/kde/apps/konsole/WhiteOnBlack.colorscheme
-share/kde/apps/konsole/default.keytab
-share/kde/apps/konsole/konsole.notifyrc
-share/kde/apps/konsole/konsoleui.rc
-share/kde/apps/konsole/linux.keytab
-share/kde/apps/konsole/partui.rc
-share/kde/apps/konsole/sessionui.rc
-share/kde/apps/konsole/solaris.keytab
-share/kde4/services/ServiceMenus/konsolehere.desktop
-share/kde4/services/ServiceMenus/konsolerun.desktop
-share/kde4/services/konsolepart.desktop
-share/kde4/servicetypes/terminalemulator.desktop
+lib/libkdeinit5_konsole.so
+lib/libkonsoleprivate.so.20
+lib/libkonsoleprivate.so.${PKGVERSION}
+qt5/plugins/konsolepart.so
+share/applications/org.kde.konsole.desktop
+share/doc/HTML/ca/konsole/draganddrop-contextmenu.png
+share/doc/HTML/ca/konsole/index.cache.bz2
+share/doc/HTML/ca/konsole/index.docbook
+share/doc/HTML/de/konsole/index.cache.bz2
+share/doc/HTML/de/konsole/index.docbook
+share/doc/HTML/en/konsole/draganddrop-contextmenu.png
+share/doc/HTML/en/konsole/index.cache.bz2
+share/doc/HTML/en/konsole/index.docbook
+share/doc/HTML/it/konsole/index.cache.bz2
+share/doc/HTML/it/konsole/index.docbook
+share/doc/HTML/nl/konsole/index.cache.bz2
+share/doc/HTML/nl/konsole/index.docbook
+share/doc/HTML/pt/konsole/index.cache.bz2
+share/doc/HTML/pt/konsole/index.docbook
+share/doc/HTML/pt_BR/konsole/draganddrop-contextmenu.png
+share/doc/HTML/pt_BR/konsole/index.cache.bz2
+share/doc/HTML/pt_BR/konsole/index.docbook
+share/doc/HTML/sr/konsole/index.cache.bz2
+share/doc/HTML/sr/konsole/index.docbook
+share/doc/HTML/sv/konsole/index.cache.bz2
+share/doc/HTML/sv/konsole/index.docbook
+share/doc/HTML/uk/konsole/draganddrop-contextmenu.png
+share/doc/HTML/uk/konsole/index.cache.bz2
+share/doc/HTML/uk/konsole/index.docbook
+share/khotkeys/konsole.khotkeys
+share/knotifications5/konsole.notifyrc
+share/knsrcfiles/konsole.knsrc
+share/konsole/BlackOnLightYellow.colorscheme
+share/konsole/BlackOnRandomLight.colorscheme
+share/konsole/BlackOnWhite.colorscheme
+share/konsole/BlueOnBlack.colorscheme
+share/konsole/Breeze.colorscheme
+share/konsole/DarkPastels.colorscheme
+share/konsole/GreenOnBlack.colorscheme
+share/konsole/Linux.colorscheme
+share/konsole/RedOnBlack.colorscheme
+share/konsole/Solarized.colorscheme
+share/konsole/SolarizedLight.colorscheme
+share/konsole/WhiteOnBlack.colorscheme
+share/konsole/default.keytab
+share/konsole/linux.keytab
+share/konsole/solaris.keytab
+share/kservices5/ServiceMenus/konsolehere.desktop
+share/kservices5/ServiceMenus/konsolerun.desktop
+share/kservices5/konsolepart.desktop
+share/kservicetypes5/terminalemulator.desktop
+share/locale/ar/LC_MESSAGES/konsole.mo
+share/locale/ast/LC_MESSAGES/konsole.mo
+share/locale/bg/LC_MESSAGES/konsole.mo
+share/locale/bs/LC_MESSAGES/konsole.mo
+share/locale/ca/LC_MESSAGES/konsole.mo
+share/locale/ca@valencia/LC_MESSAGES/konsole.mo
+share/locale/cs/LC_MESSAGES/konsole.mo
+share/locale/da/LC_MESSAGES/konsole.mo
+share/locale/de/LC_MESSAGES/konsole.mo
+share/locale/el/LC_MESSAGES/konsole.mo
+share/locale/en_GB/LC_MESSAGES/konsole.mo
+share/locale/eo/LC_MESSAGES/konsole.mo
+share/locale/es/LC_MESSAGES/konsole.mo
+share/locale/et/LC_MESSAGES/konsole.mo
+share/locale/eu/LC_MESSAGES/konsole.mo
+share/locale/fa/LC_MESSAGES/konsole.mo
+share/locale/fi/LC_MESSAGES/konsole.mo
+share/locale/fr/LC_MESSAGES/konsole.mo
+share/locale/ga/LC_MESSAGES/konsole.mo
+share/locale/gl/LC_MESSAGES/konsole.mo
+share/locale/he/LC_MESSAGES/konsole.mo
+share/locale/hi/LC_MESSAGES/konsole.mo
+share/locale/hr/LC_MESSAGES/konsole.mo
+share/locale/hu/LC_MESSAGES/konsole.mo
+share/locale/ia/LC_MESSAGES/konsole.mo
+share/locale/id/LC_MESSAGES/konsole.mo
+share/locale/is/LC_MESSAGES/konsole.mo
+share/locale/it/LC_MESSAGES/konsole.mo
+share/locale/ja/LC_MESSAGES/konsole.mo
+share/locale/kk/LC_MESSAGES/konsole.mo
+share/locale/km/LC_MESSAGES/konsole.mo
+share/locale/ko/LC_MESSAGES/konsole.mo
+share/locale/lt/LC_MESSAGES/konsole.mo
+share/locale/lv/LC_MESSAGES/konsole.mo
+share/locale/ml/LC_MESSAGES/konsole.mo
+share/locale/mr/LC_MESSAGES/konsole.mo
+share/locale/nb/LC_MESSAGES/konsole.mo
+share/locale/nds/LC_MESSAGES/konsole.mo
+share/locale/nl/LC_MESSAGES/konsole.mo
+share/locale/nn/LC_MESSAGES/konsole.mo
+share/locale/pa/LC_MESSAGES/konsole.mo
+share/locale/pl/LC_MESSAGES/konsole.mo
+share/locale/pt/LC_MESSAGES/konsole.mo
+share/locale/pt_BR/LC_MESSAGES/konsole.mo
+share/locale/ro/LC_MESSAGES/konsole.mo
+share/locale/ru/LC_MESSAGES/konsole.mo
+share/locale/sk/LC_MESSAGES/konsole.mo
+share/locale/sl/LC_MESSAGES/konsole.mo
+share/locale/sr/LC_MESSAGES/konsole.mo
+share/locale/sv/LC_MESSAGES/konsole.mo
+share/locale/tr/LC_MESSAGES/konsole.mo
+share/locale/ug/LC_MESSAGES/konsole.mo
+share/locale/uk/LC_MESSAGES/konsole.mo
+share/locale/wa/LC_MESSAGES/konsole.mo
+share/locale/zh_CN/LC_MESSAGES/konsole.mo
+share/locale/zh_TW/LC_MESSAGES/konsole.mo
+share/metainfo/org.kde.konsole.appdata.xml
+share/qlogging-categories5/konsole.categories
diff -r c0ceedcaf37c -r 8ab4fa407e52 x11/konsole/distinfo
--- a/x11/konsole/distinfo      Sat Mar 06 04:47:21 2021 +0000
+++ b/x11/konsole/distinfo      Sat Mar 06 04:47:37 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2015/11/04 03:28:44 agc Exp $
+$NetBSD: distinfo,v 1.10 2021/03/06 04:47:37 markd Exp $
 
-SHA1 (konsole-4.14.3.tar.xz) = 5ae78061f38f06f80ee10f4475ff33d1c0843b4d
-RMD160 (konsole-4.14.3.tar.xz) = 501481894fb397b52ae739b7950a5ac886d377f6
-SHA512 (konsole-4.14.3.tar.xz) = 88a919ea7230ae96518a347b80dbf08d641c60557f24cff02421f22cc99da5b2daf306d8e7b820cd701983fcd3ee46171cc97e231591ad2c334574777fbdb135
-Size (konsole-4.14.3.tar.xz) = 455216 bytes
-SHA1 (patch-src_ProcessInfo.cpp) = 1b844f74b6af284d50e80b94e2ad8a1ce85b182b
+SHA1 (konsole-20.04.1.tar.xz) = 8ba73f791b283b377536d92f989ac70252bf1912
+RMD160 (konsole-20.04.1.tar.xz) = 3c3981ead2ce86c79a3d7643c2bcf72d0d6ef930
+SHA512 (konsole-20.04.1.tar.xz) = 608bc4e9652e1129b219867c01b40ea2aba4044b9827b6b39ef0d2fed436dfd091c3cd4f568673122761ceb3106e8304d490b0ad5b73210d1890a5ec9e516fa3
+Size (konsole-20.04.1.tar.xz) = 1165784 bytes
+SHA1 (patch-src_ProcessInfo.cpp) = a4c6b166f10885ae088b787d2b419b150b9446a8
diff -r c0ceedcaf37c -r 8ab4fa407e52 x11/konsole/patches/patch-src_ProcessInfo.cpp
--- a/x11/konsole/patches/patch-src_ProcessInfo.cpp     Sat Mar 06 04:47:21 2021 +0000
+++ b/x11/konsole/patches/patch-src_ProcessInfo.cpp     Sat Mar 06 04:47:37 2021 +0000
@@ -1,22 +1,24 @@
-$NetBSD: patch-src_ProcessInfo.cpp,v 1.3 2014/11/13 10:53:49 markd Exp $
+$NetBSD: patch-src_ProcessInfo.cpp,v 1.4 2021/03/06 04:47:37 markd Exp $
+
+NetBSD support
 
---- src/ProcessInfo.cpp.orig   2014-11-01 04:17:02.000000000 +0000
+--- src/ProcessInfo.cpp.orig   2019-08-08 23:59:38.000000000 +0000
 +++ src/ProcessInfo.cpp
-@@ -1012,6 +1012,171 @@ private:
-         }
+@@ -999,6 +999,163 @@ private:
+         return false;
      }
  };
 +#elif defined(Q_OS_NETBSD)
 +class NetBSDProcessInfo : public UnixProcessInfo
 +{
 +public:
-+    NetBSDProcessInfo(int pid, bool env) :
-+        UnixProcessInfo(pid,env)
++    NetBSDProcessInfo(int pid) :
++        UnixProcessInfo(pid)
 +    {
 +    }
 +
 +private:
-+    virtual bool readProcInfo(int pid)
++    bool readProcInfo(int aPid) Q_DECL_OVERRIDE
 +    {
 +        // indicies of various fields within the process status file which
 +        // contain various information about the process
@@ -38,7 +40,7 @@
 +        //
 +        // FIELD FIELD (FIELD WITH SPACES) FIELD FIELD
 +        //
-+        QFile processInfo( QString("/proc/%1/status").arg(pid) );
++        QFile processInfo( QStringLiteral("/proc/%1/status").arg(aPid) );
 +        if ( processInfo.open(QIODevice::ReadOnly) )
 +        {
 +            QTextStream stream(&processInfo);
@@ -48,18 +50,16 @@
 +            int field = 0;
 +            int pos = 0;
 +
-+            while (pos < data.count())
-+            {
++            while (pos < data.count()) {
 +                QChar c = data[pos];
 +
-+                if ( c == '(' )
++                if ( c == QLatin1Char('(')) {
 +                    stack++;
-+                else if ( c == ')' )
++                } else if ( c == QLatin1Char(')')) {
 +                    stack--;
-+                else if ( stack == 0 && c == ' ' )
++                } else if ( stack == 0 && c == QLatin1Char(' ')) {
 +                    field++;
-+                else
-+                {
++                } else {
 +                    switch ( field )
 +                    {
 +                        case PARENT_PID_FIELD:
@@ -110,26 +110,26 @@
 +            setName(processNameString);
 +
 +        // update object state
-+        setPid(pid);
++        setPid(aPid);
 +
 +        return ok;
 +    }
 +
-+    virtual bool readArguments(int pid)
++    bool readArguments(int aPid) Q_DECL_OVERRIDE
 +    {
 +        // read command-line arguments file found at /proc/<pid>/cmdline
 +        // the expected format is a list of strings delimited by null characters,
 +        // and ending in a double null character pair.
 +
-+        QFile argumentsFile( QString("/proc/%1/cmdline").arg(pid) );
++        QFile argumentsFile( QStringLiteral("/proc/%1/cmdline").arg(aPid) );
 +        if ( argumentsFile.open(QIODevice::ReadOnly) )
 +        {
 +            QTextStream stream(&argumentsFile);
-+            QString data = stream.readAll();
++            const QString &data = stream.readAll();
 +



Home | Main Index | Thread Index | Old Index