Re: [gentoo-user] qpkg -q - am I interpreting it correctly?
On Thursday 28 August 2003 22:54, Mark Knecht wrote: >Or can I infer that kdemultimedia is not needed by anything (except > itself?) and remove it safely? Maybe the ebuild incorrectly installed it, > but the program doesn't depend on it? Well, if qpkg doesn't show the dependencies properly it is always possible to look at the ebuild itself. ;-) Part of the DEPEND variable in the ebuild is >=kdelibs-3.0 kdemultimedia >=qt-3.0 Also if you look at rosegarten's homepage you will see in the requirements section: "Rosegarden-4 uses the KDE 3 libraries, so you will need KDE 3.x with Qt3. You don't actually need to use the KDE desktop, you just need the library packages installed on your system." Hope that helps. Cheers, Renat -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] qpkg -q - am I interpreting it correctly?
Hello Mark, Am Donnerstag, 28. August 2003 23:27 schrieb Mark Knecht: > > Hello Mark, > > I don't know how to handle this with qpkg, I prefer etcat (in > > app-portage/gentoolkit). > > > > [EMAIL PROTECTED] ~ $ etcat -d kdemultimedia | grep rosegarden > > * media-sound/rosegarden-4.0.9 > > * media-sound/rosegarden-4.0.8.5 > > > > So rosegarden seems to depend on kdemultimedia. > > > > HTH > > Michael > > Thanks Michael! > > I have no problems at all with using etcat. I didn't actually know about > it. It seems to work nicely though. Some nice tools are well hidden in gentoo ;-) > I don't suppose you know how to go any further in terms of determining what > portion of kdemultimedia Rosegarden is actually using do you? None of the > options in the man page seem to suggest this tool can go that far. I also don't think, that etcat can handle this. > There must be some sort of tools for figuring out (maybe when a program is > running) what it's calling and where it's getting it? Guess: Maybe rosegarden is linked against a lib belonging to kdemultimedia. If this is the case ldd `which rosegarden` (or however the binary is called) shows the libs rosegarden is linked against. You can use etcat -b then to verify the suspicious libraries belong to kdemultimedia. Example (may be clearer ;-) ): [EMAIL PROTECTED] ~ $ ldd `which kmail` libkhtml.so.4 => /usr/kde/3.1/lib/libkhtml.so.4 (0x4000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4b09a000) libkjs.so.1 => /usr/kde/3.1/lib/libkjs.so.1 (0x4030f000) libpcreposix.so.0 => /usr/lib/libpcreposix.so.0 (0x4ae8f000) libpcre.so.0 => /usr/lib/libpcre.so.0 (0x4ae79000) libkdeprint.so.4 => /usr/kde/3.1/lib/libkdeprint.so.4 (0x40382000) ... [EMAIL PROTECTED] ~ $ etcat -b /usr/kde/3.1/lib/libkjs.so.1 Searching for /usr/kde/3.1/lib/libkjs.so.1 in * ... kde-base/kdelibs-3.1.3-r1 Maybe this helps you any further. > Anyway, thanks much for the new tool. Nice to hear it helped :-) > Cheers, > Mark Michael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] qpkg -q - am I interpreting it correctly?
Unfortunately, kdebase is a glob of a lot of closely-related packages. It's a kludge, but about a year ago (wild guess) the maintainer discussed splitting kde into a bunch of different packages and the eventual decision was to leave it globbed. So...try ldd `which rosegarden` to display the libraries RoseGarden links to. Then you can qpkg -f the libraries. BTW; I think that qpkg only traces one level of dependencies...kdelibs was probably an indirect dep. emerge -ep rosegarden might give you some insight. Or not. Dunno. -Heschi > I don't suppose you know how to go any further in terms of determining what > portion of kdemultimedia Rosegarden is actually using do you? None of the > options in the man page seem to suggest this tool can go that far. -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] qpkg -q - am I interpreting it correctly?
> Hello Mark, > I don't know how to handle this with qpkg, I prefer etcat (in > app-portage/gentoolkit). > > [EMAIL PROTECTED] ~ $ etcat -d kdemultimedia | grep rosegarden > * media-sound/rosegarden-4.0.9 > * media-sound/rosegarden-4.0.8.5 > > So rosegarden seems to depend on kdemultimedia. > > HTH > Michael Thanks Michael! I have no problems at all with using etcat. I didn't actually know about it. It seems to work nicely though. I don't suppose you know how to go any further in terms of determining what portion of kdemultimedia Rosegarden is actually using do you? None of the options in the man page seem to suggest this tool can go that far. There must be some sort of tools for figuring out (maybe when a program is running) what it's calling and where it's getting it? Anyway, thanks much for the new tool. Cheers, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] qpkg -q - am I interpreting it correctly?
Am Donnerstag, 28. August 2003 22:54 schrieb Mark Knecht: > Brett, >Ok, so that limits the output a bit, but it still doesn't show me that > Rosegarden (which installed kdemultimedia) actually depends on > kdemultimedia. > >Or can I infer that kdemultimedia is not needed by anything (except > itself?) and remove it safely? Maybe the ebuild incorrectly installed it, > but the program doesn't depend on it? > > Thanks, > Mark Hello Mark, I don't know how to handle this with qpkg, I prefer etcat (in app-portage/gentoolkit). [EMAIL PROTECTED] ~ $ etcat -d kdemultimedia | grep rosegarden * media-sound/rosegarden-4.0.9 * media-sound/rosegarden-4.0.8.5 So rosegarden seems to depend on kdemultimedia. HTH Michael -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] qpkg -q - am I interpreting it correctly?
Brett, Ok, so that limits the output a bit, but it still doesn't show me that Rosegarden (which installed kdemultimedia) actually depends on kdemultimedia. Or can I infer that kdemultimedia is not needed by anything (except itself?) and remove it safely? Maybe the ebuild incorrectly installed it, but the program doesn't depend on it? Thanks, Mark Wizard root # qpkg -I -q kdemultimedia kde-base/kdemultimedia-3.1.3 * DEPENDS ON BY: Wizard root # > -Original Message- > From: brett holcomb [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 1:18 PM > To: [EMAIL PROTECTED] > Subject: Re: [gentoo-user] qpkg -q - am I interpreting it correctly? > > > I believe you need the -I option to limit it to installed > packages. > > On Thu, 28 Aug 2003 13:14:15 -0700 > "Mark Knecht" <[EMAIL PROTECTED]> wrote: > >Hi, > >Isn't qpkg -q supposed to show me the installed > >packages that depend on > >the package I list in the command? I think I must be > >misunderstanding the > >man page, but that's what I read. > > > >I emerged Rosegarden last night on one of my studio > > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] qpkg -q - am I interpreting it correctly?
I believe you need the -I option to limit it to installed packages. On Thu, 28 Aug 2003 13:14:15 -0700 "Mark Knecht" <[EMAIL PROTECTED]> wrote: Hi, Isn't qpkg -q supposed to show me the installed packages that depend on the package I list in the command? I think I must be misunderstanding the man page, but that's what I read. I emerged Rosegarden last night on one of my studio -- [EMAIL PROTECTED] mailing list
[gentoo-user] qpkg -q - am I interpreting it correctly?
Hi, Isn't qpkg -q supposed to show me the installed packages that depend on the package I list in the command? I think I must be misunderstanding the man page, but that's what I read. I emerged Rosegarden last night on one of my studio machines. The emerge went fine and the program is running, but the process threw me for a bit of a loop. I'll show results from two different machines to demonstrate the question. Both machines are updated as of last night for ~x86 and their USE flags are identical. (And pretty boring...) When I asked the studio machine to install Rosegarden, it emerged kdemultimedia. (Shown just below on machine 'Gentoo2 which doesn't have RG emerged yet.) I was a bit surprised this was necessary, but let it proceed. On Wizard, the machine that actually has Rosegarden, I ran qpkg -q to see what packages depend on kdemultimedia. It does not show me Rosegarden, even though RG is installed. Maybe I'm using the wrong qpkg option? I want to see what packages would break if I uninstalled kdemultimedia. Thanks, Mark bash-2.05b$ su - Password: Gentoo2 root # emerge --deep --update -p rosegarden These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] x11-libs/openmotif-2.2.2-r2 [ebuild N] kde-base/kdemultimedia-3.1.3 [ebuild N] media-sound/rosegarden-4.0.9 Gentoo2 root # Wizard root # qpkg -q kdemultimedia kde-base/kdemultimedia-3.1.3 * DEPENDED ON BY: kde-base/kdemultimedia-2.2.2-r1 DEPENDED ON BY: kde-base/kdemultimedia-3.0.4 DEPENDED ON BY: kde-base/kdemultimedia-3.1.3 DEPENDED ON BY: kde-base/kdemultimedia-3.0.5b DEPENDED ON BY: kde-base/kdemultimedia-3.1.1 DEPENDED ON BY: kde-base/kdemultimedia-3.1.2 DEPENDED ON BY: kde-base/kdemultimedia-3.1.2-r1 DEPENDED ON BY: Wizard root # -- [EMAIL PROTECTED] mailing list