source: kde/extra-cmake-modules.xml@ 4584c7b

10.0 10.1 11.0 9.1 qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 4584c7b was 6849fbe, checked in by Bruce Dubbs <bdubbs@…>, 23 months ago

Update to kf5-5.64.0 including extra-cmake-modules and oxygen-icons

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22362 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.2 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 <!ENTITY extra-cmake-modules-download-http "&kf5-download-http;/extra-cmake-modules-&kf5-version;.tar.xz">
8 <!ENTITY extra-cmake-modules-download-ftp " ">
9 <!ENTITY extra-cmake-modules-md5sum "ca705855a8d06ae606e0d646dbf327b0">
10 <!ENTITY extra-cmake-modules-size "332 KB">
11 <!ENTITY extra-cmake-modules-buildsize "4.4 MB">
12 <!ENTITY extra-cmake-modules-time "less than 0.1 SBU">
13]>
14
15<sect1 id="extra-cmake-modules" xreflabel="extra-cmake-modules-&kf5-version;">
16 <?dbhtml filename="extra-cmake-modules.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>extra-cmake-modules-&kf5-version;</title>
24
25 <indexterm zone="extra-cmake-modules">
26 <primary sortas="a-extra-cmake-modules">extra-cmake-modules</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Extra Cmake Modules</title>
31
32 <para>
33 The <application>Extra Cmake Modules</application> package contains
34 extra <application>CMake</application> modules used by
35 <application>KDE Frameworks 5</application> and other packages.
36 </para>
37
38 &lfs90_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&extra-cmake-modules-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&extra-cmake-modules-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &extra-cmake-modules-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &extra-cmake-modules-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &extra-cmake-modules-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &extra-cmake-modules-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Extra Cmake Modules Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="cmake"/>
79 </para>
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink> (for
84 building documentation)
85 </para>
86
87 <para condition="html" role="usernotes">
88 User Notes: <ulink url="&blfs-wiki;/extra-cmake-modules"/>
89 </para>
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of Extra Cmake Modules</title>
94
95 <para>
96 Install <application>Extra Cmake Modules</application> by running the
97 following commands:
98 </para>
99
100<screen><userinput>sed -i '/"lib64"/s/64//' kde-modules/KDEInstallDirs.cmake &amp;&amp;
101
102sed -e '/PACKAGE_INIT/i set(SAVE_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")' \
103 -e '/^include/a set(PACKAGE_PREFIX_DIR "${SAVE_PACKAGE_PREFIX_DIR}")' \
104 -i ECMConfig.cmake.in &amp;&amp;
105
106mkdir build &amp;&amp;
107cd build &amp;&amp;
108
109cmake -DCMAKE_INSTALL_PREFIX=/usr .. &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 This package does not come with a test suite.
114 </para>
115
116 <note><para>
117 Unlike other KF5 packages, this module is installed in /usr because
118 it can be used by some non-KF5 packages.
119 </para></note>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para>
133 <command>sed ... Modules/KDEInstallDirs.cmake</command>:
134 This command disables applications using cmake from attempting to
135 install files in a <filename class="directory">lib64</filename>
136 sub-directory.
137 </para>
138
139 <para>
140 <command>sed ... ECMConfig.cmake.in</command>:
141 This command protects the global <application>cmake</application>
142 variable <envar>PACKAGE_PREFIX_DIR</envar> from being changed when
143 checking ECM presence: since we install ECM into <filename
144 class="directory">/usr</filename>, the check would set that variable to
145 <filename class="directory">/usr</filename>, while most KDE packages
146 expect it to be set to <filename class="directory">/opt/kf5</filename>
147 and would fail to build if it is set to something else.
148 </para>
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
158
159 <seglistitem>
160 <seg>
161 None
162 </seg>
163 <seg>
164 None
165 </seg>
166 <seg>
167 /usr/share/ECM and
168 /usr/share/doc/ECM (if documentation was built)
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 </sect2>
174
175</sect1>
176
177
Note: See TracBrowser for help on using the repository browser.