From 44e338566d2588efacc00d583bbe1d3eb6e876b9 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 21 Jan 2011 15:37:10 -0500 Subject: [PATCH] Fix path in org.a11y.atspi.gschema.xml for lib64 This requires substituting the path in from a make rule, since otherwise you'll get "${exec_prefix}/lib" if the user didn't explicitly specify --libdir https://bugzilla.gnome.org/show_bug.cgi?id=640220 --- configure.ac | 1 - schemas/Makefile.am | 5 +++++ schemas/org.a11y.atspi.gschema.xml.in | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 53f360c..1795b8a 100644 --- a/configure.ac +++ b/configure.ac @@ -132,7 +132,6 @@ AC_CONFIG_FILES([Makefile atk-adaptor/gtk-3.0/Makefile po/Makefile.in schemas/Makefile -schemas/org.a11y.atspi.gschema.xml ]) AC_OUTPUT diff --git a/schemas/Makefile.am b/schemas/Makefile.am index 17a46d1..96ff710 100644 --- a/schemas/Makefile.am +++ b/schemas/Makefile.am @@ -1,5 +1,10 @@ gsettings_SCHEMAS = org.a11y.atspi.gschema.xml +org.a11y.atspi.gschema.xml: org.a11y.atspi.gschema.xml.in Makefile + $(AM_V_GEN) sed -e "s|@libdir[@]|$(libdir)|" $< > $@ + +CLEANFILES = org.a11y.atspi.gschema.xml + @GSETTINGS_RULES@ EXTRA_DIST = \ diff --git a/schemas/org.a11y.atspi.gschema.xml.in b/schemas/org.a11y.atspi.gschema.xml.in index 3e86f30..43d27aa 100644 --- a/schemas/org.a11y.atspi.gschema.xml.in +++ b/schemas/org.a11y.atspi.gschema.xml.in @@ -2,7 +2,7 @@ - '@prefix@/lib/gtk-3.0/modules/libatk-bridge.so' + '@libdir@/gtk-3.0/modules/libatk-bridge.so' Atk-bridge location The path to the atk-bridge module; useful for non-GTK applications/toolkits that want to load it. -- 2.7.4