source: kde5/applications/grantlee.xml@ 0ed1e5d

kde5-14686
Last change on this file since 0ed1e5d was da1cd11, checked in by Krejzi <krejzi@…>, 10 years ago

Add skeleton for KF5 based apps.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14679 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="grantlee5" xreflabel="Grantlee-&grantlee5-version;">
9 <?dbhtml filename="grantlee.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>Grantlee-&grantlee5-version;</title>
17
18 <indexterm zone="grantlee5">
19 <primary sortas="a-Grantlee">Grantlee</primary>
20 </indexterm>
21
22 <sect2 role="package">
23 <title>Introduction to Grantlee</title>
24
25 <para>
26 The <application>Grantlee</application> package contains a set of
27 libraries that can be used to separate the structure of documents
28 from the data they contain, opening the door for theming.
29 </para>
30
31 &lfs76_checked;
32
33 <bridgehead renderas="sect3">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>
37 Download (HTTP): <ulink url="&grantlee5-download-http;"/>
38 </para>
39 </listitem>
40 <listitem>
41 <para>
42 Download (FTP): <ulink url="&grantlee5-download-ftp;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download MD5 sum: &grantlee5-md5sum;
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download size: &grantlee5-size;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Estimated disk space required: &grantlee5-buildsize;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated build time: &grantlee5-time;
63 </para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Grantlee Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Required</bridgehead>
70 <para role="required">
71 <xref linkend="cmake"/> and
72 <xref linkend="qt5"/>
73 </para>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="doxygen"/> and
78 <xref linkend="graphviz"/>
79 </para>
80
81 <para condition="html" role="usernotes">
82 User Notes: <ulink url="&blfs-wiki;/grantlee5"/>
83 </para>
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of Grantlee</title>
88
89 <para>
90 Install <application>Grantlee</application> by running the following
91 commands:
92 </para>
93
94<screen><userinput>mkdir build &amp;&amp;
95cd build &amp;&amp;
96
97cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
98 -DCMAKE_BUILD_TYPE=Release \
99 -DBUILD_TESTS=OFF \
100 .. &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 If you have installed optional dependencies and wish to
105 generate the API documentation, issue the following
106 command:
107 </para>
108
109<screen><userinput>make docs</userinput></screen>
110
111 <para>
112 This package does not come with a test suite.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
121 <para>
122 If you have built the optional documentation, install it
123 by running the following commands as the <systemitem
124 class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>install -v -dm755 $KF5_PREFIX/share/doc/grantlee-&grantlee5-version; &amp;&amp;
128cp -v apidox/* $KF5_PREFIX/share/doc/grantlee-&grantlee5-version; </userinput></screen>
129
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
136 href="../../xincludes/cmake-release.xml"/>
137
138 <para>
139 <parameter>-DBUILD_TESTS=OFF</parameter>: This switch is used to prevent
140 building test programs and libraries that are of no use to an end user.
141 </para>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>
155 None
156 </seg>
157 <seg>
158 libGrantlee_Templates.so and libGrantlee_TextDocument.so
159 </seg>
160 <seg>
161 $KF5_PREFIX/include/grantlee,
162 $KF5_PREFIX/lib/cmake/Grantlee5 and
163 $KF5_PREFIX/lib/grantlee
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 </sect2>
169
170</sect1>
Note: See TracBrowser for help on using the repository browser.