Subject: CVS commit: wip
From: David Sainty
Date: 2010-12-26 06:01:21
Message id: E1PWijg-0004XI-DK@sfp-cvsdas-2.v30.ch3.sourceforge.com

Log Message:
Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in *; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" \ 
"$i"
    fi
  done
done

Files:
RevisionActionfile
1.17modifywip/ap-ometer/Makefile
1.3modifywip/armagetronad/Makefile
1.13modifywip/avifile-devel/options.mk
1.6modifywip/boinc-lib/Makefile.common
1.5modifywip/chromium/Makefile.common
1.10modifywip/cinelerra/Makefile
1.4modifywip/cinelerra-cv/Makefile
1.4modifywip/crrcsim/Makefile
1.23modifywip/directfb/Makefile
1.9modifywip/directfb/buildlink3.mk
1.6modifywip/djview4/Makefile
1.4modifywip/efltk/Makefile
1.4modifywip/efltk/buildlink3.mk
1.11modifywip/electricsheep/Makefile
1.2modifywip/electricsheep-svn/Makefile
1.21modifywip/emacs-current/options.mk
1.9modifywip/emboss-base/Makefile.common
1.13modifywip/epeg/Makefile
1.12modifywip/epeg/buildlink3.mk
1.14modifywip/esmart/Makefile
1.13modifywip/esmart/buildlink3.mk
1.4modifywip/exact-image/Makefile
1.9modifywip/fbida/Makefile
1.2modifywip/flam3-svn/Makefile
1.9modifywip/flimp/Makefile
1.6modifywip/freej/Makefile
1.5modifywip/fs2open/Makefile
1.6modifywip/gpicview/Makefile
1.25modifywip/grass/Makefile
1.9modifywip/gtklookat/Makefile
1.10modifywip/hplip/Makefile
1.27modifywip/hplip3/Makefile
1.10modifywip/hylafax/Makefile
1.14modifywip/hylafax-devel/Makefile
1.7modifywip/jp2a/Makefile
1.5modifywip/jpgtn/Makefile
1.12modifywip/kaffe-x11/Makefile
1.20modifywip/kvirc/Makefile
1.7modifywip/libpano12/Makefile
1.22modifywip/links-hacked/Makefile
1.5modifywip/mapnik/Makefile
1.7modifywip/mapnik/buildlink3.mk
1.7modifywip/molmol/Makefile
1.3modifywip/mplayer-mt/options.mk
1.3modifywip/mplayer-share/options.mk
1.7modifywip/mplayer-snapshot-share/options.mk
1.17modifywip/navigatrix/Makefile
1.9modifywip/openvrml/Makefile
1.8modifywip/openvrml/buildlink3.mk
1.10modifywip/p5-Imager/Makefile
1.5modifywip/panda/Makefile
1.3modifywip/paraview/Makefile
1.3modifywip/py-djvulibre/Makefile
1.4modifywip/scorched3d/Makefile
1.10modifywip/slim/Makefile
1.13modifywip/swftools/Makefile
1.9modifywip/sxemacs/Makefile
1.5modifywip/synce-kde/Makefile
1.7modifywip/synfig/buildlink3.mk
1.2modifywip/synfig/options.mk
1.5modifywip/trackballs/Makefile
1.13modifywip/twinkle/Makefile
1.9modifywip/ubit/Makefile
1.11modifywip/uffizi/Makefile
1.4modifywip/vino/Makefile
1.7modifywip/vncselector/Makefile
1.14modifywip/vreng/Makefile
1.6modifywip/wine/buildlink3.mk
1.8modifywip/wine/options.mk
1.7modifywip/wings/Makefile
1.5modifywip/wxGTK-contrib-unicode/buildlink3.mk
1.8modifywip/wxGTK-unicode/Makefile.common
1.7modifywip/wxGTK-unicode/buildlink3.mk
1.4modifywip/xbmc/Makefile
1.15modifywip/xmoto/Makefile
1.13modifywip/xulrunner/mozilla-common.mk
1.14modifywip/yafray/Makefile
1.15modifywip/zapping/Makefile