Changeset View
Changeset View
Standalone View
Standalone View
en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
Show First 20 Lines • Show All 2,848 Lines • ▼ Show 20 Lines | USE_QT5= buildtools_build</programlisting> | ||||
<programlisting>USES= cmake:outsource kde:4 | <programlisting>USES= cmake:outsource kde:4 | ||||
USE_KDE= kdelibs kdeprefix automoc4 | USE_KDE= kdelibs kdeprefix automoc4 | ||||
USE_QT4= moc_build qmake_build rcc_build uic_build</programlisting> | USE_QT4= moc_build qmake_build rcc_build uic_build</programlisting> | ||||
</example> | </example> | ||||
</sect2> | </sect2> | ||||
</sect1> | </sect1> | ||||
<sect1 xml:id="using-lxqt"> | |||||
<title>Using LXQt</title> | |||||
<para>If the application depends on LXQt, set | |||||
wblock: Try to avoid if/then sentences. Occasional use is okay, but still, try to avoid. Often just… | |||||
<literal>USES+= lxqt</literal> and set <varname>USE_LXQT</varname> | |||||
Done Inline ActionsSuspect this should be "...and set <varname>USE_LXQT</varname>" wblock: Suspect this should be "...and set <varname>USE_LXQT</varname>" | |||||
to the list of required components. The most commonly | |||||
used components are listed below:</para> | |||||
Done Inline ActionsIt's probably best to explicitly say "commonly used components" to be clear about what these values are. bjk: It's probably best to explicitly say "commonly used components" to be clear about what these… | |||||
Done Inline ActionsAvoid the aside: "...below and also documented..." (and remember to remove the closing paren) (yes that's an aside, and this one too) wblock: Avoid the aside: "...below and also documented..." (and remember to remove the closing paren)… | |||||
wblockUnsubmitted Done Inline ActionsBelow, it just says "Available LXQt Components". Isn't that all of them? If it is, this can just say "...a list of needed components from the table below." wblock: Below, it just says "Available LXQt Components". Isn't that all of them? If it is, this can… | |||||
<table frame="none" xml:id="using-lxqt-components"> | |||||
<title>Available LXQt Components</title> | |||||
<tgroup cols="2"> | |||||
<thead> | |||||
<row> | |||||
<entry>Name</entry> | |||||
<entry>Description</entry> | |||||
</row> | |||||
</thead> | |||||
<tbody> | |||||
<row> | |||||
<entry><literal>buildtools</literal></entry> | |||||
<entry>Helpers for additional CMake modules</entry> | |||||
</row> | |||||
Done Inline ActionsI don't understand what this entry is -- is it helpers *for* additional CMake modules, or additional CMake modules that are helpful, or ...? bjk: I don't understand what this entry is -- is it helpers *for* additional CMake modules, or… | |||||
<row> | |||||
<entry><literal>libfmqt</literal></entry> | |||||
<entry>Libfm Qt bindings</entry> | |||||
</row> | |||||
<row> | |||||
<entry><literal>lxqt</literal></entry> | |||||
<entry>LXQt core library</entry> | |||||
</row> | |||||
<row> | |||||
<entry><literal>qtxdg</literal></entry> | |||||
<entry>Qt implementation of freedesktop.org | |||||
XDG specifications</entry> | |||||
</row> | |||||
</tbody> | |||||
</tgroup> | |||||
</table> | |||||
<example xml:id="lxqt-components-example"> | |||||
<title><literal>USE_LXQT</literal> Example</title> | |||||
<para>This is a simple example, | |||||
<literal>USE_LXQT</literal> adds a dependency on | |||||
LXQt libraries. Required LXQt components and | |||||
Done Inline ActionsMaybe s/brings/adds a/ ? bcr: Maybe s/brings/adds a/ ? | |||||
other dependencies can be determined from the | |||||
configure log.</para> | |||||
Done Inline ActionsMaybe s/through/from the/ ? bcr: Maybe s/through/from the/ ? | |||||
<programlisting>USES= cmake:outsource lxqt tar:xz | |||||
USE_QT5= buildtools_build qmake_build core dbus widgets | |||||
USE_LXQT= buildtools libfmqt</programlisting> | |||||
</example> | |||||
</sect1> | |||||
<sect1 xml:id="using-java"> | <sect1 xml:id="using-java"> | ||||
<title>Using Java</title> | <title>Using Java</title> | ||||
<sect2 xml:id="java-variables"> | <sect2 xml:id="java-variables"> | ||||
<title>Variable Definitions</title> | <title>Variable Definitions</title> | ||||
<para>If the port needs a Java™ Development Kit | <para>If the port needs a Java™ Development Kit | ||||
(<acronym>JDK</acronym>™) to either build, run or even | (<acronym>JDK</acronym>™) to either build, run or even | ||||
▲ Show 20 Lines • Show All 2,591 Lines • Show Last 20 Lines |
Try to avoid if/then sentences. Occasional use is okay, but still, try to avoid. Often just rearranging them gets rid of the if/then and pause: