the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gimp
Version: 1.2.5
Revision: 1008
Source: mirror:gimp:gimp/v1.2/v%v/gimp-%v.tar.bz2
Depends: %N-shlibs (= %v-%r)
BuildDepends: libpng3, libjpeg, libtiff, libmpeg, glib, gtk+, netpbm, giflib, imlib, aalib (>= 1.4rc5-2), gettext-dev, gettext-bin, gettext-tools, libiconv-dev, gtk-doc, x11-dev
#BuildConflicts: gimp ( << 1.2.3-1 )
Source-MD5: b83b55d80e6728268d56620ea4d3051a
GCC: 4.0
Patch: %n.patch
PatchScript: perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' gimp.m4
SetCFLAGS: -O2
SetLDFLAGS: -L%b/libgimp/.libs
SetLIBS: -L%b/libgimp/.libs -L%b/plug-ins/libgck/gck/.libs
ConfigureParams: --with-libiconv-prefix=%p --mandir=%p/share/man --disable-perl --disable-print --with-shm=none --with-mp
InstallScript: <<
make install DESTDIR=%d
rm -f %i/lib/gimp/1.2/modules/libcolorsel_*.a
rm -f %i/lib/gimp/1.2/plug-ins/helpbrowser
mv %i/bin/gimp %i/bin/gimp-real
echo '#!/bin/sh' >%i/bin/gimp
echo 'exec %p/bin/gimp-real --no-shm --no-xshm "$@"' >>%i/bin/gimp
chmod 755 %i/bin/gimp
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/libgimp.la >%i/lib/libgimp.la.tmp
mv -f %i/lib/libgimp.la.tmp %i/lib/libgimp.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/libgimpui.la >%i/lib/libgimpui.la.tmp
mv -f %i/lib/libgimpui.la.tmp %i/lib/libgimpui.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/libgck.la >%i/lib/libgck.la.tmp
mv -f %i/lib/libgck.la.tmp %i/lib/libgck.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' -e 's;%b;%p;g' -e 's;%i;%p;g' < %i/bin/gimptool > %i/bin/gimptool.tmp
mv -f %i/bin/gimptool.tmp %i/bin/gimptool
chmod 755 %i/bin/gimptool
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/gimp/1.2/modules/libcolorsel_triangle.la >%i/lib/gimp/1.2/modules/libcolorsel_triangle.la.tmp
mv -f %i/lib/gimp/1.2/modules/libcolorsel_triangle.la.tmp %i/lib/gimp/1.2/modules/libcolorsel_triangle.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/gimp/1.2/modules/libcolorsel_water.la >%i/lib/gimp/1.2/modules/libcolorsel_water.la.tmp
mv -f %i/lib/gimp/1.2/modules/libcolorsel_water.la.tmp %i/lib/gimp/1.2/modules/libcolorsel_water.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/gimp/1.2/modules/libcolorsel_gtk.la >%i/lib/gimp/1.2/modules/libcolorsel_gtk.la.tmp
mv -f %i/lib/gimp/1.2/modules/libcolorsel_gtk.la.tmp %i/lib/gimp/1.2/modules/libcolorsel_gtk.la
<<
SplitOff: <<
Package: %N-shlibs
Depends: libpng3-shlibs, libjpeg-shlibs, libtiff-shlibs, aalib-shlibs (>= 1.4rc5-2), libmpeg-shlibs, gtk+-shlibs, glib-shlibs, gettext
Replaces: %N (<= 1.2.3-5)
Files: <<
lib/gimp/1.2 share/gimp/1.2 lib/libgck-1.2.5.0.0.5.dylib
lib/libgimp-1.2.0.0.5.dylib lib/libgimpui-1.2.0.0.5.dylib
lib/libgck-1.2.5.0.dylib lib/libgimp-1.2.0.dylib lib/libgimpui-1.2.0.dylib
<<
Shlibs: <<
%p/lib/libgck-1.2.5.0.dylib 1.0.0 %n (>= 1.2.3-10)
%p/lib/libgimp-1.2.0.dylib 1.0.0 %n (>= 1.2.3-10)
%p/lib/libgimpui-1.2.0.dylib 1.0.0 %n (>= 1.2.3-10)
<<
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
Conflicts: gimp2-dev (<= 2.0.0-5)
Replaces: %N (<= 1.2.3-7), gimp2-dev (<= 2.0.0-5)
Files: include lib/libgck.dylib lib/libgimp.dylib lib/libgimpui.dylib lib/*.a lib/*.la share/aclocal bin/gimp-config bin/gimptool-1.2
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
<<
SplitOff3: <<
Package: %N-default
Depends: %N (= %v-%r)
Replaces: %N (<= 1.2.5-3), gimp2-default, gimp (<= 1.2.5-4)
Conflicts: gimp2-default, gimp (<= 1.2.5-4)
Files: bin/gimp bin/gimp-real bin/gimp-remote share/man/man5/gimprc.5 share/man/man1/gimp.1 share/man/man1/gimp-remote.1 share/man/man1/gimptool.1 bin/gimptool
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
<<
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
ConfFiles: <<
%p/etc/gimp/1.2/gimprc %p/etc/gimp/1.2/gimprc_user
%p/etc/gimp/1.2/gtkrc %p/etc/gimp/1.2/gtkrc_user
%p/etc/gimp/1.2/ps-menurc
%p/etc/gimp/1.2/unitrc
<<
#
Description: The GNU Image Manipulation Program
DescPort: <<
Needs patches to some Makefiles to install message catalogs in the right directories.
A small shell-script is created to make sure the parameters '--no-shm
--no-xshm' are always passed to the GIMP. This is required because the
SysV shared memory implementation in the Darwin kernel is broken.
Needs help to link against the right copy of its library. We have to
filter that flag out of the .la files afterwards since it refers to
the temporary build directory.
<<
DescPackaging: <<
The static version of the color picker modules are removed because
they can't be used anyway.
Previous versions by Christoph Pfisterer.
<<
DescUsage: <<
This version does NOT support printing, even if you install
gimp-print-dev! Upgrade to gimp2!
gimp2-dev and gimp-dev conflict. This is an unfortunate situation
caused by their containing the same filename (%p/bin/gimptool,
specifically).
The main program is installed as "gimp-1.2" in the %N package.
To install it as "gimp" also, install the %N-default package.
<<
License: GPL/LGPL
Homepage: http://www.gimp.org/
Maintainer: Alexander Strange
diff -ruN gimp-1.2.3/plug-ins/libgck/gck/Makefile.in gimp-1.2.3-patched/plug-ins/libgck/gck/Makefile.in
--- gimp-1.2.3/plug-ins/libgck/gck/Makefile.in Mon Feb 11 16:46:23 2002
+++ gimp-1.2.3-patched/plug-ins/libgck/gck/Makefile.in Sun Mar 10 10:22:57 2002
@@ -193,7 +193,7 @@
gckinclude_HEADERS = gck.h
-libgck_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) $(no_undefined)
+libgck_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release 1.2.5 $(no_undefined)
INCLUDES = -I.. -I$(srcdir)/.. -I$(top_srcdir) $(GTK_CFLAGS) -I$(includedir)
Package: gimp
Version: 1.2.5
Revision: 1008
Source: mirror:gimp:gimp/v1.2/v%v/gimp-%v.tar.bz2
Depends: %N-shlibs (= %v-%r)
BuildDepends: libpng3, libjpeg, libtiff, libmpeg, glib, gtk+, netpbm, giflib, imlib, aalib (>= 1.4rc5-2), gettext-dev, gettext-bin, gettext-tools, libiconv-dev, gtk-doc, x11-dev
#BuildConflicts: gimp ( << 1.2.3-1 )
Source-MD5: b83b55d80e6728268d56620ea4d3051a
GCC: 4.0
Patch: %n.patch
PatchScript: perl -pi -e 's/(AC_DEFUN\()([^[]+)(,)/\1\[\2]\3/' gimp.m4
SetCFLAGS: -O2
SetLDFLAGS: -L%b/libgimp/.libs
SetLIBS: -L%b/libgimp/.libs -L%b/plug-ins/libgck/gck/.libs
ConfigureParams: --with-libiconv-prefix=%p --mandir=%p/share/man --disable-perl --disable-print --with-shm=none --with-mp
InstallScript: <<
make install DESTDIR=%d
rm -f %i/lib/gimp/1.2/modules/libcolorsel_*.a
rm -f %i/lib/gimp/1.2/plug-ins/helpbrowser
mv %i/bin/gimp %i/bin/gimp-real
echo '#!/bin/sh' >%i/bin/gimp
echo 'exec %p/bin/gimp-real --no-shm --no-xshm "$@"' >>%i/bin/gimp
chmod 755 %i/bin/gimp
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/libgimp.la >%i/lib/libgimp.la.tmp
mv -f %i/lib/libgimp.la.tmp %i/lib/libgimp.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/libgimpui.la >%i/lib/libgimpui.la.tmp
mv -f %i/lib/libgimpui.la.tmp %i/lib/libgimpui.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/libgck.la >%i/lib/libgck.la.tmp
mv -f %i/lib/libgck.la.tmp %i/lib/libgck.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' -e 's;%b;%p;g' -e 's;%i;%p;g' < %i/bin/gimptool > %i/bin/gimptool.tmp
mv -f %i/bin/gimptool.tmp %i/bin/gimptool
chmod 755 %i/bin/gimptool
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/gimp/1.2/modules/libcolorsel_triangle.la >%i/lib/gimp/1.2/modules/libcolorsel_triangle.la.tmp
mv -f %i/lib/gimp/1.2/modules/libcolorsel_triangle.la.tmp %i/lib/gimp/1.2/modules/libcolorsel_triangle.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/gimp/1.2/modules/libcolorsel_water.la >%i/lib/gimp/1.2/modules/libcolorsel_water.la.tmp
mv -f %i/lib/gimp/1.2/modules/libcolorsel_water.la.tmp %i/lib/gimp/1.2/modules/libcolorsel_water.la
sed -e 's;-L%b/libgimp/.libs;;' -e 's;-L%b/plug-ins/libgck/gck/.libs;;' <%i/lib/gimp/1.2/modules/libcolorsel_gtk.la >%i/lib/gimp/1.2/modules/libcolorsel_gtk.la.tmp
mv -f %i/lib/gimp/1.2/modules/libcolorsel_gtk.la.tmp %i/lib/gimp/1.2/modules/libcolorsel_gtk.la
<<
SplitOff: <<
Package: %N-shlibs
Depends: libpng3-shlibs, libjpeg-shlibs, libtiff-shlibs, aalib-shlibs (>= 1.4rc5-2), libmpeg-shlibs, gtk+-shlibs, glib-shlibs, gettext
Replaces: %N (<= 1.2.3-5)
Files: <<
lib/gimp/1.2 share/gimp/1.2 lib/libgck-1.2.5.0.0.5.dylib
lib/libgimp-1.2.0.0.5.dylib lib/libgimpui-1.2.0.0.5.dylib
lib/libgck-1.2.5.0.dylib lib/libgimp-1.2.0.dylib lib/libgimpui-1.2.0.dylib
<<
Shlibs: <<
%p/lib/libgck-1.2.5.0.dylib 1.0.0 %n (>= 1.2.3-10)
%p/lib/libgimp-1.2.0.dylib 1.0.0 %n (>= 1.2.3-10)
%p/lib/libgimpui-1.2.0.dylib 1.0.0 %n (>= 1.2.3-10)
<<
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
Conflicts: gimp2-dev (<= 2.0.0-5)
Replaces: %N (<= 1.2.3-7), gimp2-dev (<= 2.0.0-5)
Files: include lib/libgck.dylib lib/libgimp.dylib lib/libgimpui.dylib lib/*.a lib/*.la share/aclocal bin/gimp-config bin/gimptool-1.2
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
<<
SplitOff3: <<
Package: %N-default
Depends: %N (= %v-%r)
Replaces: %N (<= 1.2.5-3), gimp2-default, gimp (<= 1.2.5-4)
Conflicts: gimp2-default, gimp (<= 1.2.5-4)
Files: bin/gimp bin/gimp-real bin/gimp-remote share/man/man5/gimprc.5 share/man/man1/gimp.1 share/man/man1/gimp-remote.1 share/man/man1/gimptool.1 bin/gimptool
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
<<
DocFiles: <<
COPYING libgimp/COPYING:COPYING.libgimp
AUTHORS MAINTAINERS NEWS PLUGIN_MAINTAINERS README README.i18n
<<
ConfFiles: <<
%p/etc/gimp/1.2/gimprc %p/etc/gimp/1.2/gimprc_user
%p/etc/gimp/1.2/gtkrc %p/etc/gimp/1.2/gtkrc_user
%p/etc/gimp/1.2/ps-menurc
%p/etc/gimp/1.2/unitrc
<<
#
Description: The GNU Image Manipulation Program
DescPort: <<
Needs patches to some Makefiles to install message catalogs in the right directories.
A small shell-script is created to make sure the parameters '--no-shm
--no-xshm' are always passed to the GIMP. This is required because the
SysV shared memory implementation in the Darwin kernel is broken.
Needs help to link against the right copy of its library. We have to
filter that flag out of the .la files afterwards since it refers to
the temporary build directory.
<<
DescPackaging: <<
The static version of the color picker modules are removed because
they can't be used anyway.
Previous versions by Christoph Pfisterer.
<<
DescUsage: <<
This version does NOT support printing, even if you install
gimp-print-dev! Upgrade to gimp2!
gimp2-dev and gimp-dev conflict. This is an unfortunate situation
caused by their containing the same filename (%p/bin/gimptool,
specifically).
The main program is installed as "gimp-1.2" in the %N package.
To install it as "gimp" also, install the %N-default package.
<<
License: GPL/LGPL
Homepage: http://www.gimp.org/
Maintainer: Alexander Strange
diff -ruN gimp-1.2.3/plug-ins/libgck/gck/Makefile.in gimp-1.2.3-patched/plug-ins/libgck/gck/Makefile.in
--- gimp-1.2.3/plug-ins/libgck/gck/Makefile.in Mon Feb 11 16:46:23 2002
+++ gimp-1.2.3-patched/plug-ins/libgck/gck/Makefile.in Sun Mar 10 10:22:57 2002
@@ -193,7 +193,7 @@
gckinclude_HEADERS = gck.h
-libgck_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) $(no_undefined)
+libgck_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release 1.2.5 $(no_undefined)
INCLUDES = -I.. -I$(srcdir)/.. -I$(top_srcdir) $(GTK_CFLAGS) -I$(includedir)