glib2: Update to 2.75.3

Message ID 20230222115802.745810-1-stefan.schantl@ipfire.org
State New
Headers
Series glib2: Update to 2.75.3 |

Commit Message

Stefan Schantl Feb. 22, 2023, 11:58 a.m. UTC
  glib2-devel: Add dependency to zlib-devel
because GIO-2.0 requires this.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 glib2/glib2.nm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
  

Comments

Michael Tremer Feb. 22, 2023, 3:38 p.m. UTC | #1
Shouldn’t pkg-config automatically include this?

Is there a problem with this?

> On 22 Feb 2023, at 11:58, Stefan Schantl <stefan.schantl@ipfire.org> wrote:
> 
> glib2-devel: Add dependency to zlib-devel
> because GIO-2.0 requires this.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
> glib2/glib2.nm | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/glib2/glib2.nm b/glib2/glib2.nm
> index d0e6e3bbd..6d55a4f7a 100644
> --- a/glib2/glib2.nm
> +++ b/glib2/glib2.nm
> @@ -4,8 +4,8 @@
> ###############################################################################
> 
> name       = glib2
> -ver_major  = 2.74
> -ver_minor  = 2
> +ver_major  = 2.75
> +ver_minor  = 3
> version    = %{ver_major}.%{ver_minor}
> release    = 1
> thisapp    = glib-%{version}
> @@ -65,6 +65,11 @@ packages
> 
> package %{name}-devel
> template DEVEL
> +
> + requires
> + # GIO-2.0 requires zlib.h
> + zlib-devel
> + end
> end
> 
> package %{name}-debuginfo
> -- 
> 2.30.2
>
  

Patch

diff --git a/glib2/glib2.nm b/glib2/glib2.nm
index d0e6e3bbd..6d55a4f7a 100644
--- a/glib2/glib2.nm
+++ b/glib2/glib2.nm
@@ -4,8 +4,8 @@ 
 ###############################################################################
 
 name       = glib2
-ver_major  = 2.74
-ver_minor  = 2
+ver_major  = 2.75
+ver_minor  = 3
 version    = %{ver_major}.%{ver_minor}
 release    = 1
 thisapp    = glib-%{version}
@@ -65,6 +65,11 @@  packages
 
 	package %{name}-devel
 		template DEVEL
+
+		requires
+			# GIO-2.0 requires zlib.h
+			zlib-devel
+		end
 	end
 
 	package %{name}-debuginfo