Skip to contentSkip to conversation

geany-plugins: Delete unused patches

PATCH New Khem Raj 1 participant 4 messages Dec 14, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/4 geany-plugins: Delete unused patches

---
 ...-Do-not-tinker-with-pkg-config-paths.patch | 32 -----------------
 ...bar-Adjust-structs-for-libgit2-1.4.x.patch | 36 -------------------
 ...e-Use-0-instead-of-NULL-for-gboolean.patch | 34 ------------------
 3 files changed, 102 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/geany/geany-plugins/0001-geany.m4-Do-not-tinker-with-pkg-config-paths.patch
 delete mode 100644 meta-oe/recipes-devtools/geany/geany-plugins/0001-git-changebar-Adjust-structs-for-libgit2-1.4.x.patch
 delete mode 100644 meta-oe/recipes-devtools/geany/geany-plugins/0001-scope-Use-0-instead-of-NULL-for-gboolean.patch
meta-oe/recipes-devtools/geany/geany-plugins/0001-geany.m4-Do-not-tinker-with-pkg-config-paths.patch deleted +0 -32
deleted file mode 100644
index cd417e0d7b..0000000000
@@ -1,32 +0,0 @@
-From b2187b45f61ce362a9d58d9081d66daddb4e577f Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sun, 20 Mar 2022 15:54:14 -0700
-Subject: [PATCH] geany.m4: Do not tinker with pkg-config paths
-
-OE sets up these paths correctly w.r.t. target sysroot
-
-Upstream-Status: Inappropriate [OE-Specific]
-Signed-off-by: Khem Raj <[email protected]>
----
- build/geany.m4 | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/build/geany.m4
-+++ b/build/geany.m4
-@@ -32,7 +32,8 @@ AC_DEFUN([GP_CHECK_GEANY],
- [
-     AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-
--    GP_GEANY_PKG_CONFIG_PATH_PUSH
-+    dnl GP_GEANY_PKG_CONFIG_PATH_PUSH
-+    AC_REQUIRE([_GP_GEANY_LIBDIR])
-
-     PKG_CHECK_MODULES([GEANY], [geany >= $1])
-     geanypluginsdir=$geany_libdir/geany
-@@ -40,5 +41,5 @@ AC_DEFUN([GP_CHECK_GEANY],
-     AC_SUBST([geanypluginsdir])
-     AC_SUBST([GEANY_VERSION])
-
--    GP_GEANY_PKG_CONFIG_PATH_POP
-+    dnl GP_GEANY_PKG_CONFIG_PATH_POP
- ])
meta-oe/recipes-devtools/geany/geany-plugins/0001-git-changebar-Adjust-structs-for-libgit2-1.4.x.patch deleted +0 -36
deleted file mode 100644
index fe2d9f54ba..0000000000
@@ -1,36 +0,0 @@
-From 90c46235ad69a411d83a5e978492421e8e378934 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 18 Feb 2022 23:35:58 -0800
-Subject: [PATCH] git-changebar: Adjust structs for libgit2 1.4.x
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <[email protected]>
----
- git-changebar/src/gcb-plugin.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/git-changebar/src/gcb-plugin.c b/git-changebar/src/gcb-plugin.c
-index f8ce20c..4488b22 100644
---- a/git-changebar/src/gcb-plugin.c
-+++ b/git-changebar/src/gcb-plugin.c
-@@ -216,7 +216,7 @@ static int
- gcb_git_buf_grow (git_buf  *buf,
-                   size_t    target_size)
- {
--  if (buf->asize == 0) {
-+  if (buf->reserved == 0) {
-     if (target_size == 0) {
-       target_size = buf->size;
-     }
-@@ -234,7 +234,7 @@ buf_zero (git_buf *buf)
-   if (buf) {
-     buf->ptr = NULL;
-     buf->size = 0;
--    buf->asize = 0;
-+    buf->reserved = 0;
-   }
- }
-
---
-2.35.1
-
meta-oe/recipes-devtools/geany/geany-plugins/0001-scope-Use-0-instead-of-NULL-for-gboolean.patch deleted +0 -34
deleted file mode 100644
index bb03fa63de..0000000000
@@ -1,34 +0,0 @@
-From 9ee9388bc66e6cf68db96b2014dca2115f745dc9 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Tue, 30 Aug 2022 22:33:46 -0700
-Subject: [PATCH] scope: Use 0 instead of NULL for gboolean
-
-Fixes warnings with clang 15+
-
-scope/src/stack.c:168:11: error: incompatible pointer to integer conversion initializing 'gboolean' (aka 'int') with an expression of type 'void *' [-Wint-conversion]
-        gboolean entry = NULL;
-                 ^       ~~~~
-1 error generated.
-
-Upstream-Status: Submitted [https://github.com/geany/geany-plugins/pull/1191]
-Signed-off-by: Khem Raj <[email protected]>
----
- scope/src/stack.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/scope/src/stack.c b/scope/src/stack.c
-index b03909fe..041dd415 100644
---- a/scope/src/stack.c
-+++ b/scope/src/stack.c
-@@ -165,7 +165,7 @@ void on_stack_follow(GArray *nodes)
- gboolean stack_entry(void)
- {
- 	GtkTreeIter iter;
--	gboolean entry = NULL;
-+	gboolean entry = 0;
-
- 	if (gtk_tree_selection_get_selected(selection, NULL, &iter))
- 	{
---
-2.37.3
-
author
#1 lore raw

PATCH 2/4 openocd: Delete unused patch

---
 ...SOURCE_DATE_EPOCH-environment-variab.patch | 38 -------------------
 1 file changed, 38 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/openocd/openocd/0001-Makefile.am-Use-SOURCE_DATE_EPOCH-environment-variab.patch
meta-oe/recipes-devtools/openocd/openocd/0001-Makefile.am-Use-SOURCE_DATE_EPOCH-environment-variab.patch deleted +0 -38
deleted file mode 100644
index a7d7552d5a..0000000000
@@ -1,38 +0,0 @@
-From 65969a2b73ce93db4c80f1706677351b0e57fa72 Mon Sep 17 00:00:00 2001
-From: Sofiane HAMAM <[email protected]>
-Date: Fri, 28 Mar 2025 12:31:17 +0100
-Subject: [PATCH] Makefile.am: Use SOURCE_DATE_EPOCH environment variable
-
-This package defines PKGBLDDATE as build timestamp which makes
-it non reproducible. Use SOURCE_DATE_EPOCH if it is found, otherwise
-use build timestamp. Following best practices, see :
-https://reproducible-builds.org/docs/source-date-epoch/
-
-The patch is BSD compatible too.
-
-Change-Id: I26c1a00f2e8059ae31fe72a794b5962af5a84f44
-Co-developed-by: Yoann Congal <[email protected]>
-Signed-off-by: Yoann Congal <[email protected]>
-Signed-off-by: Sofiane HAMAM <[email protected]>
-
-Upstream-Status: Backport [https://repo.or.cz/openocd.git?a=commit;h=6834f022b96fb1c7f5829166578e01a0ac223cb0]
----
- src/Makefile.am | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 6d79cd631..9ca697407 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -30,7 +30,10 @@ if RELEASE
- else
- %C%_libopenocd_la_CPPFLAGS += -DRELSTR=\"`$(top_srcdir)/guess-rev.sh $(top_srcdir)`\"
- %C%_libopenocd_la_CPPFLAGS += -DGITVERSION=\"`cd $(top_srcdir) && git describe`\"
--%C%_libopenocd_la_CPPFLAGS += -DPKGBLDDATE=\"`date +%F-%R`\"
-+%C%_libopenocd_la_CPPFLAGS += -DPKGBLDDATE=\"`DATE_FMT=+%F-%R; \
-+	SOURCE_DATE_EPOCH="$${SOURCE_DATE_EPOCH:-$$(date +%s)}"; \
-+	date -u -d "@$$SOURCE_DATE_EPOCH" "$$DATE_FMT" 2>/dev/null || \
-+	date -u -r "$$SOURCE_DATE_EPOCH" "$$DATE_FMT" 2>/dev/null || date -u "$$DATE_FMT"`\"
- endif
-
- # add default CPPFLAGS
author
#2 lore raw

PATCH 3/4 vk-gl-cts: Delete unused patch

In reply to Khem Raj
---
 ...clude-cstdint-causing-build-failures.patch | 47 -------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch
meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch deleted +0 -47
deleted file mode 100644
index 44632bc74f..0000000000
@@ -1,47 +0,0 @@
-From 1d80b54aefd1f5f361990b1223c6fe308a8d3085 Mon Sep 17 00:00:00 2001
-From: Ricardo Garcia <[email protected]>
-Date: Mon, 21 Apr 2025 12:30:05 +0200
-Subject: [PATCH] Fix missing #include <cstdint> causing build failures
-
-Tested on Fedora 42 with clang.
-
-Upstream-Status: Submitted [https://github.com/google/amber/pull/1092]
-
-Fixes:
-http://errors.yoctoproject.org/Errors/Details/852849/
-
-In file included from TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.cc:15:
-TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.h:56:39: error: 'uint32_t' has not been declared
-   56 |   static bool IsInt8(FormatMode mode, uint32_t num_bits) {
-      |                                       ^~~~~~~~
-
-Signed-off-by: Martin Jansa <[email protected]>
----
- src/tokenizer.h | 1 +
- src/type.h      | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/src/tokenizer.h b/src/tokenizer.h
-index 53efec60..ea4f19df 100644
---- a/src/tokenizer.h
-+++ b/src/tokenizer.h
-@@ -16,6 +16,7 @@
- #define SRC_TOKENIZER_H_
-
- #include <cstdlib>
-+#include <cstdint>
- #include <memory>
- #include <string>
-
-diff --git a/src/type.h b/src/type.h
-index c63779ba..97720f29 100644
---- a/src/type.h
-+++ b/src/type.h
-@@ -16,6 +16,7 @@
- #define SRC_TYPE_H_
-
- #include <cassert>
-+#include <cstdint>
- #include <memory>
- #include <string>
- #include <vector>
author
#3 lore raw

PATCH 4/4 wavpack: Delete unused patches

In reply to Khem Raj
---
 ...act-libtool-and-convert-to-soversion.patch | 35 -------------------
 .../files/set-soversion-and-version.patch     | 26 --------------
 2 files changed, 61 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/wavpack/files/extract-libtool-and-convert-to-soversion.patch
 delete mode 100644 meta-oe/recipes-multimedia/wavpack/files/set-soversion-and-version.patch
meta-oe/recipes-multimedia/wavpack/files/extract-libtool-and-convert-to-soversion.patch deleted +0 -35
deleted file mode 100644
index d66ad4f268..0000000000
@@ -1,35 +0,0 @@
-From 25e12cf5918884f232cebc34c92bd548fe40c2b3 Mon Sep 17 00:00:00 2001
-From: Anonymous Maarten <[email protected]>
-Date: Fri, 9 Dec 2022 19:13:09 +0100
-Subject: [PATCH] cmake: extract libtool from configure.ac and convert to
- SOVERSION
-
-Upstream-Status: Backport [https://github.com/dbry/WavPack/commit/25e12cf5918884f232cebc34c92bd548fe40c2b3]
-Signed-off-by: alperak <[email protected]>
----
- CMakeLists.txt | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index adc73b09..7ae5043f 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2,6 +2,18 @@ cmake_minimum_required(VERSION 3.2)
-
- project(WavPack VERSION 5.6.0)
-
-+file(READ "${CMAKE_CURRENT_SOURCE_DIR}/configure.ac" CONFIGURE_AC)
-+string(REGEX MATCH "LT_CURRENT=([0-9]+)" LT_CURRENT "${CONFIGURE_AC}")
-+set(LT_CURRENT "${CMAKE_MATCH_1}")
-+string(REGEX MATCH "LT_REVISION=([0-9]+)" LT_REVISION "${CONFIGURE_AC}")
-+set(LT_REVISION "${CMAKE_MATCH_1}")
-+string(REGEX MATCH "LT_AGE=([0-9]+)" LT_AGE "${CONFIGURE_AC}")
-+set(LT_AGE "${CMAKE_MATCH_1}")
-+
-+math(EXPR SOVERSION_MAJOR "${LT_CURRENT}-${LT_AGE}")
-+math(EXPR SOVERSION_MINOR "${LT_AGE}")
-+math(EXPR SOVERSION_MICRO "${LT_REVISION}")
-+
- # Languages
-
- include(CheckLanguage)
meta-oe/recipes-multimedia/wavpack/files/set-soversion-and-version.patch deleted +0 -26
deleted file mode 100644
index faddb7b754..0000000000
@@ -1,26 +0,0 @@
-From 7c1dd729302b7f77f65884df4e79301df1490423 Mon Sep 17 00:00:00 2001
-From: Anonymous Maarten <[email protected]>
-Date: Fri, 9 Dec 2022 19:23:51 +0100
-Subject: [PATCH] cmake: set SOVERSION and VERSION property of wavpack
-
-This is used to version .so libraries on Linux
-
-Upstream-Status: Backport [https://github.com/dbry/WavPack/commit/7c1dd729302b7f77f65884df4e79301df1490423]
-Signed-off-by: alperak <[email protected]>
----
- CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7ae5043f..285b295b 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -361,6 +361,8 @@ if(BUILD_SHARED_LIBS)
-         target_link_directories(wavpack PRIVATE "-Wl,-exported_symbols_list,${CMAKE_CURRENT_BINARY_DIR}/libwavpack.sym")
-     endif()
-   else()
-+    set_target_properties(wavpack PROPERTIES SOVERSION "${SOVERSION_MAJOR}")
-+    set_target_properties(wavpack PROPERTIES VERSION "${SOVERSION_MAJOR}.${SOVERSION_MINOR}.${SOVERSION_MICRO}")
-     set(CONFTTEST_CONTENTS "VERS_1 {\n    global: sym;\n};\n\nVERS_2 {\n    global: sym;\n} VERS_1;\n")
-     file(WRITE ${PROJECT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/conftest.map "${CONFTTEST_CONTENTS}")
-     check_c_linker_flag("-Wl,--version-script=${PROJECT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/conftest.map" COMPILER_SUPPORTS_SYMBOL_MAPS)