ffmulticonverter rebuild python.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
From c47d47ab7f66a1973b1314ef531de2fb444c2fe6 Mon Sep 17 00:00:00 2001
|
||||
From: Ilias Stamatis <ilstam@mailbox.org>
|
||||
Date: Wed, 22 Dec 2021 14:43:22 +0000
|
||||
Subject: [PATCH] QProgressBar.setValue() expects an int, not a float
|
||||
|
||||
---
|
||||
ffmulticonverter/progress.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ffmulticonverter/progress.py b/ffmulticonverter/progress.py
|
||||
index 5d14efc..e196ef4 100755
|
||||
--- a/ffmulticonverter/progress.py
|
||||
+++ b/ffmulticonverter/progress.py
|
||||
@@ -304,7 +304,7 @@ def convert_video(self, from_file, to_file, command):
|
||||
time = utils.duration_in_seconds(time)
|
||||
now_sec = int(float(time))
|
||||
try:
|
||||
- self.nowQPBar.setValue(100 * now_sec / total)
|
||||
+ self.nowQPBar.setValue(int(100 * now_sec / total))
|
||||
except (UnboundLocalError, ZeroDivisionError):
|
||||
pass
|
||||
self.update_text_edit_signal.emit(myline)
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ffmulticonverter</Name>
|
||||
@@ -11,15 +11,18 @@
|
||||
<License>GPLv3</License>
|
||||
<Icon>ffmulticonverter</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>A multi converter</Summary>
|
||||
<Summary>A multi converter.</Summary>
|
||||
<Description>FF Multi Converter is a simple graphical application that enables you to convert audio, video, image and document files between all popular formats, using and combining other programs. It uses ffmpeg for audio/video files, unoconv for document files (which uses the OpenOffice's UNO bindings) and PIL library for image file conversions.</Description>
|
||||
<Archive sha1sum="bae21490cc0cb7c38fccc8b1a4e77dc0c1f31a32" type="targz">mirrors://sourceforge/ffmulticonv/ffmulticonverter-1.8.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-qt5-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>gettext-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>python3-qt5-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">QProgressBar_value_replaced_to_int.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -29,21 +32,26 @@
|
||||
<Dependency>unoconv</Dependency>
|
||||
<Dependency>python3-qt5</Dependency>
|
||||
<Dependency>imagemagick</Dependency>
|
||||
<!-- <Dependency>pythonmagick</Dependency> -->
|
||||
<!-- <Dependency>python-imaging</Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/ffmulticonverter</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2021-12-28</Date>
|
||||
<Version>1.8.0</Version>
|
||||
<Comment>Rebuild python.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2020-03-08</Date>
|
||||
<Version>1.8.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user