Index: head/graphics/Makefile =================================================================== --- head/graphics/Makefile (revision 119093) +++ head/graphics/Makefile (revision 119094) @@ -1,531 +1,532 @@ # $FreeBSD$ # COMMENT = Graphics tools and libraries SUBDIR += 4va SUBDIR += Cgraph SUBDIR += Coin SUBDIR += EZWGL SUBDIR += GIFgraph SUBDIR += Hermes SUBDIR += IPA SUBDIR += ImageMagick SUBDIR += OpenEXR SUBDIR += SciPlot SUBDIR += aalib SUBDIR += acidwarp SUBDIR += agg SUBDIR += ale SUBDIR += allegrogl SUBDIR += animabob SUBDIR += aoi SUBDIR += aqsis SUBDIR += autotrace SUBDIR += aview SUBDIR += ayam SUBDIR += backfract SUBDIR += barcode SUBDIR += batik SUBDIR += bbrb SUBDIR += blender SUBDIR += blender-devel SUBDIR += bmeps SUBDIR += bugle SUBDIR += cadubi SUBDIR += cal3d SUBDIR += camediaplay SUBDIR += cbview SUBDIR += chbg + SUBDIR += cimg SUBDIR += cinepaint SUBDIR += claraocr SUBDIR += compupic SUBDIR += corona SUBDIR += cqcam SUBDIR += crw SUBDIR += cthumb SUBDIR += dataplot SUBDIR += dc20ctrl SUBDIR += dc20pack SUBDIR += dc3play SUBDIR += dcraw SUBDIR += deep_zoom SUBDIR += demeter SUBDIR += dia SUBDIR += diacanvas SUBDIR += diacanvas2 SUBDIR += digikam SUBDIR += digikamplugins SUBDIR += divxcalc SUBDIR += djvulibre SUBDIR += dore SUBDIR += dri SUBDIR += dri-devel SUBDIR += drm-kmod SUBDIR += duhdraw SUBDIR += dvipng SUBDIR += dynamechs SUBDIR += ecg2png SUBDIR += electriceyes SUBDIR += enfle SUBDIR += entice SUBDIR += eog2 SUBDIR += epeg SUBDIR += epix SUBDIR += eps2png SUBDIR += epstool SUBDIR += eterm-bg SUBDIR += evas SUBDIR += evolvotron SUBDIR += exifprobe SUBDIR += exiftags SUBDIR += fbm SUBDIR += feh SUBDIR += figurine SUBDIR += flashplayer SUBDIR += flasm SUBDIR += fli2gif SUBDIR += flip SUBDIR += flphoto SUBDIR += fly SUBDIR += fnlib SUBDIR += fractorama SUBDIR += frontline SUBDIR += ftgl SUBDIR += fujiplay SUBDIR += fyre SUBDIR += g2 SUBDIR += g3dviewer SUBDIR += gauche-gl SUBDIR += gcolor SUBDIR += gd SUBDIR += gdal SUBDIR += gdchart SUBDIR += gdk-pixbuf SUBDIR += gdtclft SUBDIR += geist SUBDIR += geomview SUBDIR += geos SUBDIR += gfont SUBDIR += giblib SUBDIR += gif2png SUBDIR += gifmerge SUBDIR += gifsicle SUBDIR += giftool SUBDIR += giftrans SUBDIR += gimageview SUBDIR += gimp SUBDIR += gimp-manual-html SUBDIR += gimp-manual-pdf SUBDIR += gimp-pmosaic SUBDIR += gimp1 SUBDIR += giram SUBDIR += gkrellkam SUBDIR += gkrellkam2 SUBDIR += gle SUBDIR += glean SUBDIR += glew SUBDIR += glfw SUBDIR += glide3 SUBDIR += glitz SUBDIR += gliv SUBDIR += gltk SUBDIR += gltt SUBDIR += gmt SUBDIR += gnofract4d SUBDIR += gnomecanvas SUBDIR += gnomeiconedit SUBDIR += gocr SUBDIR += gozer SUBDIR += gpaint SUBDIR += gpdf SUBDIR += gphoto2 SUBDIR += gplot SUBDIR += gpsmanshp SUBDIR += gqview SUBDIR += gracula SUBDIR += graphopt SUBDIR += graphviz SUBDIR += gridpix SUBDIR += gsculpt SUBDIR += gthumb2 SUBDIR += gtkam SUBDIR += gtkdps SUBDIR += gtkfig SUBDIR += gtkgraph SUBDIR += gtksee SUBDIR += gts SUBDIR += guilib SUBDIR += gview SUBDIR += gwenview SUBDIR += hobbes-icons-xpm SUBDIR += hpoj SUBDIR += hppsmtools SUBDIR += hs-HOpenGL SUBDIR += hs-hgl SUBDIR += hsetroot SUBDIR += icoconvert SUBDIR += icod SUBDIR += icontact SUBDIR += ida SUBDIR += imageindex SUBDIR += imagesort SUBDIR += imageviewer SUBDIR += imc SUBDIR += imgseek SUBDIR += imlib SUBDIR += imlib2 SUBDIR += imlib2_loaders SUBDIR += inkscape SUBDIR += inventor SUBDIR += ipe SUBDIR += irit SUBDIR += isreal SUBDIR += ivtools SUBDIR += jasper SUBDIR += jbigkit SUBDIR += jgraph SUBDIR += jgv SUBDIR += jhead SUBDIR += jpatch SUBDIR += jpeg SUBDIR += jpeg-mmx SUBDIR += jpeg2ps-a4 SUBDIR += jpeg2ps-letter SUBDIR += jpeginfo SUBDIR += jpegoptim SUBDIR += jpegpixi SUBDIR += jpgraph SUBDIR += jpgtn SUBDIR += jslice SUBDIR += jumpgis SUBDIR += juno-2 SUBDIR += k3d SUBDIR += kalbum SUBDIR += kallery SUBDIR += kamera SUBDIR += kbarcode SUBDIR += kdc2tiff SUBDIR += kdegraphics3 SUBDIR += kimagemapeditor SUBDIR += kimdaba SUBDIR += kisomandel SUBDIR += kix-kmod SUBDIR += kludge3d SUBDIR += kolourpaint SUBDIR += kooka SUBDIR += kuickshow SUBDIR += landscape SUBDIR += lcms SUBDIR += leafpak SUBDIR += lfview SUBDIR += lib3ds SUBDIR += libGLU SUBDIR += libafterimage SUBDIR += libart SUBDIR += libart_lgpl2 SUBDIR += libaux SUBDIR += libcaca SUBDIR += libdjvu++ SUBDIR += libemf SUBDIR += libexif SUBDIR += libexif-gtk SUBDIR += libflash SUBDIR += libfpx SUBDIR += libgdgeda SUBDIR += libggi SUBDIR += libglut SUBDIR += libgnomecanvas SUBDIR += libgnomecanvasmm SUBDIR += libgnomecanvasmm26 SUBDIR += libgphoto2 SUBDIR += libgrass5 SUBDIR += libimg SUBDIR += liblug SUBDIR += libmng SUBDIR += libmorph SUBDIR += libpcd SUBDIR += libpixman SUBDIR += libqglviewer SUBDIR += librsvg SUBDIR += librsvg2 SUBDIR += libsvg SUBDIR += libtheora SUBDIR += libungif SUBDIR += libv3d SUBDIR += libwmf SUBDIR += libwpcg SUBDIR += linplasma SUBDIR += linux-ac3d SUBDIR += linux-bmrt SUBDIR += linux-gdk-pixbuf SUBDIR += linux-imlib SUBDIR += linux-jpeg SUBDIR += linux-libmng SUBDIR += linux-png SUBDIR += linux-png10 SUBDIR += linux-tiff SUBDIR += linux-ungif SUBDIR += linux_dri SUBDIR += linux_glide SUBDIR += linux_glx SUBDIR += linux_mesa3 SUBDIR += lodju SUBDIR += lphoto SUBDIR += mapserver SUBDIR += maverik SUBDIR += megapov SUBDIR += mesa-demos SUBDIR += mesagl SUBDIR += meshviewer SUBDIR += metapixel SUBDIR += mgp-gallery SUBDIR += ming SUBDIR += mingplot SUBDIR += morpheus SUBDIR += mrsidviewer SUBDIR += multivideo SUBDIR += netpbm SUBDIR += nip SUBDIR += nurbs++ SUBDIR += ocaml-images SUBDIR += ocaml-lablgl SUBDIR += ocrad SUBDIR += oglext SUBDIR += opendis SUBDIR += opendx SUBDIR += opendx-samples SUBDIR += opengl-man SUBDIR += openproducer SUBDIR += openrm SUBDIR += ophoto SUBDIR += optipng SUBDIR += orca SUBDIR += osg SUBDIR += osgedit SUBDIR += p5-Chart-Graph SUBDIR += p5-Chart-PNGgraph SUBDIR += p5-Color-Rgb SUBDIR += p5-GD SUBDIR += p5-GD-Barcode SUBDIR += p5-GD-Graph SUBDIR += p5-GD-Graph3d SUBDIR += p5-GD-TextUtil SUBDIR += p5-Graph-ReadWrite SUBDIR += p5-GraphViz SUBDIR += p5-GraphViz-Data-Structure SUBDIR += p5-Graphics-ColorNames SUBDIR += p5-Image-ExifTool SUBDIR += p5-Image-Grab SUBDIR += p5-Image-Imlib2 SUBDIR += p5-Image-Info SUBDIR += p5-Image-Size SUBDIR += p5-Imager SUBDIR += p5-Imager-Plot SUBDIR += p5-Imlib2 SUBDIR += p5-OpenGL SUBDIR += p5-SWF-Builder SUBDIR += p5-SWF-File SUBDIR += p5-Tk-JPEG-Lite SUBDIR += p5-VCG SUBDIR += p5-chart SUBDIR += p5-ming SUBDIR += paintlib SUBDIR += panorama SUBDIR += passepartout SUBDIR += pear-Image_Color SUBDIR += pecl-imagick SUBDIR += peps SUBDIR += pgperl SUBDIR += pgplot SUBDIR += pho SUBDIR += photopc SUBDIR += php4-exif SUBDIR += php4-gd SUBDIR += php4-ming SUBDIR += php5-exif SUBDIR += php5-gd SUBDIR += php5-ming SUBDIR += phplot SUBDIR += picturebook SUBDIR += piddle SUBDIR += pixelize SUBDIR += pixie SUBDIR += pixieplus SUBDIR += pixmap SUBDIR += plasma-kmod SUBDIR += plotmtv SUBDIR += plotutils SUBDIR += png SUBDIR += png2html SUBDIR += png2ico SUBDIR += pngcheck SUBDIR += pngcrush SUBDIR += pngquant SUBDIR += pngrewrite SUBDIR += pngwriter SUBDIR += pornview SUBDIR += potrace SUBDIR += potracegui SUBDIR += povray SUBDIR += povray31 SUBDIR += ppmcaption SUBDIR += proj SUBDIR += pstoedit SUBDIR += pstoepsi SUBDIR += pvmpov SUBDIR += py-PyX SUBDIR += py-cgkit SUBDIR += py-chart SUBDIR += py-exif SUBDIR += py-gd SUBDIR += py-gdchart SUBDIR += py-graphviz SUBDIR += py-imaging SUBDIR += py-imaging-handbook SUBDIR += py-ming SUBDIR += py-opengl SUBDIR += py-paint SUBDIR += q-graph SUBDIR += qcamview SUBDIR += qcread SUBDIR += qglviewer SUBDIR += qiv SUBDIR += qslim SUBDIR += qtutils SUBDIR += quat SUBDIR += quat-gui SUBDIR += quesa SUBDIR += quickpics SUBDIR += qvplay SUBDIR += ray++ SUBDIR += rayshade SUBDIR += reallyslick SUBDIR += renderpark SUBDIR += robot SUBDIR += ruby-evas SUBDIR += ruby-gd SUBDIR += ruby-gdchart SUBDIR += ruby-gdk_imlib SUBDIR += ruby-gdk_pixbuf SUBDIR += ruby-gdk_pixbuf2 SUBDIR += ruby-gnomecanvas2 SUBDIR += ruby-graph SUBDIR += ruby-image_size SUBDIR += ruby-imlib2 SUBDIR += ruby-libart SUBDIR += ruby-libart2 SUBDIR += ruby-libexif SUBDIR += ruby-libpng SUBDIR += ruby-ming SUBDIR += ruby-opengl SUBDIR += ruby-pgplot SUBDIR += ruby-rmagick SUBDIR += ruby-svg SUBDIR += ruby-tgif SUBDIR += rubyphoto SUBDIR += s10sh SUBDIR += s3switch SUBDIR += sam2p SUBDIR += sane-backends SUBDIR += sane-frontends SUBDIR += sced SUBDIR += scr2png SUBDIR += scrot SUBDIR += scwm-icons SUBDIR += sdl_gfx SUBDIR += sdl_image SUBDIR += sdl_ttf SUBDIR += seejpeg SUBDIR += show SUBDIR += showimg SUBDIR += simage SUBDIR += skencil SUBDIR += smoke SUBDIR += sng SUBDIR += sodipodi SUBDIR += springgraph SUBDIR += stamp SUBDIR += svg2swf SUBDIR += svgalib SUBDIR += swfdec SUBDIR += swftools SUBDIR += synaesthesia SUBDIR += tcm SUBDIR += teddy SUBDIR += tgif SUBDIR += tgif-nls SUBDIR += threeDS SUBDIR += tif22pnm SUBDIR += tiff SUBDIR += tiff2png SUBDIR += tifmerge SUBDIR += tintfu SUBDIR += togl SUBDIR += truevision SUBDIR += tulip SUBDIR += urt SUBDIR += utah-glx SUBDIR += vcg SUBDIR += vertex SUBDIR += vid SUBDIR += view3ds SUBDIR += vips SUBDIR += visionegg SUBDIR += vp SUBDIR += whirlgif SUBDIR += white_dune SUBDIR += wings SUBDIR += wmgrabimage SUBDIR += wmicons SUBDIR += xaos SUBDIR += xbarcode SUBDIR += xbmbrowser SUBDIR += xd3d SUBDIR += xdgagrab SUBDIR += xdl SUBDIR += xenomorph SUBDIR += xface.el SUBDIR += xfig SUBDIR += xfpovray SUBDIR += xfractint SUBDIR += xglurbules SUBDIR += xgrasp SUBDIR += xli SUBDIR += xmagv SUBDIR += xmandel SUBDIR += xmedcon SUBDIR += xmfract SUBDIR += xmms-blursk SUBDIR += xmms-finespectrum SUBDIR += xmms-fishmatic SUBDIR += xmms-gdancer SUBDIR += xmms-goom SUBDIR += xmms-infinity SUBDIR += xmms-iris SUBDIR += xmms-jess SUBDIR += xmms-nebulus SUBDIR += xmms-paranormal SUBDIR += xmms-xvs SUBDIR += xmorph SUBDIR += xmountains SUBDIR += xmrm SUBDIR += xnview SUBDIR += xpaint SUBDIR += xpcd SUBDIR += xpdf SUBDIR += xpm SUBDIR += xpx SUBDIR += xrml SUBDIR += xsane SUBDIR += xtexcad SUBDIR += xv SUBDIR += xv-m17n SUBDIR += xwpick SUBDIR += xzgv SUBDIR += yafray SUBDIR += zgv SUBDIR += zimg SUBDIR += zphoto .include Property changes on: head/graphics/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.735 \ No newline at end of property +1.736 \ No newline at end of property Index: head/graphics/cimg/Makefile =================================================================== --- head/graphics/cimg/Makefile (nonexistent) +++ head/graphics/cimg/Makefile (revision 119094) @@ -0,0 +1,62 @@ +# New ports collection makefile for: CImg +# Date created: 11 September 2004 +# Whom: thierry@pompo.net +# +# $FreeBSD$ +# + +PORTNAME= cimg +PORTVERSION= 1.0.6 +CATEGORIES= graphics devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= CImg +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= The C++ Template Image Processing Library + +USE_ZIP= yes +MAKE_ENV= CPPFLAGS="${CFLAGS} ${LAPACK_DEF} ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} ${LAPACK_LIB} ${PTHREAD_LIBS}" \ + X11PATH=${X11BASE} + +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen +USE_GCC= 3.4 +USE_REINPLACE= yes +.else +NOBUILD= yes +.endif +.if !defined(WITHOUT_IM) +RUN_DEPENDS+= ${LOCALBASE}/lib/libMagick.so.6:${PORTSDIR}/graphics/ImageMagick +.endif +.if !defined(WITHOUT_LAPACK) +LIB_DEPENDS+= atlas:${PORTSDIR}/math/atlas +LAPACK_LIB= -L${LOCALBASE}/lib -lalapack -lcblas -lf77blas -lg2c -latlas +LAPACK_DEF= -Dcimg_lapack +.endif + +post-extract: + @${CP} ${WRKSRC}/CImg.h ${WRKSRC}/CImg.h.dos + @${TR} -d '\r' < ${WRKSRC}/CImg.h.dos > ${WRKSRC}/CImg.h + +.if !defined(NOPORTDOCS) +post-patch: + @${REINPLACE_CMD} -e "s|examples/|${EXAMPLESDIR}/|g" \ + ${WRKSRC}/CImg_test.cpp +.endif + +do-install: + ${INSTALL_DATA} ${WRKSRC}/CImg.h ${PREFIX}/include +.if !defined(NOPORTDOCS) + ${INSTALL_PROGRAM} ${WRKSRC}/CImg_test ${PREFIX}/bin + ${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} + ${CP} -R ${WRKSRC}/html/* ${DOCSDIR} + ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR} + @(cd ${EXAMPLESDIR} && ${MAKE} clean) + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} ${EXAMPLESDIR} +.endif + +.include Property changes on: head/graphics/cimg/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/graphics/cimg/distinfo =================================================================== --- head/graphics/cimg/distinfo (nonexistent) +++ head/graphics/cimg/distinfo (revision 119094) @@ -0,0 +1,2 @@ +MD5 (cimg-1.0.6/CImg.zip) = cb61151e3db744b4f644b88fcdb8446c +SIZE (cimg-1.0.6/CImg.zip) = 2739063 Property changes on: head/graphics/cimg/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/graphics/cimg/files/patch-CImg.h =================================================================== --- head/graphics/cimg/files/patch-CImg.h (nonexistent) +++ head/graphics/cimg/files/patch-CImg.h (revision 119094) @@ -0,0 +1,54 @@ +--- CImg.h.orig Mon Oct 11 21:46:09 2004 ++++ CImg.h Mon Oct 11 22:04:08 2004 +@@ -55,7 +55,7 @@ + + // Autodetection of the current OS + #ifndef cimg_OS +-#if defined(sun) || defined(__sun) ++#if defined(sun) || defined(__sun) + // Solaris + #define cimg_OS 0 + #ifndef cimg_display_type +@@ -82,6 +82,15 @@ + #ifndef cimg_display_type + #define cimg_display_type 1 + #endif ++#elif defined(__FreeBSD__) ++// FreeBSD ++#define cimg_OS 4 ++#ifndef cimg_display_type ++#define cimg_display_type 1 ++#endif ++#ifndef cimg_color_terminal ++#define cimg_color_terminal ++#endif + #else + // Other configurations + #define cimg_OS -1 +@@ -1110,7 +1119,7 @@ + t_red,cimg_version,t_normal,__DATE__,__TIME__); + std::fprintf(stderr," > Architecture : %s%-12s%s %s(cimg_OS=%d)\n%s", + t_bold, +- cimg_OS==0?"Solaris":(cimg_OS==1?"Linux":(cimg_OS==2?"Windows":(cimg_OS==3?"Mac OS X":"Unknown"))), ++ cimg_OS==0?"Solaris":(cimg_OS==1?"Linux":(cimg_OS==2?"Windows":(cimg_OS==3?"Mac OS X":(cimg_OS==4?"FreeBSD":"Unknown")))), + t_normal,t_purple,cimg_OS,t_normal); + std::fprintf(stderr," > Display type : %s%-12s%s %s(cimg_display_type=%d)%s\n", + t_bold,cimg_display_type==0?"No":(cimg_display_type==1?"X11":(cimg_display_type==2?"WindowsGDI":"Unknown")),t_normal,t_purple,cimg_display_type,t_normal); +@@ -1542,7 +1551,7 @@ + uint width; //!< Width of the display window. + uint height; //!< Height of the display window. + uint normalize; //!< Pixel value normalization. +- const uint attributes; //!< Attributes of the display window. ++ uint attributes; //!< Attributes of the display window. + volatile int mousex; //!< When (attributes&3)>=2, this variable corresponds to the mouse pointer X-coordinate into the display window. + volatile int mousey; //!< When (attributes&3)>=2, this variable corresponds to the mouse pointer Y-coordinate into the display window. + volatile uint button; //!< When (attributes&3)>=2, these variables corresponds to the mouse button clicked into the display window. +@@ -6575,7 +6584,7 @@ + Here are the different environment variables used by the CImg Library : + + - \b \c cimg_OS : This variable defines the type of your current OS. It can be set to 0 (Solaris), 1 (Linux), +- 2 (Windows), 3 (Mac OS X) or -1 (Other configuration). ++ 2 (Windows), 3 (Mac OS X), 4 (FreeBSD) or -1 (Other configuration). + It should be actually auto-detected by the CImg library. If this is not the case (cimg_OS=-1), then you + will probably have to tune the environment variables described below. + - \b \c cimg_display_type : This variable defines the type of display library that will be used to Property changes on: head/graphics/cimg/files/patch-CImg.h ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/graphics/cimg/files/patch-Makefile =================================================================== --- head/graphics/cimg/files/patch-Makefile (nonexistent) +++ head/graphics/cimg/files/patch-Makefile (revision 119094) @@ -0,0 +1,85 @@ +--- Makefile.orig Fri Aug 6 17:35:44 2004 ++++ Makefile Mon Oct 11 22:42:11 2004 +@@ -1,41 +1,41 @@ +-#-------------------------------------------------------------------------------------- +-# +-# File : Makefile +-# +-# Description : Makefile to compile CImg for Linux and Solaris +-# +-# Author : David Tschumperlé +-# +-# Institution : ODYSSEE, INRIA Sophia Antipolis. +-# +-# Contact : David.Tschumperle@sophia.inria.fr +-# +-# Date : Project started november 1999. +-# +-# ----------------------------------------------------------------------------------- +- +-# Set correct variables and paths +-CC = g++ -O4 -Wall-ansi -ffast-math +-X11PATH = /usr/X11R6 +-X11FLAGS = -I$(X11PATH)/include -L$(X11PATH)/lib -lX11 +- +-# Compilation rules +-.cpp: +- @echo "> Compiling '$*'" +- @$(CC) -o $* $< $(CFLAGS) $(X11FLAGS) $(LDFLAGS) +-linux: +- @echo -e "\n** Starting the compilation of the entire CImg package for Linux. Please wait...\n" +- make "LDFLAGS=-lm -lpthread -Wl,-rpath $(X11PATH)/lib" all +-solaris: +- @echo -e "\n** Starting the compilation of the entire CImg package for Solaris. Please wait...\n" +- make "LDFLAGS=-lm -lpthread -R$(X11PATH)/lib -lnsl -lsocket" all +-doc: +- @echo "> Create documentation (you need the 'doxygen' tool, see http://www.doxygen.org)." +- @doxygen CImg.doxygen >/dev/null +-all: CImg_test +- cd examples && make all +- make doc +- @echo -e "\n** All done successfully. You can launch 'CImg_test', or read documentation 'html/index.html'. **\n" +-clean: +- cd examples && make clean +- rm -rf documentation CImg_test cimg_new core *~ *.o *.exe ++#-------------------------------------------------------------------------------------- ++# ++# File : Makefile ++# ++# Description : Makefile to compile CImg for Linux and Solaris ++# ++# Author : David Tschumperlé ++# ++# Institution : ODYSSEE, INRIA Sophia Antipolis. ++# ++# Contact : David.Tschumperle@sophia.inria.fr ++# ++# Date : Project started november 1999. ++# ++# ----------------------------------------------------------------------------------- ++ ++# Set correct variables and paths ++CC = $(CXX) ++#X11PATH = /usr/X11R6 ++X11FLAGS = -I$(X11PATH)/include -L$(X11PATH)/lib -lX11 ++ ++# Compilation rules ++.cpp: ++ @echo "> Compiling '$*'" ++ $(CC) -o $* $< $(CPPFLAGS) -Wall -ansi -ffast-math $(X11FLAGS) $(LDFLAGS) ++linux: ++ @echo -e "\n** Starting the compilation of the entire CImg package for Linux. Please wait...\n" ++ make "LDFLAGS=-lm -lpthread -Wl,-rpath $(X11PATH)/lib" all ++solaris: ++ @echo -e "\n** Starting the compilation of the entire CImg package for Solaris. Please wait...\n" ++ make "LDFLAGS=-lm -lpthread -R$(X11PATH)/lib -lnsl -lsocket" all ++doc: ++ @echo "> Create documentation (you need the 'doxygen' tool, see http://www.doxygen.org)." ++ @doxygen CImg.doxygen >/dev/null ++all: CImg_test ++ cd examples && make all ++ make doc ++ @echo -e "\n** All done successfully. After install, you can launch 'CImg_test', or read documentation 'html/index.html'. **\n" ++clean: ++ cd examples && make clean ++ rm -rf documentation CImg_test cimg_new core *~ *.o *.exe Property changes on: head/graphics/cimg/files/patch-Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/graphics/cimg/files/patch-examples::Makefile =================================================================== --- head/graphics/cimg/files/patch-examples::Makefile (nonexistent) +++ head/graphics/cimg/files/patch-examples::Makefile (revision 119094) @@ -0,0 +1,117 @@ +--- examples/Makefile.orig Fri Aug 6 17:35:46 2004 ++++ examples/Makefile Mon Oct 11 22:43:13 2004 +@@ -1,57 +1,57 @@ +-#-------------------------------------------------------------------------------------- +-# +-# Makefile : Makefile for compiling CImg examples +-# +-# Author : David Tschumperlé +-# +-# Institution : ODYSSEE, INRIA Sophia Antipolis. +-# +-# Contact : David.Tschumperle@sophia.inria.fr +-# +-# Date : Project started november 1999. +-# +-# ----------------------------------------------------------------------------------- +- +-# Set correct variables and paths +-CC = g++ -O4 -Wall -ansi -ffast-math +-X11PATH = /usr/X11R6 +-X11FLAGS = -I$(X11PATH)/include -L$(X11PATH)/lib -lX11 +- +-# Compilation rules +-.cpp: +- @echo "> Compiling '$*'" +- @$(CC) -o $* $< $(CFLAGS) $(X11FLAGS) $(LDFLAGS) +-linux: +- make "LDFLAGS=-lm -lpthread -Wl,-rpath $(X11PATH)/lib" all +-solaris: +- make "LDFLAGS=-lm -lpthread -R$(X11PATH)/lib -lnsl -lsocket" all +- +-all: fade_images \ +- inpainter \ +- odykill \ +- pslider \ +- inrcast \ +- inrcrop \ +- optical_flow \ +- hough_transform \ +- render3d \ +- tutorial \ +- tetris \ +- pde_heatflow2D \ +- pde_TschumperleDeriche2D +- +-clean: +- rm -f *.exe *~ \ +- fade_images \ +- inpainter \ +- odykill \ +- pslider \ +- inrcast \ +- inrcrop \ +- optical_flow \ +- hough_transform \ +- render3d \ +- tutorial \ +- tetris \ +- pde_heatflow2D \ +- pde_TschumperleDeriche2D ++#-------------------------------------------------------------------------------------- ++# ++# Makefile : Makefile for compiling CImg examples ++# ++# Author : David Tschumperlé ++# ++# Institution : ODYSSEE, INRIA Sophia Antipolis. ++# ++# Contact : David.Tschumperle@sophia.inria.fr ++# ++# Date : Project started november 1999. ++# ++# ----------------------------------------------------------------------------------- ++ ++# Set correct variables and paths ++CC = $(CXX) ++#X11PATH = /usr/X11R6 ++X11FLAGS = -I$(X11PATH)/include -L$(X11PATH)/lib -lX11 ++ ++# Compilation rules ++.cpp: ++ @echo "> Compiling '$*'" ++ $(CC) -o $* $< $(CPPFLAGS) -Wall -ansi -ffast-math $(X11FLAGS) $(LDFLAGS) ++linux: ++ make "LDFLAGS=-lm -lpthread -Wl,-rpath $(X11PATH)/lib" all ++solaris: ++ make "LDFLAGS=-lm -lpthread -R$(X11PATH)/lib -lnsl -lsocket" all ++ ++all: fade_images \ ++ inpainter \ ++ odykill \ ++ pslider \ ++ inrcast \ ++ inrcrop \ ++ optical_flow \ ++ hough_transform \ ++ render3d \ ++ tutorial \ ++ tetris \ ++ pde_heatflow2D \ ++ pde_TschumperleDeriche2D ++ ++clean: ++ rm -f *.exe *~ *.orig \ ++ fade_images \ ++ inpainter \ ++ odykill \ ++ pslider \ ++ inrcast \ ++ inrcrop \ ++ optical_flow \ ++ hough_transform \ ++ render3d \ ++ tutorial \ ++ tetris \ ++ pde_heatflow2D \ ++ pde_TschumperleDeriche2D Property changes on: head/graphics/cimg/files/patch-examples::Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/graphics/cimg/pkg-descr =================================================================== --- head/graphics/cimg/pkg-descr (nonexistent) +++ head/graphics/cimg/pkg-descr (revision 119094) @@ -0,0 +1,24 @@ +CImg stands for Cool Image: it is simple to use and efficient. + +. The CImg Library is a free C++ toolkit providing simple classes and functions + to load, save, process and display images in your own C++ code. +. It is highly portable and fully works on Unix/X11, Windows and MacOS X + operating systems. It should compile on other systems as well (eventually + without display capabilities). +. It consists only of a single header file CImg.h that must be included in + your program source. +. It contains useful image processing algorithms for loading/saving, resizing/ + rotating, filtering, object drawing (text, lines, faces, ellipses,..), etc. +. Images are instancied by a class able to represent images up to 4-dimension + wide (from 1-D scalar signals to 3-D volumes of vector-valued pixels), with + template pixel types. +. It depends on a minimal number of libraries: you can compile it with only + standard C libraries. No need for exotic libraries and complex dependencies. +. Additional features appear with the use of ImageMagick: install the + ImageMagick package to be able to load and save compressed image formats + (GIF,BMP,TIF,JPG,PNG,...). +. Additional features appear with the use of LAPACK: link your code with the + lapack library to be able to compute eigenvalues or eigenvectors of big + matrices. + +WWW: http://cimg.sourceforge.net/ Property changes on: head/graphics/cimg/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/graphics/cimg/pkg-plist =================================================================== --- head/graphics/cimg/pkg-plist (nonexistent) +++ head/graphics/cimg/pkg-plist (revision 119094) @@ -0,0 +1,150 @@ +%%PORTDOCS%%bin/CImg_test +include/CImg.h +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/download.shtml +%%PORTDOCS%%%%DOCSDIR%%/head.html +%%PORTDOCS%%%%DOCSDIR%%/head_reference.html +%%PORTDOCS%%%%DOCSDIR%%/img/CImgLogo.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/CImgLogo2.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/CImgLogo3.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/FAQ_item.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/LastNews.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/download_item.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/inria_logo.gif +%%PORTDOCS%%%%DOCSDIR%%/img/item_codesample.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/item_getting.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/item_intro.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/screenshots_item.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_bubble.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_bump.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_demomenu.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_hough.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_imgfade.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_landscape.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mandelbrot.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000000.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000001.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000002.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000003.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000004.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000005.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000006.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000007.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000008.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000009.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000010.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000011.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000012.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000013.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000014.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000015.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_mini_000016.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_odykill.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_optflow.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_paint.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_plasma.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_render3d.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_restoration.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_rotozoom.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_tetris.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_triangle.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/ss_volume3d.jpg +%%PORTDOCS%%%%DOCSDIR%%/img/tutorial.jpg +%%PORTDOCS%%%%DOCSDIR%%/index.shtml +%%PORTDOCS%%%%DOCSDIR%%/news.html +%%PORTDOCS%%%%DOCSDIR%%/reference/annotated.html +%%PORTDOCS%%%%DOCSDIR%%/reference/doxygen.css +%%PORTDOCS%%%%DOCSDIR%%/reference/doxygen.png +%%PORTDOCS%%%%DOCSDIR%%/reference/functions.html +%%PORTDOCS%%%%DOCSDIR%%/reference/functions_func.html +%%PORTDOCS%%%%DOCSDIR%%/reference/functions_rela.html +%%PORTDOCS%%%%DOCSDIR%%/reference/functions_vars.html +%%PORTDOCS%%%%DOCSDIR%%/reference/group__cimg__drawing.html +%%PORTDOCS%%%%DOCSDIR%%/reference/group__cimg__environment.html +%%PORTDOCS%%%%DOCSDIR%%/reference/group__cimg__exceptions.html +%%PORTDOCS%%%%DOCSDIR%%/reference/group__cimg__structure.html +%%PORTDOCS%%%%DOCSDIR%%/reference/group__cimg__tutorial.html +%%PORTDOCS%%%%DOCSDIR%%/reference/hierarchy.html +%%PORTDOCS%%%%DOCSDIR%%/reference/index.html +%%PORTDOCS%%%%DOCSDIR%%/reference/modules.html +%%PORTDOCS%%%%DOCSDIR%%/reference/namespacecimg.html +%%PORTDOCS%%%%DOCSDIR%%/reference/namespacemembers.html +%%PORTDOCS%%%%DOCSDIR%%/reference/namespacemembers_func.html +%%PORTDOCS%%%%DOCSDIR%%/reference/namespacemembers_vars.html +%%PORTDOCS%%%%DOCSDIR%%/reference/namespaces.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImg-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImg.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgArgumentException-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgArgumentException.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgDisplay-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgDisplay.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgDisplayException-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgDisplayException.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgException-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgException.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgIOException-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgIOException.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgInstanceException-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgInstanceException.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgROI-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgROI.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgStats-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgStats.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgl-members.html +%%PORTDOCS%%%%DOCSDIR%%/reference/structCImgl.html +%%PORTDOCS%%%%DOCSDIR%%/screenshots.shtml +%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/README.txt +%%PORTDOCS%%%%EXAMPLESDIR%%/fade_images.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/hough_transform.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/img/background.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/img/brain.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/cdrom.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/choose.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/dynamite.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy10.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy11.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy12.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy13.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy14.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy15.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy16.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy2.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy3.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy4.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy5.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy6.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy7.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy8.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/enemy9.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/foot.ppm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/head_face.raw +%%PORTDOCS%%%%EXAMPLESDIR%%/img/head_point.raw +%%PORTDOCS%%%%EXAMPLESDIR%%/img/heart.png +%%PORTDOCS%%%%EXAMPLESDIR%%/img/light3d.ppm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/logo.ppm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/milla.ppm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/parrot_mask.pgm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/parrot_original.ppm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/sh0r.pgm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/sh1r.pgm +%%PORTDOCS%%%%EXAMPLESDIR%%/img/title.jpg +%%PORTDOCS%%%%EXAMPLESDIR%%/img/tomato.png +%%PORTDOCS%%%%EXAMPLESDIR%%/inpainter.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/inrcast.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/inrcrop.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/odykill.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/optical_flow.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/pde_TschumperleDeriche2D.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/pde_TschumperleDeriche3D.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/pde_heatflow2D.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/pslider.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/render3d.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/tetris.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial.cpp +%%PORTDOCS%%@dirrm %%DOCSDIR%%/reference +%%PORTDOCS%%@dirrm %%DOCSDIR%%/img +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/img +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% Property changes on: head/graphics/cimg/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property