https://svn.lrde.epita.fr/svn/oln/trunk
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Update the list of Makefiles to be configured.
* configure.ac: Configure milena/tests/algebra/Makefile,
milena/tests/binarization/Makefile,
milena/tests/subsampling/Makefile and
milena/tests/test/Makefile.
configure.ac | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Index: configure.ac
--- configure.ac (revision 1920)
+++ configure.ac (working copy)
@@ -99,12 +99,14 @@
# data (images) from tests.
AC_CONFIG_FILES([milena/tests/data.hh])
-# FIXME: Should be performed through oln.m4 macros, as we did in Olena 0.11?
# Ask for the creation of tests' Makefiles.
+# FIXME: Should it be achieved through oln.m4 macros, as we did in Olena 0.11?
AC_CONFIG_FILES([
milena/tests/Makefile
milena/tests/accu/Makefile
+ milena/tests/algebra/Makefile
milena/tests/arith/Makefile
+ milena/tests/binarization/Makefile
milena/tests/border/Makefile
milena/tests/canvas/Makefile
milena/tests/canvas/browsing/Makefile
@@ -148,7 +150,9 @@
milena/tests/norm/Makefile
milena/tests/pw/Makefile
milena/tests/set/Makefile
+ milena/tests/subsampling/Makefile
milena/tests/tag/Makefile
+ milena/tests/test/Makefile
milena/tests/trace/Makefile
milena/tests/trait/Makefile
milena/tests/trait/image/Makefile
https://svn.lrde.epita.fr/svn/oln/trunk/milena
Attention aux d�tails ! Il faut lancer `make check' r�guli�rement pour
v�rifier que tout fonctionne correctement.
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Fix tests/fun/v2v/.
* tests/fun/v2v/rgb_hsi_conversion.cc: Add copyright header.
Don't use hard-coded paths for I/O operations.
* tests/fun/v2v/Makefile.am (check_PROGRAMS): Add
rgb_hsi_conversion.
(norm_SOURCES): Remove rgb_hsi_conversion.cc.
(rgb_hsi_conversion_SOURCES): New.
Makefile.am | 5 +++--
rgb_hsi_conversion.cc | 37 ++++++++++++++++++++++++++++++++++---
2 files changed, 37 insertions(+), 5 deletions(-)
Index: tests/fun/v2v/rgb_hsi_conversion.cc
--- tests/fun/v2v/rgb_hsi_conversion.cc (revision 1918)
+++ tests/fun/v2v/rgb_hsi_conversion.cc (working copy)
@@ -1,8 +1,38 @@
-#include <mln/value/hsi.hh>
-#include <mln/fun/v2v/rgb_to_hsi.hh>
+// Copyright (C) 2008 EPITA Research and Development Laboratory (LRDE)
+//
+// This file is part of the Olena Library. This library is free
+// software; you can redistribute it and/or modify it under the terms
+// of the GNU General Public License version 2 as published by the
+// Free Software Foundation.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this library; see the file COPYING. If not, write to
+// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+// Boston, MA 02111-1307, USA.
+//
+// As a special exception, you may use this file as part of a free
+// software library without restriction. Specifically, if other files
+// instantiate templates or use macros or inline functions from this
+// file, or you compile this file and link it with other files to
+// produce an executable, this file does not by itself cause the
+// resulting executable to be covered by the GNU General Public
+// License. This exception does not however invalidate any other
+// reasons why the executable file might be covered by the GNU General
+// Public License.
+
+/// \file tests/fun/v2v/rgb_hsi_conversion.cc
+/// \brief Test RGB-to-HSI conversion.
#include <cmath>
+#include <mln/value/hsi.hh>
+#include <mln/fun/v2v/rgb_to_hsi.hh>
+
#include <mln/core/image2d.hh>
#include <mln/value/rgb8.hh>
@@ -11,6 +41,7 @@
#include <mln/math/round.hh>
#include <mln/level/transform.hh>
+#include "tests/data.hh"
template <typename I1, typename I2>
@@ -49,7 +80,7 @@
using namespace mln;
image2d<value::rgb8> lena;
- io::ppm::load(lena, "../../img/lena.ppm");
+ io::ppm::load(lena, MLN_IMG_DIR "/lena.ppm");
image2d<value::hsi_f> lena_hsi = level::transform(lena,
fun::v2v::f_rgb_to_hsi_f);
Index: tests/fun/v2v/Makefile.am
--- tests/fun/v2v/Makefile.am (revision 1918)
+++ tests/fun/v2v/Makefile.am (working copy)
@@ -2,8 +2,9 @@
include $(top_srcdir)/milena/tests/tests.mk
-check_PROGRAMS = norm
+check_PROGRAMS = norm rgb_hsi_conversion
-norm_SOURCES = norm.cc rgb_hsi_conversion.cc
+norm_SOURCES = norm.cc
+rgb_hsi_conversion_SOURCES = rgb_hsi_conversion.cc
TESTS = $(check_PROGRAMS)
#7: Miscellaneous tasks related to the Olena 1.0 release process
-----------------------+----------------------------------------------------
Reporter: levill_r | Owner: levill_r
Type: task | Status: new
Priority: major | Milestone: Olena 1.0
Component: other | Version: 1.0
Resolution: | Keywords: release NEWS dates copyright headers sandbox
-----------------------+----------------------------------------------------
Old description:
> To do before the release:
> * move away any information about sandboxes (as they won't be
> distributed):
> * create a !ChangeLog in source:trunk/milena/sandbox, or several
> !ChangeLogs in subdirectories;
> * move information from source:trunk/milena/ChangeLog to this (these)
> file(s);
> * warn the Olena Team about these changes, and have them document
> changes in the right place;
> * update `NEWS` (see the similar task for Olena 0.10a/0.11: #8);
> * update `AUTHORS`;
> * ensure all copyright headers are sound (using Benoît Sigoure's
> `gplize.sh` script, or a variant of it);
> * use Vaucanson' `reheader` script to fix broken headers.
>
> Split this ticket in several parts if the tasks are either too big or too
> numerous.
New description:
To do before the release:
* use Benoît Sigoure's set of Autoconf macros to check for some Boost
libraries (e.g., the BGL). See also #138;
* move away any information about sandboxes (as they won't be
distributed):
* create a !ChangeLog in source:trunk/milena/sandbox, or several
!ChangeLogs in subdirectories;
* move information from source:trunk/milena/ChangeLog to this (these)
file(s);
* warn the Olena Team about these changes, and have them document
changes in the right place;
* update `NEWS` (see the similar task for Olena 0.10a/0.11: #8);
* update `AUTHORS`;
* ensure all copyright headers are sound (using Benoît Sigoure's
`gplize.sh` script, or a variant of it);
* use Vaucanson' `reheader` script to fix broken headers.
Split this ticket in several parts if the tasks are either too big or too
numerous.
Comment (by levill_r):
Add Tsuna's boost.m4 to the to do list.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/7#comment:9>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.