summaryrefslogtreecommitdiffstats
path: root/debian/_buildscripts/local/scripts/hook examples/tdebase
diff options
context:
space:
mode:
Diffstat (limited to 'debian/_buildscripts/local/scripts/hook examples/tdebase')
-rw-r--r--debian/_buildscripts/local/scripts/hook examples/tdebase/018_kate_save_all.diff37
-rwxr-xr-xdebian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh16
-rw-r--r--debian/_buildscripts/local/scripts/hook examples/tdebase/tdebase-usesak.diff15
3 files changed, 0 insertions, 68 deletions
diff --git a/debian/_buildscripts/local/scripts/hook examples/tdebase/018_kate_save_all.diff b/debian/_buildscripts/local/scripts/hook examples/tdebase/018_kate_save_all.diff
deleted file mode 100644
index 16ac7c7dc..000000000
--- a/debian/_buildscripts/local/scripts/hook examples/tdebase/018_kate_save_all.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Nur ori/tdebase/kate/app/katedocmanager.cpp new/tdebase/kate/app/katedocmanager.cpp
---- ori/tdebase/kate/app/katedocmanager.cpp 2013-07-27 02:36:57.000000000 +0900
-+++ new/tdebase/kate/app/katedocmanager.cpp 2013-12-05 15:56:20.311928016 +0900
-@@ -381,7 +381,6 @@
- return modified;
- }
-
--
- bool KateDocManager::queryCloseDocuments(KateMainWindow *w)
- {
- uint docCount = m_docList.count();
-@@ -436,12 +435,22 @@
- return true;
- }
-
--
- void KateDocManager::saveAll()
- {
- for (TQPtrListIterator<Kate::Document> it(m_docList); it.current(); ++it)
-- if ( it.current()->isModified() && it.current()->views().count() )
-- ((Kate::View*)it.current()->views().first())->save();
-+ {
-+ if (it.current()->views().count())
-+ {
-+ if (it.current()->url().isEmpty())
-+ {
-+ ((Kate::View*)it.current()->views().first())->saveAs();
-+ }
-+ else if (it.current()->isModified())
-+ {
-+ ((Kate::View*)it.current()->views().first())->save();
-+ }
-+ }
-+ }
- }
-
- void KateDocManager::saveDocumentList (TDEConfig* config)
diff --git a/debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh b/debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh
deleted file mode 100755
index e764c29ad..000000000
--- a/debian/_buildscripts/local/scripts/hook examples/tdebase/pre_build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-CURR_DIR=$PWD
-cd "$PKG_BUILD_PATH"
-
-# Apply patches
-if [ "$bool_COPY_PKG_SRC" = "y" ]; then
- echo -e "${CLightPurple}Applying Kate save all patch${CNone}"
- patch -p2 < "$HOOK_DIR/$PKG_NAME/018_kate_save_all.diff"
-
- echo -e "${CLightPurple}Applying SAK patch${CNone}"
- patch -p1 < "$HOOK_DIR/$PKG_NAME/tdebase-usesak.diff"
-fi
-
-cd "$CURR_DIR"
-return 0
diff --git a/debian/_buildscripts/local/scripts/hook examples/tdebase/tdebase-usesak.diff b/debian/_buildscripts/local/scripts/hook examples/tdebase/tdebase-usesak.diff
deleted file mode 100644
index e85ca1047..000000000
--- a/debian/_buildscripts/local/scripts/hook examples/tdebase/tdebase-usesak.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -urNa tdebase/tdm/config.def tdebase.new/tdm/config.def
---- tdebase/tdm/config.def 2013-09-12 11:51:29.000000000 -0500
-+++ tdebase.new/tdm/config.def 2014-02-10 06:29:38.537806886 -0600
-@@ -2010,9 +2010,9 @@
-
- Key: UseSAK
- Type: bool
--Default: true
-+Default: false
- User: greeter
--Instance: #*/!
-+Instance: #:*/false
- Comment:
- SAK
- Description: