Changeset 5a78947 for general


Ignore:
Timestamp:
08/25/2014 01:12:27 PM (10 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, 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, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
0843606
Parents:
70ad094
Message:

OpenJDK-1.7.0.65/IcedTea-2.5.1: fix desktop file instructions, hopefully. Sorry for the mess.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/openjdk.xml

    r70ad094 r5a78947  
    272272    <bridgehead renderas="sect4">Optional</bridgehead>
    273273    <para role="optional">
     274      <xref linkend="icedtea-web"/> (to obtain one icon for the
     275      <filename>openjdk-7-policytool.desktop</filename> file),
    274276      <xref linkend="libxslt"/>,
    275277      <xref linkend="lsb-release"/>,
     
    390392chown -R root:root /opt/OpenJDK-&openjdk-version;</userinput></screen>
    391393
    392     <para>If desired, you may install a .desktop file corresponding to an entry in a desktop menu for <command>policytool</command>, as <systemitem class="username">root</systemitem> user:</para>
     394    <para>If desired, you may install a .desktop file corresponding to an entry in a desktop menu for <command>policytool</command>. First, you need to obtain an icon from <xref linkend="icedtea-web"/>:</para>
     395
     396<screen role="root"><userinput>tar -xf icedtea-web-&icedtea-web-version;.tar.gz icedtea-web-&icedtea-web-version;/javaws.png --strip-components=1</userinput></screen>
     397
     398    <para>Now, as <systemitem class="username">root</systemitem> user:</para>
    393399
    394400<screen role="root"><userinput>cat &gt;&gt; /usr/share/applications/openjdk-7-policytool.desktop &lt;&lt; "EOF" &amp;&amp;
     
    405411EOF
    406412
    407 install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png &amp;&amp;</userinput></screen>
     413install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen>
     414
     415    <para>The choice of pt_BR is just an example. You can delete those lines
     416    or replace them by corresponding ones in your locale, e.g. fr_FR, with the
     417    "Name[fr_FR]" and "Comment[fr_FR]" values given by your translations.</para>
    408418
    409419  </sect2>
Note: See TracChangeset for help on using the changeset viewer.