Bug#953156: qtscxml-everywhere-src: Enable libqt5scxml5-private-dev package

2020-08-19 Thread Daniele E. Domenichelli
I noticed that the libqt5scxml5-private-dev package should also depend
on qtbase5-private-dev, since it includes files from this package.


Regards,
 Daniele



Bug#953156: qtscxml-everywhere-src: Enable libqt5scxml5-private-dev package

2020-03-05 Thread Daniele E. Domenichelli
Source: qtscxml-everywhere-src
Version: 5.12.5-2
Severity: normal
Tags: patch

Dear Maintainer,

The qtscxml-everywhere-src does not install the private headers like the
other qt5 packages. These files are required to build some other
packages (for example https://github.com/KDAB/KDStateMachineEditor).

It would be nice if these files were installed. I'm attaching a patch to
enable the libqt5scxml5-private-dev package containing these files.


Regards,
 Daniele


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (300, 'unstable'), (150, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
>From f712ecd79c78831c2fad8e92c2820b99c1b94e8f Mon Sep 17 00:00:00 2001
From: "Daniele E. Domenichelli" 
Date: Thu, 5 Mar 2020 12:31:02 +0100
Subject: [PATCH] Enable libqt5scxml5-private-dev package

---
 debian/control  | 19 +++
 debian/libqt5scxml5-private-dev.install |  2 ++
 debian/not-installed|  2 --
 3 files changed, 21 insertions(+), 2 deletions(-)
 create mode 100644 debian/libqt5scxml5-private-dev.install

diff --git a/debian/control b/debian/control
index f9a7a42..302e1d8 100644
--- a/debian/control
+++ b/debian/control
@@ -37,6 +37,25 @@ Description: Qt module for creating state machines from 
SCXML files development
  .
  This package contains the development files for qtscxml.
 
+Package: libqt5scxml5-private-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: libqt5scxml5-dev (= ${binary:Version}), ${misc:Depends}
+Breaks: qt5-qmake (<< 5.11.3+dfsg-3~), qtbase5-dev (<< 5.11.2+dfsg-4~)
+Replaces: qt5-qmake (<< 5.11.3+dfsg-3~), qtbase5-dev (<< 5.11.2+dfsg-4~)
+Description: Qt module for creating state machines from SCXML files private 
development
+ The Qt SCXML module provides functionality to create state
+ machines from SCXML files. This includes both dynamically
+ creating state machines (loading the SCXML file and instantiating
+ states and transitions) and generating a C++ file that has a class
+ implementing the state machine. It also contains functionality
+ to support data models and executable content.
+ .
+ This package contains the private header development files.
+ .
+ Use at your own risk.
+
 Package: libqt5scxml5-bin
 Architecture: any
 Section: utils
diff --git a/debian/libqt5scxml5-private-dev.install 
b/debian/libqt5scxml5-private-dev.install
new file mode 100644
index 000..25d4c0e
--- /dev/null
+++ b/debian/libqt5scxml5-private-dev.install
@@ -0,0 +1,2 @@
+usr/include/*/qt5/QtScxml/5.*/*
+usr/lib/*/qt5/mkspecs/modules/qt_lib_scxml_private.pri
diff --git a/debian/not-installed b/debian/not-installed
index 8f3b6af..2a34c31 100644
--- a/debian/not-installed
+++ b/debian/not-installed
@@ -1,3 +1 @@
-usr/include/*/qt5/QtScxml/5.*
 usr/lib/*/libQt5Scxml.la
-usr/lib/*/qt5/mkspecs/modules/qt_lib_scxml_private.pri
-- 
2.25.0