summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-24 00:51:28 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-24 00:51:28 +0200
commit2310a38bdcf6167f6aa80b9305e5510f8d4a4d83 (patch)
treea07329e8c88bf243bd803db964e12309f8085db3 /net-misc
parentmedia-sound/kstreamripper: Update DESCRIPTION and HOMEPAGE (diff)
downloadkde-sunset-2310a38bdcf6167f6aa80b9305e5510f8d4a4d83.tar.gz
kde-sunset-2310a38bdcf6167f6aa80b9305e5510f8d4a4d83.tar.bz2
kde-sunset-2310a38bdcf6167f6aa80b9305e5510f8d4a4d83.zip
net-misc/knutclient: Import 1.0.5 from before last-rites
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/knutclient/Manifest1
-rw-r--r--net-misc/knutclient/files/knutclient-1.0.5-desktop.patch15
-rw-r--r--net-misc/knutclient/files/knutclient-1.0.5-gcc6.patch18
-rw-r--r--net-misc/knutclient/knutclient-1.0.5.ebuild27
-rw-r--r--net-misc/knutclient/metadata.xml7
5 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/knutclient/Manifest b/net-misc/knutclient/Manifest
index 06a2bee3..1b30d2e6 100644
--- a/net-misc/knutclient/Manifest
+++ b/net-misc/knutclient/Manifest
@@ -1 +1,2 @@
DIST knutclient-0.9.4.tar.gz 1234272 SHA256 ca117a3701a01f952131e40663874dcd8ef7e57d3ff3d73eb5a83c7191118f44
+DIST knutclient-1.0.5.tar.gz 1413989 SHA256 470ab12d5a8edf67f17ed1a52a12bd1977c22c68d5b0348ba812a24dc960b126 SHA512 24e8495f1c3d31e76885bbda3f3c4459e7426271c8bc1410d3e0cb37b829ed660cd87db7c57a54d522e1788297f6d23ab617a44e8dcf7f3f48b5077a58bfc2d6 WHIRLPOOL 552d133ff96182688a5bc8be7406715470c874a40256b1b423c2d04e4ed282408507ad5d95e1ec35dc54f757291e641c6509302340e36c35648040c22047340d
diff --git a/net-misc/knutclient/files/knutclient-1.0.5-desktop.patch b/net-misc/knutclient/files/knutclient-1.0.5-desktop.patch
new file mode 100644
index 00000000..4548a44d
--- /dev/null
+++ b/net-misc/knutclient/files/knutclient-1.0.5-desktop.patch
@@ -0,0 +1,15 @@
+Removes deprecated and useless items.
+
+--- a/knutclient.desktop
++++ b/knutclient.desktop
+@@ -6,9 +6,8 @@
+ Comment[de]=
+ Comment[cs]=Klient pro UPS syst� NUT
+ Comment[es]=Cliente KDE para NUT
+-Exec=knutclient -caption "%c" %i %m
++Exec=knutclient
+ Icon=knutclient
+-MiniIcon=knutclient
+ Type=Application
+ X-DocPath=knutclient/index.html
+ GenericName=KNutClient
diff --git a/net-misc/knutclient/files/knutclient-1.0.5-gcc6.patch b/net-misc/knutclient/files/knutclient-1.0.5-gcc6.patch
new file mode 100644
index 00000000..f52f6b4b
--- /dev/null
+++ b/net-misc/knutclient/files/knutclient-1.0.5-gcc6.patch
@@ -0,0 +1,18 @@
+Forwarded: no
+Description: Fix the build with gcc 6
+Author: Adrian Bunk <bunk@stusta.de>
+Bug-Debian: https://bugs.debian.org/811882
+
+--- a/src/knutprefdlg.cpp
++++ b/src/knutprefdlg.cpp
+@@ -957,9 +957,9 @@
+
+ QHBoxLayout *setFontLayout = new QHBoxLayout();
+ QStringList fontsList;
+ KFontChooser::getFontList(fontsList, KFontChooser::SmoothScalableFonts);
+- m_fontWidget = new KFontChooser(mainPageWidget, false, fontsList);
++ m_fontWidget = new KFontChooser(mainPageWidget, KFontChooser::NoDisplayFlags, fontsList);
+ setFontLayout->addWidget (m_fontWidget ,0);
+ topLayout->addLayout(setFontLayout);
+
+ topLayout->addStretch( 20 );
diff --git a/net-misc/knutclient/knutclient-1.0.5.ebuild b/net-misc/knutclient/knutclient-1.0.5.ebuild
new file mode 100644
index 00000000..d8ebde94
--- /dev/null
+++ b/net-misc/knutclient/knutclient-1.0.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_LINGUAS="cs de es fr it pl pt_BR ru uk"
+KDE_HANDBOOK="optional"
+MY_P="knc${PV//./}"
+inherit kde4-base
+
+DESCRIPTION="Visual client for UPS systems based on kdelibs-4"
+HOMEPAGE="https://sites.google.com/a/prynych.cz/knutclient/"
+SRC_URI="ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+PATCHES=(
+ "${FILESDIR}/${P}-desktop.patch"
+ "${FILESDIR}/${P}-gcc6.patch"
+)
+
+DOCS=( ChangeLog )
+
+S="${WORKDIR}/${MY_P}"
diff --git a/net-misc/knutclient/metadata.xml b/net-misc/knutclient/metadata.xml
index 6f49eba8..f243a28b 100644
--- a/net-misc/knutclient/metadata.xml
+++ b/net-misc/knutclient/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<<<<<<< HEAD
<!-- maintainer-needed -->
+=======
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+>>>>>>> parent of e02b71c5a95... profiles: Remove last-rited packages
</pkgmetadata>