Update of /cvsroot/fink/experimental/fangism/finkinfo
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30531

Added Files:
        ffmpeg.info ffmpeg.patch graphviz.info graphviz.patch 
        guile19.info 
Log Message:
attempt at ffmpeg-0.5, graphviz +nox, guile-1.9-alpha


--- NEW FILE: guile19.info ---
Package: guile19
Version: 1.9.4
Revision: 1
BuildDepends: readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006), 
libtool14, gmp, libiconv-dev, fink (>= 0.24.12), libunistring0
Depends: %N-shlibs (= %v-%r), %N-libs (= %v-%r), libtool14-shlibs, gmp-shlibs
GCC: 4.0
# Source: mirror:gnu:guile/guile-%v.tar.gz
# Source-MD5: 9e23d3dbea0e89bab8a9acc6880150de
Source: ftp://alpha.gnu.org/gnu/guile/guile-%v.tar.gz
Source-MD5: fc2ae8c7051ef81847fcff2503fc4cb0
# Source-SHA1: 6fdaab75d25bba1bcfee92c5cc12f99f6ac90a46
# PatchFile: %n.patch
# PatchFile-MD5: 87788692c78d5724b96fe85c0ac28c04
PatchScript: <<
# sed 's|@FINKPREFIX@|%p|g' <%{PatchFile} | patch -p1
# perl -i -pe 's|GUILE-guile|GUILE-guile-1.9|' scripts/*
perl -i -pe 's|(lt_dlinit\s*\(\s*\))|\1; lt_dladdsearchdir("\%p/lib")|' 
libguile/dynl.c
<<
ConfigureParams: <<
        --infodir=%p/share/info \
        --program-transform-name="s|guile|guile-1.9|g" \
        -C
<<
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetCPPFLAGS: -Dmacosx
CompileScript: <<
#! /bin/sh -ex
  mkdir build
  cd build
#  export LIBRARY_PATH=%p/lib
#  export CPATH=%p/include
  ../configure %c
#  echo "#undef LTDL_DLOPEN_DEPLIBS" >> config.h
#  echo "#define LTDL_SHLIB_EXT \".so\"" >> config.h
#  echo "#undef HAVE_STAT64" >> config.h
  make
<<
InfoTest: <<
  TestScript: <<
    #!/bin/sh -ev
    cd build
    make -k check || exit 2
  <<
  TestSuiteSize: small
<<
InstallScript: <<
 cd build && make -j1 install DESTDIR=%d
# install -m 755 guile19-build %i/bin/guile19-build
 mkdir -p %i/share/guile/1.9/scripts/binoverride
 ln -s %p/bin/guile-1.9 %i/share/guile/1.9/scripts/binoverride/guile
 ln -s %p/bin/guile-1.9-config 
%i/share/guile/1.9/scripts/binoverride/guile-config
 ln -s %p/bin/guile-1.9-tools %i/share/guile/1.9/scripts/binoverride/guile-tools
 ln -s %p/bin/guile-1.9-snarf %i/share/guile/1.9/scripts/binoverride/guile-snarf
<<
SplitOff: <<
  Package: %N-shlibs
  Depends: libncurses5-shlibs (>= 5.4-20041023-1006), libiconv, 
libunistring0-shlibs
  Files: <<
    lib/libguile.*.dylib
  <<
  DocFiles: COPYING.LESSER
  Shlibs: <<
  %p/lib/libguile.18.dylib 21.0.0 %n (>= 1.9.4-1)
  <<
  Description: Shared libraries for guile19
<<
SplitOff2: <<
  Package: %N-libs
  Files: <<
    lib/libguile-srfi-srfi-13-14-v-3.*
    lib/libguile-srfi-srfi-4-v-3.*
    lib/libguile-srfi-srfi-1-v-3.*
    lib/libguile-srfi-srfi-60-v-2.*
    lib/libguilereadline-v-17.*
    share/guile/1.9
  <<
  DocFiles: COPYING.LESSER
  Depends: readline5-shlibs (>= 5.0-1004), %N-shlibs (= %v-%r)
  Description: Scheme libraries and modules for guile19
<<
SplitOff3: <<
  Package: %N-dev
  BuildDependsOnly: True
  Depends: %N-shlibs (= %v-%r)
  Replaces: guile-dev, guile16-dev, guile18-dev
  Conflicts: guile-dev, guile16-dev, guile18-dev
  Files: <<
    include
    share/aclocal
    lib/libguile.a
    lib/libguile.la
    lib/libguile.dylib
  <<
  DocFiles: COPYING.LESSER
  Description: Development package for guile19  
<<
SplitOff4: <<
 Package: %N-doc
 Conflicts: guile16-doc, guile16 (<= 1.6.7-1011), guile18-doc, guile18
 Replaces: guile16-doc, guile16 (<= 1.6.7-1011), guile18-doc, guile18
 DocFiles: COPYING.LESSER
 Files: share/info
 InfoDocs: guile.info guile-tut.info goops.info r5rs.info
 Description: Texinfo files for guile19
<<
DocFiles: README COPYING.LESSER AUTHORS HACKING NEWS THANKS
#
Description: Embedable Scheme interpreter (alpha)
DescPort: <<
Thread support currently disabled (configure's default).
"borrowed" a patch from darwinports to posix.c makes it
pass make check.
Patched libtool to make it build two level namespace and
ensure it links against the just built libs.
Patched makefiles to replace -export-dynamic with -module.
Made the main packages not conflict with guile-1.4, -1.6, -1.8.

Make sure to declare the darwinish _environ symbol before using it.
<<
License: GPL
Homepage: http://www.gnu.org/software/guile/guile.html
Maintainer: Matthias Neeracher <[email protected]>

--- NEW FILE: graphviz.patch ---
--- graphviz-2.22.2/configure.orig      2009-06-13 18:32:40.000000000 -0700
+++ graphviz-2.22.2/configure   2009-06-13 18:33:24.000000000 -0700
@@ -33283,7 +33283,7 @@
 
 fi
 fi
- if test "x$use_min" = "xYes"; then
+ if test "x$use_ming" = "xYes"; then
   WITH_MING_TRUE=
   WITH_MING_FALSE='#'
 else

--- NEW FILE: ffmpeg.info ---
Package: ffmpeg
Version: 0.5
Revision: 1
###
BuildDepends: amrnb-dev, faac-dev, freetype219, gsm, imlib2, lame-dev, 
libfaad1-dev, libogg, libtheora0, libvorbis0, pkgconfig, sdl, xvidcore, fink 
(>= 0.28)
# removed: a52dec-dev, libx264-dev
Depends: amrnb, faac, faad, lame, amrnb-shlibs, faac-shlibs, 
freetype219-shlibs, imlib2-shlibs, lame-shlibs, libavdevice52-shlibs, 
libavcodec51-shlibs, libavformat52-shlibs, libavutil49-shlibs, libfaad1-shlibs, 
libogg-shlibs, libswscale0-shlibs, libtheora0-shlibs, libvorbis0-shlibs, 
sdl-shlibs, xvidcore-shlibs
# removed: a52dec, a52dec-shlibsm libx264-57-shlibs
#BuildConflicts: libavcodec1-dev, libpostproc1, libavformat1-dev
###
# Source: mirror:sourceforge:fink/%n-%v.tar.bz2
Source: http://www.ffmpeg.org/releases/%n-%v.tar.bz2
# Source-MD5: http://www.ffmpeg.org/releases/%n-%v.tar.bz2
Source-MD5: be8503f15c3b81ba00eb8379ca8dcf33
# Source-MD5: e80dd66e3e9d098d34332bf1464aeee9
###
# link directly to build-dir lib files instead of mis-ordering local -L flags
# make sure global -I come after local ones too
# PatchFile: %n.patch
# PatchFile-MD5: b30fce4c1400b9902bf96814436610fa
PatchScript: <<
#       %{default_script}
  ### Link to proper shlibs
#  perl -pi -e 
's;-install_name,\$\(SHLIBDIR\)/\$\(SLIBNAME\);-install_name,\$\(SHLIBDIR\)/\$\(SLIBNAME_WITH_MAJOR\);g'
 configure
  ### Fix for 10.5 ASM problem with ld: absolute addressing (perhaps 
-mdynamic-no-pic) used in _rgb24tobgr24_MMX from rgb2rgb.o not allowed in 
slidable image
#  perl -pi -e 's,defined\(ARCH_X86\) \&\& 
defined\(CONFIG_GPL\),defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\) \&\& 
\!defined\(__APPLE__\),g' libswscale/rgb2rgb.c
<<
###
DocFiles: COPYING.GPL COPYING.LGPL CREDITS Changelog INSTALL README doc/TODO 
doc/*.txt
###
# gets included "too early" in gcc calls if also set during "make"
#SetCFLAGS: -I%p/include
###
ConfigureParams: --mandir=%p/share/man --enable-gpl --enable-pthreads 
--enable-swscale --enable-x11grab --enable-libamr-nb --enable-libfaac 
--enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora 
--enable-libvorbis --enable-libxvid --disable-mmx --disable-iwmmxt (%m = 
powerpc) --enable-powerpc-perf (%m = i386) --disable-altivec --enable-shared 
--enable-nonfree
# removed: --enable-pp --enable-swscaler --enable-liba52 --enable-libx264 (too 
old)
###
CompileScript: <<
  CFLAGS=-I%p/include ./configure %c
  make
<<
###
InstallScript: <<
  make install DESTDIR=%d
  install -d %i/etc
  install -m 664 doc/ffserver.conf %i/etc
  mkdir %i/lib/vhook/vhook
  mv %i/lib/vhook/*.dylib %i/lib/vhook/vhook
<<
###
Shlibs: <<
  !%p/lib/vhook/vhook/drawtext.dylib
  !%p/lib/vhook/vhook/fish.dylib
  !%p/lib/vhook/vhook/imlib2.dylib
  !%p/lib/vhook/vhook/null.dylib
  !%p/lib/vhook/vhook/ppm.dylib
  !%p/lib/vhook/vhook/watermark.dylib
<<
###
SplitOff: <<
  Package: libavcodec51-shlibs
  Depends: amrnb-shlibs, faac-shlibs, lame-shlibs, libavutil49-shlibs, 
libfaad1-shlibs, libogg-shlibs, libtheora0-shlibs, libvorbis0-shlibs, 
xvidcore-shlibs
# removed: a52dec-shlibs, libx264-57-shlibs
  Files: <<
    lib/libavcodec.*.dylib
  <<
  Shlibs: <<
    %p/lib/libavcodec.51.dylib 51.1.0 %n (>= 0.4.20071021-1)
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video encoders and decoders libs
<<
SplitOff2: <<
  Package: libavcodec-dev
  Depends: libavcodec51-shlibs (= %v-%r)
# Provides breaks build of transcode e.g. (undeclared symbols ac3_encoder and 
mp2_encoder) 
#  Provides: libavcodec1-dev
  Conflicts: ffmpeg (<< 0.4.6-1), libavcodec1-dev
  Replaces: ffmpeg (<< 0.4.6-1), libavcodec1-dev
  BuildDependsOnly: true
  Files: <<
    include/ffmpeg/avcodec.h
    lib/libavcodec.dylib
    lib/libavcodec.a
    lib/pkgconfig/libavcodec.pc
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video encoders and decoders dev files
<<
SplitOff3: <<
  Package: libavformat52-shlibs
  Depends: amrnb-shlibs, faac-shlibs, lame-shlibs, libavcodec51-shlibs, 
libavutil49-shlibs, libfaad1-shlibs, libogg-shlibs, libtheora0-shlibs, 
libvorbis0-shlibs, xvidcore-shlibs
# removed: a52dec-shlibs, libx264-57-shlibs
  Files: <<
    lib/libavformat.*.dylib
  <<
  Shlibs: <<
    %p/lib/libavformat.52.dylib 51.1.0 %n (>= 0.4.20071021-1)
  <<
  DocFiles: COPYING.LGPL
  Description: Parsers and generators for all common audio/video formats libs
<<
SplitOff4: <<
  Package: libavformat-dev
# remove also by precaution :
#  Provides: libavformat1-dev
  Depends: libavformat52-shlibs (= %v-%r)
  Conflicts: libavformat1-dev
  Replaces: libavformat1-dev
  BuildDependsOnly: true
  Files: <<
    include/ffmpeg/avformat.h
    lib/libavformat.dylib
    lib/libavformat.a
    lib/pkgconfig/libavformat.pc
  <<
  DocFiles: COPYING.LGPL
  Description: Parsers and generators for all common audio/video formats dev
<<
SplitOff5: <<
  Package: libavutil49-shlibs
  Depends: amrnb-shlibs, faac-shlibs, lame-shlibs, libfaad1-shlibs, 
libogg-shlibs, libtheora0-shlibs, libvorbis0-shlibs, xvidcore-shlibs
# removed: a52dec-shlibs, libx264-57-shlibs
  Files: <<
    lib/libavutil.*.dylib
  <<
  Shlibs: <<
    %p/lib/libavutil.49.dylib 51.1.0 %n (>= 0.4.20071021-1)
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video utils libs
<<
SplitOff6: <<
  Package: libavutil-dev
  Depends: libavutil49-shlibs (= %v-%r)
  BuildDependsOnly: true
  Files: <<
    include/ffmpeg/avutil.h
    lib/libavutil.dylib
    lib/libavutil.a
    lib/pkgconfig/libavutil.pc
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video utils dev
<<
SplitOff7: <<
  Package: libpostproc51-shlibs
  Depends: amrnb-shlibs, faac-shlibs, lame-shlibs, libavutil49-shlibs, 
libfaad1-shlibs, libogg-shlibs, libtheora0-shlibs, libvorbis0-shlibs, 
xvidcore-shlibs
# removed: a52dec-shlibs, libx264-57-shlibs
  Files: <<
    lib/libpostproc.*.dylib
  <<
  Shlibs: <<
    %p/lib/libpostproc.51.dylib 51.1.0 %n (>= 0.4.20071021-1)
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video post process libs
<<
SplitOff8: <<
  Package: libpostproc-dev
  Depends: libpostproc51-shlibs (= %v-%r)
  Conflicts: libpostproc1
  Replaces: libpostproc1
  BuildDependsOnly: true
  Files: <<
    include/postproc
    lib/libpostproc.dylib
    lib/libpostproc.a
    lib/pkgconfig/libpostproc.pc
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video post process dev
<<
SplitOff9: <<
  Package: libswscale0-shlibs
  Depends: amrnb-shlibs, faac-shlibs, lame-shlibs, libavutil49-shlibs, 
libfaad1-shlibs, libogg-shlibs, libtheora0-shlibs, libvorbis0-shlibs, 
xvidcore-shlibs
# removed: a52dec-shlibs, libx264-57-shlibs
  Files: <<
    lib/libswscale.*.dylib
  <<
  Shlibs: <<
    %p/lib/libswscale.0.dylib 51.1.0 %n (>= 0.4.20071021-1)
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video scaling libs
<<
SplitOff10: <<
  Package: libswscale-dev
  Depends: libswscale0-shlibs (= %v-%r)
  BuildDependsOnly: true
  Files: <<
    include/ffmpeg/swscale.h
    lib/libswscale.dylib
    lib/libswscale.a
    lib/pkgconfig/libswscale.pc
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video scaling dev
<<
SplitOff11: <<
  Package: libavdevice52-shlibs
  Replaces: %N (<< 0.4.20071217-6), %N-dev (<< 0.4.20071217-6)
  Depends: xvidcore-shlibs, libvorbis0-shlibs, libogg-shlibs, 
libtheora0-shlibs, lame-shlibs, libfaad1-shlibs, faac-shlibs, amrnb-shlibs, 
libavformat52-shlibs, libavcodec51-shlibs, libavutil49-shlibs
# removed: a52dec-shlibs libx264-57-shlibs
  Files: <<
    lib/libavdevice.*.dylib
  <<
  Shlibs: <<
    %p/lib/libavdevice.52.dylib 51.1.0 %n (>= 0.4.20071217-6)
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video device libs
<<
SplitOff12: <<
  Package: libavdevice-dev
  Depends: libavdevice52-shlibs (= %v-%r)
  Replaces: %N (<< 0.4.20071217-6), %N-dev (<< 0.4.20071217-6)
  BuildDependsOnly: true
  Files: <<
    include/ffmpeg/avdevice.h
    lib/libavdevice.dylib
    lib/libavdevice.a
    lib/pkgconfig/libavdevice.pc
  <<
  DocFiles: COPYING.LGPL
  Description: Audio/video device dev files
<<
SplitOff13: <<
  Package: %N-dev
  BuildDependsOnly: true
  Files: <<
    include
  <<
  DocFiles: COPYING.GPL COPYING.LGPL CREDITS Changelog INSTALL README doc/TODO 
doc/*.txt
  Description: FFmpeg developement files
<<
SplitOff14: <<
  Package: %N-server
  Depends: %N, daemonic, amrnb, faac, faad, lame, amrnb-shlibs, faac-shlibs, 
lame-shlibs, libavcodec51-shlibs, libavformat52-shlibs, libavutil49-shlibs, 
libfaad1-shlibs, libogg-shlibs, libswscale0-shlibs, libtheora0-shlibs, 
libvorbis0-shlibs, xvidcore-shlibs
# removed: a52dec{,-shlibs}, libx264-57-shlibs
  Conflicts: ffmpeg (<< 0.4.6-1)
  Replaces: ffmpeg (<< 0.4.6-1)
  ConfFiles: %p/etc/ffserver.conf
  Files: <<
    bin/ffserver
    etc/ffserver.conf
    share/man/man1/ffserver.1
  <<
  DocFiles: COPYING.GPL COPYING.LGPL CREDITS Changelog INSTALL README doc/TODO 
doc/*.txt
  Description: Multimedia streaming server for live broadcasts
  PostInstScript: <<
    # update init script if necessary
    daemonic update ffserver
  <<
  PreRmScript: <<
    # clean up
    [ -f %p/var/run/ffserver.pid ] && kill `cat %p/var/run/%n.pid`
    if [ $1 != "upgrade" ]; then
      daemonic remove ffserver
    fi
  <<
  ###
  DaemonicName: ffserver
  DaemonicFile: <<
  <service>
   <description>FFmpeg Live Broadcast Streaming Server</description>
   <message>FFmpeg Live Broadcast Streaming Server</message>

   <daemon name="ffserver">
    <executable background="yes">%p/bin/ffserver</executable>
    <parameters> -f %p/etc/ffserver.conf</parameters>
    <configfile>%p/etc/ffserver.conf</configfile>
    <pidfile>%p/var/run/ffserver.pid</pidfile>
   </daemon>
  </service>
  <<
<<
###
Description: Tool to convert video file formats
DescDetail: <<
  FFMpeg is a complete and free Internet live audio and video broadcasting
  solution for Linux/Unix. It also includes a digital VCR. It can encode in
  real time in many formats including MPEG1 audio and video, MPEG4, h263,
  ac3, asf, avi, real, mjpeg, and flash.

  sudo daemonic enable ffserver

  ffplay, currently broken, SDL crash
<<
###
License: GPL
Maintainer: Justin F. Hallett <[email protected]>
Homepage: http://ffmpeg.mplayerhq.hu/

--- NEW FILE: graphviz.info ---
Info3: <<
Package: graphviz%type_pkg[var]
Type: var (. -nox)
Version: 2.22.2
Revision: 2
License: OSI-Approved
# License: Common Public License 1.0
Maintainer: David Fang <[email protected]>
Homepage: http://www.graphviz.org/
Conflicts: graphviz, graphviz-nox
Replaces: graphviz, graphviz-nox
Source: mirror:custom:graphviz-%v.tar.gz
CustomMirror: <<
nam-US: http://www.graphviz.org/pub/graphviz/ARCHIVE
nam-US: http://www.graphviz.org/pub/graphviz
<<
SourceDirectory: graphviz-%v
Source-MD5: 34510a76ee176c6e0e64b773174e0fdc
PatchFile: graphviz.patch
PatchFile-MD5: 8a315909c5e5ed42855340ae8ad25f4b
# PatchScript: <<
#       patch -p0 < %{PatchFile}
# <<
GCC: 4.0
Depends: <<
        %N-shlibs (= %v-%r)
<<
BuildDepends: <<
        (%type_raw[var] = .) pkgconfig (>= 0.20-1),
        (%type_raw[var] = .) x11-dev, 
        (%type_raw[var] = .) atk1 (>= 1.20.0-1),
        fink (>= 0.28),
        fontconfig2-dev (>= 2.4.1-1),
        freetype219 (>= 2.3.5-1),
        giflib,
        gmp, 
        (%type_raw[var] = .) glib2-dev (>= 2.14.0-1), 
        (%type_raw[var] = .) glitz,
        (%type_raw[var] = .) gtkglext1 (>= 1.0.6-1007),
        guile18,
        guile18-dev, 
        libpng3 (>= 1.2.10-1), 
        libjpeg, 
        (%type_raw[var] = .) librsvg2 (>= 2.20.0-1),
        (%type_raw[var] = .) libiconv-dev, 
        (%type_raw[var] = .) libgettext3-dev (>= 0.14.5-1),
        (%type_raw[var] = .) gettext-tools,
        libtool14,
        lua51-dev,
        lua51,
        expat1 (>= 2.0.0-1), 
        (%type_raw[var] = .) gd2 (>= 2.0.35-4), 
        (%type_raw[var] = .) gd2-bin (>= 2.0.35-4), 
#       gd2%type_raw[var] (>= 2.0.35-1), 
#       gd2%type_raw[var]-bin (>= 2.0.35-1), 
        gawk (>= 3.1.2-12), 
        (%type_raw[var] = .) cairo (>= 1.6.4-2),
        (%type_raw[var] = .) pixman (>= 0.10.0-1),
        ocaml,
        swig (>= 1.3.29-1),
        (%type_raw[var] = .) gtk+2-dev (>= 2.12.0-1),
        (%type_raw[var] = .) orbit2-dev (>= 2.14.10-1),
        (%type_raw[var] = .) libgsf1.114-dev (>= 1.14.8-2),
        (%type_raw[var] = .) libcroco3,
#       libart2 (>= 2.3.16-1),
        (%type_raw[var] = .) libxml2 (>= 2.6.30-1),
        (%type_raw[var] = .) pango1-xft2-ft219-dev (>= 1.18.4-4),
        (%type_raw[var] = .) libglade2 (>= 2.6.2-2),
        libming1-dev
<<
# TODO: --with-quartz
ConfigureParams: <<
        --mandir=%p/share/man \
        --with-extraincludedir=%p/include \
        --with-extralibdir=%p/lib \
        --with-tcl=/usr/bin/tclsh \
        --with-tclsh=/usr/bin/tclsh \
        --with-wish=/usr/bin/wish \
        --without-lasi \
        --without-ghostscript \
        --without-gts \
        --without-devil \
        --with-ming \
        (%type_raw[var] = .) --with-x \
        (%type_raw[var] = .) --with-rsvg \
        (%type_raw[var] = .) --x-includes=/usr/X11R6/include \
        (%type_raw[var] = .) --x-libraries=/usr/X11R6/lib \
        (%type_raw[var] = .) --with-glitz \
        (%type_raw[var] = .) --with-libgd \
        (%type_raw[var] = -nox) --without-x \
        (%type_raw[var] = -nox) --without-gtk \
        (%type_raw[var] = -nox) --without-gdk-pixbuf \
        (%type_raw[var] = -nox) --without-gtkgl \
        (%type_raw[var] = -nox) --without-gtkglext \
        (%type_raw[var] = -nox) --without-glade \
        (%type_raw[var] = -nox) --without-glitz \
        (%type_raw[var] = -nox) --without-pangocairo \
        (%type_raw[var] = -nox) --without-rsvg \
        (%type_raw[var] = -nox) --with-mylibgd \
        --disable-r \
        --disable-perl \
        --disable-python \
        GUILE=%p/bin/guile-1.8 \
        (%type_raw[var] = .) 
PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" \
        RUBY=/usr/bin/ruby \
        
CPPFLAGS="-I/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers 
-I%p/lib/ocaml -idirafter $system_ruby_include"
<<
# other possible configure params:
# 
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
# --with-freetypeincludedir=/usr/X11R6/include/freetype2
# FREETYPE2_CFLAGS=-I%p/lib/freetype219/include/freetype2
# FREETYPE2_LIBS=-L%p/lib/freetype219/lib
# LDFLAGS=-L%p/lib/ocaml
# OCAML_LIBS=-L%p/lib/ocaml
CompileScript: <<
        #!/bin/sh -ev
        mv configure configure.orig
        sed '/OCAML/s|/usr|%p|g' configure.orig > configure
        chmod +x configure
        ruby_h_path=`find /usr/lib/ruby -name ruby.h | head -n 1`
        test -f "$ruby_h_path" || ruby_h_path=`find /System/Library/Frameworks 
-name ruby.h | head -n 1`
        test -f "$ruby_h_path" && echo "Found ruby.h as $ruby_h_path, using its 
dirname..."
        system_ruby_include=`dirname $ruby_h_path`
        test -d "$system_ruby_include"
        ./configure %c
        make
<<
# InfoTest: <<
#       TestScript: <<
#       #!/bin/sh -ev
#       # make check || exit 2
#       # rtest.sh looks intended for post-install checking
#       cd rtest
#       ./rtest.sh -v || exit 2
#       <<
##      TestDepends:
#       TestSuiteSize: small
#<<
InstallScript: <<
        #!/bin/sh -ev
        make DESTDIR=%d install
        # remove links in /usr
        rm -rf %d/usr
        rm -rf %d/Library
        #mkdir -p %i/lib/perl5/darwin-thread-multi-2level/%n
        #ln -s %p/lib/%n/perl/gv.pm %i/lib/perl5/darwin-thread-multi-2level/%n
        mkdir -p %i/share/doc/%n 
        mv %i/share/graphviz/doc/* %i/share/doc/%n 
        mv %i/share/graphviz/{demo,examples,graphs} %i/share/doc/%n
        rm -rf %i/share/graphviz/doc
        # mkdir -p %i/lib/ruby/1.8/%n
        # didn't find any .rb files?
        # not bothering with %p/lib/php
<<
# rtest/rtest.sh is intended as a installcheck-time script
SplitOff: <<
        Package: %N-shlibs
        Conflicts: graphviz-shlibs, graphviz-nox-shlibs
        Replaces: graphviz-shlibs, graphviz-nox-shlibs
        Depends: <<
                (%type_raw[var] = .) glib2-shlibs (>= 2.14.0-1), 
                (%type_raw[var] = .) gtkglext1-shlibs,
                guile18-shlibs, 
                (%type_raw[var] = .) x11, 
                fontconfig2-shlibs (>= 2.4.1-1),
                freetype219-shlibs (>= 2.3.5-1),
                giflib-shlibs,
                (%type_raw[var] = .) glitz-shlibs,
                libpng3-shlibs, 
                libjpeg-shlibs, 
                (%type_raw[var] = .) libiconv, 
                (%type_raw[var] = .) librsvg2-shlibs (>= 2.20.0-1),
                (%type_raw[var] = .) libgettext3-shlibs,
                (%type_raw[var] = .) libgsf1.114-shlibs (>= 1.14.8-2),
                libtool14-shlibs, 
                lua51-shlibs,
                (%type_raw[var] = .) gd2-shlibs (>= 2.0.35-4), 
                (%type_raw[var] = .) cairo-shlibs (>= 1.6.4-2),
                libming1-shlibs
        <<
        Files: <<
                lib/graphviz/*.*.dylib
                lib/graphviz/guile/*.so
                lib/graphviz/lua/*.so
                lib/graphviz/php/*.so
                lib/graphviz/ruby/*.so
                lib/graphviz/tcl/*.so
                lib/graphviz/tcl/*.*.dylib
                lib/graphviz/tcl/pkgIndex.tcl
                lib/*.*.dylib
        <<
        Shlibs: <<
                %p/lib/graphviz/libgvplugin_core.6.dylib 7.0.0 %n (>= 2.14-1)
                %p/lib/graphviz/libgvplugin_dot_layout.6.dylib 7.0.0 %n (>= 
2.14-1)
                %p/lib/graphviz/libgvplugin_gd.6.dylib 7.0.0 %n (>= 2.14-1)
                (%type_raw[var] = .) 
%p/lib/graphviz/libgvplugin_gdk_pixbuf.6.dylib 7.0.0 %n (>= 2.18-2)
                (%type_raw[var] = .) %p/lib/graphviz/libgvplugin_gtk.6.dylib 
7.0.0 %n (>= 2.18-2)
                (%type_raw[var] = .) %p/lib/graphviz/libgvplugin_glitz.6.dylib 
7.0.0 %n (>= 2.22.2-1)
                %p/lib/graphviz/libgvplugin_ming.6.dylib 7.0.0 %n (>= 2.18-2)
                %p/lib/graphviz/libgvplugin_neato_layout.6.dylib 7.0.0 %n (>= 
2.14-1)
                (%type_raw[var] = .) %p/lib/graphviz/libgvplugin_pango.6.dylib 
7.0.0 %n (>= 2.18-2)
                (%type_raw[var] = .) %p/lib/graphviz/libgvplugin_rsvg.6.dylib 
7.0.0 %n (>= 2.18-1)
                (%type_raw[var] = .) %p/lib/graphviz/libgvplugin_xlib.6.dylib 
7.0.0 %n (>= 2.18-2)
                %p/lib/graphviz/tcl/libgdtclft.0.dylib 1.0.0 %n (>= 2.14-1)
                %p/lib/graphviz/tcl/libtcldot.0.dylib 1.0.0 %n (>= 2.14-1)
                %p/lib/graphviz/tcl/libtcldot_builtin.0.dylib 1.0.0 %n (>= 
2.14-1)
                %p/lib/graphviz/tcl/libtclplan.0.dylib 1.0.0 %n (>= 2.14-1)
                %p/lib/graphviz/tcl/libtkspline.0.dylib 1.0.0 %n (>= 2.14-1)
                %p/lib/libcgraph.4.dylib 5.0.0 %n (>= 2.18-1)
                %p/lib/libcdt.4.dylib 5.0.0 %n (>= 2.14-1)
                %p/lib/libgraph.4.dylib 5.0.0 %n (>= 2.14-1)
                %p/lib/libgvc.5.dylib 6.0.0 %n (>= 2.14-1)
                %p/lib/libpathplan.4.dylib 5.0.0 %n (>= 2.14-1)
        <<
        DescPackaging: <<
                There are some other lib/graphviz directories that are empty
                at package-time: R/ io/ java/ ocaml/ python{23,24,25}/ sharp/.
                Don't know what these are about...
        <<
        DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
<<
SplitOff2: <<
        Package: %N-dev
        BuildDependsOnly: true
        Depends: %N-shlibs (= %v-%r)
        Conflicts: graphviz-dev, graphviz-nox-dev, graphviz (<< 2.18-2)
        Replaces: graphviz-dev, graphviz-nox-dev, graphviz (<< 2.18-2)
        Description: development files for graphviz
        Files: <<
                include
                lib/graphviz/*.la
                lib/graphviz/guile/*.la
                lib/graphviz/lua/*.la
                lib/graphviz/php/*.la
                lib/graphviz/ruby/*.la
                lib/graphviz/tcl/*.la
                lib/pkgconfig
                lib/*.dylib
                lib/*.la
        <<
        DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
<<
PostInstScript: %p/bin/dot -c
PostRmScript: rm -f %p/lib/graphviz/config
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
# there are more doc files
Description: Graph visualization software
DescDetail: <<
graphviz is a set of graph drawing tools for Unix or MS-Windows 
(win32), including a web service interface (webdot). Graph drawing 
addresses the problem of visualizing structural information by 
constructing geometric representations of abstract graphs and 
networks. Automatic generation of graph drawings has important 
applications in key technologies such as database design, software 
engineering, VLSI and network design and visual interfaces in other 
domains.
.
License: Common Public License 1.0
.
Many thanks to Jeroen Scheerder <[email protected]> for
pointing me in the right directions.
.
Former maintainer(s):
Thomas Kotzian <[email protected]>
Matthias Neeracher <[email protected]>
<<
DescPackaging: <<
Use libiconv from fink
postinstall 'dot -c' updates config file with list of built plugins.
Links with libtool14's libltdl.dylib, therefore need build-depend on libtool14 
even though libltdl/ already includes ltdl.h
Blindly added deps for guile, lua, ocaml, 
though some may result in optional plug-ins.
Not sure what to do about perl/python yet...
        --dmacks disabled because they would need to be lang-versioned
Other deps not listed: zlib-1.2.3 (system's)
also checked in configure: pangocairo, gtkgl+
Thanks to Peter Dyballa for adding ocaml support 
and using the system's Tcl and Ruby.
Ruby headers can be found in /usr/lib/ruby or /System/Library/Frameworks.
Prevent plug-in (.so) links from being installed in system paths outside of %p.
Tried to get --with-quartz to work, Peter Dyballa made some progress on this.
Adding lighter -nox variant with fewer dependencies, having stripped out
all of gnome, gtk, and glib, and pangocairo (many thanks to fink-core
team for guidance).
Rendering libraries, such as rsvg, have been removed for -nox.
-nox removed gd2-nox dep because there's no gd2-nox-shlibs (static only).
TODO: separate out extension language plug-ins
<<
<<

--- NEW FILE: ffmpeg.patch ---
diff -Nurd ffmpeg-0.5.orig/Makefile ffmpeg-0.5/Makefile
--- ffmpeg-0.5.orig/Makefile    2007-12-17 14:50:53.000000000 -0500
+++ ffmpeg-0.5/Makefile 2008-03-20 14:49:54.000000000 -0400
@@ -6,9 +6,10 @@
 
 VPATH=$(SRC_PATH_BARE)
 
-CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
+CFLAGS= -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
        -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat 
-I$(SRC_PATH)/libswscale \
        -I$(SRC_PATH)/libavdevice \
+       $(OPTFLAGS) \
        -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE 
-DHAVE_AV_CONFIG_H
 LDFLAGS+= -g
 
@@ -61,12 +62,10 @@
 VHOOKCFLAGS += $(VHOOKCFLAGS-yes)
 
 SRCS = $(addsuffix .c, $(PROGS-yes)) cmdutils.c
-LDFLAGS := -L$(BUILD_ROOT)/libavdevice -L$(BUILD_ROOT)/libavformat 
-L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil $(LDFLAGS)
-EXTRALIBS := -lavdevice$(BUILDSUF) -lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) 
-lavutil$(BUILDSUF) $(EXTRALIBS)
+EXTRALIBS := $(BUILD_ROOT)/libavdevice/libavdevice$(BUILDSUF).dylib 
$(BUILD_ROOT)/libavformat/libavformat$(BUILDSUF).dylib 
$(BUILD_ROOT)/libavcodec/libavcodec$(BUILDSUF).dylib 
$(BUILD_ROOT)/libavutil/libavutil$(BUILDSUF).dylib $(EXTRALIBS)
 
 ifeq ($(CONFIG_SWSCALER),yes)
-LDFLAGS+=-L$(BUILD_ROOT)/libswscale
-EXTRALIBS+=-lswscale$(BUILDSUF)
+EXTRALIBS+=$(BUILD_ROOT)/libswscale/libswscale$(BUILDSUF).dylib
 endif
 
 all: lib $(PROGS) $(ALL_TARGETS-yes)
diff -Nurd ffmpeg-0.5.orig/libavcodec/Makefile ffmpeg-0.5/libavcodec/Makefile
--- ffmpeg-0.5.orig/libavcodec/Makefile 2007-12-17 14:50:33.000000000 -0500
+++ ffmpeg-0.5/libavcodec/Makefile      2008-03-20 13:34:50.000000000 -0400
@@ -442,7 +442,7 @@
                                           bfin/idct_bfin.o   \
                                           bfin/vp3_idct_bfin.o   \
 
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+EXTRALIBS := $(BUILD_ROOT)/libavutil/libavutil$(BUILDSUF).dylib $(EXTRALIBS)
 
 NAME=avcodec
 LIBVERSION=$(LAVCVERSION)
diff -Nurd ffmpeg-0.5.orig/libavdevice/Makefile ffmpeg-0.5/libavdevice/Makefile
--- ffmpeg-0.5.orig/libavdevice/Makefile        2007-12-17 14:50:53.000000000 
-0500
+++ ffmpeg-0.5/libavdevice/Makefile     2008-03-20 13:34:37.000000000 -0400
@@ -4,9 +4,9 @@
 LIBVERSION=$(LAVDVERSION)
 LIBMAJOR=$(LAVDMAJOR)
 
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil   -lavutil$(BUILDSUF)  \
-             -L$(BUILD_ROOT)/libavcodec  -lavcodec$(BUILDSUF) \
-             -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
+EXTRALIBS := $(BUILD_ROOT)/libavutil/libavutil$(BUILDSUF).dylib  \
+             $(BUILD_ROOT)/libavcodec/libavcodec$(BUILDSUF).dylib \
+             $(BUILD_ROOT)/libavformat/libavformat$(BUILDSUF).dylib 
$(EXTRALIBS)
 
 CFLAGS += -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat
 
diff -Nurd ffmpeg-0.5.orig/libavformat/Makefile ffmpeg-0.5/libavformat/Makefile
--- ffmpeg-0.5.orig/libavformat/Makefile        2007-12-17 14:50:52.000000000 
-0500
+++ ffmpeg-0.5/libavformat/Makefile     2008-03-20 13:34:10.000000000 -0400
@@ -156,8 +156,8 @@
 
 OBJS-$(CONFIG_VHOOK)                     += framehook.o
 
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \
-             -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) $(EXTRALIBS)
+EXTRALIBS := $(BUILD_ROOT)/libavutil/libavutil$(BUILDSUF).dylib \
+             $(BUILD_ROOT)/libavcodec/libavcodec$(BUILDSUF).dylib $(EXTRALIBS)
 
 # protocols I/O
 OBJS+= avio.o aviobuf.o
diff -Nurd ffmpeg-0.5.orig/libpostproc/Makefile ffmpeg-0.5/libpostproc/Makefile
--- ffmpeg-0.5.orig/libpostproc/Makefile        2007-12-17 14:50:42.000000000 
-0500
+++ ffmpeg-0.5/libpostproc/Makefile     2008-03-20 13:33:45.000000000 -0400
@@ -4,7 +4,7 @@
 # Overload incdir, postproc include files go in a different directory.
 INCDIR=$(prefix)/include/postproc
 
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+EXTRALIBS := $(BUILD_ROOT)/libavutil/libavutil$(BUILDSUF).dylib $(EXTRALIBS)
 
 NAME=postproc
 LIBVERSION=$(SPPVERSION)
diff -Nurd ffmpeg-0.5.orig/libswscale/Makefile ffmpeg-0.5/libswscale/Makefile
--- ffmpeg-0.5.orig/libswscale/Makefile 2007-12-17 14:51:01.000000000 -0500
+++ ffmpeg-0.5/libswscale/Makefile      2008-03-20 13:36:18.000000000 -0400
@@ -5,7 +5,7 @@
 LIBVERSION=$(SWSVERSION)
 LIBMAJOR=$(SWSMAJOR)
 
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+EXTRALIBS := $(BUILD_ROOT)/libavutil/libavutil$(BUILDSUF).dylib $(EXTRALIBS)
 
 OBJS = rgb2rgb.o swscale.o
 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to