Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=973a2bf3d2fe5ecf554da847d38b16f74e0b4dc7

commit 973a2bf3d2fe5ecf554da847d38b16f74e0b4dc7
Author: crazy <[email protected]>
Date:   Wed Oct 18 12:52:52 2017 +0200

knewstuff-5.39.0-2-x86_64
* added revert patch for
https://cgit.kde.org/knewstuff.git/commit/?id=04cc49c71bdb948e06ccae2d97d7cc1a1d2f62af
that one break preview on a lot things
* see also https://bugs.kde.org/show_bug.cgi?id=385516

diff --git a/source/kf5/knewstuff/FrugalBuild b/source/kf5/knewstuff/FrugalBuild
index 89105b0..ecd342b 100644
--- a/source/kf5/knewstuff/FrugalBuild
+++ b/source/kf5/knewstuff/FrugalBuild
@@ -3,14 +3,16 @@

pkgname=knewstuff
pkgver=5.39.0
-pkgrel=1
+pkgrel=2
pkgdesc="Framework for downloading and sharing additional application data."
groups=('kf5')
archs=("x86_64")
_F_kde_project="frameworks"
Finclude kf5
+source+=(revert-04cc49c71bdb948e06ccae2d97d7cc1a1d2f62af.patch)
depends=("kio>=$_F_kf5_full")
-sha1sums=('99af1e59d81880fd813e8ae102ea69bf8741c521')
+sha1sums=('99af1e59d81880fd813e8ae102ea69bf8741c521' \
+          '52073032f45f36d631b033acbd5ea125eec98a1a')

replaces=('kdebase-runtime-knewstuff' 'libknewstuff')
conflicts=("${replaces[@]}")
diff --git 
a/source/kf5/knewstuff/revert-04cc49c71bdb948e06ccae2d97d7cc1a1d2f62af.patch 
b/source/kf5/knewstuff/revert-04cc49c71bdb948e06ccae2d97d7cc1a1d2f62af.patch
new file mode 100644
index 0000000..a0974e1
--- /dev/null
+++ b/source/kf5/knewstuff/revert-04cc49c71bdb948e06ccae2d97d7cc1a1d2f62af.patch
@@ -0,0 +1,253 @@
+diff -Naur knewstuff-5.39.0/src/core/entryinternal.cpp 
knewstuff-5.39.0-p/src/core/entryinternal.cpp
+--- knewstuff-5.39.0/src/core/entryinternal.cpp        2017-10-07 
21:19:56.000000000 +0200
++++ knewstuff-5.39.0-p/src/core/entryinternal.cpp      2017-10-18 
12:40:00.167842569 +0200
+@@ -133,7 +133,6 @@
+
+ void EntryInternal::setName(const QString &name)
+ {
+-    d.detach();
+     d->mName = name;
+ }
+
+@@ -144,7 +143,6 @@
+
+ void EntryInternal::setUniqueId(const QString &id)
+ {
+-    d.detach();
+     d->mUniqueId = id;
+ }
+
+@@ -155,7 +153,6 @@
+
+ void EntryInternal::setProviderId(const QString &id)
+ {
+-    d.detach();
+     d->mProviderId = id;
+ }
+
+@@ -166,7 +163,6 @@
+
+ void EntryInternal::setCategory(const QString &category)
+ {
+-    d.detach();
+     d->mCategory = category;
+ }
+
+@@ -177,7 +173,6 @@
+
+ void EntryInternal::setHomepage(const QUrl &page)
+ {
+-    d.detach();
+     d->mHomepage = page;
+ }
+
+@@ -188,7 +183,6 @@
+
+ void EntryInternal::setAuthor(const KNSCore::Author &author)
+ {
+-    d.detach();
+     d->mAuthor = author;
+ }
+
+@@ -199,7 +193,6 @@
+
+ void EntryInternal::setLicense(const QString &license)
+ {
+-    d.detach();
+     d->mLicense = license;
+ }
+
+@@ -210,7 +203,6 @@
+
+ void EntryInternal::setSummary(const QString &summary)
+ {
+-    d.detach();
+     d->mSummary = summary;
+ }
+
+@@ -221,13 +213,11 @@
+
+ void EntryInternal::setShortSummary(const QString &summary)
+ {
+-    d.detach();
+     d->mShortSummary = summary;
+ }
+
+ void EntryInternal::setChangelog(const QString &changelog)
+ {
+-    d.detach();
+     d->mChangelog = changelog;
+ }
+
+@@ -243,7 +233,6 @@
+
+ void EntryInternal::setVersion(const QString &version)
+ {
+-    d.detach();
+     d->mVersion = version;
+ }
+
+@@ -254,7 +243,6 @@
+
+ void EntryInternal::setReleaseDate(const QDate &releasedate)
+ {
+-    d.detach();
+     d->mReleaseDate = releasedate;
+ }
+
+@@ -265,7 +253,6 @@
+
+ void EntryInternal::setPayload(const QString &url)
+ {
+-    d.detach();
+     d->mPayload = url;
+ }
+
+@@ -276,7 +263,6 @@
+
+ void EntryInternal::setUpdateReleaseDate(const QDate &releasedate)
+ {
+-    d.detach();
+     d->mUpdateReleaseDate = releasedate;
+ }
+
+@@ -287,7 +273,6 @@
+
+ void EntryInternal::setUpdateVersion(const QString &version)
+ {
+-    d.detach();
+     d->mUpdateVersion = version;
+ }
+
+@@ -298,7 +283,6 @@
+
+ void EntryInternal::setPreviewUrl(const QString &url, PreviewType type)
+ {
+-    d.detach();
+     d->mPreviewUrl[type] = url;
+ }
+
+@@ -309,7 +293,6 @@
+
+ void EntryInternal::setPreviewImage(const QImage &image, PreviewType type)
+ {
+-    d.detach();
+     d->mPreviewImage[type] = image;
+ }
+
+@@ -320,7 +303,6 @@
+
+ void EntryInternal::setRating(int rating)
+ {
+-    d.detach();
+     d->mRating = rating;
+ }
+
+@@ -331,7 +313,6 @@
+
+ void EntryInternal::setNumberOfComments (int comments)
+ {
+-    d.detach();
+     d->mNumberOfComments = comments;
+ }
+
+@@ -342,7 +323,6 @@
+
+ void EntryInternal::setDownloadCount(int downloads)
+ {
+-    d.detach();
+     d->mDownloadCount = downloads;
+ }
+
+@@ -353,7 +333,6 @@
+
+ void EntryInternal::setNumberFans(int fans)
+ {
+-    d.detach();
+     d->mNumberFans = fans;
+ }
+
+@@ -364,7 +343,6 @@
+
+ void EntryInternal::setDonationLink(const QString &link)
+ {
+-    d.detach();
+     d->mDonationLink = link;
+ }
+
+@@ -374,7 +352,6 @@
+ }
+ void EntryInternal::setNumberKnowledgebaseEntries(int num)
+ {
+-    d.detach();
+     d->mNumberKnowledgebaseEntries = num;
+ }
+
+@@ -384,7 +361,6 @@
+ }
+ void EntryInternal::setKnowledgebaseLink(const QString &link)
+ {
+-    d.detach();
+     d->mKnowledgebaseLink = link;
+ }
+
+@@ -409,7 +385,6 @@
+
+ void EntryInternal::setSource(Source source)
+ {
+-    d.detach();
+     d->mSource = source;
+ }
+
+@@ -420,13 +395,11 @@
+
+ void EntryInternal::setStatus(KNS3::Entry::Status status)
+ {
+-    d.detach();
+     d->mStatus = status;
+ }
+
+ void KNSCore::EntryInternal::setInstalledFiles(const QStringList &files)
+ {
+-    d.detach();
+     d->mInstalledFiles = files;
+ }
+
+@@ -437,7 +410,6 @@
+
+ void KNSCore::EntryInternal::setUnInstalledFiles(const QStringList &files)
+ {
+-    d.detach();
+     d->mUnInstalledFiles = files;
+ }
+
+@@ -458,13 +430,11 @@
+
+ void KNSCore::EntryInternal::appendDownloadLinkInformation(const 
KNSCore::EntryInternal::DownloadLinkInformation &info)
+ {
+-    d.detach();
+     d->mDownloadLinkInformationList.append(info);
+ }
+
+ void EntryInternal::clearDownloadLinkInformation()
+ {
+-    d.detach();
+     d->mDownloadLinkInformationList.clear();
+ }
+
+@@ -510,7 +480,6 @@
+
+ bool KNSCore::EntryInternal::setEntryXML(QXmlStreamReader& reader)
+ {
+-    d.detach();
+     if (reader.name() != QLatin1String("stuff")) {
+         qWarning() << "Parsing Entry from invalid XML";
+         return false;
+@@ -608,7 +577,6 @@
+
+ bool KNSCore::EntryInternal::setEntryXML(const QDomElement &xmldata)
+ {
+-    d.detach();
+     if (xmldata.tagName() != QLatin1String("stuff")) {
+         qWarning() << "Parsing Entry from invalid XML";
+         return false;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to