mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
python3Packages.mat2: 0.12.2 -> 0.12.3
This commit is contained in:
committed by
Robert Schütz
parent
ac8bbfaf76
commit
d52b090b2b
@@ -1,5 +1,5 @@
|
||||
diff --git a/dolphin/mat2.desktop b/dolphin/mat2.desktop
|
||||
index d365bc5..56313e2 100644
|
||||
index 41c8de4..11df258 100644
|
||||
--- a/dolphin/mat2.desktop
|
||||
+++ b/dolphin/mat2.desktop
|
||||
@@ -8,6 +8,6 @@ Type=Service
|
||||
@@ -7,11 +7,11 @@ index d365bc5..56313e2 100644
|
||||
Name[de]=Metadaten löschen
|
||||
Name[es]=Limpiar metadatos
|
||||
-Icon=/usr/share/icons/hicolor/scalable/apps/mat2.svg
|
||||
-Exec=kdialog --yesno "$( mat2 -s %U )" --title "Clean Metadata?" && mat2 %U
|
||||
-Exec[de]=kdialog --yesno "$( mat2 -s %U )" --title "Metadaten löschen?" && mat2 %U
|
||||
-Exec=kdialog --yesno "$( mat2 -s %F )" --title "Clean Metadata?" && mat2 %U
|
||||
-Exec[de]=kdialog --yesno "$( mat2 -s %F )" --title "Metadaten löschen?" && mat2 %U
|
||||
+Icon=@mat2svg@
|
||||
+Exec=@kdialog@ --yesno "$( mat2 -s %U )" --title "Clean Metadata?" && mat2 %U
|
||||
+Exec[de]=@kdialog@ --yesno "$( mat2 -s %U )" --title "Metadaten löschen?" && mat2 %U
|
||||
+Exec=@kdialog@ --yesno "$( @mat2@ -s %F )" --title "Clean Metadata?" && @mat2@ %U
|
||||
+Exec[de]=@kdialog@ --yesno "$( @mat2@ -s %F )" --title "Metadaten löschen?" && @mat2@ %U
|
||||
diff --git a/libmat2/bubblewrap.py b/libmat2/bubblewrap.py
|
||||
index 970d5dd..5d3c0b7 100644
|
||||
--- a/libmat2/bubblewrap.py
|
||||
@@ -76,20 +76,8 @@ index eb65b2a..51a0fa1 100644
|
||||
-
|
||||
- raise RuntimeError("Unable to find exiftool")
|
||||
+ return '@exiftool@'
|
||||
diff --git a/libmat2/parser_factory.py b/libmat2/parser_factory.py
|
||||
index 9965432..bd45179 100644
|
||||
--- a/libmat2/parser_factory.py
|
||||
+++ b/libmat2/parser_factory.py
|
||||
@@ -8,6 +8,7 @@ from . import abstract, UNSUPPORTED_EXTENSIONS
|
||||
|
||||
T = TypeVar('T', bound='abstract.AbstractParser')
|
||||
|
||||
+mimetypes.init(['@mimetypes@'])
|
||||
mimetypes.add_type('application/epub+zip', '.epub')
|
||||
mimetypes.add_type('application/x-dtbncx+xml', '.ncx') # EPUB Navigation Control XML File
|
||||
|
||||
diff --git a/libmat2/video.py b/libmat2/video.py
|
||||
index b4a3232..3dd7ee5 100644
|
||||
index ae9e463..2acc65c 100644
|
||||
--- a/libmat2/video.py
|
||||
+++ b/libmat2/video.py
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
Reference in New Issue
Block a user