Re: [gentoo-user] How to read package changelogs?

2011-10-02 Thread Canek Peláez Valdés
On Sat, Oct 1, 2011 at 9:13 PM, Spidey spide...@gmail.com wrote:
 That's one task that I find difficult to do in Gentoo. Should I mess with
 temp folders in /var/tmp/portage to find changelogs there? I'd like
 something easy to use as eix or equery, but since Gentoo just maintains
 ebuild files I guess it doesn't mess with changelogs. I hope I'm wrong.

 Claudio Roberto França Pereira (Spidey)
 @spideybr
 Engenharia de Computação - UFES 2006/1

emerge --changelog -p blah?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Adam Carter
HW = Chipset: ATI Radeon HD 4250   (Chipset = 0x9715)

Config is mostly taken from a working amd64 + radeon system.
linux-firmware is installed. No errors or warning in the the xorg
logs, but startx returns a blank screen on both the VGA and HDMI
outputs. It also fails with no xorg.conf. There's no process called X
or anything related to X, if i ssh in from another machine and run
'pgrep -lf X' as root.

When using fglrx;
proxy adam # tail Xorg.0.log
[   458.503] (II) fglrx(0): Desc: ATI FireGL DRM kernel module
[   458.503] (II) fglrx(0): Kernel Module version matches driver.
[   458.503] (II) fglrx(0): Kernel Module Build Time Information:
[   458.503] (II) fglrx(0): Build-Kernel UTS_RELEASE:3.0.4-gentoo
[   458.503] (II) fglrx(0): Build-Kernel MODVERSIONS:no
[   458.503] (II) fglrx(0): Build-Kernel __SMP__:yes
[   458.503] (II) fglrx(0): Build-Kernel PAGE_SIZE:  0x1000
[   458.503] (II) fglrx(0): [uki] register handle = 0x4000
[   458.526] (II) fglrx(0): DRI initialization successfull
[   458.526] (II) fglrx(0): FBADPhys: 0xc000 FBMappedSize: 0x0100e000
proxy adam #


When using the radeon driver;
proxy adam # tail /root/Xorg.0.log
[   123.799] GC: 0 objects of 72 bytes = 0 total bytes 0 private allocs
[   123.799] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[   123.799] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private allocs
[   123.799] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0 private allocs
[   123.799] TOTAL: 1 objects, 120 bytes, 0 allocs
[   123.800] (II) Open ACPI successful (/var/run/acpid.socket)
[   123.800] (II) APM registered successfully
[   123.800] (II) RADEON(0): RADEONScreenInit d000 0 0
[   123.862] Output CRT1 disable success
[   123.871] Blank

What's my next step?


xorg.conf is;
Section ServerLayout
Identifier Layout
Screen  0  aticonfig-Screen[0]-0 0 0
EndSection

Section Files
#   These are not needed for fglrx, but will be for radeon
ModulePath /usr/lib64/xorg/modules
ModulePath /usr/lib64/opengl/xorg-x11/extensions/
EndSection

Section ServerFlags
Option  Xinerama off
#Option  blank time  5  # Blank the screen after 5 minutes (Fake)
Option  standby time  10  # Turn off screen after 10 minutes (DPMS)
Option  suspend time  20  # Full suspend after 20 minutes
Option  off time  30  # Turn off after half an hour
EndSection

Section Monitor
Identifier   aticonfig-Monitor[0]-0
Option  DPMS true
Option  PreferredMode 1440x900
EndSection

Section Device
Identifier  aticonfig-Device[0]-0
Driver  fglrx
#Driver  radeon
Option  backingstore true
#BusID   PCI:1:0:0
#BusID   PCI:0@1:0:1
# dynamicclocks is for powersaving but not impl on flgrx
#Option  DynamicClocks on
#Option  RenderAccel true - not supported by flgrx
#Option  AccelMethod exa - not supported by flgrx
#Option  UseFastTLS 1
#Option  EnablePageFlip true - not supported by flgrx
EndSection

Section Screen
Identifier aticonfig-Screen[0]-0
Device aticonfig-Device[0]-0
Monitoraticonfig-Monitor[0]-0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
EndSubSection
EndSection

Section Extensions
Option  Composite Enable
EndSection

Section InputClass
Identifier keyboard-all
Driver evdev
#Option XkbLayout us,cz
#Option XkbModel logitech_g15
Option XkbRules xorg
#Option XkbOptions
grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp
Option XkbOptions terminate:ctrl_alt_bksp
#Option XkbVariant ,qwerty
MatchIsKeyboard on
EndSection



Re: [gentoo-user] How to read package changelogs?

2011-10-02 Thread James Broadhead
On 2 October 2011 07:06, Canek Peláez Valdés can...@gmail.com
wrote: emerge --changelog -p blah?
Oh wow. I'll be using that a lot from now on.

If only I'd read the portage changelog to find out when they added
this feature :P



Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Volker Armin Hemmann
Am Sonntag 02 Oktober 2011, 17:51:19 schrieb Adam Carter:
 HW = Chipset: ATI Radeon HD 4250   (Chipset = 0x9715)
 
 Config is mostly taken from a working amd64 + radeon system.
 linux-firmware is installed. No errors or warning in the the xorg
 logs, but startx returns a blank screen on both the VGA and HDMI
 outputs. It also fails with no xorg.conf. There's no process called X
 or anything related to X, if i ssh in from another machine and run
 'pgrep -lf X' as root.
 
 When using fglrx;
 proxy adam # tail Xorg.0.log
 [   458.503] (II) fglrx(0): Desc: ATI FireGL DRM kernel module
 [   458.503] (II) fglrx(0): Kernel Module version matches driver.
 [   458.503] (II) fglrx(0): Kernel Module Build Time Information:
 [   458.503] (II) fglrx(0): Build-Kernel UTS_RELEASE:   
 3.0.4-gentoo [   458.503] (II) fglrx(0): Build-Kernel MODVERSIONS: 
   no [   458.503] (II) fglrx(0): Build-Kernel __SMP__:yes [
   458.503] (II) fglrx(0): Build-Kernel PAGE_SIZE:  0x1000 [  
 458.503] (II) fglrx(0): [uki] register handle = 0x4000
 [   458.526] (II) fglrx(0): DRI initialization successfull
 [   458.526] (II) fglrx(0): FBADPhys: 0xc000 FBMappedSize: 0x0100e000
 proxy adam #
 
 
 When using the radeon driver;
 proxy adam # tail /root/Xorg.0.log
 [   123.799] GC: 0 objects of 72 bytes = 0 total bytes 0 private allocs
 [   123.799] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
 [   123.799] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private
 allocs [   123.799] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0
 private allocs [   123.799] TOTAL: 1 objects, 120 bytes, 0 allocs
 [   123.800] (II) Open ACPI successful (/var/run/acpid.socket)
 [   123.800] (II) APM registered successfully
 [   123.800] (II) RADEON(0): RADEONScreenInit d000 0 0
 [   123.862] Output CRT1 disable success
 [   123.871] Blank
 
 What's my next step?
 
 
 xorg.conf is;
 Section ServerLayout
 Identifier Layout
 Screen  0  aticonfig-Screen[0]-0 0 0
 EndSection
 
 Section Files
 #   These are not needed for fglrx, but will be for radeon
 ModulePath /usr/lib64/xorg/modules
 ModulePath /usr/lib64/opengl/xorg-x11/extensions/
 EndSection
 
 Section ServerFlags
 Option  Xinerama off
 #Option  blank time  5  # Blank the screen after 5 minutes
 (Fake) Option  standby time  10  # Turn off screen after 10 minutes
 (DPMS) Option  suspend time  20  # Full suspend after 20 minutes Option
  off time  30  # Turn off after half an hour
 EndSection
 
 Section Monitor
 Identifier   aticonfig-Monitor[0]-0
 Option  DPMS true
 Option  PreferredMode 1440x900
 EndSection
 
 Section Device
 Identifier  aticonfig-Device[0]-0
 Driver  fglrx
 #Driver  radeon
 Option  backingstore true
 #BusID   PCI:1:0:0
 #BusID   PCI:0@1:0:1
 # dynamicclocks is for powersaving but not impl on flgrx
 #Option  DynamicClocks on
 #Option  RenderAccel true - not supported by flgrx
 #Option  AccelMethod exa - not supported by flgrx
 #Option  UseFastTLS 1
 #Option  EnablePageFlip true - not supported by flgrx
 EndSection
 
 Section Screen
 Identifier aticonfig-Screen[0]-0
 Device aticonfig-Device[0]-0
 Monitoraticonfig-Monitor[0]-0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 24
 EndSubSection
 EndSection
 
 Section Extensions
 Option  Composite Enable
 EndSection
 
 Section InputClass
 Identifier keyboard-all
 Driver evdev
 #Option XkbLayout us,cz
 #Option XkbModel logitech_g15
 Option XkbRules xorg
 #Option XkbOptions
 grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_
 alt_bksp Option XkbOptions terminate:ctrl_alt_bksp
 #Option XkbVariant ,qwerty
 MatchIsKeyboard on
 EndSection

post Xorg.0.log?

-- 
#163933



Re: [gentoo-user] How to read package changelogs?

2011-10-02 Thread Volker Armin Hemmann
Am Sonntag 02 Oktober 2011, 01:13:54 schrieb Spidey:
 That's one task that I find difficult to do in Gentoo. Should I mess with
 temp folders in /var/tmp/portage to find changelogs there? I'd like
 something easy to use as eix or equery, but since Gentoo just maintains
 ebuild files I guess it doesn't mess with changelogs. I hope I'm wrong.
 
 Claudio Roberto França Pereira (Spidey)
 @spideybr
 Engenharia de Computação - UFES 2006/1

which changelogs?

gentoo's changelogs (which are next to the ebuilds) or the software's 
changelogs (which can usually also found on their websites)?

-- 
#163933



Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Adam Carter
Xorg.0.log;

[   824.120]
X.Org X Server 1.10.4
Release Date: 2011-08-19
[   824.121] X Protocol Version 11, Revision 0
[   824.121] Build Operating System: Linux 3.0.4-gentoo x86_64 Gentoo
[   824.121] Current Operating System: Linux proxy 3.0.4-gentoo #2 SMP
Sat Oct 1 18:19:30 EST 2011 x86_64
[   824.121] Kernel command line: root=/dev/md126 md=126,/dev/sdb2,/dev/sdc2
[   824.121] Build Date: 01 October 2011  04:54:19AM
[   824.121]
[   824.121] Current version of pixman: 0.22.2
[   824.121]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   824.121] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   824.121] (==) Log file: /var/log/Xorg.0.log, Time: Mon Oct  3
03:49:49 2011
[   824.121] (==) Using config file: /etc/X11/xorg.conf
[   824.121] (==) Using system config directory /usr/share/X11/xorg.conf.d
[   824.122] (==) ServerLayout Layout
[   824.122] (**) |--Screen aticonfig-Screen[0]-0 (0)
[   824.122] (**) |   |--Monitor aticonfig-Monitor[0]-0
[   824.122] (**) |   |--Device aticonfig-Device[0]-0
[   824.122] (**) Option StandbyTime 10
[   824.122] (**) Option SuspendTime 20
[   824.122] (**) Option OffTime 30
[   824.122] (**) Option Xinerama off
[   824.122] (==) Automatically adding devices
[   824.122] (==) Automatically enabling devices
[   824.122] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[   824.122] (**) ModulePath set to
/usr/lib64/xorg/modules,/usr/lib64/opengl/xorg-x11/extensions/
[   824.122] (**) Extension Composite is enabled
[   824.123] (II) The server relies on udev to provide the list of
input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[   824.123] (II) Loader magic: 0x7df160
[   824.123] (II) Module ABI versions:
[   824.123]X.Org ANSI C Emulation: 0.4
[   824.123]X.Org Video Driver: 10.0
[   824.123]X.Org XInput driver : 12.2
[   824.123]X.Org Server Extension : 5.0
[   824.124] (--) PCI:*(0:1:5:0) 1002:9715:1458:d000 rev 0, Mem @
0xd000/268435456, 0xfdfe/65536, 0xfde0/1048576, I/O @
0xee00/256
[   824.124] (II) Open ACPI successful (/var/run/acpid.socket)
[   824.124] (II) LoadModule: extmod
[   824.125] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[   824.125] (II) Module extmod: vendor=X.Org Foundation
[   824.125]compiled for 1.10.4, module version = 1.0.0
[   824.125]Module class: X.Org Server Extension
[   824.125]ABI class: X.Org Server Extension, version 5.0
[   824.125] (II) Loading extension MIT-SCREEN-SAVER
[   824.125] (II) Loading extension XFree86-VidModeExtension
[   824.125] (II) Loading extension XFree86-DGA
[   824.125] (II) Loading extension DPMS
[   824.125] (II) Loading extension XVideo
[   824.126] (II) Loading extension XVideo-MotionCompensation
[   824.126] (II) Loading extension X-Resource
[   824.126] (II) LoadModule: dbe
[   824.126] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[   824.126] (II) Module dbe: vendor=X.Org Foundation
[   824.126]compiled for 1.10.4, module version = 1.0.0
[   824.126]Module class: X.Org Server Extension
[   824.126]ABI class: X.Org Server Extension, version 5.0
[   824.126] (II) Loading extension DOUBLE-BUFFER
[   824.126] (II) LoadModule: glx
[   824.126] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   824.127] (II) Module glx: vendor=X.Org Foundation
[   824.127]compiled for 1.10.4, module version = 1.0.0
[   824.127]ABI class: X.Org Server Extension, version 5.0
[   824.127] (==) AIGLX enabled
[   824.127] (II) Loading extension GLX
[   824.127] (II) LoadModule: record
[   824.127] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[   824.127] (II) Module record: vendor=X.Org Foundation
[   824.127]compiled for 1.10.4, module version = 1.13.0
[   824.127]Module class: X.Org Server Extension
[   824.127]ABI class: X.Org Server Extension, version 5.0
[   824.127] (II) Loading extension RECORD
[   824.127] (II) LoadModule: dri
[   824.127] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[   824.128] (II) Module dri: vendor=X.Org Foundation
[   824.128]compiled for 1.10.4, module version = 1.0.0
[   824.128]ABI class: X.Org Server Extension, version 5.0
[   824.128] (II) Loading extension XFree86-DRI
[   824.128] (II) LoadModule: dri2
[   824.128] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[   824.128] (II) Module dri2: vendor=X.Org Foundation
[   824.128]compiled for 1.10.4, module version = 1.2.0
[   824.128]ABI class: X.Org Server Extension, version 5.0
[   824.128] (II) Loading extension DRI2
[   824.128] (II) 

[gentoo-user] Re: How to read package changelogs?

2011-10-02 Thread Nikos Chantziaras

On 10/02/2011 07:13 AM, Spidey wrote:

That's one task that I find difficult to do in Gentoo. Should I mess
with temp folders in /var/tmp/portage to find changelogs there? I'd like
something easy to use as eix or equery, but since Gentoo just maintains
ebuild files I guess it doesn't mess with changelogs. I hope I'm wrong.


You should be able to find them in /usr/share/doc/.




Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Andrey Moshbear wrote:

On Sun, Oct 2, 2011 at 00:17, Spideyspide...@gmail.com  wrote:

The question is in the subject: how to easily find out what USE flags are
redundant in make.conf and package.use?
Someone somewhere in this list suggested using some tool, I've tried that
but it was extremely verbose, and I'd had to toggle manually flags to see if
it affected or not.
If some tool to pinpoint redundant flags is not already done, one to echo my
flags separated by it's source (profile, make.conf, package.use, ebuild)
would help me a lot.

Look into app-portage/ufed.




Hey, cl.  That is some cool stuff.  Maybe I can use this to clean 
this up:


USE=3dnow 3dnowext X a52 aac acpi alsa amd64 aml apng automount avahi 
bash-completion berkdb bzip2 cairo cdda cddb cdr chroot cleartype cli 
clucene consolekit corefonts cracklib cups curl cxx dbus declarative dri 
dvd dvdr embedded emboss encode escreen esd exif fam ffmpeg firefox flac 
fortran gdbm gdu gif gimp gkrellm gnutls gphoto2 gpm gtk hbci hddtemp 
iconv ipv6 java javascript jbig jpeg jpeg2k justify kde kipi lcms 
libnotify libwww logrotate loop-aes mad mdnsresponder-compat melt mmx 
mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl 
nptlonly nsplugin offensive ofx ogg opengl openmp pam pango parport pcre 
pdf perl phonon plasma png policykit ppds ppp pppd python qt3 qt3support 
qt4 readline sasl sdl seamonkey semantic-desktop session sift smp spell 
sse sse2 ssl startup-notification svg sysfs syslog tcl tcpd threads tiff 
tk truetype type1 udev unicode usb vcd vorbis webkit wma wmf x264 xcb 
xcomposite xinerama xml xorg xscreensaver xv xvid yahoo zeroconf zlib


How's that for a USE line?  What does it look like if there is a USE 
flag that no longer exists?  I see ones I am not using and are using but 
can't figure out what it looks like if the USE flag is in make.conf but 
no longer exists in the tree.


Ahhh, for others to know.  If there is a flag in make.conf that isn't is 
use anymore, invalid I guess, it shows up as UNKNOWN in the 
description.  Just in case someone else is using ufed inside a Konsole, 
the page up/page down buttons work too.  There is a LOT of flags in the 
tree.  I knew there was a lot but I didn't know there was this many.  O_O


Dale

:-)  :-)



Re: [gentoo-user] How to read package changelogs?

2011-10-02 Thread Neil Bothwick
On Sun, 2 Oct 2011 08:06:05 +0100, James Broadhead wrote:

 On 2 October 2011 07:06, Canek Peláez Valdés can...@gmail.com
 wrote: emerge --changelog -p blah?  
 Oh wow. I'll be using that a lot from now on.
 
 If only I'd read the portage changelog to find out when they added
 this feature :P

You'd have to read a long way back, it's been there for many years.


-- 
Neil Bothwick

Theory and practice are the same in theory, but different in practice


signature.asc
Description: PGP signature


[gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Nikos Chantziaras

On 10/02/2011 11:44 AM, Dale wrote:

Look into app-portage/ufed.


Hey, cl. That is some cool stuff. Maybe I can use this to clean this
up:

USE=3dnow 3dnowext X a52 aac acpi alsa amd64 aml apng automount avahi
[snip monstrosity]


It seems you confused make.conf with package.use :-P




Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Neil Bothwick
On Sun, 2 Oct 2011 01:17:01 -0300, Spidey wrote:

 The question is in the subject: how to easily find out what USE flags
 are redundant in make.conf and package.use?

eix-test-obsolete finds this and more besides, it's great for
keeping /etc/portage cruft-free.


-- 
Neil Bothwick

Very funny Scotty.. now beam down my pants!


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Nikos Chantziaras wrote:

On 10/02/2011 11:44 AM, Dale wrote:

Look into app-portage/ufed.


Hey, cl. That is some cool stuff. Maybe I can use this to clean this
up:

USE=3dnow 3dnowext X a52 aac acpi alsa amd64 aml apng automount avahi
[snip monstrosity]


It seems you confused make.conf with package.use :-P





I rarely use package.use.  There is a couple lines in there but not 
many.  I usually enable a USE flag globally in make.conf and be done 
with it.


That's just me tho.

Dale

:-)  :-)



Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Volker Armin Hemmann
Am Sonntag 02 Oktober 2011, 17:51:19 schrieb Adam Carter:
 HW = Chipset: ATI Radeon HD 4250   (Chipset = 0x9715)
 
 Config is mostly taken from a working amd64 + radeon system.
 linux-firmware is installed. No errors or warning in the the xorg
 logs, but startx returns a blank screen on both the VGA and HDMI
 outputs. It also fails with no xorg.conf. There's no process called X
 or anything related to X, if i ssh in from another machine and run
 'pgrep -lf X' as root.
 
 When using fglrx;
 proxy adam # tail Xorg.0.log
 [   458.503] (II) fglrx(0): Desc: ATI FireGL DRM kernel module
 [   458.503] (II) fglrx(0): Kernel Module version matches driver.
 [   458.503] (II) fglrx(0): Kernel Module Build Time Information:
 [   458.503] (II) fglrx(0): Build-Kernel UTS_RELEASE:   
 3.0.4-gentoo [   458.503] (II) fglrx(0): Build-Kernel MODVERSIONS: 
   no [   458.503] (II) fglrx(0): Build-Kernel __SMP__:yes [
   458.503] (II) fglrx(0): Build-Kernel PAGE_SIZE:  0x1000 [  
 458.503] (II) fglrx(0): [uki] register handle = 0x4000
 [   458.526] (II) fglrx(0): DRI initialization successfull
 [   458.526] (II) fglrx(0): FBADPhys: 0xc000 FBMappedSize: 0x0100e000
 proxy adam #
 
 
 When using the radeon driver;
 proxy adam # tail /root/Xorg.0.log
 [   123.799] GC: 0 objects of 72 bytes = 0 total bytes 0 private allocs
 [   123.799] CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
 [   123.799] CURSOR_BITS: 0 objects of 8 bytes = 0 total bytes 0 private
 allocs [   123.799] DBE_WINDOW: 0 objects of 24 bytes = 0 total bytes 0
 private allocs [   123.799] TOTAL: 1 objects, 120 bytes, 0 allocs
 [   123.800] (II) Open ACPI successful (/var/run/acpid.socket)
 [   123.800] (II) APM registered successfully
 [   123.800] (II) RADEON(0): RADEONScreenInit d000 0 0
 [   123.862] Output CRT1 disable success
 [   123.871] Blank
 
 What's my next step?
 
 
 xorg.conf is;
 Section ServerLayout
 Identifier Layout
 Screen  0  aticonfig-Screen[0]-0 0 0
 EndSection
 
 Section Files
 #   These are not needed for fglrx, but will be for radeon
 ModulePath /usr/lib64/xorg/modules
 ModulePath /usr/lib64/opengl/xorg-x11/extensions/
 EndSection
 
 Section ServerFlags
 Option  Xinerama off
 #Option  blank time  5  # Blank the screen after 5 minutes
 (Fake) Option  standby time  10  # Turn off screen after 10 minutes
 (DPMS) Option  suspend time  20  # Full suspend after 20 minutes Option
  off time  30  # Turn off after half an hour
 EndSection
 
 Section Monitor
 Identifier   aticonfig-Monitor[0]-0
 Option  DPMS true
 Option  PreferredMode 1440x900
 EndSection
 
 Section Device
 Identifier  aticonfig-Device[0]-0
 Driver  fglrx
 #Driver  radeon
 Option  backingstore true
 #BusID   PCI:1:0:0
 #BusID   PCI:0@1:0:1
 # dynamicclocks is for powersaving but not impl on flgrx
 #Option  DynamicClocks on
 #Option  RenderAccel true - not supported by flgrx
 #Option  AccelMethod exa - not supported by flgrx
 #Option  UseFastTLS 1
 #Option  EnablePageFlip true - not supported by flgrx
 EndSection
 
 Section Screen
 Identifier aticonfig-Screen[0]-0
 Device aticonfig-Device[0]-0
 Monitoraticonfig-Monitor[0]-0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 24
 EndSubSection
 EndSection
 
 Section Extensions
 Option  Composite Enable
 EndSection
 
 Section InputClass
 Identifier keyboard-all
 Driver evdev
 #Option XkbLayout us,cz
 #Option XkbModel logitech_g15
 Option XkbRules xorg
 #Option XkbOptions
 grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_
 alt_bksp Option XkbOptions terminate:ctrl_alt_bksp
 #Option XkbVariant ,qwerty
 MatchIsKeyboard on
 EndSection

post Xorg.0.log?

-- 
#163933



[gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Nikos Chantziaras

On 10/02/2011 12:14 PM, Dale wrote:

Nikos Chantziaras wrote:

On 10/02/2011 11:44 AM, Dale wrote:

Look into app-portage/ufed.


Hey, cl. That is some cool stuff. Maybe I can use this to clean this
up:

USE=3dnow 3dnowext X a52 aac acpi alsa amd64 aml apng automount avahi
[snip monstrosity]


It seems you confused make.conf with package.use :-P





I rarely use package.use. There is a couple lines in there but not many.
I usually enable a USE flag globally in make.conf and be done with it.


Which results in the above chaos ;-P  The obvious problem is that 
sometimes you enable a USE flag for some package, but that USE flag has 
an effect on other packages too if you put it in make.conf, even though 
you might not want that.  One reason you might not want that are bloated 
dependencies.  For example, you install package foo and you want the 
bar USE flag for it.  If you put it in make.conf, other packages might 
also use that flag and pull-in its deps.  Now if you unmerge foo, an 
emerge --depclean will not uninstall those deps.  As time goes on, this 
results in a system full of deps you never really wanted and can't get 
rid of.





[gentoo-user] MediaTomb - sorting images by exif rating

2011-10-02 Thread czernitko
Hello there!
I am using Mediatomb with my telly which is so far the best DLNA server I've
tried. I use the telly to present images from my DSLR camera and I'd like to
be able to list only images that have rating over 4. By rating, I mean EXIF
tag 0x4746 (Exif.Image.Rating). Does anybody know how to force MediaTomb to
create such virtual folders?
Thanks for your responses!
Peter


Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Nikos Chantziaras wrote:

On 10/02/2011 12:14 PM, Dale wrote:

Nikos Chantziaras wrote:

On 10/02/2011 11:44 AM, Dale wrote:

Look into app-portage/ufed.


Hey, cl. That is some cool stuff. Maybe I can use this to clean 
this

up:

USE=3dnow 3dnowext X a52 aac acpi alsa amd64 aml apng automount avahi
[snip monstrosity]


It seems you confused make.conf with package.use :-P





I rarely use package.use. There is a couple lines in there but not many.
I usually enable a USE flag globally in make.conf and be done with it.


Which results in the above chaos ;-P  The obvious problem is that 
sometimes you enable a USE flag for some package, but that USE flag 
has an effect on other packages too if you put it in make.conf, even 
though you might not want that.  One reason you might not want that 
are bloated dependencies.  For example, you install package foo and 
you want the bar USE flag for it.  If you put it in make.conf, other 
packages might also use that flag and pull-in its deps.  Now if you 
unmerge foo, an emerge --depclean will not uninstall those deps.  As 
time goes on, this results in a system full of deps you never really 
wanted and can't get rid of.







In that case, I then use package.use.  Like this in package.use:

x11-base/xorg-server -hal
net-misc/ntp caps -ipv6
media-gfx/gtkam debug
sys-power/nut -usb


I use package.use for those exceptions where I don't want something.  
Otherwise, I put it in make.conf so that I only have one file to deal 
with for the most part.


I am OCD about some things, like brakes on my car, but I'm not that OCD 
about this one.  I do wish emerge would give notice when a USE flag is 
invalid tho.  It's nice that it just ignores it and goes on but a little 
message that one has fell off the list would be nice.


To each his own I guess.  This is how I been managing my USE flags since 
about 2003 and it works rather well.  At least for me.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Alan McKinnon
On Sun, 02 Oct 2011 05:13:49 -0500
Dale rdalek1...@gmail.com wrote:

 Nikos Chantziaras wrote:
  On 10/02/2011 12:14 PM, Dale wrote:
  Nikos Chantziaras wrote:
  On 10/02/2011 11:44 AM, Dale wrote:
  Look into app-portage/ufed.
 
  Hey, cl. That is some cool stuff. Maybe I can use this to
  clean this
  up:
 
  USE=3dnow 3dnowext X a52 aac acpi alsa amd64 aml apng automount
  avahi [snip monstrosity]
 
  It seems you confused make.conf with package.use :-P
 
 
 
 
  I rarely use package.use. There is a couple lines in there but not
  many. I usually enable a USE flag globally in make.conf and be
  done with it.
 
  Which results in the above chaos ;-P  The obvious problem is that 
  sometimes you enable a USE flag for some package, but that USE flag 
  has an effect on other packages too if you put it in make.conf,
  even though you might not want that.  One reason you might not want
  that are bloated dependencies.  For example, you install package
  foo and you want the bar USE flag for it.  If you put it in
  make.conf, other packages might also use that flag and pull-in its
  deps.  Now if you unmerge foo, an emerge --depclean will not
  uninstall those deps.  As time goes on, this results in a system
  full of deps you never really wanted and can't get rid of.
 
 
 
 
 
 In that case, I then use package.use.  Like this in package.use:
 
 x11-base/xorg-server -hal
 net-misc/ntp caps -ipv6
 media-gfx/gtkam debug
 sys-power/nut -usb
 
 
 I use package.use for those exceptions where I don't want something.  
 Otherwise, I put it in make.conf so that I only have one file to deal 
 with for the most part.
 
 I am OCD about some things, like brakes on my car, but I'm not that
 OCD about this one.  I do wish emerge would give notice when a USE
 flag is invalid tho.  It's nice that it just ignores it and goes on
 but a little message that one has fell off the list would be nice.

It does :-)

emerge -p colorizes invalid USE flags and marks them in some way with an
additional character. I forget who exactly it marks them (it's in the
man page and I'm lazy today) but it does stick out like a sore thimb.


 
 To each his own I guess.  This is how I been managing my USE flags
 since about 2003 and it works rather well.  At least for me.  ;-)
 
 Dale
 
 :-)  :-)
 



-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Alan McKinnon wrote:

On Sun, 02 Oct 2011 05:13:49 -0500
Dalerdalek1...@gmail.com  wrote:

In that case, I then use package.use. Like this in package.use: 
x11-base/xorg-server -hal net-misc/ntp caps -ipv6 media-gfx/gtkam 
debug sys-power/nut -usb I use package.use for those exceptions where 
I don't want something. Otherwise, I put it in make.conf so that I 
only have one file to deal with for the most part. I am OCD about 
some things, like brakes on my car, but I'm not that OCD about this 
one. I do wish emerge would give notice when a USE flag is invalid 
tho. It's nice that it just ignores it and goes on but a little 
message that one has fell off the list would be nice. 

It does :-)

emerge -p colorizes invalid USE flags and marks them in some way with an
additional character. I forget who exactly it marks them (it's in the
man page and I'm lazy today) but it does stick out like a sore thimb.




Hmmm, I never noticed that before.  I think there was only two that was 
invalid tho.  So, I guess there hasn't been as many removed as I 
thought, at least that I have used anyway.  I did enable a couple that I 
didn't know about tho.  lol  My USE line ended up not being any 
smaller.  lol


Dale

:-)  :-)



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Alan McKinnon
On Sun, 02 Oct 2011 06:36:54 -0500
Dale rdalek1...@gmail.com wrote:

 Alan McKinnon wrote:
  On Sun, 02 Oct 2011 05:13:49 -0500
  Dalerdalek1...@gmail.com  wrote:
 
  In that case, I then use package.use. Like this in package.use: 
  x11-base/xorg-server -hal net-misc/ntp caps -ipv6 media-gfx/gtkam 
  debug sys-power/nut -usb I use package.use for those exceptions
  where I don't want something. Otherwise, I put it in make.conf so
  that I only have one file to deal with for the most part. I am OCD
  about some things, like brakes on my car, but I'm not that OCD
  about this one. I do wish emerge would give notice when a USE flag
  is invalid tho. It's nice that it just ignores it and goes on but
  a little message that one has fell off the list would be nice. 
  It does :-)
 
  emerge -p colorizes invalid USE flags and marks them in some way
  with an additional character. I forget who exactly it marks them
  (it's in the man page and I'm lazy today) but it does stick out
  like a sore thimb.
 
 
 
 Hmmm, I never noticed that before.  I think there was only two that
 was invalid tho.  So, I guess there hasn't been as many removed as I 
 thought, at least that I have used anyway.  I did enable a couple
 that I didn't know about tho.  lol  My USE line ended up not being
 any smaller.  lol

For example, you have USE=perl python in make.conf which pulls in a
truly gigantic list of extra stuff that you will have little need of.
Those two flags are coming out of profiles any day now so you will
miss the long list of rebuilds that will cause. 

Try putting those two flags in package.use only for those packages that
truly need it and when the change hits the tree sit back and watch just
how much unneccessary cruft you have :-)

You often mention the attraction of Gentoo is you get only what you
want. But, consider this; if you put flags routinely in make.conf you
lose most of that benefit. You end up with the equivalent of Mandrake
where you complied it yourself, not the binary distro.

USE=every possible flag enabled emerge something
and
yum install something
a
nd pretty much equivalent in terms of end result.
-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Alan McKinnon wrote:

On Sun, 02 Oct 2011 06:36:54 -0500
Dalerdalek1...@gmail.com  wrote:


Alan McKinnon wrote:

On Sun, 02 Oct 2011 05:13:49 -0500
Dalerdalek1...@gmail.com   wrote:


In that case, I then use package.use. Like this in package.use:
x11-base/xorg-server -hal net-misc/ntp caps -ipv6 media-gfx/gtkam
debug sys-power/nut -usb I use package.use for those exceptions
where I don't want something. Otherwise, I put it in make.conf so
that I only have one file to deal with for the most part. I am OCD
about some things, like brakes on my car, but I'm not that OCD
about this one. I do wish emerge would give notice when a USE flag
is invalid tho. It's nice that it just ignores it and goes on but
a little message that one has fell off the list would be nice.

It does :-)

emerge -p colorizes invalid USE flags and marks them in some way
with an additional character. I forget who exactly it marks them
(it's in the man page and I'm lazy today) but it does stick out
like a sore thimb.



Hmmm, I never noticed that before.  I think there was only two that
was invalid tho.  So, I guess there hasn't been as many removed as I
thought, at least that I have used anyway.  I did enable a couple
that I didn't know about tho.  lol  My USE line ended up not being
any smaller.  lol

For example, you have USE=perl python in make.conf which pulls in a
truly gigantic list of extra stuff that you will have little need of.
Those two flags are coming out of profiles any day now so you will
miss the long list of rebuilds that will cause.

Try putting those two flags in package.use only for those packages that
truly need it and when the change hits the tree sit back and watch just
how much unneccessary cruft you have :-)

You often mention the attraction of Gentoo is you get only what you
want. But, consider this; if you put flags routinely in make.conf you
lose most of that benefit. You end up with the equivalent of Mandrake
where you complied it yourself, not the binary distro.

USE=every possible flag enabled emerge something
and
yum install something
a
nd pretty much equivalent in terms of end result.


What I like about Gentoo is not being in dependency hell.  Also, 
Mandrake has a init thing that drove me bonkers on most days.  I do like 
the control that Gentoo gives but I'm not that much of a control freak.  
I wanted a distro that had a better package manager than Mandrake and no 
init thingy.  Gentoo fit that requirement even back in 2003.  So, yea 
you are right in a way but I'm just not into controlling every single 
aspect of this.  That said, I'm going to try USE=-perl -python emerge 
-Nav world and see what pukes on my keyboard.


Also, I think a lot of things required python and/or perl back when I 
added the flag.  That just seems to have changed without me knowing 
about it.  Just like the invalid USE flags that I got rid of.  Things 
change.  I try to keep up but I do have other things to deal with at 
times.  My garden and this little 90 lb chick I met.  I'm trying to 
fatten her up a bit.  lol


This is all that puked.

root@fireball / # USE=-perl -python emerge -Nav world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] dev-util/boost-build-1.46.1  USE=-examples -python* 
41,017 kB
[ebuild   R] sys-apps/util-linux-2.19.1  USE=cramfs loop-aes 
ncurses nls unicode -crypt -old-linux -perl* (-selinux) -slang 
(-uclibc) 4,341 kB
[ebuild   R] media-libs/alsa-lib-1.0.24.1  USE=-alisp -debug -doc 
-python* -static-libs ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix 
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat 
linear meter mmap_emul mulaw multi null plug rate route share shm 
softvol 814 kB
[ebuild   R] media-libs/lcms-1.19  USE=jpeg tiff zlib -python* 
-static-libs 907 kB
[ebuild   R] dev-libs/libgamin-0.1.10-r2  USE=-debug -python* 
-static-libs 834 kB
[ebuild   R] sys-apps/file-5.07-r3  USE=zlib -python* -static-libs 
584 kB

[ebuild   R] sys-libs/cracklib-2.8.16  USE=nls -python* 604 kB
[ebuild   R] dev-lang/yasm-1.1.0-r1  USE=nls -python* 1,377 kB
[ebuild   R] dev-libs/boost-1.46.1-r1  USE=eselect -debug -doc -icu 
-mpi -python* -static-libs -test -tools 0 kB
[ebuild   R   ~] kde-base/kdegames-meta-4.7.1  USE=opengl (-aqua) 
-python* 0 kB
[ebuild   R] dev-libs/libxslt-1.1.26-r1  USE=-crypt -debug 
-python* 3,322 kB
[ebuild   R] net-libs/libproxy-0.4.6-r3  USE=kde -gnome -mono 
-networkmanager -perl* -python* -test 81 kB
[ebuild   R   ~] kde-base/marble-4.7.1  USE=handbook kde plasma (-aqua) 
-debug -designer-plugin -gps (-kdeenablefinal) -python* -test 20,575 kB
[ebuild   R   ~] kde-base/superkaramba-4.7.1  USE=(-aqua) -debug 
(-kdeenablefinal) -python* 3,711 kB
[ebuild   R   #] net-print/cups-1.5.0-r2  USE=X dbus gnutls java jpeg 
pam png ssl threads tiff -acl -debug -kerberos -ldap -perl* -php 
-python* -samba -slp -static-libs -usb -xinetd LINGUAS=-da -de -es -eu 
-fi -fr -id -it -ja -ko 

Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Michael Mol
On Sun, Oct 2, 2011 at 7:58 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Sun, 02 Oct 2011 06:36:54 -0500
 Dale rdalek1...@gmail.com wrote:
 Alan McKinnon wrote:
  On Sun, 02 Oct 2011 05:13:49 -0500
  Dalerdalek1...@gmail.com  wrote:
 You often mention the attraction of Gentoo is you get only what you
 want. But, consider this; if you put flags routinely in make.conf you
 lose most of that benefit. You end up with the equivalent of Mandrake
 where you complied it yourself, not the binary distro.

 USE=every possible flag enabled emerge something and
 yum install something and pretty much equivalent in terms of end
 result.

I'm actually very much in Dale's usage pattern here. If there's a
feature I want, and it's a globally-valid USE flag (such as, say,
ipv6), I put it in make.conf. If there's a feature I want, and it's
package-specific, it goes in package.use. If there's a feature I want,
it's a globally-valid USE flag, but I *don't* want it in a particular
package (say, X in vim), the enabler goes in make.conf, the disabler
goes in packages.use; for 90% of packages, I want that support.

So that's not USE=every possible flag enable, that's USE=all the
global flags I want enabled.

-- 
:wq



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Neil Bothwick
On Sun, 02 Oct 2011 08:50:41 -0500, Dale wrote:

 That said, I'm going to try USE=-perl -python emerge 
 -Nav world and see what pukes on my keyboard.
 
 Also, I think a lot of things required python and/or perl back when I 
 added the flag.

If they require Perl or Python, you won't have the perl or python USE
flag. That's for optional choices, which usually means building language
bindings with these flags.


-- 
Neil Bothwick

Taglines are like cars - You get a good one, then someone nicks it.


signature.asc
Description: PGP signature


Re: [gentoo-user] MediaTomb - sorting images by exif rating

2011-10-02 Thread czernitko
Thanks for your answer, Michael. I have already read the web page you
posted, but my problem is that libextractor extracts various EXIF metadata
from jpeg files EXCEPT for exif rating. So I wonder whether there is any
workaround/any way to do this in some different way? Or maybe some way to
teach libextractor to extract those data? I tried to find some configuration
for libextractor/exiv2 but unforutnately without any success.
Peter

2011/10/2 Michael Mol mike...@gmail.com

 On Sun, Oct 2, 2011 at 5:50 AM, czernitko czerni...@gmail.com wrote:
  Hello there!
  I am using Mediatomb with my telly which is so far the best DLNA server
 I've
  tried. I use the telly to present images from my DSLR camera and I'd like
 to
  be able to list only images that have rating over 4. By rating, I mean
 EXIF
  tag 0x4746 (Exif.Image.Rating). Does anybody know how to force MediaTomb
 to
  create such virtual folders?

 MediaTomb builds the virtual folder set via JavaScript.

 Take a peek under /usr/share/mediatomb/js , and at
 http://mediatomb.cc/pages/scripting

 --
 :wq




Re: [gentoo-user] MediaTomb - sorting images by exif rating

2011-10-02 Thread Michael Mol
On Sun, Oct 2, 2011 at 10:58 AM, czernitko czerni...@gmail.com wrote:
 Thanks for your answer, Michael. I have already read the web page you
 posted, but my problem is that libextractor extracts various EXIF metadata
 from jpeg files EXCEPT for exif rating. So I wonder whether there is any
 workaround/any way to do this in some different way? Or maybe some way to
 teach libextractor to extract those data? I tried to find some configuration
 for libextractor/exiv2 but unforutnately without any success.

I don't have a good answer for that. You might try the ask-and-lurk
pattern in #mediatomb on Freenode. Note that you're running Gentoo,
and could patch the source (in case you pique the curiosity of an
interested mt dev).

-- 
:wq



Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread pk
On 2011-10-02 10:44, Dale wrote:

 How's that for a USE line?  What does it look like if there is a USE

Hm... this doesn't really answer the original question but I like to put
my USE flags (in make.conf) in a list (alphabetized [using sort]) like this:

USE=
3dnow
3dnowext
a52
aac
-accessibility
acl
acpi
...


To me, that's easier to maintain and get an overview of...

Best regards

Peter K



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Alan McKinnon
On Sun, 2 Oct 2011 10:53:46 -0400
Michael Mol mike...@gmail.com wrote:

 On Sun, Oct 2, 2011 at 7:58 AM, Alan McKinnon
 alan.mckin...@gmail.com wrote:
  On Sun, 02 Oct 2011 06:36:54 -0500
  Dale rdalek1...@gmail.com wrote:
  Alan McKinnon wrote:
   On Sun, 02 Oct 2011 05:13:49 -0500
   Dalerdalek1...@gmail.com  wrote:
  You often mention the attraction of Gentoo is you get only what you
  want. But, consider this; if you put flags routinely in make.conf
  you lose most of that benefit. You end up with the equivalent of
  Mandrake where you complied it yourself, not the binary distro.
 
  USE=every possible flag enabled emerge something and
  yum install something and pretty much equivalent in terms of end
  result.
 
 I'm actually very much in Dale's usage pattern here. If there's a
 feature I want, and it's a globally-valid USE flag (such as, say,
 ipv6), I put it in make.conf. If there's a feature I want, and it's
 package-specific, it goes in package.use. If there's a feature I want,
 it's a globally-valid USE flag, but I *don't* want it in a particular
 package (say, X in vim), the enabler goes in make.conf, the disabler
 goes in packages.use; for 90% of packages, I want that support.
 
 So that's not USE=every possible flag enable, that's USE=all the
 global flags I want enabled.
 

As with all things in life,  USE flags require intelligence, common
sense and familiarity to use to best advantage. Not all global USE
flags are equal or used in the same way!

USE=ipv6 is mostly global and single-meaning. ipv6 support means
just that - ipv6 support. For a daemon, that would be listen on an
ipv6 interface and talk it back. For config tools, it's  set up
interfaces and routes ipv6 style. It's hard to come up with a meaning
for the flag that's outside that narrow range; it's equally hard to
come up with a reason to use in package.use. Maybe disable it for a
package that supports ipv6 but is known to be broken in it's support.

USE=perl python is a very different kettle of fish. While also
global (i.e. used in a similar way by more than x number of ebuilds),
the meaning in use can differ wildly. It can mean to build support
for extra tools written in perl|python, or build language bindings, or
use language bindings and possibly many things. These flags can benefit
from being used in package.use - whereas you probably want ipv6 support
everywhere if used, perl|python isn't used the same way.

Your post indicates you already know this :-)

I mentioned it to Dale to illuminate that just because a flag is
*defined* globally doesn't mean you have to *use* it globally. And the
reverse is also true - overlays often have flags used in many ebuilds,
always with the same meaning (e17 is like this), but are not global in
use.desc. My own make.conf has many of these flags.

Sometimes I wish Gentoo would express these distinctions. Then I think
about what it would take to do that, and shelf the idea :-)

--
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

pk wrote:

On 2011-10-02 10:44, Dale wrote:


How's that for a USE line?  What does it look like if there is a USE

Hm... this doesn't really answer the original question but I like to put
my USE flags (in make.conf) in a list (alphabetized [using sort]) like this:

USE=
3dnow
3dnowext
a52
aac
-accessibility
acl
acpi
...


To me, that's easier to maintain and get an overview of...

Best regards

Peter K




Well, I used esue or something and my make.conf USE line now looks like 
this:


USE=3dnow 3dnowext X a52 acpi alsa aml apng automount avahi \
 bash-completion bzip2 cddb cdr chroot cleartype clucene corefonts 
cups \

 curl dbus declarative dri dvd dvdr embedded escreen esd exif \
 ffmpeg fortran gif gimp gkrellm gnutls gphoto2 gtk hbci hddtemp \
 ipv6 java javascript jbig jpeg2k justify kde libwww \
 logrotate loop-aes mdnsresponder-compat melt mmx mmxext mng mp3 \
 mplayer mysql nls nsplugin nvidia offensive ofx opengl parport pdf \
 policykit ppds ppp qt3support qt4 sasl seamonkey \
 semantic-desktop sift smp sse sse2 sse4a syslog tcl threads tiff tk \
 truetype type1 udev usb vcd webkit wma wmf yahoo zeroconf -acl \
 -bluetooth -branding -crypt -doc -dts -eds -fftw -gcj -gnome \
 -jabber -jingle -ldap -musepack -openldap -oss -otr -sqlite \
 -sqlite3 -theora -v41 -xulrunner

So, I guess you put the \ on the end and indent the next line and it 
sees it as one line.


I might also add that mine was in alphabetical order BEFORE I used euse 
or whatever that was that did the chicken scratch up there.


Want to try it?

Dale

:-)  :-)



Re: [gentoo-user] X hang / occasionally after using LVM

2011-10-02 Thread Volker Armin Hemmann
Am Sonntag 02 Oktober 2011, 22:34:25 schrieb J.Marcos Sitorus:
 Hi Volker,
 I just update VirtualBox from 4.0.8 to 4.1.2 today, and when emerge
 finished I read the message that I need to manually put virtualbox
 modules to /etc/conf.d/modules.
 The module I said that I set to autoload on boot was the kernel module
 (kvm-amd and several other modules). That mean that I never put
 virtualbox modules to autoload on boot.
 
 And today I get another crash when I copy somefiles to my backup
 partition on LVM (virtualbox not running, although now I set the
 virtualbox modules to autoload on boot).

but you had them loaded:

Modules linked in: btrfs libcrc32c vboxnetflt vboxnetadp vboxdrv snd_pcm_oss 
snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device nls_cp437 
vfat fat fuse sr_mod cdrom virtio_pci virtio_net virtio_ring virtio vhost_net 
tun kvm_amd kvm bridge stp llc usb_storage usbhid snd_hda_codec_realtek sg 
snd_hda_intel snd_hda_codec snd_pcm thermal snd_timer processor rtc 
firewire_ohci snd thermal_sys r8169 ohci_hcd firewire_core mii ehci_hcd 
k10temp i2c_piix4 snd_page_alloc crc_itu_t

You are also using btrfs AND reiser4. 

Hint: only use one unstable fs at a time.

Get 2.6.38. Patch it with reiser4. Retry. If your box still crashes, report it 
on reiserfs-devel mailing list. If not, well, everything past 2.6.38 is pretty 
much broken (and known as broken).

Your X hangups are caused by that first crash.

Btw, invalid opcode here, null pointers there and a biostar mainboard - which 
itself is worrisome. Make sure that you have the latest bios installed. This 
whole thing smells really fishy. Hardwarish...


 
 I have attached the dmesg after the crash. I notice this messages:
 [ cut here ]
 kernel BUG at fs/reiser4/block_alloc.c:151!
 invalid opcode:  [#1]
 last sysfs file: /sys/devices/virtual/hwmon/hwmon2/temp1_input
 CPU 0
 
 Does it mean something wrong with my CPU? I have check the CPU
 temperature from BIOS and it's normal, only 52 Celcius.

no, you can ignore that line. It just tells you the last accessed sysfs file. 
Which is pretty much not an issue.

 
 What is the cause of this crash?

maybe your bios is missing the latest microcode update
maybe your hardware has gone bad
maybe it is a bad interaction between the in-kernel amd graphics drivers and 
reiser4
maybe it is a bad interaction between virtualbox and the rest.
maybe it is caused by the fact that you are still using a non-vanilla, plain 
2.6.38

-- 
#163933



Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread pk
On 2011-10-02 19:51, Dale wrote:

 So, I guess you put the \ on the end and indent the next line and it
 sees it as one line.

This is copy-paste (well, it's not all of it but I think you get the
idea) directly from my make.conf:
USE=
3dnow
3dnowext
a52
aac
-accessibility
acl
acpi
...


Portage interprets everything between the   as 'one' line; no need for \.

 Want to try it?

Thanks, I'll skip it for now... :-)

Best regards

Peter K



Re: [gentoo-user] How to read package changelogs?

2011-10-02 Thread Spidey
I guess emerge --changelog will print ebuild changelogs, right?
I'll try /usr/share/doc, and if it's not enough, go for the package website
and find it there.

Thank you for the suggestions.

Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1


Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Spidey
Try with this simplified xorg.conf:

Section Device
   Identifier  aticonfig-Device[0]-0
   Driver  fglrx
   #Driver  radeon
EndSection


You can toggle video drivers also and tell what happened. By the way, you
realise you also need to setup correct kernel modules and disable
conflicting ones when changing from fglrx to radeon, right?

Claudio Roberto França Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computação - UFES 2006/1


Re: [gentoo-user] {OT} Development framework with access restriction?

2011-10-02 Thread Michael Orlitzky
On 10/01/11 19:46, Grant wrote:
 
 I think separate repositories would only be necessary when using
 distributed version control (git) as opposed to centralized
 (subversion).  I think subversion's path-based authorization should
 eliminate the need for separate repositories?
 

Separate repos aren't strictly necessary, but it's much harder to verify
your path permissions than it is to verify that your repositories are
separate.

The first involves config files and cascading information; the second
involves being able to count to two =)



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Alan McKinnon wrote:

On Sun, 2 Oct 2011 10:53:46 -0400
Michael Molmike...@gmail.com  wrote:


On Sun, Oct 2, 2011 at 7:58 AM, Alan McKinnon
alan.mckin...@gmail.com  wrote:

On Sun, 02 Oct 2011 06:36:54 -0500
Dalerdalek1...@gmail.com  wrote:

Alan McKinnon wrote:

On Sun, 02 Oct 2011 05:13:49 -0500
Dalerdalek1...@gmail.comwrote:

You often mention the attraction of Gentoo is you get only what you
want. But, consider this; if you put flags routinely in make.conf
you lose most of that benefit. You end up with the equivalent of
Mandrake where you complied it yourself, not the binary distro.

USE=every possible flag enabled emerge something and
yum install something and pretty much equivalent in terms of end
result.

I'm actually very much in Dale's usage pattern here. If there's a
feature I want, and it's a globally-valid USE flag (such as, say,
ipv6), I put it in make.conf. If there's a feature I want, and it's
package-specific, it goes in package.use. If there's a feature I want,
it's a globally-valid USE flag, but I *don't* want it in a particular
package (say, X in vim), the enabler goes in make.conf, the disabler
goes in packages.use; for 90% of packages, I want that support.

So that's not USE=every possible flag enable, that's USE=all the
global flags I want enabled.



As with all things in life,  USE flags require intelligence, common
sense and familiarity to use to best advantage. Not all global USE
flags are equal or used in the same way!

USE=ipv6 is mostly global and single-meaning. ipv6 support means
just that - ipv6 support. For a daemon, that would be listen on an
ipv6 interface and talk it back. For config tools, it's  set up
interfaces and routes ipv6 style. It's hard to come up with a meaning
for the flag that's outside that narrow range; it's equally hard to
come up with a reason to use in package.use. Maybe disable it for a
package that supports ipv6 but is known to be broken in it's support.

USE=perl python is a very different kettle of fish. While also
global (i.e. used in a similar way by more than x number of ebuilds),
the meaning in use can differ wildly. It can mean to build support
for extra tools written in perl|python, or build language bindings, or
use language bindings and possibly many things. These flags can benefit
from being used in package.use - whereas you probably want ipv6 support
everywhere if used, perl|python isn't used the same way.

Your post indicates you already know this :-)

I mentioned it to Dale to illuminate that just because a flag is
*defined* globally doesn't mean you have to *use* it globally. And the
reverse is also true - overlays often have flags used in many ebuilds,
always with the same meaning (e17 is like this), but are not global in
use.desc. My own make.conf has many of these flags.

Sometimes I wish Gentoo would express these distinctions. Then I think
about what it would take to do that, and shelf the idea :-)

--
Alan McKinnnon
alan.mckin...@gmail.com




I saw your point.  That's why I said I do make exceptions.  For me, I do 
whatever is easier to keep up with.  I actually went back and removed 
perl and python from make.conf so that it would basically go by the 
ebuild I guess.  When I ran emerge -uvaDN world, it wanted to rebuild 
actually nothing.  I guess I could do -perl and -python to force it to 
disable but that may cause some other issue that I'm not wanting to deal 
with.  So, I ended up with perl and python removed from make.conf.  When 
the changes you were talking about come along, I'll know it and can see 
what I need to do to get what I need.


One thing I don't like about having all the separate file in package.* 
is trying to keep up with them.  I have several files that are there 
that don't even have anything in them because either portages unmask 
feature or autounmask created them.  I sort of wonder if it wouldn't be 
easier for me to go back to a single file.  Then I can open it with 
kwrite and if the file has a lot in it, just use the find tool.  I know, 
I'm sure there is some command that can do that but that's another 
story.  Of course I also have several files that do have something in 
them.  Thing is, if I suspect something is in a file and want to look, I 
have to open each file, look to see if it's there and if not, repeat 
with the next one until I find it.  Sometimes that is like a needle in a 
haystack.


One step forward, two steps back.  :/

Dale

:-)  :-)



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Neil Bothwick
On Sun, 02 Oct 2011 14:26:27 -0500, Dale wrote:

 One thing I don't like about having all the separate file in package.* 
 is trying to keep up with them.  I have several files that are there 
 that don't even have anything in them because either
 portages unmask feature or autounmask created them.  I sort of wonder
 if it wouldn't be easier for me to go back to a single file.  Then I
 can open it with kwrite and if the file has a lot in it, just use the
 find tool.  I know, I'm sure there is some command that can do that but
 that's another story.  Of course I also have several files that do have
 something in them.  Thing is, if I suspect something is in a file and
 want to look, I have to open each file, look to see if it's there and
 if not, repeat with the next one until I find it.  Sometimes that is
 like a needle in a haystack.

Either give the files sensible names or use grep :)

I name the file after the package that requires its settings, so if foo
requires a USE flag on libbar, I put that in foo. That way, if I unmerge
foo, I can delete the file and not leave cruft.


-- 
Neil Bothwick

If it ain't broke, break it and charge for repair.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Dale

Neil Bothwick wrote:

On Sun, 02 Oct 2011 14:26:27 -0500, Dale wrote:


One thing I don't like about having all the separate file in package.*
is trying to keep up with them.  I have several files that are there
that don't even have anything in them because either
portages unmask feature or autounmask created them.  I sort of wonder
if it wouldn't be easier for me to go back to a single file.  Then I
can open it with kwrite and if the file has a lot in it, just use the
find tool.  I know, I'm sure there is some command that can do that but
that's another story.  Of course I also have several files that do have
something in them.  Thing is, if I suspect something is in a file and
want to look, I have to open each file, look to see if it's there and
if not, repeat with the next one until I find it.  Sometimes that is
like a needle in a haystack.

Either give the files sensible names or use grep :)

I name the file after the package that requires its settings, so if foo
requires a USE flag on libbar, I put that in foo. That way, if I unmerge
foo, I can delete the file and not leave cruft.




I generally use autounmask or portages unmask feature and it gives them 
names.  Thing is, just because is it named something doesn't mean that 
is what is in it.  I had a KDE unmask file that had things that were not 
KDE but was needed by KDE.  It has all sorts of weird things in it.


Maybe I need to study the find command or something.  lol  Then again, 
I'm confused enough already for today.  :/


Dale

:-)  :-)



Re: [gentoo-user] Re: How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-02 Thread Neil Bothwick
On Sun, 02 Oct 2011 14:51:56 -0500, Dale wrote:

 I generally use autounmask or portages unmask feature and it gives them 
 names.  Thing is, just because is it named something doesn't mean that 
 is what is in it.  I had a KDE unmask file that had things that were
 not KDE but was needed by KDE.  It has all sorts of weird things in it.

That makes sense. The USE flags are there because of KDE and if you ever
go over to the other side you can get rid of them.

 Maybe I need to study the find command or something.  lol  Then again, 
 I'm confused enough already for today.  :/

You need grep, not find, if it's the content of the files that matters.


-- 
Neil Bothwick

A computer is like an Old Testament god, with a lot of rules and no
mercy. \xA0-- Joseph Campbell


signature.asc
Description: PGP signature


[gentoo-user] gv - default printer

2011-10-02 Thread Joseph

Does anybody know how to setup default printer for gv
Is it possible?

--
Joseph



Re: [gentoo-user] {OT} Development framework with access restriction?

2011-10-02 Thread Mick
On Sunday 02 Oct 2011 00:27:23 Grant wrote:
  I'm not sure if you are overcomplicating this by trying to use Unix
  permission.  Have you instead considered webdav?  You can restrict this
  to particular (apache) users/groups, directories, files.  It also uses
  lockfiles so with two users editing a file simultaneously will cause a
  warning when you try to save it.
  
  How does webdav relate to something like subversion?  Do they
  compliment each other or are they substitutes?
  
  - Grant
  
  WebDAV has no version control. It is just an extension to HTTP for
  distributed authoring. It supports locking files and methods which make
  it more filesystem-like. AFAIK SVN uses WebDAV for its HTTP transfer
  protocol.
 
 Got it.  It sounds like I could use WebDAV in conjunction with
 subversion or git.  I'll look into that.

The reason I mentioned webdav(s) earlier was because you can have granular 
control of what each user can access.  You need specify only what 
directory/file you want them to be able to access and they shouldn't have 
access to anything else.

Also, you don't need to give them shell access - which I find 
(psychologically) more reassuring.  ;-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] gv - default printer

2011-10-02 Thread Canek Peláez Valdés
I *think* gv just calls lpr, so the question then is which is your default
printer.

Regards.
El 02/10/2011 15:07, Joseph syscon...@gmail.com escribió:
 Does anybody know how to setup default printer for gv
 Is it possible?

 --
 Joseph



Re: [gentoo-user] Blank screen in X, no errors in Xorg.log

2011-10-02 Thread Adam Carter
 By the way, you
 realise you also need to setup correct kernel modules and disable
 conflicting ones when changing from fglrx to radeon, right?

Really - i thought changing the X driver was all that was required. Is
that do with with KMS?

Anyway, i think i'll focus on just using fglrx as its what i use
successfully on my laptop.



[gentoo-user] BASH Completion - Mixing directories and executables

2011-10-02 Thread Hilco Wijbenga
Hi all,

I was wondering if someone had a good suggestion to fix the following:

$ woTAB
$ wordTABTAB
$ word
wordforms  wordlist2hunspell
$workTAB
$workspaces/

I'm trying to reach the workspaces directory but BASH completion
seems to prefer executables. It seems to only list directories if no
executables are found.

Is it possible to combine them or something like that?

Cheers,
Hilco



Re: [gentoo-user] BASH Completion - Mixing directories and executables

2011-10-02 Thread Alexander Tanyukevich
On Monday, October 3, 2011, Hilco Wijbenga wrote:

 Hi all,

 I was wondering if someone had a good suggestion to fix the following:

 $ woTAB
 $ wordTABTAB
 $ word
 wordforms  wordlist2hunspell
 $workTAB
 $workspaces/

 I'm trying to reach the workspaces directory but BASH completion
 seems to prefer executables. It seems to only list directories if no
 executables are found.

 Is it possible to combine them or something like that?

 Cheers,
 Hilco


if you're disable bash completion situation will be the same. That's how it
works.
If you want to reach workspaces you should try:

$./wotab


-- 
Alexander Tanyukevich
atanyukev...@gmail.com


Re: [gentoo-user] gv - default printer

2011-10-02 Thread Joseph

On 10/02/11 15:56, Canek Peláez Valdés wrote:

  I *think* gv just calls lpr, so the question then is which is your default
  printer.

  Regards.

  El 02/10/2011 15:07, Joseph syscon...@gmail.com escribiA^3:
   Does anybody know how to setup default printer for gv
   Is it possible?
  
   --
   Joseph


Yes, you are correct. I didn't realize it. 
I have my default printer setup, but I was expecting to see something like: lpr -PHPIII and I only see lpr so I was always typing the default printer :-/


--
Joseph



Re: [gentoo-user] BASH Completion - Mixing directories and executables

2011-10-02 Thread Hilco Wijbenga
On 2 October 2011 16:37, Alexander Tanyukevich atanyukev...@gmail.com wrote:

 On Monday, October 3, 2011, Hilco Wijbenga wrote:

 Hi all,

 I was wondering if someone had a good suggestion to fix the following:

 $ woTAB
 $ wordTABTAB
 $ word
 wordforms          wordlist2hunspell
 $workTAB
 $workspaces/

 I'm trying to reach the workspaces directory but BASH completion
 seems to prefer executables. It seems to only list directories if no
 executables are found.

 Is it possible to combine them or something like that?

 Cheers,
 Hilco

 if you're disable bash completion situation will be the same. That's how it
 works.
 If you want to reach workspaces you should try:
 $./wotab

I see. That's unfortunate. How do aliases fit in?