Xournalpp need a lot of unuseful dependencies

I’m going to install Xournalpp but it include a lot of dependencies, many of them totally useless for me (and for the majority of users I think).
Just few examples: Typeset Corean with Xe(La)Tex, Using Cyryllic languages in XeTex, German version of chemsym, Four corner codes of Chinese characters.
In my opinion it’s clear that not all these dependencies are necessary but I don’t find any way to choose only the basic ones.
Any hint?

There is no such package in Leap 15.4. Where does it come from?

Simply searching for “Xournalpp” in YaST software manager.
Note that I just installed 15.4 and not yet added repositories.

Nobody out there?

I am on 15.3 and see with YaST:


xournalpp - Notetaking software designed around a tablet


Version:
1.0.18-bp153.2.18
Provides:
application()
metainfo()
mimehandler(application/pdf)
mimehandler(application/x-xoj)
application(com.github.xournalpp.xournalpp.desktop)
metainfo(com.github.xournalpp.xournalpp.appdata.xml)
mimehandler(application/x-xojpp)
mimehandler(application/x-xopp)
mimehandler(application/x-xopt)
xournalpp = 1.0.18-bp153.2.18
xournalpp(x86-64) = 1.0.18-bp153.2.18
Requires:
libpthread.so.0()(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libm.so.6()(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
libglib-2.0.so.0()(64bit)
libgobject-2.0.so.0()(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libm.so.6(GLIBC_2.29)(64bit)
libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libgio-2.0.so.0()(64bit)
libz.so.1()(64bit)
libstdc++.so.6(CXXABI_1.3.8)(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libX11.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libgtk-3.so.0()(64bit)
libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
libgdk_pixbuf-2.0.so.0()(64bit)
libcairo.so.2()(64bit)
libgdk-3.so.0()(64bit)
libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
libxml2.so.2()(64bit)
libpango-1.0.so.0()(64bit)
libxml2.so.2(LIBXML2_2.4.30)(64bit)
libpangocairo-1.0.so.0()(64bit)
libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
libsndfile.so.1()(64bit)
libsndfile.so.1(libsndfile.so.1.0)(64bit)
libXi.so.6()(64bit)
libpoppler-glib.so.8()(64bit)
libportaudio.so.2()(64bit)
libzip.so.5()(64bit)
libportaudiocpp.so.0()(64bit)
Recommends:
tex(standalone.tex)

I have no idea what you need with the product and what the poduct still can do for you if you do not install some of it’s dependencies. But maybe not installing the Recommends may cut down the number of packages that are going to be installed.

Hi
Likely recommends, try;


zypper in --no-recommends xournalpp

Thanks to both.
Not installing recommend solves the problem, I installed only 4 packages.
Just to have an idea in “complete” installation using zypper I get these informations:

... 2789 new packages to install.
Overall download size: 1.24 GiB. Already cached: 0 B. After the operation, additional 1.9 GiB will be used.

Indeed, quite a lot.

Let us hope that you do need anything of what is now not installed.

I think now only 4 packages are installed: Xouralpp, Xournal lang and two “audio” packages (for audio recording and playback alongside with handwritten notes).

I opened old documents created with Xournalpp and it seems working. At least for basic features.
I have no idea why I don’t installed any of the libraries you listed. We’ll se if Xournalpp have complete functionality.

Sure that “Four corner codes of Chinese characters” and more than 1 GB of download is not essential to normal use. :smile:

Unfortunately the problem seems temporarily solved.
Today I found an update of Xournalpp and starting update I saw that download start with a lot of packages. Just to name a few “texlive-arphic” (again chinese font packages!!!) and texlive-asymptote. I checked and these packages aren’t installed at present then there is no reason to install during update.
Finally if I start update I’ll get installed all packages I avoided at first installation.

Hi
So add the no-recommends to your update routine, it can be configured in zypper config to turn on, but can run into issues on a new package installation…

In YaST Online Update window -> menu Dependencies -> Install recommends is unchecked and it seems working well.
Xournalpp is updated to 1.1.1 with few packages installed.

But update process become a bit complicated, sometime “install recommends” sometime not.

As was already mentioned in this thread, dependencies are due to texlive packages so you can simply lock them and leave “install recommends” as default.

bor@10:~> sudo zypper in xournalpp
Loading repository data...
Reading installed packages...
Resolving package dependencies...


**The following 2 packages are recommended, but will not be installed due to conflicts or dependency issues:**
**  texlive-scontents texlive-standalone**


The following 5 NEW packages are going to be installed:
  libportaudio2 libportaudiocpp0 libzip5 xournalpp xournalpp-lang


5 new packages to install.
Overall download size: 1.3 MiB. Already cached: 0 B. After the operation,
additional 5.8 MiB will be used.
Continue? [y/n/v/...? shows all options] (y):