[Pkg-xfce-devel] Bug#462462: xfwm4: debian/watch filename regex is not strict enough

Antonio Terceiro terceiro at softwarelivre.org
Thu Jan 24 20:38:57 UTC 2008

Package: xfwm4
Version: 4.4.2-1
Severity: minor
Tags: patch

terceiro at morere:/tmp$ debcheckout xfwm4
declared svn repository at svn://svn.debian.org/pkg-xfce/desktop/trunk/xfwm4/
svn co svn://svn.debian.org/pkg-xfce/desktop/trunk/xfwm4/ xfwm4 ...
A    xfwm4/debian
A    xfwm4/debian/control
A    xfwm4/debian/compat
A    xfwm4/debian/postinst
A    xfwm4/debian/xfwm4.1
A    xfwm4/debian/prerm
A    xfwm4/debian/watch
A    xfwm4/debian/changelog
A    xfwm4/debian/patches
A    xfwm4/debian/patches/series
A    xfwm4/debian/copyright
A    xfwm4/debian/xfwm4.menu
A    xfwm4/debian/rules
A    xfwm4/debian/README.Debian
A    xfwm4/debian/lintian
Checked out revision 1544.
terceiro at morere:/tmp$ mkdir tarballs
terceiro at morere:/tmp$ cd xfwm4/
terceiro at morere:/tmp/xfwm4$ uscan --force-download --verbose --repack --destdir ../tarballs/
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   http://www.xfce.org/archive/xfce-(.*)/src/   xfwm4-(.*)\.tar\.bz2
-- Found the following matching hrefs:
Newest version on remote site is themes-4.4.2, local version is 4.4.2
 => Forcing download as requested
-- Downloading updated package xfwm4-themes-4.4.2.tar.bz2
-- Repacking from bzip2 to gzip
-- Successfully downloaded updated package xfwm4-themes-4.4.2.tar.gz
    and symlinked xfwm4_themes-4.4.2.orig.tar.gz to it
-- Scan finished


Note that the current debian/watch regex brought xfwm4, "version themes-4.4.2", which is wrong. This minor change fixes the issue:

Index: debian/watch
--- debian/watch	(revision 1544)
+++ debian/watch	(working copy)
@@ -1,3 +1,3 @@
 http://www.xfce.org/archive/xfce-(.*)/src/ \
-	xfwm4-(.*)\.tar\.bz2
+	xfwm4-(\d+\.\d+.\d+)\.tar\.bz2


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfwm4 depends on:
ii  libatk1.0-0            1.20.0-1          The ATK accessibility toolkit
ii  libc6                  2.7-6             GNU C Library: Shared libraries
ii  libcairo2              1.4.14-1          The Cairo 2D vector graphics libra
ii  libfontconfig1         2.5.0-2           generic font configuration library
ii  libfreetype6           2.3.5-1+b1        FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.14.5-2          The GLib library of C routines
ii  libgtk2.0-0            2.12.5-1          The GTK+ graphical user interface 
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libpango1.0-0          1.18.4-1          Layout and rendering of internatio
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
ii  libstartup-notificatio 0.9-1             library for program launch feedbac
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxcomposite1         1:0.4.0-1         X11 Composite extension library
ii  libxdamage1            1:1.1.1-3         X11 damaged region extension libra
ii  libxext6               1:1.0.3-2         X11 miscellaneous extension librar
ii  libxfce4mcs-client3    4.4.2-1           Client library for Xfce4 configure
ii  libxfce4mcs-manager3   4.4.2-1           Manager library for Xfce4 configur
ii  libxfce4util4          4.4.2-1           Utility functions library for Xfce
ii  libxfcegui4-4          4.4.2-1           Basic GUI C functions for Xfce4
ii  libxfixes3             1:4.0.3-2         X11 miscellaneous 'fixes' extensio
ii  libxrandr2             2:1.2.2-1         X11 RandR extension library
ii  libxrender1            1:0.9.4-1         X Rendering Extension client libra
ii  zlib1g                 1: compression library - runtime

Versions of packages xfwm4 recommends:
ii  librsvg2-common               2.20.0-1   SAX-based renderer library for SVG
ii  xfce4-mcs-manager             4.4.2-1    Settings manager for Xfce4
ii  xfwm4-themes                  4.4.2-1    Theme files for xfwm4

-- no debconf information

Antonio Terceiro <terceiro at softwarelivre.org>
GnuPG ID: 0F9CB28F

More information about the Pkg-xfce-devel mailing list