Info2: << Package: image-oct305 Type: oct (3.0.5), forge (image) Version: 1.0.8 Revision: 16 Epoch: 1 Maintainer: Alexander Hansen # unfortunately, Homepage won't do types Homepage: http://octave.sourceforge.net/image/index.html Description: Image tools for octave DescDetail: << The Octave-forge Image package provides functions for reading, writing, and and processing images. The package supports almost all image formats through the use of GraphicsMagick or ImageMagick. The package also provides functions for feature extraction, image statistics, spatial and geometric transformations, morphological operations, linear filtering, and much more. This version contains the imread and imwrite functions which are now in core Octave, but aren't in 3.0.5. The following additional functions are included: Display: image imagesc imshow rgbplot Read/write: imread imwrite imfinfo imginfo bmpwrite jpgread jpgwrite pngread pngwrite Reshape: imcrop imremap imperspectivewarp imresize imrotate imrotate_Fourier imtranslate imshear impad padarray rotate_scale Analysis and Statistics: fftconv2 corr2 imhist mean2 std2 qtdecomp qtgetblk qtsetblk graycomatrix houghtf hough_line hough_circle graythresh immaximas Filtering: imfilter colfilt fspecial imsmooth histeq imadjust imnoise medfilt2 ordfilt2 ordfiltn cordflt2 uintlut stretchlim makelut applylut deriche radon nonmax_supress Black and white image functions: bwarea bwdist bweuler bwfill bwlabel bwmorph bwperim bwselect dilate erode bwborder edge conndef bwhitmiss Morhophological Operations: imerode imdilate imopen imclose imtophat Colour controls: cmpermute cmunique imapprox rgb2ycbcr ycbcr2rgb Representation: dither gray2ind grayslice im2bw im2double im2uint8 im2uint16 ind2gray ind2rgb isbw isgray isind isrgb mat2gray rgb2gray rgb2ind label2rgb imcomplement Colour maps: flag lines colorcube vga contrast colorgradient Region-based and block processing: roicolor roifill roifilt2 roipoly poly2mask bestblk blkproc nlfilter im2col col2im rangefilt stdfilt entropyfilt << License: GPL2 # All octave-forge packages have to have the following BuildDepends: # octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev, # fftw3, hdf5.7-oldapi BuildDepends: << octave%type_pkg[oct]-dev | octave%type_pkg[oct]-atlas-dev, fftw3, hdf5.7-oldapi, imagemagick2-dev, libjpeg8, libpng3 << Depends: << octave%type_pkg[oct] | octave%type_pkg[oct]-atlas, imagemagick2-shlibs, imagemagick | graphicsmagick-imagemagick-compat, libjpeg8-shlibs, libpng3-shlibs << Conflicts: octave-forge, octave-forge-%type_raw[forge] (<< 1.0.7-999) Replaces: octave-forge-%type_raw[forge] (<< 1.0.7-999) Source-MD5: 36f1c7fe346752b5bcca1725eff56072 #### Insert required changes here #### SetCPPFLAGS: -I%p/opt/hdf5v1.6/include SetLDFLAGS: -L%p/opt/hdf5v1.6/lib SetLIBS: -lMagick++ -lMagickCore ###################################### # Do not change anything from this point down, unless absolutely necessary, # since all of the foo-oct%type_pkg[oct] packages are designed to be built/installed # in the same way. Source: mirror:sourceforge:octave/%type_raw[forge]-%v.tar.gz SetLIBRARY_PATH: /usr/X11R6/lib:%p/lib SetMAKEFLAGS: -j1 CompileScript: %p/share/octave/%type_raw[oct]/scripts/octave-forge-compile.sh %type_raw[forge]-%v InstallScript: << #!/bin/sh -ev %p/share/octave/%type_raw[oct]/scripts/octave-forge-install.sh %type_raw[forge]-%v %i %b mkdir -p %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v # copy template scripts cp %p/share/octave/%type_raw[oct]/scripts/octave-forge-prerm %p/share/octave/%type_raw[oct]/scripts/octave-forge-postinst %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v cd %i/share/octave/%type_raw[oct]/%type_raw[forge]-%v sed -i -e 's/@PKGNAME@/%type_raw[forge]-%v/' octave-forge-postinst sed -i -e 's/@PKGNAME@/%type_raw[forge]/' octave-forge-prerm chmod a+x octave-forge* << PostInstScript: << if [ -s %p/var/octave/%type_raw[oct]/octave_packages ] && [ -f %p/var/octave/%type_raw[oct]/octave_packages ] then %p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-postinst else mv %p/share/octave/%type_raw[oct]/packages/%type_raw[forge]-%v/octave_packages %p/var/octave/%type_raw[oct]/octave_packages fi << PreRmScript: %p/share/octave/%type_raw[oct]/%type_raw[forge]-%v/octave-forge-prerm DescPackaging: << This package: Not compatible with newer libpngs. Common for all octave-forge packages: We read in postinst and prerm template scripts installed by octaveN and modify them to use the name of this package because Octave's package manager can't cope with non-literal arguments. The Type: forge (pkgname) is used to minimize what needs to be changed when using this .info file as a template. << <<