From 5d6073d6d93822a60274671b7a5ac5740f6ff8ea Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Nov 2022 21:47:49 +0900 Subject: [PATCH] Drop automake build support. Signed-off-by: Michele Calgaro --- .gitmodules | 3 -- INSTALL | 15 ++++++++ INSTALL-cmake | 72 ------------------------------------- NEWS | 0 README | 3 -- README.md | 24 +++++++++++++ TODO | 1 - admin | 1 - tdesvn.spec | 98 --------------------------------------------------- templates/cpp | 19 ---------- templates/h | 19 ---------- 11 files changed, 39 insertions(+), 216 deletions(-) delete mode 100644 .gitmodules create mode 100644 INSTALL delete mode 100644 INSTALL-cmake delete mode 100644 NEWS delete mode 100644 README create mode 100644 README.md delete mode 100644 TODO delete mode 160000 admin delete mode 100644 tdesvn.spec delete mode 100644 templates/cpp delete mode 100644 templates/h diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 934def7..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "admin"] - path = admin - url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..7e45491 --- /dev/null +++ b/INSTALL @@ -0,0 +1,15 @@ +Basic Installation +================== + +tdesvn relies on cmake to build. + +Here are suggested default options: + + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" diff --git a/INSTALL-cmake b/INSTALL-cmake deleted file mode 100644 index 37af8da..0000000 --- a/INSTALL-cmake +++ /dev/null @@ -1,72 +0,0 @@ -Note for failed linking -======================= -Seems that on some systems linking fails due missing references. You may -solve it with - -. /etc/profile.d/qt.sh -export TQTLIB=${TQTDIR}/lib QTINC=${TQTDIR}/include - -before running cmake. -On some systems cmake doesn't detect that it is a threaded qt-version. So you should -do - -export CXXFLAGS="-DTQT_THREAD_SUPPORT" - -before running cmake. -(Or give it as parameter to cmake with -DCMAKE_CXX_FLAGS="-DTQT_THREAD_SUPPORT") - - -Prepare install -=============== -You require at least cmake 2.4, kde 3.4.x and subversion 1.2. In source-tree-build are mostly unwanted, so -make a subdir called "tdesvn-build" and change to it. - -Basic installation -================== -Change to your builddirectory and call cmake with the path to tdesvn. E.g., -when your build-folder is "tdesvn-build" within source-tree, so change to it -and type "cmake ../". - -Now your system get checked if it is able compiling tdesvn and cmake generates -the Makefiles. -Important parameters to cmake: - --DCMAKE_BUILD_TYPE= - may current one of "Debug", "Release", "ReleaseWithDebInfo" -or "MINSIZEREL" - --DCMAKE_INSTALL_PREFIX= -Default to "/usr/local" - --DSUBVERSION_INSTALL_PATH= -Where is subversion-lib installed. Default check in /usr and /usr/local - --DCMAKE_CXX_FLAGS= -Extra flags for the c++ compiler for your system required. - --DLIB_SUFFIX= -Mostly for 64bit systems, there suffix may be 64 so libs will installed -in /usr/lib64 and not /usr/lib for instance. - -After calling cmake just type - make -and build begins. When more output is wanted call - make VERBOSE=1 - -After make type "make install" and install begins. - -You may install to a temporary-root with - make install DESTDIR= - -If you want to uninstall tdesvn again type "make uninstall" from within the -build directory. - -Extra cflags and linker flags -============================= - -If you require extra flags for compiler and linker you may give them via environment variables - "CXXFLAGS" (c++ compiler) - "LDFLAGS" (for linker) - "CFLAGS" (for c-compiler, not needed in tdesvn build) - -eg., it may usefull on 64bit systems "-m64" to CXXFLAGS and LDFLAGS. diff --git a/NEWS b/NEWS deleted file mode 100644 index e69de29..0000000 diff --git a/README b/README deleted file mode 100644 index 0cfb2df..0000000 --- a/README +++ /dev/null @@ -1,3 +0,0 @@ -Pure C++ KDE Subversion client. - -C++ wrapper from rapidsvn (rapidsvn.tigris.org) diff --git a/README.md b/README.md new file mode 100644 index 0000000..733283e --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +tdesvn - pure C++ TDE Subversion client. + +C++ wrapper from rapidsvn (rapidsvn.tigris.org) + +. + +Contributing +-------------- + +If you wish to contribute to tdesvn (TDE), you might do so: + +- TDE Gitea Workspace (TGW) collaboration tool. + https://mirror.git.trinitydesktop.org/gitea + +- TDE Weblate Translation Workspace (TWTW) collaboration tool. + https://mirror.git.trinitydesktop.org/weblate + + +Translations status +--------------------- + +### messages +[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/tdesvn/multi-auto.svg +"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/tdesvn/) diff --git a/TODO b/TODO deleted file mode 100644 index f9e11cc..0000000 --- a/TODO +++ /dev/null @@ -1 +0,0 @@ -See ticket tracker on http://tdesvn.alwins-world.de diff --git a/admin b/admin deleted file mode 160000 index a7f75ac..0000000 --- a/admin +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a7f75ac0ff587d5b8694a1b78557597161f8104c diff --git a/tdesvn.spec b/tdesvn.spec deleted file mode 100644 index 706cb5f..0000000 --- a/tdesvn.spec +++ /dev/null @@ -1,98 +0,0 @@ -Summary: A subversion client for the KDE with TDEIO integration. -Name: tdesvn -Version: 1.0.4 -Release: 1%{?dist} -License: LGPL -Vendor: Rajko Albrecht -Url: http://tdesvn.alwins-world.de -Group: Development/Tools -Source: tdesvn-%version.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-root -Requires: /usr/bin/dot -BuildRequires: apr-devel -BuildRequires: apr-util-devel -BuildRequires: subversion-devel >= 1.3.0 -BuildRequires: cmake >= 2.4 -BuildRequires: sqlite-devel -BuildRequires: tdelibs-devel >= 3.4 - -%description -Kdesvn is a subversion client for KDE. -It may used as standalone application or plugin (KPart). Base functions are provided -via a TDEIO protocol, too. - -%package tdeiosvn -Requires: tdesvn = %{version} -Group: Development/Tools -Summary: A kde-tdeio integration for subversion based on tdesvn - -%description tdeiosvn -TDEIO integration (TDEIO::svn) based on tdesvn alternative protocol name. - -%package devel -Group: Development/Libraries -Summary: Wrapper lib for subversion QT integration. -Requires: subversion-devel >= 1.2.0 -Requires: tdesvn = %{version} - -%description devel -Development files for tdesvn. - -%prep -%setup -q -mkdir build -cd build -cmake ../ -DCMAKE_INSTALL_PREFIX=`/opt/trinity` -DCMAKE_BUILD_TYPE=Release -DLIB_SUFFIX=`` -DCMAKE_INCLUDE_PATH=`/opt/trinity/include/tde` -DCMAKE_LIBRARY_PATH=`/opt/trinity/lib` - -%build -cd build -# Setup for parallel builds -numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` -if [ "$numprocs" = "0" ]; then - numprocs=1 -fi - -make -j$numprocs - -%install -cd build -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT -gzip $RPM_BUILD_ROOT/%{_datadir}/man/man1/* - -%clean -rm -rf $RPM_BUILD_ROOT/* -rm -rf $RPM_BUILD_DIR/tdesvn - - -%files -%defattr(-,root,root) -%{_bindir}/tdesvn -%{_bindir}/tdesvnaskpass -%{_libdir}/*/*part* -%{_datadir}/applications/* -%{_datadir}/apps/tdesvn/* -%{_datadir}/apps/tdesvnpart/* -%{_datadir}/apps/tdeconf_update/* -%{_datadir}/config.kcfg/* -%{_datadir}/doc/* -%{_datadir}/icons/* -%{_datadir}/locale/* -%{_libdir}/*/kded_tdesvnd.* -%{_datadir}/services/kded/tdesvnd.desktop -%{_datadir}/apps/konqueror/servicemenus/tdesvn* -%{_libdir}/*/tdeio_ksvn* -%{_datadir}/services/ksvn*.protocol -%{_datadir}/man/man1/* -%{_libdir}/libsvnqt*.so* -%doc AUTHORS ChangeLog GPL.txt TODO COPYING COPYING.OpenSSL - -%files tdeiosvn -%defattr(-,root,root) -%{_datadir}/services/svn*.protocol - -%files devel -%defattr(-,root,root) -%{_includedir}/svnqt/* - -%changelog diff --git a/templates/cpp b/templates/cpp deleted file mode 100644 index d895511..0000000 --- a/templates/cpp +++ /dev/null @@ -1,19 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2007 by Rajko Albrecht ral@alwins-world.de * - * http://tdesvn.alwins-world.de/ * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ diff --git a/templates/h b/templates/h deleted file mode 100644 index d895511..0000000 --- a/templates/h +++ /dev/null @@ -1,19 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2007 by Rajko Albrecht ral@alwins-world.de * - * http://tdesvn.alwins-world.de/ * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/