intltool: add patch from http://bugzilla.gnome.org/show_bug.cgi?id=462312
[org.openembedded.dev.git] / packages / intltool / files / intltool-0.35.5-polkit.patch
blob2d89fbe04cdc1e7c2a2598cde65545f519cb01b8
1 diff -up intltool-0.35.5/intltool.m4.polkit intltool-0.35.5/intltool.m4
2 --- intltool-0.35.5/intltool.m4.polkit 2007-07-31 17:23:52.000000000 -0400
3 +++ intltool-0.35.5/intltool.m4 2007-07-31 17:24:20.000000000 -0400
4 @@ -65,6 +65,7 @@ INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.
5 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
6 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
7 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
8 + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
10 AC_SUBST(INTLTOOL_DESKTOP_RULE)
11 AC_SUBST(INTLTOOL_DIRECTORY_RULE)
12 @@ -84,6 +85,7 @@ AC_SUBST(INTLTOOL_CAVES_RULE)
13 AC_SUBST(INTLTOOL_SCHEMAS_RULE)
14 AC_SUBST(INTLTOOL_THEME_RULE)
15 AC_SUBST(INTLTOOL_SERVICE_RULE)
16 +AC_SUBST(INTLTOOL_POLICY_RULE)
18 # Use the tools built into the package, not the ones that are installed.
19 AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract')
20 diff -up intltool-0.35.5/intltool-update.in.in.polkit intltool-0.35.5/intltool-update.in.in
21 --- intltool-0.35.5/intltool-update.in.in.polkit 2007-07-31 17:10:52.000000000 -0400
22 +++ intltool-0.35.5/intltool-update.in.in 2007-07-31 17:21:45.000000000 -0400
23 @@ -71,7 +71,8 @@ my $xml_support =
24 "sheet(?:\\.in)+|". # ?
25 "schemas(?:\\.in)+|". # GConf specific
26 "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer.
27 -"kbd(?:\\.in)+"; # GOK specific.
28 +"kbd(?:\\.in)+|". # GOK specific.
29 +"policy(?:\\.in)+"; # PolicyKit files
31 my $ini_support =
32 "icon(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec