Merge ~a-volkov/kubuntu-packaging/+git/extra-cmake-modules:kubuntu_hirsute_staging into ~kubuntu-packagers/kubuntu-packaging/+git/extra-cmake-modules:kubuntu_hirsute_staging

Proposed by Alexander Volkov
Status: Needs review
Proposed branch: ~a-volkov/kubuntu-packaging/+git/extra-cmake-modules:kubuntu_hirsute_staging
Merge into: ~kubuntu-packagers/kubuntu-packaging/+git/extra-cmake-modules:kubuntu_hirsute_staging
Diff against target: 100 lines (+38/-12)
4 files modified
debian/control (+29/-8)
debian/extra-cmake-modules-doc.install (+1/-0)
debian/extra-cmake-modules.install (+2/-0)
debian/rules (+6/-4)
Reviewer Review Type Date Requested Status
Kubuntu Packagers Pending
Review via email: mp+394345@code.launchpad.net

This proposal supersedes a proposal from 2020-09-22.

To post a comment you must log in.
Revision history for this message
Jose Manuel Santamaria Lema (panfaust) wrote : Posted in a previous version of this proposal

NOTES (mostly for us, kubuntu devs reviewing the patch):

1. This change (move documentation to its own extra-cmake-modules-doc package) was included in the package from debian experimental src:extra-cmake-modules version 5.74.0-2

2. The package mentioned above is waiting in Debian's NEW queue: https://ftp-master.debian.org/new/extra-cmake-modules_5.74.0-2.html

3. In the source package mentioned above, extra-cmake-modules-doc declares a Breaks/Replaces against "extra-cmake-modules (>> 5.74.0-1)" I have the impression that this version is incorrect and the Breaks/Replaces should be declared against "extra-cmake-modules (>> 5.74.0-2)" because 5.74.0-2 would be the first package version in debian providing the split package.

4. Relevant commits from debian's git (in the order they were done):

https://salsa.debian.org/qt-kde-team/kde/extra-cmake-modules/-/commit/80bb8c1f6df1316adcc0b363f61195c89e374135

https://salsa.debian.org/qt-kde-team/kde/extra-cmake-modules/-/commit/c0865f8c7d38096c218ba8123e759f2f66f5895a

https://salsa.debian.org/qt-kde-team/kde/extra-cmake-modules/-/commit/8f77efe57e70d776c13e8710b0eb91a175df5cde

https://salsa.debian.org/qt-kde-team/kde/extra-cmake-modules/-/commit/81e87e653e8cb366da4b017929c98bf6628f1bec

https://salsa.debian.org/qt-kde-team/kde/extra-cmake-modules/-/commit/f491b24e8984506366c2b088a06f7b14ce6da858

Unmerged commits

07186d5... by Alexander Volkov

Extract extra-cmake-modules-doc package

Don't build it when nodoc profile is enabled.
This makes possible to build extra-cmake-modules without rather
heavy dependency on python-sphinx. Besides, the binary package
extra-cmake-modules will not depend on libjs-underscore and
node-jquery.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/control b/debian/control
index ddbd1be..84d0a31 100644
--- a/debian/control
+++ b/debian/control
@@ -6,14 +6,14 @@ Uploaders: Maximiliano Curia <maxy@debian.org>
6Build-Depends: cmake (>= 2.8.12~),6Build-Depends: cmake (>= 2.8.12~),
7 debhelper (>= 11~),7 debhelper (>= 11~),
8 dh-linktree,8 dh-linktree,
9 libjs-jquery,9 libjs-jquery <!nodoc>,
10 libjs-underscore,10 libjs-underscore <!nodoc>,
11 pkg-kde-tools (>= 0.15.16~),11 pkg-kde-tools (>= 0.15.16~),
12 python3-distutils,12 python3-distutils <!nodoc>,
13 python3-setuptools,13 python3-setuptools <!nodoc>,
14 python3-sphinx,14 python3-sphinx <!nodoc>,
15 python3-sphinxcontrib.qthelp,15 python3-sphinxcontrib.qthelp <!nodoc>,
16 python3-sphinxcontrib.serializinghtml,16 python3-sphinxcontrib.serializinghtml <!nodoc>,
17 qtdeclarative5-dev (>= 5.6.1),17 qtdeclarative5-dev (>= 5.6.1),
18 qttools5-dev (>= 5.6.1),18 qttools5-dev (>= 5.6.1),
19 qttools5-dev-tools (>= 5.6.1),19 qttools5-dev-tools (>= 5.6.1),
@@ -26,7 +26,7 @@ Package: extra-cmake-modules
26Architecture: any26Architecture: any
27Depends: ${misc:Depends},27Depends: ${misc:Depends},
28 ${shlibs:Depends},28 ${shlibs:Depends},
29Suggests: qt5-qmake, qtbase5-dev29Suggests: qt5-qmake, qtbase5-dev, extra-cmake-modules-doc
30Description: Extra modules and scripts for CMake30Description: Extra modules and scripts for CMake
31 Extra CMake Modules, or ECM, aims to augment CMake with additional modules. It31 Extra CMake Modules, or ECM, aims to augment CMake with additional modules. It
32 serves as both a staging ground for new modules before they are moved upstream32 serves as both a staging ground for new modules before they are moved upstream
@@ -37,3 +37,24 @@ Description: Extra modules and scripts for CMake
37 other projects will find it useful, and outside contributions are always37 other projects will find it useful, and outside contributions are always
38 welcome. The main rule for new modules is that there must be at least two38 welcome. The main rule for new modules is that there must be at least two
39 downstream users.39 downstream users.
40
41Package: extra-cmake-modules-doc
42Build-Profiles: <!nodoc>
43Architecture: all
44Multi-Arch: foreign
45Section: doc
46Depends: ${misc:Depends}
47Breaks: extra-cmake-modules (<< 5.77)
48Replaces: extra-cmake-modules (<< 5.77)
49Description: Extra modules and scripts for CMake
50 Extra CMake Modules, or ECM, aims to augment CMake with additional modules. It
51 serves as both a staging ground for new modules before they are moved upstream
52 to CMake and a place for modules that, for whatever reason, are not a good fit
53 for CMake itself.
54 .
55 It is primarily driven by the needs of the KDE community, but it is hoped that
56 other projects will find it useful, and outside contributions are always
57 welcome. The main rule for new modules is that there must be at least two
58 downstream users.
59 .
60 This package contains HTML documentation and man pages.
diff --git a/debian/extra-cmake-modules-doc.install b/debian/extra-cmake-modules-doc.install
40new file mode 10064461new file mode 100644
index 0000000..f3a3e78
--- /dev/null
+++ b/debian/extra-cmake-modules-doc.install
@@ -0,0 +1 @@
1usr/share/doc/ECM
diff --git a/debian/linktrees b/debian/extra-cmake-modules-doc.linktrees
0similarity index 100%2similarity index 100%
1rename from debian/linktrees3rename from debian/linktrees
2rename to debian/extra-cmake-modules-doc.linktrees4rename to debian/extra-cmake-modules-doc.linktrees
diff --git a/debian/extra-cmake-modules.install b/debian/extra-cmake-modules.install
3new file mode 1006445new file mode 100644
index 0000000..ceca159
--- /dev/null
+++ b/debian/extra-cmake-modules.install
@@ -0,0 +1,2 @@
1usr/share/ECM
2usr/share/man
diff --git a/debian/rules b/debian/rules
index 24d9561..c5653d9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,10 +10,12 @@ override_dh_auto_configure:
1010
11override_dh_install:11override_dh_install:
12 $(overridden_command)12 $(overridden_command)
13 rm debian/extra-cmake-modules/usr/share/doc/ECM/html/_static/jquery.js13ifeq (,$(filter $(DEB_BUILD_PROFILES),nodoc))
14 ln -s /usr/share/javascript/jquery/jquery.js debian/extra-cmake-modules/usr/share/doc/ECM/html/_static/jquery.js14 rm debian/extra-cmake-modules-doc/usr/share/doc/ECM/html/_static/jquery.js
15 rm debian/extra-cmake-modules/usr/share/doc/ECM/html/_static/underscore.js15 ln -s /usr/share/javascript/jquery/jquery.js debian/extra-cmake-modules-doc/usr/share/doc/ECM/html/_static/jquery.js
16 ln -s /usr/share/javascript/underscore/underscore.js debian/extra-cmake-modules/usr/share/doc/ECM/html/_static/underscore.js16 rm debian/extra-cmake-modules-doc/usr/share/doc/ECM/html/_static/underscore.js
17 ln -s /usr/share/javascript/underscore/underscore.js debian/extra-cmake-modules-doc/usr/share/doc/ECM/html/_static/underscore.js
18endif
1719
18override_dh_auto_test:20override_dh_auto_test:
19 # Disable dh_auto_test at build time21 # Disable dh_auto_test at build time

Subscribers

People subscribed via source and target branches