Commit 81e60b82f1fd1f6391393e662ad74c5bd0ddf5a7

Authored by Jürgen Knödlseder
1 parent 50d6b427

Update software version to 1.0.0.

1 -New Features and Important Changes in ctools 1.1.0 1 +New Features and Important Changes in ctools 1.0.0
2 2
3 Author(s) : Juergen Knoedlseder 3 Author(s) : Juergen Knoedlseder
4 4
5 -17 December 2015 5 +18 December 2015
6 6
7 7
8 1. Introduction 8 1. Introduction
9 --------------- 9 ---------------
10 This document briefly summarizes executable by executable the most important 10 This document briefly summarizes executable by executable the most important
11 -changes made since the last release of ctools. The code complies to GammaLib  
12 -version 1.1.0 or above. 11 +changes made since the last release of ctools. The code complies to ctools
  12 +version 1.0.0 or above.
13 13
14 14
15 2. Configuration 15 2. Configuration
@@ -112,6 +112,9 @@ The following scripts have been added: @@ -112,6 +112,9 @@ The following scripts have been added:
112 - csmodelmerge: merge model containers into single container 112 - csmodelmerge: merge model containers into single container
113 - cstsmapmerge: merge sliced TS map into single map 113 - cstsmapmerge: merge sliced TS map into single map
114 - csobs2caldb: creates calibration database from observation 114 - csobs2caldb: creates calibration database from observation
  115 +- csiactdata: inspects IACT data
  116 +
  117 +The cshessobs script has been renamed to csiactobs.
115 118
116 All GExceptions are replaced by Python RuntimeErrors as the GException 119 All GExceptions are replaced by Python RuntimeErrors as the GException
117 classes are not exposed to Python. 120 classes are not exposed to Python.
1 ctools information 1 ctools information
2 ================== 2 ==================
3 -Version: 1.1.0 (24 November 2015) 3 +Version: 1.0.0 (18 December 2015)
4 Author: Juergen Knodlseder (jurgen.knodlseder@irap.omp.eu) 4 Author: Juergen Knodlseder (jurgen.knodlseder@irap.omp.eu)
5 -GammaLib dependency: 1.1.0 5 +GammaLib dependency: 1.0.0
6 6
7 7
8 License information 8 License information
configure.ac
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 ############################################################################# 29 #############################################################################
30 # Initialisation # 30 # Initialisation #
31 ############################################################################# 31 #############################################################################
32 -AC_INIT([ctools], [1.1.0.dev], [jurgen.knodlseder@irap.omp.eu], [ctools]) 32 +AC_INIT([ctools], [1.0.0], [jurgen.knodlseder@irap.omp.eu], [ctools])
33 AC_CONFIG_SRCDIR([src/ctselect/ctselect.cpp]) 33 AC_CONFIG_SRCDIR([src/ctselect/ctselect.cpp])
34 AC_CONFIG_MACRO_DIR([m4]) 34 AC_CONFIG_MACRO_DIR([m4])
35 #AM_INIT_AUTOMAKE([gnu no-dependencies]) 35 #AM_INIT_AUTOMAKE([gnu no-dependencies])
@@ -39,6 +39,27 @@ AC_CONFIG_HEADER([config.h]) @@ -39,6 +39,27 @@ AC_CONFIG_HEADER([config.h])
39 39
40 40
41 ############################################################################# 41 #############################################################################
  42 +# Library versioning (current:revision:age) #
  43 +# ------------------------------------------------------------------------- #
  44 +# Here are a set of rules to update your library version information: #
  45 +# 1. Update the version information only immediately before a public #
  46 +# release of your software. More frequent updates are unnecessary, #
  47 +# and only guarantee that the current interface number gets larger #
  48 +# faster. #
  49 +# 2. If the library source code has changed at all since the last update, #
  50 +# then increment revision. #
  51 +# 3. If any interfaces have been added, removed, or changed since the last #
  52 +# update, increment current, and set revision to 0. #
  53 +# 4. If any interfaces have been added since the last public release, then #
  54 +# increment age. #
  55 +# 5. If any interfaces have been removed or changed since the last public #
  56 +# release, then set age to 0. #
  57 +#############################################################################
  58 +CTOOLS_LT_VERSION="1:0:0"
  59 +AC_SUBST(CTOOLS_LT_VERSION)
  60 +
  61 +
  62 +#############################################################################
42 # Set prefix # 63 # Set prefix #
43 # ------------------------------------------------------------------------- # 64 # ------------------------------------------------------------------------- #
44 # By default, ctools get installed into "/usr/local/gamma". The default # 65 # By default, ctools get installed into "/usr/local/gamma". The default #
ctools.pc.in
@@ -6,9 +6,9 @@ includedir=${prefix}/include @@ -6,9 +6,9 @@ includedir=${prefix}/include
6 Name: ctools 6 Name: ctools
7 Description: CTA science analysis tools 7 Description: CTA science analysis tools
8 URL: http://cta.irap.omp.eu/ctools 8 URL: http://cta.irap.omp.eu/ctools
9 -Version: 1.1.0 9 +Version: 1.0.0
10 Requires: 10 Requires:
11 -Requires.private: gammalib >= 1.1.0 11 +Requires.private: gammalib >= 1.0.0
12 Conflicts: 12 Conflicts:
13 Cflags: -I${includedir}/ctools @OPENMP_CXXFLAGS@ 13 Cflags: -I${includedir}/ctools @OPENMP_CXXFLAGS@
14 Libs: -L${libdir} -lctools 14 Libs: -L${libdir} -lctools
doc/Doxyfile
@@ -32,7 +32,7 @@ PROJECT_NAME = ctools @@ -32,7 +32,7 @@ PROJECT_NAME = ctools
32 # This could be handy for archiving the generated documentation or 32 # This could be handy for archiving the generated documentation or
33 # if some version control system is used. 33 # if some version control system is used.
34 34
35 -PROJECT_NUMBER = 1.1.0.dev 35 +PROJECT_NUMBER = 1.0.0
36 36
37 # Using the PROJECT_BRIEF tag one can provide an optional one line description 37 # Using the PROJECT_BRIEF tag one can provide an optional one line description
38 # for a project that appears at the top of each page and should give viewer 38 # for a project that appears at the top of each page and should give viewer
doc/source/conf.py
@@ -66,10 +66,10 @@ copyright = u'2014-2015, ctools developers' @@ -66,10 +66,10 @@ copyright = u'2014-2015, ctools developers'
66 # built documents. 66 # built documents.
67 # 67 #
68 # The short X.Y version. 68 # The short X.Y version.
69 -version = '1.1' 69 +version = '1.0'
70 70
71 # The full version, including alpha/beta/rc tags. 71 # The full version, including alpha/beta/rc tags.
72 -release = '1.1.0.dev' 72 +release = '1.0.0'
73 73
74 # The language for content autogenerated by Sphinx. Refer to documentation 74 # The language for content autogenerated by Sphinx. Refer to documentation
75 # for a list of supported languages. 75 # for a list of supported languages.
pyext/Makefile.am
@@ -97,8 +97,8 @@ build: ctools/tools_wrap.cpp ctools/tools.py @@ -97,8 +97,8 @@ build: ctools/tools_wrap.cpp ctools/tools.py
97 if IS_ELCAPITAN 97 if IS_ELCAPITAN
98 -for f in build/ctools/ctools/_*.so; do \ 98 -for f in build/ctools/ctools/_*.so; do \
99 echo "Post process module "$$f; \ 99 echo "Post process module "$$f; \
100 - install_name_tool -change $(libdir)/libctools.0.dylib @rpath/libctools.0.dylib $$f; \  
101 - install_name_tool -change $(libdir)/libgamma.0.dylib @rpath/libgamma.0.dylib $$f; \ 100 + install_name_tool -change $(libdir)/libctools.1.dylib @rpath/libctools.1.dylib $$f; \
  101 + install_name_tool -change $(libdir)/libgamma.1.dylib @rpath/libgamma.1.dylib $$f; \
102 install_name_tool -add_rpath $(libdir) $$f; \ 102 install_name_tool -add_rpath $(libdir) $$f; \
103 install_name_tool -add_rpath $(abs_top_srcdir)/src/.libs $$f; \ 103 install_name_tool -add_rpath $(abs_top_srcdir)/src/.libs $$f; \
104 done 104 done
src/Makefile.am
@@ -46,6 +46,7 @@ libctools_la_LIBADD = support/libsupport.la \ @@ -46,6 +46,7 @@ libctools_la_LIBADD = support/libsupport.la \
46 ctbutterfly/libctbutterfly.la \ 46 ctbutterfly/libctbutterfly.la \
47 ctulimit/libctulimit.la \ 47 ctulimit/libctulimit.la \
48 cterror/libcterror.la 48 cterror/libcterror.la
  49 +libctools_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
49 50
50 # Distribute scripts 51 # Distribute scripts
51 EXTRA_DIST = $(scripts) 52 EXTRA_DIST = $(scripts)
src/ctbin/Makefile.am
@@ -12,6 +12,7 @@ sources = ctbin.cpp @@ -12,6 +12,7 @@ sources = ctbin.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctbin.la 13 noinst_LTLIBRARIES = libctbin.la
14 libctbin_la_SOURCES = $(sources) 14 libctbin_la_SOURCES = $(sources)
  15 +libctbin_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctbin_SOURCES = main.cpp 18 ctbin_SOURCES = main.cpp
src/ctbkgcube/Makefile.am
@@ -12,6 +12,7 @@ sources = ctbkgcube.cpp @@ -12,6 +12,7 @@ sources = ctbkgcube.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctbkgcube.la 13 noinst_LTLIBRARIES = libctbkgcube.la
14 libctbkgcube_la_SOURCES = $(sources) 14 libctbkgcube_la_SOURCES = $(sources)
  15 +libctbkgcube_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctbkgcube_SOURCES = main.cpp 18 ctbkgcube_SOURCES = main.cpp
src/ctbutterfly/Makefile.am
@@ -12,6 +12,7 @@ sources = ctbutterfly.cpp @@ -12,6 +12,7 @@ sources = ctbutterfly.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctbutterfly.la 13 noinst_LTLIBRARIES = libctbutterfly.la
14 libctbutterfly_la_SOURCES = $(sources) 14 libctbutterfly_la_SOURCES = $(sources)
  15 +libctbutterfly_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctbutterfly_SOURCES = main.cpp 18 ctbutterfly_SOURCES = main.cpp
src/ctcubemask/Makefile.am
@@ -12,6 +12,7 @@ sources = ctcubemask.cpp @@ -12,6 +12,7 @@ sources = ctcubemask.cpp
12 # Libtool library (only needed for python bindings) 12 # Libtool library (only needed for python bindings)
13 noinst_LTLIBRARIES = libctcubemask.la 13 noinst_LTLIBRARIES = libctcubemask.la
14 libctcubemask_la_SOURCES = $(sources) 14 libctcubemask_la_SOURCES = $(sources)
  15 +libctcubemask_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctcubemask_SOURCES = main.cpp 18 ctcubemask_SOURCES = main.cpp
src/cterror/Makefile.am
@@ -12,6 +12,7 @@ sources = cterror.cpp @@ -12,6 +12,7 @@ sources = cterror.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libcterror.la 13 noinst_LTLIBRARIES = libcterror.la
14 libcterror_la_SOURCES = $(sources) 14 libcterror_la_SOURCES = $(sources)
  15 +libcterror_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 cterror_SOURCES = main.cpp 18 cterror_SOURCES = main.cpp
src/ctexpcube/Makefile.am
@@ -12,6 +12,7 @@ sources = ctexpcube.cpp @@ -12,6 +12,7 @@ sources = ctexpcube.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctexpcube.la 13 noinst_LTLIBRARIES = libctexpcube.la
14 libctexpcube_la_SOURCES = $(sources) 14 libctexpcube_la_SOURCES = $(sources)
  15 +libctexpcube_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctexpcube_SOURCES = main.cpp 18 ctexpcube_SOURCES = main.cpp
src/ctlike/Makefile.am
@@ -12,6 +12,7 @@ sources = ctlike.cpp @@ -12,6 +12,7 @@ sources = ctlike.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctlike.la 13 noinst_LTLIBRARIES = libctlike.la
14 libctlike_la_SOURCES = $(sources) 14 libctlike_la_SOURCES = $(sources)
  15 +libctlike_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctlike_SOURCES = main.cpp 18 ctlike_SOURCES = main.cpp
src/ctmodel/Makefile.am
@@ -12,6 +12,7 @@ sources = ctmodel.cpp @@ -12,6 +12,7 @@ sources = ctmodel.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctmodel.la 13 noinst_LTLIBRARIES = libctmodel.la
14 libctmodel_la_SOURCES = $(sources) 14 libctmodel_la_SOURCES = $(sources)
  15 +libctmodel_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctmodel_SOURCES = main.cpp 18 ctmodel_SOURCES = main.cpp
src/ctobssim/Makefile.am
@@ -12,7 +12,7 @@ sources = ctobssim.cpp @@ -12,7 +12,7 @@ sources = ctobssim.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctobssim.la 13 noinst_LTLIBRARIES = libctobssim.la
14 libctobssim_la_SOURCES = $(sources) 14 libctobssim_la_SOURCES = $(sources)
15 -libctobssim_la_LDFLAGS = @OPENMP_LIB_LDFLAGS@ 15 +libctobssim_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
16 16
17 # Program definition 17 # Program definition
18 ctobssim_SOURCES = main.cpp 18 ctobssim_SOURCES = main.cpp
src/ctpsfcube/Makefile.am
@@ -12,6 +12,7 @@ sources = ctpsfcube.cpp @@ -12,6 +12,7 @@ sources = ctpsfcube.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctpsfcube.la 13 noinst_LTLIBRARIES = libctpsfcube.la
14 libctpsfcube_la_SOURCES = $(sources) 14 libctpsfcube_la_SOURCES = $(sources)
  15 +libctpsfcube_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctpsfcube_SOURCES = main.cpp 18 ctpsfcube_SOURCES = main.cpp
src/ctselect/Makefile.am
@@ -12,6 +12,7 @@ sources = ctselect.cpp @@ -12,6 +12,7 @@ sources = ctselect.cpp
12 # Libtool library (only needed for python bindings) 12 # Libtool library (only needed for python bindings)
13 noinst_LTLIBRARIES = libctselect.la 13 noinst_LTLIBRARIES = libctselect.la
14 libctselect_la_SOURCES = $(sources) 14 libctselect_la_SOURCES = $(sources)
  15 +libctselect_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctselect_SOURCES = main.cpp 18 ctselect_SOURCES = main.cpp
src/ctskymap/Makefile.am
@@ -12,6 +12,7 @@ sources = ctskymap.cpp @@ -12,6 +12,7 @@ sources = ctskymap.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctskymap.la 13 noinst_LTLIBRARIES = libctskymap.la
14 libctskymap_la_SOURCES = $(sources) 14 libctskymap_la_SOURCES = $(sources)
  15 +libctskymap_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctskymap_SOURCES = main.cpp 18 ctskymap_SOURCES = main.cpp
src/cttsmap/Makefile.am
@@ -12,6 +12,7 @@ sources = cttsmap.cpp @@ -12,6 +12,7 @@ sources = cttsmap.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libcttsmap.la 13 noinst_LTLIBRARIES = libcttsmap.la
14 libcttsmap_la_SOURCES = $(sources) 14 libcttsmap_la_SOURCES = $(sources)
  15 +libcttsmap_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 cttsmap_SOURCES = main.cpp 18 cttsmap_SOURCES = main.cpp
src/ctulimit/Makefile.am
@@ -12,6 +12,7 @@ sources = ctulimit.cpp @@ -12,6 +12,7 @@ sources = ctulimit.cpp
12 # Libtool library 12 # Libtool library
13 noinst_LTLIBRARIES = libctulimit.la 13 noinst_LTLIBRARIES = libctulimit.la
14 libctulimit_la_SOURCES = $(sources) 14 libctulimit_la_SOURCES = $(sources)
  15 +libctulimit_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@
15 16
16 # Program definition 17 # Program definition
17 ctulimit_SOURCES = main.cpp 18 ctulimit_SOURCES = main.cpp
src/support/Makefile.am
@@ -6,3 +6,4 @@ sources = ctool.cpp @@ -6,3 +6,4 @@ sources = ctool.cpp
6 # Build libtool library 6 # Build libtool library
7 noinst_LTLIBRARIES = libsupport.la 7 noinst_LTLIBRARIES = libsupport.la
8 libsupport_la_SOURCES = $(sources) 8 libsupport_la_SOURCES = $(sources)
  9 +libsupport_la_LDFLAGS = -version-info $(CTOOLS_LT_VERSION) @OPENMP_LIB_LDFLAGS@