Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package krita for openSUSE:Factory checked 
in at 2021-03-11 20:10:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/krita (Old)
 and      /work/SRC/openSUSE:Factory/.krita.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "krita"

Thu Mar 11 20:10:54 2021 rev:52 rq:878161 version:4.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/krita/krita.changes      2021-03-06 
21:19:10.553268995 +0100
+++ /work/SRC/openSUSE:Factory/.krita.new.2401/krita.changes    2021-03-11 
20:12:47.004711423 +0100
@@ -1,0 +2,6 @@
+Wed Mar 10 12:11:14 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Add patch to fix build on ARM:
+  * 0001-Use-opengl-es-on-Arm-Linux.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Use-opengl-es-on-Arm-Linux.patch

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

Other differences:
------------------
++++++ krita.spec ++++++
--- /var/tmp/diff_new_pack.blfrp3/_old  2021-03-11 20:12:48.168713312 +0100
+++ /var/tmp/diff_new_pack.blfrp3/_new  2021-03-11 20:12:48.172713319 +0100
@@ -31,6 +31,8 @@
 Group:          Productivity/Graphics/Bitmap Editors
 URL:            https://www.krita.org/
 Source0:        
https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Use-opengl-es-on-Arm-Linux.patch
 %ifnarch %{arm} aarch64
 # causes build failure on ARM currently
 BuildRequires:  OpenColorIO-devel

++++++ 0001-Use-opengl-es-on-Arm-Linux.patch ++++++
>From 2d92ee5b01a0069cc33debdcb3c29dc817c2d6f3 Mon Sep 17 00:00:00 2001
From: Halla Rempt <[email protected]>
Date: Wed, 10 Mar 2021 12:49:34 +0100
Subject: [PATCH] Use opengl es on Arm Linux

BUG:421136
(cherry picked from commit c91d020b244f012e09203c14d80d8e8774362a57)
---
 libs/ui/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/ui/CMakeLists.txt b/libs/ui/CMakeLists.txt
index 87bea6e30e..4876489b8e 100644
--- a/libs/ui/CMakeLists.txt
+++ b/libs/ui/CMakeLists.txt
@@ -7,7 +7,7 @@ include_directories(SYSTEM
     ${OCIO_INCLUDE_DIR}
 )
 
-if (ANDROID)
+if (ANDROID OR (CMAKE_SYSTEM_PROCESSOR MATCHES 
"^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)" AND NOT APPLE))
     add_definitions(-DQT_OPENGL_ES_3)
     add_definitions(-DHAS_ONLY_OPENGL_ES)
     include_directories (${Qt5AndroidExtras_INCLUDE_DIRS})
-- 
2.30.1

Reply via email to