summaryrefslogtreecommitdiffstats
path: root/dilos/tdeaccessibility/debian/patches
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-01-30 22:13:12 +0300
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-03-08 01:42:10 +0000
commit9de3a997a63566c50774a4d85dce910b81ac1bcd (patch)
tree5ba30c758aa6e3e21665ad5f5e8ab8b90c38c8fb /dilos/tdeaccessibility/debian/patches
parent5c670cd0d9443ef0443a5cbc700cb501e01eed93 (diff)
downloadtde-packaging-9de3a997a63566c50774a4d85dce910b81ac1bcd.tar.gz
tde-packaging-9de3a997a63566c50774a4d85dce910b81ac1bcd.zip
DilOS: tdeaccessibility build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'dilos/tdeaccessibility/debian/patches')
-rw-r--r--dilos/tdeaccessibility/debian/patches/common/04_am_maintainer_mode.diff11
-rw-r--r--dilos/tdeaccessibility/debian/patches/common/06_disable_no_undefined.diff18
-rw-r--r--dilos/tdeaccessibility/debian/patches/common/kubuntu_01_kdepot.diff26
-rw-r--r--dilos/tdeaccessibility/debian/patches/dilos.patch38
-rw-r--r--dilos/tdeaccessibility/debian/patches/series4
5 files changed, 97 insertions, 0 deletions
diff --git a/dilos/tdeaccessibility/debian/patches/common/04_am_maintainer_mode.diff b/dilos/tdeaccessibility/debian/patches/common/04_am_maintainer_mode.diff
new file mode 100644
index 000000000..391a80285
--- /dev/null
+++ b/dilos/tdeaccessibility/debian/patches/common/04_am_maintainer_mode.diff
@@ -0,0 +1,11 @@
+--- a/admin/configure.in.min
++++ b/admin/configure.in.min
+@@ -38,6 +38,8 @@
+ dnl Automake doc recommends to do this only here. (Janos)
+ AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
+
++AM_MAINTAINER_MODE
++
+ KDE_SET_PREFIX
+
+ dnl generate the config header
diff --git a/dilos/tdeaccessibility/debian/patches/common/06_disable_no_undefined.diff b/dilos/tdeaccessibility/debian/patches/common/06_disable_no_undefined.diff
new file mode 100644
index 000000000..05c932c3c
--- /dev/null
+++ b/dilos/tdeaccessibility/debian/patches/common/06_disable_no_undefined.diff
@@ -0,0 +1,18 @@
+--- a/admin/acinclude.m4.in
++++ b/admin/acinclude.m4.in
+@@ -1689,15 +1689,6 @@
+ KDE_USE_CLOSURE_TRUE="#"
+ KDE_USE_CLOSURE_FALSE=""
+ KDE_NO_UNDEFINED=""
+- case $host in
+- *-*-linux-gnu)
+- KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined],
+- [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined],
+- [KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"],
+- [KDE_NO_UNDEFINED=""])],
+- [KDE_NO_UNDEFINED=""])
+- ;;
+- esac
+ fi
+ AC_SUBST(KDE_USE_CLOSURE_TRUE)
+ AC_SUBST(KDE_USE_CLOSURE_FALSE)
diff --git a/dilos/tdeaccessibility/debian/patches/common/kubuntu_01_kdepot.diff b/dilos/tdeaccessibility/debian/patches/common/kubuntu_01_kdepot.diff
new file mode 100644
index 000000000..28c95742b
--- /dev/null
+++ b/dilos/tdeaccessibility/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/dilos/tdeaccessibility/debian/patches/dilos.patch b/dilos/tdeaccessibility/debian/patches/dilos.patch
new file mode 100644
index 000000000..061afa647
--- /dev/null
+++ b/dilos/tdeaccessibility/debian/patches/dilos.patch
@@ -0,0 +1,38 @@
+Index: tdeaccessibility/admin/acinclude.m4.in
+===================================================================
+--- tdeaccessibility.orig/admin/acinclude.m4.in
++++ tdeaccessibility/admin/acinclude.m4.in
+@@ -1586,7 +1586,7 @@ if AC_TRY_EVAL(kde_line); then
+ # if you're trying to debug this check and think it's incorrect,
+ # better check your installation. The check _is_ correct - your
+ # installation is not.
+- if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
++ if test -f actest.cpp && grep -i klineedit actest.cpp > /dev/null; then
+ kde_cv_uic_plugins=yes
+ fi
+ fi
+Index: tdeaccessibility/acinclude.m4
+===================================================================
+--- tdeaccessibility.orig/acinclude.m4
++++ tdeaccessibility/acinclude.m4
+@@ -1586,7 +1586,7 @@ if AC_TRY_EVAL(kde_line); then
+ # if you're trying to debug this check and think it's incorrect,
+ # better check your installation. The check _is_ correct - your
+ # installation is not.
+- if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
++ if test -f actest.cpp && grep -i klineedit actest.cpp > /dev/null; then
+ kde_cv_uic_plugins=yes
+ fi
+ fi
+Index: tdeaccessibility/ksayit/Freeverb_plugin/freeverb_setup.ui
+===================================================================
+--- tdeaccessibility.orig/ksayit/Freeverb_plugin/freeverb_setup.ui
++++ tdeaccessibility/ksayit/Freeverb_plugin/freeverb_setup.ui
+@@ -665,4 +665,7 @@
+ <includehints>
+ <includehint>kpushbutton.h</includehint>
+ </includehints>
++<includes>
++ <include>kpushbutton.h</include>
++</includes>
+ </UI>
diff --git a/dilos/tdeaccessibility/debian/patches/series b/dilos/tdeaccessibility/debian/patches/series
new file mode 100644
index 000000000..8e96568f3
--- /dev/null
+++ b/dilos/tdeaccessibility/debian/patches/series
@@ -0,0 +1,4 @@
+common/04_am_maintainer_mode.diff
+common/06_disable_no_undefined.diff
+common/kubuntu_01_kdepot.diff
+dilos.patch