[SCM] Packaging for gplanarity branch, master, updated. debian/16723-1-3-gf30d9ac
Vincent Legout
vincent at legout.info
Sun Aug 8 19:20:10 UTC 2010
The following commit has been merged in the master branch:
commit ee435617d56304054e6494698f82cba9ea5ee046
Author: Vincent Legout <vincent at legout.info>
Date: Sun Aug 8 20:43:52 2010 +0200
Add fix_blank_window.patch
diff --git a/debian/changelog b/debian/changelog
index 23f3523..8fde5ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gplanarity (16723-2) UNRELEASED; urgency=low
+
+ * debian/patches/fix_blank_window.patch: Added.
+ (Closes: #553500, LP: #428373)
+
+ -- Vincent Legout <vincent at legout.info> Sun, 08 Aug 2010 20:35:33 +0200
+
gplanarity (16723-1) unstable; urgency=low
* New upstream release
diff --git a/debian/patches/fix_blank_window.patch b/debian/patches/fix_blank_window.patch
new file mode 100644
index 0000000..b70c1be
--- /dev/null
+++ b/debian/patches/fix_blank_window.patch
@@ -0,0 +1,20 @@
+Description: Resize the window when launching gplanarity
+Author: Vincent Legout <vincent at legout.info>
+Bug-Debian: http://bugs.debian.org/553500
+
+Index: gplanarity/main.c
+===================================================================
+--- gplanarity.orig/main.c 2010-08-08 10:15:14.337497002 +0200
++++ gplanarity/main.c 2010-08-08 10:15:32.409497001 +0200
+@@ -350,6 +350,11 @@
+ //signal(SIGSEGV,clean_exit); /* would be a bad idea; corrupt state
+ //could prevent us from restarting */
+
++ GtkAllocation allocation = {0, 0, gameboard->g.width + 1, gameboard->g.height + 1};
++ gtk_widget_size_allocate (GTK_WIDGET (gameboard), &allocation);
++
++ request_resize (gameboard->g.width + 1, gameboard->g.height + 1);
++
+ gtk_main ();
+
+ if(gameboard !=0 )
diff --git a/debian/patches/series b/debian/patches/series
index 770647a..af79381 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
nls.patch
makefile.patch
+fix_blank_window.patch
--
Packaging for gplanarity
More information about the Pkg-games-commits
mailing list