summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-31 18:53:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-01-31 18:53:14 +0100
commitab9c0fd221389eeb85dc08d266bac96f2bce5e2e (patch)
treee9bcf96135cf7f757406ed116586dfd79efdd417
parent895b4a50bebfd3f8d442897b4f60b1df4a79671c (diff)
downloadtde-packaging-ab9c0fd221389eeb85dc08d266bac96f2bce5e2e.zip
tde-packaging-ab9c0fd221389eeb85dc08d266bac96f2bce5e2e.tar.gz
DEB knights: Move extra themes into package knights-themepack.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/lenny/applications/knights/debian/control7
-rw-r--r--debian/lenny/applications/knights/debian/knights-themepack-trinity.install1
-rw-r--r--debian/lenny/applications/knights/debian/knights-trinity.install (renamed from debian/lenny/applications/knights/debian/install)1
-rwxr-xr-xdebian/lenny/applications/knights/debian/rules12
-rw-r--r--debian/squeeze/applications/knights/debian/control7
-rw-r--r--debian/squeeze/applications/knights/debian/knights-themepack-trinity.install1
-rw-r--r--debian/squeeze/applications/knights/debian/knights-trinity.install (renamed from debian/squeeze/applications/knights/debian/install)1
-rwxr-xr-xdebian/squeeze/applications/knights/debian/rules12
-rw-r--r--ubuntu/maverick/applications/knights/debian/control7
-rw-r--r--ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install1
-rw-r--r--ubuntu/maverick/applications/knights/debian/knights-trinity.install (renamed from ubuntu/maverick/applications/knights/debian/install)1
-rwxr-xr-xubuntu/maverick/applications/knights/debian/rules12
12 files changed, 63 insertions, 0 deletions
diff --git a/debian/lenny/applications/knights/debian/control b/debian/lenny/applications/knights/debian/control
index 7170d17..e21a7c9 100644
--- a/debian/lenny/applications/knights/debian/control
+++ b/debian/lenny/applications/knights/debian/control
@@ -28,3 +28,10 @@ Description: A chess interface for the Trinity Desktop Environment [Trinity]
* Audio cues help alert you to important events.
* Novice players can preview potential moves.
* Save your unfinished matches and play them again later.
+
+Package: knights-themepack-trinity
+Architecture: all
+Depends: ${shlibs:Depends}
+Enhances: knights-trinity
+Description: A chess interface for the Trinity Desktop Environment [Trinity]
+ This packages contains extra themes.
diff --git a/debian/lenny/applications/knights/debian/knights-themepack-trinity.install b/debian/lenny/applications/knights/debian/knights-themepack-trinity.install
new file mode 100644
index 0000000..790c547
--- /dev/null
+++ b/debian/lenny/applications/knights/debian/knights-themepack-trinity.install
@@ -0,0 +1 @@
+opt/trinity/share/apps/knights/themes
diff --git a/debian/lenny/applications/knights/debian/install b/debian/lenny/applications/knights/debian/knights-trinity.install
index 013fe66..d0c4719 100644
--- a/debian/lenny/applications/knights/debian/install
+++ b/debian/lenny/applications/knights/debian/knights-trinity.install
@@ -1 +1,2 @@
+opt/trinity
debian/knights.xpm /opt/trinity/share/pixmaps
diff --git a/debian/lenny/applications/knights/debian/rules b/debian/lenny/applications/knights/debian/rules
index d8d7720..37a086d 100755
--- a/debian/lenny/applications/knights/debian/rules
+++ b/debian/lenny/applications/knights/debian/rules
@@ -18,3 +18,15 @@ DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
+
+binary-install/knights-trinity::
+ @dh_testdir
+ # remove extra themes
+ (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \
+ ls -1 | grep -v "K.Default\.tar\.gz" | xargs -r rm)
+
+binary-install/knights-themepack-trinity::
+ @dh_testdir
+ # remove default theme
+ (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \
+ ls -1 | grep "K.Default\.tar\.gz" | xargs -r rm)
diff --git a/debian/squeeze/applications/knights/debian/control b/debian/squeeze/applications/knights/debian/control
index 7170d17..e21a7c9 100644
--- a/debian/squeeze/applications/knights/debian/control
+++ b/debian/squeeze/applications/knights/debian/control
@@ -28,3 +28,10 @@ Description: A chess interface for the Trinity Desktop Environment [Trinity]
* Audio cues help alert you to important events.
* Novice players can preview potential moves.
* Save your unfinished matches and play them again later.
+
+Package: knights-themepack-trinity
+Architecture: all
+Depends: ${shlibs:Depends}
+Enhances: knights-trinity
+Description: A chess interface for the Trinity Desktop Environment [Trinity]
+ This packages contains extra themes.
diff --git a/debian/squeeze/applications/knights/debian/knights-themepack-trinity.install b/debian/squeeze/applications/knights/debian/knights-themepack-trinity.install
new file mode 100644
index 0000000..790c547
--- /dev/null
+++ b/debian/squeeze/applications/knights/debian/knights-themepack-trinity.install
@@ -0,0 +1 @@
+opt/trinity/share/apps/knights/themes
diff --git a/debian/squeeze/applications/knights/debian/install b/debian/squeeze/applications/knights/debian/knights-trinity.install
index 013fe66..d0c4719 100644
--- a/debian/squeeze/applications/knights/debian/install
+++ b/debian/squeeze/applications/knights/debian/knights-trinity.install
@@ -1 +1,2 @@
+opt/trinity
debian/knights.xpm /opt/trinity/share/pixmaps
diff --git a/debian/squeeze/applications/knights/debian/rules b/debian/squeeze/applications/knights/debian/rules
index 18b1c07..3992c29 100755
--- a/debian/squeeze/applications/knights/debian/rules
+++ b/debian/squeeze/applications/knights/debian/rules
@@ -18,3 +18,15 @@ DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
+
+binary-install/knights-trinity::
+ @dh_testdir
+ # remove extra themes
+ (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \
+ ls -1 | grep -v "K.Default\.tar\.gz" | xargs -r rm)
+
+binary-install/knights-themepack-trinity::
+ @dh_testdir
+ # remove default theme
+ (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \
+ ls -1 | grep "K.Default\.tar\.gz" | xargs -r rm)
diff --git a/ubuntu/maverick/applications/knights/debian/control b/ubuntu/maverick/applications/knights/debian/control
index fa1d161..927dfcb 100644
--- a/ubuntu/maverick/applications/knights/debian/control
+++ b/ubuntu/maverick/applications/knights/debian/control
@@ -28,3 +28,10 @@ Description: A chess interface for the Trinity Desktop Environment [Trinity]
* Audio cues help alert you to important events.
* Novice players can preview potential moves.
* Save your unfinished matches and play them again later.
+
+Package: knights-themepack-trinity
+Architecture: all
+Depends: ${shlibs:Depends}
+Enhances: knights-trinity
+Description: A chess interface for the Trinity Desktop Environment [Trinity]
+ This packages contains extra themes.
diff --git a/ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install b/ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install
new file mode 100644
index 0000000..790c547
--- /dev/null
+++ b/ubuntu/maverick/applications/knights/debian/knights-themepack-trinity.install
@@ -0,0 +1 @@
+opt/trinity/share/apps/knights/themes
diff --git a/ubuntu/maverick/applications/knights/debian/install b/ubuntu/maverick/applications/knights/debian/knights-trinity.install
index 013fe66..d0c4719 100644
--- a/ubuntu/maverick/applications/knights/debian/install
+++ b/ubuntu/maverick/applications/knights/debian/knights-trinity.install
@@ -1 +1,2 @@
+opt/trinity
debian/knights.xpm /opt/trinity/share/pixmaps
diff --git a/ubuntu/maverick/applications/knights/debian/rules b/ubuntu/maverick/applications/knights/debian/rules
index 18b1c07..3992c29 100755
--- a/ubuntu/maverick/applications/knights/debian/rules
+++ b/ubuntu/maverick/applications/knights/debian/rules
@@ -18,3 +18,15 @@ DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
+
+binary-install/knights-trinity::
+ @dh_testdir
+ # remove extra themes
+ (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \
+ ls -1 | grep -v "K.Default\.tar\.gz" | xargs -r rm)
+
+binary-install/knights-themepack-trinity::
+ @dh_testdir
+ # remove default theme
+ (cd debian/$(cdbs_curpkg)/opt/trinity/share/apps/knights/themes/ && \
+ ls -1 | grep "K.Default\.tar\.gz" | xargs -r rm)