[packages/glib2] up to 2.82.0
atler
atler at pld-linux.org
Mon Aug 26 15:04:52 CEST 2024
commit 2ab79dbfb4170b0de7091afe8f77ee8600874a55
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Aug 26 14:19:37 2024 +0200
up to 2.82.0
glib2-python_shebang.patch | 43 -------------------------------------------
glib2.spec | 9 ++++-----
2 files changed, 4 insertions(+), 48 deletions(-)
---
diff --git a/glib2.spec b/glib2.spec
index 9904dcf..b33f43c 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -22,14 +22,13 @@ Summary(pt_BR.UTF-8): Conjunto de funções gráficas utilitárias
Summary(tr.UTF-8): Yararlı ufak yordamlar kitaplığı
Summary(zh_CN.UTF-8): 实用工具函数库
Name: glib2
-Version: 2.80.4
+Version: 2.82.0
Release: 1
Epoch: 1
License: LGPL v2+
Group: Libraries
-Source0: https://download.gnome.org/sources/glib/2.80/glib-%{version}.tar.xz
-# Source0-md5: 4334211338220a165350d1c4a1597b0e
-Patch0: %{name}-python_shebang.patch
+Source0: https://download.gnome.org/sources/glib/2.82/glib-%{version}.tar.xz
+# Source0-md5: 9f94b8b15bc22dbe6a2c8aafd6fb0293
URL: https://www.gtk.org/
BuildRequires: automake
BuildRequires: docbook-dtd412-xml
@@ -245,11 +244,11 @@ Sondy systemtap/dtrace dla GLib 2.
%prep
%setup -q -n glib-%{version}
-%patch0 -p1
%build
%meson build \
%{?debug:--debug} \
+ -Dglib_debug=%{?debug:enabled}%{!?debug:disabled} \
-Ddtrace=%{__true_false systemtap} \
%{!?with_introspection:-Dintrospection=disabled} \
-Dsystemtap=%{__true_false systemtap} \
diff --git a/glib2-python_shebang.patch b/glib2-python_shebang.patch
deleted file mode 100644
index 26897d0..0000000
--- a/glib2-python_shebang.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- glib-2.80.0/meson.build.orig 2024-03-09 18:31:13.808268422 +0100
-+++ glib-2.80.0/meson.build 2024-03-09 18:34:02.170689658 +0100
-@@ -2421,7 +2421,7 @@ glib_conf.set('HAVE_PROC_SELF_CMDLINE',
-
- python = import('python').find_installation(modules: ['packaging'])
- # used for '#!/usr/bin/env <name>'
--python_name = 'python3'
-+python_name = python.path()
-
- python_version = python.language_version()
- python_version_req = '>=3.7'
---- glib-2.62.4/gio/gdbus-2.0/codegen/gdbus-codegen.in.orig 2019-12-19 17:33:15.000000000 +0100
-+++ glib-2.62.4/gio/gdbus-2.0/codegen/gdbus-codegen.in 2019-12-20 18:38:55.327058974 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env @PYTHON@
-+#!@PYTHON@
-
- # GDBus - GLib D-Bus Library
- #
---- glib-2.62.4/glib/gtester-report.in.orig 2019-12-19 17:33:15.000000000 +0100
-+++ glib-2.62.4/glib/gtester-report.in 2019-12-20 18:38:21.813907197 +0100
-@@ -1,4 +1,4 @@
--#! /usr/bin/env @PYTHON@
-+#!@PYTHON@
- # GLib Testing Framework Utility -*- Mode: python; -*-
- # Copyright (C) 2007 Imendio AB
- # Authors: Tim Janik
---- glib-2.62.4/gobject/glib-genmarshal.in.orig 2019-12-19 17:33:15.000000000 +0100
-+++ glib-2.62.4/gobject/glib-genmarshal.in 2019-12-20 18:37:54.627387812 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env @PYTHON@
-+#!@PYTHON@
-
- # pylint: disable=too-many-lines, missing-docstring, invalid-name
-
---- glib-2.62.4/gobject/glib-mkenums.in.orig 2019-12-19 17:33:15.000000000 +0100
-+++ glib-2.62.4/gobject/glib-mkenums.in 2019-12-20 18:38:03.210674646 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env @PYTHON@
-+#!@PYTHON@
-
- # If the code below looks horrible and unpythonic, do not panic.
- #
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glib2.git/commitdiff/2ab79dbfb4170b0de7091afe8f77ee8600874a55
More information about the pld-cvs-commit
mailing list