ayoy / fontedit

A desktop app to import, edit and export fonts as byte arrays for use in embedded systems
https://kapusta.cc/fontedit
GNU General Public License v3.0
323 stars 25 forks source link

Too much DEB dependencies #4

Closed ghost closed 4 years ago

ghost commented 4 years ago

l just trying to install DEB under Debian 10 buster, but fontedit_1.1.0-1_amd64.deb and it asks me to install 36 packages (cmake, many *-dev packages, etc.) according dependency list:

Depends: qt5-default (>= 5.9), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libqt5core5a (>= 5.9.0~beta), libqt5gui5 (>= 5.6.0~beta), libqt5network5 (>= 5.9.0~beta), libqt5widgets5 (>= 5.2.0), libstdc++6 (>= 5.2)
Pre-Depends: cmake (>= 3.9), g++ (>= 7.4)

Does all those dependency really needed for binary version of fontedit?

ayoy commented 4 years ago

Certainly not. I confused Predepends with packages required to compile the sources.

I'm coming from Gentoo background and there was a concept of DEPEND and RDEPEND, meaning "packages required to compile & install" and "packages required to run", respectively.

Will fix it promptly.

ayoy commented 4 years ago

Please check now with the fontedit_1.1.0-2_amd64.deb from the releases page.

ghost commented 4 years ago

Well, fontedit_1.1.0-2_amd64.deb now asks me to install not 36, but 32 additional packages.

Does qt5-default (>= 5.9) is really should be dependency for this DEB?

I suggest qt5-default is not needed for this DEB and should be removed from dependency list too.

ayoy commented 4 years ago

You're right. I was underestimating dpkg automatic dependency resolution, plus the qt5-default is definitely not needed. There's a v3 deb waiting for you in the releases page.

Thanks for your help.