summaryrefslogtreecommitdiffstats
path: root/dilos/tdesdk/debian/patches/common/kubuntu_01_kdepot.diff
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-01-30 22:13:12 +0300
committerSlávek Banko <slavek.banko@axis.cz>2020-03-08 15:40:43 +0100
commitf53be2a5db8dc889056420689a1913aeff7b0af5 (patch)
tree80c8bacab0e649d3a42a4525426ad1512f91c438 /dilos/tdesdk/debian/patches/common/kubuntu_01_kdepot.diff
parentfc267b3a7e513cfa519c60aab4c340a9588e60cb (diff)
downloadtde-packaging-f53be2a5db8dc889056420689a1913aeff7b0af5.tar.gz
tde-packaging-f53be2a5db8dc889056420689a1913aeff7b0af5.zip
DilOS: tdesdk build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit e803ab9f23e7657fa39666791169e1670f6ce3cf)
Diffstat (limited to 'dilos/tdesdk/debian/patches/common/kubuntu_01_kdepot.diff')
-rw-r--r--dilos/tdesdk/debian/patches/common/kubuntu_01_kdepot.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/dilos/tdesdk/debian/patches/common/kubuntu_01_kdepot.diff b/dilos/tdesdk/debian/patches/common/kubuntu_01_kdepot.diff
new file mode 100644
index 000000000..28c95742b
--- /dev/null
+++ b/dilos/tdesdk/debian/patches/common/kubuntu_01_kdepot.diff
@@ -0,0 +1,26 @@
+--- kde/admin/cvs.sh 2005-11-26 02:42:02.000000000 +0000
++++ kde/admin/cvs.sh 2005-11-26 02:42:26.000000000 +0000
+@@ -537,6 +537,8 @@
+ if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
+ export EXTRACTRC PREPARETIPS
+
++kdepotpath=/usr/include/tde/tde.pot
++
+ for subdir in $dirs; do
+ test -z "$VERBOSE" || echo "Making messages in $subdir"
+ (cd $subdir
+@@ -554,10 +556,10 @@
+ fi
+ 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
+
+- kdepotpath=${includedir:-`tde-config --expandvars --install include`}/tde.pot
+- if ! test -f $kdepotpath; then
+- kdepotpath=`tde-config --expandvars --prefix`/include/tde.pot
+- fi
++# kdepotpath=${includedir:-`tde-config --expandvars --install include`}/tde.pot
++# if ! test -f $kdepotpath; then
++# kdepotpath=`tde-config --expandvars --prefix`/include/tde.pot
++# fi
+
+ $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" srcdir=. \
+ XGETTEXT="${XGETTEXT:-xgettext} --foreign-user -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 -kaliasLocale -x $kdepotpath" messages