From a970f0f41357bf22b1ced5db332a02407efd30f4 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Fri, 31 Dec 2021 11:19:26 +0900 Subject: Removed unnecessary hunks after switched to use krsync library Signed-off-by: OBATA Akio --- ConfigureChecks.cmake | 11 ----------- config.h.cmake | 7 ------- konq-plugins/rsync/rsyncplugin.cpp | 40 -------------------------------------- 3 files changed, 58 deletions(-) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 1fce07f..9a1f20c 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -48,17 +48,6 @@ if( BUILD_KICKER_APPLETS ) endif( BUILD_KICKER_APPLETS ) -##### konq-plugins ############################## - -if( BUILD_KONQ_PLUGINS ) - check_include_file( "pty.h" HAVE_PTY_H ) - check_include_file( "terminos.h" HAVE_TERMIOS_H ) - check_include_file( "stropts.h" HAVE_STROPTS ) - check_include_file( "sys/ioctl.h" HAVE_SYS_IOCTL_H ) - check_include_file( "libutil.h" HAVE_LIBUTIL_H ) - check_include_file( "util.h" HAVE_UTIL_H ) -endif( BUILD_KONQ_PLUGINS ) - ##### other dependencies ######################## diff --git a/config.h.cmake b/config.h.cmake index 61f58bb..59a77ce 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -3,10 +3,3 @@ #cmakedefine HAVE_FCNTL_H 1 #cmakedefine HAVE_XMMS 1 -// konq-plugins -#cmakedefine HAVE_PTY_H 1 -#cmakedefine HAVE_TERMIOS_H 1 -#cmakedefine HAVE_STROPTS 1 -#cmakedefine HAVE_SYS_IOCTL_H 1 -#cmakedefine HAVE_LIBUTIL_H 1 -#cmakedefine HAVE_UTIL_H 1 diff --git a/konq-plugins/rsync/rsyncplugin.cpp b/konq-plugins/rsync/rsyncplugin.cpp index 68816b1..f0b6d2c 100644 --- a/konq-plugins/rsync/rsyncplugin.cpp +++ b/konq-plugins/rsync/rsyncplugin.cpp @@ -15,40 +15,6 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define HAVE_TERMIOS_H 1 -#define HAVE_GRANTPT 1 - -#include -#ifdef HAVE_PTY_H -#include -#endif -#ifdef HAVE_TERMIOS_H -#include -#endif -#ifdef HAVE_STROPTS -#include -#endif -#ifdef HAVE_SYS_IOCTL_H -#include -#endif -#ifdef HAVE_LIBUTIL_H -#include -#endif -#ifdef HAVE_UTIL_H -#include -#endif #include #include @@ -76,10 +42,7 @@ #include #include #include -#include #include -#include -#include #include #include #include @@ -94,9 +57,6 @@ #include #include -#include -#include - #include "rsyncplugin.h" #define myDebug(x) kdDebug(7127) << __LINE__ << ": " x -- cgit v1.2.1