summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-08-27 15:29:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-08-27 15:46:52 +0900
commit8ebbbc50437c45c0f32c5331ac0627924326059c (patch)
tree70f75af7ce6ffa9586e40aee15e946a1589c7355
parent21b7da13e29c69156d1fb65f354b874916b7ca84 (diff)
downloadtdeio-locate-8ebbbc50437c45c0f32c5331ac0627924326059c.tar.gz
tdeio-locate-8ebbbc50437c45c0f32c5331ac0627924326059c.zip
Drop autotools support.
Add README.md and update INSTALL files. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--INSTALL29
-rw-r--r--README.md32
m---------admin0
-rwxr-xr-xpo/messages.sh69
-rw-r--r--templates/cpp22
-rw-r--r--templates/h22
6 files changed, 45 insertions, 129 deletions
diff --git a/INSTALL b/INSTALL
index 890226d..3c687d6 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,19 +1,16 @@
-This package requires CMake and tdelibs to build
+Basic Installation
+==================
-==================== BUILDING ====================
+tdeio-locate relies on cmake to build.
-mkdir /tmp/tdeio-locate
-cd /tmp/tdeio-locate
+Here are suggested default options:
-cmake <this source directory> \
- -DCMAKE_INSTALL_PREFIX=/opt/trinity \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DWITH_QT3=ON \
- -DTQTDIR=/opt/qt \
- -DTQT_LIBRARY_DIRS=/opt/qt/lib \
- -DBUILD_ALL=ON
-make VERBOSE=1
-
-================== INSTALLATION ===================
-
-make install
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..f7b778f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,32 @@
+TDEIO locate
+
+The TDEIO locate slave adds support for the "locate:" and "locater:"
+protocols to Konqueror and other TDE applications.
+
+This enables to perform locate searches as they would be done in a terminal.
+The result is displayed just as a directory.
+
+.
+
+Contributing
+--------------
+
+If you wish to contribute to tdeio-locate, 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/-/tdeio-locate/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/tdeio-locate/)
+
+### desktop files
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/tdeio-locate-desktop-files/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/tdeio-locate-desktop-files/)
diff --git a/admin b/admin
deleted file mode 160000
-Subproject a7f75ac0ff587d5b8694a1b78557597161f8104
diff --git a/po/messages.sh b/po/messages.sh
deleted file mode 100755
index dfddc84..0000000
--- a/po/messages.sh
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/sh
-
-# Modified by Tobi Vollebregt for use with tdeio-locate.
-
-# Inspired by Makefile.common from coolo
-# this script is used to update the .po files
-
-# To update the translations, you will need a specific gettext
-# patched for kde and a lot of patience, tenacity, luck, time ..
-
-
-# I guess one should only update the .po files when all .cpp files
-# are generated (after a make or scons)
-
-# If you have a better way to do this, do not keep that info
-# for yourself and help me to improve this script, thanks
-# (tnagyemail-mail tat yahoo d0tt fr)
-#
-
-SRCDIR=../src
-TIPSDIR=$SRCDIR/appdata
-
-TDEDIR=`tde-config --prefix`
-EXTRACTRC=extractrc
-KDEPOT=`tde-config --prefix`/include/tde/kde.pot
-XGETTEXT="xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x $KDEPOT "
-
-## check that kde.pot is available
-if ! test -e $KDEPOT; then
- echo "$KDEPOT does not exist, there may be something wrong with your installation!"
- XGETTEXT="xgettext -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale "
-fi
-
-## extract the strings
-echo "extracting the strings"
-
-echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > $SRCDIR/_translatorinfo.cpp
-
-## bad hack to get strings from *.ui files
-# Armin Straub <linux@arminstraub.de>
-UIC="uic -tr i18n"
-TMPHACK="$SRCDIR/tmphack"
-mkdir $TMPHACK || exit 1
-for F in "$SRCDIR/"*.ui; do
- echo ".. preparing $F"
- FN=$TMPHACK/$(basename "$F")
- $UIC "$F" > "$FN.h" && $UIC -impl "$FN.h" "$F" > "$FN.cpp"
-done
-tdeconfig_compiler -d $TMPHACK $SRCDIR/*.kcfg $SRCDIR/*.kcfgc
-## bad hack to get strings from *.ui files
-
-$XGETTEXT `find $SRCDIR -name "*.cpp"` -o tdeio_locate.pot
-
-## bad hack to get strings from *.ui files
-rm -rf "$TMPHACK"
-## bad hack to get strings from *.ui files
-
-# remove the intermediate files
-rm -f $SRCDIR/_translatorinfo.cpp
-
-## now merge the .po files ..
-echo "merging the .po files"
-
-for i in `ls *.po`; do
- msgmerge $i tdeio_locate.pot -o $i || exit 1
-done
-
-## finished
-echo "Done"
diff --git a/templates/cpp b/templates/cpp
deleted file mode 100644
index e81a459..0000000
--- a/templates/cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-/***************************************************************************
- * tdeio-locate: KDE I/O Slave for the locate command *
- * *
- * Copyright (C) 2005 by Tobi Vollebregt *
- * tobivollebregt@gmail.com *
- * *
- * Copyright (C) 2004 by Armin Straub *
- * linux@arminstraub.de *
- * *
- * This program was initially written by Michael Schuerig. *
- * Although I have completely rewritten it, most ideas are adopted *
- * from his original work. *
- * *
- * Copyright (C) 2002 by Michael Schuerig *
- * michael@schuerig.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. *
- ***************************************************************************/
diff --git a/templates/h b/templates/h
deleted file mode 100644
index e81a459..0000000
--- a/templates/h
+++ /dev/null
@@ -1,22 +0,0 @@
-/***************************************************************************
- * tdeio-locate: KDE I/O Slave for the locate command *
- * *
- * Copyright (C) 2005 by Tobi Vollebregt *
- * tobivollebregt@gmail.com *
- * *
- * Copyright (C) 2004 by Armin Straub *
- * linux@arminstraub.de *
- * *
- * This program was initially written by Michael Schuerig. *
- * Although I have completely rewritten it, most ideas are adopted *
- * from his original work. *
- * *
- * Copyright (C) 2002 by Michael Schuerig *
- * michael@schuerig.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. *
- ***************************************************************************/