Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (02922136f658f2eee3b2b6af47a94a68660e0cac)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pol Vinogradov <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (02922136f658f2eee3b2b6af47a94a68660e0cac)
  • Date: Tue, 27 Mar 2007 15:25:00 -0500

GIT changes to master grimoire by Pol Vinogradov <vin.public AT gmail.com>:

ChangeLog | 4 +++
graphics-libs/cimg/BUILD | 44 ++++++++++++++++++++++++++++++++++++++
graphics-libs/cimg/CONFIGURE | 5 ++++
graphics-libs/cimg/DEPENDS | 49
+++++++++++++++++++++++++++++++++++++++++++
graphics-libs/cimg/DETAILS | 21 ++++++++++++++++++
graphics-libs/cimg/HISTORY | 2 +
graphics-libs/cimg/INSTALL | 26 ++++++++++++++++++++++
7 files changed, 151 insertions(+)

New commits:
commit e08f96886635b79055bbd64a4571859dd09234ba
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>

graphics-libs/cimg: new spell, C++ template image processing library

diff --git a/ChangeLog b/ChangeLog
index 75eeca3..eccd794 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,9 @@
* audio-drivers/jackdmp: New spell, Jack audio server for SMP
machines.

+2007-03-18 Pol Vinogradov <vin.public AT gmail.com>
+ * graphics-libs/cimg: new spell, C++ template image processing library
+
2007-03-18 Thomas Orgis <soukus AT sourcemage.org>
* accounts,groups: add entries for bin

@@ -48,6 +51,7 @@

2007-03-16 Ladislav Hagara <hgr AT vabo.cz>
* audio-plugins/xmms-nebulus: new spell, OpenGL visual plugin for XMMS
+>>>>>>> b015920560ad8f9dd0cbb3dbe944d91c32214c87:ChangeLog

2007-03-15 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* libs/mffmfftwrapper: new spell, a C++ wrapper for fftw
diff --git a/graphics-libs/cimg/BUILD b/graphics-libs/cimg/BUILD
new file mode 100755
index 0000000..0671f19
--- /dev/null
+++ b/graphics-libs/cimg/BUILD
@@ -0,0 +1,44 @@
+if [[ "${CIMG_EXAMPLES}" == "y" ]]
+then
+ cd examples &&
+
+ sedit "s:CFLAGS =:CFLAGS = ${CFLAGS}:" Makefile &&
+ sedit "s:LDFLAGS =:LDFLAGS = ${LDFLAGS}:" Makefile &&
+ sedit "s:/usr:${TRACK_ROOT}/usr:" Makefile &&
+ if check_if_xorg_modular_libs
+ then
+ sedit "s:/X11R6::" Makefile &&
+ if ! is_depends_enabled ${SPELL} libxext
+ then
+ sedit "s:CIMG_XSHM_FLAGS:#CIMG_XSHM_FLAGS:" Makefile
+ fi &&
+ if ! is_depends_enabled ${SPELL} libxrandr
+ then
+ sedit "s:CIMG_XRANDR_FLAGS:#CIMG_XRANDR_FLAGS:" Makefile
+ fi
+ fi &&
+ if is_depends_enabled ${SPELL} fftw
+ then
+ sedit "s:#CIMG_FFTW3_FLAGS:CIMG_FFTW3_FLAGS:" Makefile
+ fi &&
+ if is_depends_enabled ${SPELL} imagemagick
+ then
+ sedit "s:#CIMG_MAGICK_FLAGS:CIMG_MAGICK_FLAGS:" Makefile
+ fi &&
+ if is_depends_enabled ${SPELL} jpeg
+ then
+ sedit "s:#CIMG_JPEG_FLAGS:CIMG_JPEG_FLAGS:" Makefile
+ fi &&
+ if is_depends_enabled ${SPELL} libpng
+ then
+ sedit "s:#CIMG_PNG_FLAGS:CIMG_PNG_FLAGS:" Makefile
+ fi &&
+ if is_depends_enabled ${SPELL} tiff
+ then
+ sedit "s:#CIMG_TIFF_FLAGS:CIMG_TIFF_FLAGS:" Makefile
+ fi &&
+
+ make olinux
+fi &&
+
+true
diff --git a/graphics-libs/cimg/CONFIGURE b/graphics-libs/cimg/CONFIGURE
new file mode 100755
index 0000000..2fc508a
--- /dev/null
+++ b/graphics-libs/cimg/CONFIGURE
@@ -0,0 +1,5 @@
+config_query CIMG_EXAMPLES
\
+ "Do you want to build examples (may take very long time and
consume a lot of resources)?" \
+ n &&
+
+config_query CIMG_PLUGINS "Install plugins?" n
diff --git a/graphics-libs/cimg/DEPENDS b/graphics-libs/cimg/DEPENDS
new file mode 100755
index 0000000..80b17f7
--- /dev/null
+++ b/graphics-libs/cimg/DEPENDS
@@ -0,0 +1,49 @@
+depends g++ &&
+
+if [[ "$CIMG_EXAMPLES" == "y" ]]
+then
+ optional_depends X11-LIBS \
+ "" \
+ "" \
+ "to enable the use of the X11 library" &&
+
+ source $GRIMOIRE/FUNCTIONS &&
+
+ if check_if_xorg_modular_libs
+ then
+ optional_depends libxext
\
+ ""
\
+ ""
\
+ "to enable fast image display, using the XSHM library"
&&
+
+ optional_depends libxrandr
\
+ ""
\
+ ""
\
+ "to enable screen mode switching, using the XRandr
library"
+ fi &&
+
+ optional_depends fftw
\
+ ""
\
+ ""
\
+ "to enable faster Discrete Fourier Transform
computation, using the FFTW3 library" &&
+
+ optional_depends imagemagick
\
+ ""
\
+ ""
\
+ "to enable native support of most classical image file
formats, using the Magick++ library" &&
+
+ optional_depends jpeg \
+ "" \
+ "" \
+ "for JPEG support" &&
+
+ optional_depends libpng \
+ "" \
+ "" \
+ "for PNG support" &&
+
+ optional_depends tiff \
+ "" \
+ "" \
+ "for TIFF support"
+fi
diff --git a/graphics-libs/cimg/DETAILS b/graphics-libs/cimg/DETAILS
new file mode 100755
index 0000000..99b92f9
--- /dev/null
+++ b/graphics-libs/cimg/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=cimg
+ VERSION=1-19
+ SOURCE=CImg-${VERSION}.zip
+ SOURCE_URL[0]=${SOURCEFORGE_URL}/${SPELL}/${SOURCE}
+
SOURCE_HASH=sha512:da580e7e1022708590a7d0bad9a35db886704a8cc03b36790d030bde9fb36277152c6681f2f74a6722cd9e206dc6c14c28b0925f755d20533546517cec96b49b
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/CImg-${VERSION}
+ WEB_SITE=http://cimg.sourceforge.net/
+ ENTERED=20070318
+ LICENSE[0]="http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.txt
\
+http://www.cecill.info/licences/Licence_CeCILL_V2-en.html";
+ KEYWORDS="graphics libs"
+ DOCS="${DOCS} Licence*"
+ SHORT="The CImg Library - C++ Template Image Processing Library"
+cat << EOF
+The CImg Library is an open-source C++ toolkit for image processing.
+It consists in a single header file 'CImg.h' providing a set of C++ classes
+and functions that can be used in your own sources, to load/save, process
+and display images. Very portable (Unix/X11,Windows, MacOS X, FreeBSD,..),
+efficient, easy to use, it's a pleasant toolkit for coding image processing
+stuffs in C++.
+EOF
diff --git a/graphics-libs/cimg/HISTORY b/graphics-libs/cimg/HISTORY
new file mode 100644
index 0000000..c82ce70
--- /dev/null
+++ b/graphics-libs/cimg/HISTORY
@@ -0,0 +1,2 @@
+2007-03-18 Pol Vinogradov <vin.public AT gmail.com>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, INSTALL: created spell
diff --git a/graphics-libs/cimg/INSTALL b/graphics-libs/cimg/INSTALL
new file mode 100755
index 0000000..b5eeb63
--- /dev/null
+++ b/graphics-libs/cimg/INSTALL
@@ -0,0 +1,26 @@
+cd ${SOURCE_DIRECTORY} &&
+
+mkdir -p ${INSTALL_ROOT}/usr/include/${SPELL} &&
+
+install CImg.h ${INSTALL_ROOT}/usr/include/${SPELL} &&
+
+if [[ "${CIMG_PLUGINS}" == "y" ]]
+then
+ mv plugins/README.txt README_PLUGINS.txt &&
+ cp -r plugins ${INSTALL_ROOT}/usr/include/${SPELL}
+fi &&
+
+if [[ "${CIMG_EXAMPLES}" == "y" ]]
+then
+ mkdir -p ${INSTALL_ROOT}/usr/share/doc/${SPELL}/examples/bin &&
+ cd ${SOURCE_DIRECTORY}/examples &&
+ cp -R img ${INSTALL_ROOT}/usr/share/doc/${SPELL}/examples/bin &&
+ for file in CImg_demo dtmri_view fade_images greycstoration \
+greycstoration4integration hough_transform image_registration image2ascii \
+image_surface mcf_levelsets mcf_levelsets3D nlmeans odykill pslider \
+pde_heatflow2D pde_TschumperleDeriche2D tetris tutorial wavelet_atrous
inrcast
+ do
+ install ${file} ${INSTALL_ROOT}/usr/share/doc/${SPELL}/examples/bin &&
+ install ${file}.cpp ${INSTALL_ROOT}/usr/share/doc/${SPELL}/examples
+ done
+fi




Archive powered by MHonArc 2.6.24.

Top of Page