summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/tdewebdev/debian/patches
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 23:02:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 23:02:46 +0900
commitfcad8b8d150fb9f508973e3044a103de74ec3877 (patch)
treeca34a8cf3bfbe08335d40c47863b4901e1d19609 /ubuntu/_base/tdewebdev/debian/patches
parent5d8ed1fab813d86b04383f7fcf8ab2c994cbea30 (diff)
downloadtde-packaging-fcad8b8d150fb9f508973e3044a103de74ec3877.tar.gz
tde-packaging-fcad8b8d150fb9f508973e3044a103de74ec3877.zip
DEB: use _base folder for a distro instead of specific distros (squeeze and maverick).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/tdewebdev/debian/patches')
-rw-r--r--ubuntu/_base/tdewebdev/debian/patches/common/README14
-rw-r--r--ubuntu/_base/tdewebdev/debian/patches/common/kubuntu_01_kdepot.diff26
-rw-r--r--ubuntu/_base/tdewebdev/debian/patches/series1
3 files changed, 41 insertions, 0 deletions
diff --git a/ubuntu/_base/tdewebdev/debian/patches/common/README b/ubuntu/_base/tdewebdev/debian/patches/common/README
new file mode 100644
index 000000000..9e81cc359
--- /dev/null
+++ b/ubuntu/_base/tdewebdev/debian/patches/common/README
@@ -0,0 +1,14 @@
+Common patches across TDE Debian packages
+=========================================
+
+ These directory should contain patches to the admin/ subdir of TDE
+ 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/_base/tdewebdev/debian/patches/common/kubuntu_01_kdepot.diff b/ubuntu/_base/tdewebdev/debian/patches/common/kubuntu_01_kdepot.diff
new file mode 100644
index 000000000..28c95742b
--- /dev/null
+++ b/ubuntu/_base/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/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
diff --git a/ubuntu/_base/tdewebdev/debian/patches/series b/ubuntu/_base/tdewebdev/debian/patches/series
new file mode 100644
index 000000000..8f8f0bd6b
--- /dev/null
+++ b/ubuntu/_base/tdewebdev/debian/patches/series
@@ -0,0 +1 @@
+common/kubuntu_01_kdepot.diff