SHA256
1
0
forked from pool/picard

Accepting request 777891 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/777891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/picard?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2020-02-21 15:42:31 +00:00 committed by Git OBS Bridge
commit db3ad3196c
5 changed files with 144 additions and 44 deletions

View File

@ -1,37 +0,0 @@
From 32e05058e0ac5772d7a480287ee428642fbbc9b9 Mon Sep 17 00:00:00 2001
From: Philipp Wolfer <ph.wolfer@gmail.com>
Date: Tue, 7 Jan 2020 08:22:13 +0100
Subject: [PATCH] PICARD-1700: Fix crash on PyQt >= 5.14 on cover art context
menu
In PyQt 5.14 the exclusive parameter for QActionGroup is no longer available. Also QActionGroup is exclusive by default in Qt5, so there is no need to set this.
---
picard/ui/coverartbox.py | 2 +-
picard/ui/logview.py | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/picard/ui/coverartbox.py b/picard/ui/coverartbox.py
index 102704184..bde1c06f5 100644
--- a/picard/ui/coverartbox.py
+++ b/picard/ui/coverartbox.py
@@ -538,7 +538,7 @@ def contextMenuEvent(self, event):
if not menu.isEmpty():
menu.addSeparator()
- load_image_behavior_group = QtWidgets.QActionGroup(self.parent, exclusive=True)
+ load_image_behavior_group = QtWidgets.QActionGroup(self.parent)
action = load_image_behavior_group.addAction(QtWidgets.QAction(_('Replace front cover art on drop'), self.parent, checkable=True))
action.triggered.connect(partial(self.set_load_image_behavior, behavior='replace'))
if config.setting["load_image_behavior"] == 'replace':
diff --git a/picard/ui/logview.py b/picard/ui/logview.py
index cf75feadd..7bb7813c0 100644
--- a/picard/ui/logview.py
+++ b/picard/ui/logview.py
@@ -129,7 +129,6 @@ def __init__(self, parent=None):
super().__init__(parent=parent)
self.action_group = QtWidgets.QActionGroup(self)
- self.action_group .setExclusive(True)
self.actions = {}
for level, feat in log.levels_features.items():
act = QtWidgets.QAction(_(feat.name), self, checkable=True)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:920bc0ffc1b5ae395456698a133799aee06c66b4446f6a388a64046e07d8716b
size 3225273

3
picard-2.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c801e041dff49c5cbe844708f25fa1875af5866944083fc47373b31e375159d
size 3735660

View File

@ -1,3 +1,142 @@
-------------------------------------------------------------------
Fri Feb 21 09:17:22 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Update to 2.3:
* Bug-fix
- [PICARD-1739] - Update check does not handle alpha, beta and rc versions
properly
- [PICARD-1744] - Invalid ignore path regex can crash Picard
* Improvement
- [PICARD-1740] - Save originalfilename to ASF tags
- Update to version 2.3.0rc1
* Bug-fix
- [PICARD-1688] - "Submit AcoustIDs" fails with many tracks
- [PICARD-1719] - `$unset` marks tag for deletion
- [PICARD-1724] - Fingerprint status on left should not be submittable
(red)
- [PICARD-1725] - Fingerprint indicator rendering artifacts
- [PICARD-1726] - Crash when closing options quickly before plugin list
got loaded
- [PICARD-1727] - Performer tag in metadata list is not translated
- [PICARD-1733] - App does not start on macOS 10.12
- [PICARD-1736] - "Generate AcoustID Fingerprints" is too long for the
toolbar
* Improvement
- [PICARD-1716] - Add script functions for strings (`$find`, `$reverse`,
`$substr`), multi-value variables (`$getmulti`), and loops (`$foreach`,
`$while`, `$map`)
- [PICARD-1717] - Backup config file on update
- [PICARD-1720] - Add script function `$slice` to extract a portion of a
multi-value variable
- [PICARD-1721] - Add script function `$join` to join the elements of a
multi-value variable
- [PICARD-1723] - Match to album should consider the disc number
- [PICARD-1729] - Add scripting function `$datetime` to return the current
date and time
- [PICARD-1737] - Add keyboard shortcut Ctrl+Alt+F for "Generate
Fingerprints"
- [PICARD-1738] - Load a recording URL entered into the search field as
standalone recording
- Update to version 2.3.0b1
* Bug-fix
- [PICARD-239] - Using tag "comment" should behave the same as "comment:"
(with colon) in tagger script
- [PICARD-965] - Items in tagger scripts list are squished
- [PICARD-1054] - Picard swallows values of Qt command line arguments
- [PICARD-1218] - Script names aren't truncated properly
- [PICARD-1312] - Hotkeys for buttons do not work on macOS
- [PICARD-1565] - Picard ignores results in Acoust ID web service response
- [PICARD-1592] - APEv2: Read tags case insensitive
- [PICARD-1625] - UI unresponsive while matching files to release
- [PICARD-1626] - Locales in Options > Metadata are not translated and not
sorted
- [PICARD-1629] - Duration for AAC files with APEv2 tags is wrong
- [PICARD-1658] - macOS: System wide libdiscid is used instead of the
bundled one
- [PICARD-1662] - Issue saving FLAC with large (~ 16 MiB) embedded images
- [PICARD-1664] - Cluster lookup does not use preferred release types
- [PICARD-1667] - Some scripting functions are always true
- [PICARD-1668] - Read fails if mp4 file has "disk" tag set but empty
- [PICARD-1675] - Allow disabling auto update for Windows builds
- [PICARD-1678] - Picard crashes if result from search server contains
non-integer scores
- [PICARD-1693] - Position and size of log view and activity history are
not preserved
- [PICARD-1699] - On scan asking the user to enable the fingerprinting does
always abort the scan
- [PICARD-1700] - Crash with PyQt5 when opening cover art context menu
- [PICARD-1709] - Saving AIFF files can make them unreadable (requires
mutagen >= 1.43)
- [PICARD-1711] - Cannot delete lyrics from ASF, ID3, MP4 and APE files
* New Feature
- [PICARD-34] - Add a fingerprint indicator
- [PICARD-118] - Windows: Provide a portable Picard version
- [PICARD-125] - Support for AC3
- [PICARD-170] - Allow selecting displayed columns
- [PICARD-714] - Allow user to reorder fields in the lower pane
- [PICARD-991] - Allow calculating AcoustID fingerprints for matched
recordings
- [PICARD-1098] - MP4: Support custom tags
- [PICARD-1521] - Make Picard recognize "TOFN (Original Filename)" ID3 tag
- [PICARD-1656] - Allow setting cover art for clusters
- [PICARD-1673] - Show progress in Windows taskbar
- [PICARD-1674] - Show progress in Linux docks / taskbar supporting the
Unity.LauncherEntry DBus interface
- [PICARD-1677] - Option to ignore tags for file changed status
- [PICARD-1684] - Allow re-ordering multi-value tags
* Improvement
- [PICARD-115] - Display 'YYYY', 'MM' and 'DD' in date input field when
value not available
- [PICARD-321] - Backslash support in filenames if Windows compatibility
is disabled
- [PICARD-1260] - Sort entries in Clusters more "naturally"
- [PICARD-1349] - Change the sorting by clicking on a column title so that
it switches through three states (sort ascending/descending/not at all)
- [PICARD-1401] - CD Lookup dialog does not make it clear how to submit a
disc ID
- [PICARD-1467] - Provide signed Windows installer
- [PICARD-1523] - Make Picard case-agnostic for "Preserve tags from being
cleared"
- [PICARD-1589] - Support language for ID3 COMM tags with
`comment:{language}:{description}` syntax (enables support for
MediaMonkey's Songs-DB_Custom tags)
- [PICARD-1628] - Make APEv2 tags with AAC optional
- [PICARD-1631] - Notarize macOS app
- [PICARD-1646] - Respect preferred release types when scanning tracks
- [PICARD-1650] - Select / load multiple items from search results
- [PICARD-1652] - Support extended info for TAK files (requires
mutagen >= 1.43)
- [PICARD-1659] - Natural sorting for search results
- [PICARD-1661] - Improve preserved tags autocomplete
- [PICARD-1665] - Disable uninstall for globally installed plugins
- [PICARD-1666] - Consider video / audio when comparing files to tracks
- [PICARD-1671] - Rework Options > Tags page
- [PICARD-1672] - MP4: Use hdvd atom to detect videos (requires
mutagen >= 1.43)
- [PICARD-1680] - Select / load multiple items from CD lookup results
- [PICARD-1682] - Multiline editing for lyrics and comments
- [PICARD-1683] - Autocompletion when editing media, releasetype,
releasecountry and releasestatus tags
- [PICARD-1686] - Always keep [non-album tracks] entry on top
- [PICARD-1692] - Change sliders to jump to clicked position
- [PICARD-1695] - Make script editor UI consistent with other option pages
- [PICARD-1712] - Use Ctrl+D as keyboard shortcut to remove albums or files
- [PICARD-1714] - Focus search input with Ctrl+F
- [PICARD-1715] - Allow changing file extension by manipulating the
%_extension% variable in renaming script
* Task
- [PICARD-1406] - Refactor Metadata.set and metadata.__setitem__
- [PICARD-1465] - Add Picard to Windows Store
- [PICARD-1596] - Automate PyPI deployment
- [PICARD-1653] - macOS: Enable Hardened Runtime
- [PICARD-1669] - Build Windows 10 MSIX app package
- [PICARD-1703] - Upgrade to PyInstaller 3.6
- Drop patch already included upstream:
* 0001-Fix-crash-on-PyQt-ge-5.14-on-cover-art-context-menu.patch
-------------------------------------------------------------------
Thu Feb 13 16:25:33 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -17,20 +17,19 @@
Name: picard
Version: 2.2.3
Version: 2.3
Release: 0
Summary: The Next Generation MusicBrainz Tagger
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Utilities
URL: https://picard.musicbrainz.org
Source0: https://codeload.github.com/metabrainz/picard/tar.gz/release-%{version}#/%{name}-%{version}.tar.gz
Patch0: 0001-Fix-crash-on-PyQt-ge-5.14-on-cover-art-context-menu.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libofa-devel
BuildRequires: python3-devel
BuildRequires: python3-mutagen
BuildRequires: python3-mutagen >= 1.43
BuildRequires: python3-qt5
BuildRequires: python3-setuptools
BuildRequires: python3-sip
@ -49,7 +48,6 @@ track-based tagging.
%prep
%setup -q -n %{name}-release-%{version}
%patch0 -p1
%build
export LANG=en_US.UTF-8