Seamonkey as a dependency to rpm? Really?

You think you have found a bug? Let us know about it.
User avatar
caitlyn
Posts: 209
Joined: 5. Dec 2009, 20:42
Location: Hunstville, Texas, USA

Seamonkey as a dependency to rpm? Really?

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Seamonkey as a dependency to rpm? Really?

Post 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.
Image
Image
User avatar
caitlyn
Posts: 209
Joined: 5. Dec 2009, 20:42
Location: Hunstville, Texas, USA

Re: Seamonkey as a dependency to rpm? Really?

Post by caitlyn »

rpm does not require a browser or any libraries from a browser. That is something I am 100% sure of.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Seamonkey as a dependency to rpm? Really?

Post by gapan »

You're wrong. It needs libnss3.so, which in slackware, is included in the seamonkey and seamonkey-solibs packages.
Image
Image
User avatar
caitlyn
Posts: 209
Joined: 5. Dec 2009, 20:42
Location: Hunstville, Texas, USA

Re: Seamonkey as a dependency to rpm? Really?

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Seamonkey as a dependency to rpm? Really?

Post by gapan »

seamonkey/seamonkey-solibs are packaged by slackware, not salix.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Seamonkey as a dependency to rpm? Really?

Post 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... :|
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
caitlyn
Posts: 209
Joined: 5. Dec 2009, 20:42
Location: Hunstville, Texas, USA

Re: Seamonkey as a dependency to rpm? Really?

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Seamonkey as a dependency to rpm? Really?

Post 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.
Image
Image
User avatar
lmello
Posts: 218
Joined: 4. Aug 2010, 17:38
Location: Brazil
Contact:

Re: Seamonkey as a dependency to rpm? Really?

Post 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.
Post Reply