wiki.webvm.net/ hardware/ won

won

The Macbook Pro (MBP) at the office and what I learn from Darwin is here.

My work desk

I prefer to use Debian and a x61. The only good thing about an Apple for development is that Xcode & GDB in quite a neat debugging package. Debian doesn’t have a nice visual debugger AFAIK. :/

Getting GTK (bloatware) to finkin’ work on an Apple

Install Fink

Then fink install gtk+2-dev and then go for a swim as this takes time.

SO how do you figure out how to link you gtk app? pkg-config!

For the GTKLIBS

won$ PKGCONFIGPATH=/sw/lib/pkgconfig pkg-config —libs gtk+-2.0 -Wl,-framework,CoreServices,-framework,ApplicationServices -L/sw/lib -L/usr/X11/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXfixes -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lXrender -lpangox-1.0 -lX11 -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv

For the GTKINCS

won$ PKGCONFIGPATH=/sw/lib/pkgconfig pkg-config —cflags gtk+-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include

Good luck!

Also see webkit gtk osx.

Mail setup

See postfix. Currently relaying via Dreamhost.

Porting guides

onetouch external 150G Maxtor hardrive

How to mount on x61:

sudo modprobe hfsplus
sudo mount -t hfsplus /dev/sdb1 /mnt/usb

Backups from nox

Local office scripted backups of nox are being made daily (at midnight) to the external Maxtor drive. Everything is managed under:

/Volumes/onetouch/nox

The external Maxtor drive should be kept physically safe at the office.

‘/home’ directories of nox are not backed up as they often contain too much useless cruft. Refer to:

/Volumes/onetouch/nox/files-to-include

I suggest finding a good place under /srv/ to place things that should be backed up. Ideally under a git a repo for example.