From d4559e9b3c89cd58c3aa9bcf76bd1633f3448089 Mon Sep 17 00:00:00 2001 From: "Andreas V. 'netrunner' Meier" Date: Mon, 13 Jun 2005 12:38:33 +0000 Subject: [PATCH] Andreas V. Meier: add syncml plugin to kdepim kdepim: some fixing for the syncml plugin [2005052419511326091] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6103 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/kde/kdepim/kdepim-syncml.patch | 24 ++++++++++++++++++++++++ package/kde/kdepim/kdepim.conf | 14 ++++++++++++++ package/kde/kdepim/kdepim.desc | 1 + 3 files changed, 39 insertions(+) create mode 100644 package/kde/kdepim/kdepim-syncml.patch diff --git a/package/kde/kdepim/kdepim-syncml.patch b/package/kde/kdepim/kdepim-syncml.patch new file mode 100644 index 000000000..1febafda3 --- /dev/null +++ b/package/kde/kdepim/kdepim-syncml.patch @@ -0,0 +1,24 @@ +diff -ruN kdepim-3.4.0/kitchensync/libkonnector2/plugins/syncml/mlsynchistory.h kdepim-3.4.0-new/kitchensync/libkonnector2/plugins/syncml/mlsynchistory.h +--- kdepim-3.4.0/kitchensync/libkonnector2/plugins/syncml/mlsynchistory.h 2005-05-24 16:51:34.000000000 +0200 ++++ kdepim-3.4.0-new/kitchensync/libkonnector2/plugins/syncml/mlsynchistory.h 2005-05-24 16:49:34.000000000 +0200 +@@ -3,6 +3,7 @@ + #define KSYNCML_SYNC_HISTORY_H + + #include ++#include + + //#include + //#include +diff -ruN kdepim-3.4.0/kitchensync/libkonnector2/plugins/syncml/syncmldatabase.cpp kdepim-3.4.0-new/kitchensync/libkonnector2/plugins/syncml/syncmldatabase.cpp +--- kdepim-3.4.0/kitchensync/libkonnector2/plugins/syncml/syncmldatabase.cpp 2005-05-24 16:51:43.000000000 +0200 ++++ kdepim-3.4.0-new/kitchensync/libkonnector2/plugins/syncml/syncmldatabase.cpp 2005-05-24 16:47:29.000000000 +0200 +@@ -57,7 +57,8 @@ + + void SyncMLDatabase::setRemoteURI(const QString & remoteID) + { +- remoteURI = SMLURI(remoteID); ++ remoteURI = remoteID; ++ //remoteURI = SMLURI(remoteID); + } + + void SyncMLDatabase::initializeDatabase(const QString & remoteDeviceID) diff --git a/package/kde/kdepim/kdepim.conf b/package/kde/kdepim/kdepim.conf index 770ca3770..c44b28186 100644 --- a/package/kde/kdepim/kdepim.conf +++ b/package/kde/kdepim/kdepim.conf @@ -22,3 +22,17 @@ . $base/package/kde/kde-3.conf +kspdir=$(echo kdepim-${ver}/kitchensync/libkonnector2/plugins) +ksmlsrc=$(echo $archdir/ksyncml*) + +hook_add prepatch 3 "\ + echo \"tar -C ../$kspdir $taropt $ksmlsrc\"; \ + tar -C ../$kspdir $taropt $ksmlsrc; \ + sed -i -e 's,^\(SUBDIRS.*\)$,\1 syncml,' \ + kitchensync/libkonnector2/plugins/Makefile.{in,am};" +#hook_add preconf 3 "\ +# sed -i -e 's,^\(AC_CONFIG_FILES.*libkonnector2/Makefile\),\ +# AC_CONFIG_FILES([ kitchensync/libkonnector2/plugins/syncml/Makefile \ +# ])\n\1,' configure.in" +#hook_add preconf 3 "make -f Makefile.cvs" +# autoconf=1 diff --git a/package/kde/kdepim/kdepim.desc b/package/kde/kdepim/kdepim.desc index bc4bd297f..14185984c 100644 --- a/package/kde/kdepim/kdepim.desc +++ b/package/kde/kdepim/kdepim.desc @@ -45,3 +45,4 @@ [P] X -?---5---9 162.700 [D] 2410306616 kdepim-3.4.0.tar.bz2 ftp://ftp.kde.org/pub/kde/stable/3.4/src/ +[D] 1403856925 ksyncml-20050314.tar.gz http://www.borowka.net/~maciek/ksyncml/data/