summaryrefslogtreecommitdiff
path: root/multimedia/openshot/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/openshot/files')
-rw-r--r--multimedia/openshot/files/patch-src_classes_effect__init.py41
-rw-r--r--multimedia/openshot/files/patch-src_classes_exceptions.py11
-rw-r--r--multimedia/openshot/files/patch-src_classes_info.py4
-rw-r--r--multimedia/openshot/files/patch-src_windows_main__window.py11
-rw-r--r--multimedia/openshot/files/patch-src_windows_preferences.py8
5 files changed, 58 insertions, 17 deletions
diff --git a/multimedia/openshot/files/patch-src_classes_effect__init.py b/multimedia/openshot/files/patch-src_classes_effect__init.py
new file mode 100644
index 000000000000..75b65140ba31
--- /dev/null
+++ b/multimedia/openshot/files/patch-src_classes_effect__init.py
@@ -0,0 +1,41 @@
+--- src/classes/effect_init.py.orig 2021-01-30 23:50:27 UTC
++++ src/classes/effect_init.py
+@@ -112,22 +112,22 @@ effect_options = {
+ "value": "MIL",
+ "name": "MIL"
+ },
+- {
+- "value": "BOOSTING",
+- "name": "BOOSTING"
+- },
+- {
+- "value": "TLD",
+- "name": "TLD"
+- },
+- {
+- "value": "MEDIANFLOW",
+- "name": "MEDIANFLOW"
+- },
+- {
+- "value": "MOSSE",
+- "name": "MOSSE"
+- },
++# {
++# "value": "BOOSTING",
++# "name": "BOOSTING"
++# },
++# {
++# "value": "TLD",
++# "name": "TLD"
++# },
++# {
++# "value": "MEDIANFLOW",
++# "name": "MEDIANFLOW"
++# },
++# {
++# "value": "MOSSE",
++# "name": "MOSSE"
++# },
+ {
+ "value": "CSRT",
+ "name": "CSRT"
diff --git a/multimedia/openshot/files/patch-src_classes_exceptions.py b/multimedia/openshot/files/patch-src_classes_exceptions.py
new file mode 100644
index 000000000000..b0f1169b5df1
--- /dev/null
+++ b/multimedia/openshot/files/patch-src_classes_exceptions.py
@@ -0,0 +1,11 @@
+--- src/classes/exceptions.py.orig 2021-01-30 23:50:27 UTC
++++ src/classes/exceptions.py
+@@ -120,6 +120,8 @@ def libopenshot_crash_recovery():
+ # Format last log line based on OS (since each OS can be formatted differently)
+ if platform.system() == "Darwin":
+ last_log_line = "mac-%s" % last_log_line[58:].strip()
++ elif platform.system() == "FreeBSD":
++ last_log_line = "freebsd-%s" % last_log_line.replace("/usr/local/lib/", "")
+ elif platform.system() == "Windows":
+ last_log_line = "windows-%s" % last_log_line
+ elif platform.system() == "Linux":
diff --git a/multimedia/openshot/files/patch-src_classes_info.py b/multimedia/openshot/files/patch-src_classes_info.py
index 4b3740e389db..346c639f1126 100644
--- a/multimedia/openshot/files/patch-src_classes_info.py
+++ b/multimedia/openshot/files/patch-src_classes_info.py
@@ -1,6 +1,6 @@
---- src/classes/info.py.orig 2020-09-11 19:59:04 UTC
+--- src/classes/info.py.orig 2021-01-30 23:50:27 UTC
+++ src/classes/info.py
-@@ -155,6 +155,7 @@ SETUP = {
+@@ -160,6 +160,7 @@ SETUP = {
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Operating System :: POSIX :: Linux",
diff --git a/multimedia/openshot/files/patch-src_windows_main__window.py b/multimedia/openshot/files/patch-src_windows_main__window.py
deleted file mode 100644
index 9c472c94193c..000000000000
--- a/multimedia/openshot/files/patch-src_windows_main__window.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/windows/main_window.py.orig 2020-09-11 19:59:04 UTC
-+++ src/windows/main_window.py
-@@ -256,6 +256,8 @@ class MainWindow(QMainWindow, updates.UpdateWatcher):
- # Format last log line based on OS (since each OS can be formatted differently)
- if platform.system() == "Darwin":
- last_log_line = "mac-%s" % last_log_line[58:].strip()
-+ elif platform.system() == "FreeBSD":
-+ last_log_line = "freebsd-%s" % last_log_line.replace("/usr/local/lib/", "")
- elif platform.system() == "Windows":
- last_log_line = "windows-%s" % last_log_line
- elif platform.system() == "Linux":
diff --git a/multimedia/openshot/files/patch-src_windows_preferences.py b/multimedia/openshot/files/patch-src_windows_preferences.py
index 2342a7333107..c74a2b06696b 100644
--- a/multimedia/openshot/files/patch-src_windows_preferences.py
+++ b/multimedia/openshot/files/patch-src_windows_preferences.py
@@ -1,6 +1,6 @@
---- src/windows/preferences.py.orig 2020-09-11 19:59:04 UTC
+--- src/windows/preferences.py.orig 2021-01-30 23:50:27 UTC
+++ src/windows/preferences.py
-@@ -293,7 +293,7 @@ class Preferences(QDialog):
+@@ -313,7 +313,7 @@ class Preferences(QDialog):
value_list.remove(value_item)
elif os_platform == "Windows" and v not in ("0", "3", "4"):
value_list.remove(value_item)
@@ -9,11 +9,11 @@
value_list.remove(value_item)
# Remove hardware mode items which cannot decode the example video
-@@ -307,6 +307,7 @@ class Preferences(QDialog):
+@@ -327,6 +327,7 @@ class Preferences(QDialog):
# Replace %s dropdown values for hardware acceleration
if param["setting"] in ("graca_number_en", "graca_number_de"):
+ value_list = []
- for card_index in range(0,3):
+ for card_index in range(0, 3):
# Test each graphics card, and only include valid ones
if card_index in self.hardware_tests_cards and self.hardware_tests_cards.get(card_index):