Page 1 of 2

Seamonkey as a dependency to rpm? Really?

Posted: 6. Jun 2010, 18:35
by caitlyn
I went to install rpm on my SalixOS 13.1 (32-bit) system so that I could install the proprietary Lightscribe software. I did this with 13.0.2a with no problems. Right now if I use slapt-get or gslapt installing rpm also installs seamonkey. I need a graphical browser to install a command-line package tool? Really?

Obviously there is a dependency error on the rpm package in the database.

Re: Seamonkey as a dependency to rpm? Really?

Posted: 6. Jun 2010, 19:26
by gapan
No, there is no error. The dependency file for rpm is:

Code: Select all

alsa-lib,bzip2,db44,file,popt,python,xz,zlib,seamonkey|seamonkey-solibs
which means that either seamonkey or seamonkey-solibs are needed. If you have none of the two already installed, slapt-get picks the first one. If you don't want seamonkey, install seamonkey-solibs first. I'll change that to "seamonkey-solibs|seamonkey" though, it should be preferable for most people like that.

Re: Seamonkey as a dependency to rpm? Really?

Posted: 6. Jun 2010, 19:37
by caitlyn
rpm does not require a browser or any libraries from a browser. That is something I am 100% sure of.

Re: Seamonkey as a dependency to rpm? Really?

Posted: 6. Jun 2010, 19:52
by gapan
You're wrong. It needs libnss3.so, which in slackware, is included in the seamonkey and seamonkey-solibs packages.

Re: Seamonkey as a dependency to rpm? Really?

Posted: 7. Jun 2010, 18:44
by caitlyn
Which is why almost every other distro breaks out libnss as a separate package. As it stands the amount of cruft needed to install rpm is pretty insane. Please consider this a suggestion for future packaging, OK?

Oh, and yes, with no separate libnss package you are correct and I was wrong.

Re: Seamonkey as a dependency to rpm? Really?

Posted: 7. Jun 2010, 19:00
by gapan
seamonkey/seamonkey-solibs are packaged by slackware, not salix.

Re: Seamonkey as a dependency to rpm? Really?

Posted: 7. Jun 2010, 22:35
by thenktor
slapt-get --show seamonkey-solibs
Package Name: seamonkey-solibs
Package Mirror: http://ftp.gwdg.de/pub/linux/slackware/ ... re64-13.1/
Package Priority: Official
Package Location: ./slackware64/l
Package Version: 2.0.4-x86_64-1
Package Size: 1192 K
Package Installed Size: 3800 K
Package Required: alsa-lib,cxxlibs|gcc-g++,gcc
Package Conflicts:
Package Suggests:
Package MD5 Sum: b772ced8e76cf93f1e06e29d9af12ff7
Package Description:
seamonkey-solibs (Shared libraries from Seamonkey)

This package contains a subset of the shared libraries from Seamonkey
to provide runtime support for programs that require nss, nspr, and
js. These libraries are used in programs like RPM and gxine, and can
be used in others. This package is built from the Seamonkey sources
and is provided as a standalone runtime package for people who do not
want to install the entire seamonkey package (as for server use).

This package is runtime only. The include files and other files for
development can be found in the seamonkey package.
Package Installed: yes
IMHO:
Package Size: 1192 K
Package Installed Size: 3800 K
At this size I don't see a point why to split it further down on today's hard drives... :|

Re: Seamonkey as a dependency to rpm? Really?

Posted: 8. Jun 2010, 04:22
by caitlyn
One thing to think about: If you have neither seamonkey nor seamonkey-solibs installed then slapt-get or gslapt defaults to installing the full seamonkey package as the default, not just the libraries. Is there a way you could change that behavior so that the libraries alone are the default dependency?

Re: Seamonkey as a dependency to rpm? Really?

Posted: 8. Jun 2010, 06:59
by gapan
It has already been "fixed" for rpm. As I mentioned before, it's only a matter of turning "seamonkey|seamonkey-solibs" to "seamonkey-solibs|seamonkey". The reason why the former is the default is that when sorted alphabetically "seamonkey" comes before "seamonkey-solibs" and that's the way depfinder outputs dependencies.

Re: Seamonkey as a dependency to rpm? Really?

Posted: 15. Aug 2010, 00:15
by lmello
This issue happens with gxine: it has a seamonkey|seamonkey-solibs dependency, and slapt-get tries to fetch seamonkey, but it should attempt to install seamonkey-solibs first.