# Note: depends on libwnck2 # Note: depends on libSM # Note: depends on libgnomeui (with libSM/session-management support) # Note: depends on gtk+2 # Note: depends on libXmu wget -c http://ftp.gnome.org/pub/GNOME/sources/gnome-core/1.5/gnome-core-1.5.8.tar.bz2 tar -xjf gnome-core-1.5.8.tar.bz2 cd gnome-core-1.5.8 # Some patches, note that more patches are necessary, not yet documented sed -i -e '/wnck_window_activate/{s/)/,0)/;}' panel/foobar-widget.c sed -i -e '/wnck_window_unminimize/{s/)/,0)/;}' panel/foobar-widget.c sed -i -e 's/^CFLAGS.*/& -DGNOME_CORE_INTERNAL/' panel/Makefile.in sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' panel/gnome-panel-screenshot.c sed -i -e 's|<glib/.*|<glib.h>|' libpanel-applet/panel-applet.h mkdir -p build cd build ../configure --prefix="/usr" --sysconfdir="/etc" # The variable we're setting below is because gnome-core uses several deprecated functions, so disabling them breaks the build make DISABLE_DEPRECATED_CFLAGS='' # Doesn't mind -j# make install