Hello community, here is the log from the commit of package klines for openSUSE:Factory checked in at 2016-01-10 13:05:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/klines (Old) and /work/SRC/openSUSE:Factory/.klines.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "klines" Changes: -------- --- /work/SRC/openSUSE:Factory/klines/klines.changes 2015-11-15 12:36:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.klines.new/klines.changes 2016-01-10 13:05:41.000000000 +0100 @@ -1,0 +2,9 @@ +Sun Dec 13 13:21:51 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: ---- klines-15.08.3.tar.xz New: ---- klines-15.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ klines.spec ++++++ --- /var/tmp/diff_new_pack.rqT6fG/_old 2016-01-10 13:05:42.000000000 +0100 +++ /var/tmp/diff_new_pack.rqT6fG/_new 2016-01-10 13:05:42.000000000 +0100 @@ -50,7 +50,7 @@ License: GPL-2.0+ Group: Amusements/Games/Board/Puzzle Url: http://www.kde.org -Version: 15.08.3 +Version: 15.12.0 Release: 0 Source0: klines-%{version}.tar.xz Obsoletes: %{name}5 < %{version} ++++++ klines-15.08.3.tar.xz -> klines-15.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/klines-15.08.3/CMakeLists.txt new/klines-15.12.0/CMakeLists.txt --- old/klines-15.08.3/CMakeLists.txt 2015-06-01 21:15:40.000000000 +0200 +++ new/klines-15.12.0/CMakeLists.txt 2015-11-09 16:39:00.000000000 +0100 @@ -6,7 +6,7 @@ find_package(ECM 1.3.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 Test) +find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets) find_package(KF5 REQUIRED COMPONENTS CoreAddons Config @@ -14,14 +14,10 @@ Config DBusAddons I18n - GuiAddons - Service ConfigWidgets - ItemViews - IconThemes XmlGui - KIO - NewStuff) + DocTools +) find_package(KF5KDEGames 4.9.0 REQUIRED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/klines-15.08.3/klines.cpp new/klines-15.12.0/klines.cpp --- old/klines-15.08.3/klines.cpp 2015-06-01 21:15:40.000000000 +0200 +++ new/klines-15.12.0/klines.cpp 2015-11-09 16:39:00.000000000 +0100 @@ -47,9 +47,9 @@ mwidget = new MainWidget(this); setCentralWidget( mwidget ); - connect(mwidget->scene(), SIGNAL(scoreChanged(int)), SLOT(updateScore(int))); + connect(mwidget->scene(), &KLinesScene::scoreChanged, this, &KLinesMainWindow::updateScore); connect(mwidget->scene(), SIGNAL(stateChanged(QString)), SLOT(slotStateChanged(QString))); - connect(mwidget->scene(), SIGNAL(gameOver(int)), SLOT(gameOver(int))); + connect(mwidget->scene(), &KLinesScene::gameOver, this, &KLinesMainWindow::gameOver); scoreLabel->setText(i18n("Score:")); statusBar()->addPermanentWidget(scoreLabel); @@ -62,7 +62,7 @@ setupActions(); - stateChanged(QLatin1String( "init" )); + stateChanged(QStringLiteral( "init" )); } KLinesMainWindow::~KLinesMainWindow() @@ -82,7 +82,7 @@ KStandardGameAction::endTurn(mwidget->scene(), SLOT(endTurn()), actionCollection()); // Preferences - KToggleAction *showNext = actionCollection()->add<KToggleAction>(QLatin1String( "show_next" )); + KToggleAction *showNext = actionCollection()->add<KToggleAction>(QStringLiteral( "show_next" )); showNext->setText( i18n( "Show Next" ) ); connect(showNext, &KToggleAction::triggered, this, &KLinesMainWindow::showNextToggled); @@ -91,34 +91,34 @@ // Navigation QAction* naviLeft = new QAction( i18n("Move Left" ), this ); - naviLeft->setIcon(QIcon::fromTheme(QLatin1String( "arrow-left"))); + naviLeft->setIcon(QIcon::fromTheme(QStringLiteral( "arrow-left"))); actionCollection()->setDefaultShortcut(naviLeft, Qt::Key_Left ); - actionCollection()->addAction( QLatin1String( "navi_left" ), naviLeft); + actionCollection()->addAction( QStringLiteral( "navi_left" ), naviLeft); QAction* naviRight = new QAction( i18n("Move Right" ), this ); - naviRight->setIcon(QIcon::fromTheme(QLatin1String( "arrow-right"))); + naviRight->setIcon(QIcon::fromTheme(QStringLiteral( "arrow-right"))); actionCollection()->setDefaultShortcut(naviRight, Qt::Key_Right ); - actionCollection()->addAction( QLatin1String( "navi_right" ), naviRight); + actionCollection()->addAction( QStringLiteral( "navi_right" ), naviRight); QAction* naviUp = new QAction( i18n("Move Up" ), this ); - naviUp->setIcon(QIcon::fromTheme(QLatin1String( "arrow-up"))); + naviUp->setIcon(QIcon::fromTheme(QStringLiteral( "arrow-up"))); actionCollection()->setDefaultShortcut(naviUp, Qt::Key_Up ); - actionCollection()->addAction( QLatin1String( "navi_up" ), naviUp); + actionCollection()->addAction( QStringLiteral( "navi_up" ), naviUp); QAction* naviDown = new QAction( i18n("Move Down" ), this ); - naviDown->setIcon(QIcon::fromTheme(QLatin1String( "arrow-down"))); + naviDown->setIcon(QIcon::fromTheme(QStringLiteral( "arrow-down"))); actionCollection()->setDefaultShortcut(naviDown, Qt::Key_Down ); - actionCollection()->addAction( QLatin1String( "navi_down" ), naviDown); + actionCollection()->addAction( QStringLiteral( "navi_down" ), naviDown); QAction* naviSelect = new QAction( i18n("Select"), this ); actionCollection()->setDefaultShortcut(naviSelect, Qt::Key_Space ); - actionCollection()->addAction( QLatin1String( "navi_select" ), naviSelect); + actionCollection()->addAction( QStringLiteral( "navi_select" ), naviSelect); - connect( naviLeft, SIGNAL(triggered(bool)), mwidget->scene(), SLOT(moveFocusLeft())); - connect( naviRight, SIGNAL(triggered(bool)), mwidget->scene(), SLOT(moveFocusRight())); - connect( naviUp, SIGNAL(triggered(bool)), mwidget->scene(), SLOT(moveFocusUp())); - connect( naviDown, SIGNAL(triggered(bool)), mwidget->scene(), SLOT(moveFocusDown())); - connect( naviSelect, SIGNAL(triggered(bool)), mwidget->scene(), SLOT(cellSelected())); + connect( naviLeft, &QAction::triggered, mwidget->scene(), &KLinesScene::moveFocusLeft); + connect( naviRight, &QAction::triggered, mwidget->scene(), &KLinesScene::moveFocusRight); + connect( naviUp, &QAction::triggered, mwidget->scene(), &KLinesScene::moveFocusUp); + connect( naviDown, &QAction::triggered, mwidget->scene(), &KLinesScene::moveFocusDown); + connect( naviSelect, &QAction::triggered, mwidget->scene(), &KLinesScene::cellSelected); KStandardAction::preferences( mselector, SLOT(showAsDialog()), actionCollection() ); setupGUI(); @@ -132,7 +132,7 @@ void KLinesMainWindow::gameOver(int score) { KScoreDialog d(KScoreDialog::Name | KScoreDialog::Score, this); - d.setConfigGroup( QLatin1String( "Highscore" ) ); + d.setConfigGroup( QStringLiteral( "Highscore" ) ); d.addScore(score, KScoreDialog::AskName); d.exec(); } @@ -140,7 +140,7 @@ void KLinesMainWindow::viewHighScore() { KScoreDialog d(KScoreDialog::Name | KScoreDialog::Score, this); - d.setConfigGroup( QLatin1String( "Highscore" ) ); + d.setConfigGroup( QStringLiteral( "Highscore" ) ); d.exec(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/klines-15.08.3/main.cpp new/klines-15.12.0/main.cpp --- old/klines-15.08.3/main.cpp 2015-06-01 21:15:40.000000000 +0200 +++ new/klines-15.12.0/main.cpp 2015-11-09 16:39:00.000000000 +0100 @@ -33,9 +33,9 @@ int main( int argc, char **argv ) { QApplication app(argc, argv); - Kdelibs4ConfigMigrator migrate(QLatin1String("klines")); - migrate.setConfigFiles(QStringList() << QLatin1String("klinesrc")); - migrate.setUiFiles(QStringList() << QLatin1String("klinesui.rc")); + Kdelibs4ConfigMigrator migrate(QStringLiteral("klines")); + migrate.setConfigFiles(QStringList() << QStringLiteral("klinesrc")); + migrate.setUiFiles(QStringList() << QStringLiteral("klinesui.rc")); migrate.migrate(); KLocalizedString::setApplicationDomain("klines"); @@ -47,7 +47,7 @@ aboutData.addAuthor(i18n("Dmitry Suzdalev"), i18n("Rewrite to use QGraphicsView. Current maintainer"), QStringLiteral("dim...@gmail.com")); aboutData.addCredit(i18n("Eugene Trounev"), i18n("New SVG artwork for KDE4 version of the game"), QStringLiteral("eugene.trou...@gmail.com")); - app.setWindowIcon(QIcon::fromTheme(QLatin1String("klines"))); + app.setWindowIcon(QIcon::fromTheme(QStringLiteral("klines"))); KAboutData::setApplicationData(aboutData); QCommandLineParser parser; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/klines-15.08.3/renderer.cpp new/klines-15.12.0/renderer.cpp --- old/klines-15.08.3/renderer.cpp 2015-06-01 21:15:40.000000000 +0200 +++ new/klines-15.12.0/renderer.cpp 2015-11-09 16:39:00.000000000 +0100 @@ -75,11 +75,11 @@ KLinesRenderer::KLinesRenderer() { KgThemeProvider* provider = new KgThemeProvider; - provider->discoverThemes("appdata", QLatin1String("themes")); + provider->discoverThemes("appdata", QStringLiteral("themes")); //the default theme is marked with a key "Default=true" foreach (const KgTheme* theme, provider->themes()) { - if (theme->customData(QLatin1String("Default")) == QLatin1String("true")) + if (theme->customData(QStringLiteral("Default")) == QLatin1String("true")) { provider->setDefaultTheme(theme); break; @@ -124,31 +124,31 @@ QPixmap KLinesRenderer::backgroundTilePixmap() { - return getPixmap(QLatin1String("field_cell")); + return getPixmap(QStringLiteral("field_cell")); } QPixmap KLinesRenderer::backgroundPixmap(const QSize& size) { - return getPixmap(QLatin1String("background"), size); + return getPixmap(QStringLiteral("background"), size); } QPixmap KLinesRenderer::previewPixmap() { - return getPixmap(QLatin1String("preview"), QSize(m_cellSize, m_cellSize * 3)); + return getPixmap(QStringLiteral("preview"), QSize(m_cellSize, m_cellSize * 3)); } bool KLinesRenderer::loadTheme() { const KgTheme* theme = m_renderer->theme(); - m_numBornFrames = theme->customData(QLatin1String("NumBornFrames")).toInt(); - m_numSelFrames = theme->customData(QLatin1String("NumSelectedFrames")).toInt(); - m_numDieFrames = theme->customData(QLatin1String("NumDieFrames")).toInt(); - - m_bornDuration = theme->customData(QLatin1String("BornAnimDuration")).toInt(); - m_selDuration = theme->customData(QLatin1String("SelectedAnimDuration")).toInt(); - m_dieDuration = theme->customData(QLatin1String("DieAnimDuration")).toInt(); - m_moveDuration = theme->customData(QLatin1String("MoveAnimDuration")).toInt(); + m_numBornFrames = theme->customData(QStringLiteral("NumBornFrames")).toInt(); + m_numSelFrames = theme->customData(QStringLiteral("NumSelectedFrames")).toInt(); + m_numDieFrames = theme->customData(QStringLiteral("NumDieFrames")).toInt(); + + m_bornDuration = theme->customData(QStringLiteral("BornAnimDuration")).toInt(); + m_selDuration = theme->customData(QStringLiteral("SelectedAnimDuration")).toInt(); + m_dieDuration = theme->customData(QStringLiteral("DieAnimDuration")).toInt(); + m_moveDuration = theme->customData(QStringLiteral("MoveAnimDuration")).toInt(); return true; } @@ -178,11 +178,11 @@ if (!hasBorderElement()) return QPixmap(); - return getPixmap(QLatin1String("border"), size); + return getPixmap(QStringLiteral("border"), size); } bool KLinesRenderer::hasBorderElement() { - return m_renderer->spriteExists(QLatin1String("border")); + return m_renderer->spriteExists(QStringLiteral("border")); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/klines-15.08.3/scene.cpp new/klines-15.12.0/scene.cpp --- old/klines-15.08.3/scene.cpp 2015-06-01 21:15:40.000000000 +0200 +++ new/klines-15.12.0/scene.cpp 2015-11-09 16:39:00.000000000 +0100 @@ -105,7 +105,7 @@ m_nextColors.append(c); } - emit stateChanged(QLatin1String( "not_undoable" )); + emit stateChanged(QStringLiteral( "not_undoable" )); nextThreeBalls(); } @@ -600,7 +600,7 @@ m_undoInfo.score = m_score; m_undoInfo.nextColors = m_nextColors; - emit stateChanged(QLatin1String( "undoable" )); + emit stateChanged(QStringLiteral( "undoable" )); } // Brings m_field and some other vars to the state it was before last turn @@ -655,7 +655,7 @@ emit scoreChanged(m_score); - emit stateChanged(QLatin1String( "not_undoable" )); + emit stateChanged(QStringLiteral( "not_undoable" )); } void KLinesScene::drawBackground(QPainter *p, const QRectF&) @@ -681,7 +681,7 @@ return; // don't emit twice m_gameOver = true; qDebug() << "GAME OVER"; - emit stateChanged(QLatin1String( "not_undoable" )); + emit stateChanged(QStringLiteral( "not_undoable" )); //emit enableUndo(false); emit gameOver(m_score);