From cb9dc9de218981405527d61d87c29a98fb58920d Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Sun, 4 Sep 2016 15:43:23 +0200 Subject: [PATCH] Moving Cura 2.1 packaging to GitHub --- 2.1/Cura/README.Debian | 6 ++++++ 2.1/Cura/README.source | 10 ++++++++++ 2.1/Cura/changelog | 5 +++++ 2.1/Cura/compat | 1 + 2.1/Cura/control | 38 ++++++++++++++++++++++++++++++++++++++ 2.1/Cura/copyright | 38 ++++++++++++++++++++++++++++++++++++++ 2.1/Cura/docs | 1 + 2.1/Cura/rules | 27 +++++++++++++++++++++++++++ 8 files changed, 126 insertions(+) create mode 100644 2.1/Cura/README.Debian create mode 100644 2.1/Cura/README.source create mode 100644 2.1/Cura/changelog create mode 100644 2.1/Cura/compat create mode 100644 2.1/Cura/control create mode 100644 2.1/Cura/copyright create mode 100644 2.1/Cura/docs create mode 100755 2.1/Cura/rules diff --git a/2.1/Cura/README.Debian b/2.1/Cura/README.Debian new file mode 100644 index 0000000..3945927 --- /dev/null +++ b/2.1/Cura/README.Debian @@ -0,0 +1,6 @@ +cura for Debian +--------------- + + + + -- Thomas-Karl Pietrowski Thu, 30 Jul 2015 13:47:20 +0200 diff --git a/2.1/Cura/README.source b/2.1/Cura/README.source new file mode 100644 index 0000000..41f9171 --- /dev/null +++ b/2.1/Cura/README.source @@ -0,0 +1,10 @@ +cura for Debian +--------------- + + + + + + -- Thomas-Karl Pietrowski Thu, 30 Jul 2015 13:47:20 +0200 + diff --git a/2.1/Cura/changelog b/2.1/Cura/changelog new file mode 100644 index 0000000..53c7b40 --- /dev/null +++ b/2.1/Cura/changelog @@ -0,0 +1,5 @@ +cura (1:2.1.3-0) unstable; urgency=low + + * Initial release + + -- Thomas-Karl Pietrowski Thu, 30 Jul 2015 13:47:20 +0200 diff --git a/2.1/Cura/compat b/2.1/Cura/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/2.1/Cura/compat @@ -0,0 +1 @@ +9 diff --git a/2.1/Cura/control b/2.1/Cura/control new file mode 100644 index 0000000..125c710 --- /dev/null +++ b/2.1/Cura/control @@ -0,0 +1,38 @@ +Source: cura +Section: science +Priority: optional +Maintainer: Thomas-Karl Pietrowski +Build-Depends: debhelper (>= 9), cmake, dh-python, + python3-dev, + python3-uranium, uranium-tools, + qttools5-dev, qttools5-dev-tools, + gettext, + python3-pytest, pylint3, +Standards-Version: 3.9.6 +Homepage: https://ultimaker.com/en/products/cura-software +X-Python3-Version: >= 3.4 +Vcs-Git: https://github.com/Ultimaker/Cura.git +Vcs-Browser: https://github.com/Ultimaker/Cura + +Package: cura +Architecture: all +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${python3:Depends}, + cura-engine, + python3-uranium, + qml-module-qtqml-models2, + qml-module-qtquick-controls, + qml-module-qtquick-dialogs, +# needed packages for 2.1 - don't see messages about missing modules on 2.3/master + qml-module-qt-labs-folderlistmodel, + qml-module-qt-labs-settings, +Provides: + ${python3:Provides} +XB-Python3-Version: + ${python3:Versions} +Description: 3D printer / slicing GUI built on top of the Uranium framework + This is the new, shiny frontend for Cura. daid/Cura is the old legacy Cura that everyone knows and loves/hates. + . + We re-worked the whole GUI code at Ultimaker, because the old code started to become a unmaintainable. diff --git a/2.1/Cura/copyright b/2.1/Cura/copyright new file mode 100644 index 0000000..ef49a5c --- /dev/null +++ b/2.1/Cura/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cura +Source: + +Files: * +Copyright: + +License: + + + . + + +# If you want to use GPL v2 or later for the /debian/* files use +# the following clauses, or change it to suit. Delete these two lines +Files: debian/* +Copyright: 2015 Thomas-Karl Pietrowski +License: GPL-2+ + 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 2 of the License, or + (at your option) any later version. + . + 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 version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. diff --git a/2.1/Cura/docs b/2.1/Cura/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/2.1/Cura/docs @@ -0,0 +1 @@ +README.md diff --git a/2.1/Cura/rules b/2.1/Cura/rules new file mode 100755 index 0000000..1f224ec --- /dev/null +++ b/2.1/Cura/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +# output every command that modifies files on the build system. +export DH_VERBOSE = 1 + +DEB_PACKAGE_VERSION ?= $(shell dpkg-parsechangelog -SVersion | cut -f2 -d":" | cut -f1 -d"~") + +%: + dh $@ --with python3 --buildsystem=cmake --parallel + +override_dh_clean: + rm -fv debian/cura.sharedmimeinfo + dh_clean -O--buildsystem=cmake -O--parallel + +override_dh_install: + dh_install --fail-missing + +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \ + -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts/ \ + -DCURA_VERSION=$(DEB_PACKAGE_VERSION) \ + -DCURA_BUILDTYPE=PPA + +override_dh_installmime: + cp -fv cura.sharedmimeinfo debian/cura.sharedmimeinfo + dh_installmime -O--buildsystem=cmake -O--parallel