inode64 / inode64-overlay

Gentoo overlay
Creative Commons Zero v1.0 Universal
12 stars 3 forks source link

dev-util/phpstorm: why does dev-libs/glib require +dbus? #17

Closed lkraav closed 11 months ago

lkraav commented 11 months ago

Introduced somewhere in 2023 https://github.com/inode64/inode64-overlay/commit/7138494fd3fd1aa1260210cca7616ad58337d6a8

https://github.com/gentoo/gentoo/blob/master/dev-util/pycharm-professional/pycharm-professional-2023.2.ebuild doesn't seem to care about +dbus, is there a reason PhpStorm should?

lkraav commented 11 months ago

PS same question for requiring net-dns/avahi.

lkraav commented 11 months ago

PyCharm ebuild doesn't seem to care about +dbus, is there a reason PhpStorm should?

I notice now they require sys-apps/dbus separately, I guess you're jut optimizing out separate deps here? This makes a difference for different Gentoo profiles that might not have +dbus set by default, such as gentoo:default/linux/amd64/17.1/systemd/merged-usr.

inode64 commented 11 months ago

with dbus you are right, I have analyzed the glib ebuild and activating dbus does not require me to install sys-apps/dbus, I thought it did

jcef_helper , libcef.so and libjcef.so require avahi

thank you very much for your observation

# ldd /opt/phpstorm-2023.2.4/jbr/lib/jcef_helper
        linux-vdso.so.1 (0x00007ffc6e9f5000)
        libcef.so => /opt/phpstorm-2023.2.4/jbr/lib/libcef.so (0x00007f2960800000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/13/libgcc_s.so.1 (0x00007f296c4c4000)
        libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f296c4bf000)
        libc.so.6 => /usr/lib64/libc.so.6 (0x00007f2960634000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f296c50d000)
        libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f296c4ba000)
        libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f296c457000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007f29604f5000)
        libnss3.so => /usr/lib64/libnss3.so (0x00007f29603c2000)
        libnssutil3.so => /usr/lib64/libnssutil3.so (0x00007f2960390000)
        libsmime3.so => /usr/lib64/libsmime3.so (0x00007f2960366000)
        libnspr4.so => /usr/lib64/libnspr4.so (0x00007f2960326000)
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007f29602fd000)
        libatk-bridge-2.0.so.0 => /usr/lib64/libatk-bridge-2.0.so.0 (0x00007f29602c2000)
        libcups.so.2 => /usr/lib64/libcups.so.2 (0x00007f2960223000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f296c43e000)
        libgio-2.0.so.0 => /usr/lib64/libgio-2.0.so.0 (0x00007f2960045000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f295ff07000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007f295ff02000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f295fefd000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f295fee9000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f295fee1000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007f295fed4000)
        libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x00007f295fec3000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f295fe96000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f295fe6e000)
        libxkbcommon.so.0 => /usr/lib64/libxkbcommon.so.0 (0x00007f295fe27000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f295fddd000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007f295fd74000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f295fc3c000)
        libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007f295fb51000)
        libm.so.6 => /usr/lib64/libm.so.6 (0x00007f295fa76000)
        libatspi.so.0 => /usr/lib64/libatspi.so.0 (0x00007f295fa3c000)
        libffi.so.8 => /usr/lib64/libffi.so.8 (0x00007f295fa30000)
        libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007f295f994000)
        libplc4.so => /usr/lib64/libplc4.so (0x00007f295f98b000)
        libplds4.so => /usr/lib64/libplds4.so (0x00007f295f986000)
        libavahi-common.so.3 => /usr/lib64/libavahi-common.so.3 (0x00007f295f978000)
        libavahi-client.so.3 => /usr/lib64/libavahi-client.so.3 (0x00007f295f965000)
        libssl.so.3 => /usr/lib64/libssl.so.3 (0x00007f295f8ba000)
        libcrypto.so.3 => /usr/lib64/libcrypto.so.3 (0x00007f295f400000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x00007f295f898000)
        libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0 (0x00007f295f891000)
        libmount.so.1 => /usr/lib64/libmount.so.1 (0x00007f295f39f000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f295f885000)
        libwayland-server.so.0 => /usr/lib64/libwayland-server.so.0 (0x00007f295f86d000)
        libxcb-randr.so.0 => /usr/lib64/libxcb-randr.so.0 (0x00007f295f38e000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f295f868000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f295f386000)
        libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007f295f28a000)
        libfribidi.so.0 => /usr/lib64/libfribidi.so.0 (0x00007f295f26a000)
        libharfbuzz.so.0 => /usr/lib64/libharfbuzz.so.0 (0x00007f295f141000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f295f0fb000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f295f0b0000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f295efe5000)
        libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007f295efd6000)
        libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007f295efd1000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f295eeda000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007f295eec7000)
        libblkid.so.1 => /usr/lib64/libblkid.so.1 (0x00007f295ee72000)
        libcryptsetup.so.12 => /usr/lib64/libcryptsetup.so.12 (0x00007f295edf6000)
        libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007f295edea000)
        libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007f295eca5000)
        liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007f295ec69000)
        liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f295ec38000)
        libzstd.so.1 => /usr/lib64/libzstd.so.1 (0x00007f295eb43000)
        libgraphite2.so.3 => /usr/lib64/libgraphite2.so.3 (0x00007f295eb1e000)
        libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f295eb09000)
        libbrotlidec.so.1 => /usr/lib64/libbrotlidec.so.1 (0x00007f295eafb000)
        libuuid.so.1 => /usr/lib64/libuuid.so.1 (0x00007f295eaf2000)
        libdevmapper.so.1.02 => /usr/lib64/libdevmapper.so.1.02 (0x00007f295ea98000)
        libargon2.so.1 => /usr/lib64/libargon2.so.1 (0x00007f295ea8f000)
        libjson-c.so.5 => /usr/lib64/libjson-c.so.5 (0x00007f295ea7c000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f295ea52000)
        libbrotlicommon.so.1 => /usr/lib64/libbrotlicommon.so.1 (0x00007f295ea2f000)
        libudev.so.1 => /usr/lib64/libudev.so.1 (0x00007f295e9ee000)