GNOME Bugzilla – Bug 419863
Please distribute Locations.xml.in
Last modified: 2008-03-12 15:51:32 UTC
As Locations.xml.in is the real source behind Locations.xml, it should probably be distributed in the tarball instead. Generating it at build time would also make the tarball slightly smaller.
Created attachment 84891 [details] [review] Dist Locations.xml.in; cleanups Hi, Can someone review this proposed patch? It makes the Makefile.am slightly more readable by using dist_gweatherlocations_DATA instead of gweatherlocations_DATA and by wrapping the INTLTOOL_MERGE call, and it adds Locations.xml.in to EXTRA_DIST (_SOURCES doesn't seem to work with _DATA). Bye,
Created attachment 84911 [details] [review] Dist Locations.xml.in and po-locations/; cleanups Ok; take 2: also dist po-locations, otherwise it's useless. I've also dropped the intltool-merge dependency for %.xml, this means the Locations.xml isn't generated in normal builds (as it is disted), but will be if people change the po files or the .xml.in. This isn't a problem because you need to run configure to generate intltool-merge and the Makefile. I did a make dist and verified that the Locations.xml isn't built by default and the presence of these files: gnome-applets-2.18.0/po-locations/ gnome-applets-2.18.0/po-locations/Makefile.am gnome-applets-2.18.0/po-locations/Makefile.in gnome-applets-2.18.0/po-locations/ChangeLog gnome-applets-2.18.0/po-locations/POTFILES.in gnome-applets-2.18.0/po-locations/POTFILES.skip gnome-applets-2.18.0/po-locations/*.po gnome-applets-2.18.0/gweather/Locations.xml gnome-applets-2.18.0/gweather/Locations.xml.in (Locations.xml is generated)
Created attachment 85184 [details] [review] Dist Locations.xml.in and po-locations/; cleanups (fixed) Fixed the previous patch which missed po-locations/Makefile.am -- forgot to svn add this file before diffing; sorry.
Created attachment 107150 [details] [review] 01_location-dist-fixes.patch
The patch looks fine to me.
2008-03-12 Sebastian Dröge <slomo@circular-chaos.org> * Makefile.am: * configure.in: * data/Makefile.am: * po-locations/Makefile.am: Also dist Locations.xml.in and po-locations/*. Based on a patch by Loïc Minier. Closes bug #419863.