public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Petr Schindler <pschindl@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/brasero] f43: Update to 3.12.4 and switch to Meson
Date: Fri, 02 Oct 2026 12:59:05 GMT	[thread overview]
Message-ID: <179094594588.1.11802047869920509244.rpms-brasero-f33fe00f5560@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/brasero
            Branch : f43
            Commit : f33fe00f5560cbe5df1879c29a29d6b20598ac6e
            Author : Petr Schindler <pschindl@redhat.com>
            Date   : 2026-09-29T17:16:32+02:00
            Stats  : +23/-122 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/brasero/c/f33fe00f5560cbe5df1879c29a29d6b20598ac6e?branch=f43

            Log:
            Update to 3.12.4 and switch to Meson

Drop the GCC 14 patch included upstream and update build dependencies,
Meson options, validation checks, and packaged files.

---
diff --git a/0001-Fix-gcc-14.x-build-failure.patch b/0001-Fix-gcc-14.x-build-failure.patch
deleted file mode 100644
index 7a4b63d..0000000
--- a/0001-Fix-gcc-14.x-build-failure.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From 5cdefa8c76ddb797bce8b67a3f5767678bd36a5a Mon Sep 17 00:00:00 2001
-From: sid <sidtosh4@gmail.com>
-Date: Mon, 3 Jun 2024 18:51:08 +0100
-Subject: [PATCH] Fix gcc 14.x build failure (due to
- -Wincompatible-pointer-types)
-
-The changes for 'brasero-drive-properties.c' are kept inline with
-'brasero-burn-options.c' (public API) for the sake of consistency.
-
-Fixes: https://gitlab.gnome.org/GNOME/brasero/-/issues/370
----
- libbrasero-burn/brasero-drive-properties.c | 10 +++-------
- libbrasero-utils/brasero-metadata.c        |  2 +-
- libbrasero-utils/brasero-pk.c              |  2 +-
- 3 files changed, 5 insertions(+), 9 deletions(-)
-
-diff --git a/libbrasero-burn/brasero-drive-properties.c b/libbrasero-burn/brasero-drive-properties.c
-index cfb2db147..22593cc16 100644
---- a/libbrasero-burn/brasero-drive-properties.c
-+++ b/libbrasero-burn/brasero-drive-properties.c
-@@ -835,23 +835,19 @@ brasero_drive_properties_set_property (GObject *object,
- 				       GParamSpec *pspec)
- {
- 	BraseroDrivePropertiesPrivate *priv;
--	BraseroBurnSession *session;
- 
- 	priv = BRASERO_DRIVE_PROPERTIES_PRIVATE (object);
- 
- 	switch (property_id) {
- 	case PROP_SESSION: /* Readable and only writable at creation time */
--		/* NOTE: no need to unref a potential previous session since
--		 * it's only set at construct time */
--		session = g_value_get_object (value);
--		priv->session = g_object_ref (session);
-+		priv->session = g_object_ref (g_value_get_object (value));
- 
- 		brasero_drive_properties_update (BRASERO_DRIVE_PROPERTIES (object));
--		priv->valid_sig = g_signal_connect (session,
-+		priv->valid_sig = g_signal_connect (priv->session,
- 						    "is-valid",
- 						    G_CALLBACK (brasero_drive_properties_is_valid_cb),
- 						    object);
--		priv->output_sig = g_signal_connect (session,
-+		priv->output_sig = g_signal_connect (priv->session,
- 						     "output-changed",
- 						     G_CALLBACK (brasero_drive_properties_output_changed_cb),
- 						     object);
-diff --git a/libbrasero-utils/brasero-metadata.c b/libbrasero-utils/brasero-metadata.c
-index 194336899..ddfce8e7b 100644
---- a/libbrasero-utils/brasero-metadata.c
-+++ b/libbrasero-utils/brasero-metadata.c
-@@ -665,7 +665,7 @@ brasero_metadata_install_missing_plugins (BraseroMetadata *self)
- 
- 	context = gst_install_plugins_context_new ();
- 	gst_install_plugins_context_set_xid (context, brasero_metadata_get_xid (self));
--	status = gst_install_plugins_async ((gchar **) details->pdata,
-+	status = gst_install_plugins_async ((const gchar* const*) details->pdata,
- 					    context,
- 					    brasero_metadata_install_plugins_result,
- 					    downloads);
-diff --git a/libbrasero-utils/brasero-pk.c b/libbrasero-utils/brasero-pk.c
-index aa71901f9..5f5ba21aa 100644
---- a/libbrasero-utils/brasero-pk.c
-+++ b/libbrasero-utils/brasero-pk.c
-@@ -230,7 +230,7 @@ brasero_pk_install_gstreamer_plugin (BraseroPK *package,
- 
- 	context = gst_install_plugins_context_new ();
- 	gst_install_plugins_context_set_xid (context, xid);
--	status = gst_install_plugins_async ((gchar **) gst_plugins->pdata,
-+	status = gst_install_plugins_async ((const gchar* const*) gst_plugins->pdata,
- 	                                    context,
- 	                                    brasero_pk_install_gst_plugin_result,
- 	                                    package);
--- 
-GitLab
-

diff --git a/brasero.spec b/brasero.spec
index 0d551f6..1506afb 100644
--- a/brasero.spec
+++ b/brasero.spec
@@ -1,11 +1,12 @@
 %bcond cdrdao %[!(0%{?rhel} >= 9)]
 %bcond cdrkit %[!(0%{?rhel} >= 9)]
 %bcond dvdrwtools %[!(0%{?rhel} >= 9)]
-%bcond nautilus %[!(0%{?fedora} >= 37 || 0%{?rhel} >= 10)]
+# The Meson build does not yet support the Nautilus extension.
+%bcond nautilus 0
 %bcond plparser %[!(0%{?rhel} >= 10)]
 
 Name:      brasero
-Version:   3.12.3
+Version:   3.12.4
 Release:   %autorelease
 Summary:   Gnome CD/DVD burning application
 
@@ -17,12 +18,9 @@ Summary:   Gnome CD/DVD burning application
 License:   GPL-3.0-or-later AND LGPL-2.0-or-later AND GPL-2.0-only AND CC-BY-SA-2.0 AND GPL-2.0-or-later WITH GStreamer-exception-2008
 URL:       https://wiki.gnome.org/Apps/Brasero
 Source0:   https://download.gnome.org/sources/%{name}/%{gnome_major_minor_version}/%{name}-%{version}.tar.xz
-# https://gitlab.gnome.org/GNOME/brasero/-/merge_requests/30
-Patch0:    0001-Fix-gcc-14.x-build-failure.patch
 
 BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0) >= 0.11.92
 BuildRequires:  pkgconfig(gtk+-3.0) >= 2.99.0
-BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(libburn-1) >= 0.4.0
 BuildRequires:  pkgconfig(libcanberra-gtk3)
 BuildRequires:  pkgconfig(libisofs-1) >= 0.6.4
@@ -31,20 +29,17 @@ BuildRequires:  pkgconfig(libnotify) >= 0.7.0
 BuildRequires:  pkgconfig(libnautilus-extension) >= 2.22.2
 %endif
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.6.0
-BuildRequires:  pkgconfig(sm)
 %if %{with plparser}
 BuildRequires:  pkgconfig(totem-plparser) >= 2.29.1
-%endif
 BuildRequires:  pkgconfig(tracker-sparql-3.0)
+%endif
+BuildRequires:  appstream
 BuildRequires:  desktop-file-utils
 BuildRequires:  gcc
 BuildRequires:  gettext
-BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk-doc
-BuildRequires:  intltool
 BuildRequires:  itstool
-BuildRequires:  libappstream-glib
-BuildRequires:  make
+BuildRequires:  meson >= 1.4.0
 BuildRequires:  yelp-tools
 
 %{?with_dvdrwtools:Requires:  dvd+rw-tools}
@@ -98,42 +93,27 @@ developing brasero applications.
 
 
 %build
-%configure \
-        %{!?with_nautilus:--disable-nautilus} \
-        --enable-libburnia \
-        --enable-search \
-        %{!?with_plparser:--disable-playlist} \
-        --enable-preview \
-        --enable-inotify \
-        %{!?with_cdrdao:--disable-cdrdao} \
-        %{!?with_cdrkit:--disable-cdrkit} \
-        %{!?with_dvdrwtools:--disable-growisofs} \
-        --disable-caches \
-        --disable-static
-sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
-%make_build
+%meson \
+        -Dnautilus=%{?with_nautilus:enabled}%{!?with_nautilus:disabled} \
+        -Dlibburn=enabled \
+        -Dlibisofs=enabled \
+        -Dsearch=%{?with_plparser:enabled}%{!?with_plparser:disabled} \
+        -Dplaylist=%{?with_plparser:enabled}%{!?with_plparser:disabled} \
+        -Dpreview=enabled \
+        -Dcdrdao=%{?with_cdrdao:true}%{!?with_cdrdao:false} \
+        -Dcdrkit=%{?with_cdrkit:true}%{!?with_cdrkit:false} \
+        -Dgrowisofs=%{?with_dvdrwtools:true}%{!?with_dvdrwtools:false} \
+        -Dgtk-doc=true
+%meson_build
 
 
 %install
-%make_install
-find %{buildroot} -type f -name "*.la" -delete
+%meson_install
 %find_lang %{name}
 
-# Update the screenshot shown in the software center
-#
-# NOTE: It would be *awesome* if this file was pushed upstream.
-#
-# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
-#
-appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/metainfo/brasero.appdata.xml \
-  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/a.png \
-  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/b.png \
-  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/c.png 
-
 
 %check
-appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
-desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+%meson_test
 
 
 %ldconfig_scriptlets libs
@@ -147,16 +127,14 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 %{_libdir}/brasero3
 %{_datadir}/%{name}
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/metainfo/%{name}.appdata.xml
+%{_datadir}/metainfo/org.gnome.Brasero.metainfo.xml
 %{_datadir}/help/*
 %{_datadir}/icons/hicolor/*/apps/*
 %{_datadir}/mime/packages/*
-%{_datadir}/GConf/gsettings/brasero.convert
 %{_datadir}/glib-2.0/schemas/org.gnome.brasero.gschema.xml
 
 %files libs
 %{_libdir}/*.so.*
-%{_libdir}/girepository-1.0/*.typelib
 
 %if %{with nautilus}
 %files nautilus
@@ -167,11 +145,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 %files devel
 %doc %{_datadir}/gtk-doc/html/libbrasero-media
 %doc %{_datadir}/gtk-doc/html/libbrasero-burn
-%doc ChangeLog
+%doc ChangeLog.old
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %{_includedir}/brasero3
-%{_datadir}/gir-1.0/*.gir
 
 
 %changelog

diff --git a/sources b/sources
index c30006c..ae9f953 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (brasero-3.12.3.tar.xz) = 0e3c97b2a754f7178207db390e33b832fcaed3856ae5dee447e5c26d712728302dbebbf839a4fb7565f63b3ebb1e4936e20739482a8114e6fe2700805659270a
+SHA512 (brasero-3.12.4.tar.xz) = 9924ff973f9f33379e551e0b220e421ca62b7daeb12b8990f49997d34efb00c4b113efefedf960ea679ecda6297049f15d1a0c8d16528f425808f5c5392c0050

                 reply	other threads:[~2026-10-02 12:59 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=179094594588.1.11802047869920509244.rpms-brasero-f33fe00f5560@fedoraproject.org \
    --to=pschindl@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