From 013e9d67629fc38a4c205c6900959fd85eed84ee Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Wed, 4 Feb 2026 04:05:29 +0100
Subject: DEB kpilot: Changes to silence lintian reports.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

+ Added build time dependencies.
+ Added reason for epoch change to changelog.
+ Remove Replaces and Breaks referring to themselves.
+ Remove the dbg package in favor of the now standard dbgsym.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 .../applications/office/kpilot/debian/changelog    |  7 +++++++
 .../applications/office/kpilot/debian/control      | 21 ++++----------------
 .../applications/office/kpilot/debian/copyright    |  8 +++-----
 .../office/kpilot/debian/kpilot-trinity.install    |  1 -
 .../office/kpilot/debian/lintian-overrides         |  5 +++++
 .../office/kpilot/debian/source.lintian-overrides  |  9 +++++++++
 .../applications/office/kpilot/debian/changelog    |  7 +++++++
 .../applications/office/kpilot/debian/control      | 23 ++++++----------------
 .../applications/office/kpilot/debian/copyright    |  8 +++-----
 .../office/kpilot/debian/kpilot-trinity.install    |  1 -
 .../office/kpilot/debian/lintian-overrides         |  5 +++++
 .../office/kpilot/debian/source.lintian-overrides  |  9 +++++++++
 12 files changed, 58 insertions(+), 46 deletions(-)
 delete mode 100644 debian/_base/applications/office/kpilot/debian/kpilot-trinity.install
 create mode 100644 debian/_base/applications/office/kpilot/debian/lintian-overrides
 create mode 100644 debian/_base/applications/office/kpilot/debian/source.lintian-overrides
 delete mode 100644 ubuntu/_base/applications/office/kpilot/debian/kpilot-trinity.install
 create mode 100644 ubuntu/_base/applications/office/kpilot/debian/lintian-overrides
 create mode 100644 ubuntu/_base/applications/office/kpilot/debian/source.lintian-overrides

diff --git a/debian/_base/applications/office/kpilot/debian/changelog b/debian/_base/applications/office/kpilot/debian/changelog
index 033be0529..6334e2fb8 100644
--- a/debian/_base/applications/office/kpilot/debian/changelog
+++ b/debian/_base/applications/office/kpilot/debian/changelog
@@ -1,3 +1,10 @@
+kpilot-trinity (4:14.1.6~pre1-0) forky; urgency=low
+
+  * Remove the dbg package in favor of the now standard dbgsym.
+  * The epoch change is for historical reasons from the KDE3 era.
+
+ -- Slávek Banko <slavek.banko@axis.cz>  Web, 04 Feb 2026 03:55:40 +0100
+
 kpilot-trinity (0.7-0ubuntu0) karmic; urgency=low
 
   * Karmic rebuild
diff --git a/debian/_base/applications/office/kpilot/debian/control b/debian/_base/applications/office/kpilot/debian/control
index 5cfe8c43d..efc9654ff 100644
--- a/debian/_base/applications/office/kpilot/debian/control
+++ b/debian/_base/applications/office/kpilot/debian/control
@@ -2,30 +2,17 @@ Source: kpilot-trinity
 Section: tde
 Priority: optional
 Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
-Build-Depends: tde-cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build,
+Build-Depends: cdbs, tde-cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build,
  tdelibs14-trinity-dev, tdepim-trinity-dev, libpisock-dev
 Standards-Version: 3.8.4
 
 Package: kpilot-trinity
 Section: utils
 Architecture: any
-Replaces: kpilot-trinity (<< 4:14.0.0~)
-Breaks: kpilot-trinity (<< 4:14.0.0~)
 Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (>= 0.5) | debconf-2.0
 Suggests: knotes-trinity, korganizer-trinity
 Description: TDE Palm Pilot hot-sync tool
  KPilot is an application that synchronizes your Palm Pilot or similar device
- (like the Handspring Visor) with your Trinity desktop, much like the Palm HotSync
- software does for Windows.  KPilot can back-up and restore your Palm Pilot
- and synchronize the built-in applications with their TDE counterparts.
-
-Package: kpilot-trinity-dbg
-Priority: extra
-Architecture: any
-Depends: kpilot-trinity (= ${binary:Version})
-Recommends: tdelibs-trinity-dbg
-Description: debugging symbols for the TDE Palm Pilot hot-sync tool
- This package provides debugging symbols for all binary packages built from the
- kpilot-trinity source package. It's highly recommended to have this package installed
- before reporting any kpilot-trinity crashes to either the TDE developers or Debian
- package maintainers.
+ (like the Handspring Visor) with your Trinity desktop, much like the Palm
+ HotSync software does for Windows.  KPilot can back-up and restore your Palm
+ Pilot and synchronize the built-in applications with their TDE counterparts.
diff --git a/debian/_base/applications/office/kpilot/debian/copyright b/debian/_base/applications/office/kpilot/debian/copyright
index 86dcae02e..a244ebaf1 100644
--- a/debian/_base/applications/office/kpilot/debian/copyright
+++ b/debian/_base/applications/office/kpilot/debian/copyright
@@ -24,8 +24,7 @@ License:
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
-  along with this package; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+  along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 On Debian systems, the complete text of the GNU General Public License 
 can be found in '/usr/share/common-licenses/GPL'.
@@ -43,9 +42,8 @@ Various files in the admin directory are covered by the GNU LGPL:
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.
 
-  You should have received a copy of the GNU Lesser General Public
-  License along with this package; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+  You should have received a copy of the GNU Lesser Public License
+  along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in `/usr/share/common-licenses/LGPL'.
diff --git a/debian/_base/applications/office/kpilot/debian/kpilot-trinity.install b/debian/_base/applications/office/kpilot/debian/kpilot-trinity.install
deleted file mode 100644
index bd25c982e..000000000
--- a/debian/_base/applications/office/kpilot/debian/kpilot-trinity.install
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/opt/trinity
diff --git a/debian/_base/applications/office/kpilot/debian/lintian-overrides b/debian/_base/applications/office/kpilot/debian/lintian-overrides
new file mode 100644
index 000000000..adaf622d2
--- /dev/null
+++ b/debian/_base/applications/office/kpilot/debian/lintian-overrides
@@ -0,0 +1,5 @@
+# We are intentionally installing to /opt, so we have to live with that for now.
+kpilot-trinity: dir-or-file-in-opt
+
+# Actually, trigger is not unnecessary because of dynamic modules like tdepart.
+kpilot-trinity: package-has-unnecessary-activation-of-ldconfig-trigger
diff --git a/debian/_base/applications/office/kpilot/debian/source.lintian-overrides b/debian/_base/applications/office/kpilot/debian/source.lintian-overrides
new file mode 100644
index 000000000..626c62c97
--- /dev/null
+++ b/debian/_base/applications/office/kpilot/debian/source.lintian-overrides
@@ -0,0 +1,9 @@
+# We build for many distribution versions and therefore need
+# the distribution version as part of the package version,
+# which is unintentionally understood as NMU.
+kpilot-trinity source: source-nmu-has-incorrect-version-number
+kpilot-trinity source: binary-nmu-debian-revision-in-source
+kpilot-trinity source: no-nmu-in-changelog
+
+# We want XZ regardless of the default compression.
+kpilot-trinity source: custom-compression-in-debian-source-options
diff --git a/ubuntu/_base/applications/office/kpilot/debian/changelog b/ubuntu/_base/applications/office/kpilot/debian/changelog
index 033be0529..6334e2fb8 100644
--- a/ubuntu/_base/applications/office/kpilot/debian/changelog
+++ b/ubuntu/_base/applications/office/kpilot/debian/changelog
@@ -1,3 +1,10 @@
+kpilot-trinity (4:14.1.6~pre1-0) forky; urgency=low
+
+  * Remove the dbg package in favor of the now standard dbgsym.
+  * The epoch change is for historical reasons from the KDE3 era.
+
+ -- Slávek Banko <slavek.banko@axis.cz>  Web, 04 Feb 2026 03:55:40 +0100
+
 kpilot-trinity (0.7-0ubuntu0) karmic; urgency=low
 
   * Karmic rebuild
diff --git a/ubuntu/_base/applications/office/kpilot/debian/control b/ubuntu/_base/applications/office/kpilot/debian/control
index 6e7612f31..44723bc47 100644
--- a/ubuntu/_base/applications/office/kpilot/debian/control
+++ b/ubuntu/_base/applications/office/kpilot/debian/control
@@ -2,30 +2,19 @@ Source: kpilot-trinity
 Section: tde
 Priority: optional
 Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
-Build-Depends: tde-cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build,
+Build-Depends: cdbs, tde-cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build,
  tdelibs14-trinity-dev, tdepim-trinity-dev, libpisock-dev
 Standards-Version: 3.8.4
 
 Package: kpilot-trinity
 Section: utils
 Architecture: any
-Replaces: kpilot-kde3 (<< 4:14.0.0~), kpilot-trinity (<< 4:14.0.0~)
-Breaks: kpilot-kde3 (<< 4:14.0.0~), kpilot-trinity (<< 4:14.0.0~)
+Replaces: kpilot-kde3 (<< 4:14.0.0~)
+Breaks: kpilot-kde3 (<< 4:14.0.0~)
 Depends: ${shlibs:Depends}, ${misc:Depends}, debconf (>= 0.5) | debconf-2.0
 Suggests: knotes-trinity, korganizer-trinity
 Description: TDE Palm Pilot hot-sync tool
  KPilot is an application that synchronizes your Palm Pilot or similar device
- (like the Handspring Visor) with your Trinity desktop, much like the Palm HotSync
- software does for Windows.  KPilot can back-up and restore your Palm Pilot
- and synchronize the built-in applications with their TDE counterparts.
-
-Package: kpilot-trinity-dbg
-Priority: extra
-Architecture: any
-Depends: kpilot-trinity (= ${binary:Version})
-Recommends: tdelibs-trinity-dbg
-Description: debugging symbols for the TDE Palm Pilot hot-sync tool
- This package provides debugging symbols for all binary packages built from the
- kpilot-trinity source package. It's highly recommended to have this package installed
- before reporting any kpilot-trinity crashes to either the TDE developers or Debian
- package maintainers.
+ (like the Handspring Visor) with your Trinity desktop, much like the Palm
+ HotSync software does for Windows.  KPilot can back-up and restore your Palm
+ Pilot and synchronize the built-in applications with their TDE counterparts.
diff --git a/ubuntu/_base/applications/office/kpilot/debian/copyright b/ubuntu/_base/applications/office/kpilot/debian/copyright
index 86dcae02e..a244ebaf1 100644
--- a/ubuntu/_base/applications/office/kpilot/debian/copyright
+++ b/ubuntu/_base/applications/office/kpilot/debian/copyright
@@ -24,8 +24,7 @@ License:
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
-  along with this package; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+  along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 On Debian systems, the complete text of the GNU General Public License 
 can be found in '/usr/share/common-licenses/GPL'.
@@ -43,9 +42,8 @@ Various files in the admin directory are covered by the GNU LGPL:
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.
 
-  You should have received a copy of the GNU Lesser General Public
-  License along with this package; if not, write to the Free Software
-  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+  You should have received a copy of the GNU Lesser Public License
+  along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in `/usr/share/common-licenses/LGPL'.
diff --git a/ubuntu/_base/applications/office/kpilot/debian/kpilot-trinity.install b/ubuntu/_base/applications/office/kpilot/debian/kpilot-trinity.install
deleted file mode 100644
index bd25c982e..000000000
--- a/ubuntu/_base/applications/office/kpilot/debian/kpilot-trinity.install
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/opt/trinity
diff --git a/ubuntu/_base/applications/office/kpilot/debian/lintian-overrides b/ubuntu/_base/applications/office/kpilot/debian/lintian-overrides
new file mode 100644
index 000000000..adaf622d2
--- /dev/null
+++ b/ubuntu/_base/applications/office/kpilot/debian/lintian-overrides
@@ -0,0 +1,5 @@
+# We are intentionally installing to /opt, so we have to live with that for now.
+kpilot-trinity: dir-or-file-in-opt
+
+# Actually, trigger is not unnecessary because of dynamic modules like tdepart.
+kpilot-trinity: package-has-unnecessary-activation-of-ldconfig-trigger
diff --git a/ubuntu/_base/applications/office/kpilot/debian/source.lintian-overrides b/ubuntu/_base/applications/office/kpilot/debian/source.lintian-overrides
new file mode 100644
index 000000000..626c62c97
--- /dev/null
+++ b/ubuntu/_base/applications/office/kpilot/debian/source.lintian-overrides
@@ -0,0 +1,9 @@
+# We build for many distribution versions and therefore need
+# the distribution version as part of the package version,
+# which is unintentionally understood as NMU.
+kpilot-trinity source: source-nmu-has-incorrect-version-number
+kpilot-trinity source: binary-nmu-debian-revision-in-source
+kpilot-trinity source: no-nmu-in-changelog
+
+# We want XZ regardless of the default compression.
+kpilot-trinity source: custom-compression-in-debian-source-options
-- 
cgit v1.2.3

