From: Dan Winship Date: Fri, 21 Jan 2011 20:37:10 +0000 (-0500) Subject: Fix path in org.a11y.atspi.gschema.xml for lib64 X-Git-Tag: AT_SPI2_ATK_2_12_0~320 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44e338566d2588efacc00d583bbe1d3eb6e876b9;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git 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 --- 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.