[sdk/kdesrc-build/docbook_historied_per_file] doc: Start the Getting Started Chapter of the docs.

Carlos Leonhard Woelz null at kde.org
Fri May 10 10:14:25 BST 2024


Git commit 3579e0fdae0da2e86815f7d41f3710e12907f184 by Carlos Leonhard Woelz.
Committed on 18/05/2005 at 01:02.
Pushed by ashark into branch 'docbook_historied_per_file'.

Start the Getting Started Chapter of the docs.

svn path=/trunk/KDE/kdesdk/doc/scripts/kdesvn-build/; revision=415257

Original commit: 9f209414
https://invent.kde.org/sdk/kdesrc-build/-/commit/9f209414d0bb5989424ca581f984272c92de5b70

M  +6    -6    doc/features/index.docbook
A  +63   -0    doc/getting-started/before-building.docbook
A  +6    -0    doc/getting-started/building-and-troubleshooting.docbook
A  +7    -0    doc/getting-started/configure-data.docbook
A  +6    -0    doc/getting-started/environment.docbook
M  +21   -2    doc/getting-started/index.docbook
M  +4    -0    doc/index.docbook
M  +5    -2    doc/introduction/index.docbook
M  +1    -1    doc/kdesvn-buildrc/index.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/3579e0fdae0da2e86815f7d41f3710e12907f184

diff --git a/doc/features/index.docbook b/doc/features/index.docbook
index 3c8d3810..eefae983 100644
--- a/doc/features/index.docbook
+++ b/doc/features/index.docbook
@@ -32,8 +32,8 @@ specify:</para>
 
 <listitem><para>Automatically sets up a build system, with the source directory not the
 same as the build directory, in order to keep the source directory
-pristine. The exception is <application>qt-copy</application>, which isn't designed to be built like
-that (unless you'd like to test the
+pristine. The exception is <application>qt-copy</application>, which isn not designed to be built like
+that (unless you would like to test the
 <link linkend="conf-use-qt-builddir-hack"><quote>qt with a separate build directory hack</quote></link>).</para></listitem>
 
 <listitem><para>You can specify global options to apply to every module to check out, and
@@ -52,9 +52,9 @@ and <envar>CXXFLAGS</envar>.</para></listitem>
 log of a script run.  Also, a special symlink called latest is created to
 always point to the most recent log entry in the log directory.</para></listitem>
 
-<listitem><para>If you're using a user build of &kde; instead of a system build (for which
+<listitem><para>If you are using a user build of &kde; instead of a system build (for which
 you must be root to install), you can use the script to install for you.  I
-haven't audited this code, and it makes ample use of the <function>system()</function>
+haven not audited this code, and it makes ample use of the <function>system()</function>
 call, so I would not recommend running it as root at this point.</para></listitem>
 
 <listitem><para>You can use <link linkend="conf-make-install-prefix">make-install-prefix</link> to
@@ -83,11 +83,11 @@ modules. This work still needs to be completed.</para></listitem>
 <para>Things that &kdesvn-build; does NOT do:</para>
 
 <itemizedlist>
-<listitem><para>Find the fastest &kde; &svn; mirror.  There isn't even a list shipped
+<listitem><para>Find the fastest &kde; &svn; mirror.  There isn not even a list shipped
 with the script at this point, although the default server should work
 fine.</para></listitem>
 <listitem><para>Brush your teeth. You should remember to do that yourself.</para></listitem>
-<listitem><para>The script probably isn't bug-free. Sorry.</para></listitem>
+<listitem><para>The script probably isn not bug-free. Sorry.</para></listitem>
 </itemizedlist>
 
 </chapter>
diff --git a/doc/getting-started/before-building.docbook b/doc/getting-started/before-building.docbook
new file mode 100644
index 00000000..e6023782
--- /dev/null
+++ b/doc/getting-started/before-building.docbook
@@ -0,0 +1,63 @@
+<sect1 id="before-building">
+<title>Preparing the System to Build &kde;</title>
+
+<para>It is recommended that you download and build &kde; using a user
+account. If you already have &kde; packages installed, the best choice
+would be to create a different user to build and run the new &kde;. The
+advantage of building &kde; as a user is you can not break the base
+system, and you will always have a way to comfortably work when
+things go wrong.</para>
+
+<para>Later, you can install it system wide as root. This document
+does not cover a root installation, because if you are performing a system
+wide install, you probably already know what you are doing.
+</para>
+
+<para>Before using the &kdesvn-build; script (or any other building
+strategy) you must install the development tools and libraries needed for &kde;.
+You need the Qt library, version 3.3.0 or greater, Automake 1.8,
+Autoconf 2.5X (better if >=2.57 as a bug was reported with lower versions),
+the subversion (svn) client, the gcc compiler with C++ support, libxml2,
+openssl, libbz2, and many more (for a complete list, visit the
+<ulink url="http://www.kde.org/info/requirements/3.4.php">KDE 3.4 Compilation
+Requirements</ulink>). You can usually get those tools packaged for your system
+from your distribution or vendor.
+</para>
+
+<para>
+Some of these packages are divided into libs, programs or utilities and
+development packages. You will need at least the program or library and
+its development package. If in doubt, install all. The libraries you need
+will change depending on the modules you intend to build, as each module
+has its own requirements. The
+<ulink url="http://quality.kde.org/develop/cvsguide/buildstep.php#step1">
+Building &kde; from Source Step by Step Guide</ulink> has more details
+about the specific tools and techniques used to install and find the
+required software.
+</para>
+
+<para>
+You probably already have a version of the &kdesvn-build; script installed
+in your system. &kdesvn-build;requires you to create a configuration file, named
+<filename>.kdesvn-build</filename>. This file should be installed on
+the home folder (~/), and contain all configuration data
+required for the script to run, like configuration options,
+compiling options, location of the sources, the destination of the installation
+(prefix), the modules that should be built, &etc;. The default configuration
+data is provided by the <filename>kdesvn-buildrc-sample</filename> file.
+You can find more information about the sintax of the configuration file
+in <xref linkend="configure-data" /> and in <xref linkend="kdesvn-buildrc" />.
+</para>
+
+<para>
+A good way to get the latest version is to browse the kdesdk/scripts page
+at the <ulink url="http://websvn.kde.org/trunk/KDE">websvn.kde.org</ulink> website.
+You will see a list of the files available in the kdesdk/scripts directory in
+the &kde; &svn; repository. Click the &kdesvn-build; link and download
+the latest version of the script. Do the same for the
+<filename>kdesvn-buildrc-sample</filename> file.
+
+</para>
+
+
+</sect1>
diff --git a/doc/getting-started/building-and-troubleshooting.docbook b/doc/getting-started/building-and-troubleshooting.docbook
new file mode 100644
index 00000000..e4a901fc
--- /dev/null
+++ b/doc/getting-started/building-and-troubleshooting.docbook
@@ -0,0 +1,6 @@
+<sect1 id="building-and-troubleshooting">
+<title>Using the &kdesvn-build; script</title>
+
+<para>Bla Bla.</para>
+
+</sect1>
diff --git a/doc/getting-started/configure-data.docbook b/doc/getting-started/configure-data.docbook
new file mode 100644
index 00000000..2f6da633
--- /dev/null
+++ b/doc/getting-started/configure-data.docbook
@@ -0,0 +1,7 @@
+<sect1 id="configure-data">
+<title>Setting the Configuration Data</title>
+
+<para>Bla Bla.</para>
+
+
+</sect1>
diff --git a/doc/getting-started/environment.docbook b/doc/getting-started/environment.docbook
new file mode 100644
index 00000000..316f9966
--- /dev/null
+++ b/doc/getting-started/environment.docbook
@@ -0,0 +1,6 @@
+<sect1 id="environment">
+<title>Setting the Environment to Run Your Fresh &kde;</title>
+
+<para>Bla Bla.</para>
+
+</sect1>
diff --git a/doc/getting-started/index.docbook b/doc/getting-started/index.docbook
index 9ee4a92a..fe4124d1 100644
--- a/doc/getting-started/index.docbook
+++ b/doc/getting-started/index.docbook
@@ -2,9 +2,28 @@
 <title>Getting Started</title>
 
 <para>
-The first thing to do is to copy the ... bla bla bla.
+In this chapter, we show how to use the &kdesvn-build; to checkout modules from the
+&kde; repository and build them. We also provide a basic explanation of the &kde;
+&svn; structure and the steps you have to perform before running the script.
 </para>
 
-<para>Then you bla, bla, bla.</para>
+<para>
+All topics present in this chapter are covered with even more detail in the
+<ulink url="http://quality.kde.org/develop/cvsguide/buildstep.php">
+Building &kde; from Source Step by Step Guide</ulink>, at the
+<ulink url="http://quality.kde.org">&kde; Quality Team Website</ulink>.
+If you are compiling KDE for the first time, it is a good idea to read
+it, or consult it as a reference source. You will find detailed information
+about packaging tools and requirements, common compilation pitfalls and
+strategies and information about running your new &kde; installation.
+</para>
+
+&before-building;
+
+&configure-data;
+
+&building-and-troubleshooting;
+
+&environment;
 
 </chapter>
diff --git a/doc/index.docbook b/doc/index.docbook
index ac776c4b..eca63ade 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -8,6 +8,10 @@
   <!ENTITY kdesvn-build "<application>kdesvn-build</application>">
   <!ENTITY introduction SYSTEM "introduction/index.docbook">
   <!ENTITY getting-started SYSTEM "getting-started/index.docbook">
+  <!ENTITY before-building SYSTEM "getting-started/before-building.docbook">
+  <!ENTITY configure-data SYSTEM "getting-started/configure-data.docbook">
+  <!ENTITY building-and-troubleshooting SYSTEM "getting-started/building-and-troubleshooting.docbook">
+  <!ENTITY environment SYSTEM "getting-started/environment.docbook">
   <!ENTITY features SYSTEM "features/index.docbook">
   <!ENTITY kdesvn-buildrc SYSTEM "kdesvn-buildrc/index.docbook">
   <!ENTITY cmdline SYSTEM "cmdline/index.docbook">
diff --git a/doc/introduction/index.docbook b/doc/introduction/index.docbook
index 2fab33c3..36916ddf 100644
--- a/doc/introduction/index.docbook
+++ b/doc/introduction/index.docbook
@@ -1,8 +1,11 @@
 <chapter id="introduction">
 <title>Introduction</title>
 
-<para>&kdesvn-build; is a Perl script to help users install  <ulink
+<para>
+&kdesvn-build; is a Perl script to help users install  <ulink
 url="http://www.kde.org/">&kde;</ulink> from <ulink
 url="http://subversion.tigris.org/">&svn;</ulink>.  You may also want to
-consider the kde-build script include with &kde;'s kdesdk module.</para>
+consider the kde-build script include with &kde;'s kdesdk module.
+</para>
+
 </chapter>
diff --git a/doc/kdesvn-buildrc/index.docbook b/doc/kdesvn-buildrc/index.docbook
index d8840161..6e58ff2d 100644
--- a/doc/kdesvn-buildrc/index.docbook
+++ b/doc/kdesvn-buildrc/index.docbook
@@ -2,7 +2,7 @@
 <title>The Format of .kdesvn-buildrc</title>
 
 <para>To use the script, you must have a file in your home directory called
-.kdesvn-buildrc, which describes the modules you'd like to download and
+.kdesvn-buildrc, which describes the modules you would like to download and
 build.</para>
 
 



More information about the kde-doc-english mailing list