summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@astralcloak.net>2012-04-11 21:16:14 +1000
committerMichael Palimaka <kensington@astralcloak.net>2012-04-11 21:16:14 +1000
commit2d3203c2525a2df86adcb183ddb5da933680e2b3 (patch)
tree12d538ca6e2f0e5bcbfca66bc767d6b84a278560
parentf99dacf67b55a8ee13439177086b964fabb6fcad (diff)
downloadkde-2d3203c2525a2df86adcb183ddb5da933680e2b3.tar.gz
kde-2d3203c2525a2df86adcb183ddb5da933680e2b3.tar.bz2
kde-2d3203c2525a2df86adcb183ddb5da933680e2b3.zip
[kde-base/lokalize] Remove patches that are no longer used or needed.
(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)
-rw-r--r--kde-base/lokalize/files/lokalize-4.6.1-enablefinal.patch42
-rw-r--r--kde-base/lokalize/files/lokalize-4.6.5-hunspell.patch12
2 files changed, 0 insertions, 54 deletions
diff --git a/kde-base/lokalize/files/lokalize-4.6.1-enablefinal.patch b/kde-base/lokalize/files/lokalize-4.6.1-enablefinal.patch
deleted file mode 100644
index 31034f9e634..00000000000
--- a/kde-base/lokalize/files/lokalize-4.6.1-enablefinal.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- kdesdk-4.5.4/lokalize/src/project/projectmodel.cpp.orig 2010-12-26 18:42:44.132000006 +0100
-+++ kdesdk-4.5.4/lokalize/src/project/projectmodel.cpp 2010-12-26 18:42:44.132000006 +0100
-@@ -1233,21 +1233,6 @@
- {
- }
-
--static void initDb(QSqlDatabase& db)
--{
-- QSqlQuery queryMain(db);
-- queryMain.exec("PRAGMA encoding = \"UTF-8\"");
-- queryMain.exec("CREATE TABLE IF NOT EXISTS metainfo ("
-- "filepath INTEGER PRIMARY KEY ON CONFLICT REPLACE, "// AUTOINCREMENT,"
-- //"filepath TEXT UNIQUE ON CONFLICT REPLACE, "
-- "metainfo BLOB, "//XLIFF markup info, see catalog/catalogstring.h catalog/xliff/*
-- "changedate INTEGER"
-- ")");
--
-- //queryMain.exec("CREATE INDEX IF NOT EXISTS filepath_index ON metainfo ("filepath)");
--}
--
--
- static KFileMetaInfo cachedMetaInfo(const KFileItem& file)
- {
- QString dbName="metainfocache";
-@@ -1257,7 +1242,16 @@
- db.setDatabaseName(KStandardDirs::locateLocal("appdata", dbName+".sqlite"));
- if (KDE_ISUNLIKELY( !db.open() ))
- return KFileMetaInfo(file.url());
-- initDb(db);
-+ QSqlQuery queryMain(db);
-+ queryMain.exec("PRAGMA encoding = \"UTF-8\"");
-+ queryMain.exec("CREATE TABLE IF NOT EXISTS metainfo ("
-+ "filepath INTEGER PRIMARY KEY ON CONFLICT REPLACE, "// AUTOINCREMENT,"
-+ //"filepath TEXT UNIQUE ON CONFLICT REPLACE, "
-+ "metainfo BLOB, "//XLIFF markup info, see catalog/catalogstring.h catalog/xliff/*
-+ "changedate INTEGER"
-+ ")");
-+
-+ //queryMain.exec("CREATE INDEX IF NOT EXISTS filepath_index ON metainfo ("filepath)");
- }
- QSqlDatabase db=QSqlDatabase::database(dbName);
- if (!db.isOpen())
diff --git a/kde-base/lokalize/files/lokalize-4.6.5-hunspell.patch b/kde-base/lokalize/files/lokalize-4.6.5-hunspell.patch
deleted file mode 100644
index 46b4ff07f05..00000000000
--- a/kde-base/lokalize/files/lokalize-4.6.5-hunspell.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN lokalize-4.6.5.orig/cmake/modules/FindHUNSPELL.cmake lokalize-4.6.5/cmake/modules/FindHUNSPELL.cmake
---- lokalize-4.6.5.orig/cmake/modules/FindHUNSPELL.cmake 2011-04-28 15:31:12.000000000 +0200
-+++ lokalize-4.6.5/cmake/modules/FindHUNSPELL.cmake 2011-08-07 20:45:32.175576267 +0200
-@@ -14,7 +14,7 @@
-
- FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
-
--FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.2 hunspell-1.3)
-+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
-
- # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
- # all listed variables are TRUE