diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2017-09-11 17:47:17 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2017-09-11 17:47:17 -0500 |
commit | 14738704ede6dfa6ac79f362a9c1f7f40f470cdc (patch) | |
tree | 31c83bdd188ae7b64d7169974d6f066ccfe95367 /mvc/resources | |
parent | eb1896583afbbb622cadcde1a24e17173f61904f (diff) | |
download | librevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.tar.lz librevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.tar.xz librevideoconverter-14738704ede6dfa6ac79f362a9c1f7f40f470cdc.zip |
rename mvc at lvc
Diffstat (limited to 'mvc/resources')
46 files changed, 0 insertions, 340 deletions
diff --git a/mvc/resources/__init__.py b/mvc/resources/__init__.py deleted file mode 100644 index 005041d..0000000 --- a/mvc/resources/__init__.py +++ /dev/null @@ -1,21 +0,0 @@ -import os.path -import glob -import sys - -def image_path(name): - return os.path.join(resources_dir(), 'images', name) - -def converter_scripts(): - return glob.glob(os.path.join(resources_dir(), 'converters', '*.py')) - - -def resources_dir(): - if in_py2exe(): - directory = os.path.join(os.path.dirname(sys.executable), "resources") - else: - directory = os.path.dirname(__file__) - return os.path.abspath(directory) - -def in_py2exe(): - return (hasattr(sys,"frozen") and - sys.frozen in ("windows_exe", "console_exe")) diff --git a/mvc/resources/converters/android.py b/mvc/resources/converters/android.py deleted file mode 100644 index ac2007d..0000000 --- a/mvc/resources/converters/android.py +++ /dev/null @@ -1,61 +0,0 @@ -from mvc.converter import FFmpegConverterInfo -from mvc.basicconverters import MP4 - -class AndroidConversion(FFmpegConverterInfo): - media_type = 'android' - extension = 'mp4' - parameters = ('-acodec aac -ac 2 -ab 160k ' - '-vcodec libx264 -preset slow -profile:v baseline -level 30 ' - '-maxrate 10000000 -bufsize 10000000 -f mp4 -threads 0 ') - simple = MP4 - -y = AndroidConversion('Galaxy Y', 320, 240) -mini = AndroidConversion('Galaxy Mini', 320, 240) -ace = AndroidConversion('Galaxy Ace', 480, 320) -admire = AndroidConversion('Galaxy Admire', 480, 320) -charge = AndroidConversion('Galaxy Charge', 800, 480) -s = AndroidConversion('Galaxy S / SII / S Plus', 800, 480) -siii = AndroidConversion('Galaxy SIII', 1280, 720) -nexus = AndroidConversion('Galaxy Nexus', 1280, 720) -tab = AndroidConversion('Galaxy Tab', 1024, 600) -tab_10 = AndroidConversion('Galaxy Tab 10.1', 1280, 800) -note = AndroidConversion('Galaxy Note', 1280, 800) -note = AndroidConversion('Galaxy Note II', 1920, 1080) -infuse = AndroidConversion('Galaxy Infuse', 1280, 800) -epic = AndroidConversion('Galaxy Epic', 800, 480) - -samsung_devices = ('Samsung', [y, mini, ace, admire, charge, s, siii, nexus, - tab, tab_10, note, infuse, epic]) - -wildfire = AndroidConversion('Wildfire', 320, 240) -desire = AndroidConversion('Desire', 800, 480) -incredible = AndroidConversion('Droid Incredible', 800, 480) -thunderbolt = AndroidConversion('Thunderbolt', 800, 480) -evo = AndroidConversion('Evo 4G', 800, 480) -sensation = AndroidConversion('Sensation', 960, 540) -rezound = AndroidConversion('Rezound', 1280, 720) -onex = AndroidConversion('One X', 1280, 720) - -htc_devices = ('HTC', [wildfire, desire, incredible, thunderbolt, evo, - sensation, rezound, onex]) - -droid = AndroidConversion('Droid', 854, 480) -droid_x2 = AndroidConversion('Droid X2', 1280, 720) -razr = AndroidConversion('RAZR', 960, 540) -xoom = AndroidConversion('XOOM', 1280, 800) - -motorola_devices = ('Motorola', [droid, droid_x2, razr, xoom]) - -zio = AndroidConversion('Zio', 800, 480) - -sanyo_devices = ('Sanyo', [zio]) - -small = AndroidConversion('Small (480x320)', 480, 320) -normal = AndroidConversion('Normal (800x480)', 800, 480) -large720 = AndroidConversion('Large (720p)', 1280, 720) -large1080 = AndroidConversion('Large (1080p)', 1920, 1080) - -more_devices = ('More Devices', [small, normal, large720, large1080]) - -converters = [samsung_devices, htc_devices, motorola_devices, sanyo_devices, - more_devices] diff --git a/mvc/resources/converters/apple.py b/mvc/resources/converters/apple.py deleted file mode 100644 index 20cb76e..0000000 --- a/mvc/resources/converters/apple.py +++ /dev/null @@ -1,28 +0,0 @@ -from mvc.converter import FFmpegConverterInfo -from mvc.basicconverters import MP4 - -class AppleConversion(FFmpegConverterInfo): - media_type = 'apple' - extension = 'mp4' - parameters = ('-acodec aac -ac 2 -ab 160k ' - '-vcodec libx264 -preset slow -profile:v baseline -level 30 ' - '-maxrate 10000000 -bufsize 10000000 -vb 1200k -f mp4 ' - '-threads 0') - simple = MP4 - - -DEFAULT_SIZE = (480, 320) - -ipod = AppleConversion('iPod Nano/Classic', *DEFAULT_SIZE) -ipod_touch = AppleConversion('iPod Touch', 640, 480) -ipod_retina = AppleConversion('iPod Touch 4+', 960, 640) -iphone = AppleConversion('iPhone', 640, 480) -iphone_retina = AppleConversion('iPhone 4+', 960, 640) -iphone_5 = AppleConversion('iPhone 5', 1920, 1080) -ipad = AppleConversion('iPad', 1024, 768) -ipad_retina = AppleConversion('iPad 3', 1920, 1080) -apple_tv = AppleConversion('Apple TV', 1280, 720) -universal = AppleConversion('Apple Universal', 1280, 720) - -converters = [ipod, ipod_touch, ipod_retina, iphone, iphone_retina, iphone_5, - ipad, ipad_retina, apple_tv, universal] diff --git a/mvc/resources/converters/others.py b/mvc/resources/converters/others.py deleted file mode 100644 index a05030f..0000000 --- a/mvc/resources/converters/others.py +++ /dev/null @@ -1,20 +0,0 @@ -from mvc.converter import FFmpegConverterInfo - -class PlaystationPortable(FFmpegConverterInfo): - media_type = 'other' - extension = 'mp4' - parameters = ('-b 512000 -ar 24000 -ab 64000 ' - '-f psp -r 29.97').split() - - -class KindleFire(FFmpegConverterInfo): - media_type = 'other' - extension = 'mp4' - parameters = ('-acodec aac -ab 96k -vcodec libx264 ' - '-preset slow -f mp4 -crf 22').split() - - -psp = PlaystationPortable('Playstation Portable', 320, 240) -kindle_fire = KindleFire('Kindle Fire', 1224, 600) - -converters = [psp, kindle_fire] diff --git a/mvc/resources/images/android-icon-off.png b/mvc/resources/images/android-icon-off.png Binary files differdeleted file mode 100644 index 5948f4c..0000000 --- a/mvc/resources/images/android-icon-off.png +++ /dev/null diff --git a/mvc/resources/images/android-icon-on.png b/mvc/resources/images/android-icon-on.png Binary files differdeleted file mode 100644 index 85be5be..0000000 --- a/mvc/resources/images/android-icon-on.png +++ /dev/null diff --git a/mvc/resources/images/apple-icon-off.png b/mvc/resources/images/apple-icon-off.png Binary files differdeleted file mode 100644 index 947bfae..0000000 --- a/mvc/resources/images/apple-icon-off.png +++ /dev/null diff --git a/mvc/resources/images/apple-icon-on.png b/mvc/resources/images/apple-icon-on.png Binary files differdeleted file mode 100644 index 9949653..0000000 --- a/mvc/resources/images/apple-icon-on.png +++ /dev/null diff --git a/mvc/resources/images/arrow-down-off.png b/mvc/resources/images/arrow-down-off.png Binary files differdeleted file mode 100644 index 368079f..0000000 --- a/mvc/resources/images/arrow-down-off.png +++ /dev/null diff --git a/mvc/resources/images/arrow-down-on.png b/mvc/resources/images/arrow-down-on.png Binary files differdeleted file mode 100644 index 8963b5b..0000000 --- a/mvc/resources/images/arrow-down-on.png +++ /dev/null diff --git a/mvc/resources/images/audio.png b/mvc/resources/images/audio.png Binary files differdeleted file mode 100644 index 4d59605..0000000 --- a/mvc/resources/images/audio.png +++ /dev/null diff --git a/mvc/resources/images/clear-icon.png b/mvc/resources/images/clear-icon.png Binary files differdeleted file mode 100644 index 5b054fa..0000000 --- a/mvc/resources/images/clear-icon.png +++ /dev/null diff --git a/mvc/resources/images/convert-button-off.png b/mvc/resources/images/convert-button-off.png Binary files differdeleted file mode 100644 index 307a8bd..0000000 --- a/mvc/resources/images/convert-button-off.png +++ /dev/null diff --git a/mvc/resources/images/convert-button-on.png b/mvc/resources/images/convert-button-on.png Binary files differdeleted file mode 100644 index 2a66c76..0000000 --- a/mvc/resources/images/convert-button-on.png +++ /dev/null diff --git a/mvc/resources/images/convert-button-stop.png b/mvc/resources/images/convert-button-stop.png Binary files differdeleted file mode 100644 index cb09a97..0000000 --- a/mvc/resources/images/convert-button-stop.png +++ /dev/null diff --git a/mvc/resources/images/converted_to-icon.png b/mvc/resources/images/converted_to-icon.png Binary files differdeleted file mode 100644 index 14ee6d3..0000000 --- a/mvc/resources/images/converted_to-icon.png +++ /dev/null diff --git a/mvc/resources/images/dropoff-icon-off.png b/mvc/resources/images/dropoff-icon-off.png Binary files differdeleted file mode 100644 index e182d49..0000000 --- a/mvc/resources/images/dropoff-icon-off.png +++ /dev/null diff --git a/mvc/resources/images/dropoff-icon-on.png b/mvc/resources/images/dropoff-icon-on.png Binary files differdeleted file mode 100644 index 1dfd88f..0000000 --- a/mvc/resources/images/dropoff-icon-on.png +++ /dev/null diff --git a/mvc/resources/images/dropoff-icon-small-off.png b/mvc/resources/images/dropoff-icon-small-off.png Binary files differdeleted file mode 100644 index 186a7e6..0000000 --- a/mvc/resources/images/dropoff-icon-small-off.png +++ /dev/null diff --git a/mvc/resources/images/dropoff-icon-small-on.png b/mvc/resources/images/dropoff-icon-small-on.png Binary files differdeleted file mode 100644 index 476ea49..0000000 --- a/mvc/resources/images/dropoff-icon-small-on.png +++ /dev/null diff --git a/mvc/resources/images/error-icon.png b/mvc/resources/images/error-icon.png Binary files differdeleted file mode 100644 index 656b2c3..0000000 --- a/mvc/resources/images/error-icon.png +++ /dev/null diff --git a/mvc/resources/images/item-completed.png b/mvc/resources/images/item-completed.png Binary files differdeleted file mode 100644 index 1400eda..0000000 --- a/mvc/resources/images/item-completed.png +++ /dev/null diff --git a/mvc/resources/images/item-delete-button-off.png b/mvc/resources/images/item-delete-button-off.png Binary files differdeleted file mode 100644 index 12cd239..0000000 --- a/mvc/resources/images/item-delete-button-off.png +++ /dev/null diff --git a/mvc/resources/images/item-delete-button-on.png b/mvc/resources/images/item-delete-button-on.png Binary files differdeleted file mode 100644 index 45786e5..0000000 --- a/mvc/resources/images/item-delete-button-on.png +++ /dev/null diff --git a/mvc/resources/images/item-error.png b/mvc/resources/images/item-error.png Binary files differdeleted file mode 100644 index 710ff61..0000000 --- a/mvc/resources/images/item-error.png +++ /dev/null diff --git a/mvc/resources/images/mvc-logo.png b/mvc/resources/images/mvc-logo.png Binary files differdeleted file mode 100644 index fce15e4..0000000 --- a/mvc/resources/images/mvc-logo.png +++ /dev/null diff --git a/mvc/resources/images/other-icon-off.png b/mvc/resources/images/other-icon-off.png Binary files differdeleted file mode 100644 index a6c76f2..0000000 --- a/mvc/resources/images/other-icon-off.png +++ /dev/null diff --git a/mvc/resources/images/other-icon-on.png b/mvc/resources/images/other-icon-on.png Binary files differdeleted file mode 100644 index 6c60edc..0000000 --- a/mvc/resources/images/other-icon-on.png +++ /dev/null diff --git a/mvc/resources/images/progressbar-base.png b/mvc/resources/images/progressbar-base.png Binary files differdeleted file mode 100644 index 298a6b6..0000000 --- a/mvc/resources/images/progressbar-base.png +++ /dev/null diff --git a/mvc/resources/images/queued-icon.png b/mvc/resources/images/queued-icon.png Binary files differdeleted file mode 100644 index d4e9242..0000000 --- a/mvc/resources/images/queued-icon.png +++ /dev/null diff --git a/mvc/resources/images/settings-base_center.png b/mvc/resources/images/settings-base_center.png Binary files differdeleted file mode 100644 index d5f3065..0000000 --- a/mvc/resources/images/settings-base_center.png +++ /dev/null diff --git a/mvc/resources/images/settings-base_left.png b/mvc/resources/images/settings-base_left.png Binary files differdeleted file mode 100644 index a0f10c2..0000000 --- a/mvc/resources/images/settings-base_left.png +++ /dev/null diff --git a/mvc/resources/images/settings-base_right.png b/mvc/resources/images/settings-base_right.png Binary files differdeleted file mode 100644 index 14456eb..0000000 --- a/mvc/resources/images/settings-base_right.png +++ /dev/null diff --git a/mvc/resources/images/settings-depth_center.png b/mvc/resources/images/settings-depth_center.png Binary files differdeleted file mode 100644 index fb5f586..0000000 --- a/mvc/resources/images/settings-depth_center.png +++ /dev/null diff --git a/mvc/resources/images/settings-depth_left.png b/mvc/resources/images/settings-depth_left.png Binary files differdeleted file mode 100644 index a13694b..0000000 --- a/mvc/resources/images/settings-depth_left.png +++ /dev/null diff --git a/mvc/resources/images/settings-depth_right.png b/mvc/resources/images/settings-depth_right.png Binary files differdeleted file mode 100644 index 5ddd21f..0000000 --- a/mvc/resources/images/settings-depth_right.png +++ /dev/null diff --git a/mvc/resources/images/settings-dropdown-bottom-bg.png b/mvc/resources/images/settings-dropdown-bottom-bg.png Binary files differdeleted file mode 100644 index bc650f8..0000000 --- a/mvc/resources/images/settings-dropdown-bottom-bg.png +++ /dev/null diff --git a/mvc/resources/images/settings-icon-off.png b/mvc/resources/images/settings-icon-off.png Binary files differdeleted file mode 100644 index 340b516..0000000 --- a/mvc/resources/images/settings-icon-off.png +++ /dev/null diff --git a/mvc/resources/images/settings-icon-on.png b/mvc/resources/images/settings-icon-on.png Binary files differdeleted file mode 100644 index be008d4..0000000 --- a/mvc/resources/images/settings-icon-on.png +++ /dev/null diff --git a/mvc/resources/images/showfile-icon.png b/mvc/resources/images/showfile-icon.png Binary files differdeleted file mode 100644 index 7f9040f..0000000 --- a/mvc/resources/images/showfile-icon.png +++ /dev/null diff --git a/mvc/resources/nsis/modern-wizard.bmp b/mvc/resources/nsis/modern-wizard.bmp Binary files differdeleted file mode 100644 index d8ea8d9..0000000 --- a/mvc/resources/nsis/modern-wizard.bmp +++ /dev/null diff --git a/mvc/resources/nsis/mvc-logo.ico b/mvc/resources/nsis/mvc-logo.ico Binary files differdeleted file mode 100644 index 007a929..0000000 --- a/mvc/resources/nsis/mvc-logo.ico +++ /dev/null diff --git a/mvc/resources/nsis/plugins/nsProcess.dll b/mvc/resources/nsis/plugins/nsProcess.dll Binary files differdeleted file mode 100644 index 4355d4a..0000000 --- a/mvc/resources/nsis/plugins/nsProcess.dll +++ /dev/null diff --git a/mvc/resources/nsis/plugins/nsProcess.nsh b/mvc/resources/nsis/plugins/nsProcess.nsh deleted file mode 100644 index 76642e0..0000000 --- a/mvc/resources/nsis/plugins/nsProcess.nsh +++ /dev/null @@ -1,21 +0,0 @@ -!define nsProcess::FindProcess `!insertmacro nsProcess::FindProcess`
-
-!macro nsProcess::FindProcess _FILE _ERR
- nsProcess::_FindProcess /NOUNLOAD `${_FILE}`
- Pop ${_ERR}
-!macroend
-
-
-!define nsProcess::KillProcess `!insertmacro nsProcess::KillProcess`
-
-!macro nsProcess::KillProcess _FILE _ERR
- nsProcess::_KillProcess /NOUNLOAD `${_FILE}`
- Pop ${_ERR}
-!macroend
-
-
-!define nsProcess::Unload `!insertmacro nsProcess::Unload`
-
-!macro nsProcess::Unload
- nsProcess::_Unload
-!macroend
diff --git a/mvc/resources/windows/README b/mvc/resources/windows/README deleted file mode 100644 index bcc603e..0000000 --- a/mvc/resources/windows/README +++ /dev/null @@ -1,7 +0,0 @@ -This directory contains resources files for the windows port. - ----- gtkrc --- - -Taken from -http://art.gnome.org/download/themes/gtk2/1203/GTK2-ClearlooksVisto.tar.bz2 -and modified for Libre Video Converter diff --git a/mvc/resources/windows/gtkrc b/mvc/resources/windows/gtkrc deleted file mode 100755 index 45a6969..0000000 --- a/mvc/resources/windows/gtkrc +++ /dev/null @@ -1,182 +0,0 @@ -# Clearlooks-Visto by Marius M. M. < devilx at gdesklets dot org> -# This theme is GPLed :) - -gtk-icon-sizes = "panel-menu=16,16:panel=22,22" - -style "clearlooks-default" -{ - GtkButton::default_border = { 0, 0, 0, 0 } - GtkButton::default_outside_border = { 0, 0, 0, 0 } - GtkRange::trough_border = 0 - - GtkWidget::focus_padding = 1 - - GtkPaned::handle_size = 6 - - GtkRange::slider_width = 15 - GtkRange::stepper_size = 15 - GtkScrollbar::min_slider_length = 30 - GtkCheckButton::indicator_size = 12 - GtkMenuBar::internal-padding = 0 - - GtkTreeView::expander_size = 14 - GtkTreeView::odd_row_color = "#EBF5FF" - GtkExpander::expander_size = 16 - - xthickness = 1 - ythickness = 1 - - fg[NORMAL] = "#505050" - fg[ACTIVE] = "#505050" - fg[SELECTED] = "#ffffff" - fg[INSENSITIVE] = "#9B9B9B" - - bg[NORMAL] = "#F5F5F5" - bg[ACTIVE] = "#f9f9f9" - bg[PRELIGHT] = "#888888" - bg[SELECTED] = "#095fb2" - bg[INSENSITIVE] = "#888888" - - base[NORMAL] = "#ffffff" - base[ACTIVE] = "#095fb2" - base[PRELIGHT] = "#FFFFFF" - base[INSENSITIVE]= "#ffffff" - base[SELECTED] = "#095fb2" - - text[INSENSITIVE]= "#9B9B9B" - text[SELECTED] = "#ffffff" - text[ACTIVE] = "#ffffff" - - engine "clearlooks" - { - contrast = 1.1 - menubarstyle = 2 # 0 = flat, 1 = sunken, 2 = flat gradient - menuitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button) - listviewitemstyle = 1 # 0 = flat, 1 = 3d-ish (gradient) - progressbarstyle = 1 # 0 = candy bar, 1 = flat - } -} - - -style "clearlooks-progressbar" = "clearlooks-default" -{ - fg[PRELIGHT] = "#ffffff" - xthickness = 1 - ythickness = 1 - -} - -style "clearlooks-wide" = "clearlooks-default" -{ - xthickness = 2 - ythickness = 2 -} - -style "clearlooks-button" = "clearlooks-default" -{ - xthickness = 3 - ythickness = 3 -} - -style "clearlooks-notebook" = "clearlooks-wide" -{ - bg[NORMAL] = "#FAFAFA" -} - -style "clearlooks-tasklist" = "clearlooks-default" -{ - xthickness = 5 - ythickness = 3 -} - -style "clearlooks-menu" = "clearlooks-default" -{ - xthickness = 2 - ythickness = 1 -} - -style "clearlooks-menubar" = "clearlooks-default" -{ - xthickness = 2 - ythickness = 2 - base[PRELIGHT] = "#63E62E" - base[SELECTED] = "#4DB224" -} - -style "clearlooks-menu-item" = "clearlooks-default" -{ - xthickness = 2 - ythickness = 3 - fg[PRELIGHT] = "#ffffff" - text[PRELIGHT] = "#ffffff" -} - -style "clearlooks-tree" = "clearlooks-default" -{ - xthickness = 2 - ythickness = 2 -} - -style "clearlooks-frame-title" = "clearlooks-default" -{ - fg[NORMAL] = "#505050" -} - -style "clearlooks-panel" = "clearlooks-default" -{ - xthickness = 3 - ythickness = 3 -} - -style "clearlooks-tooltips" = "clearlooks-default" -{ - xthickness = 4 - ythickness = 4 - bg[NORMAL] = { 1.0,1.0,0.75 } -} - -style "clearlooks-combo" = "clearlooks-default" -{ - xthickness = 1 - ythickness = 2 -} - -style "metacity-frame" -{ - bg[SELECTED] = "#095fb2" - fg[SELECTED] = "#ffffff" -} - -class "GtkWidget" style "clearlooks-default" -class "GtkButton" style "clearlooks-button" -class "GtkCombo" style "clearlooks-button" -class "GtkRange" style "clearlooks-wide" -class "GtkFrame" style "clearlooks-wide" -class "GtkMenu" style "clearlooks-menu" -class "GtkEntry" style "clearlooks-button" -class "GtkMenuItem" style "clearlooks-menu-item" -class "GtkStatusbar" style "clearlooks-wide" -class "GtkNotebook" style "clearlooks-notebook" -class "GtkProgressBar" style "clearlooks-progressbar" -class "*MenuBar*" style "clearlooks-menubar" -class "GtkMenuBar*" style "clearlooks-menubar" -class "MetaFrames" style "metacity-frame" - -widget_class "*MenuItem*" style "clearlooks-menu-item" - -widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo" -widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo" - -widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist" -widget "gtk-tooltips" style "clearlooks-tooltips" - -widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree" -widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree" -widget_class "*.GtkList.GtkButton" style "clearlooks-tree" -widget_class "*.GtkCList.GtkButton" style "clearlooks-tree" -widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title" - -widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook" -widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook" - -widget_class "*MenuBar*" style "clearlooks-menubar" |