Monday, November 27, 2006

Blog suspended

It has been a long time since I blogged. As for now, I am filing a blog leave. I just want to enjoy the Ateneo Fiesta week. To be honest, I want to savor every moment here in my school where I studied for almost 16 years. At the same time, I should not forget the tasks reflected in the gantt chart of activities of our thesis.


If you want to track down the Ateneo Fiesta event, click here.

Tuesday, November 07, 2006

nVidia & Xorg issues

This entry should have been posted some time ago. Well, I hope this would still serve as a valuable reference. :)


The most annoying part in making your OS work is the X server especially if you are using decade-old displays that can only handle a maximum of 1024x768 @ 60Hz. Worse if its EDID is not being read correctly by the driver. I guess driver writers from nVidia should pay much attention to this issue.


Video Card: GeForce FX5700 128-bit 256mb
Display: DTS CM-14D (Made in China)
Xorg Version: xorg-x11-7.1
nVidia Driver Version: nvidia-drivers-1.0.8776


Setting things for Xorg and nVidia proprietary drivers may not be of much pain for Ubuntites but it is the other way around for Gentooligans.



In Section "Monitor" this line should be appended.



Modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync

In Section "Device" Identifier "nVidia GeForce FX5700" this line should be appended as well.



Option "UseEDID" "false"

In Section "Screen" Subsection "Display" this line is needed.



Modes "1024x768@60"

Other options are pretty straightforward. In case you do not have any idea where these things should be, it’s in /etc/X11/xorg.conf.

Wednesday, November 01, 2006

Ebuilds: media-gfx/f4l

F4L is an open source development environment for Macromedia Flash, a multi-platform format(swf/svg) widely used for web applications and vector animation.


I have found out that there is no existing ebuild yet for this cool project. It is not included in the official Gentoo Portage yet.


Here is the ebuild. Use at your own risk. I assume you already have a working overlay of your local portage.


in file f4l-0.2.1.ebuild



# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit qt3 eutils

DESCRIPTION="F4L is an open source development environment for Macromedia Flash"
HOMEPAGE="http://f4l.sourceforge.net/"
SRC_URI="mirror://sourceforge/f4l/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND="=x11-libs/qt-3.3*"
RDEPEND="${DEPEND}"

src_compile() {
"${QTDIR}"/bin/qmake -o Makefile ${PN}.pro || die "qmake failed"
emake || die "emake failed"
}

src_install() {
dobin bin/${PN}
newicon src/cursor/main_ico1.xpm ${PN}.xpm
make_desktop_entry ${PN} \"Flash for Linux\" ${PN}.xpm Graphics
}

Enjoy!