attachment:kubuntu_01_kdepot.diff of UbuntuPackagingGuideJa/ubuntu-kubuntu


Attachment 'kubuntu_01_kdepot.diff'

Download

   1 --- kde/admin/cvs.sh	2005-11-26 02:42:02.000000000 +0000
   2 +++ kde/admin/cvs.sh	2005-11-26 02:42:26.000000000 +0000
   3 @@ -537,6 +537,8 @@
   4  if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
   5  export EXTRACTRC PREPARETIPS
   6  
   7 +kdepotpath=/usr/include/kde/kde.pot
   8 +
   9  for subdir in $dirs; do
  10    test -z "$VERBOSE" || echo "Making messages in $subdir"
  11    (cd $subdir
  12 @@ -554,10 +556,10 @@
  13     fi
  14     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
  15  
  16 -   kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
  17 -   if ! test -f $kdepotpath; then
  18 -	kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
  19 -   fi
  20 +#   kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
  21 +#   if ! test -f $kdepotpath; then
  22 +#	kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
  23 +#   fi
  24  
  25     $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" srcdir=. \
  26  	XGETTEXT="${XGETTEXT:-xgettext} --foreign-user -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 -kaliasLocale -x $kdepotpath" messages

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-01-06 10:16:46, 1.3 KB) [[attachment:kubuntu_01_kdepot.diff]]

You are not allowed to attach a file to this page.