* [gentoo-user] setting path for qpkg @ 2005-12-15 16:22 James 2005-12-15 16:48 ` Neil Bothwick ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: James @ 2005-12-15 16:22 UTC (permalink / raw To: gentoo-user Hello, qpkg is not accessible, due to the path, unless I use: /usr/lib/gentoolkit/bin/qpkg Where is the best (bash shell) place to set this path once, so I do not have to type out the fully qualified pathname of the executable? I'd like it to survive the machinations of emerge, env-update et. al... /root/.bashrc ? I also would have thought that installing it from an emerge would set the path automatically? James -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 16:22 [gentoo-user] setting path for qpkg James @ 2005-12-15 16:48 ` Neil Bothwick 2005-12-15 18:00 ` [gentoo-user] " James 2005-12-15 16:56 ` [gentoo-user] " Paul Varner 2005-12-15 17:11 ` Francesco Riosa 2 siblings, 1 reply; 15+ messages in thread From: Neil Bothwick @ 2005-12-15 16:48 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 697 bytes --] On Thu, 15 Dec 2005 16:22:16 +0000 (UTC), James wrote: > qpkg is not accessible, due to the path, unless > I use: /usr/lib/gentoolkit/bin/qpkg > > Where is the best (bash shell) place to > set this path once, so I do not have to > type out the fully qualified pathname > of the executable? > I'd like it to survive the machinations of > emerge, env-update et. al... I just copy it to /usr/local/bin. Since /usr/local/bin/qpkg is not owned by gentoolkit, it won't be touched by portage. An update to gentoolkit will reinstall qpkg in the original location, but it will be the same version as qpkg is deprecated. -- Neil Bothwick C Error #011: First C Program, huh? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-user] Re: setting path for qpkg 2005-12-15 16:48 ` Neil Bothwick @ 2005-12-15 18:00 ` James 0 siblings, 0 replies; 15+ messages in thread From: James @ 2005-12-15 18:00 UTC (permalink / raw To: gentoo-user Neil Bothwick <neil <at> digimed.co.uk> writes: > > I use: /usr/lib/gentoolkit/bin/qpkg > I just copy it to /usr/local/bin. Since /usr/local/bin/qpkg is not owned > by gentoolkit, it won't be touched by portage. An update to gentoolkit > will reinstall qpkg in the original location, but it will be the same > version as qpkg is deprecated. ah! deprecated, and so young...... thx, James -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 16:22 [gentoo-user] setting path for qpkg James 2005-12-15 16:48 ` Neil Bothwick @ 2005-12-15 16:56 ` Paul Varner 2005-12-15 18:14 ` [gentoo-user] " James 2005-12-15 19:11 ` [gentoo-user] " Neil Bothwick 2005-12-15 17:11 ` Francesco Riosa 2 siblings, 2 replies; 15+ messages in thread From: Paul Varner @ 2005-12-15 16:56 UTC (permalink / raw To: gentoo-user On Thu, 2005-12-15 at 16:22 +0000, James wrote: > qpkg is not accessible, due to the path, unless > I use: /usr/lib/gentoolkit/bin/qpkg > > Where is the best (bash shell) place to > set this path once, so I do not have to > type out the fully qualified pathname > of the executable? > I'd like it to survive the machinations of > emerge, env-update et. al... > > /root/.bashrc ? > > I also would have thought that installing it > from an emerge would set the path automatically? It is deprecated, which is why it is no longer in the path. My recomendation is to create a symbolic link in /usr/local/bin (which is in the default path) ln -s /usr/lib/gentoolkit/bin/qpkg /usr/local/bin/qpkg Answering your question about paths, the place to put it would be /root/.bashrc export PATH=$PATH:/usr/lib/gentoolkit/bin Regards, Paul -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-user] Re: setting path for qpkg 2005-12-15 16:56 ` [gentoo-user] " Paul Varner @ 2005-12-15 18:14 ` James 2005-12-15 19:11 ` [gentoo-user] " Neil Bothwick 1 sibling, 0 replies; 15+ messages in thread From: James @ 2005-12-15 18:14 UTC (permalink / raw To: gentoo-user Paul Varner <fuzzyray <at> gentoo.org> writes: > > I use: /usr/lib/gentoolkit/bin/qpkg > ln -s /usr/lib/gentoolkit/bin/qpkg /usr/local/bin/qpkg Yes, I rather like this symlink approach. > Answering your question about paths, the place to put it would > be /root/.bashrc > export PATH=$PATH:/usr/lib/gentoolkit/bin Very kind of you to remind me via syntax on exporting the path. James -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 16:56 ` [gentoo-user] " Paul Varner 2005-12-15 18:14 ` [gentoo-user] " James @ 2005-12-15 19:11 ` Neil Bothwick 1 sibling, 0 replies; 15+ messages in thread From: Neil Bothwick @ 2005-12-15 19:11 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 400 bytes --] On Thu, 15 Dec 2005 10:56:30 -0600, Paul Varner wrote: > My recomendation is to create a symbolic link in /usr/local/bin (which > is in the default path) That doesn't work with gentoolkit-0.2.1*, because qpkg is now in /usr/share/doc/$PF/deprecated/qpkg/qpkg, so an upgrade of gentoolkit would break the link. -- Neil Bothwick WinErr 005: Multitasking attempted - System confused [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 16:22 [gentoo-user] setting path for qpkg James 2005-12-15 16:48 ` Neil Bothwick 2005-12-15 16:56 ` [gentoo-user] " Paul Varner @ 2005-12-15 17:11 ` Francesco Riosa 2005-12-15 18:27 ` [gentoo-user] " James 2005-12-15 19:12 ` [gentoo-user] " Neil Bothwick 2 siblings, 2 replies; 15+ messages in thread From: Francesco Riosa @ 2005-12-15 17:11 UTC (permalink / raw To: gentoo-user James wrote: > Hello, > > qpkg is not accessible, due to the path, unless > I use: /usr/lib/gentoolkit/bin/qpkg > > Where is the best (bash shell) place to > set this path once, so I do not have to > type out the fully qualified pathname > of the executable? > I'd like it to survive the machinations of > emerge, env-update et. al... > > /root/.bashrc ? > > I also would have thought that installing it > from an emerge would set the path automatically? > > why not to do a litle jump and go with app-portage/portage-utils ? #q --help Usage: q <applet> [arguments]... Currently defined applets: q <applet> <args> : virtual applet qcheck <pkgname> : verify mtimes/digests qdepends <pkgname> : show dependency info qfile <filename> : list all pkgs owning files qgrep <misc args> : grep in ebuilds qlist <pkgname> : list files owned by pkgname qlop <pkgname> : emerge log analyzer qpkg <misc args> : manipulate Gentoo binpkgs qsearch <regex> : search pkgname/desc qsize <pkgname> : calculate size usage qtbz2 <misc args> : manipulate tbz2 packages quse <useflag> : find pkgs using useflags qxpak <misc args> : manipulate xpak archives Options: -[irvQChV] -i, --install * Install symlinks for applets -r, --reinitialize * Reinitialize ebuild cache -v, --verbose * Make a lot of noise -Q, --quiet * Suppress warnings and errors -C, --nocolor * Don't output color -h, --help * Print this help and exit -V, --version * Print version and exit cheers, Francesco R: -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-user] Re: setting path for qpkg 2005-12-15 17:11 ` Francesco Riosa @ 2005-12-15 18:27 ` James 2005-12-15 19:12 ` [gentoo-user] " Neil Bothwick 1 sibling, 0 replies; 15+ messages in thread From: James @ 2005-12-15 18:27 UTC (permalink / raw To: gentoo-user Francesco Riosa <BastianBalthazarBux <at> pnpitalia.it> writes: > why not to do a litle jump and go with app-portage/portage-utils ? Dude, (are old_farts allowed to use terms like dude?) with Gentoo, I do a lot of jumping. Granted, I have things working better than ever on computers, but, I 'jump' all day long just to keep my gentoo_boxen running smoothly. You do know that all computers are inherently asynchronous (female), don't you? It's a good thing I still play basketball with the kids, cause Gentoo has me jumping all over the place..... Some days I jump so much, I end up exactly where I started from. Jumping can also be hazardous as one who has lots of electrical devices about.... thanks for the tip. James -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 17:11 ` Francesco Riosa 2005-12-15 18:27 ` [gentoo-user] " James @ 2005-12-15 19:12 ` Neil Bothwick 2005-12-15 19:26 ` Paul Varner 1 sibling, 1 reply; 15+ messages in thread From: Neil Bothwick @ 2005-12-15 19:12 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 363 bytes --] On Thu, 15 Dec 2005 18:11:04 +0100, Francesco Riosa wrote: > why not to do a litle jump and go with app-portage/portage-utils ? Because it doesn't appear to offer features that qpkg does, for example; listing all installed packages in a particular category qpkg -I -g kde-base -- Neil Bothwick If you shoot a mime, should you use a silencer? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 19:12 ` [gentoo-user] " Neil Bothwick @ 2005-12-15 19:26 ` Paul Varner 2005-12-15 20:08 ` [gentoo-user] " James ` (2 more replies) 0 siblings, 3 replies; 15+ messages in thread From: Paul Varner @ 2005-12-15 19:26 UTC (permalink / raw To: gentoo-user On Thu, 2005-12-15 at 19:12 +0000, Neil Bothwick wrote: > On Thu, 15 Dec 2005 18:11:04 +0100, Francesco Riosa wrote: > > > why not to do a litle jump and go with app-portage/portage-utils ? > > Because it doesn't appear to offer features that qpkg does, for example; > listing all installed packages in a particular category > > qpkg -I -g kde-base Actually it does: qlist -I kde-base Will show all installed packages in kde-base Regards, Paul -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* [gentoo-user] Re: setting path for qpkg 2005-12-15 19:26 ` Paul Varner @ 2005-12-15 20:08 ` James 2005-12-15 20:56 ` Francesco Riosa 2005-12-15 21:52 ` Paul Varner 2005-12-15 21:45 ` [gentoo-user] " Neil Bothwick 2005-12-15 23:01 ` Peter Ruskin 2 siblings, 2 replies; 15+ messages in thread From: James @ 2005-12-15 20:08 UTC (permalink / raw To: gentoo-user Paul Varner <fuzzyray <at> gentoo.org> writes: > Actually it does: OK, let's say I'm looking or 'theoraenc' I just ran 'qgrep theora *' and got lots of hits, I ran 'qgrep theoraenc *' and got nothing.... Does this mean no (ebuild) contains theoraenc ? qpkg -i theoraenc returns empty....too How do I know somenthing I'm looking for (like theoraenc) actually is or is not part of an ebuild or a family of ebuilds like 'media-video' ? suggestions? syntax using portage-utils? James -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Re: setting path for qpkg 2005-12-15 20:08 ` [gentoo-user] " James @ 2005-12-15 20:56 ` Francesco Riosa 2005-12-15 21:52 ` Paul Varner 1 sibling, 0 replies; 15+ messages in thread From: Francesco Riosa @ 2005-12-15 20:56 UTC (permalink / raw To: gentoo-user James wrote: > Paul Varner <fuzzyray <at> gentoo.org> writes: > > > >> Actually it does: >> > > OK, let's say I'm looking or 'theoraenc' > > I just ran 'qgrep theora *' and got lots of hits, > > I ran 'qgrep theoraenc *' and got nothing.... > "qgrep theora" is actually similar to "grep theora $PORTDIR/*-*/*/*.ebuild" I think what you are looking for is #qsearch theora media-libs/libtheora The Theora Video Compression Codec media-video/ffmpeg2theora A simple converter to create Ogg Theora files. also the "*" is expanded by bash to the list of the packages of the current directory (if not surrounded writen like "*" or prefixed like this \* ) so with grep theora * the result is to grep the ebuilds for theora and the content of the directory you are in ;) others will tell how to use qpkg I forgot it ;-) -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Re: setting path for qpkg 2005-12-15 20:08 ` [gentoo-user] " James 2005-12-15 20:56 ` Francesco Riosa @ 2005-12-15 21:52 ` Paul Varner 1 sibling, 0 replies; 15+ messages in thread From: Paul Varner @ 2005-12-15 21:52 UTC (permalink / raw To: gentoo-user On Thu, 2005-12-15 at 20:08 +0000, James wrote: > OK, let's say I'm looking or 'theoraenc' > > I just ran 'qgrep theora *' and got lots of hits, > > I ran 'qgrep theoraenc *' and got nothing.... > > Does this mean no (ebuild) contains theoraenc ? > > qpkg -i theoraenc returns empty....too > > How do I know somenthing I'm looking for (like theoraenc) > actually is or is not part of an ebuild > or a family of ebuilds like 'media-video' ? > > > suggestions? > syntax using portage-utils? There are no tools for searching for uninstalled files. Here is what I did 1. emerge --search theora (if you don't like the slowness, then install and use either esearch or eix) Searching... [ Results for search key : theora ] [ Applications found : 3 ] * media-libs/libtheora Latest version available: 1.0_alpha3 Latest version installed: [ Not Installed ] Size of downloaded files: 851 kB Homepage: http://www.theora.org/ Description: The Theora Video Compression Codec License: xiph * media-plugins/gst-plugins-theora Latest version available: 0.8.10 Latest version installed: [ Not Installed ] Size of downloaded files: 2,341 kB Homepage: http://gstreamer.freedesktop.org/modules/gst-plugins.html Description: plugin for gstreamer License: GPL-2 * media-video/ffmpeg2theora [ Masked ] Latest version available: 0.15 Latest version installed: [ Not Installed ] Size of downloaded files: 194 kB Homepage: http://www.v2v.cc/~j/ffmpeg2theora/ Description: A simple converter to create Ogg Theora files. License: GPL-2 2. Based upon descriptions, it looks like libtheora is what I need 3. emerge -pv libtheora These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/libtheora-1.0_alpha3 851 kB 4. Looks okay, so run emerge -v libtheora <snip> >>> Merging media-libs/libtheora-1.0_alpha5 to / --- /usr/ --- /usr/lib/ >>> /usr/lib/libtheora.so.0.2.0 >>> /usr/lib/libtheora.so.0 -> libtheora.so.0.2.0 >>> /usr/lib/libtheora.so -> libtheora.so.0.2.0 >>> /usr/lib/libtheora.la >>> /usr/lib/libtheora.a --- /usr/lib/pkgconfig/ >>> /usr/lib/pkgconfig/theora.pc --- /usr/include/ >>> /usr/include/theora/ >>> /usr/include/theora/theora.h --- /usr/share/ --- /usr/share/doc/ >>> /usr/share/doc/libtheora-1.0_alpha5/ >>> /usr/share/doc/libtheora-1.0_alpha5/vp3-format.txt >>> /usr/share/doc/libtheora-1.0_alpha5/color.html >>> /usr/share/doc/libtheora-1.0_alpha5/doxygen-build.stamp >>> /usr/share/doc/libtheora-1.0_alpha5/README.gz >>> Regenerating /etc/ld.so.cache... >>> media-libs/libtheora-1.0_alpha5 merged. Hmm, nothing installed into /usr/bin, just libraries 5. Goto http://www.theora.org/ listed as the homepage 6. Click on FAQ, followed by "How can I encode videos to Theora?" 7. Get the following answer: Have a look at ogg-theora-microhowto and transcode quicktime mov files to Theora files under Linux. You can use libogg, to wrap theora video with vorbis audio in Ogg file. A user-friendly way to convert .dv and .avi format video into Ogg Theora format is with ffmpeg2theora. It can be found at: http://www.v2v.cc/~j/ffmpeg2theora/ A way to both stream and encode theora format video is with videolan (VLC). Example for streaming the video4linux device in ogg theora/vorbis: vlc v4l:/dev/video:input=3:norm=pal:size=384x288 --sout \ '#transcode{vcodec=theora,vb=300,acodec=vorb,ab=96}:std{access=http,mux=ogg,url=server.example.org:8000}' Or, replace "v4l:/dev/video:input=3:norm=pal:size=384x288" with a filename if you want to transcode. For more on the vlc syntax, see: http://videolan.org/doc/videolan-howto/en/ch09.html 9. So in order to encode theora files, I need to install ffmpeg2theora and/or vlc. I saw ffmpeg2theora listed in the previous emerge --search, but it was masked. Let's look at vlc 10. emerge --search vlc Searching... [ Results for search key : vlc ] [ Applications found : 1 ] * media-video/vlc Latest version available: 0.8.1-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 4,765 kB Homepage: http://www.videolan.org/vlc/ Description: VLC media player - Video player and streamer License: GPL-2 11. emerge -pv vlc These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/gd-2.0.32 +X -fontconfig +jpeg +png -truetype 573 kB [ebuild N ] media-gfx/graphviz-1.16-r1 -tcltk 4,284 kB [ebuild N ] app-doc/doxygen-1.4.4 -doc -qt -tetex 2,787 kB [ebuild N ] media-libs/libdvbpsi-0.1.3 187 kB [ebuild N ] media-video/vlc-0.8.1-r1 -3dfx +X -a52 -aac -aalib +alsa (-altivec) +arts -bidi -cdda -cddb -cdio -debug -dts -dvb -dvd +esd -fbcon -ffmpeg -flac -freetype -ggi -gnutls +gtk2 -httpd -joystick -libcaca -lirc -live -mad -matroska -mpeg -nls -ogg -opengl -oss -sdl +ssl -stream -svg -svga -theora -unicode -v4l -vcd -vlm +vorbis -wxwindows -xosd -xv 4,765 kB 12. It's not masked and has a theora USE flag. So I'm presuming that adding "media-video/vlc theora" to /etc/portage/package.use and running emerge -v vlc will do it Regards, Paul -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 19:26 ` Paul Varner 2005-12-15 20:08 ` [gentoo-user] " James @ 2005-12-15 21:45 ` Neil Bothwick 2005-12-15 23:01 ` Peter Ruskin 2 siblings, 0 replies; 15+ messages in thread From: Neil Bothwick @ 2005-12-15 21:45 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 543 bytes --] On Thu, 15 Dec 2005 13:26:47 -0600, Paul Varner wrote: > > Because it doesn't appear to offer features that qpkg does, for > > example; listing all installed packages in a particular category > > > > qpkg -I -g kde-base > > Actually it does: > > qlist -I kde-base > > Will show all installed packages in kde-base So it does, neat. That will teach me to only believe the man page, it makes no mention of this, only that it lists the contents of a package :( -- Neil Bothwick IRQs? We don't need no stinking IRQs! [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] setting path for qpkg 2005-12-15 19:26 ` Paul Varner 2005-12-15 20:08 ` [gentoo-user] " James 2005-12-15 21:45 ` [gentoo-user] " Neil Bothwick @ 2005-12-15 23:01 ` Peter Ruskin 2 siblings, 0 replies; 15+ messages in thread From: Peter Ruskin @ 2005-12-15 23:01 UTC (permalink / raw To: gentoo-user On Thursday 15 December 2005 19:26, Paul Varner wrote: > On Thu, 2005-12-15 at 19:12 +0000, Neil Bothwick wrote: > > On Thu, 15 Dec 2005 18:11:04 +0100, Francesco Riosa wrote: > > > why not to do a litle jump and go with > > > app-portage/portage-utils ? > > > > Because it doesn't appear to offer features that qpkg does, for > > example; listing all installed packages in a particular > > category > > > > qpkg -I -g kde-base > > Actually it does: > > qlist -I kde-base > > Will show all installed packages in kde-base > > Regards, > Paul Also, qlist kde-base/arts-3.5.0 is *much* faster than qpkg -l kde-base/arts-3.5.0 -- Peter ======================================================================== Gentoo Linux: Portage 2.0.51.22-r3. kernel-2.6.14-gentoo-r4. i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.4.4. KDE: 3.5.0. Qt: 3.3.4. ======================================================================== -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-12-15 23:05 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-12-15 16:22 [gentoo-user] setting path for qpkg James 2005-12-15 16:48 ` Neil Bothwick 2005-12-15 18:00 ` [gentoo-user] " James 2005-12-15 16:56 ` [gentoo-user] " Paul Varner 2005-12-15 18:14 ` [gentoo-user] " James 2005-12-15 19:11 ` [gentoo-user] " Neil Bothwick 2005-12-15 17:11 ` Francesco Riosa 2005-12-15 18:27 ` [gentoo-user] " James 2005-12-15 19:12 ` [gentoo-user] " Neil Bothwick 2005-12-15 19:26 ` Paul Varner 2005-12-15 20:08 ` [gentoo-user] " James 2005-12-15 20:56 ` Francesco Riosa 2005-12-15 21:52 ` Paul Varner 2005-12-15 21:45 ` [gentoo-user] " Neil Bothwick 2005-12-15 23:01 ` Peter Ruskin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox