⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 274233 in webkit


Ignore:
Timestamp:
Mar 10, 2021, 1:20:41 PM (6 years ago)
Author:
Adrian Perez de Castro
Message:

[WPE][GTK] Running Tools/gtk/install-dependencies installs too many packages on Debian/Ubuntu
https://bugs.webkit.org/show_bug.cgi?id=223036

Reviewed by Don Olmstead.

Avoid installing unneeded packages by passing --no-install-recommends to apt-get
invocations. While at it, also make sure to always pass -y to make the installation
non-interactive.

  • gtk/install-dependencies:
  • wpe/install-dependencies:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r274228 r274233  
     12021-03-10  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE][GTK] Running Tools/gtk/install-dependencies installs too many packages on Debian/Ubuntu
     4        https://bugs.webkit.org/show_bug.cgi?id=223036
     5
     6        Reviewed by Don Olmstead.
     7
     8        Avoid installing unneeded packages by passing --no-install-recommends to apt-get
     9        invocations. While at it, also make sure to always pass -y to make the installation
     10        non-interactive.
     11
     12        * gtk/install-dependencies:
     13        * wpe/install-dependencies:
     14
    1152021-03-10  Brent Fulgham  <bfulgham@apple.com>
    216
  • trunk/Tools/gtk/install-dependencies

    r273970 r274233  
    260260        gstreamer1.0-pulseaudio"
    261261
    262     apt-get install $packages
     262    apt-get install -y --no-install-recommends $packages
    263263
    264264    # Ubuntu Bionic doesn't ship pipenv. So fallback to the pip3 install path.
    265265    if apt-cache show pipenv &>/dev/null; then
    266         apt-get install pipenv
     266        apt-get install -y --no-install-recommends pipenv
    267267    else
    268         apt-get install -y python3-pip
     268        apt-get install -y --no-install-recommends python3-pip
    269269        pip3 install pipenv
    270270    fi
  • trunk/Tools/wpe/install-dependencies

    r272365 r274233  
    163163        gstreamer1.0-pulseaudio"
    164164
    165     apt-get install $packages
     165    apt-get install -y --no-install-recommends $packages
    166166
    167167    # Ubuntu Bionic doesn't ship pipenv. So fallback to the pip3 install path.
    168168    if apt-cache show pipenv &>/dev/null; then
    169         apt-get install pipenv
     169        apt-get install -y --no-install-recommends pipenv
    170170    else
    171         apt-get install -y python3-pip
     171        apt-get install -y --no-install-recommends python3-pip
    172172        pip3 install pipenv
    173173    fi
Note: See TracChangeset for help on using the changeset viewer.