Skip to content

Instantly share code, notes, and snippets.

@CodeAsm
Forked from emarsk/xorg_depgraph.dot
Last active November 1, 2021 14:44
Show Gist options
  • Save CodeAsm/1fb1b8c16bc11b82ace16aba41094157 to your computer and use it in GitHub Desktop.
Save CodeAsm/1fb1b8c16bc11b82ace16aba41094157 to your computer and use it in GitHub Desktop.
Xorg graphviz dependency graph, as in BLFS book. To generate the image: "dot -Tpng xorg_depgraph.dot >xorg_depgraph.png".
// KDE Plasma 5 dependency graph (dot)
// BLFS 10.0
// Required only
//
// style=solid : required
// style=solid arrowhead=dot color=grey : required at runtime
strict digraph xorg {
label="KDE Plasma 5 dependencies
required only, BLFS 10.0
" labelloc=t
node [style=filled fillcolor=snow]
// KDE Plasma 5 stuff: {{{1=============================================================
"Building Plasma 5" -> { "GConf-3.2.6" "GTK+-2.24.32" "GTK+-3.24.22" "KDE Frameworks-5.73.0" "libpwquality-1.4.2" "libxkbcommon-0.10.0" "Mesa-20.1.5 built with Wayland-1.18.0" "NetworkManager-1.26.0" "Pipewire-0.3.9" "PulseAudio-13.0" "qca-2.3.1" "sassc-3.6.1" "taglib-1.11.1" "xcb-util-cursor-0.1.3" } [style=solid]
"GConf-3.2.6" -> {"dbus-glib-0.110" "libxml2-2.9.10"} [style=solid]
"dbus-glib-0.110" -> {"dbus-1.12.20" "GLib-2.64.4"} [style=solid]
"dbus-1.12.20" -> "Systemd-246" [style=solid]
"Systemd-246" -> "Linux-PAM-1.4.0" [style=solid]
"GTK+-2.24.32" -> { "ATK-2.36.0" "gdk-pixbuf-2.40.0" "Pango-1.46.0" }[style=solid]
"ATK-2.36.0" -> "GLib-2.64.4" [style=solid]
"gdk-pixbuf-2.40.0" -> { "GLib-2.64.4" "libjpeg-turbo-2.0.5" "libpng-1.6.37" "shared-mime-info-2.0" }[style=solid]
"libjpeg-turbo-2.0.5" -> { "CMake-3.18.1" "NASM-2.15.03 or yasm-1.3.0" }[style=solid]
"CMake-3.18.1" -> "libuv-1.38.1" [style=solid]
"NASM-2.15.03 or yasm-1.3.0" -> {"NASM-2.15.03" "yasm-1.3.0"}[style=solid]
"shared-mime-info-2.0" -> { "GLib-2.64.4" "itstool-2.0.6" "libxml2-2.9.10" "xmlto-0.0.28" } [style=solid]
"itstool-2.0.6" -> "docbook-xml-4.5" [style=solid]
"docbook-xml-4.5" -> {"libxml2-2.9.10" "sgml-common-0.6.3" "UnZip-6.0"} [style=solid]
"Pango-1.46.0" -> { "Fontconfig-2.13.1" "FriBidi-1.0.9" "GLib-2.64.4" } [style=solid]
"Fontconfig-2.13.1" -> {"FreeType-2.10.2" "HarfBuzz-2.7.1"} [style=solid]
"xmlto-0.0.28" -> { "docbook-xml-4.5" "docbook-xsl-1.79.2" "libxslt-1.1.34" } [style=solid]
"libxslt-1.1.34" -> "libxml2-2.9.10" [style=solid]
"GTK+-3.24.22" -> { "at-spi2-atk-2.34.2" "FriBidi-1.0.9" "gdk-pixbuf-2.40.0" "libepoxy-1.5.4" "Pango-1.46.0" } [style=solid]
"at-spi2-atk-2.34.2" -> { "at-spi2-core-2.36.0" "ATK-2.36.0" } [style=solid]
"at-spi2-core-2.36.0" -> { "dbus-1.12.20" "GLib-2.64.4" "Xorg Libraries" } [style=solid]
"libepoxy-1.5.4" -> "Mesa-20.1.5" [style=solid]
"Mesa-20.1.5" -> { "Xorg Libraries" "libdrm-2.4.102" "Mako-1.1.3" } [style=solid]
"Mako-1.1.3" -> {"MarkupSafe-1.1.1" "Python 2 or 3" } [style=solid]
"MarkupSafe-1.1.1" -> "Python 2 or 3" [style=solid]
"libdrm-2.4.102"-> "Xorg Libraries" [style=solid]
"GLib-2.64.4" -> { "libxslt-1.1.34" "PCRE-8.44" } [style=solid]
"Xorg Libraries"-> {"Fontconfig-2.13.1" "libxcb-1.14"} [style=solid]
"Python 2 or 3" [shape=box]
"Python 2 or 3" -> {"Python-2.7.18" "Python-3.9.2"} [shape=box]
"KDE Frameworks-5.73.0" -> { "Boost-1.74.0" "extra-cmake-modules-5.73.0" "docbook-xml-4.5" "docbook-xsl-1.79.2" "giflib-5.2.1" "libepoxy-1.5.4" "libgcrypt-1.8.6" "libjpeg-turbo-2.0.5" "libpng-1.6.37" "libxslt-1.1.34" "lmdb-0.9.24" "phonon-4.11.1" "plasma-wayland-protocols-1.1.1" "shared-mime-info-2.0" "URI-1.76" "Wget-1.20.3" } [style=solid]
"extra-cmake-modules-5.73.0" -> { "CMake-3.18.1" } [style=solid]
"giflib-5.2.1" -> "xmlto-0.0.28" [style=solid]
"libgcrypt-1.8.6" -> "libgpg-error-1.38" [style=solid]
"phonon-4.11.1" -> { "CMake-3.18.1" "extra-cmake-modules-5.73.0" "GLib-2.64.4" "Qt-5.15.0" } [style=solid]
"Qt-5.15.0" -> "Xorg Libraries" [style=solid]
"Phonon-backend-vlc-0.11.1" -> { "phonon-4.11.1" "VLC-3.0.11.1" } [style=solid]
"VLC-3.0.11.1" -> { "alsa-lib-1.2.3.2" "desktop-file-utils-0.26" "FFmpeg-4.3.1" "liba52-0.7.4" "libgcrypt-1.8.6" "libmad-0.15.1b" "Lua-5.4.0" } [style=solid]
"desktop-file-utils-0.26" -> "GLib-2.64.4" [style=solid]
"Plasma-wayland-protocols-1.1.1" -> { "extra-cmake-modules-5.73.0" } [style=solid]
"libpwquality-1.4.2" -> "CrackLib-2.9.7" [style=solid]
"libxkbcommon-0.10.0" -> "xkeyboard-config-2.30" [style=solid]
"xkeyboard-config-2.30" -> "Xorg Libraries" [style=solid]
"NetworkManager-1.26.0" -> { "dbus-glib-0.110" "libndp-1.7" } [style=solid]
"Pipewire-0.3.9" -> { "BlueZ-5.54" "FFmpeg-4.3.1" "gstreamer-1.16.2" "gst-plugins-base-1.16.2" "libva-2.8.0" "PulseAudio-13.0" "SBC-1.4" "SDL2-2.0.12" "v4l-utils-1.20.0" } [style=solid]
"v4l-utils-1.20.0" -> "LLVM-10.0.1" [style=solid]
"LLVM-10.0.1" -> "CMake-3.18.1" [style=solid]
"PulseAudio-13.0" -> "libsndfile-1.0.28" [style=solid]
"libva-2.8.0" -> "libdrm-2.4.102" [style=solid]
"gst-plugins-base-1.16.2" -> "gstreamer-1.16.2" [style=solid]
"gstreamer-1.16.2" -> "GLib-2.64.4" [style=solid]
"FFmpeg-4.3.1" -> { "libass-0.14.0" "fdk-aac-2.0.1" "FreeType-2.10.2" "LAME-3.100" "libtheora-1.1.1" "libvorbis-1.3.7" "libvpx-1.9.0" "Opus-1.3.1" "x264-20200819" "x265-3.4" "yasm-1.3.0" } [style=solid]
"BlueZ-5.54" -> { "dbus-1.12.20" "GLib-2.64.4" "libical-3.0.8" } [style=solid]
"libical-3.0.8" -> "CMake-3.18.1" [style=solid]
"Wget-1.20.3" -> "make-ca-1.7" [style=solid]
"x265-3.4" -> "CMake-3.18.1" [style=solid]
"libvpx-1.9.0" -> { "NASM-2.15.03 or yasm-1.3.0" "Which-2.21" } [style=solid]
"libvorbis-1.3.7" -> "libogg-1.3.4" [style=solid]
"libtheora-1.1.1" -> "libogg-1.3.4" [style=solid]
"libass-0.14.0" -> {"FreeType-2.10.2" "FriBidi-1.0.9" "NASM-2.15.03"} [style=solid]
"Qca-2.3.1" -> {"make-ca-1.7" "CMake-3.18.1" "Qt-5.15.0" "Which-2.21"} [style=solid]
"make-ca-1.7" -> "p11-kit-0.23.20" [style=solid]
"Taglib-1.11.1" -> "CMake-3.18.1" [style=solid]
"xcb-util-cursor-0.1.3" -> "xcb-util-0.4.0" [style=solid]
"xcb-util-0.4.0" -> "libxcb-1.14"
"xcb-proto-1.14" -> "libxml2-2.9.10"
"libxcb-1.14" -> {"libXau-1.0.9" "xcb-proto-1.14.1"} [style=solid]
"libXau-1.0.9" -> "xorgproto-2020.1" [style=solid]
"xorgproto-2020.1" -> "util-macros-1.19.3" [style=solid]
"util-macros-1.19.3" -> "Xorg Build Environment" [style=solid]
}
// vi:ft=dot
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment