From ccfb74f4bde8132422c7921a2c4d2bdf2f15ef52 Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Fri, 26 Dec 2025 21:41:11 +0100
Subject: DEB tdegames: Bump libtdegames SO version. This relates to API/ABI
 change from TDE/tdegames#58.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 debian/_base/core/tdegames/debian/control                      | 6 ++----
 debian/_base/core/tdegames/debian/libtdegames1-trinity.install | 1 -
 debian/_base/core/tdegames/debian/libtdegames4-trinity.install | 1 +
 dilos/core/tdegames/debian/control                             | 6 ++----
 dilos/core/tdegames/debian/libtdegames1-trinity.install        | 1 -
 dilos/core/tdegames/debian/libtdegames4-trinity.install        | 1 +
 ubuntu/_base/core/tdegames/debian/control                      | 6 ++----
 ubuntu/_base/core/tdegames/debian/libtdegames1-trinity.install | 1 -
 ubuntu/_base/core/tdegames/debian/libtdegames4-trinity.install | 1 +
 9 files changed, 9 insertions(+), 15 deletions(-)
 delete mode 100644 debian/_base/core/tdegames/debian/libtdegames1-trinity.install
 create mode 100644 debian/_base/core/tdegames/debian/libtdegames4-trinity.install
 delete mode 100644 dilos/core/tdegames/debian/libtdegames1-trinity.install
 create mode 100644 dilos/core/tdegames/debian/libtdegames4-trinity.install
 delete mode 100644 ubuntu/_base/core/tdegames/debian/libtdegames1-trinity.install
 create mode 100644 ubuntu/_base/core/tdegames/debian/libtdegames4-trinity.install

diff --git a/debian/_base/core/tdegames/debian/control b/debian/_base/core/tdegames/debian/control
index 0159cbe11..8bf1444f6 100644
--- a/debian/_base/core/tdegames/debian/control
+++ b/debian/_base/core/tdegames/debian/control
@@ -46,12 +46,10 @@ Description: TDE games documentation in HTML format
  This package is part of TDE, and a component of the TDE games module.
  See the 'tde-trinity' and 'tdegames-trinity' packages for more information.
 
-Package: libtdegames1-trinity
+Package: libtdegames4-trinity
 Architecture: any
 Multi-Arch: no
 Section: games
-Replaces: libkdegames1-trinity (<< 4:14.0.0~)
-Breaks: libkdegames1-trinity (<< 4:14.0.0~)
 Depends: ${shlibs:Depends}, libtdegames-data-trinity
 Description: Trinity games library
  This library provides a common infrastructure for several of the
@@ -94,7 +92,7 @@ Multi-Arch: no
 Section: libdevel
 Replaces: libkdegames-trinity-dev (<< 4:14.0.0~)
 Breaks: libkdegames-trinity-dev (<< 4:14.0.0~)
-Depends: tdelibs14-trinity-dev, libtdegames1-trinity (= ${source:Version})
+Depends: tdelibs14-trinity-dev, libtdegames4-trinity (= ${source:Version})
 Description: Trinity games library headers
  This package is necessary if you want to develop your own games using
  the TDE games library.
diff --git a/debian/_base/core/tdegames/debian/libtdegames1-trinity.install b/debian/_base/core/tdegames/debian/libtdegames1-trinity.install
deleted file mode 100644
index d5fbbc4a5..000000000
--- a/debian/_base/core/tdegames/debian/libtdegames1-trinity.install
+++ /dev/null
@@ -1 +0,0 @@
-/opt/trinity/lib/libtdegames.so.*
diff --git a/debian/_base/core/tdegames/debian/libtdegames4-trinity.install b/debian/_base/core/tdegames/debian/libtdegames4-trinity.install
new file mode 100644
index 000000000..d5fbbc4a5
--- /dev/null
+++ b/debian/_base/core/tdegames/debian/libtdegames4-trinity.install
@@ -0,0 +1 @@
+/opt/trinity/lib/libtdegames.so.*
diff --git a/dilos/core/tdegames/debian/control b/dilos/core/tdegames/debian/control
index d72dde644..051905242 100644
--- a/dilos/core/tdegames/debian/control
+++ b/dilos/core/tdegames/debian/control
@@ -46,12 +46,10 @@ Description: TDE games documentation in HTML format
  This package is part of TDE, and a component of the TDE games module.
  See the 'tde-trinity' and 'tdegames-trinity' packages for more information.
 
-Package: libtdegames1-trinity
+Package: libtdegames4-trinity
 Architecture: any
 Multi-Arch: same
 Section: games
-Replaces: libkdegames1-trinity (<< 4:14.0.0~)
-Breaks: libkdegames1-trinity (<< 4:14.0.0~)
 Depends: ${shlibs:Depends}, libtdegames-data-trinity
 Description: Trinity games library
  This library provides a common infrastructure for several of the
@@ -94,7 +92,7 @@ Multi-Arch: no
 Section: libdevel
 Replaces: libkdegames-trinity-dev (<< 4:14.0.0~)
 Breaks: libkdegames-trinity-dev (<< 4:14.0.0~)
-Depends: tdelibs14-trinity-dev, libtdegames1-trinity (= ${source:Version})
+Depends: tdelibs14-trinity-dev, libtdegames4-trinity (= ${source:Version})
 Description: Trinity games library headers
  This package is necessary if you want to develop your own games using
  the TDE games library.
diff --git a/dilos/core/tdegames/debian/libtdegames1-trinity.install b/dilos/core/tdegames/debian/libtdegames1-trinity.install
deleted file mode 100644
index e42b89edb..000000000
--- a/dilos/core/tdegames/debian/libtdegames1-trinity.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/*/libtdegames.so.*
diff --git a/dilos/core/tdegames/debian/libtdegames4-trinity.install b/dilos/core/tdegames/debian/libtdegames4-trinity.install
new file mode 100644
index 000000000..e42b89edb
--- /dev/null
+++ b/dilos/core/tdegames/debian/libtdegames4-trinity.install
@@ -0,0 +1 @@
+/usr/lib/*/libtdegames.so.*
diff --git a/ubuntu/_base/core/tdegames/debian/control b/ubuntu/_base/core/tdegames/debian/control
index 011bc802a..3bc3374fc 100644
--- a/ubuntu/_base/core/tdegames/debian/control
+++ b/ubuntu/_base/core/tdegames/debian/control
@@ -46,12 +46,10 @@ Description: TDE games documentation in HTML format
  This package is part of TDE, and a component of the TDE games module.
  See the 'tde-trinity' and 'tdegames-trinity' packages for more information.
 
-Package: libtdegames1-trinity
+Package: libtdegames4-trinity
 Architecture: any
 Multi-Arch: no
 Section: games
-Replaces: libkdegames1-kde3 (<< 4:14.0.0~), libkdegames1-trinity (<< 4:14.0.0~)
-Breaks: libkdegames1-kde3 (<< 4:14.0.0~), libkdegames1-trinity (<< 4:14.0.0~)
 Depends: ${shlibs:Depends}, libtdegames-data-trinity
 Description: Trinity games library
  This library provides a common infrastructure for several of the
@@ -94,7 +92,7 @@ Multi-Arch: no
 Section: libdevel
 Replaces: libkdegames-kde3-dev (<< 4:14.0.0~), libkdegames-trinity-dev (<< 4:14.0.0~)
 Breaks: libkdegames-kde3-dev (<< 4:14.0.0~), libkdegames-trinity-dev (<< 4:14.0.0~)
-Depends: tdelibs14-trinity-dev, libtdegames1-trinity (= ${source:Version})
+Depends: tdelibs14-trinity-dev, libtdegames4-trinity (= ${source:Version})
 Description: Trinity games library headers
  This package is necessary if you want to develop your own games using
  the TDE games library.
diff --git a/ubuntu/_base/core/tdegames/debian/libtdegames1-trinity.install b/ubuntu/_base/core/tdegames/debian/libtdegames1-trinity.install
deleted file mode 100644
index d5fbbc4a5..000000000
--- a/ubuntu/_base/core/tdegames/debian/libtdegames1-trinity.install
+++ /dev/null
@@ -1 +0,0 @@
-/opt/trinity/lib/libtdegames.so.*
diff --git a/ubuntu/_base/core/tdegames/debian/libtdegames4-trinity.install b/ubuntu/_base/core/tdegames/debian/libtdegames4-trinity.install
new file mode 100644
index 000000000..d5fbbc4a5
--- /dev/null
+++ b/ubuntu/_base/core/tdegames/debian/libtdegames4-trinity.install
@@ -0,0 +1 @@
+/opt/trinity/lib/libtdegames.so.*
-- 
cgit v1.2.3

