Changeset 9434e9a
- Timestamp:
- 08/26/2019 01:28:27 PM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.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
- Children:
- f6da3b9
- Parents:
- 425f8d69
- Location:
- kde
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/extra-cmake-modules.xml
r425f8d69 r9434e9a 81 81 <bridgehead renderas="sect4">Optional</bridgehead> 82 82 <para role="optional"> 83 <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink> (for building documentation) 83 <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink> (for 84 building documentation) 84 85 </para> 85 86 … … 93 94 94 95 <para> 95 Install <application>Extra Cmake Modules</application> by running the following96 commands:96 Install <application>Extra Cmake Modules</application> by running the 97 following commands: 97 98 </para> 98 99 99 100 <screen><userinput>sed -i '/"lib64"/s/64//' kde-modules/KDEInstallDirs.cmake && 101 102 sed -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 && 100 105 101 106 mkdir build && … … 131 136 sub-directory. 132 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> 133 149 </sect2> 134 150 -
kde/kf5/kf5-frameworks.xml
r425f8d69 r9434e9a 319 319 pushd $packagedir 320 320 321 # Fix a cmake problem in plasma-framework322 if [ "$name" == "plasma-framework" ]; then323 sed -e '/CMakeFind/i set(SAVE_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")' \324 -e '/find_dep/a set(PACKAGE_PREFIX_DIR "${SAVE_PACKAGE_PREFIX_DIR}")' \325 -i src/plasmaquick/KF5PlasmaQuickConfig.cmake.in326 fi327 328 321 mkdir build 329 322 cd build
Note:
See TracChangeset
for help on using the changeset viewer.