Re: Proposal to enable accessibility by default for GNOME development releases
- From: "Fernando Herrera" <fherrera onirica com>
- To: "Willie Walker" <William Walker sun com>
- Cc: desktop-devel-list gnome org
- Subject: Re: Proposal to enable accessibility by default for GNOME development releases
- Date: Wed, 1 Nov 2006 18:03:37 +0200
On 11/1/06, Willie Walker <William Walker sun com> wrote:
So....
It seems as though the right thing to do is enable accessibility in the
default schema for development releases. Anyone have a clue for how to
do this?
We can use a autoconf variable on the schema file and expand it
depending on minor version of libgnome (the packaging owning that
schema).
We would need to rename:
schemas/desktop_gnome_interface.schemas.in
to:
schemas/desktop_gnome_interface.schemas.in.in
and apply the attached patch to do the auto* magic voodoo and use the
variable in the schema file.
Salu2
Index: configure.in
===================================================================
RCS file: /cvs/gnome/libgnome/configure.in,v
retrieving revision 1.246
diff -u -r1.246 configure.in
--- configure.in 4 Sep 2006 14:30:45 -0000 1.246
+++ configure.in 1 Nov 2006 16:00:58 -0000
@@ -191,6 +191,15 @@
AC_CHECK_LIB(popt, poptStrippedArgv,, AC_MSG_ERROR([popt 1.5 or newer is required to build
libgnome. You can download the latest version from ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/]))
+LIBGNOME_MINOR_VERSION=libgnome_minor_version
+if test $(( $(echo $LIBGNOME_MINOR_VERSION) %2)) == "1"; then
+ A11Y_ENABLED=true
+else
+ A11Y_ENABLED=false
+fi
+
+AC_SUBST(A11Y_ENABLED)
+
AC_CONFIG_FILES([
Makefile
libgnome-zip
@@ -198,6 +207,7 @@
libgnome/Makefile
monikers/Makefile
schemas/Makefile
+schemas/desktop_gnome_interface.schemas.in
gnome-data/Makefile
libgnome/libgnome-2.0.pc
libgnome/libgnome-2.0-uninstalled.pc
diff -u desktop_gnome_interface.schemas.in.in.orig desktop_gnome_interface.schemas.in.in
--- schemas/desktop_gnome_interface.schemas.in.in.orig 31 Aug 2006 21:47:20 -0000
+++ schemas/desktop_gnome_interface.schemas.in.in 1 Nov 2006 16:00:58 -0000
@@ -6,7 +6,7 @@
<applyto>/desktop/gnome/interface/accessibility</applyto>
<owner>gnome</owner>
<type>bool</type>
- <default>false</default>
+ <default>@A11Y_ENABLED@</default>
<locale name="C">
<short>Enable Accessibility</short>
<long>Whether Applications should have accessibility support</long>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]