Update of /cvsroot/fink/dists/10.4-transitional/stable/main/finkinfo/graphics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7257

Added Files:
        metapixel.info metapixel.patch 
Removed Files:
        metapixel-0.7-3.info metapixel-0.7-3.patch 
Log Message:
Update


--- NEW FILE: metapixel.patch ---
--- ./metapixel-0.7/libzoom/filt.c.bak  2005-04-03 17:06:35.000000000 -0700
+++ ./metapixel-0.7/libzoom/filt.c      2005-04-03 17:07:04.000000000 -0700
@@ -73,10 +73,10 @@
     Filt *window;
 } window_data;
 
-void mitchell_init(), mitchell_print();
-void kaiser_init(), kaiser_print();
-void window_print();
-double window_func();
+static void mitchell_init(), mitchell_print();
+static void kaiser_init(), kaiser_print();
+static void window_print();
+static double window_func();
 static mitchell_data md;
 static kaiser_data kd;
 
--- ./metapixel-0.7/libzoom/zoom.c.bak  2005-04-03 17:01:21.000000000 -0700
+++ ./metapixel-0.7/libzoom/zoom.c      2005-04-03 17:06:08.000000000 -0700
@@ -58,6 +58,16 @@
 #include "scanline.h"
 #include "zoom.h"
 
+typedef struct {       /* ZOOM-SPECIFIC FILTER PARAMETERS */
+    double scale;      /* filter scale (spacing between centers in a space) */
+    double supp;       /* scaled filter support radius */
+    int wid;           /* filter width: max number of nonzero samples */
+} Filtpar;
+
+static make_weighttab(int b, double cen, Filt *filter, Filtpar *ap, int len, 
int trimzeros, Weighttab *wtab);
+static make_map_table(double scale, double tran, double asupp, int a0, int b0, 
int bn, int overlap, short *map);
+static statistics();
+
 #define EPSILON 1e-7                   /* error tolerance */
 #define UNDEF PIC_UNDEFINED
 
@@ -68,12 +78,6 @@
 #define INTEGER(x) (fabs((x)-floor((x)+.5)) < EPSILON) /* is x an integer? */
 #define FRAC(x) fabs((x)-floor((x)+.5))                /* diff from closest 
integer */
 
-typedef struct {       /* ZOOM-SPECIFIC FILTER PARAMETERS */
-    double scale;      /* filter scale (spacing between centers in a space) */
-    double supp;       /* scaled filter support radius */
-    int wid;           /* filter width: max number of nonzero samples */
-} Filtpar;
-
 int zoom_debug = 0;    /* debug level: 0=none, 1=scanline i/o, 2=filters */
 int zoom_coerce = 1;   /* simplify filters if possible? */
 int zoom_xy = UNDEF;   /* filter x before y (1) or vice versa (0)? */

--- NEW FILE: metapixel.info ---
Package: metapixel
Version: 1.0.0
Revision: 2
Source: http://www.complang.tuwien.ac.at/~schani/%n/%n-%v.tar.gz
#Patch: %n.patch
Source-MD5: df8709bb890061c2bea4c65db4a1057c
BuildDepends: libpng3, libjpeg
Depends: libpng3-shlibs, libjpeg-shlibs
SetCFLAGS: -I%p/include
SetLDFLAGS: -L%p/lib
PatchScript: <<
perl -pi -e 's,MACOS_LDOPTS = .*,MACOS_LDOPTS = \$(LDFLAGS),' Makefile
perl -pi -e 's,MACOS_CCOPTS = .*,MACOS_CCOPTS = \$(CFLAGS),' Makefile
perl -pi -e 's,PREFIX = .*,PREFIX = %p,' Makefile
perl -pi -e 's,MANPAGE_XSL = /sw,MANPAGE_XSL = %p,' Makefile
<<
CompileScript: << 
make
strip %n
<<
InstallScript: <<
mkdir -p %i/share/man/man1/
make install CC=cc BINDIR=%i/bin MANDIR=%i/share/man
<<
Description: Photomosaic generator
DescDetail: <<
Can generate classical photomosaics, in which the source image is viewed 
as a matrix of equally sized rectangles for each of which a matching image 
is substitued, as well as collage-style photomosaics, in which rectangular 
parts of the source image at arbitrary positions (i.e. not aligned to a
matrix) are substituted by matching images.
<<
DescUsage: <<
Read readme for instructions. Prepare script has problems on images with
spaces and special characters in the name.
<<
DocFiles: NEWS README COPYING
License: GPL
Maintainer: Ben Hines <[EMAIL PROTECTED]>
Homepage: http://www.complang.tuwien.ac.at/~schani/metapixel/

--- metapixel-0.7-3.patch DELETED ---

--- metapixel-0.7-3.info DELETED ---



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to