Permalink
Browse files

Initial import

  • Loading branch information...
3unjee committed Feb 25, 2016
0 parents commit d5f3960a1c7901828051cc9f2a570483c661f338
Showing with 28,292 additions and 0 deletions.
  1. +674 −0 LICENSE.md
  2. +166 −0 MotionBox.pro
  3. +78 −0 README.md
  4. 0 bin/.gitignore
  5. +80 −0 configure.sh
  6. +763 −0 content/AreaContextualApplication.qml
  7. +122 −0 content/AreaDrag.qml
  8. +416 −0 content/BarControls.qml
  9. +746 −0 content/BarTop.qml
  10. +97 −0 content/BarWindowApplication.qml
  11. +48 −0 content/ButtonLogo.qml
  12. +39 −0 content/ButtonLogoBorders.qml
  13. +50 −0 content/ButtonPianoTitle.qml
  14. +555 −0 content/ButtonsBrowse.qml
  15. +220 −0 content/ButtonsUpdater.qml
  16. +200 −0 content/ComponentFolder.qml
  17. +127 −0 content/ComponentLibraryItem.qml
  18. +193 −0 content/ComponentTrack.qml
  19. +3,202 −0 content/Gui.qml
  20. +160 −0 content/ItemNew.qml
  21. +106 −0 content/ItemTabMini.qml
  22. +206 −0 content/LineEditSearch.qml
  23. +993 −0 content/ListFolder.qml
  24. +1,436 −0 content/ListPlaylist.qml
  25. +103 −0 content/Main.qml
  26. +38 −0 content/PageAbout.qml
  27. +48 −0 content/PageAboutCredits.qml
  28. +250 −0 content/PageAboutMain.qml
  29. +50 −0 content/PageAboutMessage.qml
  30. +173 −0 content/PageAboutText.qml
  31. +38 −0 content/PageSettings.qml
  32. +429 −0 content/PageSettingsMain.qml
  33. +369 −0 content/PageSettingsProxy.qml
  34. +1,601 −0 content/PanelAdd.qml
  35. +307 −0 content/PanelApplication.qml
  36. +1,784 −0 content/PanelBrowse.qml
  37. +827 −0 content/PanelCover.qml
  38. +66 −0 content/PanelFolder.qml
  39. +430 −0 content/PanelLibrary.qml
  40. +308 −0 content/PanelPlayer.qml
  41. +561 −0 content/PanelPreview.qml
  42. +676 −0 content/PanelRelated.qml
  43. +495 −0 content/PanelSearch.qml
  44. +431 −0 content/PanelSettings.qml
  45. +301 −0 content/PanelShare.qml
  46. +471 −0 content/PanelTracks.qml
  47. +227 −0 content/ScrollFolder.qml
  48. +903 −0 content/ScrollFolderCreate.qml
  49. +240 −0 content/ScrollPlaylist.qml
  50. +201 −0 content/ScrollPlaylistCreate.qml
  51. +173 −0 content/Splash.qml
  52. +351 −0 content/StyleApplication.qml
  53. +36 −0 content/TextLogo.qml
  54. BIN content/pictures/icons/16x16/maxi.png
  55. BIN content/pictures/icons/16x16/mini.png
  56. BIN content/pictures/icons/16x16/playSmall.png
  57. BIN content/pictures/icons/16x16/point.png
  58. BIN content/pictures/icons/16x16/searchSmall.png
  59. BIN content/pictures/icons/24x24/abort.png
  60. BIN content/pictures/icons/24x24/addBold.png
  61. BIN content/pictures/icons/24x24/addIn.png
  62. BIN content/pictures/icons/24x24/expand.png
  63. BIN content/pictures/icons/24x24/goRelated.png
  64. BIN content/pictures/icons/24x24/goUp.png
  65. BIN content/pictures/icons/24x24/love.png
  66. BIN content/pictures/icons/24x24/refresh.png
  67. BIN content/pictures/icons/24x24/related.png
  68. BIN content/pictures/icons/24x24/repeat.png
  69. BIN content/pictures/icons/24x24/repeatOne.png
  70. BIN content/pictures/icons/24x24/share.png
  71. BIN content/pictures/icons/24x24/shuffle.png
  72. BIN content/pictures/icons/24x24/tuning.png
  73. BIN content/pictures/icons/24x24/wall.png
  74. BIN content/pictures/icons/28x28/feed.png
  75. BIN content/pictures/icons/28x28/folder.png
  76. BIN content/pictures/icons/28x28/playlist.png
  77. BIN content/pictures/icons/28x28/url.png
  78. BIN content/pictures/icons/32x32/about.png
  79. BIN content/pictures/icons/32x32/addList.png
  80. BIN content/pictures/icons/32x32/feed.png
  81. BIN content/pictures/icons/32x32/folder.png
  82. BIN content/pictures/icons/32x32/goBackward.png
  83. BIN content/pictures/icons/32x32/goForward.png
  84. BIN content/pictures/icons/32x32/paste.png
  85. BIN content/pictures/icons/32x32/playlist.png
  86. BIN content/pictures/icons/32x32/search.png
  87. BIN content/pictures/icons/32x32/setting.png
  88. BIN content/pictures/icons/32x32/track.png
  89. BIN content/pictures/icons/32x32/url.png
  90. BIN content/pictures/icons/hub/dailymotion.png
  91. BIN content/pictures/icons/hub/duckduckgo.png
  92. BIN content/pictures/icons/hub/vimeo.png
  93. BIN content/pictures/icons/hub/youtube.png
  94. +60 −0 content/pictures/icons/icon.svg
  95. BIN content/pictures/icons/qt.png
  96. BIN content/pictures/icons/qtGray.png
  97. +14 −0 content/pictures/icons/scale/abort.svg
  98. +8 −0 content/pictures/icons/scale/about.svg
  99. +7 −0 content/pictures/icons/scale/addBold.svg
  100. +8 −0 content/pictures/icons/scale/addIn.svg
  101. +7 −0 content/pictures/icons/scale/addList.svg
  102. +7 −0 content/pictures/icons/scale/expand.svg
  103. +10 −0 content/pictures/icons/scale/feed.svg
  104. +10 −0 content/pictures/icons/scale/folder.svg
  105. +7 −0 content/pictures/icons/scale/goBackward.svg
  106. +7 −0 content/pictures/icons/scale/goForward.svg
  107. +7 −0 content/pictures/icons/scale/goRelated.svg
  108. +7 −0 content/pictures/icons/scale/goUp.svg
  109. +8 −0 content/pictures/icons/scale/love.svg
  110. +7 −0 content/pictures/icons/scale/maxi.svg
  111. +7 −0 content/pictures/icons/scale/mini.svg
  112. +8 −0 content/pictures/icons/scale/paste.svg
  113. +10 −0 content/pictures/icons/scale/playSmall.svg
  114. +8 −0 content/pictures/icons/scale/playlist.svg
  115. +7 −0 content/pictures/icons/scale/point.svg
  116. +8 −0 content/pictures/icons/scale/refresh.svg
  117. +12 −0 content/pictures/icons/scale/related.svg
  118. +8 −0 content/pictures/icons/scale/repeat.svg
  119. +9 −0 content/pictures/icons/scale/repeatOne.svg
  120. +14 −0 content/pictures/icons/scale/search.svg
  121. +14 −0 content/pictures/icons/scale/searchSmall.svg
  122. +11 −0 content/pictures/icons/scale/setting.svg
  123. +8 −0 content/pictures/icons/scale/share.svg
  124. +10 −0 content/pictures/icons/scale/shuffle.svg
  125. +7 −0 content/pictures/icons/scale/track.svg
  126. +7 −0 content/pictures/icons/scale/trackWide.svg
  127. +10 −0 content/pictures/icons/scale/tuning.svg
  128. +20 −0 content/pictures/icons/scale/url.svg
  129. +10 −0 content/pictures/icons/scale/wall.svg
  130. BIN content/pictures/icons/sky.png
  131. BIN content/pictures/icons/skyGray.png
  132. BIN content/pictures/icons/track.png
  133. BIN content/pictures/icons/trackSmall.png
  134. BIN content/pictures/icons/vlc.png
  135. BIN content/pictures/icons/vlcGray.png
  136. +60 −0 content/pictures/icons/w.svg
  137. +384 −0 content/pictures/logo.svg
  138. BIN content/pictures/logoBackground.png
  139. +8 −0 content/text/credits.txt
  140. +89 −0 deploy.sh
  141. 0 deploy/.gitignore
  142. +1 −0 dist/MotionBox.rc
  143. +64 −0 dist/changes/1.0.1.md
  144. +133 −0 dist/changes/1.1.0.md
  145. +119 −0 dist/changes/1.1.1.md
  146. +9 −0 dist/doc/about.md
  147. +9 −0 dist/doc/fr/about.md
  148. +151 −0 dist/doc/fr/readme.md
  149. +207 −0 dist/doc/fr/shortcuts.md
  150. +674 −0 dist/doc/license.md
  151. +151 −0 dist/doc/readme.md
  152. +207 −0 dist/doc/shortcuts.md
  153. BIN dist/icon.ico
  154. BIN dist/icon.png
  155. +14 −0 dist/installer/config/config-win32.xml
  156. +101 −0 dist/installer/config/controller.qs
  157. 0 dist/installer/packages/MotionBox/data/.gitignore
  158. +9 −0 dist/installer/packages/MotionBox/meta/package.xml
  159. 0 dist/installer/packages/Qt/data/.gitignore
  160. +8 −0 dist/installer/packages/Qt/meta/package.xml
  161. 0 dist/installer/packages/Sk/data/.gitignore
  162. +9 −0 dist/installer/packages/Sk/meta/package.xml
  163. 0 dist/installer/packages/VLC/data/.gitignore
  164. +8 −0 dist/installer/packages/VLC/meta/package.xml
  165. 0 dist/installer/packages/setup/data/.gitignore
  166. +138 −0 dist/installer/packages/setup/meta/component.qs
  167. +17 −0 dist/installer/packages/setup/meta/form.ui
  168. +12 −0 dist/installer/packages/setup/meta/package.xml
  169. BIN dist/pictures/MotionBox.png
  170. BIN dist/pictures/TheVideoBrowser.png
  171. +80 −0 dist/qrc.sh
  172. 0 dist/qrc/.gitignore
  173. 0 latest/.gitignore
  174. 0 lib/.gitignore
  175. +770 −0 src/controllers/ControllerCore.cpp
  176. +172 −0 src/controllers/ControllerCore.h
  177. +7 −0 src/controllers/controllers.pri
  178. +6 −0 src/global/global.pri
  179. +62 −0 src/global/main.cpp
  180. +1,083 −0 src/io/DataLocal.cpp
  181. +306 −0 src/io/DataLocal.h
  182. +197 −0 src/io/DataOnline.cpp
  183. +92 −0 src/io/DataOnline.h
  184. +9 −0 src/io/io.pri

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,166 @@
SK = $$_PRO_FILE_PWD_/../Sk

TARGET = MotionBox

greaterThan(QT_MAJOR_VERSION, 4) {
DESTDIR = $$_PRO_FILE_PWD_/latest
} else {
DESTDIR = $$_PRO_FILE_PWD_/bin
}

QT += declarative network xml

macx: CONFIG -= app_bundle

greaterThan(QT_MAJOR_VERSION, 4): DEFINES += QT_LATEST

#CONFIG += deploy

deploy {
DEFINES += SK_DEPLOY

#RESOURCES = dist/MotionBox.qrc
}

include(src/global/global.pri)
include(src/controllers/controllers.pri)
include(src/io/io.pri)

INCLUDEPATH += \
$$SK/include/SkCore \
$$SK/include/SkGui \
$$SK/include/SkMedia \
$$SK/include/SkWeb \
$$SK/include/SkBackend \
src/controllers \
src/io \

CONFIG(debug, debug|release) {
LIBS += \
-L$$SK/lib -lSkCoreD \
-L$$SK/lib -lSkGuiD \
-L$$SK/lib -lSkMediaD \
-L$$SK/lib -lSkWebD \
-L$$SK/lib -lSkBackendD \

} else {
LIBS += \
-L$$SK/lib -lSkCore \
-L$$SK/lib -lSkGui \
-L$$SK/lib -lSkMedia \
-L$$SK/lib -lSkWeb \
-L$$SK/lib -lSkBackend \

}

RC_FILE = dist/MotionBox.rc

OTHER_FILES += configure.sh \
deploy.sh \
README.md \
LICENSE.md \
content/text/credits.txt \
content/Main.qml \
content/StyleApplication.qml \
content/Splash.qml \
content/Gui.qml \
content/AreaContextualApplication.qml \
content/AreaDrag.qml \
content/ItemNew.qml \
content/ItemTabMini.qml \
content/TextLogo.qml \
content/PanelApplication.qml \
content/PanelSearch.qml \
content/PanelLibrary.qml \
content/PanelFolder.qml \
content/PanelTracks.qml \
content/PanelPlayer.qml \
content/PanelBrowse.qml \
content/PanelRelated.qml \
content/PanelCover.qml \
content/PanelSettings.qml \
content/PanelShare.qml \
content/PanelAdd.qml \
content/PanelPreview.qml \
content/BarWindowApplication.qml \
content/BarTop.qml \
content/BarControls.qml \
content/ButtonPianoTitle.qml \
content/ButtonLogo.qml \
content/ButtonLogoBorders.qml \
content/ButtonsBrowse.qml \
content/ButtonsUpdater.qml \
content/LineEditSearch.qml \
content/ListFolder.qml \
content/ListPlaylist.qml \
content/ScrollFolder.qml \
content/ScrollFolderCreate.qml \
content/ScrollPlaylist.qml \
content/ScrollPlaylistCreate.qml \
content/ComponentLibraryItem.qml \
content/ComponentTrack.qml \
content/ComponentFolder.qml \
content/PageSettings.qml \
content/PageSettingsMain.qml \
content/PageSettingsProxy.qml \
content/PageAbout.qml \
content/PageAboutMain.qml \
content/PageAboutText.qml \
content/PageAboutMessage.qml \
content/PageAboutCredits.qml \
dist/MotionBox.rc \
dist/qrc.sh \
dist/doc/readme.md \
dist/doc/shortcuts.md \
dist/doc/about.md \
dist/doc/license.md \
dist/doc/fr/readme.md \
dist/doc/fr/shortcuts.md \
dist/doc/fr/about.md \
dist/changes/1.0.1.md \
dist/changes/1.1.0.md \
dist/changes/1.1.1.md \
dist/installer/config/config-win32.xml \
dist/installer/config/controller.qs \
dist/installer/packages/setup/meta/package.xml \
dist/installer/packages/setup/meta/component.qs \
dist/installer/packages/setup/meta/form.ui \
dist/installer/packages/setup/data/setup.xml \
dist/installer/packages/MotionBox/meta/package.xml \
dist/installer/packages/Sk/meta/package.xml \
dist/installer/packages/Qt/meta/package.xml \
dist/installer/packages/VLC/meta/package.xml \

macx {
CONFIG(debug, debug|release) {
QMAKE_POST_LINK = install_name_tool -change libSkCoreD.dylib \
@executable_path/libSkCoreD.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkGuiD.dylib \
@executable_path/libSkGuiD.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkMediaD.dylib \
@executable_path/libSkMediaD.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkWebD.dylib \
@executable_path/libSkWebD.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkBackendD.dylib \
@executable_path/libSkBackendD.dylib $${DESTDIR}/$${TARGET} ;
} else {
QMAKE_POST_LINK = install_name_tool -change libSkCore.dylib \
@executable_path/libSkCore.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkGui.dylib \
@executable_path/libSkGui.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkMedia.dylib \
@executable_path/libSkMedia.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkWeb.dylib \
@executable_path/libSkWeb.dylib $${DESTDIR}/$${TARGET} ;

QMAKE_POST_LINK += install_name_tool -change libSkBackend.dylib \
@executable_path/libSkBackend.dylib $${DESTDIR}/$${TARGET} ;
}
}
@@ -0,0 +1,78 @@
<a href="http://omega.gg/MotionBox">![MotionBox](dist/pictures/MotionBox.png)</a>
---

[MotionBox](http://omega.gg/MotionBox) is a Video Browser for Motion Freedom.<br>
Built to access and traverse decentralized video sources.<br>
Built to load and play multiple video resources.<br>
[omega](http://omega.gg/about) is building MotionBox for the society of sharing.<br>

## Technology
<a href="http://omega.gg/MotionBox/what">![MotionBox](dist/pictures/TheVideoBrowser.png)</a>

MotionBox is built in C++ with [Sky kit](http://omega.gg/Sk/source).<br>
Sky kit is built on the [Qt framework](http://github.com/qtproject).<br>
The GUI uses QML. The player uses [VLC](http://github.com/videolan/vlc) core.<br>

## Platforms

- Windows XP and later.

Linux and OS-X are coming soon.

## Requirements

- [Sky kit](http://omega.gg/Sk/source) latest version.
- [Qt](http://download.qt.io/official_releases/qt) 4.8.0 / 5.5.0 or later.
- [VLC](http://download.videolan.org/pub/videolan/vlc) 2.2.0 or later.
- [OpenSSL](http://www.openssl.org/source) / [Win32OpenSSL](http://slproweb.com/products/Win32OpenSSL.html) 1.0.1 or later.

On Windows:
- [MinGW](http://sourceforge.net/projects/mingw) or [Git for Windows](https://git-for-windows.github.io) with g++ 4.9.2 or later.

Recommended:
- [Qt Creator](http://download.qt.io/official_releases/qtcreator) 3.6.0 or later.

## Configure

You can configure MotionBox with:

sh configure.sh <qt4 | qt5 | clean> <win32>

- Edit [configure.sh](configure.sh) to check your dependencies.

## Build

You can build MotionBox with Qt Creator:
- Open [MotionBox.pro](MotionBox.pro).
- Click on "Build > Build all".

Or the console:

qmake -r
make (mingw32-make on Windows)

## Deploy

You can deploy MotionBox with:

cd dist
sh qrc <win32 | clean>
cd ..
sh deploy.sh <qt4 | qt5 | clean> <win32>

- Edit [dist/qrc.sh](dist/qrc.sh) and [deploy.sh](deploy.sh) to check your dependencies.

## License

Copyright (C) 2015 - 2016 MotionBox authors united with [omega](http://omega.gg/about).

### Authors

- Benjamin Arnaud aka [bunjee](http://bunjee.me) | <bunjee@omega.gg>

### GNU General Public License Usage

MotionBox may be used under the terms of the GNU General Public License version 3 as published
by the Free Software Foundation and appearing in the LICENSE.md file included in the packaging
of this file. Please review the following information to ensure the GNU General Public License
requirements will be met: https://www.gnu.org/licenses/gpl.html.
No changes.
@@ -0,0 +1,80 @@
#!/bin/sh

#--------------------------------------------------------------------------------------------------
# Settings
#--------------------------------------------------------------------------------------------------

external="../3rdparty"

VLC="$external/VLC/2.2.2"

#--------------------------------------------------------------------------------------------------

bin4="bin"
bin5="latest"

#--------------------------------------------------------------------------------------------------
# Syntax
#--------------------------------------------------------------------------------------------------

if [ $# != 2 ] || [ $1 != "qt4" -a $1 != "qt5" -a $1 != "clean" ] || [ $2 != "win32" ]; then

echo "Usage: configure <qt4 | qt5 | clean> <win32>"

exit 1
fi

#--------------------------------------------------------------------------------------------------
# Clean
#--------------------------------------------------------------------------------------------------

if [ $1 = "clean" ]; then

echo "CLEANING"

rm -rf lib
mkdir lib
touch lib/.gitignore

rm -rf "$bin4"
mkdir "$bin4"
touch "$bin4"/.gitignore

rm -rf "$bin5"
mkdir "$bin5"
touch "$bin5"/.gitignore

exit 0
fi

#--------------------------------------------------------------------------------------------------
# VLC
#--------------------------------------------------------------------------------------------------

echo "COPYING VLC"

if [ $1 = "qt4" ]; then

bin="$bin4"
else
bin="$bin5"
fi

mkdir "$bin"/plugins

cp -r "$VLC"/plugins/access "$bin"/plugins
cp -r "$VLC"/plugins/audio_filter "$bin"/plugins
cp -r "$VLC"/plugins/audio_mixer "$bin"/plugins
cp -r "$VLC"/plugins/audio_output "$bin"/plugins
cp -r "$VLC"/plugins/codec "$bin"/plugins
cp -r "$VLC"/plugins/control "$bin"/plugins
cp -r "$VLC"/plugins/demux "$bin"/plugins
cp -r "$VLC"/plugins/misc "$bin"/plugins
cp -r "$VLC"/plugins/video_chroma "$bin"/plugins
cp -r "$VLC"/plugins/video_filter "$bin"/plugins
cp -r "$VLC"/plugins/video_output "$bin"/plugins

if [ $2 = "win32" ]; then

cp "$VLC"/libvlc*.dll "$bin"
fi
Oops, something went wrong.

0 comments on commit d5f3960

Please sign in to comment.