[neon/extras/grantlee/Neon/release] debian: give up on examples
Pino Toscano
null at kde.org
Mon Sep 2 17:01:22 BST 2024
Git commit 5d698750971bc4680bb679d9fd2b9291bf29f20a by Pino Toscano.
Committed on 11/09/2022 at 06:34.
Pushed by jriddell into branch 'Neon/release'.
give up on examples
M +5 -0 debian/changelog
D +0 -1 debian/libgrantlee5-dev.examples
D +0 -4 debian/libgrantlee5-dev.lintian-overrides
D +0 -17 debian/tests/build-examples
D +0 -3 debian/tests/control
https://invent.kde.org/neon/extras/grantlee/-/commit/5d698750971bc4680bb679d9fd2b9291bf29f20a
diff --git a/debian/changelog b/debian/changelog
index ffab66c..c77c788 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,11 @@ grantlee5 (5.2.0-4) UNRELEASED; urgency=medium
only when running dh_auto_test.
* Switch the watch file to version 4, no changes required.
* Remove inactive Uploaders.
+ * Since upstream never cared to make the examples buildable standalone, and
+ newer versions will make this even more difficult, then:
+ - stop shipping them in libgrantlee5-dev
+ - drop the build-examples autopkgtest
+ - remove lintian overrides for them
-- Debian Krap Maintainers <debian-qt-kde at lists.debian.org> Sun, 26 Sep 2021 17:36:19 +0200
diff --git a/debian/libgrantlee5-dev.examples b/debian/libgrantlee5-dev.examples
deleted file mode 100644
index e39721e..0000000
--- a/debian/libgrantlee5-dev.examples
+++ /dev/null
@@ -1 +0,0 @@
-examples/*
diff --git a/debian/libgrantlee5-dev.lintian-overrides b/debian/libgrantlee5-dev.lintian-overrides
deleted file mode 100644
index 4b16372..0000000
--- a/debian/libgrantlee5-dev.lintian-overrides
+++ /dev/null
@@ -1,4 +0,0 @@
-# each example is standalone
-libgrantlee5-dev: duplicate-files usr/share/doc/libgrantlee5-dev/examples/*
-# just an example, not a real usage of jQuery
-libgrantlee5-dev: embedded-javascript-library usr/share/doc/libgrantlee5-dev/examples/htmlapps/templates/shared/jquery-*.js *
diff --git a/debian/tests/build-examples b/debian/tests/build-examples
deleted file mode 100755
index 1c2d0fa..0000000
--- a/debian/tests/build-examples
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-set -e
-set -x
-
-EXAMPLESDIR="$PWD/examples"
-cd $AUTOPKGTEST_TMP
-
-examples="$(find $EXAMPLESDIR -mindepth 1 -maxdepth 1 -type d -printf '%f\n')"
-for example in ${examples}; do
- mkdir build-${example}
- pushd build-${example} >/dev/null
-
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON "$EXAMPLESDIR/${example}"
- make
-
- popd >/dev/null
-done
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index c571a43..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,3 +0,0 @@
-Tests: build-examples
-Depends: build-essential, cmake, libgrantlee5-dev, libqt5webkit5-dev, qttools5-dev, libqt5xmlpatterns5-dev
-Restrictions: allow-stderr
More information about the Neon-commits
mailing list