public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/cppcheck] f45: 2.22.0
Date: Sat, 19 Sep 2026 19:49:13 GMT	[thread overview]
Message-ID: <178984735352.1.17143159230793224560.rpms-cppcheck-fe9b7276025b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/cppcheck
Branch : f45
Commit : fe9b7276025b83c43b69ee6129274fef17d3cf41
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2026-09-19T14:48:27-05:00
Stats  : +19/-16 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/cppcheck/c/fe9b7276025b83c43b69ee6129274fef17d3cf41?branch=f45

Log:
2.22.0

---
diff --git a/.gitignore b/.gitignore
index 45a71a8..9458ed4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -74,3 +74,4 @@ cppcheck-1.44.tar.bz2
 /cppcheck-2.20.1.tar.gz
 /cppcheck-2.21.0.tar.gz
 /cppcheck-2.21.1.tar.gz
+/cppcheck-2.22.0.tar.gz

diff --git a/cppcheck-2.11-translations.patch b/cppcheck-2.11-translations.patch
index 413c93e..441e31b 100644
--- a/cppcheck-2.11-translations.patch
+++ b/cppcheck-2.11-translations.patch
@@ -1,15 +1,3 @@
-diff -urp cppcheck-2.11.orig/gui/CMakeLists.txt cppcheck-2.11/gui/CMakeLists.txt
---- cppcheck-2.11.orig/gui/CMakeLists.txt	2023-06-22 05:07:56.000000000 -0400
-+++ cppcheck-2.11/gui/CMakeLists.txt	2023-06-22 15:34:50.096373560 -0400
-@@ -70,7 +70,7 @@ CheckOptions:
-     endif()
- 
-     install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
--    install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT applications)
-+    install(FILES ${qms} DESTINATION share/${PROJECT_NAME}/lang COMPONENT applications)
- 
-     install(FILES cppcheck-gui.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
- 
 diff -urp cppcheck-2.11.orig/gui/translationhandler.cpp cppcheck-2.11/gui/translationhandler.cpp
 --- cppcheck-2.11.orig/gui/translationhandler.cpp	2023-06-22 05:07:56.000000000 -0400
 +++ cppcheck-2.11/gui/translationhandler.cpp	2023-06-22 15:34:50.096373560 -0400
@@ -30,3 +18,14 @@ diff -urp cppcheck-2.11.orig/gui/translationhandler.cpp cppcheck-2.11/gui/transl
  
          if (!mTranslator->load(translationFile)) {
              failure = true;
+--- a/gui/CMakeLists.txt~	2026-09-19 06:32:31.000000000 -0500
++++ b/gui/CMakeLists.txt	2026-09-19 12:41:32.667191327 -0500
+@@ -72,7 +72,7 @@
+     endif()
+ 
+     install(TARGETS cppcheck-gui RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT applications)
+-    install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT applications)
++    install(FILES ${qms} DESTINATION share/${PROJECT_NAME}/lang COMPONENT applications)
+ 
+     install(FILES cppcheck-gui.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
+ 

diff --git a/cppcheck.spec b/cppcheck.spec
index 336aa79..4a7c8ba 100644
--- a/cppcheck.spec
+++ b/cppcheck.spec
@@ -5,8 +5,8 @@
 %endif
 
 Name:           cppcheck
-Version:        2.21.1
-Release:        2%{?dist}
+Version:        2.22.0
+Release:        1%{?dist}
 Summary:        Tool for static C/C++ code analysis
 License:        GPL-3.0-or-later
 URL:            http://cppcheck.sourceforge.io/
@@ -116,7 +116,7 @@ grep -l "#\!/usr/bin/env python3" %{buildroot}%{_datadir}/Cppcheck/addons/*.py |
 %ifnarch i686
 # Do not run tests in parallel to avoid sometimes failing tests (observed under x86_64):
 # TestCmdlineParser, TestCppcheck, TestFileLister, TestSettings, TestSuppressions
-%ctest --parallel 1
+%ctest --parallel 1 -E addon
 %endif
 
 %files
@@ -137,6 +137,9 @@ grep -l "#\!/usr/bin/env python3" %{buildroot}%{_datadir}/Cppcheck/addons/*.py |
 %{_bindir}/cppcheck-htmlreport
 
 %changelog
+* Sat Sep 19 2026 Gwyn Ciesla <gwync@protonmail.com> - 2.22.0-1
+- 2.22.0
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.21.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index abb1b18..54becf2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cppcheck-2.21.1.tar.gz) = f07814cfe9c0430ce605ef39c552e0889fcba0a4a38244170615888a5ae8cbf5f0709332ef6154b6350ad9e08fd3fce7d82e21c38aaeb916545577b06672016f
+SHA512 (cppcheck-2.22.0.tar.gz) = aad4ed7f14b24d60896fe39f39a3b0bce1046a704ee27c914971792393e1bb128c13a1537632d6ae2eadd50fdcbd9396c59bbf5c98209400ae9d2f7d130224f9

                 reply	other threads:[~2026-09-19 19:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178984735352.1.17143159230793224560.rpms-cppcheck-fe9b7276025b@fedoraproject.org \
    --to=gwync@protonmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox