[arch-commits] Commit in gnome-terminal/repos (3 files)

Jan de Groot jgc at archlinux.org
Fri May 29 17:53:14 UTC 2009


    Date: Friday, May 29, 2009 @ 13:53:14
  Author: jgc
Revision: 40681

Merged revisions 40679 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/gnome-terminal/trunk

........
  r40679 | jgc | 2009-05-29 17:51:38 +0000 (Fri, 29 May 2009) | 2 lines
  
  upgpkg: gnome-terminal 2.26.2-2
      Remove ping for gconf, fixes issues where gnome-terminal exits when a dbus session bus exists, but gconf is not running
........

Added:
  gnome-terminal/repos/extra-x86_64/terminal-dontping.patch
    (from rev 40679, gnome-terminal/trunk/terminal-dontping.patch)
Modified:
  gnome-terminal/repos/extra-x86_64/	(properties)
  gnome-terminal/repos/extra-x86_64/PKGBUILD

-------------------------+
 PKGBUILD                |    9 ++++++---
 terminal-dontping.patch |   29 +++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 3 deletions(-)


Property changes on: gnome-terminal/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /gnome-terminal/trunk:1-39508
   + /gnome-terminal/trunk:1-40680

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-05-29 17:51:56 UTC (rev 40680)
+++ extra-x86_64/PKGBUILD	2009-05-29 17:53:14 UTC (rev 40681)
@@ -3,7 +3,7 @@
 
 pkgname=gnome-terminal
 pkgver=2.26.2
-pkgrel=1
+pkgrel=2
 pkgdesc="The GNOME Terminal Emulator"
 arch=(i686 x86_64)
 license=('GPL')
@@ -13,11 +13,14 @@
 url="http://www.gnome.org"
 groups=('gnome-extra')
 install=gnome-terminal.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('f4f64b9b67c7a3147799ee10f7cf00e1')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2
+	terminal-dontping.patch)
+md5sums=('f4f64b9b67c7a3147799ee10f7cf00e1'
+	 '9ae26f8e6a9f0401889e8a0ba7e831d6')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np0 -i "${srcdir}/terminal-dontping.patch" || return 1
   ./configure --prefix=/usr --sysconfdir=/etc \
               --localstatedir=/var --disable-scrollkeeper || return 1
   make || return 1

Copied: gnome-terminal/repos/extra-x86_64/terminal-dontping.patch (from rev 40679, gnome-terminal/trunk/terminal-dontping.patch)
===================================================================
--- extra-x86_64/terminal-dontping.patch	                        (rev 0)
+++ extra-x86_64/terminal-dontping.patch	2009-05-29 17:53:14 UTC (rev 40681)
@@ -0,0 +1,29 @@
+--- src/terminal.c~	2009-04-17 18:30:45.000000000 +0200
++++ src/terminal.c	2009-05-29 19:47:28.071360678 +0200
+@@ -234,9 +234,6 @@
+   return g_string_free (name, FALSE);
+ }
+ 
+-/* Evil hack alert: this is exported from libgconf-2 but not in a public header */
+-extern gboolean gconf_ping_daemon (void);
+-         
+ int
+ main (int argc, char **argv)
+ {
+@@ -444,16 +441,6 @@
+   g_free (argv_copy);
+   g_free (factory_name);
+ 
+-  /* If the gconf daemon isn't available (e.g. because there's no dbus
+-   * session bus running), we'd crash later on. Tell the user about it
+-   * now, and exit. See bug #561663.
+-   */
+-  if (!gconf_ping_daemon ())
+-    {
+-      g_printerr ("Failed to contact the GConf daemon; exiting.\n");
+-      exit (1);
+-    }
+-
+   gtk_window_set_default_icon_name (GNOME_TERMINAL_ICON_NAME);
+ 
+   gtk_about_dialog_set_url_hook (about_url_hook, NULL, NULL);




More information about the arch-commits mailing list