rpms/libgweather/devel gettext-not-xml.patch, 1.2, 1.3 libgweather.spec, 1.49, 1.50
Matthias Clasen
mclasen at fedoraproject.org
Tue Dec 22 16:20:28 UTC 2009
Author: mclasen
Update of /cvs/pkgs/rpms/libgweather/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv483
Modified Files:
gettext-not-xml.patch libgweather.spec
Log Message:
update patch
gettext-not-xml.patch:
configure.in | 21 ---
data/Makefile.am | 44 +-------
libgweather/gweather-location.c | 17 ++-
libgweather/gweather-timezone.c | 18 ++-
po-locations/LINGUAS | 78 ++++++++++++++
po-locations/Makefile.in.in | 217 ++++++++++++++++++++++++++++++++++++++++
po-locations/POTFILES.in | 4
7 files changed, 338 insertions(+), 61 deletions(-)
Index: gettext-not-xml.patch
===================================================================
RCS file: /cvs/pkgs/rpms/libgweather/devel/gettext-not-xml.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- gettext-not-xml.patch 24 Sep 2009 03:09:25 -0000 1.2
+++ gettext-not-xml.patch 22 Dec 2009 16:20:27 -0000 1.3
@@ -1,6 +1,6 @@
-diff -up libgweather-2.28.0/configure.in.gettext libgweather-2.28.0/configure.in
---- libgweather-2.28.0/configure.in.gettext 2009-09-21 12:30:18.000000000 -0400
-+++ libgweather-2.28.0/configure.in 2009-09-23 23:06:09.533646963 -0400
+diff -up libgweather-2.29.4/configure.in.gettext libgweather-2.29.4/configure.in
+--- libgweather-2.29.4/configure.in.gettext 2009-12-21 00:03:55.000000000 -0500
++++ libgweather-2.29.4/configure.in 2009-12-22 10:47:19.988816042 -0500
@@ -40,6 +40,10 @@ LIBXML_REQUIRED=2.6.0
AM_MAINTAINER_MODE
GNOME_MAINTAINER_MODE_DEFINES
@@ -35,8 +35,8 @@ diff -up libgweather-2.28.0/configure.in
libgweather/Makefile
libgweather/gweather.pc
libgweather/gweather-uninstalled.pc
-@@ -261,12 +258,6 @@ data/Makefile
- python/Makefile
+@@ -262,12 +259,6 @@ python/Makefile
+ icons/Makefile
])
-if test "x$enable_big_xml" = "xyes"; then
@@ -48,16 +48,16 @@ diff -up libgweather-2.28.0/configure.in
dnl ***************************************************************************
dnl *** Display Summary ***
dnl ***************************************************************************
-@@ -277,6 +268,4 @@ libgweather-$VERSION configure summary:
+@@ -278,6 +269,4 @@ libgweather-$VERSION configure summary:
Source code location: ${srcdir}
Compiler: ${CC}
Python bindings: ${enable_python}
- Locations.xml translations: ${LOCATIONS_XML_TRANSLATIONS}
- Locations.xml compression: ${enable_locations_compression}
" >&2
-diff -up libgweather-2.28.0/data/Makefile.am.gettext libgweather-2.28.0/data/Makefile.am
---- libgweather-2.28.0/data/Makefile.am.gettext 2009-07-21 13:01:11.000000000 -0400
-+++ libgweather-2.28.0/data/Makefile.am 2009-09-23 23:02:32.718640615 -0400
+diff -up libgweather-2.29.4/data/Makefile.am.gettext libgweather-2.29.4/data/Makefile.am
+--- libgweather-2.29.4/data/Makefile.am.gettext 2009-12-21 00:02:57.000000000 -0500
++++ libgweather-2.29.4/data/Makefile.am 2009-12-22 10:46:49.984801127 -0500
@@ -4,55 +4,23 @@ libgweatherdtd_DATA = locations.dtd
libgweatherlocationsdir = $(pkgdatadir)
libgweatherlocations_in_files = Locations.xml.in
@@ -120,9 +120,9 @@ diff -up libgweather-2.28.0/data/Makefil
check:
xmllint --valid --noout $(top_srcdir)/data/Locations.xml.in
$(srcdir)/check-timezones.sh $(srcdir)/Locations.xml.in
-diff -up libgweather-2.28.0/libgweather/gweather-location.c.gettext libgweather-2.28.0/libgweather/gweather-location.c
---- libgweather-2.28.0/libgweather/gweather-location.c.gettext 2009-04-19 13:41:11.000000000 -0400
-+++ libgweather-2.28.0/libgweather/gweather-location.c 2009-09-23 23:02:32.720641289 -0400
+diff -up libgweather-2.29.4/libgweather/gweather-location.c.gettext libgweather-2.29.4/libgweather/gweather-location.c
+--- libgweather-2.29.4/libgweather/gweather-location.c.gettext 2009-12-21 00:02:57.000000000 -0500
++++ libgweather-2.29.4/libgweather/gweather-location.c 2009-12-22 10:46:49.985800696 -0500
@@ -22,11 +22,14 @@
#include <config.h>
#endif
@@ -161,9 +161,9 @@ diff -up libgweather-2.28.0/libgweather/
xmlFree (value);
normalized = g_utf8_normalize (loc->name, -1, G_NORMALIZE_ALL);
loc->sort_name = g_utf8_casefold (normalized, -1);
-diff -up libgweather-2.28.0/libgweather/gweather-timezone.c.gettext libgweather-2.28.0/libgweather/gweather-timezone.c
---- libgweather-2.28.0/libgweather/gweather-timezone.c.gettext 2009-09-08 19:46:08.000000000 -0400
-+++ libgweather-2.28.0/libgweather/gweather-timezone.c 2009-09-23 23:02:32.721640718 -0400
+diff -up libgweather-2.29.4/libgweather/gweather-timezone.c.gettext libgweather-2.29.4/libgweather/gweather-timezone.c
+--- libgweather-2.29.4/libgweather/gweather-timezone.c.gettext 2009-12-21 00:02:57.000000000 -0500
++++ libgweather-2.29.4/libgweather/gweather-timezone.c 2009-12-22 10:46:49.986801592 -0500
@@ -23,6 +23,7 @@
#endif
@@ -220,9 +220,9 @@ diff -up libgweather-2.28.0/libgweather/
if (name)
xmlFree (name);
-diff -up /dev/null libgweather-2.28.0/po-locations/LINGUAS
---- /dev/null 2009-09-23 15:09:11.116404522 -0400
-+++ libgweather-2.28.0/po-locations/LINGUAS 2009-09-23 23:02:32.723640903 -0400
+diff -up libgweather-2.29.4/po-locations/LINGUAS.gettext libgweather-2.29.4/po-locations/LINGUAS
+--- libgweather-2.29.4/po-locations/LINGUAS.gettext 2009-12-22 10:46:49.987801160 -0500
++++ libgweather-2.29.4/po-locations/LINGUAS 2009-12-22 10:46:49.987801160 -0500
@@ -0,0 +1,78 @@
+ang
+ar
@@ -302,9 +302,9 @@ diff -up /dev/null libgweather-2.28.0/po
+zh_CN
+zh_HK
+zh_TW
-diff -up /dev/null libgweather-2.28.0/po-locations/Makefile.in.in
---- /dev/null 2009-09-23 15:09:11.116404522 -0400
-+++ libgweather-2.28.0/po-locations/Makefile.in.in 2009-09-23 23:02:32.724640890 -0400
+diff -up libgweather-2.29.4/po-locations/Makefile.in.in.gettext libgweather-2.29.4/po-locations/Makefile.in.in
+--- libgweather-2.29.4/po-locations/Makefile.in.in.gettext 2009-12-22 10:46:49.988801497 -0500
++++ libgweather-2.29.4/po-locations/Makefile.in.in 2009-12-22 10:46:49.988801497 -0500
@@ -0,0 +1,217 @@
+# Makefile for program source directory in GNU NLS utilities package.
+# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper <drepper at gnu.ai.mit.edu>
@@ -523,9 +523,9 @@ diff -up /dev/null libgweather-2.28.0/po
+# Tell versions [3.59,3.63) of GNU make not to export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
-diff -up /dev/null libgweather-2.28.0/po-locations/POTFILES.in
---- /dev/null 2009-09-23 15:09:11.116404522 -0400
-+++ libgweather-2.28.0/po-locations/POTFILES.in 2009-09-23 23:02:32.726641354 -0400
+diff -up libgweather-2.29.4/po-locations/POTFILES.in.gettext libgweather-2.29.4/po-locations/POTFILES.in
+--- libgweather-2.29.4/po-locations/POTFILES.in.gettext 2009-12-22 10:46:49.988801497 -0500
++++ libgweather-2.29.4/po-locations/POTFILES.in 2009-12-22 10:46:49.988801497 -0500
@@ -0,0 +1,4 @@
+# This list should contain *only* data/Locations.xml.in.
+# Everything else should be in POTFILES.skip.
Index: libgweather.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libgweather/devel/libgweather.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -p -r1.49 -r1.50
--- libgweather.spec 22 Dec 2009 15:33:21 -0000 1.49
+++ libgweather.spec 22 Dec 2009 16:20:27 -0000 1.50
@@ -19,6 +19,9 @@ BuildRequires: intltool
BuildRequires: gtk-doc
BuildRequires: autoconf automake libtool
+# for directories
+Requires: gnome-icon-theme
+
# Patch from Ubuntu...
Patch0: gettext-not-xml.patch
@@ -68,6 +71,7 @@ rm -rf $RPM_BUILD_ROOT
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gweather.schemas > /dev/null || :
+touch --no-create %{_datadir}/icons/gnome &>/dev/null || :
%pre
if [ "$1" -gt 1 ]; then
@@ -81,8 +85,15 @@ if [ "$1" -eq 0 ]; then
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gweather.schemas > /dev/null || :
fi
-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ]; then
+ touch --no-create %{_datadir}/icons/gnome &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/gnome &>/dev/null || :
+fi
+%posttrans
+gtk-update-icon-cache -q %{_datadir}/icons/gnome &>/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root,-)
@@ -92,6 +103,7 @@ fi
%dir %{_datadir}/libgweather
%{_datadir}/libgweather/Locations.xml
%{_datadir}/libgweather/locations.dtd
+%{_datadir}/icons/gnome/*/status/*
%files devel
%defattr(-,root,root,-)
More information about the fedora-extras-commits
mailing list