[arch-commits] Commit in (5 files)

Eric Bélanger eric at archlinux.org
Mon Nov 21 01:16:54 UTC 2011


    Date: Sunday, November 20, 2011 @ 20:16:54
  Author: eric
Revision: 143017

Add new freeciv depends

Added:
  ggz-gtk-client/
  ggz-gtk-client/repos/
  ggz-gtk-client/trunk/
  ggz-gtk-client/trunk/PKGBUILD
  ggz-gtk-client/trunk/gtk2.patch

------------+
 PKGBUILD   |   29 +++++++++++++++++++++++++++++
 gtk2.patch |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

Added: ggz-gtk-client/trunk/PKGBUILD
===================================================================
--- ggz-gtk-client/trunk/PKGBUILD	                        (rev 0)
+++ ggz-gtk-client/trunk/PKGBUILD	2011-11-21 01:16:54 UTC (rev 143017)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: dazzy
+
+pkgname=ggz-gtk-client
+pkgver=0.0.14.1
+pkgrel=5
+pkgdesc="GGZ Gaming Zone GTK+ client"
+arch=('i686' 'x86_64')
+url="http://www.ggzgamingzone.org/"
+license=('GPL')
+depends=('gtk2' 'ggz-client-libs')
+options=('!libtool')
+source=(http://ftp.ggzgamingzone.org/pub/ggz/${pkgver}/ggz-gtk-client-${pkgver}.tar.gz
+	gtk2.patch)
+md5sums=('87f67ff01f867bd04ba894a7c6a9f7fc'
+         '368f993d07befd41681ac76ef532b448')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 -i "${srcdir}/gtk2.patch"
+  ./configure --prefix=/usr --sysconfdir=/etc --disable-debug
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}


Property changes on: ggz-gtk-client/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: ggz-gtk-client/trunk/gtk2.patch
===================================================================
--- ggz-gtk-client/trunk/gtk2.patch	                        (rev 0)
+++ ggz-gtk-client/trunk/gtk2.patch	2011-11-21 01:16:54 UTC (rev 143017)
@@ -0,0 +1,40 @@
+--- ggz-gtk-client-0.0.14.1/ggz-gtk/props.c	2008-01-05 20:03:36.000000000 +0100
++++ ggz-gtk-client-0.0.14.1.PATCHED/ggz-gtk/props.c	2010-08-04 01:53:37.573425091 +0200
+@@ -1203,7 +1203,7 @@
+   gtk_box_pack_start (GTK_BOX (vbox9), color_table, TRUE, TRUE, 0);
+   gtk_container_set_border_width (GTK_CONTAINER (color_table), 3);
+ 
+-  h_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 1);
++  h_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 0);
+   h_spin = gtk_spin_button_new (GTK_ADJUSTMENT (h_spin_adj), 1, 0);
+   gtk_widget_ref (h_spin);
+   g_object_set_data_full(G_OBJECT (dlg_props), "h_spin", h_spin,
+@@ -1213,7 +1213,7 @@
+                     (GtkAttachOptions) (0), 0, 0);
+   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (h_spin), TRUE);
+ 
+-  n_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 1);
++  n_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 0);
+   n_spin = gtk_spin_button_new (GTK_ADJUSTMENT (n_spin_adj), 1, 0);
+   gtk_widget_ref (n_spin);
+   g_object_set_data_full(G_OBJECT (dlg_props), "n_spin", n_spin,
+@@ -1223,7 +1223,7 @@
+                     (GtkAttachOptions) (0), 0, 0);
+   gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (n_spin), TRUE);
+ 
+-  f_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 1);
++  f_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 0);
+   f_spin = gtk_spin_button_new (GTK_ADJUSTMENT (f_spin_adj), 1, 0);
+   gtk_widget_ref (f_spin);
+   g_object_set_data_full(G_OBJECT (dlg_props), "f_spin", f_spin,
+--- ggz-gtk-client-0.0.14.1/ggz-gtk/xtext.c	2008-01-05 20:03:36.000000000 +0100
++++ ggz-gtk-client-0.0.14.1.PATCHED/ggz-gtk/xtext.c	2010-08-04 01:52:36.446764446 +0200
+@@ -720,7 +720,7 @@
+ 	xtext->overdraw = FALSE;
+ 	xtext->tint_red = xtext->tint_green = xtext->tint_blue = TINT_VALUE;
+ 
+-	xtext->adj = (GtkAdjustment *) gtk_adjustment_new (0, 0, 1, 1, 1, 1);
++	xtext->adj = (GtkAdjustment *) gtk_adjustment_new (0, 0, 1, 1, 1, 0);
+ 	g_object_ref (G_OBJECT (xtext->adj));
+ 	gtk_object_sink ((GtkObject *) xtext->adj);
+ 




More information about the arch-commits mailing list