Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b0a8248cfc623f341484ab26d666d195f5b3cfaa
commit b0a8248cfc623f341484ab26d666d195f5b3cfaa Author: crazy <[email protected]> Date: Wed Feb 22 01:37:26 2017 +0100 plasma-sdk-5.9.2-2-x86_64 * added an patch to fix the missing icon for plasmate. * bug is reported upstream: https://bugs.kde.org/show_bug.cgi?id=376780 diff --git a/source/kde5-extra/plasma-sdk/FrugalBuild b/source/kde5-extra/plasma-sdk/FrugalBuild index 657f293..5df4dd6 100644 --- a/source/kde5-extra/plasma-sdk/FrugalBuild +++ b/source/kde5-extra/plasma-sdk/FrugalBuild @@ -3,7 +3,7 @@ pkgname=plasma-sdk pkgver=5.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="Plasma SDK" groups=('kde5-extra') archs=('x86_64') @@ -20,7 +20,9 @@ depends=("qt5-svg>=$_F_kdever_qt5" "qt5-webkit>=$_F_kdever_qt5" \ "ktexteditor>=$_F_kf5_full" "kwidgetsaddons>=$_F_kf5_full" \ "kxmlgui>=$_F_kf5_full" "kwindowsystem>=$_F_kf5_full" \ 'kirigami' 'kdevplatform' 'kdelibs4support' 'kdoctools' 'git') -sha1sums=('7a0f426fead8eb4c26485c215642ac13d061df63') +source+=(plasmate_use_an_valid_icon.patch) +sha1sums=('7a0f426fead8eb4c26485c215642ac13d061df63' \ + '791facce02cd3b5a15c3f7a6e5c1bb8a7c160dff') replaces=('kdesdk') conflicts=("${replaces[@]}") diff --git a/source/kde5-extra/plasma-sdk/plasmate_use_an_valid_icon.patch b/source/kde5-extra/plasma-sdk/plasmate_use_an_valid_icon.patch new file mode 100644 index 0000000..9bfbd22 --- /dev/null +++ b/source/kde5-extra/plasma-sdk/plasmate_use_an_valid_icon.patch @@ -0,0 +1,72 @@ +diff -Naur plasma-sdk-5.9.2/plasmate/app/main.cpp plasma-sdk-5.9.2-p/plasmate/app/main.cpp +--- plasma-sdk-5.9.2/plasmate/app/main.cpp 2017-02-14 14:28:25.000000000 +0100 ++++ plasma-sdk-5.9.2-p/plasmate/app/main.cpp 2017-02-22 01:30:34.216982227 +0100 +@@ -52,7 +52,7 @@ + aboutData.addAuthor(i18n("Giorgos Tsiapaliokas"), i18n("Author"), "[email protected]"); + aboutData.addAuthor(i18n("Antonis Tsiapaliokas"), i18n("Author"), "[email protected]"); + +- app.setWindowIcon(QIcon::fromTheme("plasmagik")); ++ app.setWindowIcon(QIcon::fromTheme("plasma")); + + QCommandLineParser parser; + parser.addVersionOption(); +diff -Naur plasma-sdk-5.9.2/plasmate/app/plasmate.desktop plasma-sdk-5.9.2-p/plasmate/app/plasmate.desktop +--- plasma-sdk-5.9.2/plasmate/app/plasmate.desktop 2017-02-14 14:28:25.000000000 +0100 ++++ plasma-sdk-5.9.2-p/plasmate/app/plasmate.desktop 2017-02-22 01:23:08.719304867 +0100 +@@ -66,7 +66,7 @@ + GenericName[zh_CN]=Plasma éå ç»ä»¶åå»ºå¨ + GenericName[zh_TW]=Plasma éå å 件建ç«å¨ + Exec=plasmate +-Icon=plasmagik ++Icon=plasma + Type=Application + InitialPreference=7 + Categories=Qt;KDE;Development;IDE; +diff -Naur plasma-sdk-5.9.2/plasmate/docbrowser/docbrowser.cpp plasma-sdk-5.9.2-p/plasmate/docbrowser/docbrowser.cpp +--- plasma-sdk-5.9.2/plasmate/docbrowser/docbrowser.cpp 2017-02-14 14:28:25.000000000 +0100 ++++ plasma-sdk-5.9.2-p/plasmate/docbrowser/docbrowser.cpp 2017-02-22 01:29:12.080009292 +0100 +@@ -51,7 +51,7 @@ + connect(linkButton, SIGNAL(clicked()), this, SLOT(showApi())); + topbar->addWidget(linkButton); + +- linkButton = new QPushButton(QIcon::fromTheme("plasmagik"), i18n("Plasmate"), this); ++ linkButton = new QPushButton(QIcon::fromTheme("plasma"), i18n("Plasmate"), this); + connect(linkButton, SIGNAL(clicked()), this, SLOT(showHelp())); + topbar->addWidget(linkButton); + +diff -Naur plasma-sdk-5.9.2/plasmate/plugins/plasmaprojectmanager/kdevplasmamanager.json plasma-sdk-5.9.2-p/plasmate/plugins/plasmaprojectmanager/kdevplasmamanager.json +--- plasma-sdk-5.9.2/plasmate/plugins/plasmaprojectmanager/kdevplasmamanager.json 2017-02-14 14:28:25.000000000 +0100 ++++ plasma-sdk-5.9.2-p/plasmate/plugins/plasmaprojectmanager/kdevplasmamanager.json 2017-02-22 01:29:44.216780993 +0100 +@@ -67,7 +67,7 @@ + "Description[x-test]": "xxAllow KDevPlatform to manage Plasma projectsxx", + "Description[zh_CN]": "å 许 KDevPlatform æ¥ç®¡ç Plasma å·¥ç¨", + "Description[zh_TW]": "å 許 KDevPlatform 管ç Plasma å°æ¡", +- "Icon": "plasmagik", ++ "Icon": "plasma", + "Id": "KDevPlasmaManager", + "Name": "Plasma Project Manager", + "Name[ca@valencia]": "Gestor de projectes del Plasma", +diff -Naur plasma-sdk-5.9.2/plasmate/plugins/savesystemview/kdevsavesystemview.desktop.cmake plasma-sdk-5.9.2-p/plasmate/plugins/savesystemview/kdevsavesystemview.desktop.cmake +--- plasma-sdk-5.9.2/plasmate/plugins/savesystemview/kdevsavesystemview.desktop.cmake 2017-02-14 14:28:25.000000000 +0100 ++++ plasma-sdk-5.9.2-p/plasmate/plugins/savesystemview/kdevsavesystemview.desktop.cmake 2017-02-22 01:29:29.586429637 +0100 +@@ -89,7 +89,7 @@ + GenericName[x-test]=xxSave System Viewxx + GenericName[zh_CN]=ä¿åç³»ç»è§å¾ + GenericName[zh_TW]=å²åç³»çµ±æª¢è¦ +-Icon=plasmagik ++Icon=plasma + ServiceTypes=KDevelop/Plugin + X-KDE-Library=kdevsavesystemview + X-KDE-PluginInfo-Name=KDevSaveSystemView +diff -Naur plasma-sdk-5.9.2/plasmate/tests/metadatahandlertest.cpp plasma-sdk-5.9.2-p/plasmate/tests/metadatahandlertest.cpp +--- plasma-sdk-5.9.2/plasmate/tests/metadatahandlertest.cpp 2017-02-14 14:28:25.000000000 +0100 ++++ plasma-sdk-5.9.2-p/plasmate/tests/metadatahandlertest.cpp 2017-02-22 01:30:20.027641263 +0100 +@@ -79,7 +79,7 @@ + + const QString name(QStringLiteral("Package handler test")); + const QString description(QStringLiteral("A Dummy package")); +- const QString icon(QStringLiteral("plasmagik")); ++ const QString icon(QStringLiteral("plasma")); + const QString author(QStringLiteral("plasma")); + const QString category(QStringLiteral("System Information")); + const QString email(QStringLiteral("[email protected]"));
_______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
