[opensuse] what requires fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4
For those who are more adept with zypper than I am - I wanted to add "apcupsd" to a newly installed 13.2 xen-host: --------------- # zypper in --no-recommends apcupsd Loading repository data... Reading installed packages... Resolving package dependencies... The following 8 NEW packages are going to be installed: apcupsd fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4 8 new packages to install. Overall download size: 1.6 MiB. Already cached: 0 B After the operation, additional 5.6 MiB will be used. Continue? [y/n/? shows all options] (y): n ----------- I don't really see a need for all this graphics stuff, hence my feeble attempt with "-no-recommends". Looking at "--requires" output for apcupsd, it doesn't require any of it. I tried the same installation on a different system: # zypper in --no-recommends apcupsd Loading repository data... Reading installed packages... Resolving package dependencies... The following 6 NEW packages are going to be installed: apcupsd fontconfig libXpm4 libfreetype6 libgd3 libvpx1 Although not head-less, this box is also text-mode only etc., so no need for any graphics stuff. zypper se --requires fontconfig (nothing that is installed) zypper se --requires libXpm (nothing that is installed) zypper se --requires libfreetype (nothing that is installed) zypper se --requires libgd3 (nothing that is installed) zypper se --requires libvpx (nothing that is installed) So, why does trying to install apcupsd drag along all of this "fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4" ? -- Per Jessen, Zürich (7.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Apr 1, 2015 at 10:24 AM, Per Jessen
So, why does trying to install apcupsd drag along all of this "fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4" ?
It installs CGI %{apache_serverroot}/cgi-bin/multimon.cgi %{apache_serverroot}/cgi-bin/upsfstats.cgi %{apache_serverroot}/cgi-bin/upsstats.cgi %{apache_serverroot}/cgi-bin/upsimage.cgi so all this stuff is likely needed to generate pretty pictures in your browser. May be it should be split into subpackage. Stop, but there *is* cgi subpackage %files cgi %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}.css %config(noreplace) %{_sysconfdir}/%{name}/hosts.conf %config(noreplace) %{_sysconfdir}/%{name}/multimon.conf Looks like a packaging bug. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
On Wed, Apr 1, 2015 at 10:24 AM, Per Jessen
wrote: So, why does trying to install apcupsd drag along all of this "fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4" ?
It installs CGI
%{apache_serverroot}/cgi-bin/multimon.cgi %{apache_serverroot}/cgi-bin/upsfstats.cgi %{apache_serverroot}/cgi-bin/upsstats.cgi %{apache_serverroot}/cgi-bin/upsimage.cgi
so all this stuff is likely needed to generate pretty pictures in your browser. May be it should be split into subpackage.
Thanks Andrei - how did you determine that those cgi scripts need $SUBJ - I can't see apcupsd itself requiring them? It is "upsimage.cgi" that's dragging it all in.
Stop, but there *is* cgi subpackage
%files cgi %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}.css %config(noreplace) %{_sysconfdir}/%{name}/hosts.conf %config(noreplace) %{_sysconfdir}/%{name}/multimon.conf
Looks like a packaging bug.
Okay. -- Per Jessen, Zürich (4.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Wed, 01 Apr 2015 10:56:27 +0200
Per Jessen
Andrei Borzenkov wrote:
On Wed, Apr 1, 2015 at 10:24 AM, Per Jessen
wrote: So, why does trying to install apcupsd drag along all of this "fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4" ?
It installs CGI
%{apache_serverroot}/cgi-bin/multimon.cgi %{apache_serverroot}/cgi-bin/upsfstats.cgi %{apache_serverroot}/cgi-bin/upsstats.cgi %{apache_serverroot}/cgi-bin/upsimage.cgi
so all this stuff is likely needed to generate pretty pictures in your browser. May be it should be split into subpackage.
Thanks Andrei - how did you determine that those cgi scripts need $SUBJ - I can't see apcupsd itself requiring them? It is "upsimage.cgi" that's dragging it all in.
Educated guess :) But now when I am at my PC again ... bor@opensuse:~> zypper info --requires apcupsd ... libnetsnmp.so.30()(64bit) libgd.so.3()(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) /usr/bin/sh /usr/bin/mail ... bor@opensuse:~> LC_ALL=C LANG=C zypper se --provides 'libgd.so.3()(64bit)' S | Name | Summary | Type --+--------+-----------------------------------------------------------+-------- i | libgd3 | A Drawing Library for Programs That Use PNG and JPEG Ou-> | package bor@opensuse:~> zypper info --requires libgd3 ... libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libjpeg.so.8()(64bit) libjpeg.so.8(LIBJPEG_8.0)(64bit) libfreetype.so.6()(64bit) libfontconfig.so.1()(64bit) libtiff.so.5()(64bit) libXpm.so.4()(64bit) ... rinse and repeat
Stop, but there *is* cgi subpackage
%files cgi %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}/%{name}.css %config(noreplace) %{_sysconfdir}/%{name}/hosts.conf %config(noreplace) %{_sysconfdir}/%{name}/multimon.conf
Looks like a packaging bug.
Okay.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
В Wed, 01 Apr 2015 10:56:27 +0200 Per Jessen
пишет: Andrei Borzenkov wrote:
On Wed, Apr 1, 2015 at 10:24 AM, Per Jessen
wrote: So, why does trying to install apcupsd drag along all of this "fontconfig libgd3 libjbig2 libjpeg8 libtiff5 libvpx1 libXpm4" ?
It installs CGI
%{apache_serverroot}/cgi-bin/multimon.cgi %{apache_serverroot}/cgi-bin/upsfstats.cgi %{apache_serverroot}/cgi-bin/upsstats.cgi %{apache_serverroot}/cgi-bin/upsimage.cgi
so all this stuff is likely needed to generate pretty pictures in your browser. May be it should be split into subpackage.
Thanks Andrei - how did you determine that those cgi scripts need $SUBJ - I can't see apcupsd itself requiring them? It is "upsimage.cgi" that's dragging it all in.
Educated guess :)
But now when I am at my PC again ...
bor@opensuse:~> zypper info --requires apcupsd ... libnetsnmp.so.30()(64bit) libgd.so.3()(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) /usr/bin/sh /usr/bin/mail ... bor@opensuse:~> LC_ALL=C LANG=C zypper se --provides 'libgd.so.3()(64bit)' S | Name | Summary | Type --+--------+-----------------------------------------------------------+-------- i | libgd3 | A Drawing Library for Programs That Use PNG and JPEG Ou->
Dunno how I overlooked that one ... thanks. https://bugzilla.opensuse.org/show_bug.cgi?id=925374 I guess it's not a major issue, but it would certainly be nice to build apcupsd for use as a client without all this crud. -- Per Jessen, Zürich (7.1°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Per Jessen