scripts for make debian source pacakge

This commit is contained in:
Roy Qu 2022-01-06 16:24:03 +08:00
parent b604e0d548
commit 4523e8017c
6 changed files with 120 additions and 0 deletions

19
packages/debian/builddeb.sh Executable file
View File

@ -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

View File

@ -0,0 +1,6 @@
redpanda-cpp (0.12.6-1) unstable; urgency=medium
* Initial release
-- Roy Qu (瞿华) <royqh1979@gmail.com> Thu, 6 Jan 2022 14:52:00 +0800

1
packages/debian/compat Normal file
View File

@ -0,0 +1 @@
12

29
packages/debian/control Normal file
View File

@ -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.

57
packages/debian/copyright Normal file
View File

@ -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 (瞿华) <royqh1979@gmail.com>
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 <jimp03@email.com>
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.

8
packages/debian/rules Executable file
View File

@ -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