Hello community, here is the log from the commit of package kbreakout for openSUSE:Factory checked in at 2016-01-10 13:04:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kbreakout (Old) and /work/SRC/openSUSE:Factory/.kbreakout.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kbreakout" Changes: -------- --- /work/SRC/openSUSE:Factory/kbreakout/kbreakout.changes 2015-11-15 12:31:41.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kbreakout.new/kbreakout.changes 2016-01-10 13:04:37.000000000 +0100 @@ -1,0 +2,9 @@ +Sun Dec 13 13:11:01 UTC 2015 - tittiatc...@gmail.com + +- Update to KDE Applications 15.12.0 + * KDE Applications 15.12.0 + * https://www.kde.org/announcements/announce-applications-15.12.0.php + * boo#958887 + + +------------------------------------------------------------------- Old: ---- kbreakout-15.08.3.tar.xz New: ---- kbreakout-15.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kbreakout.spec ++++++ --- /var/tmp/diff_new_pack.pjBtd7/_old 2016-01-10 13:04:38.000000000 +0100 +++ /var/tmp/diff_new_pack.pjBtd7/_new 2016-01-10 13:04:38.000000000 +0100 @@ -45,7 +45,7 @@ License: GPL-2.0+ Group: Amusements/Games/Action/Breakout Url: http://www.kde.org -Version: 15.08.3 +Version: 15.12.0 Release: 0 Source0: kbreakout-%{version}.tar.xz Obsoletes: %{name}5 < %{version} ++++++ kbreakout-15.08.3.tar.xz -> kbreakout-15.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kbreakout-15.08.3/CMakeLists.txt new/kbreakout-15.12.0/CMakeLists.txt --- old/kbreakout-15.08.3/CMakeLists.txt 2015-11-04 20:57:21.000000000 +0100 +++ new/kbreakout-15.12.0/CMakeLists.txt 2015-11-11 09:12:15.000000000 +0100 @@ -6,7 +6,7 @@ find_package(ECM 1.7.0 REQUIRED CONFIG) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg) +find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets) find_package(KF5 REQUIRED COMPONENTS CoreAddons Config @@ -14,14 +14,10 @@ Config DBusAddons I18n - GuiAddons - Service ConfigWidgets - IconThemes - Completion - JobWidgets XmlGui - KIO) + DocTools +) find_package(KF5KDEGames 4.9.0 REQUIRED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kbreakout-15.08.3/src/canvaswidget.cpp new/kbreakout-15.12.0/src/canvaswidget.cpp --- old/kbreakout-15.08.3/src/canvaswidget.cpp 2015-11-04 20:57:21.000000000 +0100 +++ new/kbreakout-15.12.0/src/canvaswidget.cpp 2015-11-11 09:12:15.000000000 +0100 @@ -32,9 +32,9 @@ KgDeclarativeView(parent), m_provider(new KgThemeProvider) { - m_provider->discoverThemes("appdata", QLatin1String("themes")); - m_provider->setDeclarativeEngine(QLatin1Literal("themeProvider"), engine()); - QString path = QStandardPaths::locate(QStandardPaths::DataLocation, QLatin1Literal("qml/main.qml")); + m_provider->discoverThemes("appdata", QStringLiteral("themes")); + m_provider->setDeclarativeEngine(QStringLiteral("themeProvider"), engine()); + QString path = QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("qml/main.qml")); setSource(QUrl::fromLocalFile(path)); // forward signals from QML diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kbreakout-15.08.3/src/gameengine.cpp new/kbreakout-15.12.0/src/gameengine.cpp --- old/kbreakout-15.08.3/src/gameengine.cpp 2015-11-04 20:57:21.000000000 +0100 +++ new/kbreakout-15.12.0/src/gameengine.cpp 2015-11-11 09:12:15.000000000 +0100 @@ -59,7 +59,7 @@ void GameEngine::loadNextLevel() { - QTimer::singleShot(200, this, SLOT(loadLevel())); + QTimer::singleShot(200, this, &GameEngine::loadLevel); } inline void GameEngine::deleteAllObjects() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kbreakout-15.08.3/src/levelloader.cpp new/kbreakout-15.12.0/src/levelloader.cpp --- old/kbreakout-15.08.3/src/levelloader.cpp 2015-11-04 20:57:21.000000000 +0100 +++ new/kbreakout-15.12.0/src/levelloader.cpp 2015-11-11 09:12:15.000000000 +0100 @@ -84,7 +84,7 @@ file.close(); // Testing whether levelset is of old KConfig style KConfig kconfigfile(path, KConfig::SimpleConfig); - if (kconfigfile.hasGroup(QLatin1String("level1"))) { + if (kconfigfile.hasGroup(QStringLiteral("level1"))) { // Levelset is in KConfig style m_oldstyle = true; qCritical() << "Warning: Using deprecated KConfig-levelset. Please change to XML-Style.\n"; @@ -133,10 +133,10 @@ if (level.isNull()) { qCritical() << "Invalid Levelset " << m_levelname << ": Can't read level information"; } - attribute = level.attributeNode(QLatin1String("Name")); + attribute = level.attributeNode(QStringLiteral("Name")); QString levelName; if (!attribute.isNull()) { - levelName = level.attributeNode(QLatin1String("Name")).value(); + levelName = level.attributeNode(QStringLiteral("Name")).value(); } node = node.firstChild(); // -- @@ -167,8 +167,8 @@ void LevelLoader::loadLine(QDomElement lineNode) { // Reading the line number - QDomAttr attribute = lineNode.attributeNode(QLatin1String("Number")); - QDomElement attributeNode = lineNode.firstChildElement(QLatin1String("Number")); + QDomAttr attribute = lineNode.attributeNode(QStringLiteral("Number")); + QDomElement attributeNode = lineNode.firstChildElement(QStringLiteral("Number")); if (!attribute.isNull()) { m_lineNumber = attribute.value().toInt(); } else if (!attributeNode.isNull()) { @@ -179,8 +179,8 @@ } // Reading the brick information - attribute = lineNode.attributeNode(QLatin1String("Bricks")); - attributeNode = lineNode.firstChildElement(QLatin1String("Bricks")); + attribute = lineNode.attributeNode(QStringLiteral("Bricks")); + attributeNode = lineNode.firstChildElement(QStringLiteral("Bricks")); QString line; if (!attribute.isNull()) { line = attribute.value(); @@ -202,8 +202,8 @@ { bool nodeTextRead = false; // Reading the brick type - QDomAttr attribute = giftNode.attributeNode(QLatin1String("Type")); - QDomElement attributeNode = giftNode.firstChildElement(QLatin1String("Type")); + QDomAttr attribute = giftNode.attributeNode(QStringLiteral("Type")); + QDomElement attributeNode = giftNode.firstChildElement(QStringLiteral("Type")); QString giftType; if (!attribute.isNull()) { giftType = attribute.value(); @@ -216,8 +216,8 @@ } // Reading number of gifts to be distributed. If not specified one gift is placed. - attribute = giftNode.attributeNode(QLatin1String("Count")); - attributeNode = giftNode.firstChildElement(QLatin1String("Count")); + attribute = giftNode.attributeNode(QStringLiteral("Count")); + attributeNode = giftNode.firstChildElement(QStringLiteral("Count")); int times = 1; bool ok = true; if (!attribute.isNull()) { @@ -235,8 +235,8 @@ // If only one brick to be placed: see if position is given QString position; if (times == 1) { - attribute = giftNode.attributeNode(QLatin1String("Position")); - attributeNode = giftNode.firstChildElement(QLatin1String("Position")); + attribute = giftNode.attributeNode(QStringLiteral("Position")); + attributeNode = giftNode.firstChildElement(QStringLiteral("Position")); if (!attribute.isNull()) { position = attribute.value(); } else if (!attributeNode.isNull()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kbreakout-15.08.3/src/levelloader.h new/kbreakout-15.12.0/src/levelloader.h --- old/kbreakout-15.08.3/src/levelloader.h 2015-11-04 20:57:21.000000000 +0100 +++ new/kbreakout-15.12.0/src/levelloader.h 2015-11-11 09:12:15.000000000 +0100 @@ -59,28 +59,28 @@ // Can be removed, when KConfig levelsets are no longer supported const QString GIFT_TYPES[] = { - QLatin1Literal("Gift100Points"), - QLatin1Literal("Gift200Points"), - QLatin1Literal("Gift500Points"), - QLatin1Literal("Gift1000Points"), - QLatin1Literal("GiftAddLife"), + QStringLiteral("Gift100Points"), + QStringLiteral("Gift200Points"), + QStringLiteral("Gift500Points"), + QStringLiteral("Gift1000Points"), + QStringLiteral("GiftAddLife"), - QLatin1Literal("GiftLoseLife"), - QLatin1Literal("GiftNextLevel"), - QLatin1Literal("GiftSplitBall"), - QLatin1Literal("GiftAddBall"), - QLatin1Literal("GiftDecreaseSpeed"), + QStringLiteral("GiftLoseLife"), + QStringLiteral("GiftNextLevel"), + QStringLiteral("GiftSplitBall"), + QStringLiteral("GiftAddBall"), + QStringLiteral("GiftDecreaseSpeed"), - QLatin1Literal("GiftIncreaseSpeed"), - QLatin1Literal("GiftUnstoppableBall"), - QLatin1Literal("GiftBurningBall"), - QLatin1Literal("GiftMagicWand"), - QLatin1Literal("GiftMagicEye"), + QStringLiteral("GiftIncreaseSpeed"), + QStringLiteral("GiftUnstoppableBall"), + QStringLiteral("GiftBurningBall"), + QStringLiteral("GiftMagicWand"), + QStringLiteral("GiftMagicEye"), - QLatin1Literal("GiftEnlargeBar"), - QLatin1Literal("GiftShrinkBar"), - QLatin1Literal("GiftStickyBar"), - QLatin1Literal("GiftMoreExplosion") + QStringLiteral("GiftEnlargeBar"), + QStringLiteral("GiftShrinkBar"), + QStringLiteral("GiftStickyBar"), + QStringLiteral("GiftMoreExplosion") }; // IMPORTANT: keep in sync with the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kbreakout-15.08.3/src/main.cpp new/kbreakout-15.12.0/src/main.cpp --- old/kbreakout-15.08.3/src/main.cpp 2015-11-04 20:57:21.000000000 +0100 +++ new/kbreakout-15.12.0/src/main.cpp 2015-11-11 09:12:15.000000000 +0100 @@ -34,28 +34,29 @@ migrate.migrate(); KLocalizedString::setApplicationDomain("kbreakout"); - KAboutData aboutData(QLatin1Literal("kbreakout"), i18n("KBreakOut"), QLatin1Literal("1.2.0")); + KAboutData aboutData(QStringLiteral("kbreakout"), i18n("KBreakOut"), QStringLiteral("1.2.0")); aboutData.setShortDescription(i18n("A breakout like game for KDE")); aboutData.setLicense(KAboutLicense::GPL); aboutData.setCopyrightStatement(i18n("(c) 2007-2008 Fela Winkelmolen")); aboutData.addAuthor(i18n("Fela Winkelmolen"), i18n("original author and maintainer"), - QLatin1Literal("fela....@gmail.com")); + QStringLiteral("fela....@gmail.com")); aboutData.addAuthor(i18n("Eugene Trounev"), i18n("artwork"), - QLatin1Literal("eugene.trou...@gmail.com")); + QStringLiteral("eugene.trou...@gmail.com")); aboutData.addAuthor(i18n("Sean Wilson"), i18n("artwork"), - QLatin1Literal("sus...@gmail.com")); + QStringLiteral("sus...@gmail.com")); aboutData.addCredit(i18n("Lorenzo Bonomi"), i18n("testing"), - QLatin1Literal("lorenzo.bon...@hotmail.it")); + QStringLiteral("lorenzo.bon...@hotmail.it")); aboutData.addCredit(i18n("Brian Croom"), i18n("port to KGameRenderer"), - QLatin1Literal("brian.s.cr...@gmail.com")); + QStringLiteral("brian.s.cr...@gmail.com")); aboutData.addCredit(i18n("Viranch Mehta"), i18n("port to QtQuick"), - QLatin1Literal("viranch.me...@gmail.com")); + QStringLiteral("viranch.me...@gmail.com")); + aboutData.setHomepage(QStringLiteral("https://games.kde.org/kbreakout")); QCommandLineParser parser; KAboutData::setApplicationData(aboutData); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kbreakout-15.08.3/src/mainwindow.cpp new/kbreakout-15.12.0/src/mainwindow.cpp --- old/kbreakout-15.08.3/src/mainwindow.cpp 2015-11-04 20:57:21.000000000 +0100 +++ new/kbreakout-15.12.0/src/mainwindow.cpp 2015-11-11 09:12:15.000000000 +0100 @@ -87,7 +87,7 @@ // show here (instead of in main) else the mouse can't be grabbed show(); - gameEngine->start(QLatin1Literal("default")); + gameEngine->start(QStringLiteral("default")); } MainWindow::~MainWindow() @@ -118,25 +118,25 @@ QAction *fireAction = new QAction(this); fireAction->setText(i18n("Fire the ball")); actionCollection()->setDefaultShortcut(fireAction, Qt::Key_Space); - fireAction->setIcon(QIcon::fromTheme(QLatin1String("kbreakout"))); + fireAction->setIcon(QIcon::fromTheme(QStringLiteral("kbreakout"))); connect(fireAction, &QAction::triggered, this, &MainWindow::fire); connect(fireAction, &QAction::changed, canvasWidget, &CanvasWidget::updateFireShortcut); - actionCollection()->addAction(QLatin1String("fire"), fireAction); + actionCollection()->addAction(QStringLiteral("fire"), fireAction); if (m_cheatsEnabled) { QAction *cheatSkipLevelAction = new QAction(this); cheatSkipLevelAction->setText(i18n("Skip level")); actionCollection()->setDefaultShortcut(cheatSkipLevelAction, Qt::Key_S); - cheatSkipLevelAction->setIcon(QIcon::fromTheme(QLatin1String("kbreakout"))); + cheatSkipLevelAction->setIcon(QIcon::fromTheme(QStringLiteral("kbreakout"))); connect(cheatSkipLevelAction, &QAction::triggered, this, &MainWindow::cheatSkipLevel); - actionCollection()->addAction(QLatin1String("cheatSkipLevel"), cheatSkipLevelAction); + actionCollection()->addAction(QStringLiteral("cheatSkipLevel"), cheatSkipLevelAction); QAction *cheatAddLifeAction = new QAction(this); cheatAddLifeAction->setText(i18n("Add life")); actionCollection()->setDefaultShortcut(cheatAddLifeAction, Qt::Key_L); - cheatAddLifeAction->setIcon(QIcon::fromTheme(QLatin1String("kbreakout"))); + cheatAddLifeAction->setIcon(QIcon::fromTheme(QStringLiteral("kbreakout"))); connect(cheatAddLifeAction, &QAction::triggered, this, &MainWindow::cheatAddLife); - actionCollection()->addAction(QLatin1String("cheatAddLife"), cheatAddLifeAction); + actionCollection()->addAction(QStringLiteral("cheatAddLife"), cheatAddLifeAction); } pauseAction = KStandardGameAction::pause(this, @@ -153,22 +153,22 @@ void MainWindow::configureSettings() { - if (KConfigDialog::showDialog(QLatin1Literal("settings"))) { + if (KConfigDialog::showDialog(QStringLiteral("settings"))) { return; } // else it doesn't exist, thus create the dialog - KConfigDialog *dialog = new KConfigDialog(this, QLatin1Literal("settings"), + KConfigDialog *dialog = new KConfigDialog(this, QStringLiteral("settings"), Settings::self()); dialog->setModal(true); dialog->addPage(new KgThemeSelector(canvasWidget->getProvider()), - i18n("Theme"), QLatin1Literal("games-config-theme")); + i18n("Theme"), QStringLiteral("games-config-theme")); // TODO: when will the page be destroyed? dialog->addPage(new GeneralSettings(dialog), i18nc("General settings", "General"), - QLatin1Literal("games-config-options")); + QStringLiteral("games-config-options")); dialog->show(); } @@ -176,7 +176,7 @@ void MainWindow::showHighscores() { KScoreDialog ksdialog(KScoreDialog::Name | KScoreDialog::Level, this); - ksdialog.addField(KScoreDialog::Custom1, i18n(" Time (hh:mm)"), QLatin1Literal("moves")); + ksdialog.addField(KScoreDialog::Custom1, i18n(" Time (hh:mm)"), QStringLiteral("moves")); ksdialog.exec(); } @@ -192,7 +192,7 @@ if (ret == KMessageBox::Yes) { pauseAction->setChecked(false); - gameEngine->start(QLatin1Literal("default")); + gameEngine->start(QStringLiteral("default")); } } @@ -213,7 +213,7 @@ QTime t = QTime(0, 0).addSecs(time); // TODO: check int overflow and fix 24 hours "overflow" - QString timeString = t.toString(QLatin1Literal("HH:mm")); + QString timeString = t.toString(QStringLiteral("HH:mm")); const int ALL_LEVELS = -1; @@ -228,12 +228,12 @@ QPointer<KScoreDialog> ksdialog = new KScoreDialog(KScoreDialog::Name | KScoreDialog::Level, this); - ksdialog->addField(KScoreDialog::Custom1, i18n("Time (hh:mm)"), QLatin1Literal("moves")); + ksdialog->addField(KScoreDialog::Custom1, i18n("Time (hh:mm)"), QStringLiteral("moves")); ksdialog->addScore(scoreInfo); ksdialog->exec(); if (ksdialog) { - gameEngine->start(QLatin1Literal("default")); + gameEngine->start(QStringLiteral("default")); delete ksdialog; } } @@ -314,7 +314,7 @@ i18n("Fire on click?"), KStandardGuiItem::yes(), KStandardGuiItem::no(), - QLatin1Literal("dontAskFireOnClick") // doesntAskAgainName + QStringLiteral("dontAskFireOnClick") // doesntAskAgainName ); if (res == KMessageBox::Yes) {