Rename KDEHOME and KDEDIR

pull/1/head
Timothy Pearson 13 years ago
parent a2aa572b33
commit 99ee6fd7e9

@ -2,7 +2,7 @@
There are some docs ( at 11.04.2001 avaible docs for html, css, php, javascript )
you need to download packages from http://quanta.sourceforge.net
( html.tar.bz2, php.tar.bz2, css.tar.bz2 ) and uncompress them
to $KDEDIR/share/apps/quanta/doc/
to $TDEDIR/share/apps/quanta/doc/
or to ~/.kde/share/apps/quanta/doc/
and restart quanta.

@ -12,7 +12,7 @@ install-data-local:
@echo "*************** Important *************************"
@echo ""
@echo " Add "$(bindir)" to your PATH and"
@echo " add "$(prefix)" to your KDEDIRS!"
@echo " add "$(prefix)" to your TDEDIRS!"
@echo ""
@echo " Please report bugs with our web form at"
@echo " http://bugs.kde.org"

@ -346,12 +346,12 @@ mykomplugin.cpp, compiling and installing your plugin would involve
something similar to the following commands:
</para>
<screen>
libtool --mode=compile g++ -$KDEDIR/include -IQTDIR/include \
libtool --mode=compile g++ -$TDEDIR/include -IQTDIR/include \
-I. -fPIC -c komlineedit.cpp
libtool --mode=compile g++ -$KDEDIR/include -IQTDIR/include \
libtool --mode=compile g++ -$TDEDIR/include -IQTDIR/include \
-I. -fPIC -c mykomplugin.cpp
libtool --mode=link g++ -shared -L$KDEDIR/lib -ltdeui -lkommanderwidget \
libtool --mode=link g++ -shared -L$TDEDIR/lib -ltdeui -lkommanderwidget \
-lkommanderplugin komlineedit.cppkomlineedit.o mykomplugin.o
-o libmykomplugin.so
</screen>
@ -359,7 +359,7 @@ libtool --mode=link g++ -shared -L$KDEDIR/lib -ltdeui -lkommanderwidget \
If you want to install new plugin system-wide, root, use:
</para>
<screen>
su -c "cp libmykomplugin.so $KDEDIR/lib"
su -c "cp libmykomplugin.so $TDEDIR/lib"
</screen>
<note><para>If you use the KDevelop project generator, you will not need to do the above, but instead adapt the Makefile.am to link against extra libraries. By default, it will link to &Qt; and &kde; libraries and generate all the needed object files. Just run <command>make</command> to build, and <command>su -c make install</command> to install.</para></note>
</sect2>

@ -34,7 +34,7 @@ Here is a short description about the needed steps to make a dialog translatable
<listitem><para>How to extract the messages and create the .po file?</para>
<para>
Use the <command>kmdr2po</command> script to extract the strings. The script is inside the <emphasis>working</emphasis> directory of the source release tarball and should be installed to <command>$KDEDIR/share/apps/kommander/translating</command> as well.
Use the <command>kmdr2po</command> script to extract the strings. The script is inside the <emphasis>working</emphasis> directory of the source release tarball and should be installed to <command>$TDEDIR/share/apps/kommander/translating</command> as well.
</para>
<para>
Just run:
@ -52,7 +52,7 @@ An appropriate &lt;your-kommander-dialog.po> file will be created.
<listitem><para>How to install the translation?</para>
<para>Put the compiled *.mo file either to</para>
<para><command>$KDEDIR/share/locale/&lt;your language>/LC_MESSAGES/</command> (will be available globally for all users)</para>
<para><command>$TDEDIR/share/locale/&lt;your language>/LC_MESSAGES/</command> (will be available globally for all users)</para>
<para>or to </para>
<para><command>$HOME/.kde/share/locale/&lt;your language>/LC_MESSAGES/</command> (will be available only for the current user)</para>
<para>directory.</para>

@ -316,7 +316,7 @@ Shows how to use Table widget
These examples reflect the most recent development state of &kommander;. In its current state &kommander; has few limitations for developing small to medium applications. It certainly is not suitable for building a KWord clone, but for a simple editor, database frontend, GUI for commandline programs or any application in the spirit of Unix/Linux small applications it is a good choice. The examples presented here are intended to show the potential as well as how to work around limitations. There are some useful tricks included in these if you want to do a more capable small application with &kommander;. Remember &kommander; is not intended to do everything, but to do most things. For this concession you should be able to build something in &kommander; faster than other alternatives ad add GUI to scripting languages not otherwise supported in KDE.
</para>
<note><para>
The examples are installed to <command>$KDEDIR/share/apps/kmdr-editor/editor</command>. In case you do not have them there, get from <ulink url="http://kommander.tdewebdev.org">our home page</ulink>, by downloading the latest release.
The examples are installed to <command>$TDEDIR/share/apps/kmdr-editor/editor</command>. In case you do not have them there, get from <ulink url="http://kommander.tdewebdev.org">our home page</ulink>, by downloading the latest release.
</para>
</note>

@ -113,7 +113,7 @@ The place to define abbreviations (some kind of templates), that can be expanded
<itemizedlist>
<listitem><para><guilabel>Name:</guilabel> the user visible name</para></listitem>
<listitem><para><guilabel>Output window:</guilabel> plugins can appear in a tab of the editor area or in a separate toolview at the bottom</para></listitem>
<listitem><para><guilabel>Location:</guilabel> the path to the plugin, if it is not located in the standard locations, like <filename class="directory">$<envar>KDEDIR</envar>/lib</filename> .</para></listitem>
<listitem><para><guilabel>Location:</guilabel> the path to the plugin, if it is not located in the standard locations, like <filename class="directory">$<envar>TDEDIR</envar>/lib</filename> .</para></listitem>
<listitem><para><guilabel>File name:</guilabel> the relative path and the filename to the plugin's libtool file, like <filename class="libraryfile">trinity/libcervisiapart.la</filename></para></listitem>
<listitem><para><guilabel>Input:</guilabel> the plugin will get this information on startup, so it can open the <guilabel>Current File</guilabel>, the folder of the current file (<guilabel>Current File Path</guilabel>) or the <guilabel>Project Folder</guilabel>.</para></listitem>
<listitem><para><guilabel>Read only part:</guilabel> check if the plugin refuses to load. Read-only KParts usually refuse to load without this option checked.</para></listitem>

@ -1195,8 +1195,8 @@ First you have to enter the name of your script with the interpreter as well. Ex
<para>
Although you can use full paths, the recommended way is to use the <command>%scriptdir</command> variable in the command line, like <command>sh %scriptdir/myScript.sh</command>. This way &quantaplus; will try to locate your script in the following places:
<itemizedlist>
<listitem><para>global script folder: <filename><envar>$KDEDIR</envar>/share/apps/quanta/scripts</filename></para></listitem>
<listitem><para>local script folder: <filename><envar>$KDEHOME</envar>/share/apps/quanta/scripts</filename></para></listitem>
<listitem><para>global script folder: <filename><envar>$TDEDIR</envar>/share/apps/quanta/scripts</filename></para></listitem>
<listitem><para>local script folder: <filename><envar>$TDEHOME</envar>/share/apps/quanta/scripts</filename></para></listitem>
<listitem><para>your path: <envar>$PATH</envar></para></listitem>
</itemizedlist>
There are other special variables that you can use in the command line:
@ -1700,7 +1700,7 @@ addslashes=function.addslashes.html
Now you can just save your <filename>docrc</filename> file, save it in
<filename class="directory">$<envar>HOME</envar>/.kde/share/apps/quanta/doc</filename>
or <filename
class="directory">$<envar>KDEDIR</envar>/share/apps/quanta/doc</filename>
class="directory">$<envar>TDEDIR</envar>/share/apps/quanta/doc</filename>
for local or global use respectively. Then create a folder (the one
specified in your <filename>docrc</filename> file) in the same folder
as your <filename>docrc</filename> file and copy your &HTML; pages in
@ -1771,7 +1771,7 @@ After a resource was downloaded, but before it is installed, &quantaplus; verifi
</para>
<para>The entries are:</para>
<itemizedlist>
<listitem><para><guilabel>Target directory name:</guilabel>the newly created &DTEP; will go under this name to the <filename><envar>$KDEHOME</envar>/share/apps/quanta/dtep</filename> folder.
<listitem><para><guilabel>Target directory name:</guilabel>the newly created &DTEP; will go under this name to the <filename><envar>$TDEHOME</envar>/share/apps/quanta/dtep</filename> folder.
</para>
</listitem>
<listitem><para><guilabel>Name:</guilabel>the name (definition string) of the DTD</para></listitem>

@ -1397,7 +1397,7 @@ details.
<listitem>
<para>
Loads a globally defined toolbar. These are kept in <filename
class="directory">$<envar>KDEDIR</envar>/share/apps/quanta/toolbars</filename>
class="directory">$<envar>TDEDIR</envar>/share/apps/quanta/toolbars</filename>
by default.
</para>
</listitem>

@ -330,7 +330,7 @@ track this so you will need to change links.
<para>
Template structure on the template tab is based on the files found in
<filename class="directory">
$<envar>KDEDIR</envar>/share/apps/quanta/templates</filename> and
$<envar>TDEDIR</envar>/share/apps/quanta/templates</filename> and
<filename class="directory">
$<envar>HOME</envar>/.kde/share/apps/quanta/templates</filename>. Each of
these folders is specified as one of four types of container as explained <link linkend="template-types-3-2">above</link>.

@ -72,7 +72,7 @@ KLinkStatus::KLinkStatus()
{
// if we couldn't find our Part, we exit since the Shell by
// itself can't do anything useful
KMessageBox::error(this, i18n("Could not find the KLinkStatus part; did you configure with '--prefix=/$KDEDIR' and perform 'make install'?"));
KMessageBox::error(this, i18n("Could not find the KLinkStatus part; did you configure with '--prefix=/$TDEDIR' and perform 'make install'?"));
kapp->quit();
// we return here, cause kapp->quit() only means "exit the
// next time we enter the event loop...

@ -605,7 +605,7 @@ Sat Sep 28 23:18:08 EST 2002 - Marc Britton <consume@optushome.com.au>
o Cleaned up and reworked file overview window
o Removed 'Source File' tab from hierarchy view
o Removed more disabled source files
o Now searches for templates in custom directory (default $KDEDIR/templates)
o Now searches for templates in custom directory (default $TDEDIR/templates)
Sun Sep 15 15:31:48 EST 2002 - Marc Britton <consume@optushome.com.au>
o Initial Creation

@ -96,8 +96,8 @@ static TQString langLookupDir( const TQString &fname )
// assemble the local search paths
TQStringList localDoc = KGlobal::dirs()->resourceDirs("html");
// also look in each of the KDEDIR paths
TQString kdeDirs = getenv("KDEDIRS");
// also look in each of the TDEDIR paths
TQString kdeDirs = getenv("TDEDIRS");
TQStringList kdeDirsList = TQStringList::split(":", kdeDirs);
if (!kdeDirs.isEmpty() && !kdeDirsList.isEmpty()){
for (TQStringList::iterator it = kdeDirsList.begin(); it != kdeDirsList.end(); it++)

@ -84,12 +84,12 @@ make install (as root)
Should you have trouble during ./configure or the make process, try the
following:
- export KDEDIRS=<path to kde installation>:$KDEDIRS
- export TDEDIRS=<path to kde installation>:$TDEDIRS
- export QTDIR=<path to qt3>
- run "make -f Makefile.cvs"
- run "./configure"
The recommended place where to install Quanta is your $KDEDIR. To find out, use
The recommended place where to install Quanta is your $TDEDIR. To find out, use
"kde-config --prefix" or simply configure Quanta with:
./configure --prefix `kde-config --prefix`
@ -109,10 +109,10 @@ name than for the stable Quanta.
If you wish to install two stable versions in parallel, you have to install them using
different prefixes (see above). Before running the one installed outside of the
KDE tree, you should do:
export KDEDIRS=$prefix-of-second-instace:$KDEDIRS
export TDEDIRS=$prefix-of-second-instace:$TDEDIRS
export PATH=$prefix-of-second-instace/bin:$PATH
export LD_LIBRARY_PATH=$prefix-of-second-instace/lib:$LD_LIBRARY_PATH
export KDEHOME=home-for-second-version
export TDEHOME=home-for-second-version
and run "quanta".
An example would be:
@ -120,10 +120,10 @@ An example would be:
make
make install
mkdir ~/.new-quanta
export KDEDIRS=/opt/new-quanta:$KDEDIRS
export TDEDIRS=/opt/new-quanta:$TDEDIRS
export PATH=/opt/new-quanta/bin:$PATH
export LD_LIBRARY_PATH=/opt/new-quanta/lib:$LD_LIBRARY_PATH
export KDEHOME=~/.new-quanta
export TDEHOME=~/.new-quanta
quanta
You can put the lines starting with the first "export" into a separate file,
@ -147,8 +147,8 @@ Possible problem sources can be:
"automake --version".
- wrong --prefix given to ./configure
- "make install" process was forgotten or failed
- you have an old quantarc file in $KDEHOME/share/config
- you have old files in $KDEHOME/share/apps/quanta
- you have an old quantarc file in $TDEHOME/share/config
- you have old files in $TDEHOME/share/apps/quanta
In the latter two cases backup the old files, then remove them and try
to start Quanta again.
@ -160,7 +160,7 @@ copytos.h:17: forward declaration of `class KURLRequester'
(or the same error in other files for other K... classes), try the following:
- check if there is a kdewidgets.so (and kdewidgets.la) in your
$KDEDIR/lib/trinity/plugins/designer. If there isn't, you have a broken
$TDEDIR/lib/trinity/plugins/designer. If there isn't, you have a broken
KDE (tdelibs) install.
- check your $HOME/.qt/qtrc file. Add the above path as the first entry to
the libraryPath (like:
@ -168,9 +168,9 @@ copytos.h:17: forward declaration of `class KURLRequester'
You can use the qtconfig tool to do this.
- recompile the QT tools (uic, designer) if you have upgraded tdelibs
(or QT).
- check that your $KDEDIR and $QTDIR path is set correctly.
- check that your $TDEDIR and $QTDIR path is set correctly.
- do an
export kde_widgetdir="$KDEDIR/lib/trinity/plugins/designer"
export kde_widgetdir="$TDEDIR/lib/trinity/plugins/designer"
(or whatever command your shell uses for environment variable setting)
before running make.
In most cases one of the above is the problem (and the solution).
@ -185,12 +185,12 @@ were reports that Mandrake 9.0 puts the mimetype for php under the application
node, so users could not open PHP files from Quanta... This shouldn't be a problem
with Quanta 3.2 on KDE 3.1.1 or newer.
b) If Quanta crashes on startup then rename your local quantarc file
(in $KDEHOME/share/config) and send this file to me, so I can find out why does
(in $TDEHOME/share/config) and send this file to me, so I can find out why does
it crash. In case of any crash, please send me a backtrace. One known cause of such
crash is if you use the same $KDEHOME for Quanta 3.2 and Quanta 3.3. Due to some
crash is if you use the same $TDEHOME for Quanta 3.2 and Quanta 3.3. Due to some
incompatible changes in the quantarc file regarding the user interface, Quanta 3.2
cannot interpret the settings correctly and will crash. See section 5.1 how to deal
with different $KDEHOME directories.
with different $TDEHOME directories.
c) If you removed the editor/treeviews from the main window and you cannot dock
them back anymore, do one of the following (in order of preference):
- check the Settings->Configure Quanta->User Intreface->Reset window layout

@ -129,7 +129,7 @@
<p>An assumption is made that you have the knowledge and ability to find and install any missing libraries that you may encounter. Basically, you need the headers from KDE, Qt, and GCC. If you don't know what was just said, then try the steps below and, if it doesn't work for you, then find yourself a Linux geek that can help.</p>
<p>Type the following in a shell and see what you get:</p>
<ul>
<li>test `echo $KDEDIR` &amp;&amp; echo "yes" || echo "noKDE"</li>
<li>test `echo $TDEDIR` &amp;&amp; echo "yes" || echo "noKDE"</li>
<li>test `echo $QTDIR` &amp;&amp; echo "yes" || echo "noQT"</li>
</ul>
<p>If you don't get two yes answers, then you need to find the location of the one that failed and export it to your current shell environment.</p>
@ -145,7 +145,7 @@
<div class="fltop"><a href="#top">Top</a></div>
<div class="minihdr">2.4 I get error <i>X</i> when running ./configure</div>
<div class="indent">
<p>Please read 2.3 carefully again and make certain that you have exported the $KDEDIR and $QTDIR environment variables. This is the most likely cause. Aside from that, if you are missing something very important, then configure will tell you what it needs.</p>
<p>Please read 2.3 carefully again and make certain that you have exported the $TDEDIR and $QTDIR environment variables. This is the most likely cause. Aside from that, if you are missing something very important, then configure will tell you what it needs.</p>
</div>
<a name="2.5" />
<div class="fltop"><a href="#top">Top</a></div>

@ -32,7 +32,7 @@ Family = 1 (it's a real DTD)
[Toolbars] - information about DTD toolbars
Location = the directory inside the $KDEDIR($KDEHOME)/share/apps/quanta/toolbars
Location = the directory inside the $TDEDIR($TDEHOME)/share/apps/quanta/toolbars
where the toolbars for this DTD are
Names = the list of toolbar file names (without the .toolbar.tgz extension) that
are loaded for this DTD from the above directory

@ -298,7 +298,7 @@
<string>The name of the folder where the toolbars are stored</string>
</property>
<property name="whatsThis" stdset="0">
<string>The name of the folder where the toolbars are stored. This is a relative name to &lt;br&gt;&lt;i&gt;$KDEDIR(&amp;nbsp;or&amp;nbsp;$KDEHOME)/share/apps/quanta/toolbars&lt;/i&gt; .</string>
<string>The name of the folder where the toolbars are stored. This is a relative name to &lt;br&gt;&lt;i&gt;$TDEDIR(&amp;nbsp;or&amp;nbsp;$TDEHOME)/share/apps/quanta/toolbars&lt;/i&gt; .</string>
</property>
</widget>
<widget class="KLineEdit" row="5" column="1" rowspan="1" colspan="5">
@ -309,7 +309,7 @@
<string>The name of the folder where the toolbars are stored</string>
</property>
<property name="whatsThis" stdset="0">
<string>The name of the folder where the toolbars are stored. This is a relative name to &lt;br&gt;&lt;i&gt;$KDEDIR(&amp;nbsp;or&amp;nbsp;$KDEHOME)/share/apps/quanta/toolbars&lt;/i&gt; .</string>
<string>The name of the folder where the toolbars are stored. This is a relative name to &lt;br&gt;&lt;i&gt;$TDEDIR(&amp;nbsp;or&amp;nbsp;$TDEHOME)/share/apps/quanta/toolbars&lt;/i&gt; .</string>
</property>
</widget>
<widget class="TQLabel" row="6" column="0">

@ -2690,7 +2690,7 @@ void Document::createBackup(KConfig* config)
//creates an entry string in quantarc if it does not exist yet
config->setGroup("General Options");
TQStringList backedupFilesEntryList = QuantaCommon::readPathListEntry(config, "List of backedup files"); //the files that were backedup
TQStringList autosavedFilesEntryList = QuantaCommon::readPathListEntry(config, "List of autosaved files"); //the list of actual backup files inside $KDEHOME/share/apps/quanta/backups
TQStringList autosavedFilesEntryList = QuantaCommon::readPathListEntry(config, "List of autosaved files"); //the list of actual backup files inside $TDEHOME/share/apps/quanta/backups
if (!autosavedFilesEntryList.contains(backupPathValueURL)) //not yet backed up, add an entry for this file
{
autosavedFilesEntryList.append(backupPathValueURL);

@ -224,7 +224,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
quantaStarted = false;
kdWarning() << "***************************************************************************" << endl;
kdWarning() << i18n("Quanta data files were not found.") << endl;
kdWarning() << i18n("You may have forgotten to run \"make install\", or your KDEDIR, KDEDIRS or PATH are not set correctly.") << endl;
kdWarning() << i18n("You may have forgotten to run \"make install\", or your TDEDIR, TDEDIRS or PATH are not set correctly.") << endl;
kdWarning() << "***************************************************************************" << endl;
TQTimer::singleShot(20, kapp, TQT_SLOT(quit()));
return;

Loading…
Cancel
Save