Sunday, March 15, 2009

Compile Inkscape from svn - packaged

As it my seem obvious to anyone who know me, I do not like to wait for new features to fall into the stable releases of debian, especially when the subject are ilustration and design apps. I've been compiling and running paralell versions of gimp, inkscape and scribus for a quite a few years now. Today, while compiling inkscape into my notebook, 'cause my desktop is "in mantainance" provenient of a font failure, I decided to package the script into a debian package which will install all the dependencies for compiling, check out inkscape from it's SVN repository and compile it with inkboard, python and perl suport.

The package is at: inkscape-frustrado-svn_0.0.1-1_all.deb

To install it run:

dpkg -i

Be patient. It may take quite a while.

Wednesday, March 11, 2009

Installing GIMP from SVN

I've been a great fan o the GIMP for many years now. The problem is that I'm not patient enough to wait until the new features apear on he stable versions so I've been running 2 versions of GIMP on my computer: the debian packaged one and one compiled from the project SVN repository.

Below is my bash script to install/update. If you want to download the shell script I have uploaded it here.


echo "Installing $DIR"

# bash check if directory exists
if [ -d $DIR ]; then
echo "Directory exists - UPDATING"
cd $DIR
svn update
echo "Directory does not exists - CHECKING OUT"
svn checkout "$DIR/trunk" "$DIR"
cd $DIR

if [ -n $COMMAND ]

./configure --prefix=/opt/gimp-svn $PARAMS && make && make install
cd ..

apt-get install automake1.7

co_compile_install "glib"

export PATH=/opt/gimp-svn/bin:$PATH
export LD_LIBRARY_PATH=/opt/gimp-svn/lib
export PKG_CONFIG_PATH=/opt/gimp-svn/lib/pkgconfig

co_compile_install "gtk+" "--with-xinput=yes --disable-gtk-doc" "sed -r 's#(automake|aclocal)-1.7#\1#g' -i"
co_compile_install "gtk+" "--with-xinput=yes --disable-gtk-doc"

co_compile_install "babl"

co_compile_install "gegl" "" "sed -r 's:#include :#include :g' -i operations/external/ff-load.c"

export PATH=/opt/gimp-svn/bin:$PATH
export LD_LIBRARY_PATH=/opt/gimp-svn/lib
export PKG_CONFIG_PATH=/opt/gimp-svn/lib/pkgconfig

co_compile_install "gimp" "--enable-gimp-remote --prefix=/opt/gimp-svn/ --program-suffix=-svn --with-gimpdir=.gimp-svn"

Monday, March 9, 2009

Web Services Tutorial

Uzed asked me to write a tutorial about SOAP using languages other than PHP. After much thought I decided to do a Introduction to Web Services tutorial as I think many of the people he was trying to explain soap do not have a good grasp on the basics of web servrices.

OBS: The tutorial is in Portuguese (pt_BR)