- Timestamp:
- 10/11/2023 04:20:41 PM (12 months ago)
- Branches:
- 12.1, 12.2, gimp3, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
- Children:
- e0b726d
- Parents:
- 418edc06
- git-author:
- Xi Ruoyao <xry111@…> (10/11/2023 04:14:19 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (10/11/2023 04:20:41 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/vala.xml
r418edc06 re34c9a40 95 95 <title>Installation of Vala</title> 96 96 97 <!-- https://gitlab.gnome.org/GNOME/vala/-/issues/1485 --> 98 <para> 99 At first, fix an issue causing <command>vapigen</command> to crash 100 building some packages (for example NetworkManager): 101 </para> 102 103 <screen><userinput>sed -e "/next_pos =/s/$/ \ 104 char buf[16]; \ 105 Memory.copy (buf, next_pos, \ 106 (end - next_pos >= buf.length ? buf.length - 1 : end - next_pos));/" \ 107 -e 's/(string) next_pos/(string) buf/' \ 108 -i vala/valamarkupreader.vala</userinput></screen> 109 97 110 <para> 98 111 Install <application>Vala</application> by running the following … … 101 114 102 115 <screen><userinput>./configure --prefix=/usr && 103 make </userinput></screen>116 make bootstrap</userinput></screen> 104 117 105 118 <para> … … 119 132 120 133 <para> 134 <parameter>bootstrap</parameter>: This <command>make</command> 135 target forces the building system to build the package twice and use 136 the <command>vala</command> executable produced in the first build 137 to regenerate the <filename class="extension">.c</filename> files 138 from the <filename class="extension">.vala</filename> files if needed. 139 Since the <command>vala</command> executable is not installed yet, 140 this is necessary for really fixing the crash because the fix has 141 modified a <filename class="extension">.vala</filename> file. 142 </para> 143 144 <para> 121 145 <option>--disable-valadoc</option>: This option is 122 146 required if <xref linkend="graphviz"/> is not installed. 123 147 </para> 124 125 148 </sect2> 126 149
Note:
See TracChangeset
for help on using the changeset viewer.