From owner-freebsd-gnome@FreeBSD.ORG Wed Oct 17 01:41:10 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B319D16A417 for ; Wed, 17 Oct 2007 01:41:10 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.234]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD1A13C448 for ; Wed, 17 Oct 2007 01:41:10 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1308284nzf for ; Tue, 16 Oct 2007 18:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; bh=+zHy+4YT/7qsBmbtBvQy+FODr6DpFCk4Yt9h0gSs3HM=; b=oTRQ9IcbBc9VKuyIi9Eq7cJsblhonnp5fx8E8VWKPVNFZuxjwQjXKq8izfz26fzdIgmia/XhQKoFdL6JJL4Xv8yGdp7dy3YpZrGdTzrq4UlaupuyA+W88RXAAbHY32HILrHmg4oWGLJ3M4C04H1ZEjD1bClzyrr6VrE1zfIDoqo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=XekwqHUIja3HiCMRg2EJAq89ZQXF2XFNJVC6bJypmbADLJoVN0iKR76jJrjgGCkyvykt6WaTekBR5JKPTn103nv/Sqpe8Ry3B+076heqowvKPZzk7AZ6zubzy4u0h7vseh7LWJiUROM3jmvKAS0bjxL+de1Fac2R3pa0vsMygRQ= Received: by 10.114.93.17 with SMTP id q17mr9167395wab.1192583679361; Tue, 16 Oct 2007 18:14:39 -0700 (PDT) Received: from ?192.168.10.194? ( [59.125.13.44]) by mx.google.com with ESMTPS id m5sm11885567wag.2007.10.16.18.14.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Oct 2007 18:14:38 -0700 (PDT) From: "Eric L. Chen" To: "gnome@freebsd.org" Content-Type: text/plain Date: Wed, 17 Oct 2007 09:14:24 +0800 Message-Id: <1192583665.1562.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Sender: "Eric L. Chen" Cc: Subject: gnome-volume-manager-2.17 in gnome-2.20 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 01:41:10 -0000 Hi, My gnome-volume-manager cannot startup after upgrade to gnome-2.20. That caused gnome will not mount USB disk automatically, this is a little problem because I've be using gnome+freebsd as my desktop for a long time. After googled, this is not FreeBSD specified problem, it happened in archlinux, too. See http://bbs.archlinux.org/viewtopic.php?id=37544 Discuss more at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428810 I applied their patch and my gnome now can mount USB disk/CDROM automatically. /Eric Their workaround: --- src/manager.c 2007-10-12 10:48:09.000000000 +0800 +++ src/manager.c 2007-10-12 10:49:11.000000000 +0800 @@ -3419,12 +3419,15 @@ if (secret_mode) fprintf (stdout, "Managing volumes since the summer of '89\n"); +#if 0 /* Workaround for GNOME-2.20 */ if (daemonize && daemon (0, 0) < 0) { warn ("daemonizing failed: %s", g_strerror (errno)); return 1; } +#endif client = gnome_master_client (); +#if 0 /* Workaround for GNOME-2.20 */ if (gvm_get_clipboard () && gvm_local_user ()) { gnome_client_set_restart_style (client, GNOME_RESTART_ANYWAY); } else { @@ -3434,6 +3437,7 @@ return 1; } +#endif g_signal_connect (client, "die", G_CALLBACK (gvm_die), NULL);