From 02dc85a95b228b7242b0d11ea35619faad96db03 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 10 Sep 2012 16:16:32 -0500 Subject: Split precise from maverick --- .../precise/tdewebdev/debian/patches/common/README | 14 ++++++++++++ .../debian/patches/common/kubuntu_01_kdepot.diff | 26 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 ubuntu/precise/tdewebdev/debian/patches/common/README create mode 100644 ubuntu/precise/tdewebdev/debian/patches/common/kubuntu_01_kdepot.diff (limited to 'ubuntu/precise/tdewebdev/debian/patches') diff --git a/ubuntu/precise/tdewebdev/debian/patches/common/README b/ubuntu/precise/tdewebdev/debian/patches/common/README new file mode 100644 index 000000000..01a880c08 --- /dev/null +++ b/ubuntu/precise/tdewebdev/debian/patches/common/README @@ -0,0 +1,14 @@ +Common patches across KDE Debian packages +========================================= + + These directory should contain patches to the admin/ subdir of KDE + modules that are meant to be applied to all packaged modules. As the + admin/ subdir is shared across modules (and so, it's identical for all + modules at a certain version), I think it makes sense to have these + patches in a central location, and update them here. + + The script update.sh takes care of automatically updating the patches + that update autotools and libtool. You need to pass the location of an + admin/ directory as the first argument. + + -- Adeodato Simó, 2005-02-26 diff --git a/ubuntu/precise/tdewebdev/debian/patches/common/kubuntu_01_kdepot.diff b/ubuntu/precise/tdewebdev/debian/patches/common/kubuntu_01_kdepot.diff new file mode 100644 index 000000000..47aee4140 --- /dev/null +++ b/ubuntu/precise/tdewebdev/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/kde.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 () { 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`}/kde.pot +- if ! test -f $kdepotpath; then +- kdepotpath=`tde-config --expandvars --prefix`/include/kde.pot +- fi ++# kdepotpath=${includedir:-`tde-config --expandvars --install include`}/kde.pot ++# if ! test -f $kdepotpath; then ++# kdepotpath=`tde-config --expandvars --prefix`/include/kde.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 -- cgit v1.2.1