Hello community,

here is the log from the commit of package kapman for openSUSE:Factory checked 
in at 2016-01-10 13:04:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kapman (Old)
 and      /work/SRC/openSUSE:Factory/.kapman.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kapman"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kapman/kapman.changes    2015-11-15 
12:30:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kapman.new/kapman.changes       2016-01-10 
13:04:28.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Dec 13 13:09:14 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:
----
  kapman-15.08.3.tar.xz

New:
----
  kapman-15.12.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kapman.spec ++++++
--- /var/tmp/diff_new_pack.SxjBZ2/_old  2016-01-10 13:04:29.000000000 +0100
+++ /var/tmp/diff_new_pack.SxjBZ2/_new  2016-01-10 13:04:29.000000000 +0100
@@ -42,7 +42,7 @@
 License:        GPL-2.0+
 Group:          System/GUI/KDE
 Url:            http://www.kde.org
-Version:        15.08.3
+Version:        15.12.0
 Release:        0
 Source0:        kapman-%{version}.tar.xz
 Obsoletes:      %{name}5 < %{version}

++++++ kapman-15.08.3.tar.xz -> kapman-15.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapman-15.08.3/CMakeLists.txt 
new/kapman-15.12.0/CMakeLists.txt
--- old/kapman-15.08.3/CMakeLists.txt   2015-11-04 19:38:48.000000000 +0100
+++ new/kapman-15.12.0/CMakeLists.txt   2015-11-11 16:56:22.000000000 +0100
@@ -12,19 +12,13 @@
     Config
     DBusAddons
     DocTools
-    WindowSystem
     Config
     I18n
     ConfigWidgets
     XmlGui
-    KIO
-    NotifyConfig
     )
 
 find_package(KF5KDEGames 4.9.0 REQUIRED)
-find_package(Phonon4Qt5 CONFIG REQUIRED)
-
-include_directories(BEFORE ${PHONON_INCLUDES})
 
 include(FeatureSummary)
 include(ECMInstallIcons)
@@ -78,7 +72,6 @@
 add_executable(kapman ${kapman_SRCS})
 
 target_link_libraries(kapman 
-   Phonon::phonon4qt5
    KF5KDEGames
    KF5KDEGamesPrivate
    Qt5::Svg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapman-15.08.3/character.cpp 
new/kapman-15.12.0/character.cpp
--- old/kapman-15.08.3/character.cpp    2015-11-04 19:38:48.000000000 +0100
+++ new/kapman-15.12.0/character.cpp    2015-11-11 16:56:22.000000000 +0100
@@ -233,6 +233,16 @@
     return willGoPast;
 }
 
+bool Character::isOnCenter()
+{
+    // Get the current cell center coordinates
+    qreal centerX = (m_maze->getColFromX(m_x) + 0.5) * Cell::SIZE;
+    qreal centerY = (m_maze->getRowFromY(m_y) + 0.5) * Cell::SIZE;
+
+    return m_x == centerX && m_y == centerY;
+}
+
+
 void Character::moveOnCenter()
 {
     setX((m_maze->getColFromX(m_x) + 0.5) * Cell::SIZE);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapman-15.08.3/character.h 
new/kapman-15.12.0/character.h
--- old/kapman-15.08.3/character.h      2015-11-04 19:38:48.000000000 +0100
+++ new/kapman-15.12.0/character.h      2015-11-11 16:56:22.000000000 +0100
@@ -193,6 +193,12 @@
     bool onCenter();
 
     /**
+     * Checks whether the Character is currently on a Cell center.
+     * @return true if the Character is on a Cell center, false otherwise
+     */
+    bool isOnCenter();
+
+    /**
      * Moves the character on the center of its current Cell.
      */
     void moveOnCenter();
@@ -206,4 +212,3 @@
 };
 
 #endif
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapman-15.08.3/kapman.appdata.xml 
new/kapman-15.12.0/kapman.appdata.xml
--- old/kapman-15.08.3/kapman.appdata.xml       2015-11-04 19:38:48.000000000 
+0100
+++ new/kapman-15.12.0/kapman.appdata.xml       2015-11-11 16:56:22.000000000 
+0100
@@ -29,6 +29,7 @@
   <name xml:lang="sr-ijekavian">Капмен</name>
   <name xml:lang="sr-ijekavianlatin">Kapman</name>
   <name xml:lang="sv">Kapman</name>
+  <name xml:lang="tr">Kapman</name>
   <name xml:lang="uk">Kapman</name>
   <name xml:lang="x-test">xxKapmanxx</name>
   <name xml:lang="zh-CN">Kapman</name>
@@ -58,6 +59,7 @@
   <summary xml:lang="sr-ijekavian">Клон Пакмена</summary>
   <summary xml:lang="sr-ijekavianlatin">Klon Pacmana</summary>
   <summary xml:lang="sv">Klon av Pac-Man</summary>
+  <summary xml:lang="tr">Pac-Man Klonu</summary>
   <summary xml:lang="uk">Клон гри «Пакмен»</summary>
   <summary xml:lang="x-test">xxPac-Man Clonexx</summary>
   <summary xml:lang="zh-CN">Pac-Man 克隆</summary>
@@ -88,6 +90,7 @@
     <p xml:lang="sr-ijekavian">Капмен је клон добро познате игре Пакмен.</p>
     <p xml:lang="sr-ijekavianlatin">Kapman je klon dobro poznate igre 
Pacman.</p>
     <p xml:lang="sv">Kapman är en klon av det välkända spelet Pac-Man.</p>
+    <p xml:lang="tr">Kapman çok bilinen Pac-Man oyununun bir klonudur.</p>
     <p xml:lang="uk">Kapman є клоном добре відомої гри «Пакмен».</p>
     <p xml:lang="x-test">xxKapman is a clone of the well known game 
Pac-Man.xx</p>
     <p xml:lang="zh-TW">Kapman 是傳統小精靈遊戲的再生。</p>
@@ -119,6 +122,7 @@
     <p xml:lang="sr-ijekavian">Морате да протрчите кроз лавиринт и поједете 
све пилуле, а да вас притом не ухвате духови. Ако прогутате енергизатор, 
добијате на неколико секунди могућност да једете духове. Када се деоница 
рашчисти од пилула и енергизатора, бивате пребачени на наредну деоницу са мало 
повећаном брзином игре.</p>
     <p xml:lang="sr-ijekavianlatin">Morate da protrčite kroz lavirint i 
pojedete sve pilule, a da vas pritom ne uhvate duhovi. Ako progutate 
energizator, dobijate na nekoliko sekundi mogućnost da jedete duhove. Kada se 
deonica raščisti od pilula i energizatora, bivate prebačeni na narednu deonicu 
sa malo povećanom brzinom igre.</p>
     <p xml:lang="sv">Du måste springa igenom labyrinten för att äta upp alla 
piller utan att bli tillfångatagen av ett spöke. Genom att äta ett 
energitablett får Kapman förmågan att äta spöken under några sekunder. När 
spelplanen har rensats från piller och energitabletter, kommer spelaren till 
nästa spelplan med något snabbare spelhastighet.</p>
+    <p xml:lang="tr">Bir hayalet tarafından yenmeden labirentteki tüm hapları 
yemeniz gerekir. Enerji verici yediğinde Kapman bir kaç saniye için hayaletleri 
yiyebilme kabiliyeti kazanır. Alandaki tüm haplar ve enerji vericiler 
yendiğinde oyuncu hızı biraz daha arttırılmış bir seviyeye geçer.</p>
     <p xml:lang="uk">Вам слід пройтися лабіринтом, з’їсти усі пігулки і 
уникнути зустрічі з привидом. Ваш герой, Kapman, може проковтнути енергетик і 
на декілька секунд отримати здатність самому їсти привидів. Щойно ваш герой 
з’їсть усі пігулки і енергетики, ви зможете перейти на наступний рівень, 
швидкість гри на якому буде збільшено.</p>
     <p xml:lang="x-test">xxYou must run through the maze to eat all pills 
without being captured by a ghost. By eating an energizer, Kapman gets the 
ability to eat ghosts for a few seconds. When a stage is cleared of pills and 
energizer the player is taken to the next stage with slightly increased game 
speed.xx</p>
     <p 
xml:lang="zh-TW">您要在迷宮內吃到所有的豆子,避免被小精靈抓到。此外也有能量豆,讓您可以在時限內不怕小精靈。當所有的豆子,包括能量豆都被吃完以後,就可以進到下一關。越後面的關卡速度越快。</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapman-15.08.3/kapman.cpp 
new/kapman-15.12.0/kapman.cpp
--- old/kapman-15.08.3/kapman.cpp       2015-11-04 19:38:48.000000000 +0100
+++ new/kapman-15.12.0/kapman.cpp       2015-11-11 16:56:22.000000000 +0100
@@ -95,31 +95,25 @@
         if ((m_xSpeed != 0 && m_askedXSpeed == -m_xSpeed) || (m_ySpeed != 0 && 
m_askedYSpeed == -m_ySpeed)) {
             // Go back
             updateDirection();
-            // Move the kapman
-            move();
+            // If the kapman just turned at a corner and instantly makes a 
half-turn, do not run into a wall
+            if (isOnCenter() && getNextCell().getType() != Cell::CORRIDOR) {
+                // Stop moving
+                stopMoving();
+            } else {
+                // Move the kapman
+                move();
+            }
         } else {
             // If the kapman gets on a cell center
             if (onCenter()) {
-                // If there is an asked direction (but not a half-turn)
-                if ((m_askedXSpeed != 0 || m_askedYSpeed != 0) && 
(m_askedXSpeed != m_xSpeed || m_askedYSpeed != m_ySpeed)) {
-                    // Check the next cell with the kapman asked direction
-                    if (getAskedNextCell().getType() == Cell::CORRIDOR) {
-                        // Move the kapman on the cell center
-                        moveOnCenter();
-                        // Update the direction
-                        updateDirection();
-                    } else {
-                        // Check the next cell with the kapman current 
direction
-                        if (getNextCell().getType() != Cell::CORRIDOR) {
-                            // Move the kapman on the cell center
-                            moveOnCenter();
-                            // Stop moving
-                            stopMoving();
-                        } else {
-                            // Move the kapman
-                            move();
-                        }
-                    }
+                // If there is an asked direction (not a half-turn) and the 
corresponding next cell is accessible
+                if ((m_askedXSpeed != 0 || m_askedYSpeed != 0)
+                    && (m_askedXSpeed != m_xSpeed || m_askedYSpeed != m_ySpeed)
+                    && (getAskedNextCell().getType() == Cell::CORRIDOR)) {
+                    // Move the kapman on the cell center
+                    moveOnCenter();
+                    // Update the direction
+                    updateDirection();
                 } else {
                     // Check the next cell with the kapman current direction
                     if (getNextCell().getType() != Cell::CORRIDOR) {
@@ -211,4 +205,3 @@
         break;
     }
 }
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapman-15.08.3/main.cpp new/kapman-15.12.0/main.cpp
--- old/kapman-15.08.3/main.cpp 2015-11-04 19:38:48.000000000 +0100
+++ new/kapman-15.12.0/main.cpp 2015-11-11 16:56:22.000000000 +0100
@@ -45,6 +45,7 @@
     about.addAuthor(i18n("Romain Castan"), i18n("Developer"), 
QStringLiteral("romaincas...@gmail.com"));
     about.addAuthor(i18n("Thomas Gallinari"), i18n("Developer"), 
QStringLiteral("tg8...@yahoo.fr"));
     about.addCredit(i18n("Roney Gomes"), i18n("Port to KgSound framework"), 
QStringLiteral("roney...@gmail.com"));
+    
about.setHomepage(QStringLiteral("https://www.kde.org/applications/games/kapman/";));
 
     // Command line arguments
     QCommandLineParser parser;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapman-15.08.3/org.kde.kapman.desktop 
new/kapman-15.12.0/org.kde.kapman.desktop
--- old/kapman-15.08.3/org.kde.kapman.desktop   2015-11-04 19:38:48.000000000 
+0100
+++ new/kapman-15.12.0/org.kde.kapman.desktop   2015-11-11 16:56:22.000000000 
+0100
@@ -21,7 +21,7 @@
 Name[gl]=Kapman
 Name[hne]=केपमेन
 Name[hr]=Kapman
-Name[hu]=kapman
+Name[hu]=Kapman
 Name[it]=Kapman
 Name[ja]=Kapman
 Name[kk]=Kapman


Reply via email to