From owner-freebsd-gnome@FreeBSD.ORG Sat Dec 11 14:45:09 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 5195C1065670 for ; Sat, 11 Dec 2010 14:45:09 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from mail-iw0-f178.google.com (mail-iw0-f178.google.com [209.85.214.178]) by mx1.freebsd.org (Postfix) with ESMTP id 0DB5F8FC0C for ; Sat, 11 Dec 2010 14:45:08 +0000 (UTC) Received: by iwn1 with SMTP id 1so7408573iwn.9 for ; Sat, 11 Dec 2010 06:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :in-reply-to:organization:references:user-agent:x-envelope-to :mail-followup-to:date:message-id:mime-version:content-type; bh=ST9rqqnoh0h4UoQ4g5Mk++jIRDd0+7IHc3XarIc1uxg=; b=Odi3UxWPoTL69IZNBVXRhDFZ8VND4Z0iRSyM+Jk2t4pX2ybF3JRY0nDbXZotJUkvwE zH8SWq4e6GAXL2fd6IagPqF3rvhxKt4AOjgshjQpxF2gKjqBnTncCsUQOJ3mbKpnHXAb e28IjvxlcdCQ/WKmLbUJD9Rh5pxcNwCYuSNIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:organization:references:user-agent :x-envelope-to:mail-followup-to:date:message-id:mime-version :content-type; b=FGylKoemTvRjC5wvXO48euvaPQ61FugMc56pCEbqxfTd6vaLzTOQtEMBUDSHTRBHrn wjofaS+i8PlQ8U0VIa4y+EkqQegSyEzY6Kjhy29Gm31mxWrXEQztKYUXFXa3rPtadoWY lw6kkzSda+VvYmC/TBAMFK7Y6jaBEXZ91OgBY= Received: by 10.42.220.73 with SMTP id hx9mr1379177icb.521.1292078708311; Sat, 11 Dec 2010 06:45:08 -0800 (PST) Received: from smtp.xbsd.name ([123.117.49.173]) by mx.google.com with ESMTPS id z4sm3883576ibg.19.2010.12.11.06.45.01 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 11 Dec 2010 06:45:05 -0800 (PST) Received: from pluton.xbsd.name (pluton.xbsd.name [172.16.1.10]) by smtp.xbsd.name (OpenSMTPD) with ESMTP id 1nIewrbm (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128); Sat, 11 Dec 2010 22:44:54 +0800 (CST) From: darcsis@gmail.com (Denise H. G.) To: "Peter Laursen" In-Reply-To: <8fb59c98f639dd63eacf1a93daa17b06.squirrel@tdlsoftware.org> (Peter Laursen's message of "Fri, 10 Dec 2010 10:06:59 +0100") Organization: Pluto The Planet References: <8fb59c98f639dd63eacf1a93daa17b06.squirrel@tdlsoftware.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) X-Envelope-To: orca@tdlsoftware.org Mail-Followup-To: "Peter Laursen" , gnome@freebsd.org Date: Sat, 11 Dec 2010 22:44:52 +0800 Message-ID: <861v5o8j2z.fsf@pluton.xbsd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: gnome@freebsd.org Subject: Re: 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: Sat, 11 Dec 2010 14:45:09 -0000 On 2010/12/10 at 17:06, "Peter Laursen" wrote: > > 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? > It seems that system-wide gconf databases are always defaults. What you change with gconf editors are just user overrides. It means that you have to edit some schema files residing in /usr/local/etc/gconf/schemas once the packages are installed. You can do this by using 'pre-install' thing in the specific port's Makefile I think. > 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 > > ................ -- The further away the disaster or accident occurs, the greater the number of dead and injured required for it to become a story.