Archiv für Juni 2008
Debian: darkice mit mp3
Sonntag, 01. Juni 2008Mist, darkice bringt bei Debian von Natur aus keine Ünterstützung für mp3 mit (und das ist lizenzmäßig auch gut so).
Das musste ich erstmal für meinen Hausgebrauch ändern :-)
debian/rules
#!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/class/autotools.mk DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --sysconfdir=/usr/share/doc/darkice/examples --with-lame --with-faac
debian/control
Source: darkice
Section: sound
Priority: optional
Maintainer: Jochen Friedrich <jochen@scram.de>
Standards-Version: 3.7.2
Build-Depends: cdbs, debhelper (>=4.1.0), libvorbis-dev, libasound2-dev [!kfreebsd-i386], libjack0.100.0-dev, libtwolame-dev, liblame-dev, libfaac-dev
Package: darkice
Architecture: any
Depends: ${shlibs:Depends}
Description: Live audio streamer
DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
takes audio input from a sound card, encodes it into mp3 and/or Ogg
Vorbis, and sends the mp3 stream to one or more IceCast and/or
ShoutCast servers, the Ogg Vorbis stream to one or more IceCast2
servers. DarkIce uses lame as a shared object as its mp3 encoder, and
the Ogg Vorbis as its Ogg Vorbis encoder.
cassmodiah@schafwiese:~$ ldd /usr/bin/darkice
linux-gate.so.1 => (0xb7f1f000)
libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7e70000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7e6b000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7e43000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7d4a000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7d39000)
libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0xb7d17000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7c56000)
libjack-0.100.0.so.0 => /usr/lib/libjack-0.100.0.so.0 (0xb7c3f000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7c36000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7c20000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b3b000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7b15000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b0a000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb79d9000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb79c7000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb79c3000)
/lib/ld-linux.so.2 (0xb7f20000)
MP3: libmp3lame.so.0 => /usr/lib/libmp3lame.so.0
OGG: libvorbis.so.0 => /usr/lib/libvorbis.so.0
AAC: libfaac.so.0 => /usr/lib/libfaac.so.0
Hooligans
Sonntag, 01. Juni 2008Fifa 07 @ PS2
VfB Stuttgart (cassmodiah) : Bayern München (Sveny)
53. Minute
VfB 8 : 0 FCB
Wutentbrand über das (mal wieder) verlieren eines Spieles gegen mich, zerstörte Sveny das Bedienungselement durch entgegengesetzes Drehen der Handgriffe um die Längsachse… Das Spiel musste mangels an Controllern abgebrochen werden.

Maustasten auf dem Touchpad eines Macbooks platzieren
Sonntag, 01. Juni 2008Ein MacBook hat keine keine rechte Maustaste, sondern nur eine Linke. Die rechte Maustaste wird über CTRL + Maustaste angesteuert, die mittlere über SHIFT + Maustaste.
Diese Einstellungen halte ich unter Linux nicht für besonders sinnvoll und ergonomisch. Die Maustasten lassen sich so schön in auf dem Touchpad integrieren.
Auszug aus /etc/X11/xorg.conf.
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
Option "LeftEdge" "100"
Option "RightEdge" "1120"
Option "TopEdge" "50"
Option "BottomEdge" "310"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "50"
Option "MinSpeed" "0.79"
Option "MaxSpeed" "0.88"
Option "AccelFactor" "0.0015"
EndSection


