diff --git a/packages/debian/builddeb.sh b/packages/debian/builddeb.sh new file mode 100755 index 00000000..6ca77df2 --- /dev/null +++ b/packages/debian/builddeb.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +TMP_FOLDER=/tmp/redpandaide +mkdir $TMP_FOLDER + +cp -r packages/debian $TMP_FOLDER +cp -r astyle $TMP_FOLDER +cp -r consolepauser $TMP_FOLDER +cp -r RedPandaIDE $TMP_FOLDER +cp README.md $TMP_FOLDER +cp LICENSE $TMP_FOLDER +cp NEWS.md $TMP_FOLDER +cp redpandaide.desktop.in $TMP_FOLDER +cp -r templates $TMP_FOLDER +cp Red_Panda_CPP.pro $TMP_FOLDER +cp linux $TMP_FOLDER + +cd $TMP_FOLDER +dpkg-buildpackage -us -uc diff --git a/packages/debian/changelog b/packages/debian/changelog new file mode 100644 index 00000000..67b024ea --- /dev/null +++ b/packages/debian/changelog @@ -0,0 +1,6 @@ +redpanda-cpp (0.12.6-1) unstable; urgency=medium + + * Initial release + + -- Roy Qu (瞿华) Thu, 6 Jan 2022 14:52:00 +0800 + diff --git a/packages/debian/compat b/packages/debian/compat new file mode 100644 index 00000000..48082f72 --- /dev/null +++ b/packages/debian/compat @@ -0,0 +1 @@ +12 diff --git a/packages/debian/control b/packages/debian/control new file mode 100644 index 00000000..dc90cda8 --- /dev/null +++ b/packages/debian/control @@ -0,0 +1,29 @@ +Source: redpanda-cpp +Section: devel +Priority: optional +Maintainer: royqh1979@gmail.com +Build-Depends: debhelper (>= 12~), + qtbase5-dev, + qtbase5-dev-tools, + libicu-dev, + libqt5svg5-dev +Standards-Version: 4.3.0 +Homepage: https://github.com/royqh1979/RedPanda-CPP + +Package: redpanda-cpp +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + gcc, + g++, + make, + gdb, + gdb-server, + qterminal +Description: A lightweight but powerful C/C++ IDE + Red Panda C++ (Old name Red Panda Dev-C++ 7) is a full featured C/C++ IDE. + It's the succesor of Red Panda Dev-C++ 6, which is developed by Delphi 7 and + can only running under Windows. + + + diff --git a/packages/debian/copyright b/packages/debian/copyright new file mode 100644 index 00000000..e547608b --- /dev/null +++ b/packages/debian/copyright @@ -0,0 +1,57 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: redpanda-cpp +Source: https://github.com/royqh1979/RedPanda-CPP + +Files: * +Copyright: 2020-2022 Roy Qu (瞿华) +License: GPL-3+ + This program 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, or + (at your option) any later version. + . + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in `/usr/share/common-licenses/GPL-3'. + +Files: RedPanda/SimpleIni.h +Copyright: 2006-2012 Brodie Thiesfield +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +Files: asytle/* +Copyright: 2018 Jim Patee +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + diff --git a/packages/debian/rules b/packages/debian/rules new file mode 100755 index 00000000..d292cde0 --- /dev/null +++ b/packages/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +#DH_VERBOSE = 1 + +export QT_SELECT=qt5 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh ${@} --buildsystem qmake