Changeset 8fbd29c


Ignore:
Timestamp:
01/04/2018 01:32:24 AM (7 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
Children:
a7c2ccc
Parents:
7abed3b
Message:

Chromium: install man page and .desktop file from distribution.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/chromium.xml

    r7abed3b r8fbd29c  
    335335                /usr/lib/chromium/icudtl.dat                  &amp;&amp;
    336336
    337 install -vDm644  out/Release/{*.pak,*.bin} \
     337install -vDm644 out/Release/{*.pak,*.bin} \
    338338                /usr/lib/chromium/                            &amp;&amp;
    339339
     340sed -i \
     341    -e "s/@@MENUNAME@@/Chromium/g" \
     342    -e "s/@@PACKAGE@@/chromium/g" \
     343    -e "s/@@USR_BIN_SYMLINK_NAME@@/chromium/g" \
     344    chrome/installer/linux/common/desktop.template \
     345    chrome/app/resources/manpage.1.in                         &amp;&amp;
     346
     347install -vDm644 chrome/installer/linux/common/desktop.template \
     348                /usr/share/applications/chromium.desktop      &amp;&amp;
     349
     350install -vDm644 chrome/app/resources/manpage.1.in \
     351                /usr/share/man/man1/chromium.1                &amp;&amp;
     352
    340353cp -av out/Release/locales /usr/lib/chromium/                 &amp;&amp;
    341 chown -Rv root:root /usr/lib/chromium/locales</userinput></screen>
    342 
    343     <para>While still the <systemitem class="username">root</systemitem> user,
    344     install icons and the .desktop file:</para>
    345 
    346 <screen role="root"><userinput>for size in 16 32; do
     354chown -Rv root:root /usr/lib/chromium/locales                 &amp;&amp;
     355
     356for size in 16 32; do
    347357    install -vDm644 \
    348358        "chrome/app/theme/default_100_percent/chromium/product_logo_$size.png" \
     
    353363    install -vDm644 "chrome/app/theme/chromium/product_logo_$size.png" \
    354364        "/usr/share/icons/hicolor/${size}x${size}/apps/chromium.png"
    355 done &amp;&amp;
    356 
    357 cat &gt; /usr/share/applications/chromium.desktop &lt;&lt; "EOF"
    358 [Desktop Entry]
    359 Encoding=UTF-8
    360 Name=Chromium Web Browser
    361 Comment=Access the Internet
    362 GenericName=Web Browser
    363 Exec=chromium %u
    364 Terminal=false
    365 Type=Application
    366 Icon=chromium
    367 Categories=GTK;Network;WebBrowser;
    368 MimeType=application/xhtml+xml;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
    369 EOF</userinput></screen>
     365done</userinput></screen>
    370366
    371367    <note>
Note: See TracChangeset for help on using the changeset viewer.