Re: [gentoo-user] Stable MythTV removed from portage?

2006-07-03 Thread David Morgan
On 09:34 Tue 04 Jul , Nick Rout wrote:
 On Mon, 3 Jul 2006 06:05:30 -0700
 Mark Knecht wrote:
  More importantly (to me) is that when looking at a distro like this
  what are the issues with  leaving an older revision in portage? I
  don't see what the maintainance issues are. It's been a working ebuild
  for a long time. Why remove it. Just leave it there. 
 
 How far back should it go? Should we leave beta versions of firefox in
 portage? How about kde 1? How bloody big do you want the portage tree to
 be? How about when some dependency is no longer compatible with myth
 0.18 ?


More importantly, there was a security issue with the version that was
removed.

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Join plain text paragraphs

2006-06-13 Thread David Morgan
On 22:46 Mon 12 Jun , JimD wrote:
 David Morgan wrote:
  On 18:53 Mon 12 Jun , JimD wrote:
  Sweet.  Thanks for the tips.  I need to start using OOo more ;-)
  
  No need.
  
  sed -e :a -e '$!N;s/\n[^$]//;ta' -e 'p;D' filename
 
 Close.  It is removing the first character of every paragraph.  I am
 trying to digitize my book collection.  For example, here is a test
 output from Narnia - The Magician's Nephew:

Indeed - didn't my corrected version get through? I received it before I
received your reply anyway.

sed -e :a -e '$!N;s/\n\([^$]\)/\1/;ta' -e 'p;D' filename

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Join plain text paragraphs

2006-06-12 Thread David Morgan
On 18:53 Mon 12 Jun , JimD wrote:
 Sweet.  Thanks for the tips.  I need to start using OOo more ;-)

No need.

sed -e :a -e '$!N;s/\n[^$]//;ta' -e 'p;D' filename

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Join plain text paragraphs

2006-06-12 Thread David Morgan
On 00:13 Tue 13 Jun , David Morgan wrote:
 sed -e :a -e '$!N;s/\n[^$]//;ta' -e 'p;D' filename

Gosh, what was I thinking?

sed -e :a -e '$!N;s/\n\([^$]\)/\1/;ta' -e 'p;D' filename

I expect there's a slightly nicer way, but I'm tired and I have an exam
in the morning...

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge running forever

2006-06-11 Thread David Morgan
On 10:40 Sun 11 Jun , Teresa and Dale wrote:
 Till Schwalbe wrote:
 
 If you did an upgrade to portage 2.1 you had to run emerge --metadata 
 before 
 any further usage of emerge. 
 I just did another emerge sync.  It worked fine after that.
 

Yarrr, emerge --metadata get run as part of emerge --sync, but you
shouldn't be resyncing straight away, and this lets you recreate the
cache database straight away without having to wait... 

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] I can't get my wengophone account

2006-05-02 Thread David Morgan
On 12:24 Tue 02 May , Ptitjack wrote:
 Hi all,
 
 I just emerged Wengophone.
 When I run Wengophone as user, I have to get my first Wengo account.
 A new window is opening with : You don't have a Wengo account ? Click here.
 Problem, the link does not work ! When I click on it, nothing happens !
 What can I do ??
 Thanks for your help,
 
 

What browswer do you have specified in preferred applications?
(gnome-control-center) - that could be the problem.


-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] why firefox is so slow?

2006-04-30 Thread David Morgan
On 21:11 Sun 30 Apr , Jeff Rollin wrote:
 I didn't say DG_DISABLE_DEBUG was a USE flag, I said it was a CFLAG. And it
 improves the speed of KDE applications too

Oh, yeah. I couldn't understand why people raved about the speed of Gentoo
till I added USE=-DG_DISABLE_DEBUG

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] why firefox is so slow?

2006-04-30 Thread David Morgan
On 02:04 Mon 01 May , Farhan Ahmed wrote:
 Jeff Rollin wrote:
  I didn't say DG_DISABLE_DEBUG was a USE flag, I said it was a CFLAG. And it
  improves the speed of KDE applications too
 
 Read your earlier post.. Anyway where is this CFLAGS 'DG_DISABLE_DEBUG'
 documented? I cant find any reference to it in man gcc. No usable
 results came up when i googled it..
 

$cat example.c
#include stdio.h

#ifdef FISH
#define A 1
#endif

int main()
{
if (A == 1)
printf(fish!\n);
}

$ gcc -DFISH example.c -o example
$ ./example
fish!

$ gcc example.c -o example
example.c: In function ‘main’:
example.c:9: error: ‘A’ undeclared (first use in this function)
example.c:9: error: (Each undeclared identifier is reported only once
example.c:9: error: for each function it appears in.)

(a fairly contrived example, I know)

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Quo vadis nethack?

2006-04-01 Thread David Morgan
On 08:27 Sat 01 Apr , Kevin O'Gorman wrote:
 I just noticed that emerge sync is complaining that there are no packages
 for
 nethack.  When and why did this venerable game get dropped?
 

It's still there, just masked. https://bugs.gentoo.org/show_bug.cgi?id=125902

-- 
Join The no2id Coalition, http://www.no2id.net/

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] System bell

2006-03-31 Thread David Morgan
On 16:46 Fri 31 Mar , [EMAIL PROTECTED] wrote:
 Hi all, 
 after emerging and emerging . . .
 and an enrge --newuse world
 the system bell keeps on not working.
 With System bell I mean:
 KDE Control Center - Sound  Miltimedia - System bell
 
 I controlled the volume levels on kmix and aumix.
 
 I do not know which other attempt to try.
 
 Bye
 emilio
 -- 
 gentoo-user@gentoo.org mailing list
 

CONFIG_INPUT_PCSPKR ?

-- 
djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: System bell

2006-03-31 Thread David Morgan
On 11:18 Fri 31 Mar , Teresa and Dale wrote:
 Same here.  I just thought it was me changing something and not
 remembering it.  It used to work though.  I suspect a etc-update somewhere.
 

Ahh, you weren't clear about whether or not it had stopped working or
had never worked.

Does it work when you aren't running X? And in X try running `xset b` (I
don't know anything about KDE though, you might like to try running
something else when trying to track down the problem (twm would do)).

-- 
Join The no2id Coalition, http://www.no2id.net/
http://www.pledgebank.com/resist

djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo

2006-03-23 Thread David Morgan
On 23:38 Thu 23 Mar , Renat Golubchyk wrote:
 Careful with those quotation marks - you might want to escape them ;-)
 I would use single quotes on the outside to avoid the confusion:
 
 sudo 'echo app-portage/porthole ~*  /etc/portage/package.keywords'
 


Do that and it'll say

sudo: echo app-portage/porthole ~*  /etc/portage/package.keywords: command 
not found

This has been discussed on here before.

The problem is that if you do `sudo echo foo  bar`, the echo is being
run as root, but the writing to bar isn't.

In this case, you might like to look at app-portage/flagedit (it's less
typing for a start).

-- 
djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Created an ebuild for Courier-Imap 4.1.0

2006-03-11 Thread David Morgan
On 13:10 Sat 11 Mar , James Colannino wrote:
 Hey everyone.  I had noticed that all the ebuilds for Courier-Imap were 
 extremely stale.  I thought that this was incredibly bad, so I took the 
 ebuild for 4.0.4, and with absolutely no modifications whatsoever (aside 
 from renaming the ebuild from 4.0.4.ebuild to 4.1.0.ebuild), it 
 successfully emerged the latest version.
 
 Should I post it on bugzilla?  If I do, what do you think is the 
 likelihood that it will be included in the official portage tree?  I 
 want others to be able to have access to the latest courier package and 
 not just me.
 
 James
 

https://bugs.gentoo.org/show_bug.cgi?id=124985

But then you knew that...

-- 
djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no sound when playing flash

2006-02-28 Thread David Morgan
On 14:42 Tue 28 Feb , Zac Slade wrote:
 On Tuesday 28 February 2006 10:19, Daniel da Veiga wrote:
  I once had the same problem, solved it using ESD (well, not the best
  solution, but it works), so, at my startup script I have esd  and
  flash anims have sound...
 It's not only the best solution it is the only solution.  Flash uses esd for 
 sound.  You can start it everytime you start your web browser or you can add 
 esound to your default run level.
 

eh? I have sound with flash and I don't have esd installed.

I don't have proper hardware mixing though, so when I want to hear
sound with flash I usually have to restart firefox or it doesn't work.

Presumably this is fixable, and is due to flash using oss rather than
alsa, but I haven't really tried.

On a computer with a soundcard that does do hardware mixing (and without
esd installed) I could get sound with flash whilst other things were
playing sound though.

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no sound when playing flash

2006-02-28 Thread David Morgan
On 15:22 Tue 28 Feb , Zac Slade wrote:
 Or as I found there are alternatives here, try launching firefox with artsdsp 
 firefox, or alternatively aoss firefox.  This will play all sound through a 
 muxer and will allow it to play nice even on machines without hardware 
 mixing.
 
 So to recap, you don't need esd anymore, just working OSS (ALSA provides OSS 
 compatibility).  If you are having trouble with it playing while other things 
 are playing sound try using aoss or artsdsp to mux the sounds for you (or esd 
 if you like).
 


aoss firefox works, and I've changed line 454 of
/usr/libexec/mozilla-launcher to 

aoss $mozbin $@ 

which will hopefully do the same thing

-- 
djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] big problem with emerge

2006-01-18 Thread David Morgan
On 19:13 Wed 18 Jan , Manuel Pérez López wrote:
 Hello everyone:
 
 Yesterday I did a portage sync, and now I can not emerge anything. Help me to 
 correct this issue. See this lines:
 
 # emerge -pvuD world
 
 
 Performing Global Updates: /usr/portage/profiles/updates/1Q-2006
 (Could take a couple of minutes if you have a lot of binary packages.)
   .='update pass'  *='binary update'  @='/var/db move'
   s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
 KeyError: Specific key requires an operator (dev-perl/DateTime-0.2901) (try 
 adding an '=')

This is a known issue, which I think has been fixed now. So just emerge
sync again and you should be ok.

-- 
djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] *.bin and /dev/loop help

2006-01-17 Thread David Morgan
On 17:13 Tue 17 Jan , krgn wrote:
 Which Kernel options are necessary (could  not find
 anything about /dev/loop in ck-patched 2.6.15) and how is the procedure
 to mount this binary image?
 

Symbol: BLK_DEV_LOOP [=y]
Prompt: Loopback device support
  Defined at drivers/block/Kconfig:261
  Location:
- Device Drivers
  - Block devices

mount -o loop

-- 
djm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Deer Park instead of FireFox

2006-01-14 Thread David Morgan
On 18:15 Sat 14 Jan , Sven Köhler wrote:
 Hi,
 
 i just installed mozilla-firefox-1.5-r9. So when i start it, it says
 hooray, you've got Deer Park Alpha 2 installed! Thank you, for helping
 us testing.
 
 So what is Deer Park?
 What's the difference to a normal FireFox 1.5?
 
 Or the main question is: Why does that gentoo-ebuild install Deer Park,
 and not just plain FireFox?

Dear Park was the development name of firefox-1.5.

As for why it says Deer Park and not firefox, read the einfo.

Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: printing lots of file.doc files

2006-01-04 Thread David Morgan
On 21:31 Wed 04 Jan , Tom Martin wrote:
 On Wed, 4 Jan 2006 20:44:05 + (UTC)
 James [EMAIL PROTECTED] wrote:
 
  Hello,
  
  Kind of a strange request, but I have been given a work assignment
  that forces me to keep many documents in .doc format. If I have a dir
  full of these, but I use to lp/lpr style printing, how do I print a
  passel of .doc files without going into OO to load and print each one
  individually?
  
  Command line of a simple script will do, but googling has produced
  nothing. I did not find anything under KDE to acheive this, but, my
  searching for a KDE method is, well lacking
  
  ideas?
 
 app-text/wv might be usable -- it can convert docs to PDF or
 postscript. If the quality isn't that great (I've never tried it) or
 the documents are quite complex, I think you're going to have to find a
 way to do it from within OpenOffice.
 

Other options would be antiword and catdoc.

You'll probably be able to get something readable as long as the .doc
files don't contain tables...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Filename modification with suffix

2005-12-29 Thread David Morgan
On 14:24 Thu 29 Dec , Marco Calviani wrote:
 i have files of the type:
 
 duck1.jpg
 duck2.jpg
 duck3.jpg
 
 and i would like them to become:
 
 donald_duck1.jpg
 donald_duck2.jpg
 donald_duck3.jpg
 

for i in duck*.jpg ; do mv ${i} donald_${i} ; done
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] *** glibc detected *** malloc(): memory corruption (fast): 0x081fb2c1 ***

2005-11-19 Thread David Morgan
On 06:44 Sat 19 Nov , fire-eyes wrote:
 Well, you aren't running one then :) As for getting around, I haven't
 figured out a way. It's very frustrating to note that I haven't been
 able to ever find help about this. Makes one feel on your own...

It's not kernel related, it's glibc telling you that you screwed up with
memory allocation somewhere.

The only 'fix' is to fix your code, so no one can help without seeing it
(apart from maybe listing some common mistakes that cause this).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Replacement for qpkg... please!?!?

2005-11-02 Thread David Morgan
On 17:28 Wed 02 Nov , Dale wrote:
 Walter Dnes wrote:
 
 
 
   The tetex tarball is 85 megs alone.  I've managed to emerge and update
 everything else after last night's sync, so these aren't dependencies of
 those packages.  With qpkg, I could find out what depends on this stuff.
 Help!.
 
   
 
 Try equery.  It works pretty good, once I figured out how to use it, a
 little.  I'm new to this stuff too, sort of.
 
 equery depends package name
 

Using emerge --tree does the job too.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do about firefox

2005-09-17 Thread David Morgan
On 14:20 Sat 17 Sep , Kevin O'Gorman wrote:
 Once again I must be doing something wrong. I see the Add more... and
 I can navigate it okay, but nothing new ever shows up in the list of search
 engines. I've tried 4 or 5, so it's not the particular one...
 

I seem to remember that this never worked when I ran firefox as a
non-root user, because they aren't stored under ~/, so I had to do it as
root (which kind of sucks), and then they'd get overwritten everytime
firefox was upgraded, so I'd have to reinstall/uninstall the ones I
wanted didn't want. But since I never really used any of them except
google, I stopped bothering.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] why gentoo doesn't have long description?

2005-08-24 Thread David Morgan
On 8/24/05, Michael Crute [EMAIL PROTECTED] wrote:
 First of all, sorry about top posting that's the way Gmail does it and you
 cant change the settings. 
  

S**t, look at this. I'm using gmail and not top posting.

Just how stupid are you that you can't move the cursor to the bottom
of the message?

 Also if you are looking for a lazy man's way of getting a package description 
 try `emerge  -s packagename` and it prints out a lot of information as well 
 as a short description of the  package. I have never seen a long description 
 such as those used to build Debian  
 packages anywhere in portage and don't really think it would be useful 
 anyhow. So try 
 emerge -s and if you need more info go to the packae's website. That would be 
 my 
 advice. Oh, and emerge -s works off the metadata so you dint need an Internet 
 connection.

How completely pointless. The OP knows about emerge -s and he knows he
can look at the package's website.

Even worse, you're wrong. emerge -s doesn't look in metadata.xml, it
gets the information from the ebuild.

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] why gentoo doesn't have long description?

2005-08-24 Thread David Morgan
On 10:39 Wed 24 Aug , Michael Crute wrote:
 Hey buddy go troll on somebody else's thread.
 
 -Mike

Seriously, just press the down key a few times before you start typing.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] why gentoo doesn't have long description?

2005-08-24 Thread David Morgan
On 21:45 Wed 24 Aug , Jerry McBride wrote:
 For me, top posting keeps me from having to wade through the entire message 
 to 
Well that wouldn't be a problem if people only quoted the bits of the
email that were relevant to their reply. Apparently trimming the other
bits is beyond most people though *shrug*

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem with genlop

2005-08-03 Thread David Morgan
On 18:59 Wed 03 Aug , Willie Wong wrote:
 On Thu, Aug 04, 2005 at 01:49:15AM +0300, Yuval Scharf wrote:
  On Thursday 04 August 2005 01:29, A. Khattri wrote:
   On Thu, 4 Aug 2005, Yuval Scharf wrote:
Why when ever I execute
   
cgext03 ~ # genlop --current
   
I get...
   
!!! Error: no working merge found.

It's broken due to some change in sandbox - known issue :)

If there's another release it'll hopefully be fixed (currently broken in 0.30.2
(x86) and 0.30.3 (~x86))

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't unload modules

2005-08-02 Thread David Morgan
On 12:36 Tue 02 Aug , maxim wexler wrote:
 dayglo root # modprobe -rv fglrx
 rmmod /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
 FATAL: Error removing fglrx
 (/lib/modules/2.6.11-gentoo-r3/video/fglrx.ko): Kernel
 does not have module unloading support
 
 none the wiser :/

Sounds like you don't have  CONFIG_MODULE_UNLOAD set (it's under
loadable module support in menuconfig)

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] jpeg-mmx-0.1.6 ebuild problem

2005-07-29 Thread David Morgan
On 09:47 Fri 29 Jul , Roy Wright wrote:
 Howdy,
 
 Anyone else getting the following error on jpeg-mmx-0.1.6?
 
 ./configure --prefix=/usr --host=i686-pc-linux-gnu 
 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
 --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu 
 --include-dir=/usr/include/jpeg-mmx --enable-shared --enable-static
 configure: error: --include-dir=/usr/include/jpeg-mmx: invalid option; 
 use --help to show usage
 
 doing a configure --help gives:
 
  --includedir=DIRC header files in DIR [PREFIX/include]
 
 Looks like the ebuild is using include-dir instead of includedir:
 
 src_compile() {
econf \
--include-dir=/usr/include/jpeg-mmx \
--enable-shared \
--enable-static \
|| die configure failed
emake || die make failed
 }
 
 
 Did not see a bug for this.
 
 TIA,
 Roy
 -- 
 gentoo-user@gentoo.org mailing list
 

How about https://bugs.gentoo.org/show_bug.cgi?id=100555 or
https://bugs.gentoo.org/show_bug.cgi?id=100647 ?

It should be fixed now anyway, so next time you do emerge sync it'll go
away

-- 
djm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] pruning /usr/portage/distfiles/

2005-07-21 Thread David Morgan
On 16:22 Thu 21 Jul , James wrote:
 Hello,
 
 /usr is the only partion I seem to have trouble filling up. After
 poking around I've decided to 'prune' /usr/portage/distfiles.
 
 Before automating this action, via crontab, I'm soliciting
 any other, slicker/cooler/better method to auto prune
 /usr/portage/distfiles.
snip

I use tmpwatch to do this - it deletes files that haven't been accessed
for a certain amount of time (but only in directories specified by you).

It's in portage, and comes with a default config file that's pretty good
if you just uncomment a few lines, and includes an entry for distfiles,
so you don't have to do much to set it up.

If you search forums.gentoo.org you'll probably find various scripts for
removing source for older versions of packages, some of which are quite
sophisticated.

I prefer the tmpwatch route but others prefer the other approach.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-18 Thread David Morgan
On 15:42 Mon 18 Jul , Neil Bothwick wrote:
 On Wed, 13 Jul 2005 10:46:23 +0100, David Morgan wrote:
 
  You could remove win32codecs from base/use.mask, try and use it and see
  if it works since it shouldn't break anything. But each time you did
  emerge sync it'd get written over.
 
 Profile changes should be made in /etc/portage/profiles, then they won't
 be overwritten when syncing.
 

(I think you meant /etc/portage/profile)

I usually go for tempory fixes to see if something works before spending
time finding out the correct solution (I guess that's a result of me
being incredibly lazy, but it's also just easier when you're
investigating something).

I guessed that you might have to use /etc/portage/profile/use.unmask (by
analogy with package.{,un}mask, but apparently the correct thing to do
is to put -win32codecs in /etc/portage/profile/use.mask

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Howto speed up compilations

2005-07-18 Thread David Morgan
On 13:07 Mon 18 Jul , John J. Foster wrote:
 Good afternoon all,
 
 A few weeks ago I read in one of the newgroups a way to greatly decrease
 compilation times. The author noted that this was particularly noticable
 when working with something like OO. The general jist of it was to
 create temporary file system in memory and mount your portage tmpdir
 there. For the life of me, I can't find that thread anymore. Does anyone
 do something similar to this? Are there noticable gains to be had. I
 have an Athlon 2800XP and 1 GB ram.
 
 Thanks,
 John
 

There was a thread about ways of speeding up compilation on gentoo-dev
(including what you mentioned) a while ago.

Good look compiling OOo with $PORTAGE_TMPDIR mounted in ram though ;)

Dave


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-13 Thread David Morgan
On 10:50 Wed 13 Jul , Ow Mun Heng wrote:
 uclibc profile
 /usr/portage/profiles/uclibc/x86/
 

That's probably the problem then

 How can I check?

Profiles have use.mask files.

uclibc/x86 doesn't have one, but it's parent is uclibc whose parent is
base, and win32codecs is in /usr/portage/profiles/base/use.mask, which
is the reason why you can't use win32codecs.

You could remove win32codecs from base/use.mask, try and use it and see
if it works since it shouldn't break anything. But each time you did
emerge sync it'd get written over.

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ogle and mplayer

2005-07-13 Thread David Morgan
On 22:19 Tue 12 Jul , Canek Pel??ez wrote:
 Isn't ogle unsupported? I suppose it has to do with Xv, but I don't know 
 really.
 
 Anyway, I'm pretty sure ogle is unsupported.
 

What makes you say that?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-13 Thread David Morgan
(top posting because I can't be bothered to sort all the irrelevant
 stuff you posted)

The person in question is using /usr/portage/profiles/uclibc/x86 

If you look in /usr/portage/profiles/uclibc/x86/parent you'll see that
t's parent profile is /usr/portage/profiles/uclibc/. If you look in
/usr/portage/profiles/uclibc/parent you'll see that it's profile is
/usr/portage/profiles/base.

Now, look in /usr/portage/profiles/base/use.mask

That's the reason the win32codecs useflag is masked on this profile, as
I explained in an earlier email.

Dave


On 13:28 Wed 13 Jul , Holly Bostick wrote:
 David Morgan schreef:
  On 12:39 Wed 13 Jul , Holly Bostick wrote:
 Obviously -- or at least it seems obvious to me, but that doesn't say
 much-- that if the package is hard-masked, the USE flag that is
 associated with it will be disabled (because the package the USE flag
 would call is unavailable).
  
  
  Maybe, but that's not the way portage works these things out
  
 Well, it looks like you're at least partially right-- I went back to the
 source:
 
  # Copyright 2004 Gentoo Foundation.
  # Distributed under the terms of the GNU General Public License v2
  # $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/use.mask,v 1.14 
  2005/05/20 11:52:10 lu_zero Exp $
  
  # This file masks out USE flags that are simply NOT allowed in the default
  # profile for any architecture.  This works, for example, if a non-default
  # profile (such as the selinux profiles) have a USE flag associated with
  # them.
  
  uclibc
  
  # aqua USE flag is only valid on Mac OS X
  aqua
  
  # amd64 only:
  emul-linux-x86
  
  # sparc only:
  ultra1
  
  # x86 only
  divx4linux
  win32codecs
  kqemu
 
 
  # Copyright 2004 Gentoo Foundation.
  # Distributed under the terms of the GNU General Public License, v2
  # $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/use.mask,v 
  1.8 2005/05/21 01:13:41 lu_zero Exp $
  
  # This file masks out USE flags that are simply NOT allowed in the default
  # x86 profile.  This works, for example, if another architecture's
  # profile have a USE flag associated with (such as altivec, mmx, etc).
  
  # Unmask x86 instruction sets
  -mmx
  -mmx2
  -mmxext
  -sse
  -sse2
  -3dnow
  -3dnowext
  -win32codecs
 
 Plus, these files are where the masks are, the use.mask for the uclibc
 profile only contains
 
  pam
  nls
  nptl
  nis
  # aqua USE flag is only valid on Mac OS X
  aqua
  
  # this seems to pull in pre compiled glibc libs.
  divx4linux
  
  emul-linux-x86
  
  
  
 
 and nothing else (and the other folders in the profile folder don't
 contain a use.mask).
 
 Oh, wait a minute, I think I found it:
 
  # Copyright 1999-2004 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
  # $Header: /var/cvsroot/gentoo-x86/profiles/selinux/use.mask,v 1.1 
  2005/05/08 23:37:08 pebenito Exp $
  
  -selinux
  
  # disallow posix acl since this is SELinux
  acl
  
  # aqua USE flag is only valid on Mac OS X
  aqua
  
  # must use a specific SELinux profile that unmasks this
  uclibc
  
  
  
  # Copyright 1999-2004 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
  # $Header: 
  /var/cvsroot/gentoo-x86/profiles/selinux/2005.1/x86-uclibc/use.mask,v 1.3 
  2005/05/14 20:53:38 pebenito Exp $
  
  -uclibc
  
  -win32codecs
  
  # PPC instructions
  altivec
  
  nls
  
 
 But from this, it looks like there is no way to unmask the USE flags in
 question-- simply NOT allowed seems pretty definitive, although a
 careful reading of man portage might reveal a loophole. But I doubt it..
 and in fact, it does not seem to have any such, from the files list in
 man portage:
 
 
  SYNOPSIS
 /etc/
make.globals
make.conf(5)
  
 /etc/make.profile/
deprecated
make.defaults
packages
packages.build
package.provided
parent
use.defaults
use.mask
virtuals
  
 /etc/portage/
bashrc
package.mask
package.unmask
package.keywords
package.use
mirrors
categories
  
 /etc/portage/profile/
site-specific overrides of /etc/make.profile/
  
 /usr/portage/profiles/
arch.list
categories
info_pkgs
info_vars
package.mask
profiles.desc
thirdpartymirrors
use.desc
use.local.desc
use.mask
  
 /var/lib/portage/
world
  
 
 Don't see anything like a use.unmask file.
 
 What I would now be interested in, if this concerned me, is why this
 particular USE flag is simply NOT allowed under this extremely
 specialized profile, but I have no idea where I

Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-13 Thread David Morgan
On 14:49 Wed 13 Jul , Holly Bostick wrote:
 But the use.mask-- even the correct one-- still does not lead to an
 explanation or documentation of what the mask of a USE flag actually
 means or what it means in this particular case (why this specific USE
 flag is masked under this specific profile), in such a way that one
 would know if it was something one had to learn to live with
 (definitively unresolveable), or was in some way unmaskable. That's
 the original issue-- is there a way to compile mPlayer using this USE
 flag under this profile, or is there not? Normally, *.mask files seem to
 contain some explanation of the reason for the mask (even if only
 minimal), which is why I was looking through them, but here that does
 not seem to be the case. Does that mean that the OP is SOL?
 

My guess is that he's SOL. If I were in that situation I'd just edit
/usr/portage/profiles/base/use.mask and see if win32codecs will work on
that profile, and if they did they I'd try and figure out how to do it
properly.

I think there's a good chance that win32codecs just won't work with
uclibc though. You might be able to find the reason that it's masked on
bugzilla, in the gentoo-embedded archives or on google.

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-13 Thread David Morgan
On 22:21 Wed 13 Jul , Ow Mun Heng wrote:
 What is SOL? Someone care to tell me? (I'm the OP)

Sh*t out of luck

emerge wtf
wtf sol

:)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Does (-win32codecs) mean Slots?

2005-07-12 Thread David Morgan
On 18:12 Tue 12 Jul , Ow Mun Heng wrote:
 [ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
 [SNIP]
  (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 k
 
 grep win32 /etc/make.conf
 USE=acl acpi dvd minimal aac apache2 win32codecs ssl mmx xine \
 
 
 USE=win32codecs emerge -av mplayer
 
 [ebuild  N] media-video/mplayer-1.0_pre7  -3dfx -3dnow -3dnowext +X
 [SNIP]
  (-win32codecs) -xanim -xinerama +xmms +xv +xvid +xvmc 0 kB 
 
 x86 keyword
 

iirc the (..) mean that the use flag is unavailable on your profile
(thought maybe it could also mean that it's unavailable for some other
 reason).

what profile are you using?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bash_history missing

2005-07-07 Thread David Morgan
On 08:51 Thu 07 Jul , Dave Nebinger wrote:
   Then set the same environment variables in your
   current shell and they
   should stick.
  
  Nope, .bash_history completely empty after a bunch of
  ls's. At least it didn't tell me to become root :o
 
 So if you do ls -l .bash* in your home directory, what's the output?
 

I haven't been following this thread, but have you tried doing set -o
history ?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo echo cannot write to /etc/ files ?

2005-07-06 Thread David Morgan
On 16:54 Wed 06 Jul , Holly Bostick wrote:
 OK, you all likely realize that I responded before I had got the three
 more messages telling me what to do.
 
 I'm sure it will work (three people telling you the exact same thing is
 pretty convincing ;-) ), but what I don't understand is why/how, if I
 want to
 
 sudo echo 'media-video/xine-ui ~x86' /etc/portage/package.keywords
 
 changing that to
 
 sudo echo media-video/xine-ui ~x86 /etc/portage/package.keywords
 
 is going to write the line
 
 media-video/xine-ui ~x86
 
 to /etc/portage/package.keywords-- i.e., why are the internal quotes no
 longer necessary?
 
 Or should it be
 
 sudo echo 'media-video/xine-ui ~x86' /etc/portage/package.keywords
 
 or will that *really* screw everything up?
 
 (As you see, my understanding of bash is trying to improve, with only
 very limited success :-) ).
 

Nope, I don't think you can do it with sudo since bash uses whitespace
as a separator, so if you do sudo echo foo  bar, it'll look for a
single command echo foo  bar, which is not what you want - you want
a command echo with argument foo, and then redirect the output to bar
(the double quotes prevent bash from evaluating the whitespace or the
 ).

afaik you can only do it with su -c echo foo  bar, which stops bash
from doing anything with the  or the whitespace to begin with, but
then passes everything inside the double quotes to another shell, which
gets started by su -c

It's kind of annoying, I know, but I don't think there's a way round it
with sudo.

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Want same ol' gentoo on new box

2005-07-06 Thread David Morgan
On 11:44 Wed 06 Jul , Mike Markowski wrote:
 I'll be changing jobs Monday and want to be sure I bring along enough to
 easily rebuild the sort of gentoo set up I currently enjoy.
 
 After installing, will it be enough to use my current
 /var/lib/portage/world and /etc/make.conf followed by 'emerge -uDf
 world', etc., to get me going?  Or am I overlooking other important
 system files?  (I'll remember to remove hardware dependent world entries
 like graphics card drivers.)
 
 Thanks!
 Mike

Not exactly - you can't just copy /var/lib/portage/world, since portage
will complain about packages in the world file not being installed (at
least, that was the behaviour not long ago and I don't imagine it's
changed).

You can however copy /var/lib/portage/world to some other location on
your new computer, and do something like emerge `cat oldworld`.

You might want to copy things other than just /etc/make.conf from your
current install - if you've edited any config files (say /etc/vim/vimrc,
for example). I can't think of anything you'll definitely want to copy
across when changing computers, just stuff that you know you've edited a
lot and don't want to loose. (Oh, and I assume you know that you might
need to have a different make.conf to before depending on how different
the 2 computers are).

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Want same ol' gentoo on new box

2005-07-06 Thread David Morgan
On 09:52 Wed 06 Jul , Wade Brown wrote:
 Actually, you can replace your world file provided you use emerge
 --emptytree --deep --newuse world, and portage won't complain that
 packages aren't installed as the emptytree tells portage to (rightly
 in this case) assume nothing is installed yet, including portage
 itself.
 

Oddly enough, I just added a package that I don't have installed to my
world file, and did emerge -uvD world and it didn't complain (or remove
it from my world file). I know this hadn't used to be the case though.

So yeh, I guess you can just copy the old world file across and do
emerge -e world.

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Want same ol' gentoo on new box

2005-07-06 Thread David Morgan
On 19:04 Wed 06 Jul , Neil Bothwick wrote:
 On Wed, 06 Jul 2005 13:31:03 -0400, Dave Nebinger wrote:
 
  But I'd still be worried that adding a package that does not have
  dependencies satisfied to the world file would not be a good thing
  (unless of course you are using the emptytree option).
 
 I don't see why it should cause a problem. Portage is quite capable of
 calculating the dependencies and installing them. The situation is no
 different from uninstalling a dependency of an installed package. The
 next emerge --deep world will reinstall it.
 

Well, I only did it to see what would happen.

I also tried moving /var/db/pkg to somewhere else and did emerge -uavD
world, which had the same affect as doing emerge -ae world normally.

So, my original advice was wrong it seems (well, more out of date than
wrong, since I tried to do what the OP wanted to do a while ago, and
portage complained about things not being installed). That said, it
would still be one way of doing it, just not the simplest way.

Dave

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Masked baselayout = no console colors

2005-06-18 Thread David Morgan
On 08:38 Sat 18 Jun , Grant wrote:
   I updated to the masked baselayout and now there is no coloring
   of [EMAIL PROTECTED] ~ # in the console.  Could this be a feature?
  

At a guess, 'if [ -f /etc/bash/bashrc ] ;' then needs changing to 'if [ -f
/etc/bashrc ] ;', or vice versa - I've needed to change that a few times
after upgrading bash/baselayout.

-- 
djm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Upgrade/Downgrade cycles

2005-06-16 Thread David Morgan
On 18:36 Thu 16 Jun , Graham Murray wrote:
 Sometimes a package will upgrade/downgrade alternately when running
 'emerge -uD world'. One such that is happening to me right now is
 libtheora. media-lib/xine-lib has a 'straight' (no version) dependency
 on libtheora, which causes emerge to update to the latest
 version. media-plugins/gst-plugins-theora has a dependency on a
 specific version of libtheora, which causes the next emerge to
 downgrade libtheora to that version. And so the cycle continues.
 
 Should portage not recognise the specific version requirement and
 not perform an upgrade to a later version? 

Are you sure you don't have libtheora in your world file? I've only ever
seen this happen when people have the package in question in their world
file. Not sure whether or not it can happen if you don't (but I guess
I'll find out if it's not in your world file)

-- 
djm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge curiosity

2005-06-09 Thread David Morgan
On 12:16 Thu 09 Jun , reg hughson wrote:
 As shown below, why wouldn't emerge -u world pick up the update available 
 for gdm? 
 
 Actually, I think it is probably because it is not listed in 
 /var/lib/portage/world so I guess I am actually wondering why it wouldn't be 
 listed there? 
 
 Obviously my system knows gdm is installed but how does it know this? I guess 
 I was always under the impression that everything I installed would be placed 
 in /var/lib/portage/world. Obviously not. I know I can edit that file and add 
 gdm dut that doesn't really answer my question.
 
 I am sure this is a minor issue that I just can't find in the man pages but I 
 am trying to 1) learn something that I am obviously missing 2) determine if 
 there are any other updates that emerge -Du world might be missing.
 

emerge -uD world should want to upgrade gdm.

Here's how it works:

You type emerge foo, and bar gets installed as a dep of foo, and baz
gets installed as a dep of bar. foo gets recorded in your world file,
but bar and baz don't. All 3 get entries in /var/db/pkg.

Now, if you do emerge -u world should pickup updates for foo and bar, but not
baz. emerge -uD world should pickup updates for foo, bar and baz.

But if foo gets removed or stops depending on bar and nothing else
depends on bar, then even emerge -uD world or emerge -e world won't
pickup updates of bar or baz. If you still wanted bar in this case you
could do emerge -n bar, and it'd get added to your world file without
being re-emerged.

Why not add everything to your world file? I believe that it slows
portage down because it has to check the deps of more packages. It also means
that if libbar gets installed as a dep of appfoo, and then you decided
you don't want appfoo anymore and unmerge it then you'd still keep
getting updates for libfoo, and emerge depclean wouldn't remove it. It's
also harder to maintain/find stuff in a larger world file.

hth, Dave
-- 
djm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] No HTML in posts?

2005-05-22 Thread David Morgan
On 01:15 Mon 23 May , Volker Armin Hemmann wrote:
 that means, if someone (like me) requests blocking of html-mails on the 
 list-servers, this discussion will be gone? (well of course.. when no 
 html-mails are coming through, nobody can dsiscuss them...)
 
 Then I request blocking all html-mails!
 
 Take that, stupid discussion!
 

I think the chances of anyone from infra reading this thread (or still
reading it after it's been dragged out for so long) are pretty unlikely.

Feel free to create a bug at bugs.gentoo.org about it though

-- 
djm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] -fvisibility=hidden

2005-05-21 Thread David Morgan
On 14:11 Sat 21 May , Julien Cayzac wrote:
 Is anyone here running Gentoo with -fvisibility=hidden in his CFLAGS ?
 Never experienced any problem?
 
 Thanks,
 Julien
 
iirc it does't make sense to have it in your CLFAGS, since it only
affects c++ stuff (so it'd go in CXXFLAGS)

It does cause problems with kde stuff, and with wxGTK stuff though

-- 
djm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] No HTML in posts?

2005-05-02 Thread David Morgan
On 15:45 Mon 02 May , Dave Nebinger wrote:
  I know people say it, but why?
 
 It's an extreme waste and provides no value.
 
 We're here to post questions and responses, not to create pretty pictures
 with colored fonts, etc.
 

Not to mention the fact that not everyone is using a client that
supports html. People have better things to do than try and
read emails filled with html tags.

Plus, I'd like to choose what font colour, face, etc the text I read
uses, not someone else.

-- 
djm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Emerge needs a --nocolor option

2005-04-12 Thread David Morgan
On 15:14 Tue 12 Apr , Botykai Zsolt wrote:
 Tuesday 12 April 2005 13.49-n, A. Khattri ezt ?rta:
  There really ought to be a --nocolor option for emerge, alongside the
  --nospinner option. (I know I could add it to FEATURES in make.conf but I
  dont want to do that). I run emerge --sync from cron on my servers - the
  email from cron contains a lot of control codes.
 
 until this you can do:
 insert '#NOCOLOR=true' into make.conf then call this from cron:
 
 #!/bin/bash
 sed 's/^#NOCOLOR=true$/NOCOLOR=true/g' /etc/make.conf  /tmp/make.conf \ 
  cp /tmp/make.conf /etc/make.conf \
  call your desired emerge / \
  sed 's/^NOCOLOR=true$/#NOCOLOR=true/g' /tmp/make.conf  /etc/make.conf
 

You could do that, or you could learn about sed's -i option, or better
yet, you could just use

NOCOLOR=true emerge foo 

-- 
djm

--
gentoo-user@gentoo.org mailing list