mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Fix the name of .desktop files for openjdk
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20122 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c74eb3a776
commit
89b38c1ee4
@ -1,12 +1,12 @@
|
||||
<!-- $LastChangedBy$ $Date$ -->
|
||||
|
||||
<!ENTITY day "02"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "03"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "05"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2018">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "May 2nd, &year;">
|
||||
<!ENTITY releasedate "May 3rd, &year;">
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
||||
|
@ -348,7 +348,7 @@ done
|
||||
|
||||
<screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
||||
|
||||
cat > /usr/share/applications/openjdk-9-java.desktop << "EOF" &&
|
||||
cat > /usr/share/applications/openjdk-java.desktop << "EOF" &&
|
||||
<literal>[Desktop Entry]
|
||||
Name=OpenJDK Java &openjdk-version; Runtime
|
||||
Comment=OpenJDK Java &openjdk-version; Runtime
|
||||
@ -359,8 +359,8 @@ Icon=java
|
||||
MimeType=application/x-java-archive;application/java-archive;application/x-jar;
|
||||
NoDisplay=true</literal>
|
||||
EOF
|
||||
|
||||
cat > /usr/share/applications/openjdk-9-policytool.desktop << "EOF" &&
|
||||
<!-- No policytool in java 10...
|
||||
cat > /usr/share/applications/openjdk-policytool.desktop << "EOF" &&
|
||||
<literal>[Desktop Entry]
|
||||
Name=OpenJDK Java &openjdk-version; Policy Tool
|
||||
Name[pt_BR]=OpenJDK Java &openjdk-version; - Ferramenta de Política
|
||||
@ -372,8 +372,8 @@ Type=Application
|
||||
Icon=java
|
||||
Categories=Settings;</literal>
|
||||
EOF
|
||||
|
||||
cat > /usr/share/applications/openjdk-9-jconsole.desktop << "EOF"
|
||||
-->
|
||||
cat > /usr/share/applications/openjdk-jconsole.desktop << "EOF"
|
||||
<literal>[Desktop Entry]
|
||||
Name=OpenJDK Java &openjdk-version; Console
|
||||
Comment=OpenJDK Java &openjdk-version; Console
|
||||
@ -384,14 +384,14 @@ Type=Application
|
||||
Icon=java
|
||||
Categories=Application;System;</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<!-- Name[pt_BR] not do=isplayed anymore
|
||||
<para>
|
||||
The choice of pt_BR is just an example. You can add any translation
|
||||
by adding lines corresponding to your locale, e.g. for fr_FR,
|
||||
<quote>Name[fr_FR]=</quote> and <quote>Comment[fr_FR]=</quote> with the
|
||||
appropriate text as values.
|
||||
</para>
|
||||
|
||||
-->
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
|
@ -41,6 +41,15 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
-->
|
||||
<listitem>
|
||||
<para>May 3rd, 2018</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[pierre] - Remove version from OpenJDK .desktop files.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>May 2nd, 2018</para>
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user