Moving Cura 2.1 packaging to GitHub

This commit is contained in:
Thomas Karl Pietrowski 2016-09-04 15:43:23 +02:00
parent b2f1e36f2c
commit cb9dc9de21
8 changed files with 126 additions and 0 deletions

6
2.1/Cura/README.Debian Normal file
View File

@ -0,0 +1,6 @@
cura for Debian
---------------
<possible notes regarding this package - if none, delete this file>
-- Thomas-Karl Pietrowski <thopiekar@unknown> Thu, 30 Jul 2015 13:47:20 +0200

10
2.1/Cura/README.source Normal file
View File

@ -0,0 +1,10 @@
cura for Debian
---------------
<this file describes information about the source package, see Debian policy
manual section 4.14. You WILL either need to modify or delete this file>
-- Thomas-Karl Pietrowski <thopiekar@unknown> Thu, 30 Jul 2015 13:47:20 +0200

5
2.1/Cura/changelog Normal file
View File

@ -0,0 +1,5 @@
cura (1:2.1.3-0) unstable; urgency=low
* Initial release
-- Thomas-Karl Pietrowski <thopiekar@googlemail.com> Thu, 30 Jul 2015 13:47:20 +0200

1
2.1/Cura/compat Normal file
View File

@ -0,0 +1 @@
9

38
2.1/Cura/control Normal file
View File

@ -0,0 +1,38 @@
Source: cura
Section: science
Priority: optional
Maintainer: Thomas-Karl Pietrowski <thopiekar@googlemail.com>
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.

38
2.1/Cura/copyright Normal file
View File

@ -0,0 +1,38 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cura
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: <special license>
<Put the license of the package here indented by 1 space>
<This follows the format of Description: lines in control file>
.
<Including paragraphs>
# 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 <thopiekar@unknown>
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 <https://www.gnu.org/licenses/>
.
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.

1
2.1/Cura/docs Normal file
View File

@ -0,0 +1 @@
README.md

27
2.1/Cura/rules Executable file
View File

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