diff --git a/.gitignore b/.gitignore index 365d6ec..8204296 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,7 @@ Makefile* # Others *.xcf + +# Ubuntu SDk +*.excludes +*.json diff --git a/app/app.pro b/app/app.pro new file mode 100644 index 0000000..2a72f3a --- /dev/null +++ b/app/app.pro @@ -0,0 +1,8 @@ +QT += qml quick widgets +TARGET = cool-old-term + +DESTDIR = $$OUT_PWD/../ +SOURCES = main.cpp + +RESOURCES += qml/resources.qrc + diff --git a/app/main.cpp b/app/main.cpp new file mode 100644 index 0000000..259b64f --- /dev/null +++ b/app/main.cpp @@ -0,0 +1,27 @@ +#include +#include + +#include + +#include +#include + + +int main(int argc, char *argv[]) +{ + setenv("QT_QPA_PLATFORMTHEME", "", 1); + QApplication app(argc, argv); + QQmlApplicationEngine engine; + + // Managing some env variables + + // Manage import paths + QStringList importPathList = engine.importPathList(); + importPathList.prepend(QCoreApplication::applicationDirPath() + "/imports/"); + engine.setImportPathList(importPathList); + + engine.load(QUrl("qrc:/main.qml")); + + return app.exec(); +} + diff --git a/app/AboutDialog.qml b/app/qml/AboutDialog.qml similarity index 100% rename from app/AboutDialog.qml rename to app/qml/AboutDialog.qml diff --git a/app/ApplicationSettings.qml b/app/qml/ApplicationSettings.qml similarity index 100% rename from app/ApplicationSettings.qml rename to app/qml/ApplicationSettings.qml diff --git a/app/CheckableSlider.qml b/app/qml/CheckableSlider.qml similarity index 100% rename from app/CheckableSlider.qml rename to app/qml/CheckableSlider.qml diff --git a/app/ColorButton.qml b/app/qml/ColorButton.qml similarity index 100% rename from app/ColorButton.qml rename to app/qml/ColorButton.qml diff --git a/app/FontPixels.qml b/app/qml/FontPixels.qml similarity index 100% rename from app/FontPixels.qml rename to app/qml/FontPixels.qml diff --git a/app/FontScanlines.qml b/app/qml/FontScanlines.qml similarity index 100% rename from app/FontScanlines.qml rename to app/qml/FontScanlines.qml diff --git a/app/Fonts.qml b/app/qml/Fonts.qml similarity index 100% rename from app/Fonts.qml rename to app/qml/Fonts.qml diff --git a/app/Glossy.qml b/app/qml/Glossy.qml similarity index 100% rename from app/Glossy.qml rename to app/qml/Glossy.qml diff --git a/app/InsertNameDialog.qml b/app/qml/InsertNameDialog.qml similarity index 100% rename from app/InsertNameDialog.qml rename to app/qml/InsertNameDialog.qml diff --git a/app/PreprocessedTerminal.qml b/app/qml/PreprocessedTerminal.qml similarity index 100% rename from app/PreprocessedTerminal.qml rename to app/qml/PreprocessedTerminal.qml diff --git a/app/SettingsEffectsTab.qml b/app/qml/SettingsEffectsTab.qml similarity index 100% rename from app/SettingsEffectsTab.qml rename to app/qml/SettingsEffectsTab.qml diff --git a/app/SettingsGeneralTab.qml b/app/qml/SettingsGeneralTab.qml similarity index 100% rename from app/SettingsGeneralTab.qml rename to app/qml/SettingsGeneralTab.qml diff --git a/app/SettingsTerminalTab.qml b/app/qml/SettingsTerminalTab.qml similarity index 100% rename from app/SettingsTerminalTab.qml rename to app/qml/SettingsTerminalTab.qml diff --git a/app/SettingsWindow.qml b/app/qml/SettingsWindow.qml similarity index 100% rename from app/SettingsWindow.qml rename to app/qml/SettingsWindow.qml diff --git a/app/ShaderTerminal.qml b/app/qml/ShaderTerminal.qml similarity index 100% rename from app/ShaderTerminal.qml rename to app/qml/ShaderTerminal.qml diff --git a/app/SimpleSlider.qml b/app/qml/SimpleSlider.qml similarity index 100% rename from app/SimpleSlider.qml rename to app/qml/SimpleSlider.qml diff --git a/app/SizeOverlay.qml b/app/qml/SizeOverlay.qml similarity index 100% rename from app/SizeOverlay.qml rename to app/qml/SizeOverlay.qml diff --git a/app/Storage.qml b/app/qml/Storage.qml similarity index 100% rename from app/Storage.qml rename to app/qml/Storage.qml diff --git a/app/TimeManager.qml b/app/qml/TimeManager.qml similarity index 100% rename from app/TimeManager.qml rename to app/qml/TimeManager.qml diff --git a/app/fonts/1971-ibm-3278/3270Medium.ttf b/app/qml/fonts/1971-ibm-3278/3270Medium.ttf similarity index 100% rename from app/fonts/1971-ibm-3278/3270Medium.ttf rename to app/qml/fonts/1971-ibm-3278/3270Medium.ttf diff --git a/app/fonts/1971-ibm-3278/LICENSE.txt b/app/qml/fonts/1971-ibm-3278/LICENSE.txt similarity index 100% rename from app/fonts/1971-ibm-3278/LICENSE.txt rename to app/qml/fonts/1971-ibm-3278/LICENSE.txt diff --git a/app/fonts/1971-ibm-3278/README.md b/app/qml/fonts/1971-ibm-3278/README.md similarity index 100% rename from app/fonts/1971-ibm-3278/README.md rename to app/qml/fonts/1971-ibm-3278/README.md diff --git a/app/fonts/1977-apple2/FreeLicense.txt b/app/qml/fonts/1977-apple2/FreeLicense.txt similarity index 100% rename from app/fonts/1977-apple2/FreeLicense.txt rename to app/qml/fonts/1977-apple2/FreeLicense.txt diff --git a/app/fonts/1977-apple2/PRNumber3.ttf b/app/qml/fonts/1977-apple2/PRNumber3.ttf similarity index 100% rename from app/fonts/1977-apple2/PRNumber3.ttf rename to app/qml/fonts/1977-apple2/PRNumber3.ttf diff --git a/app/fonts/1977-apple2/PrintChar21.ttf b/app/qml/fonts/1977-apple2/PrintChar21.ttf similarity index 100% rename from app/fonts/1977-apple2/PrintChar21.ttf rename to app/qml/fonts/1977-apple2/PrintChar21.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64.ttf diff --git a/app/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf b/app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf similarity index 100% rename from app/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf rename to app/qml/fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf diff --git a/app/fonts/1977-commodore-pet/FreeLicense.txt b/app/qml/fonts/1977-commodore-pet/FreeLicense.txt similarity index 100% rename from app/fonts/1977-commodore-pet/FreeLicense.txt rename to app/qml/fonts/1977-commodore-pet/FreeLicense.txt diff --git a/app/fonts/1979-atari-400-800/ATARI400800_original.TTF b/app/qml/fonts/1979-atari-400-800/ATARI400800_original.TTF similarity index 100% rename from app/fonts/1979-atari-400-800/ATARI400800_original.TTF rename to app/qml/fonts/1979-atari-400-800/ATARI400800_original.TTF diff --git a/app/fonts/1979-atari-400-800/ATARI400800_rounded.TTF b/app/qml/fonts/1979-atari-400-800/ATARI400800_rounded.TTF similarity index 100% rename from app/fonts/1979-atari-400-800/ATARI400800_rounded.TTF rename to app/qml/fonts/1979-atari-400-800/ATARI400800_rounded.TTF diff --git a/app/fonts/1979-atari-400-800/ATARI400800_squared.TTF b/app/qml/fonts/1979-atari-400-800/ATARI400800_squared.TTF similarity index 100% rename from app/fonts/1979-atari-400-800/ATARI400800_squared.TTF rename to app/qml/fonts/1979-atari-400-800/ATARI400800_squared.TTF diff --git a/app/fonts/1979-atari-400-800/ReadMe.rtf b/app/qml/fonts/1979-atari-400-800/ReadMe.rtf similarity index 100% rename from app/fonts/1979-atari-400-800/ReadMe.rtf rename to app/qml/fonts/1979-atari-400-800/ReadMe.rtf diff --git a/app/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf b/app/qml/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf similarity index 100% rename from app/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf rename to app/qml/fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf diff --git a/app/fonts/1982-commodore64/license.txt b/app/qml/fonts/1982-commodore64/license.txt similarity index 100% rename from app/fonts/1982-commodore64/license.txt rename to app/qml/fonts/1982-commodore64/license.txt diff --git a/app/fonts/1985-atari-st/AtariST8x16SystemFont.ttf b/app/qml/fonts/1985-atari-st/AtariST8x16SystemFont.ttf similarity index 100% rename from app/fonts/1985-atari-st/AtariST8x16SystemFont.ttf rename to app/qml/fonts/1985-atari-st/AtariST8x16SystemFont.ttf diff --git a/app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf b/app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf similarity index 100% rename from app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf rename to app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf diff --git a/app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf b/app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf similarity index 100% rename from app/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf rename to app/qml/fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf diff --git a/app/fonts/1985-ibm-pc-vga/dos437.txt b/app/qml/fonts/1985-ibm-pc-vga/dos437.txt similarity index 100% rename from app/fonts/1985-ibm-pc-vga/dos437.txt rename to app/qml/fonts/1985-ibm-pc-vga/dos437.txt diff --git a/app/fonts/modern-terminus/TerminusTTF-4.38.2.ttf b/app/qml/fonts/modern-terminus/TerminusTTF-4.38.2.ttf similarity index 100% rename from app/fonts/modern-terminus/TerminusTTF-4.38.2.ttf rename to app/qml/fonts/modern-terminus/TerminusTTF-4.38.2.ttf diff --git a/app/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf b/app/qml/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf similarity index 100% rename from app/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf rename to app/qml/fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf diff --git a/app/frames/BlackRoughFrame.qml b/app/qml/frames/BlackRoughFrame.qml similarity index 100% rename from app/frames/BlackRoughFrame.qml rename to app/qml/frames/BlackRoughFrame.qml diff --git a/app/frames/NoFrame.qml b/app/qml/frames/NoFrame.qml similarity index 100% rename from app/frames/NoFrame.qml rename to app/qml/frames/NoFrame.qml diff --git a/app/frames/WhiteSimpleFrame.qml b/app/qml/frames/WhiteSimpleFrame.qml similarity index 100% rename from app/frames/WhiteSimpleFrame.qml rename to app/qml/frames/WhiteSimpleFrame.qml diff --git a/app/frames/images/black-frame-normals.png b/app/qml/frames/images/black-frame-normals.png similarity index 100% rename from app/frames/images/black-frame-normals.png rename to app/qml/frames/images/black-frame-normals.png diff --git a/app/frames/images/black-frame-original.png b/app/qml/frames/images/black-frame-original.png similarity index 100% rename from app/frames/images/black-frame-original.png rename to app/qml/frames/images/black-frame-original.png diff --git a/app/frames/images/black-frame.png b/app/qml/frames/images/black-frame.png similarity index 100% rename from app/frames/images/black-frame.png rename to app/qml/frames/images/black-frame.png diff --git a/app/frames/images/randfunction.png b/app/qml/frames/images/randfunction.png similarity index 100% rename from app/frames/images/randfunction.png rename to app/qml/frames/images/randfunction.png diff --git a/app/frames/images/screen-frame-normals.png b/app/qml/frames/images/screen-frame-normals.png similarity index 100% rename from app/frames/images/screen-frame-normals.png rename to app/qml/frames/images/screen-frame-normals.png diff --git a/app/frames/images/screen-frame-original.png b/app/qml/frames/images/screen-frame-original.png similarity index 100% rename from app/frames/images/screen-frame-original.png rename to app/qml/frames/images/screen-frame-original.png diff --git a/app/frames/images/screen-frame.png b/app/qml/frames/images/screen-frame.png similarity index 100% rename from app/frames/images/screen-frame.png rename to app/qml/frames/images/screen-frame.png diff --git a/app/frames/utils/FrameShader.qml b/app/qml/frames/utils/FrameShader.qml similarity index 100% rename from app/frames/utils/FrameShader.qml rename to app/qml/frames/utils/FrameShader.qml diff --git a/app/frames/utils/NoFrameShader.qml b/app/qml/frames/utils/NoFrameShader.qml similarity index 100% rename from app/frames/utils/NoFrameShader.qml rename to app/qml/frames/utils/NoFrameShader.qml diff --git a/app/frames/utils/TerminalFrame.qml b/app/qml/frames/utils/TerminalFrame.qml similarity index 100% rename from app/frames/utils/TerminalFrame.qml rename to app/qml/frames/utils/TerminalFrame.qml diff --git a/app/main.qml b/app/qml/main.qml similarity index 99% rename from app/main.qml rename to app/qml/main.qml index 7b02258..b55da31 100644 --- a/app/main.qml +++ b/app/qml/main.qml @@ -33,6 +33,8 @@ ApplicationWindow{ minimumWidth: 320 minimumHeight: 240 + visible: true + property bool fullscreen: shadersettings.fullscreen onFullscreenChanged: visibility = (fullscreen ? Window.FullScreen : Window.Windowed) diff --git a/app/qml/resources.qrc b/app/qml/resources.qrc new file mode 100644 index 0000000..1650e35 --- /dev/null +++ b/app/qml/resources.qrc @@ -0,0 +1,68 @@ + + + frames/BlackRoughFrame.qml + frames/NoFrame.qml + frames/images/black-frame.png + frames/images/screen-frame-normals.png + frames/images/black-frame-normals.png + frames/images/screen-frame.png + frames/images/black-frame-original.png + frames/images/randfunction.png + frames/images/screen-frame-original.png + frames/WhiteSimpleFrame.qml + frames/utils/FrameShader.qml + frames/utils/NoFrameShader.qml + frames/utils/TerminalFrame.qml + SizeOverlay.qml + ShaderTerminal.qml + CheckableSlider.qml + ApplicationSettings.qml + SettingsWindow.qml + Fonts.qml + FontPixels.qml + SettingsGeneralTab.qml + PreprocessedTerminal.qml + TimeManager.qml + SimpleSlider.qml + ColorButton.qml + Glossy.qml + AboutDialog.qml + InsertNameDialog.qml + SettingsEffectsTab.qml + main.qml + SettingsTerminalTab.qml + FontScanlines.qml + fonts/1982-commodore64/C64_Pro_v1.0-STYLE.ttf + fonts/1982-commodore64/license.txt + fonts/1982-commodore64/C64_Pro_Mono_v1.0-STYLE.ttf + fonts/1982-commodore64/C64_Elite_Mono_v1.0-STYLE.ttf + fonts/1982-commodore64/C64_User_Mono_v1.0-STYLE.ttf + fonts/1982-commodore64/C64_User_v1.0-STYLE.ttf + fonts/1977-apple2/FreeLicense.txt + fonts/1977-apple2/PRNumber3.ttf + fonts/1977-apple2/PrintChar21.ttf + fonts/1971-ibm-3278/README.md + fonts/1971-ibm-3278/LICENSE.txt + fonts/1971-ibm-3278/3270Medium.ttf + fonts/1985-atari-st/AtariST8x16SystemFont.ttf + fonts/modern-terminus/TerminusTTF-Bold-4.38.2.ttf + fonts/modern-terminus/TerminusTTF-4.38.2.ttf + fonts/1977-commodore-pet/FreeLicense.txt + fonts/1977-commodore-pet/COMMODORE_PET_128_2y.ttf + fonts/1977-commodore-pet/COMMODORE_PET.ttf + fonts/1977-commodore-pet/COMMODORE_PET_64_2y.ttf + fonts/1977-commodore-pet/COMMODORE_PET_2y.ttf + fonts/1977-commodore-pet/COMMODORE_PET_64.ttf + fonts/1977-commodore-pet/COMMODORE_PET_128.ttf + fonts/1977-commodore-pet/COMMODORE_PET_2x.ttf + fonts/1979-atari-400-800/ReadMe.rtf + fonts/1979-atari-400-800/ATARI400800_original.TTF + fonts/1979-atari-400-800/ATARI400800_squared.TTF + fonts/1979-atari-400-800/ATARI400800_rounded.TTF + fonts/1985-ibm-pc-vga/Perfect DOS VGA 437 Win.ttf + fonts/1985-ibm-pc-vga/Perfect DOS VGA 437.ttf + fonts/1985-ibm-pc-vga/dos437.txt + Storage.qml + + + diff --git a/cool-old-term b/cool-old-term deleted file mode 100755 index 9659e7e..0000000 --- a/cool-old-term +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -#This is a workaround for an ubuntu specific problem with appmenu-qt5. -QT_QPA_PLATFORMTHEME= -qmlscene -I $(dirname $0)/imports $(dirname $0)/app/main.qml diff --git a/cool-old-term.pro b/cool-old-term.pro index a478cea..73a5e6a 100644 --- a/cool-old-term.pro +++ b/cool-old-term.pro @@ -1,4 +1,4 @@ -TEMPLATE =subdirs -CONFIG += ordered -SUBDIRS= konsole-qml-plugin\ - app +TEMPLATE = subdirs + +SUBDIRS += app +SUBDIRS += konsole-qml-plugin diff --git a/konsole-qml-plugin/debian/changelog b/konsole-qml-plugin/debian/changelog deleted file mode 100644 index a4a741d..0000000 --- a/konsole-qml-plugin/debian/changelog +++ /dev/null @@ -1,29 +0,0 @@ -konsole-qml-plugin (0.1.2) raring; urgency=low - - * Fixed text display bug (LP:#1182503) - - -- Dmitry Zagnoyko Mon, 10 Jun 2013 09:49:02 +0300 - -konsole-qml-plugin (0.1.1) raring; urgency=low - - * Fixed issue with float values of widget size - * Added virtual key event for qml KSession component - - -- Dmitry Zagnoyko Mon, 06 May 2013 20:11:10 +0300 - -konsole-qml-plugin (0.1.0ubuntu1~quantal1~test2) quantal; urgency=low - - * Added qml properties for KTerminal - * Fixed visibility sope: removed konsole namespace - * Added qmltypes - * Fixed qml plugin path - * Added KSession class - - -- Dmitry Zagnoyko Sat, 20 Apr 2013 21:44:26 +0300 - -konsole-qml-plugin (0.1.0ubuntu1~quantal1~test1) quantal; urgency=low - - * Initial release - * Ported KDE Konsole - - -- Dmitry Zagnoyko Fri, 19 Apr 2013 20:22:12 +0300 diff --git a/konsole-qml-plugin/debian/compat b/konsole-qml-plugin/debian/compat deleted file mode 100644 index ec63514..0000000 --- a/konsole-qml-plugin/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/konsole-qml-plugin/debian/control b/konsole-qml-plugin/debian/control deleted file mode 100644 index 576cf99..0000000 --- a/konsole-qml-plugin/debian/control +++ /dev/null @@ -1,40 +0,0 @@ -Source: konsole-qml-plugin -Section: libs -Priority: optional -Maintainer: Ubuntu Developers -Build-Depends: debhelper (>= 9.0.0), -# libgl1-mesa-dev | libgl-dev, -# libgles2-mesa-dev - qtbase5-dev, - qtdeclarative5-dev, - qt5-default, -Standards-Version: 3.9.4 -Homepage: http://konsole.kde.org/ - -Package: qtdeclarative5-konsole-qml-plugin -Architecture: any -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} -Depends: ${misc:Depends}, ${shlibs:Depends}, -Description: KDE Konsole QML plugin - qml terminal plugin - Originaly, Konsole is a terminal emulator from KDE. This is ported - version and do not require KDE. - . - This package contains the Konsole terminal emulator plugin - for Qt Qml, which offers access to terminal by KTerminal and - KSession elements. KTerminal is used for displaying information - given by KSession. - - -#Package: konsole-qml-plugin-dbg -#Priority: extra -#Architecture: any -#Section: debug -#Depends: ${misc:Depends} -#Description: KDE Konsole QML plugin debugging symbols -# Originaly, Konsole is a terminal emulator from KDE. This is ported -# version without KDE tails and do not require KDE. -# . -# This package contains the debugging symbols for the KDE Konsole -# QML plugin. - diff --git a/konsole-qml-plugin/debian/copyright b/konsole-qml-plugin/debian/copyright deleted file mode 100644 index d94b50b..0000000 --- a/konsole-qml-plugin/debian/copyright +++ /dev/null @@ -1,50 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/3.0/ -Upstream-Name: konsole-qml-plugin -Source: - -Files: * -Copyright: 2013 Dmitry Zagnoyko - 2008 e_k - 2006-2008 Robert Knight - 2003-2007 Oswald Buddenhagen - 2000 Stephan Kulow - 1997-1998 Lars Doelle -License: GPL-3 - -Files: debian/* -Copyright: 2013 Dmitry Zagnoyko -License: LGPL-3 - -License: GPL-3 - This package is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License as published by the Free Software Foundation; either - version 3 of the License. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - . - On Debian systems, the complete text of the GNU General - Public License can be found in "/usr/share/common-licenses/GPL-3". - -License: LGPL-3 - This package is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 3 of the License. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this program. If not, see . - . - On Debian systems, the complete text of the GNU Lesser General - Public License can be found in "/usr/share/common-licenses/LGPL-3". diff --git a/konsole-qml-plugin/debian/rules b/konsole-qml-plugin/debian/rules deleted file mode 100755 index 63c23af..0000000 --- a/konsole-qml-plugin/debian/rules +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/make -f - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -#export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) -#export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) -#export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed - -override_dh_auto_configure: - QT_SELECT=qt5 dh_auto_configure - -%: - dh $@ --list-missing --parallel -# WARN: currently, no pakgage -# --dbg-package=konsole-qml-plugin-dbg - - -#override_dh_builddeb: -# dh_builddeb -- -Zxz - diff --git a/konsole-qml-plugin/debian/source/format b/konsole-qml-plugin/debian/source/format deleted file mode 100644 index 89ae9db..0000000 --- a/konsole-qml-plugin/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (native) diff --git a/konsole-qml-plugin/konsole-qml-plugin.pro b/konsole-qml-plugin/konsole-qml-plugin.pro index 3008d02..ff7eaab 100644 --- a/konsole-qml-plugin/konsole-qml-plugin.pro +++ b/konsole-qml-plugin/konsole-qml-plugin.pro @@ -15,7 +15,29 @@ TARGET = kdekonsole PLUGIN_IMPORT_PATH = org/kde/konsole PLUGIN_ASSETS = $$PWD/assets/* -INSTALL_DIR = ../imports +DESTDIR = $$OUT_PWD/../imports/$$PLUGIN_IMPORT_PATH + +# Copy additional plugin files +QMAKE_COPY = "cp -r" + +defineTest(copyToDestdir) { + files = $$1 + + for(FILE, files) { + DDIR = $$DESTDIR + + # Replace slashes in paths with backslashes for Windows + win32:FILE ~= s,/,\\,g + win32:DDIR ~= s,/,\\,g + + QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t) + } + + export(QMAKE_POST_LINK) +} + +copyToDestdir($$PLUGIN_ASSETS) +copyToDestdir($$PWD/src/qmldir) ######################################### ## SOURCES