[freeciv] 01/09: Create and ship the gtk3 client of FreeCiv in a separate package.

Markus Koschany apo at moszumanska.debian.org
Sat Jul 9 23:09:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository freeciv.

commit 0f711d10b565068a25d08a66ac270217c75466c3
Author: Markus Koschany <apo at debian.org>
Date:   Sat Jul 9 22:16:33 2016 +0200

    Create and ship the gtk3 client of FreeCiv in a separate package.
---
 debian/control                     | 21 +++++++++++++++++++++
 debian/freeciv-client-gtk3.install |  2 ++
 debian/freeciv-client-gtk3.links   |  2 ++
 debian/freeciv-client-gtk3.menu    |  5 +++++
 debian/rules                       |  3 ++-
 5 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 9d81c43..4456d99 100644
--- a/debian/control
+++ b/debian/control
@@ -88,6 +88,27 @@ Description: Civilization turn based strategy game (GTK+ client)
  This is the GTK+ 2 version of Freeciv. It is the most sophisticated and
  recommended client to play the game.
 
+Package: freeciv-client-gtk3
+Architecture: any
+Depends:
+ freeciv-data (= ${source:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends:
+ freeciv-server (= ${binary:Version})
+Suggests:
+ freeciv-client-extras,
+ freeciv-sound-standard
+Description: Civilization turn based strategy game (GTK+ client)
+ Freeciv is a free clone of the turn based strategy game Civilization.
+ In this game, each player becomes leader of a civilisation, fighting to
+ obtain the ultimate goal: the extinction of all other civilisations.
+ .
+ This is the GTK 3 version of Freeciv. It is recommended to install the
+ »freeciv-client-gtk« package and to use the GTK+ client unless you really want
+ to try this one. The GTK 3 client offers a different look&feel and is still
+ under development.
+
 Package: freeciv-client-qt
 Architecture: any
 Depends:
diff --git a/debian/freeciv-client-gtk3.install b/debian/freeciv-client-gtk3.install
new file mode 100644
index 0000000..6d24352
--- /dev/null
+++ b/debian/freeciv-client-gtk3.install
@@ -0,0 +1,2 @@
+usr/games/freeciv-gtk3
+usr/share/applications/freeciv-gtk3.desktop
diff --git a/debian/freeciv-client-gtk3.links b/debian/freeciv-client-gtk3.links
new file mode 100644
index 0000000..42a8b40
--- /dev/null
+++ b/debian/freeciv-client-gtk3.links
@@ -0,0 +1,2 @@
+/usr/share/doc/freeciv-data /usr/share/doc/freeciv-client-gtk
+/usr/share/man/man6/freeciv-client.6.gz /usr/share/man/man6/freeciv-gtk3.6.gz
diff --git a/debian/freeciv-client-gtk3.menu b/debian/freeciv-client-gtk3.menu
new file mode 100644
index 0000000..9dcca0f
--- /dev/null
+++ b/debian/freeciv-client-gtk3.menu
@@ -0,0 +1,5 @@
+?package(freeciv-client-gtk3):needs="x11" \
+ section="Games/Strategy" \
+ title="Freeciv client (GTK 3 version)" \
+ command="/usr/games/freeciv-gtk3" \
+ icon="/usr/share/pixmaps/freeciv.xpm"
diff --git a/debian/rules b/debian/rules
index eed679b..3a2d88a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ override_dh_auto_configure:
 		--datadir=\$${prefix}/share/games \
 		--bindir=\$${prefix}/games \
 		--enable-debug=no \
-		--enable-client=gtk2,sdl,qt \
+		--enable-client=gtk2,gtk3,sdl,qt \
 		--enable-fcmp=gtk3 \
 		--with-ggz-server=no \
 		--with-ggz-client=no \
@@ -74,6 +74,7 @@ override_dh_link:
 	-rm -rf debian/freeciv-server/usr/share/doc/freeciv-server
 	-rm -rf debian/freeciv/usr/share/doc/freeciv
 	-rm -rf debian/freeciv-client-gtk/usr/share/doc/freeciv-client-gtk
+	-rm -rf debian/freeciv-client-gtk/usr/share/doc/freeciv-client-gtk3
 	-rm -rf debian/freeciv-client-qt/usr/share/doc/freeciv-client-qt
 	-rm -rf debian/freeciv-client-sdl/usr/share/doc/freeciv-client-sdl
 	-rm -rf debian/freeciv-client-extras/usr/share/doc/freeciv-client-extras

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freeciv.git



More information about the Pkg-games-commits mailing list