From bebab5d86eb6a80b2417f70b43d1252340adfc84 Mon Sep 17 00:00:00 2001 From: Remy Chibois Date: Thu, 28 Apr 2016 16:06:26 +0200 Subject: [PATCH] added basic debian packaging support --- .gitignore | 3 ++- debian/README | 6 ++++++ debian/README.Debian | 6 ++++++ debian/README.source | 10 ++++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 14 ++++++++++++++ debian/copyright | 36 ++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/rules | 32 ++++++++++++++++++++++++++++++++ 10 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 debian/README create mode 100644 debian/README.Debian create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules diff --git a/.gitignore b/.gitignore index ad5aad3..ce3861e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,6 @@ !CMakeLists.txt !config.json !*.py +!debian/* -build \ No newline at end of file +build diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..5b58267 --- /dev/null +++ b/debian/README @@ -0,0 +1,6 @@ +The Debian Package jucipp +---------------------------- + +Comments regarding the Package + + -- Ole Christian Eidheim Thu, 28 Apr 2016 15:41:24 +0200 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..661f8e4 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +jucipp for Debian +----------------- + + + + -- Ole Christian Eidheim Thu, 28 Apr 2016 15:41:24 +0200 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..283254a --- /dev/null +++ b/debian/README.source @@ -0,0 +1,10 @@ +jucipp for Debian +----------------- + + + + + + -- Ole Christian Eidheim Thu, 28 Apr 2016 15:41:24 +0200 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7f83a11 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +jucipp (1.1.3) unstable; urgency=low + + * Initial Release. + + -- Ole Christian Eidheim Thu, 28 Apr 2016 15:41:24 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..aaa525d --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: jucipp +Section: unknown +Priority: optional +Maintainer: Ole Christian Eidheim +Build-Depends: debhelper (>= 9), cmake, make, g++, libclang-dev, liblldb-3.5-dev, clang-format-3.5, pkg-config, libboost-system-dev, libboost-thread-dev, libboost-filesystem-dev, libboost-log-dev, libboost-regex-dev, libgtksourceviewmm-3.0-dev, aspell-en, libaspell-dev +Standards-Version: 3.9.5 +Homepage: https://github.com/cppit/jucipp + +Package: jucipp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: a lightweight, cross-platform C++11/14/17 IDE + a lightweight, platform independent C++-IDE with support for C++11, C++14, + and experimental C++17 features depending on libclang version. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..81be7ac --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: jucipp +Source: + +Files: * +Copyright: + +License: MIT + +Files: debian/* +Copyright: 2016 Ole Christian Eidheim +License: MIT + +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. + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid to pick license terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..97ec64f --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +# main packaging script based on dh7 syntax +%: + dh $@ --parallel + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + + + +