public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kalev Lember <klember@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Switch to the meson build system
Date: Tue, 11 Aug 2026 10:36:42 GMT [thread overview]
Message-ID: <178644460236.1.13916894225674739963.rpms-glib2-9f7e13d0dba8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 9f7e13d0dba89cc8ae7fd67a34622ad2e0718fd9
Author : Kalev Lember <klember@redhat.com>
Date : 2019-01-03T13:57:37+01:00
Stats : +14/-25 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/9f7e13d0dba89cc8ae7fd67a34622ad2e0718fd9?branch=cve-2026-58016-f44
Log:
Switch to the meson build system
---
diff --git a/glib2.spec b/glib2.spec
index 6e25548..35f5707 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -20,11 +20,13 @@ BuildRequires: chrpath
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gettext
+BuildRequires: gtk-doc
BuildRequires: perl-interpreter
# for sys/inotify.h
BuildRequires: glibc-devel
BuildRequires: libattr-devel
BuildRequires: libselinux-devel
+BuildRequires: meson
# for sys/sdt.h
BuildRequires: systemtap-sdt-devel
BuildRequires: pkgconfig(libelf)
@@ -32,9 +34,6 @@ BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(mount)
BuildRequires: pkgconfig(zlib)
-# Bootstrap build requirements
-BuildRequires: automake autoconf libtool
-BuildRequires: gtk-doc
BuildRequires: python3-devel
# for GIO content-type support
@@ -91,36 +90,25 @@ the functionality of the installed glib2 package.
%build
# Bug 1324770: Also explicitly remove PCRE sources since we use --with-pcre=system
rm glib/pcre/*.[ch]
-# Support builds of both git snapshots and tarballs packed with autogoo
-(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
- %configure $CONFIGFLAGS \
- --disable-silent-rules \
- --with-python=%{__python3} \
- --with-pcre=system \
- --enable-systemtap \
- --enable-static \
- --enable-installed-tests
-)
-
-%make_build
+%meson \
+ --default-library=both \
+ -Dman=true \
+ -Ddtrace=true \
+ -Dsystemtap=true \
+ -Dgtk_doc=true \
+ -Dfam=true \
+ -Dinstalled_tests=true
+
+%meson_build
%install
-%make_install
+%meson_install
# Since this is a generated .py file, set it to a known timestamp,
# otherwise it will vary by build time, and thus break multilib -devel
# installs.
touch -r gio/gdbus-2.0/codegen/config.py.in $RPM_BUILD_ROOT/%{_datadir}/glib-2.0/codegen/config.py
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.{a,la}
-# Remove python files bytecompiled by the build system. rpmbuild regenerates
-# them again later in a brp script using the timestamps set above.
-rm -f $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb/*.{pyc,pyo}
-rm -f $RPM_BUILD_ROOT%{_datadir}/glib-2.0/gdb/__pycache__/
-rm -f $RPM_BUILD_ROOT%{_datadir}/glib-2.0/codegen/*.{pyc,pyo}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/glib-2.0/codegen/__pycache__/
-
mv $RPM_BUILD_ROOT%{_bindir}/gio-querymodules $RPM_BUILD_ROOT%{_bindir}/gio-querymodules-%{__isa_bits}
touch $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache
@@ -229,6 +217,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog
* Thu Jan 03 2019 Kalev Lember <klember@redhat.com> - 2.59.0-1
- Update to 2.59.0
+- Switch to the meson build system
* Tue Dec 18 2018 Kalev Lember <klember@redhat.com> - 2.58.2-1
- Update to 2.58.2
reply other threads:[~2026-08-11 10:36 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=178644460236.1.13916894225674739963.rpms-glib2-9f7e13d0dba8@fedoraproject.org \
--to=klember@redhat.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