Bug#318809: gweather: Washington, DC locations handled poorly

Michael Shields shields at msrl.com
Sun Jul 17 21:08:33 UTC 2005


Package: gnome-applets
Version: 2.10.1-5
Severity: normal
Tags: patch

The attached patch corrects several issues with gweather for locations
in and near Washington, DC.

1. Weather forecasts for Washington, DC were unavailable.  The patch
   changes to a valid NOAA IWIN zone, DCZ001.

2. The latitude and longitude given for Washington, DC were actually
   those for National Airport in Virginia.  The patch changes this to
   use the Washington, DC Zero Milestone, the official measuring point.
   This caused slightly inaccurate sunrise and sunset times.

3. Dulles Airport is listed under Washington, DC, although it is
   actually 40 km to the west, twice as far as the size of the District
   itself.  The DC entry is a duplicate of the Virginia entry except
   with no forecast or radar information and different translations.
   The patch deletes the DC entry.

4. The Virginia version of Dulles Airport uses the abbreviation "Arpt",
   not used for any other airport including those with much longer names.
   The patch changes this to the conventional "Airport".


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gnome-applets depends on:
ii  debconf [debconf-2.0]    1.4.52          Debian configuration management sy
ii  gnome-applets-data       2.10.1-5        Various applets for GNOME 2 panel 
ii  gnome-icon-theme         2.10.1-2        GNOME Desktop icon theme
ii  gnome-panel              2.10.2-1        launcher and docking facility for 
ii  gstreamer0.8-alsa [gstre 0.8.8-3         ALSA plugin for GStreamer
ii  gstreamer0.8-artsd [gstr 0.8.8-3         aRtsd plugin for GStreamer
ii  gstreamer0.8-esd [gstrea 0.8.8-3         Enlightened Sound Daemon plugin fo
ii  gstreamer0.8-jack [gstre 0.8.8-3         JACK plugin for GStreamer
ii  gstreamer0.8-oss [gstrea 0.8.8-3         OSS plugin for GStreamer
ii  libapm1                  3.2.2-3         Library for interacting with APM d
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.10.1-2        The ATK accessibility toolkit
ii  libbonobo2-0             2.10.0-1        Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgail-common           1.8.4-1         GNOME Accessibility Implementation
ii  libgail17                1.8.4-1         GNOME Accessibility Implementation
ii  libgconf2-4              2.10.0-2        GNOME configuration database syste
ii  libglade2-0              1:2.5.1-2       library to load .glade files at ru
ii  libglib2.0-0             2.6.5-1         The GLib library of C routines
ii  libgnome2-0              2.8.1-2         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.10.2-2        A powerful object-oriented display
ii  libgnomeui-0             2.10.1-1        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.10.1-5        The GNOME virtual file-system libr
ii  libgstreamer-plugins0.8- 0.8.8-3         Various GStreamer libraries and li
ii  libgstreamer0.8-0        0.8.10-1        Core GStreamer libraries, plugins,
ii  libgtk2.0-0              2.6.8-1         The GTK+ graphical user interface 
ii  libgtop2-5               2.10.2-1        Libraries for gtop system monitori
ii  libgucharmap4            1:1.4.3-1       Unicode browser widget library (sh
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  liborbit2                1:2.12.2-1      libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0       2.10.2-1        library for GNOME 2 panel applets
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libwnck16                2.10.2-1        Window Navigator Construction Kit 
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxklavier10            2.0-0.2         X Keyboard Extension high-level AP
ii  libxml2                  2.6.20-1        GNOME XML library
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

Versions of packages gnome-applets recommends:
ii  gnome-media                2.8.0-0.4     Gnome 2 Media Utilities
ii  gnome-netstatus-applet     2.10.0-2      Network status applet for GNOME 2
ii  gnome-system-monitor       2.10.1-2      Process viewer and system resource
ii  imagemagick                6:6.0.6.2-2.4 Image manipulation programs

-- debconf information:
* gnome-applets/cpufreq_SUID_bit: false
-------------- next part --------------
--- gnome-applets-2.10.1/gweather/Locations.xml.orig	2005-07-16 22:00:05.000000000 +0000
+++ gnome-applets-2.10.1/gweather/Locations.xml	2005-07-17 21:05:58.000000000 +0000
@@ -41495,51 +41495,12 @@
         <name xml:lang="zh_CN">???</name>
         <name xml:lang="zh_TW">???</name>
         <code>KDCA</code>
-        <zone>DCZ013</zone>
+        <zone>DCZ001</zone>
         <radar>dca</radar>
-        <coordinates>38-50-54N 077-02-03W</coordinates>
-      </location>
-      <location>
-        
-        <name>Washington-Dulles International Airport</name>
-        <name xml:lang="bg">Washington-Dulles International Airport</name>
-        <name xml:lang="ca">Washington-Dulles International Airport</name>
-        <name xml:lang="cs">Mezin?rodn? leti?t? Washington-Dulles</name>
-        <name xml:lang="cy">Maes Awyr Rhyngwladol Washington-Dulles</name>
-        <name xml:lang="da">Washington-Dulles International Lufthavn</name>
-        <name xml:lang="de">Washington-Dulles International Airport</name>
-        <name xml:lang="el">Washington-Dulles International Airport</name>
-        <name xml:lang="en_CA">Washington-Dulles International Airport</name>
-        <name xml:lang="en_GB">Washington-Dulles International Airport</name>
-        <name xml:lang="es">Washington-Dulles International, aeropuerto</name>
-        <name xml:lang="et">Washington - Dullese'i rahvusvaheline lennujaam</name>
-        <name xml:lang="fi">Washington-Dullesin kansainv?linen lentokentt?</name>
-        <name xml:lang="fr">Washington-Dulles International Airport</name>
-        <name xml:lang="gu">????????-??????? ????????????? ???? ???</name>
-        <name xml:lang="hi">????????-??????? ????????????? ???? ?????</name>
-        <name xml:lang="hu">Washington-Dulles International Airport</name>
-        <name xml:lang="ja">?????????????</name>
-        <name xml:lang="ko">Washington-Dulles International Airport</name>
-        <name xml:lang="lt">Washington-Dulles International Airport</name>
-        <name xml:lang="mk">Washington-Dulles International Airport</name>
-        <name xml:lang="ne">?????????-??????? ??????????? ????????</name>
-        <name xml:lang="nl">Internationale luchthaven Washington-Dulles</name>
-        <name xml:lang="pa">??????????-????? ?????????? ???? ????</name>
-        <name xml:lang="pl">Waszyngton-Mi?dzynarodowe Lotnisko Dulles</name>
-        <name xml:lang="pt">Aeroporto Internacional de Washington-Dulles</name>
-        <name xml:lang="pt_BR">Washington-Aeroporto Internacional Dulles</name>
-        <name xml:lang="ro">Aeroportul Interna?ional Washington-Dulles</name>
-        <name xml:lang="ru">Washington-Dulles International Airport</name>
-        <name xml:lang="sq">Washington-Dulles International Airport</name>
-        <name xml:lang="sr">Washington-Dulles International Airport</name>
-        <name xml:lang="sr at Latn">Washington-Dulles International Airport</name>
-        <name xml:lang="sv">Washington-Dulles International Airport</name>
-        <name xml:lang="tr">Washington-Dulles International Airport</name>
-        <name xml:lang="uk">Washington-Dulles International Airport</name>
-        <name xml:lang="zh_CN">??????????</name>
-        <name xml:lang="zh_TW">??????????</name>
-        <code>KIAD</code>
-        <coordinates>38-56-05N 077-26-51W</coordinates>
+	<!-- Washington, DC Zero Milestone, NGS benchmark HV1847
+	     http://www.ngs.noaa.gov/cgi-bin/ds_desig.prl
+	     http://www.fhwa.dot.gov/infrastructure/zero.htm -->
+        <coordinates>38-53-42N 77-02-12W</coordinates>
       </location>
     </state>
     <state>
@@ -130868,55 +130829,55 @@
       </location>
       <location>
         
-        <name>Chantilly-Dulles Arpt</name>
+        <name>Chantilly-Dulles Airport</name>
         <name xml:lang="ar">???????????-???</name>
-        <name xml:lang="az">Chantilly-Dulles Arpt</name>
+        <name xml:lang="az">Chantilly-Dulles Airport</name>
         <name xml:lang="bg">????-???, ??????</name>
         <name xml:lang="bn">?????????-???? ??????????</name>
-        <name xml:lang="bs">Chantilly-Dulles Arpt</name>
-        <name xml:lang="ca">Chantilly-Dulles Arpt</name>
+        <name xml:lang="bs">Chantilly-Dulles Airport</name>
+        <name xml:lang="ca">Chantilly-Dulles Airport</name>
         <name xml:lang="cs">Chantilly-Dulles - leti?t?</name>
         <name xml:lang="cy">Maes Awyr Chantilly-Dulles</name>
-        <name xml:lang="da">Chantilly-Dulles Arpt</name>
+        <name xml:lang="da">Chantilly-Dulles Airport</name>
         <name xml:lang="de">Chantilly-Dulles Flughafen</name>
-        <name xml:lang="el">Chantilly-Dulles Arpt</name>
-        <name xml:lang="en_CA">Chantilly-Dulles Arpt</name>
-        <name xml:lang="en_GB">Chantilly-Dulles Arpt</name>
+        <name xml:lang="el">Chantilly-Dulles Airport</name>
+        <name xml:lang="en_CA">Chantilly-Dulles Airport</name>
+        <name xml:lang="en_GB">Chantilly-Dulles Airport</name>
         <name xml:lang="es">Chantilly-Dulles, aeropuerto</name>
         <name xml:lang="et">Chantilly-Dullesi lennujaam</name>
         <name xml:lang="eu">Aeropuerto de Chantilly-Dulles</name>
         <name xml:lang="fi">Chantilly-Dullein lentokentt?</name>
-        <name xml:lang="fr">Chantilly-Dulles Arpt</name>
+        <name xml:lang="fr">Chantilly-Dulles Airport</name>
         <name xml:lang="gu">????????-????? ???????</name>
         <name xml:lang="hi">???????-????-?????????</name>
-        <name xml:lang="hu">Chantilly-Dulles Arpt</name>
-        <name xml:lang="id">Chantilly-Dulles Arpt</name>
+        <name xml:lang="hu">Chantilly-Dulles Airport</name>
+        <name xml:lang="id">Chantilly-Dulles Airport</name>
         <name xml:lang="ja">?????????</name>
-        <name xml:lang="ko">Chantilly-Dulles Arpt</name>
-        <name xml:lang="lt">Chantilly-Dulles Arpt</name>
-        <name xml:lang="mk">Chantilly-Dulles Arpt</name>
-        <name xml:lang="mn">Chantilly-Dulles Arpt</name>
+        <name xml:lang="ko">Chantilly-Dulles Airport</name>
+        <name xml:lang="lt">Chantilly-Dulles Airport</name>
+        <name xml:lang="mk">Chantilly-Dulles Airport</name>
+        <name xml:lang="mn">Chantilly-Dulles Airport</name>
         <name xml:lang="nb">Chantilly-Dulles lufthavn</name>
         <name xml:lang="ne">????????????-????? ??????</name>
-        <name xml:lang="nl">Chantilly-Dulles Arpt</name>
+        <name xml:lang="nl">Chantilly-Dulles Airport</name>
         <name xml:lang="nn">Chantilly-Dulles lufthavn</name>
         <name xml:lang="no">Chantilly-Dulles lufthavn</name>
         <name xml:lang="pa">??????-???? ????</name>
-        <name xml:lang="pl">Chantilly-Dulles Arpt</name>
+        <name xml:lang="pl">Chantilly-Dulles Airport</name>
         <name xml:lang="pt">Aeroporto Chantilly-Dulles</name>
         <name xml:lang="pt_BR">Chantilly-Dulles Aeroporto</name>
-        <name xml:lang="ro">Chantilly-Dulles Arpt</name>
-        <name xml:lang="ru">Chantilly-Dulles Arpt</name>
-        <name xml:lang="sq">Chantilly-Dulles Arpt</name>
-        <name xml:lang="sr">Chantilly-Dulles Arpt</name>
-        <name xml:lang="sr at Latn">Chantilly-Dulles Arpt</name>
+        <name xml:lang="ro">Chantilly-Dulles Airport</name>
+        <name xml:lang="ru">Chantilly-Dulles Airport</name>
+        <name xml:lang="sq">Chantilly-Dulles Airport</name>
+        <name xml:lang="sr">Chantilly-Dulles Airport</name>
+        <name xml:lang="sr at Latn">Chantilly-Dulles Airport</name>
         <name xml:lang="sv">Chantilly-Dulles Airport</name>
         <name xml:lang="ta">?????????? ?????? ???????</name>
-        <name xml:lang="tr">Chantilly-Dulles Arpt</name>
-        <name xml:lang="uk">Chantilly-Dulles Arpt</name>
-        <name xml:lang="vi">Chantilly-Dulles Arpt</name>
-        <name xml:lang="zh_CN">Chantilly-Dulles Arpt</name>
-        <name xml:lang="zh_TW">???-Dulles Arpt</name>
+        <name xml:lang="tr">Chantilly-Dulles Airport</name>
+        <name xml:lang="uk">Chantilly-Dulles Airport</name>
+        <name xml:lang="vi">Chantilly-Dulles Airport</name>
+        <name xml:lang="zh_CN">Chantilly-Dulles Airport</name>
+        <name xml:lang="zh_TW">???-Dulles Airport</name>
         <code>KIAD</code>
         <zone>VAZ042</zone>
         <radar>dca</radar>


More information about the Pkg-gnome-maintainers mailing list