Changeset adb02f98 for gnome


Ignore:
Timestamp:
08/08/2007 02:57:59 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9c84fd7
Parents:
70ce8cb
Message:

Simplified some commands using conditionals in various package instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7028 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
gnome/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gnome/core/gail.xml

    r70ce8cb radb02f98  
    9292    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    9393
    94 <screen role="root"><userinput>make install</userinput></screen>
     94<screen role="root"><userinput>make install &amp;&amp;
    9595
    96     <para><application>GTK+</application> will look for the
    97     <application>GAIL</application> modules in
    98     <filename class='directory'>/usr/lib</filename> even if
    99     <envar>$GNOME_PREFIX</envar> is <emphasis>NOT</emphasis>
    100     <filename class='directory'>/usr</filename>. If <envar>$GNOME_PREFIX</envar>
    101     is anything other than <filename class='directory'>/usr</filename>, create
    102     a symlink to <envar>$GNOME_PREFIX</envar> to satisfy this requirement:</para>
    103 
    104 <screen role="root"><userinput>ln -v -s $(pkg-config --variable=prefix ORBit-2.0)/lib/gtk-2.0/modules \
    105          /usr/lib/gtk-2.0</userinput></screen>
     96if [ $(pkg-config --variable=prefix ORBit-2.0) != "/usr" ]; then
     97    ln -v -s $(pkg-config --variable=prefix \
     98             ORBit-2.0)/lib/gtk-2.0/modules \
     99         /usr/lib/gtk-2.0
     100fi</userinput></screen>
    106101
    107102  </sect2>
     
    115110    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    116111    href="../../xincludes/gtk-doc-rebuild.xml"/>
     112
     113    <para><command>if [ ... != "/usr" ]; then ...; fi</command>:
     114    <application>GTK+</application> will look for the
     115    <application>GAIL</application> modules in
     116    <filename class='directory'>/usr/lib</filename> even if
     117    <envar>$GNOME_PREFIX</envar> is NOT
     118    <filename class='directory'>/usr</filename>. This command creates a
     119    symbolic link to satisfy this requirement.</para>
    117120
    118121  </sect2>
  • gnome/core/libgnomeui.xml

    r70ce8cb radb02f98  
    8787    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    8888
    89 <screen role="root"><userinput>make install</userinput></screen>
     89<screen role="root"><userinput>make install &amp;&amp;
    9090
    91     <para>If your <application>GNOME</application> installation prefix is
    92     anything other than <filename class='directory'>/usr</filename>, create
    93     the following symbolic link as the
    94     <systemitem class="username">root</systemitem> user:</para>
    95 
    96 <screen role="root"><userinput>ln -v -s $(pkg-config \
    97       --variable=prefix ORBit-2.0)/lib/gtk-2.0/2.10.0/filesystems \
    98       /usr/lib/gtk-2.0/2.10.0</userinput></screen>
     91if [ $(pkg-config --variable=prefix ORBit-2.0) != "/usr" ]; then
     92    ln -v -s $(pkg-config --variable=prefix \
     93             ORBit-2.0)/lib/gtk-&gtk2-working-dir;/filesystems \
     94        /usr/lib/gtk-&gtk2-working-dir;
     95fi</userinput></screen>
    9996
    10097  </sect2>
     
    118115    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    119116    href="../../xincludes/gtk-doc-rebuild.xml"/>
     117
     118    <para><command>if [ ... != "/usr" ]; then ...; fi</command>:
     119    This command is used to create a symbolic link in instances where the
     120    <application>GNOME</application> installation prefix is
     121    anything other than <filename class='directory'>/usr</filename>.</para>
    120122
    121123  </sect2>
Note: See TracChangeset for help on using the changeset viewer.