-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
[docs] Sort dependencies in README.Ubuntu.md #26841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR sorts the list of Ubuntu package dependencies in README.Ubuntu.md into alphabetical order for improved readability and maintenance.
- Reordered the
apt install
arguments alphabetically. - Replaced the single unsorted command with the sorted version.
Comments suppressed due to low confidence (2)
docs/README.Ubuntu.md:129
- [nitpick] The
apt install
command is extremely long; consider breaking it into multiple lines with backslashes (\
) to improve readability and maintainability.
sudo apt install autoconf automake autopoint autotools-dev cmake curl debhelper default-jre doxygen gawk gcc gdc gettext gperf libasound2-dev libass-dev libavahi-client-dev libavahi-common-dev libbluetooth-dev libbluray-dev libbz2-dev libcdio-dev libcrossguid-dev libcurl4-openssl-dev libcwiid-dev libdbus-1-dev libdrm-dev libegl1-mesa-dev libenca-dev libexiv2-dev libflac-dev libfmt-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libfstrcmp-dev libgcrypt-dev libgif-dev libgl1-mesa-dev libgles2-mesa-dev libglu1-mesa-dev libgnutls28-dev libgpg-error-dev libgtest-dev libiso9660-dev libjpeg-dev liblcms2-dev libltdl-dev liblzo2-dev libmicrohttpd-dev libmysqlclient-dev libnfs-dev libogg-dev libp8-platform-dev libpcre2-dev libplist-dev libpng-dev libpulse-dev libshairplay-dev libsmbclient-dev libspdlog-dev libsqlite3-dev libssl-dev libtag1-dev libtiff5-dev libtinyxml-dev libtinyxml2-dev libtool libudev-dev libunistring-dev libva-dev libvdpau-dev libvorbis-dev libxmu-dev libxrandr-dev libxslt1-dev libxt-dev lsb-release meson nasm ninja-build nlohmann-json3-dev python3-dev python3-pil python3-pip swig unzip uuid-dev zip zlib1g-dev
docs/README.Ubuntu.md:129
- To avoid interactive prompts and reduce installation of recommended packages, consider adding
-y --no-install-recommends
to theapt install
command.
sudo apt install autoconf automake autopoint autotools-dev cmake curl debhelper default-jre doxygen gawk gcc gdc gettext gperf libasound2-dev libass-dev libavahi-client-dev libavahi-common-dev libbluetooth-dev libbluray-dev libbz2-dev libcdio-dev libcrossguid-dev libcurl4-openssl-dev libcwiid-dev libdbus-1-dev libdrm-dev libegl1-mesa-dev libenca-dev libexiv2-dev libflac-dev libfmt-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libfstrcmp-dev libgcrypt-dev libgif-dev libgl1-mesa-dev libgles2-mesa-dev libglu1-mesa-dev libgnutls28-dev libgpg-error-dev libgtest-dev libiso9660-dev libjpeg-dev liblcms2-dev libltdl-dev liblzo2-dev libmicrohttpd-dev libmysqlclient-dev libnfs-dev libogg-dev libp8-platform-dev libpcre2-dev libplist-dev libpng-dev libpulse-dev libshairplay-dev libsmbclient-dev libspdlog-dev libsqlite3-dev libssl-dev libtag1-dev libtiff5-dev libtinyxml-dev libtinyxml2-dev libtool libudev-dev libunistring-dev libva-dev libvdpau-dev libvorbis-dev libxmu-dev libxrandr-dev libxslt1-dev libxt-dev lsb-release meson nasm ninja-build nlohmann-json3-dev python3-dev python3-pil python3-pip swig unzip uuid-dev zip zlib1g-dev
I used Codex to wrap at 76 chars, per Copilot's recommendation. Makes the diff more readable when a dependency is added. And Codex makes it easy to "rebalance" in the future. |
Description
As title says, this sorts dependencies in README.Ubuntu.md.
Sorted using a combination of macros and sorting inside of Sublime.
Motivation and context
Unsorted dependencies were highlighted in a past PR.
I'm working on RetroPlayer builds with new dependencies, so a sorted list will be an improvement.
How has this been tested?
Ran apt command on ubuntu 24.04. Successful output:
In one of my RetroPlayer commits, I add LMDB. Here's what the diff looks like, with no extra effort to "rebalance":
Makes the diff much more readable.
What is the effect on users?
Types of change