I'm an AbiWord developer, and on moving my main operation to my SourceMage machine, I wanted to cast the latest version from my CVS tree. So I copied the spell to /var/lib/sorcery/codex/local/local (if you add subdirectories to local with the same name as sections in other grimoires, gaze version $section lists the one in local, rather than all versions of the section picking the first version of each program it finds) and modified it to cast from the tree. Over a month later, with much help from wizards and ant farmers, I got it to work. Here it is:

--- BUILD --- cd abi && ./autogen.sh default_build --- DEPENDS --- depends autoconf && depends automake && depends libpng && depends expat && depends ImageMagick && depends psiconv && depends zlib && depends gtk+ && depends gal2 && depends bonobo && depends gnome-libs && depends gnome-print && depends gnome-vfs && depends gdk-pixbuf && depends libglade &&

# This is naughty but effective in removing the old problematic depends grep -v "ABI_OPT" $DEPENDS_STATUS > $DEPENDS_STATUS_BACKUP && cp $DEPENDS_STATUS_BACKUP $DEPENDS_STATUS &&

--- DETAILS ---

  • SPELL=abiword
  • VERSION=cvs

SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL # SOURCE_URL[0]=$SOURCEFORGE_URL/abiword/$SOURCE # MD5[0]=e6913e2766ae1f6687eb978430912545

  • MENU_ITEM[0]="AbiWord word processor" MENU_EXEC[0]=${SPELL} MENU_DESC[0]=${SHORT}

    • SHORT="abiword is a word processor"

cat << EOF Abiword is a free word processing program similar to Microsoft Word. It is suitable for typing papers, letter, reports, memos and so forth. EOF --- PRE_BUILD --- rm -rf $SOURCE_DIRECTORY cp -r /home/phma/abi $SOURCE_DIRECTORY --- ---

Note these changes: #BUILD calls autogen.sh. This is now required. #DEPENDS on gal2 instead of gal. #The source URL and MD5 are commented out. #PRE_BUILD is a new file. It copies my source tree to the build directory.

Local_CVS_Spells (last edited 2008-09-22 23:35:09 by localhost)