April 21, 2005

Dependency Hell

Since when did Tomcat require like 20 other packages?

aurelia root # emerge -av tomcat

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] dev-java/commons-daemon-1.0 -doc -jikes 214 kB
[ebuild N ] dev-java/commons-pool-1.2 -doc -jikes +junit 263 kB
[ebuild NS ] dev-java/servletapi-2.4-r1 -doc -jikes 3,560 kB
[ebuild N F ] dev-java/jmx-1.2.1 -doc -jikes 2,126 kB
[ebuild N ] dev-java/commons-digester-1.6 -doc -jikes +junit 245 kB
[ebuild N ] dev-java/commons-modeler-1.1 -doc -jikes 90 kB
[ebuild N ] dev-java/commons-httpclient-2.0-r1 -doc -jikes 1,393 kB
[ebuild N ] dev-java/commons-fileupload-1.0 -doc -jikes 29 kB
[ebuild N F ] dev-java/sun-jaf-bin-1.0.2 -doc 348 kB
[ebuild N ] dev-java/commons-launcher-0.9 -doc -jikes 40 kB
[ebuild U ] dev-java/commons-beanutils-1.7.0 [1.6.1-r1] -doc -jikes +junit 252 kB
[ebuild N ] dev-java/commons-dbcp-1.2.1 -doc -jikes 565 kB
[ebuild N ] dev-java/commons-el-1.0 -jikes -source 62 kB
[ebuild N ] dev-java/saxpath-1.0 -doc +junit 2,115 kB
[ebuild N ] dev-java/commons-validator-1.0.2-r4 -doc -examples -jikes -source 52 kB
[ebuild N ] dev-java/commons-lang-2.0-r1 -doc -jikes -source 430 kB
[ebuild N ] dev-java/struts-legacy-1.0-r1 -doc -jikes 12 kB
[ebuild N ] dev-java/struts-1.1-r2 -doc -jikes 9,711 kB
[ebuild N ] dev-java/dom4j-1.4-r1 -doc 11,816 kB
[ebuild N ] dev-java/jdom-1.0_beta9-r1 -doc -jikes 3,337 kB
[ebuild N ] dev-java/jaxen-1.0 -doc +junit 3,120 kB
[ebuild U ] www-servers/tomcat-5.0.28-r2 [5.0.27-r5] -doc -examples -jikes 3,482 kB

Total size of downloads: 43,270 kB

Do you want me to merge these packages? [Yes/No]
Posted by dwc in Programming at 02:37 PM

April 14, 2005

Screwed

I ended up buying a car, which is nice and all, but now I'm scrambling to find a place to live. My lease ends April 30.

This date was really convenient when I moved in because I was tired of the dorms and it meant I didn't have to spend the summer at home. Now, however, I'm finding very few places. Most leases seem to end in the summer.

The apartments I've found so far are either, um, not very nice or a little too expensive. There are tons of really nice 2- or 3-bedroom places which fall just outside my price range.

Most of my friends already have leases, and I'm not much of one for "interviewing" potential roommates. I like to know the person before signing the lease because I have a much better chance of avoiding disaster.

:-(

Posted by dwc in Personal at 04:52 PM

April 01, 2005

DVD Players Redux

At Elliot's suggestion, I gave VLC another shot. After a few false starts due to poor USE flag choices, I'd say I'm pretty happy with it. Here's what I settled on:

First I added media-video/vlc ~x86 to /etc/portage/package.keywords. The USE flags I settled on were:

[11:52:01 dwc@fortuna ~]$ emerge -pv vlc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] media-video/vlc-0.8.1-r1 -3dfx +X +a52 +aac +aalib +alsa (-altivec) -arts -bidi +cdda +cddb -cdio -debug -dts -dvb +dvd -esd +fbcon -ffmpeg +flac +freetype -ggi +gnutls +gtk2 -hal -httpd -joystick -libcaca -lirc -live +mad -matroska +mozilla +mpeg +ncurses +nls +ogg +oggvorbis +opengl +oss +stream +svg +svga +theora +unicode +v4l +vcd -vlm +wxwindows -xosd +xv 0 kB

Total size of downloads: 0 kB

I may add ffmpeg and live, but that will mean accepting ~x86 on those packages as well.

The DVD video output is smooth. It disables xscreensaver while playing (though I had to add screensaver to the "extra interface options").

The only complaint I have is that the GUI requires wxWidgets, wxGTK in my case. I don't have a problem with the toolkit itself, rather that VLC is the only package on my system to use it. I would much prefer a native GTK+ interface, but I understand the need for abstraction.

Also, I tried creating a xine config with the appropriate deinterlacing options and copying it to ~/.gnome2/totem_config, but I still couldn't get the DVD video to look right.

Posted by dwc in Computers at 12:06 PM