Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubrick for openSUSE:Factory checked in at 2023-11-10 12:32:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubrick (Old) and /work/SRC/openSUSE:Factory/.kubrick.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubrick" Fri Nov 10 12:32:37 2023 rev:138 rq:1124644 version:23.08.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kubrick/kubrick.changes 2023-10-12 23:46:38.574745673 +0200 +++ /work/SRC/openSUSE:Factory/.kubrick.new.17445/kubrick.changes 2023-11-10 12:36:08.262738907 +0100 @@ -1,0 +2,11 @@ +Tue Nov 7 17:05:20 UTC 2023 - Christophe Marin <[email protected]> + +- Update to 23.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.3/ +- Changes since 23.08.2: + * Fix mouse input handling with HiDpi + * snapcraft: iitial import snapcraft files. + +------------------------------------------------------------------- Old: ---- kubrick-23.08.2.tar.xz kubrick-23.08.2.tar.xz.sig New: ---- kubrick-23.08.3.tar.xz kubrick-23.08.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubrick.spec ++++++ --- /var/tmp/diff_new_pack.Pi0bcC/_old 2023-11-10 12:36:08.962764815 +0100 +++ /var/tmp/diff_new_pack.Pi0bcC/_new 2023-11-10 12:36:08.962764815 +0100 @@ -18,7 +18,7 @@ %bcond_without released Name: kubrick -Version: 23.08.2 +Version: 23.08.3 Release: 0 Summary: Game based on Rubik's Cube License: GPL-2.0-or-later ++++++ kubrick-23.08.2.tar.xz -> kubrick-23.08.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubrick-23.08.2/CMakeLists.txt new/kubrick-23.08.3/CMakeLists.txt --- old/kubrick-23.08.2/CMakeLists.txt 2023-10-10 04:34:52.000000000 +0200 +++ new/kubrick-23.08.3/CMakeLists.txt 2023-11-04 12:15:10.000000000 +0100 @@ -2,7 +2,7 @@ set (RELEASE_SERVICE_VERSION_MAJOR "23") set (RELEASE_SERVICE_VERSION_MINOR "08") -set (RELEASE_SERVICE_VERSION_MICRO "2") +set (RELEASE_SERVICE_VERSION_MICRO "3") set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubrick-23.08.2/po/zh_CN/kubrick.po new/kubrick-23.08.3/po/zh_CN/kubrick.po --- old/kubrick-23.08.2/po/zh_CN/kubrick.po 2023-10-10 04:34:52.000000000 +0200 +++ new/kubrick-23.08.3/po/zh_CN/kubrick.po 2023-11-04 12:15:10.000000000 +0100 @@ -3,7 +3,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2022-09-22 00:42+0000\n" -"PO-Revision-Date: 2023-09-16 10:11\n" +"PO-Revision-Date: 2023-10-21 13:57\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubrick-23.08.2/snapcraft.yaml new/kubrick-23.08.3/snapcraft.yaml --- old/kubrick-23.08.2/snapcraft.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/kubrick-23.08.3/snapcraft.yaml 2023-11-04 12:15:10.000000000 +0100 @@ -0,0 +1,141 @@ +--- +name: kubrick +confinement: strict +grade: stable +base: core22 +adopt-info: kubrick +version: 23.08.2 +apps: + kubrick: + # extensions: + # - kde-neon + common-id: org.kde.kubrick.desktop + desktop: usr/share/applications/org.kde.kubrick.desktop + command: usr/bin/kubrick + plugs: + - desktop + - desktop-legacy + - opengl + - wayland + - x11 + - audio-playback + - unity7 + - network + - network-bind + command-chain: + - snap/command-chain/desktop-launch +assumes: +- snapd2.58.3 +compression: lzo +plugs: + desktop: + mount-host-font-cache: false + icon-themes: + interface: content + target: $SNAP/data-dir/icons + default-provider: gtk-common-themes + sound-themes: + interface: content + target: $SNAP/data-dir/sounds + default-provider: gtk-common-themes + kf5-5-110-qt-5-15-11-core22: + content: kf5-5-110-qt-5-15-11-core22-all + interface: content + default-provider: kf5-5-110-qt-5-15-11-core22 + target: $SNAP/kf5 +environment: + SNAP_DESKTOP_RUNTIME: $SNAP/kf5 + GST_PLUGIN_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0" + GST_PLUGIN_SYSTEM_PATH: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer-1.0" + GST_PLUGIN_SCANNER: "$SNAP/kf5/usr/lib/$CRAFT_ARCH_TRIPLET/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" +hooks: + configure: + plugs: + - desktop + command-chain: + - snap/command-chain/hooks-configure-desktop +layout: + /usr/share/X11: + symlink: $SNAP/kf5/usr/share/X11 + "/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib": + bind: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/alsa-lib" + "/usr/share/alsa": + bind: "$SNAP/usr/share/alsa" +slots: + session-dbus-interface: + interface: dbus + name: org.kde.kubrick + bus: session +package-repositories: +- type: apt + components: + - main + suites: + - jammy + key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D + url: http://origin.archive.neon.kde.org/user + key-server: keyserver.ubuntu.com +parts: + kde-neon: + source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon + source-type: local + plugin: make + make-parameters: + - PLATFORM_PLUG=kf5-5-110-qt-5-15-11-core22 + build-snaps: + - kf5-5-110-qt-5-15-11-core22-sdk + build-environment: + - &id001 + PATH: /snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/bin${PATH:+:$PATH} + - &id002 + XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS} + - &id003 + XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-110-qt-5-15-11-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME} + - &id004 + CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-110-qt-5-15-11-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS} + kubrick: + after: + - kde-neon + parse-info: + - usr/share/metainfo/org.kde.kubrick.appdata.xml + plugin: cmake + build-packages: + - libkf5doctools-dev + source: . + source-type: local + cmake-parameters: + - "-DCMAKE_INSTALL_PREFIX=/usr" + - "-DCMAKE_BUILD_TYPE=Release" + - "-DENABLE_TESTING=OFF" + - "-DBUILD_TESTING=OFF" + - "-DKDE_SKIP_TEST_SETTINGS=ON" + - "-DCMAKE_FIND_ROOT_PATH=/usr\\;$CRAFT_STAGE\\;/snap/kf5-5-110-qt-5-15-11-core22-sdk/current" + - "-DKDE_INSTALL_PLUGINDIR=/usr/lib/$CRAFT_ARCH_TRIPLET/qt5/plugins/" + prime: + - "-usr/lib/*/cmake/*" + - "-usr/include/*" + - "-usr/share/ECM/*" + - "-usr/share/doc/*" + - "-usr/share/man/*" + - "-usr/share/icons/breeze-dark*" + - "-usr/bin/X11" + - "-usr/lib/gcc/$CRAFT_ARCH_TRIPLET/6.0.0" + - "-usr/lib/aspell/*" + - "-usr/share/lintian" + build-environment: &id005 + - *id001 + - *id002 + - *id003 + - *id004 + cleanup: + after: + - kde-neon + - kubrick + plugin: nil + + override-prime: | + set -eux + # find $CRAFT_PRIME/usr/share/doc/ -type f -not -name 'copyright' -delete + # find $CRAFT_PRIME/usr/share -type d -empty -delete | /bin/true + # # Unused libraries found by linter + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubrick-23.08.2/src/movetracker.cpp new/kubrick-23.08.3/src/movetracker.cpp --- old/kubrick-23.08.2/src/movetracker.cpp 2023-10-10 04:34:52.000000000 +0200 +++ new/kubrick-23.08.3/src/movetracker.cpp 2023-11-04 12:15:10.000000000 +0100 @@ -693,10 +693,12 @@ GLfloat MoveTracker::getMousePosition (const int mX, const int mY, double pos[]) { + const qreal dpr = myParent->devicePixelRatio(); + GLfloat depth; // Read the depth value at the position on the screen. - glReadPixels (mX, mY, 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT, &depth); + glReadPixels (mX * dpr, mY * dpr, 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT, &depth); // Get the mouse position in OpenGL world co-ordinates. getAbsGLPosition (mX, mY, depth, pos); @@ -716,6 +718,8 @@ void MoveTracker::getGLPosition (int sX, int sY, GLfloat depth, double matrix[], double pos[]) { + const qreal dpr = myParent->devicePixelRatio(); + // Retrieve the OpenGL projection matrix and viewport. GLdouble p [16]; GLint v [4]; @@ -724,7 +728,7 @@ // Find the world coordinates of the nearest object at the screen position. GLdouble objx, objy, objz; - GLint ret = gluUnProject (sX, sY, depth, + GLint ret = gluUnProject (sX * dpr, sY * dpr, depth, matrix, p, v, &objx, &objy, &objz); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubrick-23.08.2/src/org.kde.kubrick.appdata.xml new/kubrick-23.08.3/src/org.kde.kubrick.appdata.xml --- old/kubrick-23.08.2/src/org.kde.kubrick.appdata.xml 2023-10-10 04:34:52.000000000 +0200 +++ new/kubrick-23.08.3/src/org.kde.kubrick.appdata.xml 2023-11-04 12:15:10.000000000 +0100 @@ -185,9 +185,9 @@ <content_attribute id="money-gambling">none</content_attribute> </content_rating> <releases> + <release version="1.1.23083" date="2023-11-09"/> <release version="1.1.23082" date="2023-10-12"/> <release version="1.1.23081" date="2023-09-14"/> <release version="1.1.23080" date="2023-08-24"/> - <release version="1.1.23043" date="2023-07-06"/> </releases> </component>
