Skip to content
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

CLI build depends on libwebkit2gtk-4.0-dev #442

Open
urbantrout opened this issue Nov 21, 2024 · 4 comments
Open

CLI build depends on libwebkit2gtk-4.0-dev #442

urbantrout opened this issue Nov 21, 2024 · 4 comments

Comments

@urbantrout
Copy link

I tried building this package from source as described here: #310 (comment)

make deb should build a CLI-only version. But it still depends on libwebkit2gtk-4.0-dev which means downloading and installing a lot of dependencies:

  aspell aspell-en bubblewrap enchant-2 fuse3 gir1.2-javascriptcoregtk-4.0 gir1.2-soup-2.4 gir1.2-webkit2-4.0 glib-networking
  glib-networking-common glib-networking-services gstreamer1.0-gl gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base
  gstreamer1.0-plugins-good gstreamer1.0-x hunspell-en-us i965-va-driver intel-media-va-driver libaa1 libaacs0 libaspell15 libass9 libasyncns0
  libavc1394-0 libavcodec59 libavfilter8 libavformat59 libavutil57 libbdplus0 libbluray2 libbs2b0 libcdparanoia0 libchromaprint1 libcjson1
  libcodec2-1.0 libdc1394-25 libdca0 libdecor-0-0 libdecor-0-plugin-1-cairo libdv4 libdvdnav4 libdvdread8 libenchant-2-2 libevdev2 libfaad2
  libflac12 libflite1 libfluidsynth3 libfreeaptx0 libfuse3-3 libgme0 libgraphene-1.0-0 libgsm1 libgssdp-1.6-0 libgstreamer-gl1.0-0
  libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgudev-1.0-0 libgupnp-1.6-0 libgupnp-igd-1.0-4 libhunspell-1.7-0 libhyphen0
  libiec61883-0 libigdgmm12 libinstpatch-1.0-2 libjack-jackd2-0 libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.0-dev libjson-glib-1.0-0
  libjson-glib-1.0-common libkate1 liblapack3 libldacbt-enc2 liblilv-0-0 liblrdf0 libltc11 libmanette-0.2-0 libmbedcrypto7 libmfx1
  libmjpegutils-2.1-0 libmodplug1 libmp3lame0 libmpcdec6 libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libmysofa1 libneon27 libnice10 libnorm1
  libopenal-data libopenal1 libopenh264-7 libopenmpt0 libopenni2-0 libopus0 libpgm-5.3-0 libpipewire-0.3-0 libpipewire-0.3-common libplacebo208
  libpocketsphinx3 libpostproc56 libpsl-dev libpulse0 libqrencode4 librabbitmq4 libraptor2-0 libraw1394-11 librist4 librubberband2 libsamplerate0
  libsbc1 libsdl2-2.0-0 libserd-0-0 libshine3 libshout3 libsnappy1v5 libsndfile1 libsndio7.0 libsord-0-0 libsoundtouch1 libsoup-3.0-0
  libsoup-3.0-common libsoup-gnome2.4-1 libsoup2.4-1 libsoup2.4-common libsoup2.4-dev libsoxr0 libspa-0.2-modules libspandsp2 libspeex1
  libsphinxbase3 libsqlite3-dev libsratom-0-0 libsrt1.5-gnutls libsrtp2-1 libssh-gcrypt-4 libswresample4 libswscale6 libtag1v5 libtag1v5-vanilla
  libtheora0 libtwolame0 libudfread0 libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1
  libvisual-0.4-0 libvo-aacenc0 libvo-amrwbenc0 libvorbisenc2 libvulkan1 libwavpack1 libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
  libwebrtc-audio-processing1 libwildmidi2 libwoff1 libx264-164 libxcb-xkb1 libxkbcommon-x11-0 libxvidcore4 libyajl2 libzbar0 libzimg2 libzmq5
  libzvbi-common libzvbi0 libzxing2 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers ocl-icd-libopencl1 pocketsphinx-en-us
  timgm6mb-soundfont va-driver-all vdpau-driver-all xdg-dbus-proxy xdg-desktop-portal xdg-desktop-portal-gtk

The question is: Is libwebkit2gtk-4.0-dev really needed for a CLI-only version? I would rather not install 461MB of dependencies…

Environment:

  • OS: Debian 12
  • Shell: zsh
@yuezk
Copy link
Owner

yuezk commented Nov 21, 2024

You may try to remove

to see if it works for you.

@urbantrout
Copy link
Author

Unfortunately this still requires installing other dependencies. E.g. libwebkit2gtk-4.0-dev which needs 423 MB on my computer.

@yuezk
Copy link
Owner

yuezk commented Nov 27, 2024

libwebkit2gtk-4.0-dev is required because the GP authentication part may rely on the embedded browser. You can try to just build the gpclient from the source code.

cargo build -p gpclient

@urbantrout
Copy link
Author

Tried that. Did compile just fine. But running gpclient results in: Error: No such file or directory (os error 2)

It seems that gpauth is a dependency which again requires all the GTK libs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants