source: kde/extra-cmake-modules.xml@ 5156197

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5156197 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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