[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
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



[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
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



[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
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



[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
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 theoraencreturns emptytoo

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



Re: [gentoo-user] Re: setting path for qpkg

2005-12-15 Thread Francesco Riosa
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



Re: [gentoo-user] Re: setting path for qpkg

2005-12-15 Thread Paul Varner
On Thu, 2005-12-15 at 20:08 +, 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 theoraencreturns emptytoo
 
 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