- Timestamp:
- 12/20/2020 05:46:31 PM (3 years ago)
- Branches:
- qt5new
- Children:
- dc062c9
- Parents:
- 96f41f4 (diff), 1c429ed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- x/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/qt5.xml
r96f41f4 ra4564466 195 195 196 196 <para> 197 Next create two utility functions, one for module building, the other 198 for switching to user <systemitem class="username">root</systemitem>: 199 </para> 200 201 <screen><userinput>module_build() { 202 # MD5_ENTRY contains the md5sum entry from the .md5 file for this module 203 md5sum -c - <<< $MD5_ENTRY 204 }</userinput></screen> 197 Next create two utility functions, one for switching to user 198 <systemitem class="username">root</systemitem>, the other for 199 module building: 200 </para> 201 202 <screen><userinput>as_root() { 203 if [ "$EUID" = 0 ]; then $* 204 elif [ -x /usr/bin/sudo ]; then sudo $* 205 else su -c \\"$*\\" 206 fi 207 } 208 209 export -f as_root 210 211 module_build() { 212 # MD5_ENTRY contains the md5sum entry from the .md5 file for this module 213 echo $MD5_ENTRY | read md5 tarball 214 215 # download 216 wget &qt5-dwonload-http;$tarball 217 md5sum -c - <<< "$MD5_ENTRY" || exit 1 218 219 packagedir=${tarball%.tar*} 220 221 tar -xf $file 222 pushd $packagedir 223 # OPTIONS contains the qmake options 224 if[ -n "$OPTIONS" ]; then 225 qmake -- $OPTIONS 226 else 227 qmake 228 fi 229 make 230 as_root make install 231 popd 232 233 rm -rf $packagedir 234 as_root /sbin/ldconfig 235 } 236 237 export -f module_build</userinput></screen> 205 238 </sect2> 206 239 207 240 <sect2 id="qt-basic"> 208 <title>Installation of Basic Modules</title> 241 <title>Basic Qt5 Modules</title> 242 243 <para role="required"> 244 The modules in this group only depend on <xref linkend="qtbase"/> 245 and a properly set <envar>QTDIR</envar> environment variable. 246 </para> 247 209 248 <para> 210 249 Install the basic modules with the following instructions: 211 250 </para> 251 252 <screen><userinput>( # start a subshell 253 set -e # exit the subshell in case of error 254 255 unset OPTIONS 256 sed -n "/Begin basic/,/End basic/p" | while read MD5_ENTRY; do 257 if [ -z "${MD5_ENTRY%\#*}" ]; then continue; fi 258 module_build 259 done 260 ) 212 261 </sect2> 213 262 -
x/lib/webkitgtk.xml
r96f41f4 ra4564466 7 7 <!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz"> 8 8 <!ENTITY webkitgtk-download-ftp " "> 9 <!ENTITY webkitgtk-md5sum " 3db32cffeab82efcade1ce77f94865c2">9 <!ENTITY webkitgtk-md5sum "81c813d77a7b52ef655922f9b387f3a1"> 10 10 <!ENTITY webkitgtk-size "21 MB"> 11 <!ENTITY webkitgtk-buildsize "8 32MB (121 MB installed)">12 <!ENTITY webkitgtk-time "2 5 SBU (using parallelism=4, estimated 83SBU using one core)">11 <!ENTITY webkitgtk-buildsize "840 MB (121 MB installed)"> 12 <!ENTITY webkitgtk-time "24 SBU (using parallelism=4, estimated 79 SBU using one core)"> 13 13 ]> 14 14 … … 129 129 <application>WebKitGTK+</application></bridgehead> 130 130 131 <!-- 131 132 <para>First, ensure backward compatibility with the latest version of icu:</para> 132 133 133 134 <screen><userinput>echo 'add_compile_definitions("U_DEFINE_FALSE_AND_TRUE=1")' >> Source/WTF/wtf/CMakeLists.txt</userinput></screen> 135 --> 134 136 135 137 <para>
Note:
See TracChangeset
for help on using the changeset viewer.