public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mediawriter] epel10: 4.2.0
@ 2026-09-29 15:27 Jan Grulich
  0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-09-29 15:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mediawriter
Branch : epel10
Commit : 7118e332302c3d77275f16207e44a6b61e9402d3
Author : Jan Grulich <jgrulich@redhat.com>
Date   : 2021-01-25T14:42:46+01:00
Stats  : +18/-71 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/mediawriter/c/7118e332302c3d77275f16207e44a6b61e9402d3?branch=epel10

Log:
4.2.0

---
diff --git a/.gitignore b/.gitignore
index 91bd330..4286aeb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@
 /4.1.5.tar.gz
 /MediaWriter-4.1.6.tar.gz
 /MediaWriter-4.1.7.tar.gz
+/MediaWriter-4.2.0.tar.gz

diff --git a/mediawriter-fix-download-dialog-ui-with-latest-qt.patch b/mediawriter-fix-download-dialog-ui-with-latest-qt.patch
deleted file mode 100644
index 1602853..0000000
--- a/mediawriter-fix-download-dialog-ui-with-latest-qt.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff --git a/app/dialogs/DownloadDialog.qml b/app/dialogs/DownloadDialog.qml
-index 5a19eb9..6ee539c 100644
---- a/app/dialogs/DownloadDialog.qml
-+++ b/app/dialogs/DownloadDialog.qml
-@@ -297,42 +297,42 @@ Dialog {
- 
-                         InfoMessage {
-                             id: messageDownload
-+                            Layout.fillWidth: true
-                             visible: false
--                            width: infoColumn.width
-                             text: qsTr("The file will be saved to your Downloads folder.")
-                         }
- 
-                         InfoMessage {
-                             id: messageLoseData
-+                            Layout.fillWidth: true
-                             visible: false
--                            width: infoColumn.width
-                             text: qsTr("By writing, you will lose all of the data on %1.").arg(driveCombo.currentText)
-                         }
- 
-                         InfoMessage {
-                             id: messageRestore
-+                            Layout.fillWidth: true
-                             visible: false
--                            width: infoColumn.width
-                             text: qsTr("Your drive will be resized to a smaller capacity. You may resize it back to normal by using Fedora Media Writer; this will remove installation media from your drive.")
-                         }
- 
-                         InfoMessage {
-                             id: messageSelectedImage
--                            width: infoColumn.width
-+                            Layout.fillWidth: true
-                             visible: releases.selected.isLocal
-                             text: "<font color=\"gray\">" + qsTr("Selected:") + "</font> " + (releases.variant.iso ? (((String)(releases.variant.iso)).split("/").slice(-1)[0]) : ("<font color=\"gray\">" + qsTr("None") + "</font>"))
-                         }
- 
-                         InfoMessage {
-                             id: messageArmBoard
--                            width: infoColumn.width
-+                            Layout.fillWidth: true
-                             visible: boardCombo.otherSelected
-                             text: qsTr("Your board or device is not supported by Fedora Media Writer yet. Please check <a href=%1>this page</a> for more information about its compatibility with Fedora and how to create bootable media for it.").arg("https://fedoraproject.org/wiki/Architectures/ARM")
-                         }
- 
-                         InfoMessage {
-                             id: messageDriveSize
--                            width: infoColumn.width
-+                            Layout.fillWidth: true
-                             enabled: true
-                             visible: enabled && drives.selected && drives.selected.size > 160 * 1024 * 1024 * 1024 // warn when it's more than 160GB
-                             text: qsTr("The selected drive's size is %1. It's possible you have selected an external drive by accident!").arg(drives.selected ? drives.selected.readableSize : "N/A")
-@@ -340,7 +340,7 @@ Dialog {
- 
-                         InfoMessage {
-                             error: true
--                            width: infoColumn.width
-+                            Layout.fillWidth: true
-                             visible: releases.variant && releases.variant.errorString.length > 0
-                             text: releases.variant ? releases.variant.errorString : ""
-                         }

diff --git a/mediawriter.spec b/mediawriter.spec
index 6ff63aa..c370493 100644
--- a/mediawriter.spec
+++ b/mediawriter.spec
@@ -1,27 +1,29 @@
 Name:           mediawriter
-Version:        4.1.7
-Release:        2%{?dist}
+Version:        4.2.0
+Release:        1%{?dist}
 Summary:        Fedora Media Writer
 
 License:        GPLv2+
 URL:            https://github.com/FedoraQt/MediaWriter
 Source0:        https://github.com/FedoraQt/MediaWriter/archive/MediaWriter-%{version}.tar.gz
 
-Patch0:         mediawriter-fix-download-dialog-ui-with-latest-qt.patch
-
 Provides:       liveusb-creator = %{version}-%{release}
 Obsoletes:      liveusb-creator <= 3.95.4-2
 
-BuildRequires: make
+BuildRequires:  gcc-c++
+BuildRequires:  gettext
+BuildRequires:  make
+BuildRequires:  libappstream-glib
+BuildRequires:  libadwaita-qt5-devel
 BuildRequires:  qt5-qtbase-devel
 BuildRequires:  qt5-qtdeclarative-devel
+BuildRequires:  qt5-qtquickcontrols2-devel
 BuildRequires:  qt5-qtx11extras-devel
-BuildRequires:  gettext
-BuildRequires:  libappstream-glib
-BuildRequires:  gcc-c++
 BuildRequires:  xz-devel
 
 Requires:       qt5-qtquickcontrols >= 5.3.0
+Requires:       qt5-qtquickcontrols2 >= 5.12.0
+
 %if !0%{?flatpak}
 Requires:       polkit
 %endif
@@ -67,9 +69,15 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.fedo
 %{_datadir}/icons/hicolor/48x48/apps/org.fedoraproject.MediaWriter.png
 %{_datadir}/icons/hicolor/256x256/apps/org.fedoraproject.MediaWriter.png
 %{_datadir}/icons/hicolor/512x512/apps/org.fedoraproject.MediaWriter.png
+%{_qt5_qmldir}/QtQuick/Controls.2/org.fedoraproject.AdwaitaTheme/
+%{_qt5_qmldir}/org/fedoraproject/AdwaitaTheme/libadwaitathemeplugin.so
+%{_qt5_qmldir}/org/fedoraproject/AdwaitaTheme/qmldir
 
 
 %changelog
+* Mon Jan 25 2021 Jan Grulich <jgrulich@redhat.com> - 4.2.0-1
+- 4.2.0
+
 * Mon Jan 04 2021 Jan Grulich <jgrulich@redhat.com> - 4.1.7-2
 - Fix UI issues in download dialog with Qt 5.15
 

diff --git a/sources b/sources
index 0638204..f57ec60 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (MediaWriter-4.1.7.tar.gz) = 7b11828e3877f9426ee67ff7056927d24e2487c7383debbd11b5d644c839101af70de8cd8f62cabf7361aafcf38108f9c462202ba21f611c2ce7abb03aa38a9f
+SHA512 (MediaWriter-4.2.0.tar.gz) = 0e25717d68311e25022db764a69c71d20783333a68b37a51ea91c8748a56913204edb243880e7d63417020be6c8c59076f866ece8236ab061d679af8478f3c57

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-29 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 15:27 [rpms/mediawriter] epel10: 4.2.0 Jan Grulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox