rev 4391 - in kde-extras/kwlan/trunk/debian: . patches

Fathi Boudra fboudra-guest at costa.debian.org
Wed Aug 23 22:35:23 UTC 2006


Author: fboudra-guest
Date: 2006-08-23 22:35:20 +0000 (Wed, 23 Aug 2006)
New Revision: 4391

Added:
   kde-extras/kwlan/trunk/debian/patches/
   kde-extras/kwlan/trunk/debian/patches/02_autotools_update.diff
   kde-extras/kwlan/trunk/debian/patches/04_am_maintainer_mode.diff
   kde-extras/kwlan/trunk/debian/patches/05_pedantic-errors.diff
   kde-extras/kwlan/trunk/debian/patches/06_disable_no_undefined.diff
Modified:
   kde-extras/kwlan/trunk/debian/changelog
   kde-extras/kwlan/trunk/debian/control
   kde-extras/kwlan/trunk/debian/rules
Log:
pre-packaged upcoming kwlan 0.5.3

Modified: kde-extras/kwlan/trunk/debian/changelog
===================================================================
--- kde-extras/kwlan/trunk/debian/changelog	2006-08-23 22:14:26 UTC (rev 4390)
+++ kde-extras/kwlan/trunk/debian/changelog	2006-08-23 22:35:20 UTC (rev 4391)
@@ -1,5 +1,6 @@
-kwlan (0.5.2-2) UNRELEASED; urgency=low
+kwlan (0.5.3-1) unstable; urgency=low
 
+  * New upstream release (Closes: #378284)
   * Added missing dependencies: ppp, psmisc
   * Conflicts against dhcdbd: if dhcdbd is installed, it always tries to get a
     dhcp address regardless whether kwlan configures the interface using a

Modified: kde-extras/kwlan/trunk/debian/control
===================================================================
--- kde-extras/kwlan/trunk/debian/control	2006-08-23 22:14:26 UTC (rev 4390)
+++ kde-extras/kwlan/trunk/debian/control	2006-08-23 22:35:20 UTC (rev 4391)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>
 Uploaders: Fathi Boudra <fboudra at free.fr>, Mark Purcell <msp at debian.org>
-Build-Depends: cdbs, debhelper (>= 5), automake1.7, kdelibs4-dev, libiw-dev
+Build-Depends: cdbs, debhelper (>= 5), automake1.9, kdelibs4-dev, libiw-dev
 Standards-Version: 3.7.2
 
 Package: kwlan

Added: kde-extras/kwlan/trunk/debian/patches/02_autotools_update.diff
===================================================================
--- kde-extras/kwlan/trunk/debian/patches/02_autotools_update.diff	2006-08-23 22:14:26 UTC (rev 4390)
+++ kde-extras/kwlan/trunk/debian/patches/02_autotools_update.diff	2006-08-23 22:35:20 UTC (rev 4391)
@@ -0,0 +1,355 @@
+diff -Nrua a/admin/install-sh b/admin/install-sh
+--- a/admin/install-sh	2006-08-23 22:13:14.000000000 +0200
++++ b/admin/install-sh	2006-08-24 00:26:03.000000000 +0200
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ # install - install a program, script, or datafile
+ 
+-scriptversion=2005-11-07.23
++scriptversion=2005-05-14.22
+ 
+ # This originates from X11R5 (mit/util/scripts/install.sh), which was
+ # later released in X11R6 (xc/config/util/install.sh) with the
+@@ -58,21 +58,7 @@
+ rmprog="${RMPROG-rm}"
+ mkdirprog="${MKDIRPROG-mkdir}"
+ 
+-posix_glob=
+-posix_mkdir=
+-
+-# Symbolic mode for testing mkdir with directories.
+-# It is the same as 755, but also tests that "u+" works.
+-test_mode=u=rwx,g=rx,o=rx,u+wx
+-
+-# Desired mode of installed file.
+-mode=0755
+-
+-# Desired mode of newly created intermediate directories.
+-# It is empty if not known yet.
+-intermediate_mode=
+-
+-chmodcmd=$chmodprog
++chmodcmd="$chmodprog 0755"
+ chowncmd=
+ chgrpcmd=
+ stripcmd=
+@@ -125,7 +111,7 @@
+ 
+     --help) echo "$usage"; exit $?;;
+ 
+-    -m) mode=$2
++    -m) chmodcmd="$chmodprog $2"
+         shift
+         shift
+         continue;;
+@@ -178,8 +164,6 @@
+   exit 0
+ fi
+ 
+-test -n "$dir_arg" || trap '(exit $?); exit' 1 2 13 15
+-
+ for src
+ do
+   # Protect names starting with `-'.
+@@ -189,11 +173,15 @@
+ 
+   if test -n "$dir_arg"; then
+     dst=$src
+-    dstdir=$dst
+-    test -d "$dstdir"
+-    dstdir_status=$?
+-  else
++    src=
+ 
++    if test -d "$dst"; then
++      mkdircmd=:
++      chmodcmd=
++    else
++      mkdircmd=$mkdirprog
++    fi
++  else
+     # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+     # might cause directories to be created, which would be especially bad
+     # if $src (and thus $dsttmp) contains '*'.
+@@ -220,122 +208,53 @@
+ 	echo "$0: $dstarg: Is a directory" >&2
+ 	exit 1
+       fi
+-      dstdir=$dst
+-      dst=$dstdir/`basename "$src"`
+-      dstdir_status=0
+-    else
+-      # Prefer dirname, but fall back on a substitute if dirname fails.
+-      dstdir=`
+-	(dirname "$dst") 2>/dev/null ||
+-	expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+-	     X"$dst" : 'X\(//\)[^/]' \| \
+-	     X"$dst" : 'X\(//\)$' \| \
+-	     X"$dst" : 'X\(/\)' \| \
+-	     .       : '\(.\)' 2>/dev/null ||
+-	echo X"$dst" |
+-	    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+-		  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+-		  /^X\(\/\/\)$/{ s//\1/; q; }
+-		  /^X\(\/\).*/{ s//\1/; q; }
+-		  s/.*/./; q'
+-      `
+-
+-      test -d "$dstdir"
+-      dstdir_status=$?
++      dst=$dst/`basename "$src"`
+     fi
+   fi
+ 
+-  obsolete_mkdir_used=false
++  # This sed command emulates the dirname command.
++  dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
+ 
+-  if test $dstdir_status != 0; then
+-    case $posix_mkdir in
+-      '')
+-	posix_mkdir=false
+-	if $mkdirprog -m $test_mode -p -- / >/dev/null 2>&1; then
+-	  posix_mkdir=true
+-	else
+-	  # Remove any dirs left behind by ancient mkdir implementations.
+-	  rmdir ./-m "$test_mode" ./-p ./-- 2>/dev/null
+-	fi ;;
+-    esac
++  # Make sure that the destination directory exists.
+ 
+-    if
+-      $posix_mkdir && {
++  # Skip lots of stat calls in the usual case.
++  if test ! -d "$dstdir"; then
++    defaultIFS='
++	 '
++    IFS="${IFS-$defaultIFS}"
++
++    oIFS=$IFS
++    # Some sh's can't handle IFS=/ for some reason.
++    IFS='%'
++    set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
++    shift
++    IFS=$oIFS
+ 
+-	# With -d, create the new directory with the user-specified mode.
+-	# Otherwise, create it using the same intermediate mode that
+-	# mkdir -p would use when creating intermediate directories.
+-	# POSIX says that this mode is "$(umask -S),u+wx", so use that
+-	# if umask -S works.
+-
+-	if test -n "$dir_arg"; then
+-	  mkdir_mode=$mode
+-	else
+-	  case $intermediate_mode in
+-	    '')
+-	      if umask_S=`(umask -S) 2>/dev/null`; then
+-		intermediate_mode=$umask_S,u+wx
+-	      else
+-		intermediate_mode=$test_mode
+-	      fi ;;
+-	  esac
+-	  mkdir_mode=$intermediate_mode
+-	fi
+-
+-	$mkdirprog -m "$mkdir_mode" -p -- "$dstdir"
+-      }
+-    then :
+-    else
++    pathcomp=
+ 
+-      # mkdir does not conform to POSIX, or it failed possibly due to
+-      # a race condition.  Create the directory the slow way, step by
+-      # step, checking for races as we go.
+-
+-      case $dstdir in
+-	/*) pathcomp=/ ;;
+-	-*) pathcomp=./ ;;
+-	*)  pathcomp= ;;
+-      esac
+-
+-      case $posix_glob in
+-        '')
+-	  if (set -f) 2>/dev/null; then
+-	    posix_glob=true
+-	  else
+-	    posix_glob=false
+-	  fi ;;
+-      esac
+-
+-      oIFS=$IFS
+-      IFS=/
+-      $posix_glob && set -f
+-      set fnord $dstdir
++    while test $# -ne 0 ; do
++      pathcomp=$pathcomp$1
+       shift
+-      $posix_glob && set +f
+-      IFS=$oIFS
+-
+-      for d
+-      do
+-	test "x$d" = x && continue
+-
+-	pathcomp=$pathcomp$d
+-	if test ! -d "$pathcomp"; then
+-	  $mkdirprog "$pathcomp"
+-	  # Don't fail if two instances are running concurrently.
+-	  test -d "$pathcomp" || exit 1
+-	fi
+-	pathcomp=$pathcomp/
+-      done
+-      obsolete_mkdir_used=true
+-    fi
++      if test ! -d "$pathcomp"; then
++        $mkdirprog "$pathcomp"
++	# mkdir can fail with a `File exist' error in case several
++	# install-sh are creating the directory concurrently.  This
++	# is OK.
++	test -d "$pathcomp" || exit
++      fi
++      pathcomp=$pathcomp/
++    done
+   fi
+ 
+   if test -n "$dir_arg"; then
+-    { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+-    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+-    { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+-      test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dst"; } || exit 1
++    $doit $mkdircmd "$dst" \
++      && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
++      && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
++      && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
++      && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
++
+   else
++    dstfile=`basename "$dst"`
+ 
+     # Make a couple of temp file names in the proper directory.
+     dsttmp=$dstdir/_inst.$$_
+@@ -343,6 +262,7 @@
+ 
+     # Trap to clean up those temp files at exit.
+     trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
++    trap '(exit $?); exit' 1 2 13 15
+ 
+     # Copy the file name to the temp name.
+     $doit $cpprog "$src" "$dsttmp" &&
+@@ -356,10 +276,10 @@
+     { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
+       && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
+       && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
+-      && { test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dsttmp"; } &&
++      && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
+ 
+     # Now rename the file to the real destination.
+-    { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
++    { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
+       || {
+ 	   # The rename failed, perhaps because mv can't rename something else
+ 	   # to itself, or perhaps because mv is so ancient that it does not
+@@ -371,12 +291,11 @@
+ 	   # reasons.  In this case, the final cleanup might fail but the new
+ 	   # file should still install successfully.
+ 	   {
+-	     if test -f "$dst"; then
+-	       $doit $rmcmd -f "$dst" 2>/dev/null \
+-	       || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
+-		     && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
++	     if test -f "$dstdir/$dstfile"; then
++	       $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
++	       || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
+ 	       || {
+-		 echo "$0: cannot unlink or rename $dst" >&2
++		 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
+ 		 (exit 1); exit 1
+ 	       }
+ 	     else
+@@ -385,14 +304,17 @@
+ 	   } &&
+ 
+ 	   # Now rename the file to the real destination.
+-	   $doit $mvcmd "$dsttmp" "$dst"
++	   $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
+ 	 }
+-    } || exit 1
+-
+-    trap '' 0
+-  fi
++    }
++  fi || { (exit 1); exit 1; }
+ done
+ 
++# The final little trick to "correctly" pass the exit status to the exit trap.
++{
++  (exit 0); exit 0
++}
++
+ # Local variables:
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
+ # time-stamp-start: "scriptversion="
+diff -Nrua a/admin/missing b/admin/missing
+--- a/admin/missing	2006-08-23 22:13:14.000000000 +0200
++++ b/admin/missing	2006-08-24 00:26:03.000000000 +0200
+@@ -1,9 +1,9 @@
+ #! /bin/sh
+ # Common stub for a few missing GNU programs while installing.
+ 
+-scriptversion=2004-09-07.08
++scriptversion=2005-06-08.21
+ 
+-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
++# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+ #   Free Software Foundation, Inc.
+ # Originally by Fran,cois Pinard <pinard at iro.umontreal.ca>, 1996.
+ 
+@@ -19,8 +19,8 @@
+ 
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+-# 02111-1307, USA.
++# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
++# 02110-1301, USA.
+ 
+ # As a special exception to the GNU General Public License, if you
+ # distribute this file as part of a program that contains a
+@@ -87,12 +87,12 @@
+   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
+ 
+ Send bug reports to <bug-automake at gnu.org>."
+-    exit 0
++    exit $?
+     ;;
+ 
+   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+     echo "missing $scriptversion (GNU Automake)"
+-    exit 0
++    exit $?
+     ;;
+ 
+   -*)
+@@ -288,11 +288,18 @@
+          call might also be the consequence of using a buggy \`make' (AIX,
+          DU, IRIX).  You might want to install the \`Texinfo' package or
+          the \`GNU make' package.  Grab either from any GNU archive site."
++    # The file to touch is that specified with -o ...
+     file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+     if test -z "$file"; then
+-      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+-      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
+-    fi
++      # ... or it is the one specified with @setfilename ...
++      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
++      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
++      # ... or it is derived from the source name (dir/f.texi becomes f.info)
++      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
++    fi
++    # If the file does not exist, the user really needs makeinfo;
++    # let's fail without touching anything.
++    test -f $file || exit 1
+     touch $file
+     ;;
+ 

Added: kde-extras/kwlan/trunk/debian/patches/04_am_maintainer_mode.diff
===================================================================
--- kde-extras/kwlan/trunk/debian/patches/04_am_maintainer_mode.diff	2006-08-23 22:14:26 UTC (rev 4390)
+++ kde-extras/kwlan/trunk/debian/patches/04_am_maintainer_mode.diff	2006-08-23 22:35:20 UTC (rev 4391)
@@ -0,0 +1,11 @@
+--- a/admin/configure.in.min
++++ b/admin/configure.in.min
+@@ -38,6 +38,8 @@
+ dnl Automake doc recommends to do this only here. (Janos)
+ AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
+ 
++AM_MAINTAINER_MODE
++
+ KDE_SET_PREFIX
+ 
+ dnl generate the config header

Added: kde-extras/kwlan/trunk/debian/patches/05_pedantic-errors.diff
===================================================================
--- kde-extras/kwlan/trunk/debian/patches/05_pedantic-errors.diff	2006-08-23 22:14:26 UTC (rev 4390)
+++ kde-extras/kwlan/trunk/debian/patches/05_pedantic-errors.diff	2006-08-23 22:35:20 UTC (rev 4391)
@@ -0,0 +1,12 @@
+--- a/admin/acinclude.m4.in
++++ b/admin/acinclude.m4.in
+@@ -2144,9 +2144,6 @@
+ save_CXXFLAGS="$CXXFLAGS"
+ kde_safe_LIBS="$LIBS"
+ LIBS="$LIBS $X_EXTRA_LIBS"
+-if test "$GXX" = "yes"; then
+-CXXFLAGS="$CXXFLAGS -pedantic-errors"
+-fi
+ AC_TRY_COMPILE([
+ $2
+ ],

Added: kde-extras/kwlan/trunk/debian/patches/06_disable_no_undefined.diff
===================================================================
--- kde-extras/kwlan/trunk/debian/patches/06_disable_no_undefined.diff	2006-08-23 22:14:26 UTC (rev 4390)
+++ kde-extras/kwlan/trunk/debian/patches/06_disable_no_undefined.diff	2006-08-23 22:35:20 UTC (rev 4391)
@@ -0,0 +1,18 @@
+--- a/admin/acinclude.m4.in
++++ b/admin/acinclude.m4.in
+@@ -1689,15 +1689,6 @@
+        KDE_USE_CLOSURE_TRUE="#"
+        KDE_USE_CLOSURE_FALSE=""
+        KDE_NO_UNDEFINED=""
+-       case $host in 
+-         *-*-linux-gnu)
+-           KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined],
+-                [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined],
+-		[KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"],
+-		[KDE_NO_UNDEFINED=""])],
+-	    [KDE_NO_UNDEFINED=""])
+-           ;;
+-       esac
+   fi
+   AC_SUBST(KDE_USE_CLOSURE_TRUE)
+   AC_SUBST(KDE_USE_CLOSURE_FALSE)

Modified: kde-extras/kwlan/trunk/debian/rules
===================================================================
--- kde-extras/kwlan/trunk/debian/rules	2006-08-23 22:14:26 UTC (rev 4390)
+++ kde-extras/kwlan/trunk/debian/rules	2006-08-23 22:35:20 UTC (rev 4391)
@@ -2,6 +2,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/kde.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_BUILDDIR = .
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-sudo




More information about the pkg-kde-commits mailing list