Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b9187494cd74670fbf8dc679624cc45256804fa3

commit b9187494cd74670fbf8dc679624cc45256804fa3
Author: crazy <[email protected]>
Date:   Fri Oct 28 01:27:16 2016 +0200

print-manager-16.08.2-3-x86_64
* patch out weird error message while missing fedora's s-c-p gtk3 crap

diff --git a/source/kde5/print-manager/FrugalBuild 
b/source/kde5/print-manager/FrugalBuild
index 88716d1..7ef08d5 100644
--- a/source/kde5/print-manager/FrugalBuild
+++ b/source/kde5/print-manager/FrugalBuild
@@ -3,14 +3,15 @@

pkgname=print-manager
pkgver=16.08.2
-pkgrel=2
+pkgrel=3
pkgdesc="System tray utility, to autoconfig printers."
_F_kde_project="applications"
Finclude kf5
+source+=(do-not-spam-about-s-c-p-gtk3-crap.patch)
archs=('i686' 'x86_64')
depends=("kio>=$_F_kf5_full" 'libcups>=2.2.0-2' 
"qt5-declarative>=$_F_kdever_qt5")
makedepends+=('kdoctools' 'cups>=2.0.2-2' "kcmutils>=$_F_kf5_full" 
"plasma-framework>=$_F_kf5_full" )
-
-sha1sums=('676c7d112086d63d0c0983ab4255519f7be48a6f')
+sha1sums=('676c7d112086d63d0c0983ab4255519f7be48a6f' \
+          'f14020e67af393e70f3b7afae1a06ae07aef82f2')

# optimization OK
diff --git a/source/kde5/print-manager/do-not-spam-about-s-c-p-gtk3-crap.patch 
b/source/kde5/print-manager/do-not-spam-about-s-c-p-gtk3-crap.patch
new file mode 100644
index 0000000..30d7e6c
--- /dev/null
+++ b/source/kde5/print-manager/do-not-spam-about-s-c-p-gtk3-crap.patch
@@ -0,0 +1,23 @@
+diff -Naur print-manager-16.08.2/add-printer/DevicesModel.cpp 
print-manager-16.08.2-p/add-printer/DevicesModel.cpp
+--- print-manager-16.08.2/add-printer/DevicesModel.cpp 2016-09-12 
18:59:25.000000000 +0200
++++ print-manager-16.08.2-p/add-printer/DevicesModel.cpp       2016-10-28 
01:20:11.436747098 +0200
+@@ -340,7 +340,6 @@
+ {
+     qWarning() << error <<  message;
+     groupedDevicesFallback();
+-    emit errorMessage(i18n("Failed to group devices: '%1'",error.message()));
+     emit loaded();
+ }
+
+diff -Naur print-manager-16.08.2/libkcups/SelectMakeModel.cpp 
print-manager-16.08.2-p/libkcups/SelectMakeModel.cpp
+--- print-manager-16.08.2/libkcups/SelectMakeModel.cpp 2016-09-12 
18:59:25.000000000 +0200
++++ print-manager-16.08.2-p/libkcups/SelectMakeModel.cpp       2016-10-28 
01:19:24.628746404 +0200
+@@ -243,8 +243,6 @@
+
+     // Show the PPDs anyway
+     m_gotBestDrivers = true;
+-    ui->messageWidget->setText(i18n("Failed to search for a recommended 
driver: '%1'", error.message()));
+-    ui->messageWidget->animatedShow();
+     setModelData();
+ }
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to