├── .tag ├── data ├── appdata │ ├── player1.png │ ├── player2.png │ ├── player3.png │ └── io.liri.Player.appdata.xml ├── icons │ ├── hicolor │ │ ├── 16x16 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 22x22 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 24x24 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 48x48 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 64x64 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 96x96 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 128x128 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 256x256 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ ├── 512x512 │ │ │ └── apps │ │ │ │ └── io.liri.Player.png │ │ └── scalable │ │ │ └── apps │ │ │ └── io.liri.Player.svg │ ├── CMakeLists.txt │ ├── io.liri.Player-16.svg │ └── io.liri.Player.svg ├── io.liri.Player.desktop └── io.liri.Player.desktop.in ├── src └── app │ ├── images │ ├── window-maximize.svg │ ├── window-restore.svg │ ├── window-close.svg │ └── window-minimize.svg │ ├── qml │ ├── main.qml │ ├── PlayerWindow.qml │ ├── SystemButtons.qml │ ├── PlaylistDrawer.qml │ ├── LibraryDrawer.qml │ ├── TopBar.qml │ ├── PlayerPage.qml │ └── BottomBar.qml │ ├── player.qrc │ ├── main.cpp │ └── CMakeLists.txt ├── .tx ├── sources.json └── config ├── AUTHORS.md ├── LICENSES ├── MIT.txt ├── CC0-1.0.txt ├── CC-BY-SA-4.0.txt └── GPL-3.0-or-later.txt ├── CMakeLists.txt ├── dist └── flatpak │ └── io.liri.Player.json ├── .reuse └── dep5 ├── README.md ├── translations └── app │ └── liri-player.ts └── LICENSE.GPLv3 /.tag: -------------------------------------------------------------------------------- 1 | 3968ec527d2f3dce60260fb0449ba187b11e7985 2 | -------------------------------------------------------------------------------- /data/appdata/player1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/appdata/player1.png -------------------------------------------------------------------------------- /data/appdata/player2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/appdata/player2.png -------------------------------------------------------------------------------- /data/appdata/player3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/appdata/player3.png -------------------------------------------------------------------------------- /data/icons/hicolor/16x16/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/16x16/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/22x22/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/22x22/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/24x24/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/24x24/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/48x48/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/48x48/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/64x64/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/64x64/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/96x96/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/96x96/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/128x128/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/128x128/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/256x256/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/256x256/apps/io.liri.Player.png -------------------------------------------------------------------------------- /data/icons/hicolor/512x512/apps/io.liri.Player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lirios/player/HEAD/data/icons/hicolor/512x512/apps/io.liri.Player.png -------------------------------------------------------------------------------- /src/app/images/window-maximize.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/images/window-restore.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.tx/sources.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "type": "ts", 4 | "directory": "src/app", 5 | "output_path": "translations/app/liri-player.ts" 6 | }, 7 | { 8 | "type": "desktop", 9 | "source_file": "data/io.liri.Player.desktop.in", 10 | "file_filter": "translations/data/io.liri.Player_.desktop", 11 | "output_path": "data/io.liri.Player.desktop" 12 | } 13 | ] 14 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [liri-player.app] 5 | type = QT 6 | source_lang = en 7 | source_file = translations/app/liri-player.ts 8 | file_filter = translations/app/liri-player_.ts 9 | 10 | [liri-player.desktop-file] 11 | type = DESKTOP 12 | source_lang = en 13 | source_file = data/io.liri.Player.desktop.in 14 | file_filter = translations/data/io.liri.Player_.desktop 15 | -------------------------------------------------------------------------------- /AUTHORS.md: -------------------------------------------------------------------------------- 1 | 6 | 7 | Player 8 | ====== 9 | 10 | # Core Developers 11 | 12 | * Pier Luigi Fiorini 13 | 14 | # Contributors 15 | 16 | You can see the list of contributors to this code base, 17 | and the number of their commits with: 18 | 19 | ```sh 20 | git shortlog -s -e -n 21 | ``` -------------------------------------------------------------------------------- /src/app/images/window-close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/qml/main.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // 3 | // SPDX-License-Identifier: GPL-3.0-or-later 4 | 5 | import QtQuick 2.10 6 | 7 | Item { 8 | id: root 9 | 10 | Component { 11 | id: windowComponent 12 | 13 | PlayerWindow {} 14 | } 15 | 16 | function createWindow() { 17 | var newWindow = windowComponent.createObject(root); 18 | newWindow.showNormal(); 19 | return newWindow; 20 | } 21 | 22 | Component.onCompleted: { 23 | createWindow(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/app/player.qrc: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | qml/BottomBar.qml 10 | qml/LibraryDrawer.qml 11 | qml/main.qml 12 | qml/PlayerPage.qml 13 | qml/PlayerWindow.qml 14 | qml/PlaylistDrawer.qml 15 | qml/SystemButtons.qml 16 | qml/TopBar.qml 17 | images/window-close.svg 18 | images/window-maximize.svg 19 | images/window-minimize.svg 20 | images/window-restore.svg 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/app/qml/PlayerWindow.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // 3 | // SPDX-License-Identifier: GPL-3.0-or-later 4 | 5 | import QtQuick 2.5 6 | import QtQuick.Controls 2.3 7 | import QtQuick.Controls.Material 2.3 8 | import Fluid.Controls 1.0 as FluidControls 9 | 10 | FluidControls.ApplicationWindow { 11 | id: window 12 | 13 | width: 750 14 | height: 430 15 | minimumWidth: playerPage.minimumWidth 16 | visible: true 17 | 18 | Material.primary: Material.Red 19 | Material.accent: Material.DeepOrange 20 | 21 | header: null 22 | 23 | initialPage: PlayerPage { 24 | id: playerPage 25 | } 26 | 27 | function pushPage(component) { 28 | window.pageStack.push(component); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /data/icons/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | # 3 | # SPDX-License-Identifier: CC0-1.0 4 | 5 | if(UNIX AND NOT APPLE AND NOT ANDROID) 6 | file(GLOB png_icons "${CMAKE_CURRENT_SOURCE_DIR}/hicolor/*/*/*.png") 7 | file(GLOB svg_icons "${CMAKE_CURRENT_SOURCE_DIR}/hicolor/*/*/*.svg") 8 | foreach(source_path IN LISTS png_icons svg_icons) 9 | string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/hicolor/" "" icon_basename "${source_path}") 10 | get_filename_component(icon_directory "${icon_basename}" DIRECTORY) 11 | string(REPLACE "${icon_directory}/" "" icon_filename "${icon_basename}") 12 | string(REGEX REPLACE "\.(png|svg)" "" icon_filename "${icon_filename}") 13 | set(dest_path "${INSTALL_DATADIR}/icons/hicolor/${icon_directory}/") 14 | install(FILES "${source_path}" DESTINATION "${dest_path}") 15 | endforeach() 16 | endif() 17 | -------------------------------------------------------------------------------- /LICENSES/MIT.txt: -------------------------------------------------------------------------------- 1 | MIT License Copyright (c) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice (including the next 11 | paragraph) shall be included in all copies or substantial portions of the 12 | Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS 17 | OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 18 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 19 | OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /src/app/main.cpp: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // 3 | // SPDX-License-Identifier: GPL-3.0-or-later 4 | 5 | #include 6 | #include 7 | #include 8 | 9 | int main(int argc, char **argv) 10 | { 11 | // Set the X11 WM_CLASS so X11 desktops can find the desktop file 12 | qputenv("RESOURCE_NAME", "io.liri.Player"); 13 | 14 | QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); 15 | 16 | QApplication app(argc, argv); // For file dialog 17 | app.setOrganizationName(QStringLiteral("Liri")); 18 | app.setOrganizationDomain(QStringLiteral("liri.io")); 19 | app.setApplicationName(QStringLiteral("Player")); 20 | app.setApplicationVersion(QStringLiteral(PLAYER_VERSION)); 21 | app.setApplicationDisplayName(QStringLiteral("Player")); 22 | app.setDesktopFileName(QStringLiteral("io.liri.Player.desktop")); 23 | app.setQuitOnLastWindowClosed(true); 24 | 25 | QQuickStyle::setStyle(QStringLiteral("Material")); 26 | 27 | QQmlApplicationEngine engine; 28 | engine.load(QUrl(QStringLiteral("qrc:/qml/main.qml"))); 29 | 30 | return app.exec(); 31 | } 32 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | # 3 | # SPDX-License-Identifier: CC0-1.0 4 | 5 | cmake_minimum_required(VERSION 3.10.0) 6 | 7 | project("Player" 8 | VERSION "0.1.0" 9 | DESCRIPTION "Media player" 10 | LANGUAGES CXX C 11 | ) 12 | 13 | ## Shared macros and functions: 14 | if(PLAYER_WITH_FLUID AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/fluid/CMakeLists.txt") 15 | set(LIRI_LOCAL_ECM TRUE) 16 | set(FLUID_WITH_DOCUMENTATION FALSE) 17 | set(FLUID_WITH_DEMO FALSE) 18 | endif() 19 | if(LIRI_LOCAL_ECM) 20 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/fluid/cmake/shared/modules") 21 | else() 22 | find_package(LiriCMakeShared "2.0.0" REQUIRED NO_MODULE) 23 | list(APPEND CMAKE_MODULE_PATH "${LCS_MODULE_PATH}") 24 | endif() 25 | 26 | ## Set minimum versions required. 27 | set(QT_MIN_VERSION "5.10.0") 28 | 29 | ## Liri specific setup common for all modules: 30 | include(LiriSetup) 31 | 32 | ## Features: 33 | option(PLAYER_WITH_FLUID "Build together with Fluid" OFF) 34 | add_feature_info("Player::WithFluid" PLAYER_WITH_FLUID "Build together with Fluid") 35 | 36 | ## Find Qt 5. 37 | find_package(Qt5 "${QT_MIN_VERSION}" 38 | CONFIG REQUIRED 39 | COMPONENTS 40 | Core 41 | Gui 42 | Widgets 43 | Multimedia 44 | Qml 45 | Quick 46 | QuickControls2 47 | LinguistTools 48 | ) 49 | 50 | ## Add subdirectories: 51 | add_subdirectory(data/icons) 52 | add_subdirectory(src/app) 53 | -------------------------------------------------------------------------------- /dist/flatpak/io.liri.Player.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "io.liri.Player", 3 | "branch": "master", 4 | "runtime": "org.kde.Platform", 5 | "runtime-version": "5.14", 6 | "sdk": "org.kde.Sdk", 7 | "command": "liri-player", 8 | "tags": [ 9 | "nightly" 10 | ], 11 | "desktop-file-name-suffix": " (Nightly)", 12 | "finish-args": [ 13 | "--device=dri", 14 | "--filesystem=host", 15 | "--socket=wayland", 16 | "--socket=x11", 17 | "--share=ipc" 18 | ], 19 | "modules": [ 20 | { 21 | "name": "cmake-shared", 22 | "buildsystem": "cmake-ninja", 23 | "sources": [ 24 | { 25 | "type": "git", 26 | "url": "git://github.com/lirios/cmake-shared.git", 27 | "branch": "develop" 28 | } 29 | ] 30 | }, 31 | { 32 | "name": "fluid", 33 | "buildsystem": "cmake-ninja", 34 | "config-opts": [ 35 | "-DFLUID_USE_SYSTEM_LCS:BOOL=ON", 36 | "-DFLUID_WITH_DOCUMENTATION:BOOL=OFF", 37 | "-DFLUID_WITH_DEMO:BOOL=OFF" 38 | ], 39 | "sources": [ 40 | { 41 | "type": "git", 42 | "url": "git://github.com/lirios/fluid.git", 43 | "branch": "develop" 44 | } 45 | ] 46 | }, 47 | { 48 | "name": "player", 49 | "buildsystem": "cmake-ninja", 50 | "sources": [ 51 | { 52 | "type": "git", 53 | "url": "git://github.com/lirios/player.git", 54 | "branch": "develop" 55 | } 56 | ] 57 | } 58 | ] 59 | } 60 | -------------------------------------------------------------------------------- /.reuse/dep5: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: Player 3 | Source: https://github.com/lirios/player 4 | 5 | Files: .mailmap 6 | Copyright: 2020 Pier Luigi Fiorini 7 | License: CC0-1.0 8 | 9 | Files: .tag 10 | Copyright: 2020 Pier Luigi Fiorini 11 | License: CC0-1.0 12 | 13 | Files: .tx/config 14 | Copyright: 2020 Pier Luigi Fiorini 15 | License: CC0-1.0 16 | 17 | Files: .tx/sources.json 18 | Copyright: 2020 Pier Luigi Fiorini 19 | License: CC0-1.0 20 | 21 | Files: data/appdata/*.png 22 | Copyright: 2020 Pier Luigi Fiorini 23 | License: CC0-1.0 24 | 25 | Files: dist/flatpak/io.liri.Player.json 26 | Copyright: 2020 Pier Luigi Fiorini 27 | License: CC0-1.0 28 | 29 | Files: translations/* 30 | Copyright: 2020 Liri Translators 31 | License: CC0-1.0 32 | 33 | Files: data/icons/io.liri.Player*.svg 34 | Copyright: 2020 Pier Luigi Fiorini 35 | Copyright: 2020 Sam Hewitt 36 | License: CC-BY-SA-4.0 37 | 38 | Files: data/icons/hicolor/*/apps/io.liri.Player.png 39 | Copyright: 2020 Pier Luigi Fiorini 40 | Copyright: 2020 Sam Hewitt 41 | License: CC-BY-SA-4.0 42 | 43 | Files: data/icons/hicolor/scalable/apps/io.liri.Player.svg 44 | Copyright: 2020 Pier Luigi Fiorini 45 | Copyright: 2020 Sam Hewitt 46 | License: CC-BY-SA-4.0 47 | -------------------------------------------------------------------------------- /src/app/images/window-minimize.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 30 | 50 | 54 | 55 | -------------------------------------------------------------------------------- /src/app/qml/SystemButtons.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // SPDX-FileCopyrightText: 2015 Pierre Jacquier 3 | // 4 | // SPDX-License-Identifier: GPL-3.0-or-later 5 | 6 | import QtQuick 2.4 7 | import QtQuick.Window 2.0 8 | import QtQuick.Layouts 1.0 9 | import QtQuick.Controls 2.3 10 | import Fluid.Controls 1.0 as FluidControls 11 | 12 | Item { 13 | id: systemButtons 14 | 15 | signal showMinimized() 16 | signal showMaximized() 17 | signal showFullScreen() 18 | signal showNormal() 19 | signal close() 20 | 21 | RowLayout { 22 | anchors{ 23 | right: parent.right 24 | top: parent.top 25 | } 26 | spacing: FluidControls.Units.smallSpacing 27 | 28 | ToolButton { 29 | icon.source: "qrc:///images/window-minimize.svg" 30 | icon.width: 20 31 | icon.height: 20 32 | onClicked: { 33 | systemButtons.showMinimized(); 34 | } 35 | } 36 | 37 | ToolButton { 38 | icon.source: window.visibility == Window.Maximized ? "qrc:///images/window-restore.svg" : "qrc:///images/window-maximize.svg" 39 | icon.width: 20 40 | icon.height: 20 41 | onClicked: { 42 | if (window.visibility == Window.Windowed) 43 | systemButtons.showMaximized(); 44 | else 45 | systemButtons.showNormal(); 46 | } 47 | } 48 | 49 | ToolButton { 50 | icon.source: "qrc:///images/window-close.svg" 51 | icon.width: 20 52 | icon.height: 20 53 | onClicked: { 54 | systemButtons.close(); 55 | } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/app/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | # 3 | # SPDX-License-Identifier: CC0-1.0 4 | 5 | # Translations 6 | file(GLOB LiriPlayer_TRANSLATIONS "${CMAKE_SOURCE_DIR}/translations/app/*_*.ts") 7 | qt5_add_translation(LiriPlayer_QM_FILES ${LiriPlayer_TRANSLATIONS}) 8 | if(WIN32) 9 | set(_translations_destdir "${CMAKE_CURRENT_BINARY_DIR}/translations") 10 | elseif(APPLE) 11 | set(_translations_destdir "${CMAKE_CURRENT_BINARY_DIR}/Contents/Resources/data/translations") 12 | elseif(LINUX OR BSD) 13 | set(_translations_destdir "${INSTALL_DATADIR}/liri-player/translations") 14 | endif() 15 | if(DEFINED _translations_destdir) 16 | install(FILES ${LiriPlayer_QM_FILES} DESTINATION "${_translations_destdir}") 17 | endif() 18 | 19 | if(APPLE OR WIN32) 20 | set(LiriPlayer_OUTPUT_NAME "LiriPlayer") 21 | else() 22 | set(LiriPlayer_OUTPUT_NAME "liri-player") 23 | endif() 24 | 25 | liri_add_executable("LiriPlayer" 26 | OUTPUT_NAME 27 | "${LiriPlayer_OUTPUT_NAME}" 28 | SOURCES 29 | main.cpp 30 | ${LiriPlayer_QM_FILES} 31 | RESOURCES 32 | player.qrc 33 | DEFINES 34 | QT_NO_CAST_FROM_ASCII 35 | QT_NO_FOREACH 36 | PLAYER_VERSION="${PROJECT_VERSION}" 37 | APPDATA 38 | "${CMAKE_CURRENT_SOURCE_DIR}/../../data/appdata/io.liri.Player.appdata.xml" 39 | DESKTOP 40 | "${CMAKE_CURRENT_SOURCE_DIR}/../../data/io.liri.Player.desktop" 41 | LIBRARIES 42 | Qt5::Core 43 | Qt5::Gui 44 | Qt5::Widgets 45 | Qt5::Qml 46 | Qt5::Quick 47 | Qt5::QuickControls2 48 | GUI 49 | ) 50 | 51 | set_target_properties(LiriPlayer PROPERTIES 52 | MACOSX_BUNDLE_GUI_IDENTIFIER "io.liri.Player" 53 | MACOSX_BUNDLE_ICON_FILE "io.liri.Player" 54 | MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION}" 55 | ) 56 | 57 | liri_finalize_executable(LiriPlayer) 58 | -------------------------------------------------------------------------------- /src/app/qml/PlaylistDrawer.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // 3 | // SPDX-License-Identifier: GPL-3.0-or-later 4 | 5 | import QtQuick 2.10 6 | import QtQuick.Controls 2.3 7 | import QtQuick.Controls.Material 2.3 8 | import QtQuick.Layouts 1.0 9 | import Qt.labs.platform 1.0 10 | import Fluid.Controls 1.0 as FluidControls 11 | 12 | FluidControls.NavigationDrawer { 13 | id: playlistDrawer 14 | 15 | topContent: RowLayout { 16 | spacing: FluidControls.Units.smallSpacing 17 | 18 | FluidControls.TitleLabel { 19 | Layout.alignment: Qt.AlignVCenter 20 | 21 | text: qsTr("Playlist") 22 | } 23 | 24 | ToolButton { 25 | icon.source: FluidControls.Utils.iconUrl("action/done_all") 26 | 27 | onClicked: { 28 | player.playlist.clear(); 29 | } 30 | } 31 | } 32 | 33 | width: window.width * 0.5 34 | 35 | modal: true 36 | interactive: true 37 | position: 0.0 38 | visible: false 39 | 40 | FileDialog { 41 | id: playlistFileDialog 42 | 43 | folder: StandardPaths.writableLocation(StandardPaths.MoviesLocation) 44 | onAccepted: { 45 | player.playlist.addItem(file); 46 | } 47 | } 48 | 49 | ColumnLayout { 50 | anchors.fill: parent 51 | 52 | ListView { 53 | Layout.fillWidth: true 54 | Layout.fillHeight: true 55 | 56 | model: playlistModel 57 | delegate: FluidControls.ListItem { 58 | icon.source: FluidControls.Utils.iconUrl(index === player.playlist.currentIndex ? "av/play_arrow" : "") 59 | text: model.source 60 | highlighted: index === player.playlist.currentIndex 61 | onClicked: { 62 | player.playlist.currentIndex = index; 63 | player.play(); 64 | playlistDrawer.close(); 65 | } 66 | } 67 | } 68 | 69 | Button { 70 | Layout.fillWidth: true 71 | 72 | text: qsTr("Add") 73 | 74 | onClicked: { 75 | playlistFileDialog.open(); 76 | } 77 | } 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 6 | 7 | Player 8 | ====== 9 | 10 | [](https://www.gnu.org/licenses/gpl-3.0.html) 11 | [](https://github.com/lirios/player) 12 | [](https://travis-ci.org/lirios/player) 13 | [](https://github.com/lirios/player/issues) 14 | 15 | Liri Player is a cross-platform, Material Design video player. 16 | 17 | We aim to create a minimalistic, slick and simple video player 18 | providing all the features you would expect from a modern player. 19 | 20 | Following Google's Material Design allows us to make interface 21 | clean and beautiful. 22 | 23 |  24 | 25 | ## Dependencies 26 | 27 | Qt >= 5.10.0 with at least the following modules is required: 28 | 29 | * [qtbase](http://code.qt.io/cgit/qt/qtbase.git) 30 | * [qtdeclarative](http://code.qt.io/cgit/qt/qtdeclarative.git) 31 | * [qtquickcontrols2](http://code.qt.io/cgit/qt/qtquickcontrols2.git) 32 | * [qtmultimedia](http://code.qt.io/cgit/qt/qtmultimedia.git) 33 | 34 | The following modules and their dependencies are required: 35 | 36 | * [cmake](https://gitlab.kitware.com/cmake/cmake) >= 3.10.0 37 | * [cmake-shared](https://github.com/lirios/cmake-shared.git) >= 1.0.0 38 | * [fluid](https://github.com/lirios/fluid) >= 1.0.0 39 | 40 | ## Installation 41 | 42 | ```sh 43 | mkdir build 44 | cd build 45 | cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix .. 46 | make 47 | make install # use sudo if necessary 48 | ``` 49 | 50 | Replace `/path/to/prefix` to your installation prefix. 51 | Default is `/usr/local`. 52 | 53 | ## Credits 54 | 55 | The icon is a different coloring of `multimedia-video-player.svg` from 56 | [paper-icon-theme](https://github.com/snwh/paper-icon-theme) under the 57 | terms of the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) 58 | license. 59 | 60 | ## Licensing 61 | 62 | Licensed under the terms of the GNU General Public License version 3 or, 63 | at your option, any later version. 64 | -------------------------------------------------------------------------------- /data/io.liri.Player.desktop: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | # 3 | # SPDX-License-Identifier: CC0-1.0 4 | 5 | [Desktop Entry] 6 | Name=Player 7 | Comment=Play movies 8 | Keywords=Player;Video;Movie;Film;Clip;Series;DVD;TV;Disc; 9 | Exec=liri-player 10 | Icon=io.liri.Player 11 | Terminal=false 12 | Type=Application 13 | Categories=X-Liri;Qt;AudioVideo;Player;Video; 14 | MimeType=application/mxf;application/ogg;application/ram;application/sdp;application/smil;application/smil+xml;application/vnd.apple.mpegurl;application/vnd.ms-asf;application/vnd.ms-wpl;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-netshow-channel;application/x-ogg;application/x-quicktime-media-link;application/x-quicktimeplayer;application/x-shorten;application/x-smil;application/xspf+xml;audio/3gpp;audio/3gpp2;audio/aac;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/dv;audio/eac3;audio/flac;audio/m4a;audio/midi;audio/mp1;audio/mp2;audio/mp3;audio/mp4;audio/mpeg;audio/mpegurl;audio/mpg;audio/ogg;audio/opus;audio/prs.sid;audio/scpls;audio/vnd.rn-realaudio;audio/wav;audio/webm;audio/x-aac;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-m4b;audio/x-matroska;audio/x-mod;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpg;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-opus+ogg;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-s3m;audio/x-sbc;audio/x-scpls;audio/x-shorten;audio/x-speex;audio/x-stm;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-xm;image/vnd.rn-realpix;image/x-pict;misc/ultravox;text/google-video-pointer;text/x-google-video-pointer;video/3gp;video/3gpp;video/3gpp2;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/mpeg-system;video/msvideo;video/ogg;video/quicktime;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-flv;video/x-m4v;video/x-matroska;video/x-mjpeg;video/x-mpeg;video/x-mpeg2;video/x-ms-asf;video/x-ms-asf-plugin;video/x-ms-asx;video/x-msvideo;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-nsv;video/x-ogm+ogg;video/x-theora;video/x-theora+ogg;video/x-totem-stream;x-content/video-dvd;x-scheme-handler/pnm;x-scheme-handler/mms;x-scheme-handler/net;x-scheme-handler/rtp;x-scheme-handler/rtmp;x-scheme-handler/rtsp;x-scheme-handler/mmsh;x-scheme-handler/uvox;x-scheme-handler/icy;x-scheme-handler/icyx; 15 | -------------------------------------------------------------------------------- /data/io.liri.Player.desktop.in: -------------------------------------------------------------------------------- 1 | # SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | # 3 | # SPDX-License-Identifier: CC0-1.0 4 | 5 | [Desktop Entry] 6 | Name=Player 7 | Comment=Play movies 8 | Keywords=Player;Video;Movie;Film;Clip;Series;DVD;TV;Disc; 9 | Exec=liri-player 10 | Icon=io.liri.Player 11 | Terminal=false 12 | Type=Application 13 | Categories=X-Liri;Qt;AudioVideo;Player;Video; 14 | MimeType=application/mxf;application/ogg;application/ram;application/sdp;application/smil;application/smil+xml;application/vnd.apple.mpegurl;application/vnd.ms-asf;application/vnd.ms-wpl;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;application/x-extension-m4a;application/x-extension-mp4;application/x-flac;application/x-flash-video;application/x-matroska;application/x-netshow-channel;application/x-ogg;application/x-quicktime-media-link;application/x-quicktimeplayer;application/x-shorten;application/x-smil;application/xspf+xml;audio/3gpp;audio/3gpp2;audio/aac;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/dv;audio/eac3;audio/flac;audio/m4a;audio/midi;audio/mp1;audio/mp2;audio/mp3;audio/mp4;audio/mpeg;audio/mpegurl;audio/mpg;audio/ogg;audio/opus;audio/prs.sid;audio/scpls;audio/vnd.rn-realaudio;audio/wav;audio/webm;audio/x-aac;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-m4b;audio/x-matroska;audio/x-mod;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpg;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-opus+ogg;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-s3m;audio/x-sbc;audio/x-scpls;audio/x-shorten;audio/x-speex;audio/x-stm;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-xm;image/vnd.rn-realpix;image/x-pict;misc/ultravox;text/google-video-pointer;text/x-google-video-pointer;video/3gp;video/3gpp;video/3gpp2;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4;video/mp4v-es;video/mpeg;video/mpeg-system;video/msvideo;video/ogg;video/quicktime;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-flv;video/x-m4v;video/x-matroska;video/x-mjpeg;video/x-mpeg;video/x-mpeg2;video/x-ms-asf;video/x-ms-asf-plugin;video/x-ms-asx;video/x-msvideo;video/x-ms-wm;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvx;video/x-nsv;video/x-ogm+ogg;video/x-theora;video/x-theora+ogg;video/x-totem-stream;x-content/video-dvd;x-scheme-handler/pnm;x-scheme-handler/mms;x-scheme-handler/net;x-scheme-handler/rtp;x-scheme-handler/rtmp;x-scheme-handler/rtsp;x-scheme-handler/mmsh;x-scheme-handler/uvox;x-scheme-handler/icy;x-scheme-handler/icyx; 15 | -------------------------------------------------------------------------------- /src/app/qml/LibraryDrawer.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // 3 | // SPDX-License-Identifier: GPL-3.0-or-later 4 | 5 | import QtQuick 2.10 6 | import QtQuick.Controls 2.3 7 | import QtQuick.Controls.Material 2.3 8 | import QtQuick.Layouts 1.3 9 | import Qt.labs.folderlistmodel 2.1 10 | import Qt.labs.platform 1.0 11 | import Fluid.Controls 1.0 as FluidControls 12 | 13 | FluidControls.NavigationDrawer { 14 | id: libraryDrawer 15 | 16 | topContent: FluidControls.TitleLabel { 17 | text: qsTr("Library") 18 | } 19 | 20 | width: window.width * 0.5 21 | 22 | modal: true 23 | interactive: true 24 | position: 0.0 25 | visible: false 26 | 27 | TabBar { 28 | id: bar 29 | 30 | width: parent.width 31 | 32 | TabButton { 33 | text: qsTr("Music") 34 | } 35 | TabButton { 36 | text: qsTr("Videos") 37 | } 38 | } 39 | 40 | StackLayout { 41 | anchors.fill: parent 42 | anchors.topMargin: bar.height 43 | currentIndex: bar.currentIndex 44 | 45 | Item { 46 | ScrollView { 47 | anchors.fill: parent 48 | clip: true 49 | 50 | ListView { 51 | model: FolderListModel { 52 | folder: StandardPaths.writableLocation(StandardPaths.MusicLocation) 53 | nameFilters: ["*.mp3"] 54 | } 55 | delegate: FluidControls.ListItem { 56 | text: model.fileName 57 | highlighted: player.source === model.fileURL 58 | onClicked: { 59 | player.source = model.fileURL; 60 | player.play(); 61 | libraryDrawer.close(); 62 | } 63 | } 64 | } 65 | } 66 | } 67 | 68 | Item { 69 | ScrollView { 70 | anchors.fill: parent 71 | clip: true 72 | 73 | ListView { 74 | model: FolderListModel { 75 | folder: StandardPaths.writableLocation(StandardPaths.MoviesLocation) 76 | nameFilters: ["*.mp4", "*.mkv", "*.wmv"] 77 | } 78 | delegate: FluidControls.ListItem { 79 | text: model.fileName 80 | highlighted: player.source === model.fileURL 81 | onClicked: { 82 | player.source = model.fileURL; 83 | player.play(); 84 | libraryDrawer.close(); 85 | } 86 | } 87 | } 88 | } 89 | } 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /translations/app/liri-player.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BottomBar 6 | 7 | 8 | 9 | Open a file 10 | 11 | 12 | 13 | 14 | Opening... 15 | 16 | 17 | 18 | 19 | Buffering... 20 | 21 | 22 | 23 | 24 | %1 / %2 25 | 26 | 27 | 28 | 29 | LibraryDrawer 30 | 31 | 32 | Library 33 | 34 | 35 | 36 | 37 | Music 38 | 39 | 40 | 41 | 42 | Videos 43 | 44 | 45 | 46 | 47 | PlaylistDrawer 48 | 49 | 50 | Playlist 51 | 52 | 53 | 54 | 55 | Add 56 | 57 | 58 | 59 | 60 | TopBar 61 | 62 | 63 | Open 64 | 65 | 66 | 67 | 68 | Open and add to queue 69 | 70 | 71 | 72 | 73 | Stop 74 | 75 | 76 | 77 | 78 | Quit 79 | 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /data/appdata/io.liri.Player.appdata.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | io.liri.Player 9 | Player 10 | Play movies 11 | The Liri developers 12 | CC0-1.0 13 | GPL-3.0+ 14 | 15 | 16 | Player is the official movie player of the Liri desktop environment. 17 | 18 | 19 | It can open local files and lets you manage a play list. 20 | 21 | 22 | io.liri.Player.desktop 23 | 24 | liri-player 25 | 26 | 27 | https://raw.githubusercontent.com/lirios/player/develop/data/appdata/player1.png 28 | https://raw.githubusercontent.com/lirios/player/develop/data/appdata/player2.png 29 | https://raw.githubusercontent.com/lirios/player/develop/data/appdata/player3.png 30 | 31 | 32 | HiDpiIcon 33 | ModernToolkit 34 | 35 | 36 | 37 | 38 | 39 | We are proud to announce the immediate availability of Liri Player 1.0. 40 | 41 | 42 | 43 | 44 | https://liri.io/apps/player 45 | https://github.com/lirios/player/issues/new 46 | https://liri.io/get-involved/ 47 | https://www.transifex.com/lirios/liri-player/ 48 | Liri 49 | info_at_liri.io 50 | liri-playet 51 | 52 | none 53 | none 54 | none 55 | none 56 | none 57 | none 58 | none 59 | none 60 | none 61 | none 62 | none 63 | none 64 | none 65 | none 66 | none 67 | none 68 | none 69 | none 70 | none 71 | none 72 | none 73 | none 74 | none 75 | none 76 | none 77 | none 78 | none 79 | 80 | 81 | -------------------------------------------------------------------------------- /src/app/qml/TopBar.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // SPDX-FileCopyrightText: 2015 Pierre Jacquier 3 | // 4 | // SPDX-License-Identifier: GPL-3.0-or-later 5 | 6 | import QtQuick 2.5 7 | import QtQuick.Layouts 1.0 8 | import QtQuick.Controls 2.3 9 | import QtQuick.Controls.Material 2.3 10 | import QtMultimedia 5.0 11 | import Fluid.Controls 1.0 as FluidControls 12 | 13 | Rectangle { 14 | id: topBar 15 | 16 | Material.theme: Material.Dark 17 | 18 | anchors { 19 | top: parent.top 20 | left: parent.left 21 | right: parent.right 22 | } 23 | 24 | implicitHeight: 48 25 | 26 | gradient: Gradient { 27 | GradientStop { 28 | position: 0.0 29 | color: player.status == MediaPlayer.NoMedia 30 | ? Material.color(Material.Red) : Qt.rgba(0, 0, 0, 0.6) 31 | } 32 | GradientStop { 33 | position: 1.0 34 | color: player.status == MediaPlayer.NoMedia 35 | ? Material.color(Material.Red) : "transparent" 36 | } 37 | } 38 | 39 | Behavior on opacity { 40 | NumberAnimation { duration: 500 } 41 | } 42 | 43 | MouseArea { 44 | anchors.fill: parent 45 | z: 1000 46 | acceptedButtons: Qt.NoButton 47 | hoverEnabled: true 48 | onPositionChanged: { 49 | barsTimer.stop(); 50 | topBar.opacity = 1.0; 51 | bottomBar.opacity = 1.0; 52 | } 53 | } 54 | 55 | RowLayout { 56 | anchors { 57 | left: parent.left 58 | top: parent.top 59 | } 60 | spacing: FluidControls.Units.smallSpacing 61 | 62 | ToolButton { 63 | id: menuButton 64 | icon.source: FluidControls.Utils.iconUrl("navigation/menu") 65 | focusPolicy: Qt.TabFocus 66 | onClicked: { 67 | temporaryForceBars = true; 68 | menu.open(menuButton, menu.width - menuButton.width, 0); 69 | } 70 | } 71 | 72 | ToolButton { 73 | id: lockButton 74 | icon.source: FluidControls.Utils.iconUrl(forceBars ? "action/lock_open" : "action/lock") 75 | focusPolicy: Qt.TabFocus 76 | onClicked: { 77 | forceBars = !forceBars; 78 | } 79 | } 80 | 81 | ToolButton { 82 | id: libraryButton 83 | icon.source: FluidControls.Utils.iconUrl("av/library_music") 84 | focusPolicy: Qt.TabFocus 85 | onClicked: { 86 | libraryDrawer.open(); 87 | } 88 | } 89 | 90 | FluidControls.TitleLabel { 91 | text: "Liri Player" 92 | visible: player.status == MediaPlayer.NoMedia 93 | 94 | Layout.alignment: Qt.AlignVCenter 95 | } 96 | 97 | FluidControls.TitleLabel { 98 | text: player.metaData ? player.metaData.title || "" : "" 99 | visible: player.status != MediaPlayer.NoMedia 100 | 101 | Layout.alignment: Qt.AlignVCenter 102 | } 103 | } 104 | 105 | Menu { 106 | id: menu 107 | onClosed: { 108 | temporaryForceBars = false; 109 | } 110 | 111 | MenuItem { 112 | text: qsTr("Open") 113 | icon.source: FluidControls.Utils.iconUrl("file/folder_open") 114 | focusPolicy: Qt.TabFocus 115 | action: FluidControls.Action { 116 | shortcut: StandardKey.Open 117 | } 118 | onClicked: { 119 | fileDialog.open(); 120 | } 121 | } 122 | MenuItem { 123 | text: qsTr("Open and add to queue") 124 | icon.source: FluidControls.Utils.iconUrl("av/queue_music") 125 | focusPolicy: Qt.TabFocus 126 | onClicked: { 127 | fileDialog.open(); 128 | } 129 | } 130 | MenuItem { 131 | text: qsTr("Stop") 132 | icon.source: FluidControls.Utils.iconUrl("av/stop") 133 | focusPolicy: Qt.TabFocus 134 | height: visible ? implicitHeight : 0 135 | visible: player.status != MediaPlayer.NoMedia 136 | onClicked: { 137 | player.stop(); 138 | } 139 | } 140 | MenuItem { 141 | text: qsTr("Quit") 142 | icon.source: FluidControls.Utils.iconUrl("action/exit_to_app") 143 | focusPolicy: Qt.TabFocus 144 | action: FluidControls.Action { 145 | shortcut: StandardKey.Quit 146 | } 147 | onClicked: { 148 | Qt.quit(); 149 | } 150 | } 151 | } 152 | 153 | /* 154 | SystemButtons { 155 | anchors { 156 | right: parent.right 157 | top: parent.top 158 | } 159 | onShowMinimized: window.showMinimized() 160 | onShowMaximized: window.showMaximized() 161 | onShowNormal: window.showNormal() 162 | onClose: Qt.quit() 163 | } 164 | */ 165 | } 166 | -------------------------------------------------------------------------------- /data/icons/io.liri.Player-16.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 39 | 42 | 43 | 45 | 46 | 48 | image/svg+xml 49 | 51 | 52 | 53 | 54 | 55 | 59 | 67 | 76 | 85 | 95 | 105 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /LICENSES/CC0-1.0.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Legal Code 2 | 3 | CC0 1.0 Universal CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES 4 | NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE 5 | AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION 6 | ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE 7 | OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS 8 | LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION 9 | OR WORKS PROVIDED HEREUNDER. 10 | 11 | Statement of Purpose 12 | 13 | The laws of most jurisdictions throughout the world automatically confer exclusive 14 | Copyright and Related Rights (defined below) upon the creator and subsequent 15 | owner(s) (each and all, an "owner") of an original work of authorship and/or 16 | a database (each, a "Work"). 17 | 18 | Certain owners wish to permanently relinquish those rights to a Work for the 19 | purpose of contributing to a commons of creative, cultural and scientific 20 | works ("Commons") that the public can reliably and without fear of later claims 21 | of infringement build upon, modify, incorporate in other works, reuse and 22 | redistribute as freely as possible in any form whatsoever and for any purposes, 23 | including without limitation commercial purposes. These owners may contribute 24 | to the Commons to promote the ideal of a free culture and the further production 25 | of creative, cultural and scientific works, or to gain reputation or greater 26 | distribution for their Work in part through the use and efforts of others. 27 | 28 | For these and/or other purposes and motivations, and without any expectation 29 | of additional consideration or compensation, the person associating CC0 with 30 | a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright 31 | and Related Rights in the Work, voluntarily elects to apply CC0 to the Work 32 | and publicly distribute the Work under its terms, with knowledge of his or 33 | her Copyright and Related Rights in the Work and the meaning and intended 34 | legal effect of CC0 on those rights. 35 | 36 | 1. Copyright and Related Rights. A Work made available under CC0 may be protected 37 | by copyright and related or neighboring rights ("Copyright and Related Rights"). 38 | Copyright and Related Rights include, but are not limited to, the following: 39 | 40 | i. the right to reproduce, adapt, distribute, perform, display, communicate, 41 | and translate a Work; 42 | 43 | ii. moral rights retained by the original author(s) and/or performer(s); 44 | 45 | iii. publicity and privacy rights pertaining to a person's image or likeness 46 | depicted in a Work; 47 | 48 | iv. rights protecting against unfair competition in regards to a Work, subject 49 | to the limitations in paragraph 4(a), below; 50 | 51 | v. rights protecting the extraction, dissemination, use and reuse of data 52 | in a Work; 53 | 54 | vi. database rights (such as those arising under Directive 96/9/EC of the 55 | European Parliament and of the Council of 11 March 1996 on the legal protection 56 | of databases, and under any national implementation thereof, including any 57 | amended or successor version of such directive); and 58 | 59 | vii. other similar, equivalent or corresponding rights throughout the world 60 | based on applicable law or treaty, and any national implementations thereof. 61 | 62 | 2. Waiver. To the greatest extent permitted by, but not in contravention of, 63 | applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and 64 | unconditionally waives, abandons, and surrenders all of Affirmer's Copyright 65 | and Related Rights and associated claims and causes of action, whether now 66 | known or unknown (including existing as well as future claims and causes of 67 | action), in the Work (i) in all territories worldwide, (ii) for the maximum 68 | duration provided by applicable law or treaty (including future time extensions), 69 | (iii) in any current or future medium and for any number of copies, and (iv) 70 | for any purpose whatsoever, including without limitation commercial, advertising 71 | or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the 72 | benefit of each member of the public at large and to the detriment of Affirmer's 73 | heirs and successors, fully intending that such Waiver shall not be subject 74 | to revocation, rescission, cancellation, termination, or any other legal or 75 | equitable action to disrupt the quiet enjoyment of the Work by the public 76 | as contemplated by Affirmer's express Statement of Purpose. 77 | 78 | 3. Public License Fallback. Should any part of the Waiver for any reason be 79 | judged legally invalid or ineffective under applicable law, then the Waiver 80 | shall be preserved to the maximum extent permitted taking into account Affirmer's 81 | express Statement of Purpose. In addition, to the extent the Waiver is so 82 | judged Affirmer hereby grants to each affected person a royalty-free, non 83 | transferable, non sublicensable, non exclusive, irrevocable and unconditional 84 | license to exercise Affirmer's Copyright and Related Rights in the Work (i) 85 | in all territories worldwide, (ii) for the maximum duration provided by applicable 86 | law or treaty (including future time extensions), (iii) in any current or 87 | future medium and for any number of copies, and (iv) for any purpose whatsoever, 88 | including without limitation commercial, advertising or promotional purposes 89 | (the "License"). The License shall be deemed effective as of the date CC0 90 | was applied by Affirmer to the Work. Should any part of the License for any 91 | reason be judged legally invalid or ineffective under applicable law, such 92 | partial invalidity or ineffectiveness shall not invalidate the remainder of 93 | the License, and in such case Affirmer hereby affirms that he or she will 94 | not (i) exercise any of his or her remaining Copyright and Related Rights 95 | in the Work or (ii) assert any associated claims and causes of action with 96 | respect to the Work, in either case contrary to Affirmer's express Statement 97 | of Purpose. 98 | 99 | 4. Limitations and Disclaimers. 100 | 101 | a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, 102 | licensed or otherwise affected by this document. 103 | 104 | b. Affirmer offers the Work as-is and makes no representations or warranties 105 | of any kind concerning the Work, express, implied, statutory or otherwise, 106 | including without limitation warranties of title, merchantability, fitness 107 | for a particular purpose, non infringement, or the absence of latent or other 108 | defects, accuracy, or the present or absence of errors, whether or not discoverable, 109 | all to the greatest extent permissible under applicable law. 110 | 111 | c. Affirmer disclaims responsibility for clearing rights of other persons 112 | that may apply to the Work or any use thereof, including without limitation 113 | any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims 114 | responsibility for obtaining any necessary consents, permissions or other 115 | rights required for any use of the Work. 116 | 117 | d. Affirmer understands and acknowledges that Creative Commons is not a party 118 | to this document and has no duty or obligation with respect to this CC0 or 119 | use of the Work. 120 | -------------------------------------------------------------------------------- /src/app/qml/PlayerPage.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // 3 | // SPDX-License-Identifier: GPL-3.0-or-later 4 | 5 | import QtQuick 2.5 6 | import QtQuick.Window 2.5 7 | import QtQuick.Controls 2.3 8 | import QtQuick.Controls.Material 2.3 9 | import QtMultimedia 5.8 10 | import Qt.labs.platform 1.0 11 | import Fluid.Controls 1.0 as FluidControls 12 | 13 | FluidControls.Page { 14 | readonly property real minimumWidth: bottomBar.implicitWidth 15 | readonly property bool barsActive: topBar.opacity == 1.0 && bottomBar.opacity == 1.0 16 | property bool forceBars: false 17 | property bool temporaryForceBars: false 18 | 19 | onForceBarsChanged: { 20 | if (forceBars) { 21 | barsTimer.stop(); 22 | topBar.opacity = 1.0; 23 | bottomBar.opacity = 1.0; 24 | } 25 | } 26 | onTemporaryForceBarsChanged: { 27 | if (temporaryForceBars) { 28 | barsTimer.stop(); 29 | topBar.opacity = 1.0; 30 | bottomBar.opacity = 1.0; 31 | } 32 | } 33 | 34 | ListModel { 35 | id: playlistModel 36 | dynamicRoles: true 37 | } 38 | 39 | MediaPlayer { 40 | id: player 41 | 42 | playlist: Playlist { 43 | playbackMode: itemCount == 1 ? Playlist.CurrentItemOnce : Playlist.Loop 44 | onItemInserted: { 45 | for (var i = start; i <= end; i++) 46 | playlistModel.append({ "source": this.itemSource(i) }); 47 | } 48 | onItemRemoved: { 49 | for (var i = start; i <= end; i++) 50 | playlistModel.remove(i); 51 | } 52 | } 53 | onPlaybackStateChanged: { 54 | if (playbackState != MediaPlayer.PlayingState) { 55 | barsTimer.stop(); 56 | topBar.opacity = 1.0; 57 | bottomBar.opacity = 1.0; 58 | } else if (!forceBars && !temporaryForceBars) { 59 | barsTimer.restart(); 60 | topBar.opacity = 1.0; 61 | bottomBar.opacity = 1.0; 62 | } 63 | } 64 | } 65 | 66 | PlaylistDrawer { 67 | id: playlistDrawer 68 | } 69 | 70 | LibraryDrawer { 71 | id: libraryDrawer 72 | } 73 | 74 | FileDialog { 75 | id: fileDialog 76 | 77 | currentFile: player.playlist.currentItemSource 78 | folder: StandardPaths.writableLocation(StandardPaths.MoviesLocation) 79 | onAccepted: { 80 | player.playlist.addItem(file); 81 | player.play(); 82 | } 83 | } 84 | 85 | /* 86 | * Shortcuts 87 | */ 88 | 89 | FluidControls.Action { 90 | shortcut: "Space" 91 | onTriggered: { 92 | if (player.playbackState == MediaPlayer.PlayingState) 93 | player.pause(); 94 | else 95 | player.play(); 96 | } 97 | } 98 | 99 | FluidControls.Action { 100 | shortcut: StandardKey.New 101 | onTriggered: { 102 | root.createWindow(); 103 | } 104 | } 105 | 106 | FluidControls.Action { 107 | shortcut: StandardKey.Cancel 108 | onTriggered: { 109 | if (window.visibility == Window.FullScreen) 110 | showNormal(); 111 | } 112 | } 113 | 114 | FluidControls.Action { 115 | shortcut: StandardKey.FullScreen 116 | onTriggered: { 117 | if (window.visibility == Window.FullScreen) 118 | showNormal(); 119 | else 120 | showFullScreen(); 121 | } 122 | } 123 | 124 | /* 125 | * Player 126 | */ 127 | 128 | Rectangle { 129 | anchors.fill: parent 130 | color: player.status == MediaPlayer.NoMedia ? "white" : "black" 131 | 132 | VideoOutput { 133 | anchors.fill: parent 134 | source: player 135 | 136 | Column { 137 | Material.theme: Material.Dark 138 | 139 | anchors.left: parent.left 140 | anchors.leftMargin: FluidControls.Units.smallSpacing * 2 141 | anchors.topMargin: topBar.height + (FluidControls.Units.smallSpacing * 2) 142 | anchors.bottomMargin: bottomBar.height + (FluidControls.Units.smallSpacing * 2) 143 | anchors.verticalCenter: parent.verticalCenter 144 | width: parent.width - artwork.width - (FluidControls.Units.smallSpacing * 2 * 3) 145 | visible: player.hasAudio && !player.hasVideo && player.status != MediaPlayer.NoMedia 146 | 147 | FluidControls.DisplayLabel { 148 | wrapMode: Text.WordWrap 149 | text: player.metaData ? player.metaData.title || "" : "" 150 | width: parent.width 151 | } 152 | 153 | FluidControls.HeadlineLabel { 154 | wrapMode: Text.WordWrap 155 | text: player.metaData ? player.metaData.albumArtist || "" : "" 156 | width: parent.width 157 | opacity: 0.8 158 | } 159 | 160 | FluidControls.HeadlineLabel { 161 | wrapMode: Text.WordWrap 162 | text: player.metaData ? player.metaData.albumTitle || "" : "" 163 | width: parent.width 164 | opacity: 0.6 165 | } 166 | } 167 | 168 | Image { 169 | id: artwork 170 | anchors { 171 | top: parent.top 172 | right: parent.right 173 | bottom: parent.bottom 174 | } 175 | source: { 176 | if (player.metaData) 177 | return player.metaData.coverArtUrlLarge || player.metaData.coverArtUrlSmall || player.metaData.posterUrl || ""; 178 | return ""; 179 | } 180 | width: height 181 | visible: player.status != MediaPlayer.NoMedia 182 | } 183 | } 184 | 185 | MouseArea { 186 | anchors.fill: parent 187 | anchors.topMargin: topBar.height 188 | anchors.bottomMargin: bottomBar.height 189 | hoverEnabled: true 190 | cursorShape: barsActive ? Qt.ArrowCursor : Qt.BlankCursor 191 | onPositionChanged: { 192 | if (!forceBars && !temporaryForceBars && player.playbackState == MediaPlayer.PlayingState) 193 | barsTimer.restart(); 194 | 195 | topBar.opacity = 1.0; 196 | bottomBar.opacity = 1.0; 197 | } 198 | onClicked: { 199 | if (player.playbackState == MediaPlayer.PlayingState) 200 | player.pause(); 201 | else 202 | player.play(); 203 | } 204 | onDoubleClicked: { 205 | if (window.visibility == Window.FullScreen) 206 | window.showNormal(); 207 | else 208 | window.showFullScreen(); 209 | } 210 | } 211 | 212 | Timer { 213 | id: barsTimer 214 | interval: 1500 215 | repeat: false 216 | onTriggered: { 217 | topBar.opacity = 0.0; 218 | bottomBar.opacity = 0.0; 219 | } 220 | } 221 | } 222 | 223 | /* 224 | * Bars 225 | */ 226 | 227 | TopBar { 228 | id: topBar 229 | } 230 | 231 | BottomBar { 232 | id: bottomBar 233 | } 234 | } 235 | -------------------------------------------------------------------------------- /src/app/qml/BottomBar.qml: -------------------------------------------------------------------------------- 1 | // SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini 2 | // SPDX-FileCopyrightText: 2015 Pierre Jacquier 3 | // 4 | // SPDX-License-Identifier: GPL-3.0-or-later 5 | 6 | import QtQuick 2.5 7 | import QtQuick.Window 2.5 8 | import QtQuick.Layouts 1.0 9 | import QtQuick.Controls 2.3 10 | import QtQuick.Controls.Material 2.3 11 | import QtMultimedia 5.8 12 | import Fluid.Controls 1.0 as FluidControls 13 | 14 | Rectangle { 15 | id: bottomBar 16 | 17 | Material.theme: Material.Dark 18 | 19 | anchors.left: parent.left 20 | anchors.right: parent.right 21 | anchors.bottom: parent.bottom 22 | 23 | implicitWidth: toolButtons.width + time.paintedWidth + rightButtons.width + (FluidControls.Units.smallSpacing * 4) 24 | implicitHeight: toolButtons.height + slider.height 25 | 26 | gradient: Gradient { 27 | GradientStop { position: 0.0; color: "transparent" } 28 | GradientStop { position: 1.0; color: Qt.rgba(0, 0, 0, 0.6) } 29 | } 30 | 31 | Behavior on opacity { 32 | NumberAnimation { duration: 500 } 33 | } 34 | 35 | MouseArea { 36 | anchors.fill: parent 37 | z: 1000 38 | acceptedButtons: Qt.NoButton 39 | hoverEnabled: true 40 | onPositionChanged: { 41 | barsTimer.stop(); 42 | topBar.opacity = 1.0; 43 | bottomBar.opacity = 1.0; 44 | } 45 | } 46 | 47 | ColumnLayout { 48 | anchors { 49 | left: parent.left 50 | right: parent.right 51 | bottom: parent.bottom 52 | } 53 | spacing: -FluidControls.Units.smallSpacing 54 | 55 | Slider { 56 | id: slider 57 | 58 | Layout.preferredWidth: bottomBar.width - (FluidControls.Units.smallSpacing * 2) 59 | Layout.alignment: Qt.AlignHCenter 60 | 61 | value: player.position / player.duration 62 | visible: player.status != MediaPlayer.NoMedia 63 | onPressedChanged: { 64 | if (player.seekable) 65 | player.seek(value * player.duration); 66 | } 67 | } 68 | 69 | RowLayout { 70 | RowLayout { 71 | id: toolButtons 72 | spacing: FluidControls.Units.smallSpacing 73 | 74 | ToolButton { 75 | id: prevButton 76 | icon.source: FluidControls.Utils.iconUrl("av/skip_previous") 77 | focusPolicy: Qt.TabFocus 78 | enabled: player.playlist 79 | onClicked: { 80 | if (player.playlist) 81 | player.playlist.previous(); 82 | } 83 | } 84 | 85 | ToolButton { 86 | id: playButton 87 | icon.source: { 88 | var iconName; 89 | 90 | switch (player.playbackState) { 91 | case MediaPlayer.PlayingState: 92 | iconName = "av/pause"; 93 | break; 94 | case MediaPlayer.StoppedState: 95 | iconName = "file/folder_open"; 96 | break; 97 | case MediaPlayer.PausedState: 98 | iconName = "av/play_arrow"; 99 | break; 100 | } 101 | 102 | switch (player.status) { 103 | case MediaPlayer.NoMedia: 104 | iconName = "file/folder_open"; 105 | break; 106 | case MediaPlayer.Loading: 107 | case MediaPlayer.Buffering: 108 | iconName = "notification/sync"; 109 | break; 110 | case MediaPlayer.EndOfMedia: 111 | iconName = "av/replay"; 112 | break; 113 | case MediaPlayer.Stalled: 114 | case MediaPlayer.InvalidMedia: 115 | case MediaPlayer.UnknownStatus: 116 | iconName = "alert/error"; 117 | break; 118 | default: 119 | break; 120 | } 121 | 122 | return FluidControls.Utils.iconUrl(iconName); 123 | } 124 | focusPolicy: Qt.TabFocus 125 | onClicked: { 126 | switch (player.status) { 127 | case MediaPlayer.NoMedia: 128 | case MediaPlayer.EndOfMedia: 129 | case MediaPlayer.Stalled: 130 | case MediaPlayer.InvalidMedia: 131 | case MediaPlayer.UnknownStatus: 132 | fileDialog.open(); 133 | return; 134 | default: 135 | break; 136 | } 137 | 138 | if (player.playbackState == MediaPlayer.PlayingState) 139 | player.pause(); 140 | else 141 | player.play(); 142 | } 143 | } 144 | 145 | ToolButton { 146 | id: nextButton 147 | icon.source: FluidControls.Utils.iconUrl("av/skip_next") 148 | focusPolicy: Qt.TabFocus 149 | enabled: player.playlist 150 | onClicked: { 151 | if (player.playlist) 152 | player.playlist.next(); 153 | } 154 | } 155 | } 156 | 157 | Item { 158 | Layout.fillWidth: true 159 | 160 | Label { 161 | id: time 162 | 163 | property bool h: ~~(player.position / 1000 / 3600) == 0 164 | 165 | anchors.left: parent.left 166 | anchors.verticalCenter: parent.verticalCenter 167 | text: { 168 | if (player.playbackState == MediaPlayer.StoppedState) 169 | return qsTr("Open a file"); 170 | 171 | switch (player.status) { 172 | case MediaPlayer.NoMedia: 173 | return qsTr("Open a file"); 174 | case MediaPlayer.Loading: 175 | return qsTr("Opening..."); 176 | case MediaPlayer.Buffering: 177 | return qsTr("Buffering..."); 178 | default: 179 | break; 180 | } 181 | 182 | return qsTr("%1 / %2").arg(getTime(player.position, h)).arg(getTime(player.duration, h)); 183 | } 184 | } 185 | } 186 | 187 | RowLayout { 188 | id: rightButtons 189 | 190 | Layout.preferredWidth: cropButton.size * 5 + 50 + 100 191 | 192 | spacing: FluidControls.Units.smallSpacing 193 | 194 | ToolButton { 195 | id: volumeButton 196 | icon.source: FluidControls.Utils.iconUrl(player.muted ? "av/volume_mute" : "av/volume_up") 197 | focusPolicy: Qt.TabFocus 198 | onClicked: { 199 | player.volume = 200 | QtMultimedia.convertVolume(player.muted ? 100 : 0, 201 | QtMultimedia.LogarithmicVolumeScale, 202 | QtMultimedia.LinearVolumeScale); 203 | } 204 | } 205 | 206 | Slider { 207 | Layout.preferredWidth: 100 208 | 209 | from: 0.0 210 | to: 1.0 211 | onVisualPositionChanged: { 212 | player.volume = 213 | QtMultimedia.convertVolume(visualPosition, 214 | QtMultimedia.LogarithmicVolumeScale, 215 | QtMultimedia.LinearVolumeScale); 216 | } 217 | 218 | Component.onCompleted: { 219 | value = QtMultimedia.convertVolume(player.volume, 220 | QtMultimedia.LinearVolumeScale, 221 | QtMultimedia.LogarithmicVolumeScale); 222 | } 223 | } 224 | 225 | ToolButton { 226 | id: playlistButton 227 | icon.source: FluidControls.Utils.iconUrl("av/queue_music") 228 | focusPolicy: Qt.TabFocus 229 | onClicked: { 230 | playlistDrawer.open(); 231 | } 232 | } 233 | 234 | ToolButton { 235 | id: cropButton 236 | icon.source: FluidControls.Utils.iconUrl("image/crop_16_9") 237 | focusPolicy: Qt.TabFocus 238 | enabled: window.visibility != Window.FullScreen && player.playbackState == MediaPlayer.PlayingState 239 | onClicked: { 240 | window.height = Math.round((player.metaData.resolution.height / player.metaData.resolution.width) * (window.width + (FluidControls.Units.smallSpacing * 2))); 241 | } 242 | } 243 | 244 | ToolButton { 245 | id: fsButton 246 | icon.source: FluidControls.Utils.iconUrl(window.visibility == Window.FullScreen ? "navigation/fullscreen_exit" : "navigation/fullscreen") 247 | focusPolicy: Qt.TabFocus 248 | onClicked: { 249 | if (window.visibility == Window.FullScreen) 250 | window.visibility = Window.Windowed; 251 | else 252 | window.visibility = Window.FullScreen; 253 | } 254 | } 255 | } 256 | } 257 | } 258 | 259 | function getTime (ms, h) { 260 | ms = ms / 1000 + ""; 261 | var sec_num = parseInt(ms, 10); 262 | var hours = Math.floor(sec_num / 3600); 263 | var minutes = Math.floor((sec_num - (hours * 3600)) / 60); 264 | var seconds = sec_num - (hours * 3600) - (minutes * 60); 265 | if (hours < 10) 266 | hours = "0" + hours; 267 | if (minutes < 10) 268 | minutes = "0" + minutes; 269 | if (seconds < 10) 270 | seconds = "0" + seconds; 271 | var time = h ? hours + ':' + minutes + ':' + seconds : minutes + ':' + seconds; 272 | return time; 273 | } 274 | } 275 | -------------------------------------------------------------------------------- /data/icons/io.liri.Player.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 27 | 31 | 32 | 40 | 44 | 45 | 53 | 57 | 58 | 66 | 70 | 71 | 72 | 92 | 95 | 96 | 98 | 99 | 101 | image/svg+xml 102 | 104 | 105 | 106 | 107 | 108 | 112 | 122 | 132 | 142 | 148 | 153 | 159 | 164 | 173 | 182 | 189 | 196 | 202 | 209 | 215 | 216 | 217 | -------------------------------------------------------------------------------- /data/icons/hicolor/scalable/apps/io.liri.Player.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 27 | 31 | 32 | 40 | 44 | 45 | 53 | 57 | 58 | 66 | 70 | 71 | 72 | 92 | 95 | 96 | 98 | 99 | 101 | image/svg+xml 102 | 104 | 105 | 106 | 107 | 108 | 112 | 122 | 132 | 142 | 148 | 153 | 159 | 164 | 173 | 182 | 189 | 196 | 202 | 209 | 215 | 216 | 217 | -------------------------------------------------------------------------------- /LICENSES/CC-BY-SA-4.0.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution-ShareAlike 4.0 International Creative Commons 2 | Corporation ("Creative Commons") is not a law firm and does not provide legal 3 | services or legal advice. Distribution of Creative Commons public licenses 4 | does not create a lawyer-client or other relationship. Creative Commons makes 5 | its licenses and related information available on an "as-is" basis. Creative 6 | Commons gives no warranties regarding its licenses, any material licensed 7 | under their terms and conditions, or any related information. Creative Commons 8 | disclaims all liability for damages resulting from their use to the fullest 9 | extent possible. 10 | 11 | Using Creative Commons Public Licenses 12 | 13 | Creative Commons public licenses provide a standard set of terms and conditions 14 | that creators and other rights holders may use to share original works of 15 | authorship and other material subject to copyright and certain other rights 16 | specified in the public license below. The following considerations are for 17 | informational purposes only, are not exhaustive, and do not form part of our 18 | licenses. 19 | 20 | Considerations for licensors: Our public licenses are intended for use by 21 | those authorized to give the public permission to use material in ways otherwise 22 | restricted by copyright and certain other rights. Our licenses are irrevocable. 23 | Licensors should read and understand the terms and conditions of the license 24 | they choose before applying it. Licensors should also secure all rights necessary 25 | before applying our licenses so that the public can reuse the material as 26 | expected. Licensors should clearly mark any material not subject to the license. 27 | This includes other CC-licensed material, or material used under an exception 28 | or limitation to copyright. More considerations for licensors : wiki.creativecommons.org/Considerations_for_licensors 29 | 30 | Considerations for the public: By using one of our public licenses, a licensor 31 | grants the public permission to use the licensed material under specified 32 | terms and conditions. If the licensor's permission is not necessary for any 33 | reason–for example, because of any applicable exception or limitation to copyright–then 34 | that use is not regulated by the license. Our licenses grant only permissions 35 | under copyright and certain other rights that a licensor has authority to 36 | grant. Use of the licensed material may still be restricted for other reasons, 37 | including because others have copyright or other rights in the material. A 38 | licensor may make special requests, such as asking that all changes be marked 39 | or described. 40 | 41 | Although not required by our licenses, you are encouraged to respect those 42 | requests where reasonable. More considerations for the public : wiki.creativecommons.org/Considerations_for_licensees 43 | 44 | Creative Commons Attribution-ShareAlike 4.0 International Public License 45 | 46 | By exercising the Licensed Rights (defined below), You accept and agree to 47 | be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 48 | 4.0 International Public License ("Public License"). To the extent this Public 49 | License may be interpreted as a contract, You are granted the Licensed Rights 50 | in consideration of Your acceptance of these terms and conditions, and the 51 | Licensor grants You such rights in consideration of benefits the Licensor 52 | receives from making the Licensed Material available under these terms and 53 | conditions. 54 | 55 | Section 1 – Definitions. 56 | 57 | a. Adapted Material means material subject to Copyright and Similar Rights 58 | that is derived from or based upon the Licensed Material and in which the 59 | Licensed Material is translated, altered, arranged, transformed, or otherwise 60 | modified in a manner requiring permission under the Copyright and Similar 61 | Rights held by the Licensor. For purposes of this Public License, where the 62 | Licensed Material is a musical work, performance, or sound recording, Adapted 63 | Material is always produced where the Licensed Material is synched in timed 64 | relation with a moving image. 65 | 66 | b. Adapter's License means the license You apply to Your Copyright and Similar 67 | Rights in Your contributions to Adapted Material in accordance with the terms 68 | and conditions of this Public License. 69 | 70 | c. BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, 71 | approved by Creative Commons as essentially the equivalent of this Public 72 | License. 73 | 74 | d. Copyright and Similar Rights means copyright and/or similar rights closely 75 | related to copyright including, without limitation, performance, broadcast, 76 | sound recording, and Sui Generis Database Rights, without regard to how the 77 | rights are labeled or categorized. For purposes of this Public License, the 78 | rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. 79 | 80 | e. Effective Technological Measures means those measures that, in the absence 81 | of proper authority, may not be circumvented under laws fulfilling obligations 82 | under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, 83 | and/or similar international agreements. 84 | 85 | f. Exceptions and Limitations means fair use, fair dealing, and/or any other 86 | exception or limitation to Copyright and Similar Rights that applies to Your 87 | use of the Licensed Material. 88 | 89 | g. License Elements means the license attributes listed in the name of a Creative 90 | Commons Public License. The License Elements of this Public License are Attribution 91 | and ShareAlike. 92 | 93 | h. Licensed Material means the artistic or literary work, database, or other 94 | material to which the Licensor applied this Public License. 95 | 96 | i. Licensed Rights means the rights granted to You subject to the terms and 97 | conditions of this Public License, which are limited to all Copyright and 98 | Similar Rights that apply to Your use of the Licensed Material and that the 99 | Licensor has authority to license. 100 | 101 | j. Licensor means the individual(s) or entity(ies) granting rights under this 102 | Public License. 103 | 104 | k. Share means to provide material to the public by any means or process that 105 | requires permission under the Licensed Rights, such as reproduction, public 106 | display, public performance, distribution, dissemination, communication, or 107 | importation, and to make material available to the public including in ways 108 | that members of the public may access the material from a place and at a time 109 | individually chosen by them. 110 | 111 | l. Sui Generis Database Rights means rights other than copyright resulting 112 | from Directive 96/9/EC of the European Parliament and of the Council of 11 113 | March 1996 on the legal protection of databases, as amended and/or succeeded, 114 | as well as other essentially equivalent rights anywhere in the world. 115 | 116 | m. You means the individual or entity exercising the Licensed Rights under 117 | this Public License. Your has a corresponding meaning. 118 | 119 | Section 2 – Scope. 120 | 121 | a. License grant. 122 | 123 | 1. Subject to the terms and conditions of this Public License, the Licensor 124 | hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, 125 | irrevocable license to exercise the Licensed Rights in the Licensed Material 126 | to: 127 | 128 | A. reproduce and Share the Licensed Material, in whole or in part; and 129 | 130 | B. produce, reproduce, and Share Adapted Material. 131 | 132 | 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions 133 | and Limitations apply to Your use, this Public License does not apply, and 134 | You do not need to comply with its terms and conditions. 135 | 136 | 3. Term. The term of this Public License is specified in Section 6(a). 137 | 138 | 4. Media and formats; technical modifications allowed. The Licensor authorizes 139 | You to exercise the Licensed Rights in all media and formats whether now known 140 | or hereafter created, and to make technical modifications necessary to do 141 | so. The Licensor waives and/or agrees not to assert any right or authority 142 | to forbid You from making technical modifications necessary to exercise the 143 | Licensed Rights, including technical modifications necessary to circumvent 144 | Effective Technological Measures. For purposes of this Public License, simply 145 | making modifications authorized by this Section 2(a)(4) never produces Adapted 146 | Material. 147 | 148 | 5. Downstream recipients. 149 | 150 | A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed 151 | Material automatically receives an offer from the Licensor to exercise the 152 | Licensed Rights under the terms and conditions of this Public License. 153 | 154 | B. Additional offer from the Licensor – Adapted Material. Every recipient 155 | of Adapted Material from You automatically receives an offer from the Licensor 156 | to exercise the Licensed Rights in the Adapted Material under the conditions 157 | of the Adapter's License You apply. 158 | 159 | C. No downstream restrictions. You may not offer or impose any additional 160 | or different terms or conditions on, or apply any Effective Technological 161 | Measures to, the Licensed Material if doing so restricts exercise of the Licensed 162 | Rights by any recipient of the Licensed Material. 163 | 164 | 6. No endorsement. Nothing in this Public License constitutes or may be construed 165 | as permission to assert or imply that You are, or that Your use of the Licensed 166 | Material is, connected with, or sponsored, endorsed, or granted official status 167 | by, the Licensor or others designated to receive attribution as provided in 168 | Section 3(a)(1)(A)(i). 169 | 170 | b. Other rights. 171 | 172 | 1. Moral rights, such as the right of integrity, are not licensed under this 173 | Public License, nor are publicity, privacy, and/or other similar personality 174 | rights; however, to the extent possible, the Licensor waives and/or agrees 175 | not to assert any such rights held by the Licensor to the limited extent necessary 176 | to allow You to exercise the Licensed Rights, but not otherwise. 177 | 178 | 2. Patent and trademark rights are not licensed under this Public License. 179 | 180 | 3. To the extent possible, the Licensor waives any right to collect royalties 181 | from You for the exercise of the Licensed Rights, whether directly or through 182 | a collecting society under any voluntary or waivable statutory or compulsory 183 | licensing scheme. In all other cases the Licensor expressly reserves any right 184 | to collect such royalties. 185 | 186 | Section 3 – License Conditions. 187 | 188 | Your exercise of the Licensed Rights is expressly made subject to the following 189 | conditions. 190 | 191 | a. Attribution. 192 | 193 | 1. If You Share the Licensed Material (including in modified form), You must: 194 | 195 | A. retain the following if it is supplied by the Licensor with the Licensed 196 | Material: 197 | 198 | i. identification of the creator(s) of the Licensed Material and any others 199 | designated to receive attribution, in any reasonable manner requested by the 200 | Licensor (including by pseudonym if designated); 201 | 202 | ii. a copyright notice; 203 | 204 | iii. a notice that refers to this Public License; 205 | 206 | iv. a notice that refers to the disclaimer of warranties; 207 | 208 | v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 209 | 210 | B. indicate if You modified the Licensed Material and retain an indication 211 | of any previous modifications; and 212 | 213 | C. indicate the Licensed Material is licensed under this Public License, and 214 | include the text of, or the URI or hyperlink to, this Public License. 215 | 216 | 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner 217 | based on the medium, means, and context in which You Share the Licensed Material. 218 | For example, it may be reasonable to satisfy the conditions by providing a 219 | URI or hyperlink to a resource that includes the required information. 220 | 221 | 3. If requested by the Licensor, You must remove any of the information required 222 | by Section 3(a)(1)(A) to the extent reasonably practicable. 223 | 224 | b. ShareAlike.In addition to the conditions in Section 3(a), if You Share 225 | Adapted Material You produce, the following conditions also apply. 226 | 227 | 1. The Adapter's License You apply must be a Creative Commons license with 228 | the same License Elements, this version or later, or a BY-SA Compatible License. 229 | 230 | 2. You must include the text of, or the URI or hyperlink to, the Adapter's 231 | License You apply. You may satisfy this condition in any reasonable manner 232 | based on the medium, means, and context in which You Share Adapted Material. 233 | 234 | 3. You may not offer or impose any additional or different terms or conditions 235 | on, or apply any Effective Technological Measures to, Adapted Material that 236 | restrict exercise of the rights granted under the Adapter's License You apply. 237 | 238 | Section 4 – Sui Generis Database Rights. 239 | 240 | Where the Licensed Rights include Sui Generis Database Rights that apply to 241 | Your use of the Licensed Material: 242 | 243 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, 244 | reuse, reproduce, and Share all or a substantial portion of the contents of 245 | the database; 246 | 247 | b. if You include all or a substantial portion of the database contents in 248 | a database in which You have Sui Generis Database Rights, then the database 249 | in which You have Sui Generis Database Rights (but not its individual contents) 250 | is Adapted Material, including for purposes of Section 3(b); and 251 | 252 | c. You must comply with the conditions in Section 3(a) if You Share all or 253 | a substantial portion of the contents of the database. 254 | 255 | For the avoidance of doubt, this Section 4 supplements and does not replace 256 | Your obligations under this Public License where the Licensed Rights include 257 | other Copyright and Similar Rights. 258 | 259 | Section 5 – Disclaimer of Warranties and Limitation of Liability. 260 | 261 | a. Unless otherwise separately undertaken by the Licensor, to the extent possible, 262 | the Licensor offers the Licensed Material as-is and as-available, and makes 263 | no representations or warranties of any kind concerning the Licensed Material, 264 | whether express, implied, statutory, or other. This includes, without limitation, 265 | warranties of title, merchantability, fitness for a particular purpose, non-infringement, 266 | absence of latent or other defects, accuracy, or the presence or absence of 267 | errors, whether or not known or discoverable. Where disclaimers of warranties 268 | are not allowed in full or in part, this disclaimer may not apply to You. 269 | 270 | b. To the extent possible, in no event will the Licensor be liable to You 271 | on any legal theory (including, without limitation, negligence) or otherwise 272 | for any direct, special, indirect, incidental, consequential, punitive, exemplary, 273 | or other losses, costs, expenses, or damages arising out of this Public License 274 | or use of the Licensed Material, even if the Licensor has been advised of 275 | the possibility of such losses, costs, expenses, or damages. Where a limitation 276 | of liability is not allowed in full or in part, this limitation may not apply 277 | to You. 278 | 279 | c. The disclaimer of warranties and limitation of liability provided above 280 | shall be interpreted in a manner that, to the extent possible, most closely 281 | approximates an absolute disclaimer and waiver of all liability. 282 | 283 | Section 6 – Term and Termination. 284 | 285 | a. This Public License applies for the term of the Copyright and Similar Rights 286 | licensed here. However, if You fail to comply with this Public License, then 287 | Your rights under this Public License terminate automatically. 288 | 289 | b. Where Your right to use the Licensed Material has terminated under Section 290 | 6(a), it reinstates: 291 | 292 | 1. automatically as of the date the violation is cured, provided it is cured 293 | within 30 days of Your discovery of the violation; or 294 | 295 | 2. upon express reinstatement by the Licensor. 296 | 297 | c. For the avoidance of doubt, this Section 6(b) does not affect any right 298 | the Licensor may have to seek remedies for Your violations of this Public 299 | License. 300 | 301 | d. For the avoidance of doubt, the Licensor may also offer the Licensed Material 302 | under separate terms or conditions or stop distributing the Licensed Material 303 | at any time; however, doing so will not terminate this Public License. 304 | 305 | e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 306 | 307 | Section 7 – Other Terms and Conditions. 308 | 309 | a. The Licensor shall not be bound by any additional or different terms or 310 | conditions communicated by You unless expressly agreed. 311 | 312 | b. Any arrangements, understandings, or agreements regarding the Licensed 313 | Material not stated herein are separate from and independent of the terms 314 | and conditions of this Public License. 315 | 316 | Section 8 – Interpretation. 317 | 318 | a. For the avoidance of doubt, this Public License does not, and shall not 319 | be interpreted to, reduce, limit, restrict, or impose conditions on any use 320 | of the Licensed Material that could lawfully be made without permission under 321 | this Public License. 322 | 323 | b. To the extent possible, if any provision of this Public License is deemed 324 | unenforceable, it shall be automatically reformed to the minimum extent necessary 325 | to make it enforceable. If the provision cannot be reformed, it shall be severed 326 | from this Public License without affecting the enforceability of the remaining 327 | terms and conditions. 328 | 329 | c. No term or condition of this Public License will be waived and no failure 330 | to comply consented to unless expressly agreed to by the Licensor. 331 | 332 | d. Nothing in this Public License constitutes or may be interpreted as a limitation 333 | upon, or waiver of, any privileges and immunities that apply to the Licensor 334 | or You, including from the legal processes of any jurisdiction or authority. 335 | 336 | Creative Commons is not a party to its public licenses. Notwithstanding, Creative 337 | Commons may elect to apply one of its public licenses to material it publishes 338 | and in those instances will be considered the "Licensor." The text of the 339 | Creative Commons public licenses is dedicated to the public domain under the 340 | CC0 Public Domain Dedication. Except for the limited purpose of indicating 341 | that material is shared under a Creative Commons public license or as otherwise 342 | permitted by the Creative Commons policies published at creativecommons.org/policies, 343 | Creative Commons does not authorize the use of the trademark "Creative Commons" 344 | or any other trademark or logo of Creative Commons without its prior written 345 | consent including, without limitation, in connection with any unauthorized 346 | modifications to any of its public licenses or any other arrangements, understandings, 347 | or agreements concerning use of licensed material. For the avoidance of doubt, 348 | this paragraph does not form part of the public licenses. 349 | 350 | Creative Commons may be contacted at creativecommons.org. 351 | -------------------------------------------------------------------------------- /LICENSES/GPL-3.0-or-later.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | 3 | Version 3, 29 June 2007 4 | 5 | Copyright © 2007 Free Software Foundation, Inc. 6 | 7 | Everyone is permitted to copy and distribute verbatim copies of this license 8 | document, but changing it is not allowed. 9 | 10 | Preamble 11 | 12 | The GNU General Public License is a free, copyleft license for software and 13 | other kinds of works. 14 | 15 | The licenses for most software and other practical works are designed to take 16 | away your freedom to share and change the works. By contrast, the GNU General 17 | Public License is intended to guarantee your freedom to share and change all 18 | versions of a program--to make sure it remains free software for all its users. 19 | We, the Free Software Foundation, use the GNU General Public License for most 20 | of our software; it applies also to any other work released this way by its 21 | authors. You can apply it to your programs, too. 22 | 23 | When we speak of free software, we are referring to freedom, not price. Our 24 | General Public Licenses are designed to make sure that you have the freedom 25 | to distribute copies of free software (and charge for them if you wish), that 26 | you receive source code or can get it if you want it, that you can change 27 | the software or use pieces of it in new free programs, and that you know you 28 | can do these things. 29 | 30 | To protect your rights, we need to prevent others from denying you these rights 31 | or asking you to surrender the rights. Therefore, you have certain responsibilities 32 | if you distribute copies of the software, or if you modify it: responsibilities 33 | to respect the freedom of others. 34 | 35 | For example, if you distribute copies of such a program, whether gratis or 36 | for a fee, you must pass on to the recipients the same freedoms that you received. 37 | You must make sure that they, too, receive or can get the source code. And 38 | you must show them these terms so they know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: (1) assert 41 | copyright on the software, and (2) offer you this License giving you legal 42 | permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains that 45 | there is no warranty for this free software. For both users' and authors' 46 | sake, the GPL requires that modified versions be marked as changed, so that 47 | their problems will not be attributed erroneously to authors of previous versions. 48 | 49 | Some devices are designed to deny users access to install or run modified 50 | versions of the software inside them, although the manufacturer can do so. 51 | This is fundamentally incompatible with the aim of protecting users' freedom 52 | to change the software. The systematic pattern of such abuse occurs in the 53 | area of products for individuals to use, which is precisely where it is most 54 | unacceptable. Therefore, we have designed this version of the GPL to prohibit 55 | the practice for those products. If such problems arise substantially in other 56 | domains, we stand ready to extend this provision to those domains in future 57 | versions of the GPL, as needed to protect the freedom of users. 58 | 59 | Finally, every program is threatened constantly by software patents. States 60 | should not allow patents to restrict development and use of software on general-purpose 61 | computers, but in those that do, we wish to avoid the special danger that 62 | patents applied to a free program could make it effectively proprietary. To 63 | prevent this, the GPL assures that patents cannot be used to render the program 64 | non-free. 65 | 66 | The precise terms and conditions for copying, distribution and modification 67 | follow. 68 | 69 | TERMS AND CONDITIONS 70 | 71 | 0. Definitions. 72 | 73 | "This License" refers to version 3 of the GNU General Public License. 74 | 75 | "Copyright" also means copyright-like laws that apply to other kinds of works, 76 | such as semiconductor masks. 77 | 78 | "The Program" refers to any copyrightable work licensed under this License. 79 | Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals 80 | or organizations. 81 | 82 | To "modify" a work means to copy from or adapt all or part of the work in 83 | a fashion requiring copyright permission, other than the making of an exact 84 | copy. The resulting work is called a "modified version" of the earlier work 85 | or a work "based on" the earlier work. 86 | 87 | A "covered work" means either the unmodified Program or a work based on the 88 | Program. 89 | 90 | To "propagate" a work means to do anything with it that, without permission, 91 | would make you directly or secondarily liable for infringement under applicable 92 | copyright law, except executing it on a computer or modifying a private copy. 93 | Propagation includes copying, distribution (with or without modification), 94 | making available to the public, and in some countries other activities as 95 | well. 96 | 97 | To "convey" a work means any kind of propagation that enables other parties 98 | to make or receive copies. Mere interaction with a user through a computer 99 | network, with no transfer of a copy, is not conveying. 100 | 101 | An interactive user interface displays "Appropriate Legal Notices" to the 102 | extent that it includes a convenient and prominently visible feature that 103 | (1) displays an appropriate copyright notice, and (2) tells the user that 104 | there is no warranty for the work (except to the extent that warranties are 105 | provided), that licensees may convey the work under this License, and how 106 | to view a copy of this License. If the interface presents a list of user commands 107 | or options, such as a menu, a prominent item in the list meets this criterion. 108 | 109 | 1. Source Code. 110 | 111 | The "source code" for a work means the preferred form of the work for making 112 | modifications to it. "Object code" means any non-source form of a work. 113 | 114 | A "Standard Interface" means an interface that either is an official standard 115 | defined by a recognized standards body, or, in the case of interfaces specified 116 | for a particular programming language, one that is widely used among developers 117 | working in that language. 118 | 119 | The "System Libraries" of an executable work include anything, other than 120 | the work as a whole, that (a) is included in the normal form of packaging 121 | a Major Component, but which is not part of that Major Component, and (b) 122 | serves only to enable use of the work with that Major Component, or to implement 123 | a Standard Interface for which an implementation is available to the public 124 | in source code form. A "Major Component", in this context, means a major essential 125 | component (kernel, window system, and so on) of the specific operating system 126 | (if any) on which the executable work runs, or a compiler used to produce 127 | the work, or an object code interpreter used to run it. 128 | 129 | The "Corresponding Source" for a work in object code form means all the source 130 | code needed to generate, install, and (for an executable work) run the object 131 | code and to modify the work, including scripts to control those activities. 132 | However, it does not include the work's System Libraries, or general-purpose 133 | tools or generally available free programs which are used unmodified in performing 134 | those activities but which are not part of the work. For example, Corresponding 135 | Source includes interface definition files associated with source files for 136 | the work, and the source code for shared libraries and dynamically linked 137 | subprograms that the work is specifically designed to require, such as by 138 | intimate data communication or control flow between those subprograms and 139 | other parts of the work. 140 | 141 | The Corresponding Source need not include anything that users can regenerate 142 | automatically from other parts of the Corresponding Source. 143 | 144 | The Corresponding Source for a work in source code form is that same work. 145 | 146 | 2. Basic Permissions. 147 | 148 | All rights granted under this License are granted for the term of copyright 149 | on the Program, and are irrevocable provided the stated conditions are met. 150 | This License explicitly affirms your unlimited permission to run the unmodified 151 | Program. The output from running a covered work is covered by this License 152 | only if the output, given its content, constitutes a covered work. This License 153 | acknowledges your rights of fair use or other equivalent, as provided by copyright 154 | law. 155 | 156 | You may make, run and propagate covered works that you do not convey, without 157 | conditions so long as your license otherwise remains in force. You may convey 158 | covered works to others for the sole purpose of having them make modifications 159 | exclusively for you, or provide you with facilities for running those works, 160 | provided that you comply with the terms of this License in conveying all material 161 | for which you do not control copyright. Those thus making or running the covered 162 | works for you must do so exclusively on your behalf, under your direction 163 | and control, on terms that prohibit them from making any copies of your copyrighted 164 | material outside their relationship with you. 165 | 166 | Conveying under any other circumstances is permitted solely under the conditions 167 | stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 168 | 169 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 170 | 171 | No covered work shall be deemed part of an effective technological measure 172 | under any applicable law fulfilling obligations under article 11 of the WIPO 173 | copyright treaty adopted on 20 December 1996, or similar laws prohibiting 174 | or restricting circumvention of such measures. 175 | 176 | When you convey a covered work, you waive any legal power to forbid circumvention 177 | of technological measures to the extent such circumvention is effected by 178 | exercising rights under this License with respect to the covered work, and 179 | you disclaim any intention to limit operation or modification of the work 180 | as a means of enforcing, against the work's users, your or third parties' 181 | legal rights to forbid circumvention of technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you receive 186 | it, in any medium, provided that you conspicuously and appropriately publish 187 | on each copy an appropriate copyright notice; keep intact all notices stating 188 | that this License and any non-permissive terms added in accord with section 189 | 7 apply to the code; keep intact all notices of the absence of any warranty; 190 | and give all recipients a copy of this License along with the Program. 191 | 192 | You may charge any price or no price for each copy that you convey, and you 193 | may offer support or warranty protection for a fee. 194 | 195 | 5. Conveying Modified Source Versions. 196 | 197 | You may convey a work based on the Program, or the modifications to produce 198 | it from the Program, in the form of source code under the terms of section 199 | 4, provided that you also meet all of these conditions: 200 | 201 | a) The work must carry prominent notices stating that you modified it, and 202 | giving a relevant date. 203 | 204 | b) The work must carry prominent notices stating that it is released under 205 | this License and any conditions added under section 7. This requirement modifies 206 | the requirement in section 4 to "keep intact all notices". 207 | 208 | c) You must license the entire work, as a whole, under this License to anyone 209 | who comes into possession of a copy. This License will therefore apply, along 210 | with any applicable section 7 additional terms, to the whole of the work, 211 | and all its parts, regardless of how they are packaged. This License gives 212 | no permission to license the work in any other way, but it does not invalidate 213 | such permission if you have separately received it. 214 | 215 | d) If the work has interactive user interfaces, each must display Appropriate 216 | Legal Notices; however, if the Program has interactive interfaces that do 217 | not display Appropriate Legal Notices, your work need not make them do so. 218 | 219 | A compilation of a covered work with other separate and independent works, 220 | which are not by their nature extensions of the covered work, and which are 221 | not combined with it such as to form a larger program, in or on a volume of 222 | a storage or distribution medium, is called an "aggregate" if the compilation 223 | and its resulting copyright are not used to limit the access or legal rights 224 | of the compilation's users beyond what the individual works permit. Inclusion 225 | of a covered work in an aggregate does not cause this License to apply to 226 | the other parts of the aggregate. 227 | 228 | 6. Conveying Non-Source Forms. 229 | 230 | You may convey a covered work in object code form under the terms of sections 231 | 4 and 5, provided that you also convey the machine-readable Corresponding 232 | Source under the terms of this License, in one of these ways: 233 | 234 | a) Convey the object code in, or embodied in, a physical product (including 235 | a physical distribution medium), accompanied by the Corresponding Source fixed 236 | on a durable physical medium customarily used for software interchange. 237 | 238 | b) Convey the object code in, or embodied in, a physical product (including 239 | a physical distribution medium), accompanied by a written offer, valid for 240 | at least three years and valid for as long as you offer spare parts or customer 241 | support for that product model, to give anyone who possesses the object code 242 | either (1) a copy of the Corresponding Source for all the software in the 243 | product that is covered by this License, on a durable physical medium customarily 244 | used for software interchange, for a price no more than your reasonable cost 245 | of physically performing this conveying of source, or (2) access to copy the 246 | Corresponding Source from a network server at no charge. 247 | 248 | c) Convey individual copies of the object code with a copy of the written 249 | offer to provide the Corresponding Source. This alternative is allowed only 250 | occasionally and noncommercially, and only if you received the object code 251 | with such an offer, in accord with subsection 6b. 252 | 253 | d) Convey the object code by offering access from a designated place (gratis 254 | or for a charge), and offer equivalent access to the Corresponding Source 255 | in the same way through the same place at no further charge. You need not 256 | require recipients to copy the Corresponding Source along with the object 257 | code. If the place to copy the object code is a network server, the Corresponding 258 | Source may be on a different server (operated by you or a third party) that 259 | supports equivalent copying facilities, provided you maintain clear directions 260 | next to the object code saying where to find the Corresponding Source. Regardless 261 | of what server hosts the Corresponding Source, you remain obligated to ensure 262 | that it is available for as long as needed to satisfy these requirements. 263 | 264 | e) Convey the object code using peer-to-peer transmission, provided you inform 265 | other peers where the object code and Corresponding Source of the work are 266 | being offered to the general public at no charge under subsection 6d. 267 | 268 | A separable portion of the object code, whose source code is excluded from 269 | the Corresponding Source as a System Library, need not be included in conveying 270 | the object code work. 271 | 272 | A "User Product" is either (1) a "consumer product", which means any tangible 273 | personal property which is normally used for personal, family, or household 274 | purposes, or (2) anything designed or sold for incorporation into a dwelling. 275 | In determining whether a product is a consumer product, doubtful cases shall 276 | be resolved in favor of coverage. For a particular product received by a particular 277 | user, "normally used" refers to a typical or common use of that class of product, 278 | regardless of the status of the particular user or of the way in which the 279 | particular user actually uses, or expects or is expected to use, the product. 280 | A product is a consumer product regardless of whether the product has substantial 281 | commercial, industrial or non-consumer uses, unless such uses represent the 282 | only significant mode of use of the product. 283 | 284 | "Installation Information" for a User Product means any methods, procedures, 285 | authorization keys, or other information required to install and execute modified 286 | versions of a covered work in that User Product from a modified version of 287 | its Corresponding Source. The information must suffice to ensure that the 288 | continued functioning of the modified object code is in no case prevented 289 | or interfered with solely because modification has been made. 290 | 291 | If you convey an object code work under this section in, or with, or specifically 292 | for use in, a User Product, and the conveying occurs as part of a transaction 293 | in which the right of possession and use of the User Product is transferred 294 | to the recipient in perpetuity or for a fixed term (regardless of how the 295 | transaction is characterized), the Corresponding Source conveyed under this 296 | section must be accompanied by the Installation Information. But this requirement 297 | does not apply if neither you nor any third party retains the ability to install 298 | modified object code on the User Product (for example, the work has been installed 299 | in ROM). 300 | 301 | The requirement to provide Installation Information does not include a requirement 302 | to continue to provide support service, warranty, or updates for a work that 303 | has been modified or installed by the recipient, or for the User Product in 304 | which it has been modified or installed. Access to a network may be denied 305 | when the modification itself materially and adversely affects the operation 306 | of the network or violates the rules and protocols for communication across 307 | the network. 308 | 309 | Corresponding Source conveyed, and Installation Information provided, in accord 310 | with this section must be in a format that is publicly documented (and with 311 | an implementation available to the public in source code form), and must require 312 | no special password or key for unpacking, reading or copying. 313 | 314 | 7. Additional Terms. 315 | 316 | "Additional permissions" are terms that supplement the terms of this License 317 | by making exceptions from one or more of its conditions. Additional permissions 318 | that are applicable to the entire Program shall be treated as though they 319 | were included in this License, to the extent that they are valid under applicable 320 | law. If additional permissions apply only to part of the Program, that part 321 | may be used separately under those permissions, but the entire Program remains 322 | governed by this License without regard to the additional permissions. 323 | 324 | When you convey a copy of a covered work, you may at your option remove any 325 | additional permissions from that copy, or from any part of it. (Additional 326 | permissions may be written to require their own removal in certain cases when 327 | you modify the work.) You may place additional permissions on material, added 328 | by you to a covered work, for which you have or can give appropriate copyright 329 | permission. 330 | 331 | Notwithstanding any other provision of this License, for material you add 332 | to a covered work, you may (if authorized by the copyright holders of that 333 | material) supplement the terms of this License with terms: 334 | 335 | a) Disclaiming warranty or limiting liability differently from the terms of 336 | sections 15 and 16 of this License; or 337 | 338 | b) Requiring preservation of specified reasonable legal notices or author 339 | attributions in that material or in the Appropriate Legal Notices displayed 340 | by works containing it; or 341 | 342 | c) Prohibiting misrepresentation of the origin of that material, or requiring 343 | that modified versions of such material be marked in reasonable ways as different 344 | from the original version; or 345 | 346 | d) Limiting the use for publicity purposes of names of licensors or authors 347 | of the material; or 348 | 349 | e) Declining to grant rights under trademark law for use of some trade names, 350 | trademarks, or service marks; or 351 | 352 | f) Requiring indemnification of licensors and authors of that material by 353 | anyone who conveys the material (or modified versions of it) with contractual 354 | assumptions of liability to the recipient, for any liability that these contractual 355 | assumptions directly impose on those licensors and authors. 356 | 357 | All other non-permissive additional terms are considered "further restrictions" 358 | within the meaning of section 10. If the Program as you received it, or any 359 | part of it, contains a notice stating that it is governed by this License 360 | along with a term that is a further restriction, you may remove that term. 361 | If a license document contains a further restriction but permits relicensing 362 | or conveying under this License, you may add to a covered work material governed 363 | by the terms of that license document, provided that the further restriction 364 | does not survive such relicensing or conveying. 365 | 366 | If you add terms to a covered work in accord with this section, you must place, 367 | in the relevant source files, a statement of the additional terms that apply 368 | to those files, or a notice indicating where to find the applicable terms. 369 | 370 | Additional terms, permissive or non-permissive, may be stated in the form 371 | of a separately written license, or stated as exceptions; the above requirements 372 | apply either way. 373 | 374 | 8. Termination. 375 | 376 | You may not propagate or modify a covered work except as expressly provided 377 | under this License. Any attempt otherwise to propagate or modify it is void, 378 | and will automatically terminate your rights under this License (including 379 | any patent licenses granted under the third paragraph of section 11). 380 | 381 | However, if you cease all violation of this License, then your license from 382 | a particular copyright holder is reinstated (a) provisionally, unless and 383 | until the copyright holder explicitly and finally terminates your license, 384 | and (b) permanently, if the copyright holder fails to notify you of the violation 385 | by some reasonable means prior to 60 days after the cessation. 386 | 387 | Moreover, your license from a particular copyright holder is reinstated permanently 388 | if the copyright holder notifies you of the violation by some reasonable means, 389 | this is the first time you have received notice of violation of this License 390 | (for any work) from that copyright holder, and you cure the violation prior 391 | to 30 days after your receipt of the notice. 392 | 393 | Termination of your rights under this section does not terminate the licenses 394 | of parties who have received copies or rights from you under this License. 395 | If your rights have been terminated and not permanently reinstated, you do 396 | not qualify to receive new licenses for the same material under section 10. 397 | 398 | 9. Acceptance Not Required for Having Copies. 399 | 400 | You are not required to accept this License in order to receive or run a copy 401 | of the Program. Ancillary propagation of a covered work occurring solely as 402 | a consequence of using peer-to-peer transmission to receive a copy likewise 403 | does not require acceptance. However, nothing other than this License grants 404 | you permission to propagate or modify any covered work. These actions infringe 405 | copyright if you do not accept this License. Therefore, by modifying or propagating 406 | a covered work, you indicate your acceptance of this License to do so. 407 | 408 | 10. Automatic Licensing of Downstream Recipients. 409 | 410 | Each time you convey a covered work, the recipient automatically receives 411 | a license from the original licensors, to run, modify and propagate that work, 412 | subject to this License. You are not responsible for enforcing compliance 413 | by third parties with this License. 414 | 415 | An "entity transaction" is a transaction transferring control of an organization, 416 | or substantially all assets of one, or subdividing an organization, or merging 417 | organizations. If propagation of a covered work results from an entity transaction, 418 | each party to that transaction who receives a copy of the work also receives 419 | whatever licenses to the work the party's predecessor in interest had or could 420 | give under the previous paragraph, plus a right to possession of the Corresponding 421 | Source of the work from the predecessor in interest, if the predecessor has 422 | it or can get it with reasonable efforts. 423 | 424 | You may not impose any further restrictions on the exercise of the rights 425 | granted or affirmed under this License. For example, you may not impose a 426 | license fee, royalty, or other charge for exercise of rights granted under 427 | this License, and you may not initiate litigation (including a cross-claim 428 | or counterclaim in a lawsuit) alleging that any patent claim is infringed 429 | by making, using, selling, offering for sale, or importing the Program or 430 | any portion of it. 431 | 432 | 11. Patents. 433 | 434 | A "contributor" is a copyright holder who authorizes use under this License 435 | of the Program or a work on which the Program is based. The work thus licensed 436 | is called the contributor's "contributor version". 437 | 438 | A contributor's "essential patent claims" are all patent claims owned or controlled 439 | by the contributor, whether already acquired or hereafter acquired, that would 440 | be infringed by some manner, permitted by this License, of making, using, 441 | or selling its contributor version, but do not include claims that would be 442 | infringed only as a consequence of further modification of the contributor 443 | version. For purposes of this definition, "control" includes the right to 444 | grant patent sublicenses in a manner consistent with the requirements of this 445 | License. 446 | 447 | Each contributor grants you a non-exclusive, worldwide, royalty-free patent 448 | license under the contributor's essential patent claims, to make, use, sell, 449 | offer for sale, import and otherwise run, modify and propagate the contents 450 | of its contributor version. 451 | 452 | In the following three paragraphs, a "patent license" is any express agreement 453 | or commitment, however denominated, not to enforce a patent (such as an express 454 | permission to practice a patent or covenant not to sue for patent infringement). 455 | To "grant" such a patent license to a party means to make such an agreement 456 | or commitment not to enforce a patent against the party. 457 | 458 | If you convey a covered work, knowingly relying on a patent license, and the 459 | Corresponding Source of the work is not available for anyone to copy, free 460 | of charge and under the terms of this License, through a publicly available 461 | network server or other readily accessible means, then you must either (1) 462 | cause the Corresponding Source to be so available, or (2) arrange to deprive 463 | yourself of the benefit of the patent license for this particular work, or 464 | (3) arrange, in a manner consistent with the requirements of this License, 465 | to extend the patent license to downstream recipients. "Knowingly relying" 466 | means you have actual knowledge that, but for the patent license, your conveying 467 | the covered work in a country, or your recipient's use of the covered work 468 | in a country, would infringe one or more identifiable patents in that country 469 | that you have reason to believe are valid. 470 | 471 | If, pursuant to or in connection with a single transaction or arrangement, 472 | you convey, or propagate by procuring conveyance of, a covered work, and grant 473 | a patent license to some of the parties receiving the covered work authorizing 474 | them to use, propagate, modify or convey a specific copy of the covered work, 475 | then the patent license you grant is automatically extended to all recipients 476 | of the covered work and works based on it. 477 | 478 | A patent license is "discriminatory" if it does not include within the scope 479 | of its coverage, prohibits the exercise of, or is conditioned on the non-exercise 480 | of one or more of the rights that are specifically granted under this License. 481 | You may not convey a covered work if you are a party to an arrangement with 482 | a third party that is in the business of distributing software, under which 483 | you make payment to the third party based on the extent of your activity of 484 | conveying the work, and under which the third party grants, to any of the 485 | parties who would receive the covered work from you, a discriminatory patent 486 | license (a) in connection with copies of the covered work conveyed by you 487 | (or copies made from those copies), or (b) primarily for and in connection 488 | with specific products or compilations that contain the covered work, unless 489 | you entered into that arrangement, or that patent license was granted, prior 490 | to 28 March 2007. 491 | 492 | Nothing in this License shall be construed as excluding or limiting any implied 493 | license or other defenses to infringement that may otherwise be available 494 | to you under applicable patent law. 495 | 496 | 12. No Surrender of Others' Freedom. 497 | 498 | If conditions are imposed on you (whether by court order, agreement or otherwise) 499 | that contradict the conditions of this License, they do not excuse you from 500 | the conditions of this License. If you cannot convey a covered work so as 501 | to satisfy simultaneously your obligations under this License and any other 502 | pertinent obligations, then as a consequence you may not convey it at all. 503 | For example, if you agree to terms that obligate you to collect a royalty 504 | for further conveying from those to whom you convey the Program, the only 505 | way you could satisfy both those terms and this License would be to refrain 506 | entirely from conveying the Program. 507 | 508 | 13. Use with the GNU Affero General Public License. 509 | 510 | Notwithstanding any other provision of this License, you have permission to 511 | link or combine any covered work with a work licensed under version 3 of the 512 | GNU Affero General Public License into a single combined work, and to convey 513 | the resulting work. The terms of this License will continue to apply to the 514 | part which is the covered work, but the special requirements of the GNU Affero 515 | General Public License, section 13, concerning interaction through a network 516 | will apply to the combination as such. 517 | 518 | 14. Revised Versions of this License. 519 | 520 | The Free Software Foundation may publish revised and/or new versions of the 521 | GNU General Public License from time to time. Such new versions will be similar 522 | in spirit to the present version, but may differ in detail to address new 523 | problems or concerns. 524 | 525 | Each version is given a distinguishing version number. If the Program specifies 526 | that a certain numbered version of the GNU General Public License "or any 527 | later version" applies to it, you have the option of following the terms and 528 | conditions either of that numbered version or of any later version published 529 | by the Free Software Foundation. If the Program does not specify a version 530 | number of the GNU General Public License, you may choose any version ever 531 | published by the Free Software Foundation. 532 | 533 | If the Program specifies that a proxy can decide which future versions of 534 | the GNU General Public License can be used, that proxy's public statement 535 | of acceptance of a version permanently authorizes you to choose that version 536 | for the Program. 537 | 538 | Later license versions may give you additional or different permissions. However, 539 | no additional obligations are imposed on any author or copyright holder as 540 | a result of your choosing to follow a later version. 541 | 542 | 15. Disclaimer of Warranty. 543 | 544 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE 545 | LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 546 | OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER 547 | EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 548 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 549 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM 550 | PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR 551 | CORRECTION. 552 | 553 | 16. Limitation of Liability. 554 | 555 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL 556 | ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM 557 | AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, 558 | INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO 559 | USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED 560 | INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE 561 | PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER 562 | PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 563 | 564 | 17. Interpretation of Sections 15 and 16. 565 | 566 | If the disclaimer of warranty and limitation of liability provided above cannot 567 | be given local legal effect according to their terms, reviewing courts shall 568 | apply local law that most closely approximates an absolute waiver of all civil 569 | liability in connection with the Program, unless a warranty or assumption 570 | of liability accompanies a copy of the Program in return for a fee. END OF 571 | TERMS AND CONDITIONS 572 | 573 | How to Apply These Terms to Your New Programs 574 | 575 | If you develop a new program, and you want it to be of the greatest possible 576 | use to the public, the best way to achieve this is to make it free software 577 | which everyone can redistribute and change under these terms. 578 | 579 | To do so, attach the following notices to the program. It is safest to attach 580 | them to the start of each source file to most effectively state the exclusion 581 | of warranty; and each file should have at least the "copyright" line and a 582 | pointer to where the full notice is found. 583 | 584 | 585 | 586 | Copyright (C) 587 | 588 | This program is free software: you can redistribute it and/or modify it under 589 | the terms of the GNU General Public License as published by the Free Software 590 | Foundation, either version 3 of the License, or (at your option) any later 591 | version. 592 | 593 | This program is distributed in the hope that it will be useful, but WITHOUT 594 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 595 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 596 | 597 | You should have received a copy of the GNU General Public License along with 598 | this program. If not, see . 599 | 600 | Also add information on how to contact you by electronic and paper mail. 601 | 602 | If the program does terminal interaction, make it output a short notice like 603 | this when it starts in an interactive mode: 604 | 605 | Copyright (C) 606 | 607 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 608 | 609 | This is free software, and you are welcome to redistribute it under certain 610 | conditions; type `show c' for details. 611 | 612 | The hypothetical commands `show w' and `show c' should show the appropriate 613 | parts of the General Public License. Of course, your program's commands might 614 | be different; for a GUI interface, you would use an "about box". 615 | 616 | You should also get your employer (if you work as a programmer) or school, 617 | if any, to sign a "copyright disclaimer" for the program, if necessary. For 618 | more information on this, and how to apply and follow the GNU GPL, see . 619 | 620 | The GNU General Public License does not permit incorporating your program 621 | into proprietary programs. If your program is a subroutine library, you may 622 | consider it more useful to permit linking proprietary applications with the 623 | library. If this is what you want to do, use the GNU Lesser General Public 624 | License instead of this License. But first, please read . 626 | -------------------------------------------------------------------------------- /LICENSE.GPLv3: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | --------------------------------------------------------------------------------
16 | Player is the official movie player of the Liri desktop environment. 17 |
19 | It can open local files and lets you manage a play list. 20 |
39 | We are proud to announce the immediate availability of Liri Player 1.0. 40 |