Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11349/10.3/unstable/main/finkinfo/graphics
Added Files: figlet.info figlet.patch fnlib.info gif2png.info jpegoptim.info lablgl.info lablgl.patch libpng-shlibs.info libpng-shlibs.patch mplayer-font-arial-iso-8859.info mplayer-skin-avifile.info mplayer-skin-blue-small.info mplayer-skin-blue.info mplayer-skin-default.info mplayer-skin-midnight-love.info png2ico.info xmountains.info xmountains.patch Removed Files: figlet-2.2.1-4.info figlet-2.2.1-4.patch fnlib-0.5-4.info gif2png-2.4.6-2.info jpegoptim-1.2.2-1.info lablgl-1.00-1.info lablgl-1.00-1.patch libpng-shlibs-1.0.12-7.info libpng-shlibs-1.0.12-7.patch mplayer-font-arial-iso-8859-1-0.1-1.info mplayer-skin-avifile-1.5-1.info mplayer-skin-blue-1.0-1.info mplayer-skin-blue-small-1.0-1.info mplayer-skin-default-1.7-2.info mplayer-skin-midnight-love-1.5-1.info png2ico-20021208-1.info xmountains-2.6-1.info xmountains-2.6-1.patch Log Message: Rename %f->%n --- mplayer-skin-blue-1.0-1.info DELETED --- --- jpegoptim-1.2.2-1.info DELETED --- --- gif2png-2.4.6-2.info DELETED --- --- mplayer-skin-midnight-love-1.5-1.info DELETED --- --- NEW FILE: jpegoptim.info --- Package: jpegoptim Version: 1.2.2 Revision: 1 Source: http://www.cc.jyu.fi/~tjko/src/%n-%v.tar.gz Source-MD5: c7e92417badac7dcffab4245c113871c Depends: libjpeg-shlibs BuildDepends: libjpeg Description: JPEG-Image optimisation tool License: GPL ConfigureParams: --mandir=%p/share/man DocFiles: README COPYING COPYRIGHT Maintainer: Mathias Meyer <[EMAIL PROTECTED]> Homepage: http://www.cc.jyu.fi/~tjko/projects.html --- NEW FILE: figlet.info --- Package: figlet Version: 2.2.1 Epoch: 1 Revision: 4 Maintainer: Hanspeter Niederstrasser <[EMAIL PROTECTED]> Source: ftp://ftp.figlet.org/pub/figlet/program/unix/figlet221.tar.gz Source-MD5: 216bc6d86952003cc3db75d5c36eb4f6 PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1 CompileScript: make DocFiles: Artistic-license.txt README figfont.txt Description: Makes large letters out of ordinary text DescPort: Previous version by Finlay Dobbie. Homepage: http://www.figlet.org/ License: Artistic --- NEW FILE: xmountains.info --- Package: xmountains Version: 2.6 Revision: 1 Source: http://www.epcc.ed.ac.uk/~spb/%n/%n_%v.tar.gz Source-MD5: 2ae9919290bf38bac8da870f3b06a5c7 SourceDirectory: . BuildDepends: x11-dev Depends: x11 Patch: %n.patch CompileScript: << xmkmf make cat copyright.h >> LICENSE << InstallScript: << strip %n make install DESTDIR=%d BINDIR=%p/bin mkdir -p %i/share/man/man1 cp %n.man %i/share/man/man1/%n.1 << DocFiles: README LICENSE Description: Fractal landscape generator DescDetail: << Generates random fractal surfaces and displays them in a window. While the program is running the fractal is continuously extended on the right and the image is scrolled from right to left to expose the newly generated area. << License: OSI-Approved Maintainer: Ben Hines <[EMAIL PROTECTED]> Homepage: http://www.epcc.ed.ac.uk/~spb/xmountains/ --- NEW FILE: fnlib.info --- Package: fnlib Version: 0.5 Revision: 4 BuildDepends: libpng3, glib, gtk+, libjpeg, libtiff, netpbm, giflib, imlib Depends: %N-shlibs (= %v-%r) BuildDependsOnly: True CustomMirror: << A: ftp://ftp.enlightenment.org/enlightenment/fnlib B: http://us.dl.sourceforge.net/fink/direct_download/source << Source: mirror:custom:%n-%v.tar.gz UpdateConfigGuess: true UpdateLibtool: true InstallScript: << make install prefix=%i << SplitOff: << Package: %N-shlibs Replaces: %N (<= 0.5-2) Depends: imlib-shlibs Files: lib/libFnlib.0.5.0.dylib lib/libFnlib.0.dylib Shlibs: %p/lib/libFnlib.0.dylib 6.0.0 %n (>= 0.5-4) DocFiles: README COPYING COPYING.LIB AUTHORS << SplitOff2: << Package: %N-fonts Replaces: %N (<= 0.5-2) Files: share DocFiles: README COPYING COPYING.LIB AUTHORS << DocFiles: README COPYING COPYING.LIB AUTHORS ConfFiles: %p/etc/fnrc # Description: Font rendering library for X11 DescDetail: << Fnlib is a special font rendering library used by Enlightenment. It supports colored fonts. The fonts actually consist of one image per character. << License: GPL/LGPL Homepage: http://www.enlightenment.org/ Maintainer: None <fink-devel@lists.sourceforge.net> Source-MD5: 42093ed5b684da01e7a674b2adac52c7 --- NEW FILE: xmountains.patch --- --- xmountains/artist.c Wed Dec 3 10:39:15 1997 +++ xmountains-patched/artist.c Fri May 31 16:50:14 2002 @@ -1,6 +1,7 @@ /* * routines to render a fractal landscape as an image */ +#include <stdlib.h> #include <math.h> #include <stdio.h> #include "paint.h" --- xmountains/calcalt.c Fri Mar 30 04:35:44 2001 +++ xmountains-patched/calcalt.c Fri May 31 16:50:54 2002 @@ -16,6 +16,7 @@ * is called itself so it will take a number of iterations for any changes to * be notices by the bottom (long length scale) level. */ +#include <stdlib.h> #include <stdio.h> #include <math.h> #include "crinkle.h" --- xmountains/crinkle.h Fri Oct 24 07:55:16 1997 +++ xmountains-patched/crinkle.h Fri May 31 17:00:51 2002 @@ -78,6 +78,15 @@ void v_update(Fold *, float, float, Strip *, Strip *, Strip *); void vside_update(Fold *, float, float, Strip *); void hside_update(Fold *, float, float, Strip *, Strip *, Strip *); +void init_parameters(); +void plot_column(Graph *g); +void print_algorithm(); +void seed_uni(int ijkl); +void blank_region(int lx,int ly,int ux,int uy); +void flush_region(int x, int y, int w, int h); +void scroll_screen( int dist ); +void plot_pixel( int x, int y, Gun value ); +void finish_artist(); #else Strip *make_strip (); void free_strip (); @@ -95,7 +104,15 @@ void v_update(); void vside_update(); void hside_update(); - +void init_parameters(); +void plot_column(); +void print_algorithm(); +void seed_uni(); +void blank_region(); +void flush_region(); +void scroll_screen(); +void plot_pixel(); +void finish_artist(); #endif /* }}} */ #endif --- xmountains/X_graphics.c Fri Mar 30 04:13:12 2001 +++ xmountains-patched/X_graphics.c Fri May 31 16:53:12 2002 @@ -1,3 +1,4 @@ +#include <stdlib.h> #include <stdio.h> #include<X11/Xlib.h> #include<X11/Xutil.h> @@ -79,7 +80,7 @@ { XEvent event; XExposeEvent *expose = (XExposeEvent *)&event; - int exw, exh, i; + int exw, exh; while( XPending(dpy) ){ XNextEvent(dpy, &event); @@ -219,8 +220,8 @@ { /*{{{defs*/ Visual *vis; - int mask; - int count; +// int mask; +// int count; int x=0; int y=0; int gbits=0; --- xmountains/xmountains.c Fri Mar 30 04:34:45 2001 +++ xmountains-patched/xmountains.c Fri May 31 17:00:07 2002 @@ -1,4 +1,5 @@ - +#include <unistd.h> // for getpid & sleep +#include <stdlib.h> #include <stdio.h> #include <signal.h> #include "crinkle.h" --- NEW FILE: mplayer-font-arial-iso-8859.info --- Package: mplayer-font-arial-iso-8859-1 Version: 0.1 Revision: 1 Provides: mplayer-font Conflicts: mplayer ( <= 0.90pre10 ) Replaces: mplayer ( <= 0.90pre10 ) Source: http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 Source-MD5: 6c3f032ddf401ca522900291de03fee5 NoSourceDirectory: true CompileScript: echo "Unpacking..." InstallScript: << mkdir -p %i/share/mplayer/sub-fonts cp -r font-arial-24-iso-8859-1 font-arial-28-iso-8859-1 font-arial-18-iso-8859-1 font-arial-14-iso-8859-1 %i/share/mplayer/sub-fonts ln -s %p/share/mplayer/sub-fonts/font-arial-14-iso-8859-1 %i/share/mplayer/font mkdir -p %i/share/doc/%n echo "This is licensed under the GPL. for more information, please see the docs for mplayer." > %i/share/doc/%n/COPYRIGHT << DocFiles: README-arial-iso-8859-1 Description: Subtitle font for mplayer DescDetail: << This package installs font-arial-14-iso-8859-1 as the subtitle font. << DescUsage: << To change the font, create a new symlink from the font folder you want to use to %p/share/mplayer/font << License: GPL Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]> Homepage: http://www.mplayerhq.hu/ --- xmountains-2.6-1.patch DELETED --- --- lablgl-1.00-1.patch DELETED --- --- mplayer-skin-default-1.7-2.info DELETED --- --- fnlib-0.5-4.info DELETED --- --- libpng-shlibs-1.0.12-7.info DELETED --- --- mplayer-skin-blue-small-1.0-1.info DELETED --- --- mplayer-skin-avifile-1.5-1.info DELETED --- --- NEW FILE: libpng-shlibs.info --- Package: libpng-shlibs Version: 1.0.12 Revision: 7 BuildDepends: fink (>= 0.9.9) Replaces: libpng (<< 1.0.12-3) Source: mirror:sourceforge:libpng/libpng-%v.tar.gz Source-MD5: 3329b745968e41f6f9e55a4d04a4964c Patch: %n.patch PatchScript: ln -s scripts/makefile.darwin Makefile CompileScript: make prefix=%p ZLIBLIB=%p/lib ZLIBINC=%p/include InstallScript: << make install prefix=%i ZLIBLIB=%p/lib ZLIBINC=%p/include rm -Rf %i/include rm -f %i/lib/libpng.a rm -f %i/lib/libpng.dylib << DocFiles: LICENSE README ANNOUNCE Y2KINFO KNOWNBUG Shlibs: %p/lib/libpng.2.dylib 1.0.12 libpng-shlibs (>= 1.0.12-7) Description: PNG image format handling library (old version) DescPort: << Doesn't use autoconf. Comes with a big selection of Makefiles instead. The included Makefile for Mac OS X only builds static libraries, so we use our own Makefile. Previous versions by Christoph Pfisterer. << License: OSI-Approved Homepage: http://www.libpng.org/pub/png/ Maintainer: Dave Morrison <[EMAIL PROTECTED]> --- png2ico-20021208-1.info DELETED --- --- mplayer-font-arial-iso-8859-1-0.1-1.info DELETED --- --- NEW FILE: mplayer-skin-avifile.info --- Package: mplayer-skin-avifile Version: 1.5 Revision: 1 Provides: mplayer-skin Conflicts: mplayer ( <= 0.90pre10 ) Replaces: mplayer ( <= 0.90pre10 ) Source: http://www1.mplayerhq.hu/MPlayer/Skin/avifile-%v.tar.bz2 Source-MD5: a18d2282e5945243862fa765146c1b32 SourceDirectory: avifile SourceRename: avifile-%v-%r.tar.bz2 CompileScript: echo "Unpacking..." InstallScript: << install -m 755 -d %i/share/mplayer/Skin/avifile install -m 644 *.png skin *.fnt %i/share/mplayer/Skin/avifile install -m 755 -d %i/share/doc/%n echo "This is licensed under the GPL. for more information, please see the docs for mplayer." > %i/share/doc/%n/COPYRIGHT << DocFiles: VERSION README Description: Avifile-like skin for mplayer DescDetail: << MPlayer skin, with the look of aviplay :) << License: GPL Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]> Homepage: http://www.mplayerhq.hu/ --- figlet-2.2.1-4.patch DELETED --- --- NEW FILE: png2ico.info --- Package: png2ico Version: 20021208 Revision: 1 Maintainer: Benjamin Reed <[EMAIL PROTECTED]> Depends: libpng3-shlibs BuildDepends: libpng3 Source: http://www.winterdrache.de/freeware/%n/data/%n-src-2002-12-08.tar.gz SourceDirectory: %n CompileScript: << make CPPFLAGS="-I%p/include -O2 -L%p/lib" << InstallScript: << install -d -m 755 %i/bin install -c -m 755 png2ico %i/bin/ install -d -m 755 %i/share/man/man1 install -c -m 644 doc/*.1 %i/share/man/man1/ << DocFiles: README* doc/bmp.txt LICENSE VERSION Description: Utility for making windows icons DescDetail: << Converts PNG files to Windows icon resource files. If you're looking for a program to create a favicon.ico for your website, look no further. If you need instructions or don't even know what a favicon is, check out my short tutorial on how to create and install a favicon.ico. << DescUsage: << The program is extremely simple to use. To create a favicon.ico that contains a logo in the resolutions 16x16 and 32x32 (an icon can contain multiple images of different sizes, but a single 16x16 image is enough for a favicon), you would use a command like the following: png2ico favicon.ico logo16x16.png logo32x32.png << Homepage: http://www.winterdrache.de/freeware/png2ico/ License: GPL Source-MD5: 9b663df81c826cd564638cba2e6bc75b --- NEW FILE: mplayer-skin-blue-small.info --- Package: mplayer-skin-blue-small Version: 1.0 Revision: 1 Provides: mplayer-skin Conflicts: mplayer ( <= 0.90pre10 ) Replaces: mplayer ( <= 0.90pre10 ) Source: http://www1.mplayerhq.hu/MPlayer/Skin/Blue-%v.tar.bz2 Source-MD5: 2cd7baa4ea60c42251c3dceaab9ae9cb SourceDirectory: Blue SourceRename: Blue-small-%v-%r.tar.bz2 CompileScript: echo "Unpacking..." InstallScript: << install -m 755 -d %i/share/mplayer/Skin/Blue-small install -m 644 *.png skin *.fnt %i/share/mplayer/Skin/Blue-small install -m 755 -d %i/share/mplayer/Skin/Blue-small/icons install -m 644 icons/* %i/share/mplayer/Skin/Blue-small/icons install -m 755 -d %i/share/doc/%n echo "This is licensed under the GPL. for more information, please see the docs for mplayer." > %i/share/doc/%n/COPYRIGHT << DocFiles: VERSION README Description: Blue skin for mplayer DescDetail: << The new default MPlayer skin. << License: GPL Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]> Homepage: http://www.mplayerhq.hu/ --- NEW FILE: figlet.patch --- --- figlet221/Makefile Sat Jul 13 03:24:16 2002 +++ figlet221-patched/Makefile Thu Nov 20 20:51:15 2003 @@ -11,19 +11,25 @@ # Don't change this even if your shell is different. The only reason # for changing this is if sh is not in the same place. SHELL = /bin/sh -CC = gcc +CC = cc CFLAGS = -g +prefix = @PREFIX@ + +INSTALL_PROGRAM = install -m 755 +INSTALL_DATA = install -m 644 + + # Where the executables should be put -DESTDIR = /usr/local/bin +BINDIR = $(prefix)/bin # Where the man page should be put -MANDIR = /usr/local/man/man6 +MANDIR = $(prefix)/share/man/man6 # Where figlet will search first for fonts (the ".flf" files). -DEFAULTFONTDIR = /usr/local/share/figlet +DEFAULTFONTDIR = $(prefix)/share/figlet # Use this definition if you can't put things in /usr/local/share/figlet -DEFAULTFONTDIR = fonts +# DEFAULTFONTDIR = fonts # The filename of the font to be used if no other is specified # (standard.flf is recommended, but any other can be used). @@ -53,10 +59,13 @@ install: figlet chkfont mkdir -p $(DEFAULTFONTDIR) - cp figlet $(DESTDIR) - cp chkfont $(DESTDIR) - cp figlist $(DESTDIR) - cp showfigfonts $(DESTDIR) - cp fonts/*.flf $(DEFAULTFONTDIR) - cp fonts/*.flc $(DEFAULTFONTDIR) - cp figlet.6 $(MANDIR) + mkdir -p $(BINDIR) + mkdir -p $(DEFAULTFONTDIR) + mkdir -p $(MANDIR) + $(INSTALL_PROGRAM) figlet $(BINDIR) + $(INSTALL_PROGRAM) chkfont $(BINDIR) + $(INSTALL_PROGRAM) figlist $(BINDIR) + $(INSTALL_PROGRAM) showfigfonts $(BINDIR) + $(INSTALL_DATA) fonts/*.flf $(DEFAULTFONTDIR) + $(INSTALL_DATA) fonts/*.flc $(DEFAULTFONTDIR) + $(INSTALL_DATA) figlet.6 $(MANDIR) --- figlet-2.2.1-4.info DELETED --- --- NEW FILE: lablgl.patch --- diff -r -u3 --new-file lablgl-1.00/Makefile lablgl-1.00-liulk/Makefile --- lablgl-1.00/Makefile Fri Oct 3 00:27:19 2003 +++ lablgl-1.00-liulk/Makefile Mon Nov 3 12:46:25 2003 @@ -29,6 +29,7 @@ cd LablGlut/src && $(MAKE) opt install: + mkdir -p "$(BINDIR)" @$(MAKE) real-install INSTALLDIR="$(INSTALLDIR)" DLLDIR="$(DLLDIR)" real-install: diff -r -u3 --new-file lablgl-1.00/Makefile.config lablgl-1.00-liulk/Makefile.config --- lablgl-1.00/Makefile.config Wed Dec 31 19:00:00 1969 +++ lablgl-1.00-liulk/Makefile.config Mon Nov 3 12:48:03 2003 @@ -0,0 +1,66 @@ +# LablGL and Togl configuration file +# +# Please have a look at the config/Makefile in the Objective Caml distribution, +# or at the labltklink script to get the information needed here +# + +##### Adjust these always + +# Uncomment if you have the fast ".opt" compilers +#CAMLC = ocamlc.opt +#CAMLOPT = ocamlopt.opt + +# Where to put the lablgl script +PREFIX = /usr/local +DESTDIR = +BINDIR = $(DESTDIR)$(PREFIX)/bin + +# Where to find X headers +XINCLUDES = -I/usr/X11R6/include +# X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) +XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11 + +# Where to find Tcl/Tk headers +# This must the same version as for LablTk +TKINCLUDES = -I$(PREFIX)/include +# Tcl/Tk libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) +#TKLIBS = -L/usr/local/lib -ltk83 -ltcl83 + +# Where to find OpenGL/Mesa/Glut headers and libraries +GLINCLUDES = +GLLIBS = -lGL -lGLU +GLUTLIBS = -L$(PREFIX)/lib -lglut +# The following libraries may be required (try to add them one at a time) +#GLLIBS = -lGL -lGLU -lXmu -lXext -lXi -lcipher -lpthread + + +# How to index a library after installing (ranlib required on MacOSX) +RANLIB = ranlib +#RANLIB = ranlib + +##### Uncomment these for windows +#TKLIBS = tk83.lib tcl83.lib gdi32.lib user32.lib +#GLLIBS = opengl32.lib glu32.lib +#TOOLCHAIN = msvc +#XA = .lib +#XB = .bat +#XE = .exe +#XO = .obj +#XS = .dll + +##### Adjust these if non standard + +# The Objective Caml library directory +LIBDIR = $(DESTDIR)`ocamlc -where` + +# Where to put dlls (if dynamic loading available) +DLLDIR = $(DESTDIR)`ocamlc -where`/stublibs + +# Where to put LablGL (standard) +INSTALLDIR = $(LIBDIR)/lablGL + +# Where is Togl (default) +#TOGLDIR = Togl + +# C Compiler options +#COPTS = -c -O --- NEW FILE: mplayer-skin-blue.info --- Package: mplayer-skin-blue Version: 1.0 Revision: 1 Provides: mplayer-skin Conflicts: mplayer ( <= 0.90pre10 ) Replaces: mplayer ( <= 0.90pre10 ) Source: http://www1.mplayerhq.hu/MPlayer/Skin/Blue-%v.tar.bz2 Source-MD5: 2cd7baa4ea60c42251c3dceaab9ae9cb SourceDirectory: Blue SourceRename: Blue-%v-%r.tar.bz2 CompileScript: echo "Unpacking..." InstallScript: << install -m 755 -d %i/share/mplayer/Skin/Blue install -m 644 *.png skin *.fnt %i/share/mplayer/Skin/Blue install -m 755 -d %i/share/mplayer/Skin/Blue/icons install -m 644 icons/* %i/share/mplayer/Skin/Blue/icons install -m 755 -d %i/share/doc/%n echo "This is licensed under the GPL. for more information, please see the docs for mplayer." > %i/share/doc/%n/COPYRIGHT << DocFiles: VERSION README Description: Blue skin for mplayer DescDetail: << The new default MPlayer skin. << License: GPL Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]> Homepage: http://www.mplayerhq.hu/ --- lablgl-1.00-1.info DELETED --- --- xmountains-2.6-1.info DELETED --- --- NEW FILE: lablgl.info --- Package: lablgl Version: 1.00 Revision: 1 Description: Lablgl OpenGL bindings for Objective Caml DescDetail: << LablGL is an OpenGL interface for Objective Caml. It includes support for both Togl widget and GLUT, which you can comfortably use with LablTk and LablGlut. Specific support for LablGL is also included in LablGTK. << DescPort: << This port on fink uses GL facility provided by xfree86 or system-xfree86. An alternative is to compile LablGL without tcltk support, with the option to use native Mac OS X OpenGL and GLUT framework. << DescPackaging: << The patch file consists of Makefile.config which sets the fink specific build-time parameters. << BuildDepends: tcltk-dev, libgl, glut, ocaml Depends: tcltk, libgl, glut-shlibs, ocaml Provides: togl, lablglut Replaces: lablglut PatchScript: patch -p1 < %a/%n.patch Source: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/%n-%v.tar.gz Source-MD5: 92bcfe3121650c43e5bc4c018778405b SourceDirectory: lablgl-%v CompileScript: make PREFIX=%p; make opt InstallScript: mkdir -p %i/lib/ocaml/stublibs; make install PREFIX=%p DESTDIR=%d DocFiles: CHANGES README COPYRIGHT License: BSD Homepage: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html Maintainer: Likai Liu <[EMAIL PROTECTED]> --- NEW FILE: libpng-shlibs.patch --- diff -ruN libpng-1.0.12/scripts/makefile.darwin libpng-1.0.12-patched/scripts/makefile.darwin --- libpng-1.0.12/scripts/makefile.darwin Thu Jan 1 01:00:00 1970 +++ libpng-1.0.12-patched/scripts/makefile.darwin Tue Jun 26 20:24:21 2001 @@ -0,0 +1,106 @@ +# makefile for libpng on Darwin / Mac OS X +# Copyright (C) 2001 Christoph Pfisterer +# derived from makefile.linux: +# Copyright (C) 1998, 1999 Greg Roelofs +# Copyright (C) 1996, 1997 Andreas Dilger +# For conditions of distribution and use, see copyright notice in png.h + +# where "make install" puts libpng.a, libpng.dylib, png.h and pngconf.h +prefix=/usr/local + +# Where the zlib library and include files are located +#ZLIBLIB=/usr/local/lib +#ZLIBINC=/usr/local/include +ZLIBLIB=../zlib +ZLIBINC=../zlib + +CC=cc +CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops +LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz + +#RANLIB=echo +RANLIB=ranlib + +# read libpng.txt or png.h to see why PNGMAJ is 2. You should not +# have to change it. +PNGMAJ = 2 +PNGMIN = 1.0.12 +PNGVER = $(PNGMAJ).$(PNGMIN) + +INCPATH=$(prefix)/include +LIBPATH=$(prefix)/lib + +OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ + pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ + pngwtran.o pngmem.o pngerror.o pngpread.o + +OBJSDLL = $(OBJS:.o=.pic.o) + +.SUFFIXES: .c .o .pic.o + +.c.pic.o: + $(CC) -c $(CFLAGS) -fno-common -o $@ $*.c + +all: libpng.a libpng.dylib pngtest + +libpng.a: $(OBJS) + ar rc $@ $(OBJS) + $(RANLIB) $@ + +libpng.dylib: libpng.$(PNGMAJ).dylib + ln -sf libpng.$(PNGMAJ).dylib libpng.dylib + +libpng.$(PNGMAJ).dylib: libpng.$(PNGVER).dylib + ln -sf libpng.$(PNGVER).dylib libpng.$(PNGMAJ).dylib + +libpng.$(PNGVER).dylib: $(OBJSDLL) + $(CC) -dynamiclib \ + -install_name $(LIBPATH)/libpng.$(PNGMAJ).dylib \ + -current_version $(PNGMIN) -compatibility_version $(PNGMIN) \ + -o libpng.$(PNGVER).dylib \ + $(OBJSDLL) -L$(ZLIBLIB) -lz + +pngtest: pngtest.o libpng.dylib + $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) + +test: pngtest + ./pngtest + +install: libpng.a libpng.dylib + [EMAIL PROTECTED] [ ! -d $(INCPATH) ]; then mkdir $(INCPATH); fi + [EMAIL PROTECTED] [ ! -d $(LIBPATH) ]; then mkdir $(LIBPATH); fi + cp png.h pngconf.h $(INCPATH) + chmod 644 $(INCPATH)/png.h $(INCPATH)/pngconf.h + cp libpng.a libpng.$(PNGVER).dylib $(LIBPATH) + chmod 755 $(LIBPATH)/libpng.$(PNGVER).dylib + ranlib $(LIBPATH)/libpng.a + -@/bin/rm -f $(LIBPATH)/libpng.$(PNGMAJ).dylib $(LIBPATH)/libpng.dylib + (cd $(LIBPATH); ln -sf libpng.$(PNGVER).dylib libpng.$(PNGMAJ).dylib; \ + ln -sf libpng.$(PNGMAJ).dylib libpng.dylib) + +clean: + rm -f *.o libpng.a libpng.*dylib pngtest pngout.png + +DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO +writelock: + chmod a-w *.[ch35] $(DOCS) scripts/* + +# DO NOT DELETE THIS LINE -- make depend depends on it. + +png.o png.pic.o: png.h pngconf.h +pngerror.o pngerror.pic.o: png.h pngconf.h +pngrio.o pngrio.pic.o: png.h pngconf.h +pngwio.o pngwio.pic.o: png.h pngconf.h +pngmem.o pngmem.pic.o: png.h pngconf.h +pngset.o pngset.pic.o: png.h pngconf.h +pngget.o pngget.pic.o: png.h pngconf.h +pngread.o pngread.pic.o: png.h pngconf.h +pngrtran.o pngrtran.pic.o: png.h pngconf.h +pngrutil.o pngrutil.pic.o: png.h pngconf.h +pngtrans.o pngtrans.pic.o: png.h pngconf.h +pngwrite.o pngwrite.pic.o: png.h pngconf.h +pngwtran.o pngwtran.pic.o: png.h pngconf.h +pngwutil.o pngwutil.pic.o: png.h pngconf.h +pngpread.o pngpread.pic.o: png.h pngconf.h + +pngtest.o: png.h pngconf.h --- NEW FILE: gif2png.info --- Package: gif2png Version: 2.4.6 Revision: 2 Maintainer: Carsten Klapp <[EMAIL PROTECTED]> Homepage: http://catb.org/~esr/gif2png/ Source: http://catb.org/~esr/%n/%n-%v.tar.gz #Homepage: http://packages.debian.org/unstable/graphics/gif2png.html #Source: mirror:debian:pool/main/g/%n/%n_%v.orig.tar.gz #SourceRename: %n-%v.tar.gz Source-MD5: 21326625955507ee408b34b034d4658f BuildDepends: libpng3 Depends: libpng3-shlibs Recommends: web2png Suggests: pngcrush, imagemagick-nox | imagemagick ConfigureParams: << --with-png-lib=%p/lib --with-png-inc=%p/include --mandir=%p/share/man << InstallScript: make install DESTDIR=%d DocFiles: README INSTALL ChangeLog COPYING NEWS AUTHORS Description: GIF to PNG graphics file conversion DescDetail: << The gif2png program converts files in the obsolescent and patent-encumbered Graphic Interchange Format (GIF) to Portable Network Graphics (PNG) format, an open W3C standard. << License: OSI-Approved DescPort: Uses autoconf. Provided under the libpng/zlib license. SplitOff: << Package: web2png Depends: %N (>= %v-%r), python-nox | python Enhances: %N (>= %v-%r) Files: bin/web2png share/man/man1/web2png.1 DocFiles: COPYING Description: Batch-converts entire web-pages with gif2png DescDetail: << The Python script web2png is a companion to gif2png, it converts an entire web tree also patching HTML pages to keep IMG SRC references correct. << << --- NEW FILE: mplayer-skin-midnight-love.info --- Package: mplayer-skin-midnight-love Version: 1.5 Revision: 1 Provides: mplayer-skin Conflicts: mplayer ( <= 0.90pre10 ) Replaces: mplayer ( <= 0.90pre10 ) Source: http://www1.mplayerhq.hu/MPlayer/Skin/MidnightLove-%v.tar.bz2 Source-MD5: 8e7614b366d25622197997344149747c SourceDirectory: MidnightLove SourceRename: MidnightLove-%v-%r.tar.bz2 CompileScript: echo "Unpacking..." InstallScript: << install -m 755 -d %i/share/mplayer/Skin/MidnightLove install -m 644 *.png skin *.fnt %i/share/mplayer/Skin/MidnightLove install -m 755 -d %i/share/doc/%n echo "This is licensed under the GPL. for more information, please see the docs for mplayer." > %i/share/doc/%n/COPYRIGHT << DocFiles: VERSION README Description: Midnight Love skin for mplayer DescDetail: << MPlayer conversion of the nice WinAMP/XMMS skin of Rei Ayanami. << License: GPL Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]> Homepage: http://www.mplayerhq.hu/ --- libpng-shlibs-1.0.12-7.patch DELETED --- --- NEW FILE: mplayer-skin-default.info --- Package: mplayer-skin-default Version: 1.7 Revision: 2 Provides: mplayer-skin Conflicts: mplayer ( <= 0.90pre10 ) Replaces: mplayer ( <= 0.90pre10 ) Source: http://www1.mplayerhq.hu/MPlayer/Skin/default-%v.tar.bz2 Source-MD5: 7e1d16c2f8a32469f4354cb043eecc5d SourceDirectory: default SourceRename: default-%v-%r.tar.bz2 CompileScript: echo "Unpacking..." InstallScript: << install -m 755 -d %i/share/mplayer/Skin/default install -m 644 * %i/share/mplayer/Skin/default mkdir -p %i/share/doc/%n echo "This is licensed under the GPL. for more information, please see the docs for mplayer." > %i/share/doc/%n/COPYRIGHT << DocFiles: VERSION README Description: Default skin for mplayer DescDetail: << This package provides a default gui skin for MPlayer. << License: GPL Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]> Homepage: http://www.mplayerhq.hu/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits