qi.html 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884
  1. <html lang="en">
  2. <head>
  3. <title>Qi manual</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <meta name="description" content="Qi manual">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="top" href="#Top">
  8. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  9. <!--
  10. This manual is for Qi (version 1.0-rc4,
  11. 30 Jan 2017), which is a simple source builder and package manager.
  12. Copyright (C) 2015, 2016, 2017 Matias A. Fonzo, Argentina,
  13. Santiago del Estero.
  14. Permission is granted to copy, distribute and/or modify this
  15. document under the terms of the GNU Free Documentation License,
  16. Version 1.3 or any later version published by the Free Software
  17. Foundation; with no Invariant Sections, with no Front-Cover Texts,
  18. and with no Back-Cover Texts. A copy of the license is included
  19. in the section entitled "GNU Free Documentation License".
  20. -->
  21. <meta http-equiv="Content-Style-Type" content="text/css">
  22. <style type="text/css"><!--
  23. pre.display { font-family:inherit }
  24. pre.format { font-family:inherit }
  25. pre.smalldisplay { font-family:inherit; font-size:smaller }
  26. pre.smallformat { font-family:inherit; font-size:smaller }
  27. pre.smallexample { font-size:smaller }
  28. pre.smalllisp { font-size:smaller }
  29. span.sc { font-variant:small-caps }
  30. span.roman { font-family:serif; font-weight:normal; }
  31. span.sansserif { font-family:sans-serif; font-weight:normal; }
  32. --></style>
  33. <link rel="stylesheet" type="text/css" href="document-1.0.1.css">
  34. </head>
  35. <body>
  36. <h1 class="settitle">Qi manual</h1>
  37. <div class="contents">
  38. <h2>Table of Contents</h2>
  39. <ul>
  40. <li><a name="toc_Top" href="#Top">Qi manual</a>
  41. <li><a name="toc_Introduction" href="#Introduction">1 Introduction</a>
  42. <li><a name="toc_Invocation" href="#Invocation">2 Invocation</a>
  43. <ul>
  44. <li><a href="#Invocation">2.1 Environment</a>
  45. <li><a href="#Invocation">2.2 Notes</a>
  46. </li></ul>
  47. <li><a name="toc_The-qirc-file" href="#The-qirc-file">3 The qirc file</a>
  48. <li><a name="toc_Packages" href="#Packages">4 Packages</a>
  49. <ul>
  50. <li><a href="#Packages">4.1 Adding packages</a>
  51. <li><a href="#Packages">4.2 Removing packages</a>
  52. <li><a href="#Packages">4.3 Upgrading packages</a>
  53. <li><a href="#Packages">4.4 Notes</a>
  54. </li></ul>
  55. <li><a name="toc_Recipes" href="#Recipes">5 Recipes</a>
  56. <ul>
  57. <li><a href="#Recipes">5.1 Variables</a>
  58. <ul>
  59. <li><a href="#Recipes">5.1.1 Special variables</a>
  60. <li><a href="#Recipes">5.1.2 Variables from the environment</a>
  61. </li></ul>
  62. <li><a href="#Recipes">5.2 The meta file</a>
  63. <li><a href="#Recipes">5.3 Building packages</a>
  64. <li><a href="#Recipes">5.4 Writing recipes</a>
  65. <ul>
  66. <li><a href="#Recipes">5.4.1 Internal functions</a>
  67. </li></ul>
  68. </li></ul>
  69. <li><a name="toc_Order-files" href="#Order-files">6 Order files</a>
  70. <ul>
  71. <li><a href="#Order-files">6.1 The depends file</a>
  72. </li></ul>
  73. <li><a name="toc_Examine-packages" href="#Examine-packages">7 Examine packages</a>
  74. <li><a name="toc_Messages" href="#Messages">8 Messages</a>
  75. <li><a name="toc_Exit-status" href="#Exit-status">9 Exit status</a>
  76. <li><a name="toc_GNU-Free-Documentation-License" href="#GNU-Free-Documentation-License">Appendix A GNU Free Documentation License</a>
  77. <li><a name="toc_Index" href="#Index">Index</a>
  78. </li></ul>
  79. </div>
  80. <div class="node">
  81. <a name="Top"></a>
  82. <p><hr>
  83. Next:&nbsp;<a rel="next" accesskey="n" href="#Introduction">Introduction</a>,
  84. Up:&nbsp;<a rel="up" accesskey="u" href="#dir">(dir)</a>
  85. </div>
  86. <h2 class="unnumbered">Qi manual</h2>
  87. <p>This manual is for Qi (version 1.0-rc4,
  88. 30 Jan 2017).
  89. <ul class="menu">
  90. <li><a accesskey="1" href="#Introduction">Introduction</a>: Purpose, description
  91. <li><a accesskey="2" href="#Invocation">Invocation</a>: Command-line interface
  92. <li><a accesskey="3" href="#The-qirc-file">The qirc file</a>: Configuration file
  93. <li><a accesskey="4" href="#Packages">Packages</a>: Managing packages
  94. <li><a accesskey="5" href="#Recipes">Recipes</a>: Building packages
  95. <li><a accesskey="6" href="#Order-files">Order files</a>: Handling the build order
  96. <li><a accesskey="7" href="#Examine-packages">Examine packages</a>: Debugging purposes
  97. <li><a accesskey="8" href="#Messages">Messages</a>: Output messages
  98. <li><a accesskey="9" href="#Exit-status">Exit status</a>: Exit codes
  99. <li><a href="#GNU-Free-Documentation-License">GNU Free Documentation License</a>
  100. <li><a href="#Index">Index</a>
  101. </ul>
  102. <pre class="sp">
  103. </pre>
  104. Copyright &copy; 2015-2017 Matias A. Fonzo, Argentina, Santiago
  105. del Estero.
  106. <p>The Qi home page can be found at <a href="http://www.dragora.org">http://www.dragora.org</a>.
  107. Send&nbsp;bug&nbsp;reports&nbsp;or&nbsp;suggestions&nbsp;to&nbsp;<a href="mailto:dragora-users@nongnu.org">dragora-users@nongnu.org</a>.<!-- /@w -->
  108. <div class="node">
  109. <a name="Introduction"></a>
  110. <p><hr>
  111. Next:&nbsp;<a rel="next" accesskey="n" href="#Invocation">Invocation</a>,
  112. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Top">Top</a>,
  113. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  114. </div>
  115. <h2 class="chapter">1 Introduction</h2>
  116. <p><a name="index-introduction-1"></a>
  117. Qi is a source builder and a package manager:
  118. <p>It contains a set of (individual) tools to build, install, remove, and
  119. upgrade software packages. It follows the philosophy of simplicity
  120. without adding too many features, such as those that can be found in
  121. popular package managers. Basically it does two things: builds
  122. packages and manages them.
  123. <p>Qi constructs the sources using recipe names, files that contain
  124. specific instructions to build every source. As result, a binary
  125. package is obtained which can be installed, removed, upgraded, or
  126. inspected in the system.
  127. <p>The packages are managed thanks to an external tool called
  128. <em>graft(1)</em>, which provides a mechanism for managing multiple
  129. packages under a single directory hierarchy, it was inspired by both
  130. Depot (Carnegie Mellon University) and Stow (Bob Glickstein). In this
  131. aspect, Qi complements Graft: it can work with packages, check them,
  132. solve conflicts, and more...
  133. <div class="node">
  134. <a name="Invocation"></a>
  135. <p><hr>
  136. Next:&nbsp;<a rel="next" accesskey="n" href="#The-qirc-file">The qirc file</a>,
  137. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Introduction">Introduction</a>,
  138. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  139. </div>
  140. <h2 class="chapter">2 Invocation</h2>
  141. <p><a name="index-invocation-2"></a>
  142. The synopsis to invoke Qi is:
  143. <pre class="example"> pkg&lt;action&gt; [options] [package|recipe|order] ...
  144. </pre>
  145. <p class="noindent">The following commands or actions are supported by Qi:
  146. <dl>
  147. <dt>&lsquo;<samp><span class="samp">pkghelp</span></samp>&rsquo;<dd>Shows the help.
  148. <br><dt>&lsquo;<samp><span class="samp">pkgadd</span></samp>&rsquo;<dd>Add the packages to the system using <em>graft(1)</em> for linking.
  149. <br><dt>&lsquo;<samp><span class="samp">pkgremove</span></samp>&rsquo;<dd>Remove the packages from the system.
  150. <br><dt>&lsquo;<samp><span class="samp">pkgupgrade</span></samp>&rsquo;<dd>Upgrade software packages.
  151. <br><dt>&lsquo;<samp><span class="samp">pkgbuild</span></samp>&rsquo;<dd>Build packages using recipe files.
  152. <br><dt>&lsquo;<samp><span class="samp">pkgorder</span></samp>&rsquo;<dd>Resolves the build order through .order files.
  153. <br><dt>&lsquo;<samp><span class="samp">pkgerupt</span></samp>&rsquo;<dd>Examine packages for debugging purposes.
  154. <pre class="sp">
  155. </pre>
  156. <strong>Global options</strong>
  157. <p>There are global or common options for the commands, as well as specific to each one.
  158. <br><dt>&lsquo;<samp><span class="samp">-h</span></samp>&rsquo;<dd>Show options for the given command and exit.
  159. <pre class="sp">
  160. </pre>
  161. <strong>Options for command &lsquo;</strong><samp><span class="samp">pkgadd</span></samp><strong>&rsquo;:</strong>
  162. <br><dt>&lsquo;<samp><span class="samp">-f</span></samp>&rsquo;<dd>Force package installation (implies -p).
  163. <br><dt>&lsquo;<samp><span class="samp">-P</span></samp>&rsquo;<dd>Extract package on an installation tree.
  164. <p>This option sets &lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo;.
  165. <p>Default value: <em>PREFIX/pkg</em>
  166. <br><dt>&lsquo;<samp><span class="samp">-p</span></samp>&rsquo;<dd>Prune conflicts.
  167. <br><dt>&lsquo;<samp><span class="samp">-t</span></samp>&rsquo;<dd>Target directory for linking.
  168. <p>This option sets &lsquo;<samp><span class="samp">${targetdir}</span></samp>&rsquo;.
  169. <p>Default value: <em>/</em>
  170. <br><dt>&lsquo;<samp><span class="samp">-V</span></samp>&rsquo;<dd><em>graft(1)</em> very verbose.
  171. <br><dt>&lsquo;<samp><span class="samp">-w</span></samp>&rsquo;<dd>Warn about the files that will be linked.
  172. <pre class="sp">
  173. </pre>
  174. <strong>Options for command &lsquo;</strong><samp><span class="samp">pkgremove</span></samp><strong>&rsquo;:</strong>
  175. <br><dt>&lsquo;<samp><span class="samp">-k</span></samp>&rsquo;<dd>Keep (don't delete) package directory.
  176. <br><dt>&lsquo;<samp><span class="samp">-P</span></samp>&rsquo;<dd>Remove from an installation tree.
  177. <p>This option sets &lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo;.
  178. <p>Default value: <em>PREFIX/pkg</em>
  179. <br><dt>&lsquo;<samp><span class="samp">-p</span></samp>&rsquo;<dd>Prune conflicts.
  180. <br><dt>&lsquo;<samp><span class="samp">-t</span></samp>&rsquo;<dd>Target directory for unlinking.
  181. <p>This option sets &lsquo;<samp><span class="samp">${targetdir}</span></samp>&rsquo;.
  182. <p>Default value: <em>/</em>
  183. <br><dt>&lsquo;<samp><span class="samp">-V</span></samp>&rsquo;<dd><em>graft(1)</em> very verbose.
  184. <pre class="sp">
  185. </pre>
  186. <strong>Options for command &lsquo;</strong><samp><span class="samp">pkgupgrade</span></samp><strong>&rsquo;:</strong>
  187. <br><dt>&lsquo;<samp><span class="samp">-k</span></samp>&rsquo;<dd>Keep (don't delete) package directory.
  188. <br><dt>&lsquo;<samp><span class="samp">-P</span></samp>&rsquo;<dd>Package installation tree.
  189. <p>This option sets &lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo;.
  190. <p>Default value: <em>PREFIX/pkg</em>
  191. <br><dt>&lsquo;<samp><span class="samp">-t</span></samp>&rsquo;<dd>Target directory.
  192. <p>This option sets &lsquo;<samp><span class="samp">${targetdir}</span></samp>&rsquo;.
  193. <p>Default value: <em>/</em>
  194. <br><dt>&lsquo;<samp><span class="samp">-V</span></samp>&rsquo;<dd>Enable (very) verbose mode.
  195. <br><dt>&lsquo;<samp><span class="samp">-w</span></samp>&rsquo;<dd>Warn about packages that will be upgraded.
  196. <pre class="sp">
  197. </pre>
  198. <strong>Options for command &lsquo;</strong><samp><span class="samp">pkgbuild</span></samp><strong>&rsquo;:</strong>
  199. <br><dt>&lsquo;<samp><span class="samp">-a</span></samp>&rsquo;<dd>Architecture to use.
  200. <p>This option sets &lsquo;<samp><span class="samp">${arch}</span></samp>&rsquo;.
  201. <p>Default value is obtained via <em>uname(1)</em> as &lsquo;<samp><span class="samp">uname -m</span></samp>&rsquo;.
  202. <br><dt>&lsquo;<samp><span class="samp">-i</span></samp>&rsquo;<dd>Increment release number.
  203. <p>This option increment the release number when a package is produced.
  204. <br><dt>&lsquo;<samp><span class="samp">-j</span></samp>&rsquo;<dd>Parallel jobs for the compiler
  205. <p>This option sets &lsquo;<samp><span class="samp">${jobs}</span></samp>&rsquo;.
  206. <p>Default value: <em>1</em>
  207. <br><dt>&lsquo;<samp><span class="samp">-k</span></samp>&rsquo;<dd>Keep (don't delete) &lsquo;<samp><span class="samp">${srcdir}</span></samp>&rsquo; and &lsquo;<samp><span class="samp">${destdir}</span></samp>&rsquo;.
  208. <br><dt>&lsquo;<samp><span class="samp">-n</span></samp>&rsquo;<dd>Don't create a .tlz package.
  209. <br><dt>&lsquo;<samp><span class="samp">-o</span></samp>&rsquo;<dd>Where the produced packages are written.
  210. <p>This option sets &lsquo;<samp><span class="samp">${outdir}</span></samp>&rsquo;.
  211. <p>Default value: <em>/var/cache/qi/packages</em>
  212. <br><dt>&lsquo;<samp><span class="samp">-U</span></samp>&rsquo;<dd>Perform package upgrade after build.
  213. <p>This option calls to <samp><span class="command">pkgupgrade</span></samp>.
  214. <pre class="sp">
  215. </pre>
  216. <strong>Options for command &lsquo;</strong><samp><span class="samp">pkgorder</span></samp><strong>&rsquo;:</strong>
  217. <br><dt>&lsquo;<samp><span class="samp">-x</span></samp>&rsquo;<dd>Exclude depends file.
  218. <h3 class="section">2.1 Environment</h3>
  219. <p><a name="index-environment-3"></a>
  220. Some influential environment variables:
  221. <br><dt>&lsquo;<samp><span class="samp">QICFLAGS</span></samp>&rsquo;<dd>C compiler flags for building packages.
  222. <p>Default value: <em>"-g0 -Os"</em>
  223. <br><dt>&lsquo;<samp><span class="samp">QICXXFLAGS</span></samp>&rsquo;<dd>C++ compiler flags for building packages.
  224. <p>Default value: <em>"-g0 -Os"</em>
  225. <br><dt>&lsquo;<samp><span class="samp">QILDFLAGS</span></samp>&rsquo;<dd>Linker flags for building packages.
  226. <p>Default value: <em>-s</em>
  227. <br><dt>&lsquo;<samp><span class="samp">DOPOST</span></samp>&rsquo;<dd>post-install script control variable.
  228. <p>The <samp><span class="env">DOPOST</span></samp> variable is currently used for <samp><span class="command">pkgadd</span></samp>,
  229. <samp><span class="command">pkgupgrade</span></samp>, <samp><span class="command">pkgbuild</span></samp> (when option -U is given).
  230. <p>A different value than "DOPOST" omits the execution of the post-install
  231. script (if any).
  232. <br><dt>&lsquo;<samp><span class="samp">RC</span></samp>&rsquo;<dd>Runtime configuration file.
  233. <p>A different value than "RC" overrides the configuration file.
  234. <p>This is used by: <samp><span class="command">pkgadd</span></samp>, <samp><span class="command">pkgremove</span></samp>,
  235. <samp><span class="command">pkgupgrade</span></samp>, <samp><span class="command">pkgbuild</span></samp>.
  236. <br><dt>&lsquo;<samp><span class="samp">TMPDIR</span></samp>&rsquo;<dd>Temporary directory (by default <em>/tmp</em>).
  237. <p><samp><span class="env">TMPDIR</span></samp> is expanded with random numbers for major security.
  238. <p>This is used by: <samp><span class="command">pkgbuild</span></samp>, <samp><span class="command">pkgerupt</span></samp>.
  239. </dl>
  240. <h3 class="section">2.2 Notes</h3>
  241. <p><a name="index-notes-4"></a>
  242. <ul>
  243. <li>Command names has been prefixed with &lsquo;<samp><span class="samp">pkg</span></samp>&rsquo; to facilitate the
  244. set in relation to its purpose.
  245. <li>The <em>PREFIX</em> reference is related with the installation
  246. prefix of Qi.
  247. <li>All the options can be mixed. Options specified in the
  248. command-line have priority over the config file <samp><span class="file">qirc</span></samp>.
  249. If there are no options, and if <samp><span class="file">qirc</span></samp> is not present,
  250. default (internal) values will be used instead.
  251. </ul>
  252. <div class="node">
  253. <a name="The-qirc-file"></a>
  254. <p><hr>
  255. Next:&nbsp;<a rel="next" accesskey="n" href="#Packages">Packages</a>,
  256. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Invocation">Invocation</a>,
  257. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  258. </div>
  259. <h2 class="chapter">3 The qirc file</h2>
  260. <p><a name="index-the-qirc-file-5"></a>
  261. <samp><span class="file">qirc</span></samp> is the configuration file for Qi used at runtime during the
  262. installation, removal of a package or when a recipe is built. This
  263. file is optional, and it can be useful to define variables and
  264. configure external tools (such as a download manager) for default use.
  265. <ul>
  266. <li>Variables are declared as &lsquo;<samp><span class="samp">name=value</span></samp>&rsquo;.
  267. <li>Declaration of values should only take one line, no line break.
  268. <li>Assignments like &lsquo;<samp><span class="samp">name=$var</span></samp>&rsquo; are only interpreted as
  269. literal.
  270. </ul>
  271. <p class="noindent">The options specified in the command-line can override the values
  272. specified in the configuration file. For more information, see
  273. <a href="#Invocation">Invocation</a>.
  274. <p class="noindent">The order in which Qi looks for this file is:
  275. <ol type=1 start=1>
  276. <li><samp><span class="env">${HOME}/.qirc</span></samp>
  277. Effective user.
  278. <li>&lsquo;<samp><span class="samp">${sysconfdir}/qirc</span></samp>&rsquo;
  279. System-wide.
  280. </ol>
  281. <p>If you intend to run Qi for a specific user, you should copy the file
  282. &lsquo;<samp><span class="samp">${sysconfdir}/qirc</span></samp>&rsquo; to <samp><span class="env">${HOME}/.qirc</span></samp> setting
  283. &lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo; and &lsquo;<samp><span class="samp">${targetdir}</span></samp>&rsquo; for your <samp><span class="env">$HOME</span></samp>.
  284. <div class="node">
  285. <a name="Packages"></a>
  286. <p><hr>
  287. Next:&nbsp;<a rel="next" accesskey="n" href="#Recipes">Recipes</a>,
  288. Previous:&nbsp;<a rel="previous" accesskey="p" href="#The-qirc-file">The qirc file</a>,
  289. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  290. </div>
  291. <h2 class="chapter">4 Packages</h2>
  292. <p><a name="index-packages-6"></a>
  293. A package is a suite of programs usually distributed in binary form
  294. which may also contain manual pages, documentation, or any other file
  295. associated to a specific software.
  296. <p>The Qi package format is a simple redistributable <em>tar(1)</em> archive
  297. compressed with <em>lzip(1)</em>. The package extension ends in ".tlz".
  298. <p class="noindent">Both package installation and package deinstallation are managed using
  299. &lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo; and &lsquo;<samp><span class="samp">${targetdir}</span></samp>&rsquo;:
  300. <p>&lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo; is a common directory tree where the package contents
  301. is decompressed (resides). By default the tree is located at
  302. <em>PREFIX/pkg</em>.
  303. <p>&lsquo;<samp><span class="samp">${targetdir}</span></samp>&rsquo; is a target directory where the links will be
  304. made taking &lsquo;<samp><span class="samp">${packagedir}/package_name</span></samp>&rsquo; into account.
  305. <p>Packages are installed in self-contained directory trees and symbolic
  306. links from a common area are made to the package files. This allows
  307. multiple versions of the same package to co-exist on the one system.
  308. <p>All the links to install or to remove a package are managed using
  309. <em>graft(1)</em>. Since multiple packages can be installed or removed
  310. at the same time, certain conflicts may arise between the packages.
  311. <p>According to the User's Guide of Graft<a rel="footnote" href="#fn-1" name="fnd-1"><sup>1</sup></a>,
  312. a conflict is defined as one of the following conditions:
  313. <ul>
  314. <li>If the package object is a directory and the target object exists
  315. but is not a directory.
  316. <li>If the package object is not a directory and the target object
  317. exists and is not a symbolic link.
  318. <li>If the package object is not a directory and the target object
  319. exists and is a symbolic link to something other than the package
  320. object.
  321. </ul>
  322. <p class="noindent">Qi's default behavior is to not proceed with the installation when a
  323. conflict occurs. But when a package that is going to be removed is in
  324. conflict with another package, <em>graft(1)</em> removes those parts that
  325. are not in conflict, leaving the links belonging to the original
  326. package. This behavior can be changed if the option -p is specified
  327. (see the examples below).
  328. <h3 class="section">4.1 Adding packages</h3>
  329. <p><a name="index-adding-packages-7"></a>
  330. This sort order is particularly useful just before the actual package
  331. installation, because it helps to understand how the package
  332. installation works:
  333. <ol type=1 start=1>
  334. <li>Detects and reports if the package is already installed.
  335. <li>Ignores some signals up to completing the installation:
  336. HUP INT QUIT ABRT TERM.
  337. <li>The integrity of the file (package) is checked.
  338. <li>Creates required directory for the package as
  339. &lsquo;<samp><span class="samp">${packagedir}/package_name</span></samp>&rsquo;.
  340. <li>Decompress the content of the package in
  341. &lsquo;<samp><span class="samp">${packagedir}/package_name</span></samp>&rsquo;.
  342. <li>A test of the package is performed before completing the
  343. installation to see if there are no conflicts with another package.
  344. This is the default behavior if -p is not supplied.
  345. <li><em>graft(1)</em> is invoked to install symbolic links from
  346. the package installation directory to the target directory.
  347. <li>If the meta file is readable, the description will be shown for
  348. the package.
  349. <li>Run post install instructions from <samp><span class="file">post-install</span></samp>, if any.
  350. </ol>
  351. <p class="noindent"><em>Usage:</em> pkgadd [-hfpVw] [-P &lt;DIR&gt;] [-t &lt;DIR&gt;] [package.tlz ...]
  352. <p>To install a single package, simply type:
  353. <pre class="example"> pkgadd coreutils-8.24-x86_64+1.tlz
  354. </pre>
  355. <p>To install multiple packages at once:
  356. <pre class="example"> pkgadd gcc-4.9.3-x86_64+1.tlz rafaela-2.2-i586+1.tlz ...
  357. </pre>
  358. <p>Warn about the files that will be linked:
  359. <pre class="example"> pkgadd -w gcc-4.9.3-x86_64+1.tlz
  360. </pre>
  361. <ul>
  362. <li>This is to verify the content of a package before installing it.
  363. </ul>
  364. <p>See what happens when a package is installed (very verbose):
  365. <pre class="example"> pkgadd -V mariana-3.0-x86_64+1.tlz
  366. </pre>
  367. <ul>
  368. <li>This is for a detailed (long) output.
  369. </ul>
  370. <p>Installing in a different directory tree and target:
  371. <pre class="example"> pkgadd -P /tmp/pkgdir -T /tmp/targetdir lzip-1.17-i586+1.tlz
  372. </pre>
  373. <p>When a package is already installed, <samp><span class="command">pkgadd</span></samp> refuses to
  374. continue. This is to keep some control over the database of your
  375. packages, if you really want to force the installation of a package,
  376. you can use the -f option (which implies -p). See below.
  377. <p><strong>Pruning conflicts</strong>
  378. <p>Remove objects (files, links or directories) from the target
  379. directory that are in conflict with the package directory:
  380. <pre class="example"> pkgadd -p zutils-1.4-x86_64+1.tlz
  381. </pre>
  382. <p>When the -p option is used, it proceeds to install the package
  383. normally, but first will try to remove any conflict. Use it with care,
  384. combine this option with -V.
  385. <h3 class="section">4.2 Removing packages</h3>
  386. <p><a name="index-removing-packages-8"></a>
  387. This sort order is particularly useful just before the actual package
  388. deinstallation, because it helps to understand how the package
  389. deinstallation works:
  390. <ol type=1 start=1>
  391. <li>Look for a package name to remove inside of
  392. &lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo;. Package names must be specified using the full
  393. package name, such as "name-version-arch+release.tlz" or specifying the
  394. package name directory.
  395. <li>Ignores some signals up to completing the deinstallation:
  396. HUP INT QUIT ABRT TERM.
  397. <li><em>graft(1)</em> is invoked to remove symbolic links from
  398. the package installation directory to the target directory:
  399. <p>If a conflict exists with another package, those links that are not in
  400. conflict will be preserved. It's possible to prune all the conflicts
  401. using the -p option.
  402. <li>Remove directories made empty by package deletion. This has
  403. effect on &lsquo;<samp><span class="samp">${targetdir}</span></samp>&rsquo; but not for &lsquo;<samp><span class="samp">${packagedir}</span></samp>&rsquo;.
  404. <li>The package directory is deleted if the option -k is not
  405. supplied.
  406. </ol>
  407. <p class="noindent"><em>Usage:</em> pkgremove [-hkpV] [-P &lt;DIR&gt;] [-t &lt;DIR&gt;] [package_name ...]
  408. <p>To remove a package, just execute the command:
  409. <pre class="example"> pkgremove xz-5.2.2-x86_64+1
  410. </pre>
  411. <p>To remove multiple versions of the same package:
  412. <pre class="example"> pkgremove xz*
  413. </pre>
  414. <p>To remove multiple packages at once:
  415. <pre class="example"> pkgremove foo bar baz ...
  416. </pre>
  417. <p>Detailed output (very verbose):
  418. <pre class="example"> pkgremove -V xz-5.2.2-x86_64+1
  419. </pre>
  420. <p>Removing from a different directory tree and target:
  421. <pre class="example"> pkgremove -P /tmp/pkgdir -T /tmp/targetdir lzip-1.17-x86_64+1
  422. </pre>
  423. <p>Pruning conflicts:
  424. <pre class="example"> pkgremove -p -V hunter
  425. </pre>
  426. <h3 class="section">4.3 Upgrading packages</h3>
  427. <p><a name="index-upgrading-packages-9"></a>
  428. This sort order is particularly useful just before the actual package
  429. upgrade, because it helps to understand how the package upgrade works:
  430. <ol type=1 start=1>
  431. <li>Prepare temporary location for the incoming package.
  432. <li>Pre-install incoming package into the temporary location.
  433. <li>Remove packages under the same name: this is considered
  434. as the old packages. (Default behaviour if -k is not supplied).
  435. <li>Upgrade or install the package calling to <samp><span class="command">pkgadd</span></samp>.
  436. <li>Delete temporary location of the package.
  437. </ol>
  438. <p class="noindent"><em>Usage:</em> pkgupgrade [-hkVw] [-P &lt;DIR&gt;] [-t &lt;DIR&gt;] [package.tlz ...]
  439. <p>Upgrading a package is simple as:
  440. <pre class="example"> pkgupgrade coreutils-8.25-x86_64+1.tlz
  441. </pre>
  442. <p class="noindent">&lsquo;<samp><span class="samp">pkgupgrade</span></samp>&rsquo; uses <samp><span class="command">pkgadd</span></samp> and <samp><span class="command">pkgremove</span></samp> to
  443. upgrade software packages. So it inherits the properties of each
  444. utility, except here, only the essential options are provided. For
  445. example, the option -V (for a detailed output) belongs to when these
  446. utilities are invoked. The options -P and -t work in the same way as
  447. the previous examples for <samp><span class="command">pkgadd</span></samp>, <samp><span class="command">pkgremove</span></samp>.
  448. &lsquo;<samp><span class="samp">pkgupgrade</span></samp>&rsquo; will try to update the package or to install it
  449. (in case it has not been installed).
  450. <p>To see what packages will be updated (if any), always type:
  451. <pre class="example"> pkgupgrade -w coreutils-8.25-x86_64+1.tlz
  452. </pre>
  453. <h3 class="section">4.4 Notes</h3>
  454. <p><a name="index-notes-10"></a>
  455. <ul>
  456. <li>Some signals like HUP INT QUIT ABRT TERM are ignored on the
  457. package installation or deinstallation. The intention is to ignore
  458. the cancellation while the package is being installed or removed (e.g.
  459. Ctrl+C, terminal window closed, etc.). The installation or removal
  460. of a package can be crucial for the proper functioning of the system.
  461. <li>The meta file is read from the directory where the package is
  462. found.
  463. <li>A post-install script is read from
  464. &lsquo;<samp><span class="samp">${packagedir}/package_name/var/lib/qi/post-install/name.install</span></samp>&rsquo;.
  465. <li>Default behavior is to upgrade or install a package removing old
  466. packages, this is "packages found under the same name". If you want to
  467. preserve the multiple versions of the same package, you must pass the
  468. -k option.
  469. </ul>
  470. <div class="node">
  471. <a name="Recipes"></a>
  472. <p><hr>
  473. Next:&nbsp;<a rel="next" accesskey="n" href="#Order-files">Order files</a>,
  474. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Packages">Packages</a>,
  475. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  476. </div>
  477. <h2 class="chapter">5 Recipes</h2>
  478. <p><a name="index-recipes-11"></a>
  479. A recipe is a file telling qi what to do. Most often, the recipe
  480. tells qi how to build a binary package from a source tarball.
  481. <p>A recipe has two parts: a list of variable definitions and a list of
  482. sections. By convention, the syntax of a section is:
  483. <pre class="example"> section_name() {
  484. section lines
  485. }
  486. </pre>
  487. <p>The section name is followed by parentheses, one space and an opening
  488. brace. The line finishing the section contains just a closing brace.
  489. The section names or the function names currently recognized are
  490. &lsquo;<samp><span class="samp">build</span></samp>&rsquo;.
  491. <p>The &lsquo;<samp><span class="samp">build</span></samp>&rsquo; section is an augmented shell script. This is the main
  492. section (or <strong>shell function</strong>) which contains the instructions to
  493. build and produce a package.
  494. <h3 class="section">5.1 Variables</h3>
  495. <p><a name="index-variables-12"></a>
  496. A "variable" is a <strong>shell variable</strong> defined either in <samp><span class="file">qirc</span></samp>
  497. or in a recipe to represent a string of text, called the variable's
  498. "value". These values are substituted by explicit request in the
  499. definitions of other variables or in calls to external commands.
  500. <p>Variables can represent lists of file names, options to pass to
  501. compilers, programs to run, directories to look in for source files,
  502. directories to write output in, or anything else you can imagine.
  503. <p>Definitions of variables in qi have four levels of precedence.
  504. Options which define variables from the command-line override those
  505. specified in the <samp><span class="file">qirc</span></samp> file, while variables defined in the recipe
  506. override those specified in <samp><span class="file">qirc</span></samp>, taking priority over those
  507. variables settled by options via command-line. Finally, some variables
  508. (arch, jobs, outdir, worktree, tardir, netget, rsync) have default
  509. values if they are not defined anywhere.
  510. <p>Options that set variables through the command-line can only reference
  511. variables defined in <samp><span class="file">qirc</span></samp> and variables with default values.
  512. <p>Definitions of variables in <samp><span class="file">qirc</span></samp> can only reference variables
  513. previously defined in <samp><span class="file">qirc</span></samp> and variables with default values.
  514. <p>Definitions of variables in the recipe can only reference variables
  515. settled by command-line, variables previously defined in the recipe,
  516. variables defined in <samp><span class="file">qirc</span></samp>, and variables with default values.
  517. <h4 class="subsection">5.1.1 Special variables</h4>
  518. <p><a name="index-special-variables-13"></a>
  519. The three variables &lsquo;<samp><span class="samp">arch</span></samp>&rsquo;, &lsquo;<samp><span class="samp">jobs</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">outdir</span></samp>&rsquo; can
  520. only be set using command line options or in <samp><span class="file">qirc</span></samp>. If not
  521. specified, they have default values.
  522. <p>&lsquo;<samp><span class="samp">arch</span></samp>&rsquo; is the architecture to compose the package name. Its
  523. value is available in the recipe as &lsquo;<samp><span class="samp">${arch}</span></samp>&rsquo;. Default value is
  524. the output of &lsquo;<samp><span class="samp">uname -m</span></samp>&rsquo;.
  525. <p>&lsquo;<samp><span class="samp">jobs</span></samp>&rsquo; is the number of jobs to pass to the compiler. Its
  526. default value is available in the recipe as &lsquo;<samp><span class="samp">${jobs}</span></samp>&rsquo;. Defaults
  527. to &lsquo;<samp><span class="samp">1</span></samp>&rsquo;.
  528. <p>&lsquo;<samp><span class="samp">outdir</span></samp>&rsquo; is the directory where the produced packages are
  529. written. This variable cannot be redefined in the recipe. Defaults to
  530. &lsquo;<samp><span class="samp">/var/cache/qi/packages</span></samp>&rsquo;.
  531. <p>&lsquo;<samp><span class="samp">worktree</span></samp>&rsquo; is the working tree where archives, patches, and
  532. recipes are expected. This variable cannot be redefined in the
  533. recipe. Defaults to &lsquo;<samp><span class="samp">/usr/src/qi</span></samp>&rsquo;.
  534. <p>The variable &lsquo;<samp><span class="samp">tardir</span></samp>&rsquo; is defined in the recipe to the directory
  535. where the tarball containing the source can be found. The full name of
  536. the tarball is commonly used as &lsquo;<samp><span class="samp">${tardir}/$tarname</span></samp>&rsquo;. A value
  537. of &lsquo;<samp><span class="samp">.</span></samp>&rsquo; for &lsquo;<samp><span class="samp">tardir</span></samp>&rsquo; sets it to the value of the CWD (Current
  538. Working Directory), this means, from where the recipe is located.
  539. <p>The two variables &lsquo;<samp><span class="samp">srcdir</span></samp>&rsquo; and &lsquo;<samp><span class="samp">destdir</span></samp>&rsquo; can be defined in
  540. the recipe, as any other variable, but if they are not, Qi uses default
  541. values for them when building the package.
  542. <p>&lsquo;<samp><span class="samp">srcdir</span></samp>&rsquo; contains the source code to be compiled, and defaults to
  543. &lsquo;<samp><span class="samp">${program}-${version}</span></samp>&rsquo;.
  544. <p>&lsquo;<samp><span class="samp">destdir</span></samp>&rsquo; is the place where the built package will be installed,
  545. and defaults to &lsquo;<samp><span class="samp">${TMPDIR}/package-${program}</span></samp>&rsquo;.
  546. <p>If &lsquo;<samp><span class="samp">pkgname</span></samp>&rsquo; is left undefined, the special variable
  547. &lsquo;<samp><span class="samp">program</span></samp>&rsquo; is assigned by default. If &lsquo;<samp><span class="samp">pkgversion</span></samp>&rsquo; is left
  548. undefined, the special variable &lsquo;<samp><span class="samp">version</span></samp>&rsquo; is assigned by default.
  549. <p>&lsquo;<samp><span class="samp">pkgname</span></samp>&rsquo;, &lsquo;<samp><span class="samp">pkgversion</span></samp>&rsquo;, along with &lsquo;<samp><span class="samp">version</span></samp>&rsquo;,
  550. &lsquo;<samp><span class="samp">arch</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">release</span></samp>&rsquo;, are used to produce the name of the
  551. package in the form
  552. &lsquo;<samp><span class="samp">${pkgname}-${pkgversion}-${arch}+${release}.tlz</span></samp>&rsquo;. All of
  553. them must be defined in the recipe, excepting &lsquo;<samp><span class="samp">arch</span></samp>&rsquo;, which is
  554. optional.
  555. <ul>
  556. <li>&lsquo;<samp><span class="samp">program</span></samp>&rsquo;: name of the package.
  557. <li>&lsquo;<samp><span class="samp">version</span></samp>&rsquo;: version of the package.
  558. <li>&lsquo;<samp><span class="samp">arch</span></samp>&rsquo;: architecture of the package.
  559. <li>&lsquo;<samp><span class="samp">release</span></samp>&rsquo;: release number of the package. It is recommended to
  560. increase this number after any significant change in the recipe is made.
  561. </ul>
  562. <p class="noindent">Obtaining sources over the network must be declared in the recipe using
  563. the &lsquo;<samp><span class="samp">fetch</span></samp>&rsquo; variable. Use double quotes for separated values.
  564. <p>The variables &lsquo;<samp><span class="samp">netget</span></samp>&rsquo; and &lsquo;<samp><span class="samp">rsync</span></samp>&rsquo; can be defined in
  565. <samp><span class="file">qirc</span></samp> to establish a network downloader in order to get the
  566. sources. If they are not defined, qi uses default values:
  567. <p>&lsquo;<samp><span class="samp">netget</span></samp>&rsquo; is the general network downloader tool for use, and
  568. defaults to &lsquo;<samp><span class="samp">wget -c -w1 -t3 --no-check-certificate</span></samp>&rsquo;.
  569. <p>&lsquo;<samp><span class="samp">rsync</span></samp>&rsquo; is the network tool for sources containing the prefix for
  570. the RSYNC protocol, and defaults to
  571. &lsquo;<samp><span class="samp">rsync -v -a -L -z -i --progress</span></samp>&rsquo;.
  572. <p class="noindent">There are three important variables to produce meta information of the
  573. package: &lsquo;<samp><span class="samp">description</span></samp>&rsquo;, &lsquo;<samp><span class="samp">homepage</span></samp>&rsquo;, &lsquo;<samp><span class="samp">license</span></samp>&rsquo;.
  574. <p>The variable &lsquo;<samp><span class="samp">description</span></samp>&rsquo; is special to write the description of the
  575. package, which will be shown when installed.
  576. <p>A description has two parts: a brief description and a long
  577. description. By convention, the syntax of a description is:
  578. <pre class="example"> description="
  579. Brief description.
  580. Long description.
  581. "
  582. </pre>
  583. <p class="noindent">The first (substantial) line of the value is a brief description of the
  584. software (called the "blurb"). A new (blank) line is followed to
  585. separate the brief description from the long description.
  586. <p>An example looks like:
  587. <pre class="example"> description="
  588. A source builder and a package manager.
  589. Qi is a source builder and a package manager. It contains a set of
  590. tools to build, install, remove, and upgrade software packages.
  591. Qi follows the philosophy of the simplicity without adding too many
  592. features, such as those that can be found in popular package managers.
  593. Basically it does two things: builds packages and manages them.
  594. "
  595. </pre>
  596. <ul>
  597. <li>Consider a length limit of 78 characters as maximum.
  598. See <a href="#Recipes">The meta file</a>.
  599. </ul>
  600. <p class="noindent">The &lsquo;<samp><span class="samp">homepage</span></samp>&rsquo; variable is used simply to declare the main site or
  601. home of the source, thus:
  602. <pre class="example"> homepage=http://www.dragora.org
  603. </pre>
  604. <p class="noindent">The variable &lsquo;<samp><span class="samp">license</span></samp>&rsquo; is used for license information<a rel="footnote" href="#fn-2" name="fnd-2"><sup>2</sup></a>.
  605. Some code in the program can be covered by license A, license B, or
  606. license C. For "separate licensing" or "heterogeneous licensing",
  607. we suggest using <strong>|</strong> for a disjunction, <strong>&amp;</strong> for a
  608. conjunction (if that ever happens in a significant way), and comma
  609. for heterogeneous licensing. Comma would have lower precedence. Plus
  610. added special terms.
  611. <pre class="example"> license="LGPL, GPL | Artistic, GPL + added permission"
  612. </pre>
  613. <h4 class="subsection">5.1.2 Variables from the environment</h4>
  614. <p><a name="index-variables-from-the-environment-14"></a>
  615. The variables <samp><span class="env">QICFLAGS</span></samp>, <samp><span class="env">QICXXFLAGS</span></samp>, and <samp><span class="env">QILDFLAGS</span></samp> have
  616. no effect by default. The environment variables such as <samp><span class="env">CFLAGS</span></samp>,
  617. <samp><span class="env">CXXFLAGS</span></samp>, and <samp><span class="env">LDFLAGS</span></samp> are unset at compile time.
  618. <p>Recommended practices is to set variables in front of &lsquo;<samp><span class="samp">configure</span></samp>&rsquo;
  619. or in front of <em>make(1)</em> instead of exporting to the environment.
  620. As follows:
  621. <blockquote>
  622. Variables not defined in a site shell script can be set in the
  623. environment passed to configure. However, some packages may run
  624. configure again during the build, and the customized values of these
  625. variables may be lost. In order to avoid this problem, you should set
  626. them in the configure command line, using &lsquo;<samp><span class="samp">VAR=value</span></samp>&rsquo;. For
  627. example:
  628. <p><code>./configure CC=/usr/local2/bin/gcc</code>
  629. <p><a href="http://gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Defining-Variables.html">http://gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Defining-Variables.html</a>
  630. </blockquote>
  631. <blockquote>
  632. Indeed, while configure can notice the definition of CC in &lsquo;<samp><span class="samp">./configure
  633. CC=bizarre-cc</span></samp>&rsquo;, it is impossible to notice it in &lsquo;<samp><span class="samp">CC=bizarre-cc
  634. ./configure</span></samp>&rsquo;, which, unfortunately, is what most users do.
  635. <p>[...]
  636. <p>configure: error: changes in the environment can compromise the build.
  637. <p><a href="http://gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Setting-Output-Variables.html">http://gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Setting-Output-Variables.html</a>
  638. </blockquote>
  639. <blockquote>
  640. It is not wise for makefiles to depend for their functioning on
  641. environment variables set up outside their control, since this would
  642. cause different users to get different results from the same makefile.
  643. This is against the whole purpose of most makefiles.
  644. <p><a href="http://gnu.org/software/make/manual/make.html#Environment">http://gnu.org/software/make/manual/make.html#Environment</a>
  645. </blockquote>
  646. <h3 class="section">5.2 The meta file</h3>
  647. <p><a name="index-the-meta-file-15"></a>
  648. The "meta file" is an external file created by <samp><span class="command">pkgbuild</span></samp> when
  649. a recipe is processed and when a package is produced. The file is
  650. generated as &lsquo;<samp><span class="samp">${full_pkgname}.tlz.txt</span></samp>&rsquo; which contains
  651. information about the package such as &lsquo;<samp><span class="samp">program</span></samp>&rsquo;, &lsquo;<samp><span class="samp">version</span></samp>&rsquo;,
  652. &lsquo;<samp><span class="samp">release</span></samp>&rsquo;. Also definitions of the special variables
  653. &lsquo;<samp><span class="samp">fetch</span></samp>&rsquo;, &lsquo;<samp><span class="samp">description</span></samp>&rsquo;, &lsquo;<samp><span class="samp">homepage</span></samp>&rsquo;, &lsquo;<samp><span class="samp">license</span></samp>&rsquo;.
  654. <p>A meta file has the purpose to extract information and the purpose to
  655. reflect essential information to the user without having to check
  656. inside the package itself.
  657. <p>The meta file is basically composed as:
  658. <pre class="example"> # Description
  659. variable=value
  660. ...
  661. </pre>
  662. <p class="noindent">The description is extracted from the declared variable
  663. &lsquo;<samp><span class="samp">description</span></samp>&rsquo;, where each line is interpreted literally and where
  664. the description is pre-formatted to fit in (exactly) 80 columns. Plus
  665. &lsquo;<samp><span class="samp"># </span></samp>&rsquo; is prepend to each line.
  666. <p>Followed by new line, the rest is composed by variables; the inclusion
  667. of its values, may vary. For example, in addition to the special
  668. variables, there are implicit variables such as &lsquo;<samp><span class="samp">blurb</span></samp>&rsquo;,
  669. &lsquo;<samp><span class="samp">depends</span></samp>&rsquo;.
  670. <p>The &lsquo;<samp><span class="samp">blurb</span></samp>&rsquo; variable is related to the special variable
  671. &lsquo;<samp><span class="samp">description</span></samp>&rsquo;. Always taking the first (substantial) line
  672. or "brief description".
  673. <p>The value of &lsquo;<samp><span class="samp">depends</span></samp>&rsquo; only will be included if the
  674. <samp><span class="file">depends</span></samp> file is a regular file. See <a href="#Order-files">The depends file</a>.
  675. <p class="noindent">Now let's take a look on a real example of a meta file:
  676. <pre class="example"> # A lossless data compressor based on the LZMA algorithm.
  677. #
  678. # Clzip is a lossless data compressor with a user interface similar to
  679. # the one of gzip or bzip2. Clzip is about as fast as gzip, compresses
  680. # most files more than bzip2, and is better than both from a data
  681. # recovery perspective.
  682. #
  683. # Clzip uses the lzip file format; the files produced by clzip are fully
  684. # compatible with lzip-1.4 or newer, and can be rescued with lziprecover.
  685. #
  686. # Clzip is in fact a C language version of lzip, intended for embedded
  687. # devices or systems lacking a C++ compiler.
  688. QICFLAGS="-g0 -Os"
  689. QICXXFLAGS="-g0 -Os"
  690. QILDFLAGS="-s"
  691. program=clzip
  692. version=1.8
  693. release=1
  694. blurb="A lossless data compressor based on the LZMA algorithm."
  695. homepage="http://lzip.nongnu.org/clzip.html"
  696. license="GPLv2+"
  697. fetch="http://download.savannah.gnu.org/releases/lzip/clzip/clzip-1.8.tar.gz"
  698. depends=" "
  699. </pre>
  700. <p>Creation of the meta file is made in &lsquo;<samp><span class="samp">${outdir}</span></samp>&rsquo;.
  701. <h3 class="section">5.3 Building packages</h3>
  702. <p><a name="index-building-packages-16"></a>
  703. This sort order is particularly useful just before the actual package
  704. build, because it helps to understand how a package is being built:
  705. <ol type=1 start=1>
  706. <li>A recipe is read from the current directory, if not, it will be
  707. looked in &lsquo;<samp><span class="samp">${worktree}/recipes</span></samp>&rsquo;. Names of recipes can be
  708. invoked relative to &lsquo;<samp><span class="samp">${worktree}/recipes</span></samp>&rsquo;. The recipe must be
  709. a regular file and must be readable by the user who is running the
  710. command.
  711. <li>Checks are made when the recipe is imported (included), essential
  712. variable names cannot be empty: &lsquo;<samp><span class="samp">program</span></samp>&rsquo;, &lsquo;<samp><span class="samp">version</span></samp>&rsquo;,
  713. &lsquo;<samp><span class="samp">release</span></samp>&rsquo;. Also the main function &lsquo;<samp><span class="samp">build()</span></samp>&rsquo; must be present.
  714. <li><samp><span class="command">pkgbuild</span></samp> tries to obtain the sources remotely if it
  715. does not exist locally (&lsquo;<samp><span class="samp">${tardir}</span></samp>&rsquo;). Once the source is
  716. already in place, its timestamp is updated, creating or updating the
  717. SHA1 sum.
  718. <li>Required directories are created: &lsquo;<samp><span class="samp">${TMPDIR}/$srcdir</span></samp>&rsquo;,
  719. &lsquo;<samp><span class="samp">${outdir}</span></samp>&rsquo;, &lsquo;<samp><span class="samp">${destdir}/var/lib/qi/recipes</span></samp>&rsquo;.
  720. <li>Sane ownerships and permissions are applied to the full source
  721. directory: &lsquo;<samp><span class="samp">${TMPDIR}/$srcdir</span></samp>&rsquo;.
  722. <li>The main function &lsquo;<samp><span class="samp">build()</span></samp>&rsquo; is called. Exits immediately if
  723. a command exits with a non-zero status.
  724. <li>A package is going to be created under the following conditions:
  725. <ul>
  726. <li>If &lsquo;<samp><span class="samp">${destdir}</span></samp>&rsquo; is not empty.
  727. <li>If the option -n was not given.
  728. </ul>
  729. <p>A copy of the recipe (file) is included on
  730. &lsquo;<samp><span class="samp">${destdir}/var/lib/qi/recipes</span></samp>&rsquo; as &lsquo;<samp><span class="samp">${full_pkgname}.recipe</span></samp>&rsquo;.
  731. <p>If the <samp><span class="file">post-install</span></samp> script is in the current working directory
  732. or from where the recipe name resides, it will be added as
  733. &lsquo;<samp><span class="samp">${destdir}/var/lib/qi/post-install/${full_pkgname}.install</span></samp>&rsquo;.
  734. <p>The package is produced from the content of &lsquo;<samp><span class="samp">${destdir}</span></samp>&rsquo;. First,
  735. creating a tarball, and then compressing it using the maximum level of
  736. compression of <em>lzip(1)</em>.
  737. <li>By default, directories like &lsquo;<samp><span class="samp">${TMPDIR}/$srcdir</span></samp>&rsquo; and
  738. &lsquo;<samp><span class="samp">${destdir}</span></samp>&rsquo; are deleted.
  739. <li>If the option -U is given, <samp><span class="command">pkgupgrade</span></samp> is invoked to
  740. install or upgrade the package.
  741. </ol>
  742. <p class="noindent"><em>Usage:</em> pkgbuild [-hiknU] [-a &lt;ARCH&gt;] [-j &lt;JOBS&gt;] [-o &lt;DIR&gt;] [recipe ...]
  743. <p>To build a single package, simply type:
  744. <pre class="example"> pkgbuild clzip.recipe
  745. </pre>
  746. <p>Compile passing parallel jobs to the compiler for speed up the process:
  747. <pre class="example"> pkgbuild -j4 clzip.recipe
  748. </pre>
  749. <p>To build and install or upgrade multiple packages at once:
  750. <pre class="example"> pkgbuild -U clzip.recipe zutils.recipe matias.recipe
  751. </pre>
  752. <p>Reading recipes and building from the output of a command:
  753. <pre class="example"> cat depends | pkgbuild -
  754. </pre>
  755. <p>Incrementing the release number after a significant change in a recipe:
  756. <pre class="example"> pkgbuild -i stargazer.recipe
  757. </pre>
  758. <p class="noindent">If the recipe name cannot be read from the current directory or from
  759. a specific path name, &lsquo;<samp><span class="samp">${worktree}/recipes</span></samp>&rsquo; is used for the
  760. search:
  761. <p>There is a special case for the names of recipes &lsquo;<samp><span class="samp">recipe</span></samp>&rsquo;.
  762. <samp><span class="command">pkgbuild</span></samp> can complete the recipe name without being required
  763. to be specified in the command-line, only if the name of the recipe is
  764. &lsquo;<samp><span class="samp">recipe</span></samp>&rsquo;. For example:
  765. <pre class="example"> pkgbuild devel/gcc
  766. </pre>
  767. <p>Will complete the search as &lsquo;<samp><span class="samp">${worktree}/recipes/devel/gcc/recipe</span></samp>&rsquo;.
  768. <h3 class="section">5.4 Writing recipes</h3>
  769. <p><a name="index-writing-recipes-17"></a>
  770. <h4 class="subsection">5.4.1 Internal functions</h4>
  771. <p><a name="index-internal-functions-18"></a>
  772. Some internal functions are available to be applied on the recipe:
  773. <dl>
  774. <dt>&lsquo;<samp><span class="samp">unpack()</span></samp>&rsquo;<dd>The unpack function can decompress multiple (compressed) files while
  775. verifies the integrity. Depending on where the function is called,
  776. the decompression occurs in the current working directory.
  777. <p>Usage: <code>unpack file(s) ...</code>
  778. <p>The cases supported for the special extensions are: *.tar, *.tar.*,
  779. *.tgz*, *.tbz*, *.tlz*, *.txz*, *.zip, *.ZIP, *.gz, *.bz2, *.lz.
  780. </dl>
  781. <div class="node">
  782. <a name="Order-files"></a>
  783. <p><hr>
  784. Next:&nbsp;<a rel="next" accesskey="n" href="#Examine-packages">Examine packages</a>,
  785. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Recipes">Recipes</a>,
  786. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  787. </div>
  788. <h2 class="chapter">6 Order files</h2>
  789. <p><a name="index-g_t_002eorder-files-19"></a>
  790. <samp><span class="command">pkgorder</span></samp> has the purpose to resolve the build order through
  791. .order files. In other words, is a good complement for
  792. <samp><span class="command">pkgbuild</span></samp>.
  793. <p class="noindent"><em>Usage:</em> pkgorder [-x] [file_name.order ...]
  794. <p class="noindent">Basically, <samp><span class="command">pkgorder</span></samp> reads from a declared file which ends in
  795. ".order". The output is an ordered list of recipe names which can be
  796. passed to <samp><span class="command">pkgbuild</span></samp> (via a pipe) to build a number or a series
  797. of packages.
  798. <p><span class="sc">Declaration</span>
  799. <p>If 'a' depends on 'b' and 'c', and 'c' depends on 'b' as well, the file
  800. might look like:
  801. <pre class="example"> a.recipe: c.recipe b.recipe
  802. b.recipe:
  803. c.recipe: b.recipe
  804. </pre>
  805. <p>Each letter represents a recipe name, complete dependencies for
  806. the first recipe name are listed in descending order, which is
  807. printed from right to left, and removed from left to right:
  808. <p><span class="sc">Output</span>
  809. <pre class="example"> b.recipe
  810. c.recipe
  811. a.recipe
  812. </pre>
  813. <ul>
  814. <li>Commented lines starting with a '#' are allowed. Blank lines,
  815. colons, parentheses, and end of line are removed.
  816. </ul>
  817. <h3 class="section">6.1 The depends file</h3>
  818. <p><a name="index-the-depends-file-20"></a>
  819. When <samp><span class="command">pkgorder</span></samp> read from an order file; by default, it will
  820. proceed to read the dependencies of each recipe. This behavior can be
  821. omitted if the -x option is given.
  822. <p>The procedure for reading the dependencies of each recipe is
  823. extracting the directory location where the order file resides. Then
  824. it iterates over the declared items extracting its location in search
  825. of the special file <samp><span class="file">depends</span></samp>.
  826. <ul>
  827. <li>The <samp><span class="file">depends</span></samp> file only is read (sequentially) if it is
  828. a regular file and is not empty.
  829. </ul>
  830. <p class="noindent">The special file <samp><span class="file">depends</span></samp> must contain a list of prerequisites
  831. for the recipe. Prerequisites are names of valid recipes, including
  832. its location. The location must be relative to &lsquo;<samp><span class="samp">${worktree}</span></samp>&rsquo;
  833. (variable described in <a href="#Recipes">Recipes</a>).
  834. <p>Example of a <samp><span class="file">depends</span></samp> file declared for <em>bash.recipe</em>:
  835. <pre class="example"> libs/readline/readline.recipe
  836. </pre>
  837. <p>Then, if <em>core/bash/bash.recipe</em> has been declared on
  838. <em>core.order</em>, the output would be:
  839. <pre class="example"> ...
  840. libs/readline/readline.recipe
  841. core/bash/bash.recipe
  842. ...
  843. </pre>
  844. <p>Combined in a pipe, <em>readline</em> represents the first dependency
  845. of <em>bash</em>:
  846. <pre class="example"> <code>pkgorder core.order | pkgbuild -U -</code>
  847. </pre>
  848. <div class="node">
  849. <a name="Examine-packages"></a>
  850. <p><hr>
  851. Next:&nbsp;<a rel="next" accesskey="n" href="#Messages">Messages</a>,
  852. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Order-files">Order files</a>,
  853. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  854. </div>
  855. <h2 class="chapter">7 Examine packages</h2>
  856. <p><a name="index-examine-packages-21"></a>
  857. <samp><span class="command">pkgerupt</span></samp> is a special command to examine packages for
  858. debugging purposes.
  859. <p class="noindent"><em>Usage:</em> pkgerupt [-h] [package.tlz ...]
  860. <p>When a package name is given <samp><span class="command">pkgerupt</span></samp> will create a random
  861. directory for the package. The prefix directory where the random
  862. directory is created is controlled by the <samp><span class="env">TMPDIR</span></samp> variable,
  863. by default <samp><span class="env">TMPDIR</span></samp> is assigned to <em>/tmp</em>. Creation mode
  864. is "u=,g=rwx,o=rwx" (0700).
  865. <p>The extraction to inspecting a package is equivalent to the shell
  866. instruction:
  867. <pre class="example"> <code>( umask 000 &amp;&amp; cd -- $PRVDIR &amp;&amp; lzip -cd - | tar -xf - ) &lt; $file</code>
  868. </pre>
  869. <p>The package content is decompressed in the random (private) directory
  870. via pipe. Creation mode is "u=rwx,g=rwx,o=rwx" (0777).
  871. <p>If there is any substantial change, consider increasing the build
  872. number when repackaging: edit the value of the &lsquo;<samp><span class="samp">release</span></samp>&rsquo; variable
  873. (recipe), compose the output file using the new number.
  874. <div class="node">
  875. <a name="Messages"></a>
  876. <p><hr>
  877. Next:&nbsp;<a rel="next" accesskey="n" href="#Exit-status">Exit status</a>,
  878. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Examine-packages">Examine packages</a>,
  879. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  880. </div>
  881. <h2 class="chapter">8 Messages</h2>
  882. <p><a name="index-output-messages-22"></a>
  883. Some symbols are used for output messages to help to identify
  884. the messages shown by the tools in Qi. There are four simple
  885. categories where the symbols are represented:
  886. <pre class="sp">
  887. </pre>
  888. <strong>Specifics</strong>
  889. <p>This symbols are unique to identify the running tool:
  890. <dl>
  891. <dt>&lsquo;<samp><span class="samp">+</span></samp>&rsquo;<dd>This symbol belongs to the <samp><span class="command">pkgadd</span></samp> tool.
  892. <br><dt>&lsquo;<samp><span class="samp">-</span></samp>&rsquo;<dd>This symbol belongs to the <samp><span class="command">pkgremove</span></samp> tool.
  893. <br><dt>&lsquo;<samp><span class="samp">~</span></samp>&rsquo;<dd>This symbol belongs to the <samp><span class="command">pkgupgrade</span></samp> tool.
  894. <br><dt>&lsquo;<samp><span class="samp">#</span></samp>&rsquo;<dd>This symbol belongs to the <samp><span class="command">pkgbuild</span></samp> tool.
  895. <br><dt>&lsquo;<samp><span class="samp">=</span></samp>&rsquo;<dd>This symbol belongs to the <samp><span class="command">pkgerupt</span></samp> tool.
  896. <br><dt>&lsquo;<samp><span class="samp">%</span></samp>&rsquo;<dd>This symbol is used to scan a package or to warn when
  897. the option is used.
  898. <p>Specific symbols are enclosed between &lsquo;<samp><span class="samp">( )</span></samp>&rsquo;.
  899. </dl>
  900. <dl>
  901. <strong>Preventive</strong>
  902. <p>Preventive symbols are intended to alert the user about unforeseen
  903. or important situations, and to meet requirements before proceeding:
  904. <dt>&lsquo;<samp><span class="samp">*</span></samp>&rsquo;<dd>Normally used for testing compressed sources, obtain remote sources,
  905. or set system permissions.
  906. <p>Preventive symbols are enclosed between &lsquo;<samp><span class="samp">[ ]</span></samp>&rsquo;.
  907. </dl>
  908. <dl>
  909. <strong>Informative</strong>
  910. <p>Informative symbols are intended to inform users the most essential
  911. tasks during the execution:
  912. <dt>&lsquo;<samp><span class="samp">i</span></samp>&rsquo;<dd>Symbol used when a task is going to be performed or when a task has
  913. been completed.
  914. <br><dt>&lsquo;<samp><span class="samp">!</span></samp>&rsquo;<dd>This symbol informs about deleting files.
  915. <p>Informative symbols are enclosed between &lsquo;<samp><span class="samp">[ ]</span></samp>&rsquo;.
  916. </dl>
  917. <p><strong>Transitory</strong>
  918. <p>Transitory symbols are part for occasional changes (&lsquo;<samp><span class="samp">@</span></samp>&rsquo;) but no
  919. less important. Also to invoke Qi tools externally (&lsquo;<samp><span class="samp">^</span></samp>&rsquo;).
  920. <p>Transitory symbols are enclosed between &lsquo;<samp><span class="samp">{ }</span></samp>&rsquo;.
  921. <div class="node">
  922. <a name="Exit-status"></a>
  923. <p><hr>
  924. Next:&nbsp;<a rel="next" accesskey="n" href="#GNU-Free-Documentation-License">GNU Free Documentation License</a>,
  925. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Messages">Messages</a>,
  926. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  927. </div>
  928. <h2 class="chapter">9 Exit status</h2>
  929. <p><a name="index-exit-codes-23"></a>
  930. All the conditions of exit codes are described in this chapter.
  931. <dl>
  932. <dt>&lsquo;<samp><span class="samp">0</span></samp>&rsquo;<dd>Successful completion (no errors).
  933. <br><dt>&lsquo;<samp><span class="samp">1</span></samp>&rsquo;<dd><strong>Minor common errors:</strong>
  934. <ul>
  935. <li>Illegal option.
  936. <li>Option requires an argument.
  937. <li>Internal function to load not found.
  938. <li>Program (prerequisite) is not available.
  939. </ul>
  940. <br><dt>&lsquo;<samp><span class="samp">2</span></samp>&rsquo;<dd><strong>Command execution error</strong>
  941. <p>Evaluation of external commands or shell arguments. If it fails,
  942. returns 2.
  943. <br><dt>&lsquo;<samp><span class="samp">3</span></samp>&rsquo;<dd><strong>Integrity check error for compressed files</strong>
  944. <p>Compressed files means:
  945. <ul>
  946. <li>All the tarballs supported by <em>tar(1)</em>.
  947. <li>Zip files supported by <em>unzip(1)</em>.
  948. <li>Gzip files supported by <em>gzip(1)</em>.
  949. <li>Bzip2 files supported by <em>bzip2(1)</em>.
  950. <li>Lzip files supported by <em>lzip(1)</em>.
  951. </ul>
  952. <br><dt>&lsquo;<samp><span class="samp">4</span></samp>&rsquo;<dd><strong>File empty, not regular, or expected</strong>
  953. <p>Commonly, it is expected:
  954. <ul>
  955. <li>A binary package (.tlz).
  956. <li>An installed package to remove.
  957. <li>A recipe file.
  958. <li>A file of order (.order).
  959. </ul>
  960. <br><dt>&lsquo;<samp><span class="samp">5</span></samp>&rsquo;<dd><strong>Empty or not defined variable</strong>
  961. <p>This exit code is used for reporting about empty or undefined variables.
  962. Usually, variables of the recipe or assigned arrays that are tested.
  963. <br><dt>&lsquo;<samp><span class="samp">6</span></samp>&rsquo;<dd><strong>Package already installed</strong>
  964. <p>The package directory for an incoming package already exists.
  965. <br><dt>&lsquo;<samp><span class="samp">10</span></samp>&rsquo;<dd><strong>Network manager error</strong>
  966. <p>Exit status from the execution of the network manager tool and its
  967. arguments.
  968. </dl>
  969. <p class="noindent"><p><table class="cartouche" summary="cartouche" border="1"><tr><td>
  970. Error messages are reported to the standard error.
  971. </td></tr></table>
  972. <div class="node">
  973. <a name="GNU-Free-Documentation-License"></a>
  974. <p><hr>
  975. Next:&nbsp;<a rel="next" accesskey="n" href="#Index">Index</a>,
  976. Previous:&nbsp;<a rel="previous" accesskey="p" href="#Exit-status">Exit status</a>,
  977. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  978. </div>
  979. <h2 class="appendix">Appendix A GNU Free Documentation License</h2>
  980. <!-- The GNU Free Documentation License. -->
  981. <div align="center">Version 1.3, 3 November 2008</div>
  982. <!-- This file is intended to be included within another document, -->
  983. <!-- hence no sectioning command or @node. -->
  984. <pre class="display"> Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
  985. <a href="http://fsf.org/">http://fsf.org/</a>
  986. Everyone is permitted to copy and distribute verbatim copies
  987. of this license document, but changing it is not allowed.
  988. </pre>
  989. <ol type=1 start=0>
  990. <li>PREAMBLE
  991. <p>The purpose of this License is to make a manual, textbook, or other
  992. functional and useful document <dfn>free</dfn> in the sense of freedom: to
  993. assure everyone the effective freedom to copy and redistribute it,
  994. with or without modifying it, either commercially or noncommercially.
  995. Secondarily, this License preserves for the author and publisher a way
  996. to get credit for their work, while not being considered responsible
  997. for modifications made by others.
  998. <p>This License is a kind of &ldquo;copyleft&rdquo;, which means that derivative
  999. works of the document must themselves be free in the same sense. It
  1000. complements the GNU General Public License, which is a copyleft
  1001. license designed for free software.
  1002. <p>We have designed this License in order to use it for manuals for free
  1003. software, because free software needs free documentation: a free
  1004. program should come with manuals providing the same freedoms that the
  1005. software does. But this License is not limited to software manuals;
  1006. it can be used for any textual work, regardless of subject matter or
  1007. whether it is published as a printed book. We recommend this License
  1008. principally for works whose purpose is instruction or reference.
  1009. <li>APPLICABILITY AND DEFINITIONS
  1010. <p>This License applies to any manual or other work, in any medium, that
  1011. contains a notice placed by the copyright holder saying it can be
  1012. distributed under the terms of this License. Such a notice grants a
  1013. world-wide, royalty-free license, unlimited in duration, to use that
  1014. work under the conditions stated herein. The &ldquo;Document&rdquo;, below,
  1015. refers to any such manual or work. Any member of the public is a
  1016. licensee, and is addressed as &ldquo;you&rdquo;. You accept the license if you
  1017. copy, modify or distribute the work in a way requiring permission
  1018. under copyright law.
  1019. <p>A &ldquo;Modified Version&rdquo; of the Document means any work containing the
  1020. Document or a portion of it, either copied verbatim, or with
  1021. modifications and/or translated into another language.
  1022. <p>A &ldquo;Secondary Section&rdquo; is a named appendix or a front-matter section
  1023. of the Document that deals exclusively with the relationship of the
  1024. publishers or authors of the Document to the Document's overall
  1025. subject (or to related matters) and contains nothing that could fall
  1026. directly within that overall subject. (Thus, if the Document is in
  1027. part a textbook of mathematics, a Secondary Section may not explain
  1028. any mathematics.) The relationship could be a matter of historical
  1029. connection with the subject or with related matters, or of legal,
  1030. commercial, philosophical, ethical or political position regarding
  1031. them.
  1032. <p>The &ldquo;Invariant Sections&rdquo; are certain Secondary Sections whose titles
  1033. are designated, as being those of Invariant Sections, in the notice
  1034. that says that the Document is released under this License. If a
  1035. section does not fit the above definition of Secondary then it is not
  1036. allowed to be designated as Invariant. The Document may contain zero
  1037. Invariant Sections. If the Document does not identify any Invariant
  1038. Sections then there are none.
  1039. <p>The &ldquo;Cover Texts&rdquo; are certain short passages of text that are listed,
  1040. as Front-Cover Texts or Back-Cover Texts, in the notice that says that
  1041. the Document is released under this License. A Front-Cover Text may
  1042. be at most 5 words, and a Back-Cover Text may be at most 25 words.
  1043. <p>A &ldquo;Transparent&rdquo; copy of the Document means a machine-readable copy,
  1044. represented in a format whose specification is available to the
  1045. general public, that is suitable for revising the document
  1046. straightforwardly with generic text editors or (for images composed of
  1047. pixels) generic paint programs or (for drawings) some widely available
  1048. drawing editor, and that is suitable for input to text formatters or
  1049. for automatic translation to a variety of formats suitable for input
  1050. to text formatters. A copy made in an otherwise Transparent file
  1051. format whose markup, or absence of markup, has been arranged to thwart
  1052. or discourage subsequent modification by readers is not Transparent.
  1053. An image format is not Transparent if used for any substantial amount
  1054. of text. A copy that is not &ldquo;Transparent&rdquo; is called &ldquo;Opaque&rdquo;.
  1055. <p>Examples of suitable formats for Transparent copies include plain
  1056. ASCII without markup, Texinfo input format, LaTeX input
  1057. format, SGML or XML using a publicly available
  1058. DTD, and standard-conforming simple HTML,
  1059. PostScript or PDF designed for human modification. Examples
  1060. of transparent image formats include PNG, XCF and
  1061. JPG. Opaque formats include proprietary formats that can be
  1062. read and edited only by proprietary word processors, SGML or
  1063. XML for which the DTD and/or processing tools are
  1064. not generally available, and the machine-generated HTML,
  1065. PostScript or PDF produced by some word processors for
  1066. output purposes only.
  1067. <p>The &ldquo;Title Page&rdquo; means, for a printed book, the title page itself,
  1068. plus such following pages as are needed to hold, legibly, the material
  1069. this License requires to appear in the title page. For works in
  1070. formats which do not have any title page as such, &ldquo;Title Page&rdquo; means
  1071. the text near the most prominent appearance of the work's title,
  1072. preceding the beginning of the body of the text.
  1073. <p>The &ldquo;publisher&rdquo; means any person or entity that distributes copies
  1074. of the Document to the public.
  1075. <p>A section &ldquo;Entitled XYZ&rdquo; means a named subunit of the Document whose
  1076. title either is precisely XYZ or contains XYZ in parentheses following
  1077. text that translates XYZ in another language. (Here XYZ stands for a
  1078. specific section name mentioned below, such as &ldquo;Acknowledgements&rdquo;,
  1079. &ldquo;Dedications&rdquo;, &ldquo;Endorsements&rdquo;, or &ldquo;History&rdquo;.) To &ldquo;Preserve the Title&rdquo;
  1080. of such a section when you modify the Document means that it remains a
  1081. section &ldquo;Entitled XYZ&rdquo; according to this definition.
  1082. <p>The Document may include Warranty Disclaimers next to the notice which
  1083. states that this License applies to the Document. These Warranty
  1084. Disclaimers are considered to be included by reference in this
  1085. License, but only as regards disclaiming warranties: any other
  1086. implication that these Warranty Disclaimers may have is void and has
  1087. no effect on the meaning of this License.
  1088. <li>VERBATIM COPYING
  1089. <p>You may copy and distribute the Document in any medium, either
  1090. commercially or noncommercially, provided that this License, the
  1091. copyright notices, and the license notice saying this License applies
  1092. to the Document are reproduced in all copies, and that you add no other
  1093. conditions whatsoever to those of this License. You may not use
  1094. technical measures to obstruct or control the reading or further
  1095. copying of the copies you make or distribute. However, you may accept
  1096. compensation in exchange for copies. If you distribute a large enough
  1097. number of copies you must also follow the conditions in section 3.
  1098. <p>You may also lend copies, under the same conditions stated above, and
  1099. you may publicly display copies.
  1100. <li>COPYING IN QUANTITY
  1101. <p>If you publish printed copies (or copies in media that commonly have
  1102. printed covers) of the Document, numbering more than 100, and the
  1103. Document's license notice requires Cover Texts, you must enclose the
  1104. copies in covers that carry, clearly and legibly, all these Cover
  1105. Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
  1106. the back cover. Both covers must also clearly and legibly identify
  1107. you as the publisher of these copies. The front cover must present
  1108. the full title with all words of the title equally prominent and
  1109. visible. You may add other material on the covers in addition.
  1110. Copying with changes limited to the covers, as long as they preserve
  1111. the title of the Document and satisfy these conditions, can be treated
  1112. as verbatim copying in other respects.
  1113. <p>If the required texts for either cover are too voluminous to fit
  1114. legibly, you should put the first ones listed (as many as fit
  1115. reasonably) on the actual cover, and continue the rest onto adjacent
  1116. pages.
  1117. <p>If you publish or distribute Opaque copies of the Document numbering
  1118. more than 100, you must either include a machine-readable Transparent
  1119. copy along with each Opaque copy, or state in or with each Opaque copy
  1120. a computer-network location from which the general network-using
  1121. public has access to download using public-standard network protocols
  1122. a complete Transparent copy of the Document, free of added material.
  1123. If you use the latter option, you must take reasonably prudent steps,
  1124. when you begin distribution of Opaque copies in quantity, to ensure
  1125. that this Transparent copy will remain thus accessible at the stated
  1126. location until at least one year after the last time you distribute an
  1127. Opaque copy (directly or through your agents or retailers) of that
  1128. edition to the public.
  1129. <p>It is requested, but not required, that you contact the authors of the
  1130. Document well before redistributing any large number of copies, to give
  1131. them a chance to provide you with an updated version of the Document.
  1132. <li>MODIFICATIONS
  1133. <p>You may copy and distribute a Modified Version of the Document under
  1134. the conditions of sections 2 and 3 above, provided that you release
  1135. the Modified Version under precisely this License, with the Modified
  1136. Version filling the role of the Document, thus licensing distribution
  1137. and modification of the Modified Version to whoever possesses a copy
  1138. of it. In addition, you must do these things in the Modified Version:
  1139. <ol type=A start=1>
  1140. <li>Use in the Title Page (and on the covers, if any) a title distinct
  1141. from that of the Document, and from those of previous versions
  1142. (which should, if there were any, be listed in the History section
  1143. of the Document). You may use the same title as a previous version
  1144. if the original publisher of that version gives permission.
  1145. <li>List on the Title Page, as authors, one or more persons or entities
  1146. responsible for authorship of the modifications in the Modified
  1147. Version, together with at least five of the principal authors of the
  1148. Document (all of its principal authors, if it has fewer than five),
  1149. unless they release you from this requirement.
  1150. <li>State on the Title page the name of the publisher of the
  1151. Modified Version, as the publisher.
  1152. <li>Preserve all the copyright notices of the Document.
  1153. <li>Add an appropriate copyright notice for your modifications
  1154. adjacent to the other copyright notices.
  1155. <li>Include, immediately after the copyright notices, a license notice
  1156. giving the public permission to use the Modified Version under the
  1157. terms of this License, in the form shown in the Addendum below.
  1158. <li>Preserve in that license notice the full lists of Invariant Sections
  1159. and required Cover Texts given in the Document's license notice.
  1160. <li>Include an unaltered copy of this License.
  1161. <li>Preserve the section Entitled &ldquo;History&rdquo;, Preserve its Title, and add
  1162. to it an item stating at least the title, year, new authors, and
  1163. publisher of the Modified Version as given on the Title Page. If
  1164. there is no section Entitled &ldquo;History&rdquo; in the Document, create one
  1165. stating the title, year, authors, and publisher of the Document as
  1166. given on its Title Page, then add an item describing the Modified
  1167. Version as stated in the previous sentence.
  1168. <li>Preserve the network location, if any, given in the Document for
  1169. public access to a Transparent copy of the Document, and likewise
  1170. the network locations given in the Document for previous versions
  1171. it was based on. These may be placed in the &ldquo;History&rdquo; section.
  1172. You may omit a network location for a work that was published at
  1173. least four years before the Document itself, or if the original
  1174. publisher of the version it refers to gives permission.
  1175. <li>For any section Entitled &ldquo;Acknowledgements&rdquo; or &ldquo;Dedications&rdquo;, Preserve
  1176. the Title of the section, and preserve in the section all the
  1177. substance and tone of each of the contributor acknowledgements and/or
  1178. dedications given therein.
  1179. <li>Preserve all the Invariant Sections of the Document,
  1180. unaltered in their text and in their titles. Section numbers
  1181. or the equivalent are not considered part of the section titles.
  1182. <li>Delete any section Entitled &ldquo;Endorsements&rdquo;. Such a section
  1183. may not be included in the Modified Version.
  1184. <li>Do not retitle any existing section to be Entitled &ldquo;Endorsements&rdquo; or
  1185. to conflict in title with any Invariant Section.
  1186. <li>Preserve any Warranty Disclaimers.
  1187. </ol>
  1188. <p>If the Modified Version includes new front-matter sections or
  1189. appendices that qualify as Secondary Sections and contain no material
  1190. copied from the Document, you may at your option designate some or all
  1191. of these sections as invariant. To do this, add their titles to the
  1192. list of Invariant Sections in the Modified Version's license notice.
  1193. These titles must be distinct from any other section titles.
  1194. <p>You may add a section Entitled &ldquo;Endorsements&rdquo;, provided it contains
  1195. nothing but endorsements of your Modified Version by various
  1196. parties&mdash;for example, statements of peer review or that the text has
  1197. been approved by an organization as the authoritative definition of a
  1198. standard.
  1199. <p>You may add a passage of up to five words as a Front-Cover Text, and a
  1200. passage of up to 25 words as a Back-Cover Text, to the end of the list
  1201. of Cover Texts in the Modified Version. Only one passage of
  1202. Front-Cover Text and one of Back-Cover Text may be added by (or
  1203. through arrangements made by) any one entity. If the Document already
  1204. includes a cover text for the same cover, previously added by you or
  1205. by arrangement made by the same entity you are acting on behalf of,
  1206. you may not add another; but you may replace the old one, on explicit
  1207. permission from the previous publisher that added the old one.
  1208. <p>The author(s) and publisher(s) of the Document do not by this License
  1209. give permission to use their names for publicity for or to assert or
  1210. imply endorsement of any Modified Version.
  1211. <li>COMBINING DOCUMENTS
  1212. <p>You may combine the Document with other documents released under this
  1213. License, under the terms defined in section 4 above for modified
  1214. versions, provided that you include in the combination all of the
  1215. Invariant Sections of all of the original documents, unmodified, and
  1216. list them all as Invariant Sections of your combined work in its
  1217. license notice, and that you preserve all their Warranty Disclaimers.
  1218. <p>The combined work need only contain one copy of this License, and
  1219. multiple identical Invariant Sections may be replaced with a single
  1220. copy. If there are multiple Invariant Sections with the same name but
  1221. different contents, make the title of each such section unique by
  1222. adding at the end of it, in parentheses, the name of the original
  1223. author or publisher of that section if known, or else a unique number.
  1224. Make the same adjustment to the section titles in the list of
  1225. Invariant Sections in the license notice of the combined work.
  1226. <p>In the combination, you must combine any sections Entitled &ldquo;History&rdquo;
  1227. in the various original documents, forming one section Entitled
  1228. &ldquo;History&rdquo;; likewise combine any sections Entitled &ldquo;Acknowledgements&rdquo;,
  1229. and any sections Entitled &ldquo;Dedications&rdquo;. You must delete all
  1230. sections Entitled &ldquo;Endorsements.&rdquo;
  1231. <li>COLLECTIONS OF DOCUMENTS
  1232. <p>You may make a collection consisting of the Document and other documents
  1233. released under this License, and replace the individual copies of this
  1234. License in the various documents with a single copy that is included in
  1235. the collection, provided that you follow the rules of this License for
  1236. verbatim copying of each of the documents in all other respects.
  1237. <p>You may extract a single document from such a collection, and distribute
  1238. it individually under this License, provided you insert a copy of this
  1239. License into the extracted document, and follow this License in all
  1240. other respects regarding verbatim copying of that document.
  1241. <li>AGGREGATION WITH INDEPENDENT WORKS
  1242. <p>A compilation of the Document or its derivatives with other separate
  1243. and independent documents or works, in or on a volume of a storage or
  1244. distribution medium, is called an &ldquo;aggregate&rdquo; if the copyright
  1245. resulting from the compilation is not used to limit the legal rights
  1246. of the compilation's users beyond what the individual works permit.
  1247. When the Document is included in an aggregate, this License does not
  1248. apply to the other works in the aggregate which are not themselves
  1249. derivative works of the Document.
  1250. <p>If the Cover Text requirement of section 3 is applicable to these
  1251. copies of the Document, then if the Document is less than one half of
  1252. the entire aggregate, the Document's Cover Texts may be placed on
  1253. covers that bracket the Document within the aggregate, or the
  1254. electronic equivalent of covers if the Document is in electronic form.
  1255. Otherwise they must appear on printed covers that bracket the whole
  1256. aggregate.
  1257. <li>TRANSLATION
  1258. <p>Translation is considered a kind of modification, so you may
  1259. distribute translations of the Document under the terms of section 4.
  1260. Replacing Invariant Sections with translations requires special
  1261. permission from their copyright holders, but you may include
  1262. translations of some or all Invariant Sections in addition to the
  1263. original versions of these Invariant Sections. You may include a
  1264. translation of this License, and all the license notices in the
  1265. Document, and any Warranty Disclaimers, provided that you also include
  1266. the original English version of this License and the original versions
  1267. of those notices and disclaimers. In case of a disagreement between
  1268. the translation and the original version of this License or a notice
  1269. or disclaimer, the original version will prevail.
  1270. <p>If a section in the Document is Entitled &ldquo;Acknowledgements&rdquo;,
  1271. &ldquo;Dedications&rdquo;, or &ldquo;History&rdquo;, the requirement (section 4) to Preserve
  1272. its Title (section 1) will typically require changing the actual
  1273. title.
  1274. <li>TERMINATION
  1275. <p>You may not copy, modify, sublicense, or distribute the Document
  1276. except as expressly provided under this License. Any attempt
  1277. otherwise to copy, modify, sublicense, or distribute it is void, and
  1278. will automatically terminate your rights under this License.
  1279. <p>However, if you cease all violation of this License, then your license
  1280. from a particular copyright holder is reinstated (a) provisionally,
  1281. unless and until the copyright holder explicitly and finally
  1282. terminates your license, and (b) permanently, if the copyright holder
  1283. fails to notify you of the violation by some reasonable means prior to
  1284. 60 days after the cessation.
  1285. <p>Moreover, your license from a particular copyright holder is
  1286. reinstated permanently if the copyright holder notifies you of the
  1287. violation by some reasonable means, this is the first time you have
  1288. received notice of violation of this License (for any work) from that
  1289. copyright holder, and you cure the violation prior to 30 days after
  1290. your receipt of the notice.
  1291. <p>Termination of your rights under this section does not terminate the
  1292. licenses of parties who have received copies or rights from you under
  1293. this License. If your rights have been terminated and not permanently
  1294. reinstated, receipt of a copy of some or all of the same material does
  1295. not give you any rights to use it.
  1296. <li>FUTURE REVISIONS OF THIS LICENSE
  1297. <p>The Free Software Foundation may publish new, revised versions
  1298. of the GNU Free Documentation License from time to time. Such new
  1299. versions will be similar in spirit to the present version, but may
  1300. differ in detail to address new problems or concerns. See
  1301. <a href="http://www.gnu.org/copyleft/">http://www.gnu.org/copyleft/</a>.
  1302. <p>Each version of the License is given a distinguishing version number.
  1303. If the Document specifies that a particular numbered version of this
  1304. License &ldquo;or any later version&rdquo; applies to it, you have the option of
  1305. following the terms and conditions either of that specified version or
  1306. of any later version that has been published (not as a draft) by the
  1307. Free Software Foundation. If the Document does not specify a version
  1308. number of this License, you may choose any version ever published (not
  1309. as a draft) by the Free Software Foundation. If the Document
  1310. specifies that a proxy can decide which future versions of this
  1311. License can be used, that proxy's public statement of acceptance of a
  1312. version permanently authorizes you to choose that version for the
  1313. Document.
  1314. <li>RELICENSING
  1315. <p>&ldquo;Massive Multiauthor Collaboration Site&rdquo; (or &ldquo;MMC Site&rdquo;) means any
  1316. World Wide Web server that publishes copyrightable works and also
  1317. provides prominent facilities for anybody to edit those works. A
  1318. public wiki that anybody can edit is an example of such a server. A
  1319. &ldquo;Massive Multiauthor Collaboration&rdquo; (or &ldquo;MMC&rdquo;) contained in the
  1320. site means any set of copyrightable works thus published on the MMC
  1321. site.
  1322. <p>&ldquo;CC-BY-SA&rdquo; means the Creative Commons Attribution-Share Alike 3.0
  1323. license published by Creative Commons Corporation, a not-for-profit
  1324. corporation with a principal place of business in San Francisco,
  1325. California, as well as future copyleft versions of that license
  1326. published by that same organization.
  1327. <p>&ldquo;Incorporate&rdquo; means to publish or republish a Document, in whole or
  1328. in part, as part of another Document.
  1329. <p>An MMC is &ldquo;eligible for relicensing&rdquo; if it is licensed under this
  1330. License, and if all works that were first published under this License
  1331. somewhere other than this MMC, and subsequently incorporated in whole
  1332. or in part into the MMC, (1) had no cover texts or invariant sections,
  1333. and (2) were thus incorporated prior to November 1, 2008.
  1334. <p>The operator of an MMC Site may republish an MMC contained in the site
  1335. under CC-BY-SA on the same site at any time before August 1, 2009,
  1336. provided the MMC is eligible for relicensing.
  1337. </ol>
  1338. <h3 class="heading">ADDENDUM: How to use this License for your documents</h3>
  1339. <p>To use this License in a document you have written, include a copy of
  1340. the License in the document and put the following copyright and
  1341. license notices just after the title page:
  1342. <pre class="smallexample"> Copyright (C) <var>year</var> <var>your name</var>.
  1343. Permission is granted to copy, distribute and/or modify this document
  1344. under the terms of the GNU Free Documentation License, Version 1.3
  1345. or any later version published by the Free Software Foundation;
  1346. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  1347. Texts. A copy of the license is included in the section entitled ``GNU
  1348. Free Documentation License''.
  1349. </pre>
  1350. <p>If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
  1351. replace the &ldquo;with<small class="dots">...</small>Texts.&rdquo; line with this:
  1352. <pre class="smallexample"> with the Invariant Sections being <var>list their titles</var>, with
  1353. the Front-Cover Texts being <var>list</var>, and with the Back-Cover Texts
  1354. being <var>list</var>.
  1355. </pre>
  1356. <p>If you have Invariant Sections without Cover Texts, or some other
  1357. combination of the three, merge those two alternatives to suit the
  1358. situation.
  1359. <p>If your document contains nontrivial examples of program code, we
  1360. recommend releasing these examples in parallel under your choice of
  1361. free software license, such as the GNU General Public License,
  1362. to permit their use in free software.
  1363. <!-- Local Variables: -->
  1364. <!-- ispell-local-pdict: "ispell-dict" -->
  1365. <!-- End: -->
  1366. <div class="node">
  1367. <a name="Index"></a>
  1368. <p><hr>
  1369. Previous:&nbsp;<a rel="previous" accesskey="p" href="#GNU-Free-Documentation-License">GNU Free Documentation License</a>,
  1370. Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
  1371. </div>
  1372. <h2 class="unnumbered">Index</h2>
  1373. <ul class="index-cp" compact>
  1374. <li><a href="#index-g_t_002eorder-files-19">.order files</a>: <a href="#Order-files">Order files</a></li>
  1375. <li><a href="#index-adding-packages-7">adding packages</a>: <a href="#Packages">Packages</a></li>
  1376. <li><a href="#index-building-packages-16">building packages</a>: <a href="#Recipes">Recipes</a></li>
  1377. <li><a href="#index-environment-3">environment</a>: <a href="#Invocation">Invocation</a></li>
  1378. <li><a href="#index-examine-packages-21">examine packages</a>: <a href="#Examine-packages">Examine packages</a></li>
  1379. <li><a href="#index-exit-codes-23">exit codes</a>: <a href="#Exit-status">Exit status</a></li>
  1380. <li><a href="#index-internal-functions-18">internal functions</a>: <a href="#Recipes">Recipes</a></li>
  1381. <li><a href="#index-introduction-1">introduction</a>: <a href="#Introduction">Introduction</a></li>
  1382. <li><a href="#index-invocation-2">invocation</a>: <a href="#Invocation">Invocation</a></li>
  1383. <li><a href="#index-notes-10">notes</a>: <a href="#Packages">Packages</a></li>
  1384. <li><a href="#index-notes-4">notes</a>: <a href="#Invocation">Invocation</a></li>
  1385. <li><a href="#index-output-messages-22">output messages</a>: <a href="#Messages">Messages</a></li>
  1386. <li><a href="#index-packages-6">packages</a>: <a href="#Packages">Packages</a></li>
  1387. <li><a href="#index-recipes-11">recipes</a>: <a href="#Recipes">Recipes</a></li>
  1388. <li><a href="#index-removing-packages-8">removing packages</a>: <a href="#Packages">Packages</a></li>
  1389. <li><a href="#index-special-variables-13">special variables</a>: <a href="#Recipes">Recipes</a></li>
  1390. <li><a href="#index-the-depends-file-20">the depends file</a>: <a href="#Order-files">Order files</a></li>
  1391. <li><a href="#index-the-meta-file-15">the meta file</a>: <a href="#Recipes">Recipes</a></li>
  1392. <li><a href="#index-the-qirc-file-5">the qirc file</a>: <a href="#The-qirc-file">The qirc file</a></li>
  1393. <li><a href="#index-upgrading-packages-9">upgrading packages</a>: <a href="#Packages">Packages</a></li>
  1394. <li><a href="#index-variables-12">variables</a>: <a href="#Recipes">Recipes</a></li>
  1395. <li><a href="#index-variables-from-the-environment-14">variables from the environment</a>: <a href="#Recipes">Recipes</a></li>
  1396. <li><a href="#index-writing-recipes-17">writing recipes</a>: <a href="#Recipes">Recipes</a></li>
  1397. </ul><div class="footnote">
  1398. <hr>
  1399. <a name="texinfo-footnotes-in-document"></a><h4>Footnotes</h4><p class="footnote"><small>[<a name="fn-1" href="#fnd-1">1</a>]</small> The official guide
  1400. for Graft can be found at
  1401. <a href="http://peters.gormand.com.au/Home/tools/graft/graft.html">http://peters.gormand.com.au/Home/tools/graft/graft.html</a>.</p>
  1402. <p class="footnote"><small>[<a name="fn-2" href="#fnd-2">2</a>]</small>
  1403. The proposal for &lsquo;<samp><span class="samp">license</span></samp>&rsquo; was made by Richard M. Stallman at
  1404. <a href="http://lists.gnu.org/archive/html/gnu-linux-libre/2016-05/msg00003.html">http://lists.gnu.org/archive/html/gnu-linux-libre/2016-05/msg00003.html</a>.</p>
  1405. <hr></div>
  1406. </body></html>
  1407. <!--
  1408. 
  1409. Local Variables:
  1410. coding: iso-8859-1
  1411. End:
  1412. -->