Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kicad for openSUSE:Factory checked 
in at 2026-04-01 19:51:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kicad (Old)
 and      /work/SRC/openSUSE:Factory/.kicad.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kicad"

Wed Apr  1 19:51:00 2026 rev:86 rq:1343877 version:10.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kicad/kicad.changes      2026-03-20 
21:21:16.237156001 +0100
+++ /work/SRC/openSUSE:Factory/.kicad.new.21863/kicad.changes   2026-04-01 
19:51:47.276013487 +0200
@@ -1,0 +2,11 @@
+Wed Mar 25 15:48:52 UTC 2026 - Stefan BrĂ¼ns <[email protected]>
+
+- Update to 10.0.0:
+  See https://www.kicad.org/blog/2026/03/Version-10.0.0-Released/
+  for details
+- Removed GLEW conditionals, GLEW has been replaced with GLAD.
+- Add patches:
+   0001-Fix-ODR-violation-due-to-multiple-definition-of-TEXT.patch
+   0002-Fix-ODR-violation-due-to-multiple-definition-of-COL_.patch
+
+-------------------------------------------------------------------

Old:
----
  kicad-9.0.8.tar.bz2

New:
----
  0001-Fix-ODR-violation-due-to-multiple-definition-of-TEXT.patch
  0002-Fix-ODR-violation-due-to-multiple-definition-of-COL_.patch
  kicad-10.0.0.tar.bz2

----------(New B)----------
  New:- Add patches:
   0001-Fix-ODR-violation-due-to-multiple-definition-of-TEXT.patch
   0002-Fix-ODR-violation-due-to-multiple-definition-of-COL_.patch
  New:   0001-Fix-ODR-violation-due-to-multiple-definition-of-TEXT.patch
   0002-Fix-ODR-violation-due-to-multiple-definition-of-COL_.patch
----------(New E)----------

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

Other differences:
------------------
++++++ kicad.spec ++++++
--- /var/tmp/diff_new_pack.9sF0MS/_old  2026-04-01 19:51:48.768075657 +0200
+++ /var/tmp/diff_new_pack.9sF0MS/_new  2026-04-01 19:51:48.772075824 +0200
@@ -16,33 +16,20 @@
 #
 
 
-%if 0%{?suse_version} >= 1600
-# EGL preferred, as required for wayland
-%bcond_without use_egl
-%if 0%{?suse_version} > 1600
-#
-%bcond_with    bundled_glew
-%else
-# Currently no GLEW with EGL available
-%bcond_without bundled_glew
-%endif
-%else
-%bcond_with    use_egl
-%bcond_with    bundled_glew
-%endif
-
-# According to upstream, kicad 9.x.y can be used with the footprint and
-# symbol libraries from version 9.0.0
-%define compatversion 9.0.0
+# According to upstream, kicad 10.x.y can be used with the footprint and
+# symbol libraries from version 10.0.0
+%define compatversion 10.0.0
 Name:           kicad
-Version:        9.0.8
-%define file_version 9.0.8
+Version:        10.0.0
+%define file_version 10.0.0
 Release:        0
 Summary:        EDA software suite for the creation of schematics and PCB
 License:        AGPL-3.0-or-later AND GPL-3.0-or-later
 Group:          Productivity/Scientific/Electronics
 URL:            https://www.kicad.org
 Source:         
https://gitlab.com/kicad/code/kicad/-/archive/%{file_version}/kicad-%{file_version}.tar.bz2
+Patch0:         0001-Fix-ODR-violation-due-to-multiple-definition-of-TEXT.patch
+Patch1:         0002-Fix-ODR-violation-due-to-multiple-definition-of-COL_.patch
 
 BuildRequires:  cmake >= 3.16
 BuildRequires:  fdupes
@@ -54,14 +41,12 @@
 BuildRequires:  gcc11-c++ >= 8
 %endif
 BuildRequires:  gettext
-%if %{without bundled_glew}
-BuildRequires:  glew%{?with_use_egl:_EGL}-devel
-%endif
 BuildRequires:  glm-devel >= 0.9.8
 BuildRequires:  libboost_filesystem-devel-impl
 BuildRequires:  libboost_locale-devel-impl
 BuildRequires:  libboost_test-devel-impl
 BuildRequires:  libngspice-devel
+BuildRequires:  libspnav-devel
 BuildRequires:  memory-constraints
 BuildRequires:  occt-devel
 BuildRequires:  pkg-config
@@ -78,6 +63,7 @@
 BuildRequires:  pkgconfig(libsecret-1)
 BuildRequires:  pkgconfig(odbc)
 BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(poppler-glib)
 BuildRequires:  pkgconfig(python3) >= 3.6
 BuildRequires:  pkgconfig(zlib)
 # Fix directory owner
@@ -155,12 +141,6 @@
 sed -i -e '/SWIG_OPTS/ { s/ -O/ -py3/ ; s/ -fastdispatch//}' 
pcbnew/CMakeLists.txt
 %endif
 
-# Fix detection of system GLEW, and use the proper CMake targets
-%if %{without bundled_glew}
-rm cmake/FindGLEW.cmake
-sed -i -e 's/${GLEW_LIBRARIES}/GLEW::GLEW/' common/gal/CMakeLists.txt
-%endif
-
 %build
 %if 0%{?suse_version} < 1550
 export CXX=g++-11 CC=gcc-11
@@ -175,8 +155,6 @@
     -DKICAD_BUILD_I18N=ON \
     -DKICAD_I18N_UNIX_STRICT_PATH:BOOL=ON \
     -DKICAD_SCRIPTING_WXPYTHON=ON \
-    -DKICAD_USE_EGL:BOOL=%{?with_use_egl:ON}%{!?with_use_egl:OFF} \
-    
-DKICAD_USE_BUNDLED_GLEW:BOOL=%{?with_bundled_glew:ON}%{!?with_bundled_glew:OFF}
 \
     -DKICAD_PCM=ON \
     -DKICAD_SPICE=ON
 
@@ -185,15 +163,6 @@
 %install
 %cmake_install
 
-%if 0%{?suse_version} < 1550
-%suse_update_desktop_file -r org.kicad.bitmap2component "Education;Engineering"
-%suse_update_desktop_file -r org.kicad.eeschema "Education;Engineering"
-%suse_update_desktop_file -r org.kicad.gerbview "Education;Engineering"
-%suse_update_desktop_file -r org.kicad.kicad "Education;Engineering"
-%suse_update_desktop_file -r org.kicad.pcbcalculator "Education;Engineering"
-%suse_update_desktop_file -r org.kicad.pcbnew "Education;Engineering"
-%endif
-
 # Remove development symlinks, pointless without any headers etc.
 rm %{buildroot}%{_libdir}/libki{cad_3dsg,common,gal}.so
 
@@ -243,6 +212,8 @@
 %{_datadir}/mime/packages/kicad-*.xml
 %{_datadir}/icons/hicolor/*/mimetypes/application-x-*
 %{_datadir}/icons/hicolor/*/apps/*.*
+%{_datadir}/bash-completion/completions/kicad-cli
+%{_datadir}/zsh/site-functions/_kicad-cli
 
 %files lang -f %{name}.lang
 

++++++ 0001-Fix-ODR-violation-due-to-multiple-definition-of-TEXT.patch ++++++
>From 4849600afe39ae11f3d5b1d1e057379eb0e1138f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]>
Date: Fri, 20 Mar 2026 15:47:10 +0100
Subject: [PATCH 1/2] Fix ODR violation due to multiple definition of
 TEXT_VAR_GRID_COLUMNS

The enum is used only locally in the TU, and thus can and should have
internal linkage, put each one in an anonymous namespace.
---
 common/dialogs/dialog_configure_paths.cpp | 2 ++
 common/dialogs/panel_text_variables.cpp   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/common/dialogs/dialog_configure_paths.cpp 
b/common/dialogs/dialog_configure_paths.cpp
index ac91306546..068108baef 100644
--- a/common/dialogs/dialog_configure_paths.cpp
+++ b/common/dialogs/dialog_configure_paths.cpp
@@ -47,6 +47,7 @@
 #include <wx/regex.h>
 
 
+namespace {
 enum TEXT_VAR_GRID_COLUMNS
 {
     TV_NAME_COL = 0,
@@ -60,6 +61,7 @@ enum SEARCH_PATH_GRID_COLUMNS
     SP_PATH_COL,
     SP_DESC_COL
 };
+} // namespace
 
 
 DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS( wxWindow* aParent ) :
diff --git a/common/dialogs/panel_text_variables.cpp 
b/common/dialogs/panel_text_variables.cpp
index a58f29767f..e65c1f0566 100644
--- a/common/dialogs/panel_text_variables.cpp
+++ b/common/dialogs/panel_text_variables.cpp
@@ -34,11 +34,13 @@
 #include <widgets/grid_text_helpers.h>
 
 
+namespace {
 enum TEXT_VAR_GRID_COLUMNS
 {
     TV_NAME_COL = 0,
     TV_VALUE_COL
 };
+} // namespace
 
 
 PANEL_TEXT_VARIABLES::PANEL_TEXT_VARIABLES( wxWindow* aParent, PROJECT* 
aProject ) :
-- 
2.53.0


++++++ 0002-Fix-ODR-violation-due-to-multiple-definition-of-COL_.patch ++++++
>From 860b99d5d05ca71e431109448d40598a82708b62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]>
Date: Fri, 20 Mar 2026 16:06:34 +0100
Subject: [PATCH 2/2] Fix ODR violation due to multiple definition of COL_ORDR
 enum

In dialog_pin_proverties the enum is used only locally in the TU, and thus
can and should have internal linkage, put it in an anonymous namespace.
---
 eeschema/dialogs/dialog_pin_properties.cpp | 12 ++++++++++++
 eeschema/dialogs/dialog_pin_properties.h   | 10 ----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/eeschema/dialogs/dialog_pin_properties.cpp 
b/eeschema/dialogs/dialog_pin_properties.cpp
index 36dc830221..87bdb9a74e 100644
--- a/eeschema/dialogs/dialog_pin_properties.cpp
+++ b/eeschema/dialogs/dialog_pin_properties.cpp
@@ -38,6 +38,18 @@
 #include <wx/hyperlink.h>
 #include <symbol_preview_widget.h>
 
+namespace {
+enum COL_ORDER
+{
+    COL_NAME,
+    COL_TYPE,
+    COL_SHAPE,
+
+    COL_COUNT       // keep as last
+};
+} // namespace
+
+
 class ALT_PIN_DATA_MODEL : public WX_GRID_TABLE_BASE, public 
std::vector<SCH_PIN::ALT>
 {
 public:
diff --git a/eeschema/dialogs/dialog_pin_properties.h 
b/eeschema/dialogs/dialog_pin_properties.h
index b439635f4d..3ed94638d6 100644
--- a/eeschema/dialogs/dialog_pin_properties.h
+++ b/eeschema/dialogs/dialog_pin_properties.h
@@ -37,16 +37,6 @@
 #include <symbol_edit_frame.h>
 
 
-enum COL_ORDER
-{
-    COL_NAME,
-    COL_TYPE,
-    COL_SHAPE,
-
-    COL_COUNT       // keep as last
-};
-
-
 class ALT_PIN_DATA_MODEL;
 class SYMBOL_PREVIEW_WIDGET;
 
-- 
2.53.0


++++++ kicad-9.0.8.tar.bz2 -> kicad-10.0.0.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/kicad/kicad-9.0.8.tar.bz2 
/work/SRC/openSUSE:Factory/.kicad.new.21863/kicad-10.0.0.tar.bz2 differ: char 
11, line 1

Reply via email to