From owner-freebsd-gnome@FreeBSD.ORG Fri Dec 10 09:37:33 2010 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 E2E0E1065672 for ; Fri, 10 Dec 2010 09:37:32 +0000 (UTC) (envelope-from orca@tdlsoftware.org) Received: from server2.hostultra.com (server2.hostultra.com [178.63.65.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8188FC1C for ; Fri, 10 Dec 2010 09:37:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=tdlsoftware.org) by server2.hostultra.com with esmtpa (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PQywN-000EAc-DT for gnome@freebsd.org; Fri, 10 Dec 2010 09:06:59 +0000 Received: from 195.215.74.2 ([195.215.74.2]) (SquirrelMail authenticated user orca@tdlsoftware.org) by tdlsoftware.org with HTTP; Fri, 10 Dec 2010 10:06:59 +0100 Message-ID: <8fb59c98f639dd63eacf1a93daa17b06.squirrel@tdlsoftware.org> Date: Fri, 10 Dec 2010 10:06:59 +0100 From: "Peter Laursen" To: gnome@freebsd.org User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server2.hostultra.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - tdlsoftware.org X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Gnome2 Accessibility: Setting gconf keys 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: Fri, 10 Dec 2010 09:37:33 -0000 Hi everyone, I am almost ready with a version of x11/gnome2 that's taylored for accessibility. I have, however, found something I need a bit of guidance upon. In my current setup, I have installed tinderbox which builds "accessibility-enabled" Gnome versions regularly. I have managed to add a synthesizer (/usr/ports/audio/espeak) so that blind people has a chance to use orca as the screen reader after a successful install. Since Epiphany and orca don't work well together, I have replaced Epiphany with Firefox 3 (which is the only browser that orca supports). But in order to enable accessibility support, there is a gconf key that needs setting. Specifically, it's the /desktop/gnome/interface/accessibility key, which must be set to true. In order to have the screen reader/magnifier loaded, the gconf key /desktop/gnome/applications/at/screen_reader_enabled must also be set to true. I have made some simple modifications to the gnome2 Makefile (which are only applied if GNOME_ACCESSIBILITY is defined) so that people can use the same Makefile to build both versions of Gnome, i.e. the regular version and the accessibility version. But here is the problem: I would like for the gnome2 Makefile to set the two gconf keys automatically. When I run the make install command when GNOME_ACCESSIBILITY is defined, the commands to set the gconf keys are executed correctly, but when I build the same package inside tinderbox, the package isn't created and I get no specific error. So the question is fairly simple: How can I set the two gconf keys when the package is built so that the user doesn't need to type anything but pkg_add -r gnome2-accessibility, restart and have everything set up properly? I hope I have made everything clear. Once I have found a solution, I shall be happy to submit a PR so that this can be integrated into gnome2. All the best, Peter. Tinderbox version: 3.3 FreeBSD 8.1-i386