[neon/qt6/qt6-interfaceframework/Neon/unstable] debian: initial packaging

Carlos De Maine null at kde.org
Sat Jul 27 07:01:39 BST 2024


Git commit cf7795afd0996711f77f4145f14e1f324c15c416 by Carlos De Maine.
Committed on 27/07/2024 at 06:01.
Pushed by carlosdem into branch 'Neon/unstable'.

initial packaging

A  +5    -0    debian/changelog
A  +71   -0    debian/control
A  +0    -0    debian/not-installed
A  +8    -0    debian/qt6-interfaceframework-dev.install
A  +1    -0    debian/qt6-interfaceframework.install
A  +33   -0    debian/rules
A  +1    -0    debian/source/format
A  +2    -0    debian/watch

https://invent.kde.org/neon/qt6/qt6-interfaceframework/-/commit/cf7795afd0996711f77f4145f14e1f324c15c416

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..350ae95
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+qt6-interfaceframework (6.7.2-0neon) noble; urgency=medium
+
+  * Initial qt6 release
+
+ -- Carlos De Maine <carlosdemaine at gmail.com>  Sat, 27 Jul 2024 16:57:21 +1000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..fff8533
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,71 @@
+Source: qt6-interfaceframework
+Section: libs
+Priority: optional
+Maintainer: KDE neon <neon at kde.org>
+Build-Depends: cmake,
+               debhelper,
+               debhelper-compat (= 13),
+               mold,
+               ninja-build,
+               pkg-config,
+               pkg-kde-tools,
+               qt6-base-dev,
+Build-Depends-Indep: qt6-base-dev (>= 6.7~) <!nodoc>,
+                     qt6-documentation-tools (>= 6.7~) <!nodoc>,
+                     qt6-base-doc (>= 6.7~) <!nodoc>,
+Standards-Version: 4.6.2
+Homepage: https://www.qt.io/developers/
+Vcs-Browser: https://invent.kde.org/neon/qt6/qt6-interfaceframework
+Vcs-Git: https://invent.kde.org/neon/qt6/qt6-interfaceframework.git
+Rules-Requires-Root: no
+
+Package: qt6-interfaceframework
+Architecture: any
+Section: kde
+X-Neon-MergedPackage: true
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Qt Interface Framework Generator
+ Qt Interface Framework provides a way for you to describe interfaces using its own
+ Interface Definition Language (IDL) and then generate Qt/QML API code based on this
+ definition. This generator is based on the QFace library, that provides a generic
+ auto-generation framework.
+ .
+ Currently, Qt Interface Framework generator has the following limitations:
+ - There's no support for external C++ types, outside of the IDL, such as reusing a
+ QGeoCoordinate inside a QFace IDL.
+ - Defined Interfaces can't be used as types in properties or function arguments.
+ - The map<> type is not supported.
+ - Any default values provided directly in the QFace file are currently ignored.
+
+Package: qt6-interfaceframework-dev
+Architecture: any
+Section: kde
+X-Neon-MergedPackage: true
+Depends: qt6-base-dev,
+         qt6-interfaceframework (= ${binary:Version}),
+         ${misc:Depends}
+Description: Qt 6 MQTT 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 header development files used for building
+ Qt 6 Interface Framework based applications.
+
+Package: libqt6interfaceframework6
+Architecture: all
+Depends: qt6-interfaceframework
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: libqt6interfaceframework-dev
+Architecture: all
+Depends: qt6-interfaceframework-dev
+Description: Dummy transitional
+ Transitional dummy package.
+
+Package: libqt6interfaceframework6-examples
+Architecture: all
+Depends: qt6-interfaceframework
+Description: Dummy transitional
+ Transitional dummy package.
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..e69de29
diff --git a/debian/qt6-interfaceframework-dev.install b/debian/qt6-interfaceframework-dev.install
new file mode 100644
index 0000000..b06dd56
--- /dev/null
+++ b/debian/qt6-interfaceframework-dev.install
@@ -0,0 +1,8 @@
+usr/include/${DEB_HOST_MULTIARCH}/qt6/QtIFace/
+usr/lib/${DEB_HOST_MULTIARCH}/cmake/
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6IFace.so
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6IFace.prl
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/metatypes/
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/mkspecs/
+usr/lib/${DEB_HOST_MULTIARCH}/qt6/modules/
+usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/Qt6IFace.pc
diff --git a/debian/qt6-interfaceframework.install b/debian/qt6-interfaceframework.install
new file mode 100644
index 0000000..7dcbb29
--- /dev/null
+++ b/debian/qt6-interfaceframework.install
@@ -0,0 +1 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libQt6IFace.so.6*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ad6cc4e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+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))
+	extra_cmake_args += -DQT_HOST_PATH=/usr
+endif
+
+%:
+	dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-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..f2fab0d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/qt/qtinterfaceframework/tags .*/v?(\d.*)@ARCHIVE_EXT@


More information about the Neon-commits mailing list