Commit 00a7eecc authored by Samuel Thibault's avatar Samuel Thibault

Initial packaging

parent 1570f448
gtg-trace (0.1-2-1) unstable; urgency=low
* Initial release (Closes: #668218)
-- Samuel Thibault <sthibault@debian.org> Fri, 20 Apr 2012 18:02:31 +0200
Source: gtg-trace
Priority: extra
Maintainer: Samuel Thibault <sthibault@debian.org>
Build-Depends: debhelper (>= 8.1.3), autotools-dev, dh-autoreconf, hardening-wrapper,
libotf-trace-dev, gfortran, mpi-default-dev,
doxygen, doxygen-latex
Standards-Version: 3.9.3
Section: libs
Homepage: http://gforge.inria.fr/projects/gtg/
Vcs-Git: git://git.debian.org/collab-maint/gtg-trace.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/gtg-trace.git;a=summary
Package: libgtg-dev
Section: libdevel
Architecture: any
Depends: libgtg0 (= ${binary:Version}), ${misc:Depends}
Description: Generic Trace Generator (GTG) - development files
The GTG library provides a low level library to generate execution
traces in Paje or OTF formats.
.
This package contains the development files
Package: libgtg0
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: Generic Trace Generator (GTG) - shared library
The GTG library provides a low level library to generate execution
traces in Paje or OTF formats.
.
This package contains the shared library.
Format: http://dep.debian.net/deps/dep5
Upstream-Name: gtg
Source: http://gforge.inria.fr/projects/gtg/
Files: *
Copyright: 2010-2011 Francois Rue, Francois Trahay, Johnny Jazeix, Kevin Coulomb, Mathieu Faverge, Olivier Lagrasse, CNRS, INRIA, Université Bordeaux 1
License:
This software is governed by the CeCILL-C license under French law and
abiding by the rules of distribution of free software. You can use,
modify and/ or redistribute the software under the terms of the CeCILL-C
license as circulated by CEA, CNRS and INRIA at the following URL
"http://www.cecill.info".
.
As a counterpart to the access to the source code and rights to copy,
modify and redistribute granted by the license, users are provided only
with a limited warranty and the software's author, the holder of the
economic rights, and the successive licensors have only limited
liability.
.
In this respect, the user's attention is drawn to the risks associated
with loading, using, modifying and/or developing or reproducing the
software by the user in light of its specific status of free software,
that may mean that it is complicated to manipulate, and that also
therefore means that it is reserved for developers and experienced
professionals having in-depth computer knowledge. Users are therefore
encouraged to load and test the software's suitability as regards their
requirements in conditions enabling the security of their systems and/or
data to be ensured and, more generally, to use and operate it in the
same conditions as regards security.
.
The fact that you are presently reading this means that you have had
knowledge of the CeCILL-C license and that you accept its terms.
Files: debian/*
Copyright: 2012 Samuel Thibault <sthibault@debian.org>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package 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 program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
NEWS
README
TODO
doc/html
doc/documentation.pdf
usr/include/*
usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/*
usr/lib/*/lib*.so.*
Index: gtg-trace/doc/Makefile.am
===================================================================
--- gtg-trace.orig/doc/Makefile.am 2012-04-20 18:24:35.546064540 +0200
+++ gtg-trace/doc/Makefile.am 2012-04-20 18:27:38.662152260 +0200
@@ -49,12 +49,12 @@ endif
# Crappy hack: automake cannot copy a directory, so we have to do it by hand.
install_html: $(DOX_TAG) $(DOX_HTML_DIR)/index.html
- mkdir -p $(htmldir)
- cp -r $(DOX_HTML_DIR) $(htmldir)
+ mkdir -p $(DESTDIR)$(htmldir)
+ cp -r $(DOX_HTML_DIR) $(DESTDIR)$(htmldir)
install_pdf: $(DOX_PDF)
- mkdir -p $(pdfdir)
- cp -r $(DOX_PDF) $(pdfdir)
+ mkdir -p $(DESTDIR)$(pdfdir)
+ cp -r $(DOX_PDF) $(DESTDIR)$(pdfdir)
if USE_PDFLATEX
install-data-am: install_pdf install_html
diff --git a/inc/GTGBasic1.h b/inc/GTGBasic1.h
index 5213b91..a25cadd 100644
--- a/inc/GTGBasic1.h
+++ b/inc/GTGBasic1.h
@@ -22,7 +22,7 @@
#define _TRACEGENERATORBASIC_
#include <stdlib.h>
#include <string.h>
-#include "types.h"
+#include "GTGtypes.h"
#include "GTGColor.h"
/**
diff --git a/inc/OTF_GTGBasic1.h b/inc/OTF_GTGBasic1.h
index 294d934..d14fafa 100644
--- a/inc/OTF_GTGBasic1.h
+++ b/inc/OTF_GTGBasic1.h
@@ -16,7 +16,7 @@
#ifndef _OTFTRACEGENERATORBASIC_
#define _OTFTRACEGENERATORBASIC_
-#include "types.h"
+#include "GTGtypes.h"
#include "GTGBasic1.h"
#include "OTF_Structs.h"
diff --git a/inc/OTF_Structs.h b/inc/OTF_Structs.h
index 9cdb539..8486549 100644
--- a/inc/OTF_Structs.h
+++ b/inc/OTF_Structs.h
@@ -18,7 +18,7 @@
#define _OTFSTRUCTS_
#include <stdint.h>
-#include "types.h"
+#include "GTGtypes.h"
/* ContainerTypes */
#define MAX_PROCESSTYPE 100
diff --git a/inc/paje_GTGBasic1.h b/inc/paje_GTGBasic1.h
index 3566e93..3350d7e 100644
--- a/inc/paje_GTGBasic1.h
+++ b/inc/paje_GTGBasic1.h
@@ -18,7 +18,7 @@
#define _PAJETRACEGENERATORBASIC_
#include "GTGBasic1.h"
-#include "types.h"
+#include "GTGtypes.h"
/**
* \brief Constant to create a paje trace
diff --git a/inc/types.h b/inc/types.h
deleted file mode 100644
index a401edd..0000000
--- a/inc/types.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * \file types.h
- * \version 0.1
- * \brief
- *
- * types define some types that are used in the library.
- *
- * \authors
- * Developpers are : \n
- * Francois Rue - francois.rue@labri.fr \n
- * Francois Trahay - francois.trahay@labri.fr \n
- * Johnny Jazeix - jazeix@enseirb-matmeca.fr \n
- * Kevin Coulomb - kevin.coulomb@gmail.com \n
- * Mathieu Faverge - faverge@labri.fr \n
- * Olivier Lagrasse - lagrasse@enseirb-matmeca.fr \n
- *
- */
-#ifndef _TYPES_LOC__
-#define _TYPES_LOC__
-/**
- * \defgroup type Types used
- */
-
-/**
- * \ingroup type Type used for time and value in C
- * \brief Use the double precision type for time and value.
- */
-typedef double varPrec;
-
-
-/**
- * \ingroup type Return values of functions
- * \enum trace_return_t
- * \brief Define various return values
- */
-typedef enum trace_return_t{
- TRACE_SUCCESS , /*!< Success of the call. */
- TRACE_ERR_OPEN , /*!< Failed to open files to write. */
- TRACE_ERR_CLOSE, /*!< Failed to close file. */
- TRACE_ERR_WRITE, /*!< Failed to write trace. */
- TRACE_ERR_NOT_IMPL /*!< Function not impleneted. */
-}trace_return_t;
-#endif
--- /dev/null
+++ b/inc/GTGtypes.h
@@ -0,0 +1,43 @@
+/**
+ * \file types.h
+ * \version 0.1
+ * \brief
+ *
+ * types define some types that are used in the library.
+ *
+ * \authors
+ * Developpers are : \n
+ * Francois Rue - francois.rue@labri.fr \n
+ * Francois Trahay - francois.trahay@labri.fr \n
+ * Johnny Jazeix - jazeix@enseirb-matmeca.fr \n
+ * Kevin Coulomb - kevin.coulomb@gmail.com \n
+ * Mathieu Faverge - faverge@labri.fr \n
+ * Olivier Lagrasse - lagrasse@enseirb-matmeca.fr \n
+ *
+ */
+#ifndef _TYPES_LOC__
+#define _TYPES_LOC__
+/**
+ * \defgroup type Types used
+ */
+
+/**
+ * \ingroup type Type used for time and value in C
+ * \brief Use the double precision type for time and value.
+ */
+typedef double varPrec;
+
+
+/**
+ * \ingroup type Return values of functions
+ * \enum trace_return_t
+ * \brief Define various return values
+ */
+typedef enum trace_return_t{
+ TRACE_SUCCESS , /*!< Success of the call. */
+ TRACE_ERR_OPEN , /*!< Failed to open files to write. */
+ TRACE_ERR_CLOSE, /*!< Failed to close file. */
+ TRACE_ERR_WRITE, /*!< Failed to write trace. */
+ TRACE_ERR_NOT_IMPL /*!< Function not impleneted. */
+}trace_return_t;
+#endif
diff --git a/inc/Makefile.am b/inc/Makefile.am
index f6fe42e..4056a1c 100644
--- a/inc/Makefile.am
+++ b/inc/Makefile.am
@@ -1,4 +1,4 @@
# Copyright CNRS, INRIA, Universit Bordeaux 1
# See COPYING in top-level directory.
-include_HEADERS = GTG.h GTGBasic1.h GTGColor.h OTF_GTGBasic1.h pajeColor.h paje_GTGBasic1.h types.h OTF_Structs.h
+include_HEADERS = GTG.h GTGBasic1.h GTGColor.h OTF_GTGBasic1.h pajeColor.h paje_GTGBasic1.h GTGtypes.h OTF_Structs.h
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_HARDENING=1
%:
dh $@ --with autotools-dev,autoreconf
override_dh_auto_configure:
dh_auto_configure -- --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--with-otf=/usr
version=3
https://gforge.inria.fr/frs/?group_id=2813 /frs/download.php/.*/gtg-(.*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment