~ubuntu-branches/ubuntu/vivid/kdesudo/vivid

« back to all changes in this revision

Viewing changes to debian/patches/kubuntu_01_kdepot.patch

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2008-07-16 17:08:30 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080716170830-bem298ajm207fua9
Tags: 3.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nur kdesudo-1.1/admin/cvs.sh kdesudo-1.1.new/admin/cvs.sh
2
 
--- kdesudo-1.1/admin/cvs.sh    2007-05-25 11:24:53.000000000 +0200
3
 
+++ kdesudo-1.1.new/admin/cvs.sh        2007-06-01 02:23:51.000000000 +0200
4
 
@@ -537,6 +537,8 @@
5
 
 if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
6
 
 export EXTRACTRC PREPARETIPS
7
 
 
8
 
+kdepotpath=/usr/include/kde/kde.pot
9
 
+
10
 
 for subdir in $dirs; do
11
 
   test -z "$VERBOSE" || echo "Making messages in $subdir"
12
 
   (cd $subdir
13
 
@@ -554,11 +556,6 @@
14
 
    fi
15
 
    perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
16
 
 
17
 
-   kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
18
 
-   if ! test -f $kdepotpath; then
19
 
-       kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
20
 
-   fi
21
 
-
22
 
    $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" srcdir=. \
23
 
        XGETTEXT="${XGETTEXT:-xgettext} --foreign-user -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 -kaliasLocale -x $kdepotpath" messages
24
 
    exit_code=$?