[neon/qt6/qt6-canvaspainter/Neon/unstable] debian: Initial packaging

Carlos De Maine null at kde.org
Thu Jul 23 01:44:21 BST 2026


Git commit 70b57b2ba9a9c334e2888ff65102b9fbddb92a17 by Carlos De Maine.
Committed on 23/07/2026 at 00:44.
Pushed by carlosdem into branch 'Neon/unstable'.

Initial packaging

A  +1    -0    debian/.gitattributes
A  +1    -0    debian/.gitignore
A  +5    -0    debian/changelog
A  +100  -0    debian/control
A  +112  -0    debian/copyright
A  +0    -0    debian/not-installed
A  +10   -0    debian/qt6-canvaspainter-dev.install
A  +1    -0    debian/qt6-canvaspainter-doc.install
A  +2    -0    debian/qt6-canvaspainter.install
A  +1    -0    debian/qt6-canvaspainter.lintian-overrides
A  +40   -0    debian/rules
A  +1    -0    debian/source/format
A  +3    -0    debian/watch

https://invent.kde.org/neon/qt6/qt6-canvaspainter/-/commit/70b57b2ba9a9c334e2888ff65102b9fbddb92a17

diff --git a/debian/.gitattributes b/debian/.gitattributes
new file mode 100644
index 0000000..6a03163
--- /dev/null
+++ b/debian/.gitattributes
@@ -0,0 +1 @@
+changelog merge=dpkg-mergechangelogs
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..027271b
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1 @@
+files
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5f4bff2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+qt6-canvaspainter (6.11.1-0neon) resolute; urgency=medium
+
+  * Initial packaging
+
+ -- Carlos De Maine <carlosd.kde at gmail.com>  Wed, 20 May 2026 09:13:53 +1000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ebfe253
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,100 @@
+Source: qt6-canvaspainter
+Section: libs
+Priority: optional
+Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>
+Uploaders: Patrick Franz <deltaone at debian.org>, Lu YaNing <dluyaning at gmail.com>
+Build-Depends: cmake,
+               debhelper-compat (= 13),
+               libghc-iconv-dev,
+               libgl-dev,
+               libicu-dev,
+               libssl-dev,
+               libvulkan-dev [linux-any],
+               libxkbcommon-dev,
+               mold,
+               ninja-build,
+               pkgconf,
+               pkg-kde-tools,
+               pkg-kde-tools-neon,
+               qt6-base-dev (>= 6.11.1~),
+               qt6-declarative-dev (>= 6.11.1~),
+               qt6-shadertools-dev (>= 6.11.1~)
+Build-Depends-Indep: qt6-base-dev (>= 6.11~) <!nodoc>,
+                     qt6-tools (>= 6.11~) <!nodoc>,
+Standards-Version: 4.6.2
+Homepage: https://www.qt.io/developers/
+Vcs-Browser: https://salsa.debian.org/qt-kde-team/qt6/qt6-5compat
+Vcs-Git: https://salsa.debian.org/qt-kde-team/qt6/qt6-5compat.git
+Rules-Requires-Root: no
+
+Package: qt6-5compat
+Architecture: any
+Section: kde
+X-Neon-MergedPackage: true
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libqt6core5compat6,
+          qml6-module-qt5compat-graphicaleffects
+Description: Qt 6 Qt5Compat library
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the Qt 6 Core5Compat library.
+
+Package: qt6-5compat-dev
+Architecture: any
+Section: kde
+X-Neon-MergedPackage: true
+Pre-Depends: ${misc:Pre-Depends}
+Depends: qt6-5compat (= ${binary:Version}),
+         qt6-base-dev,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Breaks: libqt6core5compat6-dev (<< 6.4.1-2~),
+Replaces: libqt6core5compat6-dev (<< 6.4.1-2~),
+Description: Qt 6 Qt5Compat - development files
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the development files needed to build Qt 6 applications
+ using the Core5Compat library.
+
+Package: qt6-5compat-doc
+Architecture: all
+Section: kde
+X-Neon-MergedPackage: true
+Pre-Depends: ${misc:Pre-Depends}
+Depends: qt6-5compat-dev,
+         qt6-base-doc,
+         ${misc:Depends},
+Replaces: qt6-5compat-doc-html,
+Description: Qt 6 Qt5Compat - development files
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the d files documentation to help build Qt 6 applications
+ using the Core5Compat library.
+
+Package: libqt6core5compat6
+Architecture: all
+Depends: qt6-5compat, ${misc:Depends}
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: libqt6core5compat6-dev
+Architecture: all
+Depends: qt6-5compat-dev, ${misc:Depends}
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: qml6-module-qt5compat-graphicaleffects
+Architecture: all
+Depends: qt6-5compat, ${misc:Depends}
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: qt6-5compat-doc-html
+Architecture: all
+Depends: qt6-5compat-doc, ${misc:Depends}
+Description: Dummy transitional
+ Transitional dummy package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ed2773f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,112 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: qtcanvaspainter-everywhere-src
+Source: https://download.qt.io/official_releases/qt/*/submodules/
+
+Files: *
+Copyright: 2016-2020 The Qt Company Ltd.
+           2016-2018 Intel Corporation.
+           2019 Mail.ru Group.
+           2020 Marc Mutz <marc.mutz at kdab.com>
+License: LGPL-3 or GPL-2
+
+Files: debian/*
+Copyright: 2021 Patrick Franz <deltaone at debian.org>,
+           2021 Lu YaNing <dluyaning at gmail.com>
+License: LGPL-3 or GPL-2
+
+License: LGPL-3
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License version 3
+ as published by the Free Software Foundation.
+ .
+ This program 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 Lesser General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 3 can be found in /usr/share/common-licenses/LGPL-3.
+
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+ .
+ This program 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.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in /usr/share/common-licenses/GPL-2.
+
+License: GFDL-NIV-1.3
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ .
+ On Debian systems, the complete text of the GNU Free Documentation
+ License version 1.3 can be found in /usr/share/common-licenses/GFDL-1.3.
+
+License: GPL-3 with Qt-1.0 exception
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 3 as
+ published by the Free Software Foundation.
+ .
+ This program 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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in /usr/share/common-licenses/GPL-3.
+ .
+ The Qt Company GPL Exception 1.0
+ Exception 1:
+ .
+ As a special exception you may create a larger work which contains the
+ output of this application and distribute that work under terms of your
+ choice, so long as the work is not otherwise derived from or based on
+ this application and so long as the work does not in itself generate
+ output that contains the output from this application in its original
+ or modified form.
+ .
+ Exception 2:
+ .
+ As a special exception, you have permission to combine this application
+ with Plugins licensed under the terms of your choice, to produce an
+ executable, and to copy and distribute the resulting executable under
+ the terms of your choice. However, the executable must be accompanied
+ by a prominent notice offering all users of the executable the entire
+ source code to this application, excluding the source code of the
+ independent modules, but including any changes you have made to this
+ application, under the terms of this license.
+
+License: BSD-3-clause
+ You may use this file under the terms of the BSD license as follows:
+ .
+ "Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+   * Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+   * Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+   * Neither the name of The Qt Company Ltd and its Subsidiary(-ies) nor the
+     names of its contributors may be used to endorse or promote products
+     derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..e69de29
diff --git a/debian/qt6-canvaspainter-dev.install b/debian/qt6-canvaspainter-dev.install
new file mode 100644
index 0000000..fa5a980
--- /dev/null
+++ b/debian/qt6-canvaspainter-dev.install
@@ -0,0 +1,10 @@
+usr/include/
+usr/lib/${DEB_HOST_MULTIARCH}/cmake/
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6CoreCanvasPainter.prl
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6CoreCanvasPainter.so
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/metatypes/
+usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/examples
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/modules/
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/sbom/
diff --git a/debian/qt6-canvaspainter-doc.install b/debian/qt6-canvaspainter-doc.install
new file mode 100644
index 0000000..8536ff4
--- /dev/null
+++ b/debian/qt6-canvaspainter-doc.install
@@ -0,0 +1 @@
+usr/share/qt6/doc/
diff --git a/debian/qt6-canvaspainter.install b/debian/qt6-canvaspainter.install
new file mode 100644
index 0000000..d696fd5
--- /dev/null
+++ b/debian/qt6-canvaspainter.install
@@ -0,0 +1,2 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6CoreCanvasPainter.so.*
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/qml/QtCanvasPinter/
diff --git a/debian/qt6-canvaspainter.lintian-overrides b/debian/qt6-canvaspainter.lintian-overrides
new file mode 100644
index 0000000..b56b58c
--- /dev/null
+++ b/debian/qt6-canvaspainter.lintian-overrides
@@ -0,0 +1 @@
+package-name-doesnt-match-sonames libQt6CoreCanvasPainter
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b7a5104
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+export DH_VERBOSE = 1
+
+# Use already defined DEB_HOST_* variables.
+include /usr/share/dpkg/architecture.mk
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
+
+# QT_HOST_PATH isn't passed in cross-builds
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+	cmake_extra_args += \
+		-DQT_HOST_PATH=/usr \
+		-DQT_HOST_PATH_CMAKE_DIR=/usr/lib/$(DEB_BUILD_MULTIARCH)/cmake \
+		-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON
+endif
+
+%:
+	dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
+		-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
+		-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
+		-DQT_UNITY_BUILD=ON \
+		$(extra_cmake_args)
+
+override_dh_auto_build-indep:
+	dh_auto_build -- docs
+
+override_dh_auto_install-indep:
+	DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs
+	# Remove build path from index files.
+	find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
+               sed -i 's@$(CURDIR)/@@g' {} \;
+
+execute_after_dh_auto_install-arch:
+	# Reproducible builds: remove build paths from .prl files
+	sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt6*.prl
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f7d867a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/-/~/ \
+https://mirror.netcologne.de/qtproject/official_releases/qt/([\d\.]+)/([\d\.]+)(\d)/submodules/qtcanvaspainter-everywhere-src-([\d\.]+\d).tar.xz


More information about the Neon-commits mailing list