Changeset 475d4388 for general/sysutils
- Timestamp:
- 03/06/2022 09:50:13 AM (3 years ago)
- Branches:
- 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, 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, xry111/for-12.3, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/xf86-video-removal
- Children:
- 7969f18
- Parents:
- 02d60dda
- git-author:
- Pierre Labastie <pierre.labastie@…> (03/06/2022 09:49:32 AM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (03/06/2022 09:50:13 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/upower.xml
r02d60dda r475d4388 5 5 %general-entities; 6 6 7 <!ENTITY upower-download-http "https://gitlab.freedesktop.org/upower/upower/ uploads/177df5b9f9b76f25a2ad9da41aa0c1fa/upower-&upower-version;.tar.xz">7 <!ENTITY upower-download-http "https://gitlab.freedesktop.org/upower/upower/-/archive/v&upower-version;/upower-v&upower-version;.tar.bz2"> 8 8 <!ENTITY upower-download-ftp " "> 9 <!ENTITY upower-md5sum " 0c945817c12a7967d2c5edf7138fcf80">10 <!ENTITY upower-size " 438KB">11 <!ENTITY upower-buildsize " 15MB (with tests)">12 <!ENTITY upower-time " 0.1 SBU (using parallelism=4, add 0.8SBU for tests)">9 <!ENTITY upower-md5sum "f87ac5b7198f3041f06e7b3c121d442c"> 10 <!ENTITY upower-size "136 KB"> 11 <!ENTITY upower-buildsize "6.2 MB (with tests)"> 12 <!ENTITY upower-time "less than 0.1 SBU (using parallelism=4, 0.4 SBU for tests)"> 13 13 ]> 14 14 … … 128 128 </para> 129 129 130 <screen><userinput>./configure --prefix=/usr \ 131 --sysconfdir=/etc \ 132 --localstatedir=/var \ 133 --enable-deprecated \ 134 --disable-static && 135 make</userinput></screen> 136 137 <para> 138 To test the results, issue: <command>make check</command>. Some 130 <screen revision="sysv"><userinput>sed '/subdir.*doc/d' -i meson.build && 131 mkdir build && 132 cd build && 133 meson --prefix=/usr \ 134 --buildtype=release \ 135 -Dgtk-doc=false \ 136 -Dman=false \ 137 -Dsystemdsystemunitdir=no \ 138 -Dudevrulesdir=/usr/lib/udev/rules.d \ 139 .. && 140 ninja</userinput></screen> 141 142 <screen revision="systemd"><userinput>sed '/subdir.*doc/d' -i meson.build && 143 mkdir build && 144 cd build && 145 meson --prefix=/usr \ 146 --buildtype=release \ 147 -Dgtk-doc=false \ 148 -Dman=false \ 149 .. && 150 ninja</userinput></screen> 151 152 <para> 153 To test the results, issue: <command>ninja test</command>. Some 139 154 checks may not pass due to missing files. Test suite should be run from 140 155 a local GUI session started with dbus-launch. … … 145 160 </para> 146 161 147 <screen role="root"><userinput> makeinstall</userinput></screen>162 <screen role="root"><userinput>ninja install</userinput></screen> 148 163 149 164 </sect2> … … 153 168 154 169 <para> 155 <parameter>--enable-deprecated</parameter>: This switch enables 156 deprecated functionality which is still needed by some 157 applications. 158 </para> 159 160 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 161 href="../../xincludes/static-libraries.xml"/> 162 163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 164 href="../../xincludes/gtk-doc-rebuild.xml"/> 170 <command>sed 'subdir.*doc/d' ...</command>: Even when passing 171 <parameter>-Dgtk-doc=false</parameter> and 172 <parameter>-Dman=false</parameter>, the build still needs 173 <application>GTK-doc</application>. This command allows building 174 without it. Remove if you have <application>GTK-doc</application> 175 installed and you wish to build the documentation (remove also 176 the next two parameters). 177 </para> 178 179 <para> 180 <parameter>-Dgtk-doc=false</parameter>: Prevents building the 181 documentation. Remove if you have <application>GTK-doc</application> 182 installed and wish to build the documentation. 183 </para> 184 185 <para> 186 <parameter>-Dman=false</parameter>: Prevents building the 187 manual pages. Remove if you have <application>GTK-doc</application> 188 installed and wish to build the manual pages. 189 </para> 190 191 <para revision="sysv"> 192 <parameter>-Dsystemdsystemunitdir=no</parameter>: Removes 193 the dependency on <application>systemd</application>. 194 </para> 195 196 <para revision="sysv"> 197 <parameter>-Dudevrulesdir=/usr/lib/udev/rules.d</parameter>: Tells 198 the build system where to install <application>udev</application> 199 rules, because the information is missing in 200 <filename>/usr/lib/pkgconfig/libudev.pc</filename> 201 </para> 165 202 166 203 </sect2> … … 183 220 </para> 184 221 --> 185 <sect3 id="upower-init" revision="systemd">222 <sect3 id="upower-init"> 186 223 <title>Systemd Unit</title> 187 224
Note:
See TracChangeset
for help on using the changeset viewer.