debian/0000755000000000000000000000000011770611757007202 5ustar debian/changelog0000644000000000000000000000072411770611671011052 0ustar hepmc (2.06.09-1) unstable; urgency=low * New upstream. * debian/control: move doxygen-latex, ghostscript, texlive-math-extra to build-dep-indep. * debian/copyright: fix licence version. * debian/rules: support get-orig-source rule. -- Lifeng Sun Thu, 21 Jun 2012 19:59:00 +0800 hepmc (2.06.08-1) unstable; urgency=low * Initial release (Closes: #636976) -- Lifeng Sun Sun, 20 May 2012 14:26:51 +0800 debian/hepmc-user-manual.install0000644000000000000000000000011311770611671014103 0ustar usr/share/HepMC/doc/HepMC2_user_manual.pdf usr/share/doc/hepmc-user-manual debian/hepmc-reference-manual.install0000644000000000000000000000012511770611671015066 0ustar usr/share/HepMC/doc/HepMC2_reference_manual.pdf usr/share/doc/hepmc-reference-manual debian/hepmc-examples.install0000644000000000000000000000012011770611671013466 0ustar usr/share/HepMC/examples/* debian/README.examples usr/share/HepMC/examples/fio debian/patches/0000755000000000000000000000000011770611671010624 5ustar debian/patches/dont-use-floatflt.sty.patch0000644000000000000000000000071111770611671016031 0ustar floatflt.sty was removed from texlive due to licensing issues. --- a/doc/HepMC2_user_manual.tex +++ b/doc/HepMC2_user_manual.tex @@ -3,7 +3,6 @@ \usepackage{graphicx} \usepackage{graphics} \usepackage{cite} % bibliographic sitations -\usepackage{floatflt} \usepackage{fancybox} %allows for shadow boxes etc. \usepackage{color} %allows use of colors (RBG only, I think) \usepackage{html} % allows easy inclusion of links which are debian/patches/fix-typo-hierachy-hierarchy.patch0000644000000000000000000000155011770611671017173 0ustar commit 59755b58f1a6e2fe1521223a4dcf0d17a51f7181 Author: Lifeng Sun Date: Sun Apr 3 08:22:36 2011 +0800 fix typo: hierachy -> hierarchy. diff --git a/fio/HEPEVT_Wrapper.cc b/fio/HEPEVT_Wrapper.cc index 1f382a8..9906002 100644 --- a/fio/HEPEVT_Wrapper.cc +++ b/fio/HEPEVT_Wrapper.cc @@ -186,7 +186,7 @@ namespace HepMC { << "\n relationships ... but all other information " << "\n (4-vectors etc) will be correctly transferred." << "\n In order for HepMC to be able to interpret the mother/" - << "\n daughter hierachy, it MUST be given consistent input." + << "\n daughter hierarchy, it MUST be given consistent input." << "\n This is one of the design criteria of HepMC: " << "\n consistency is enforced by the code."; os << "\nThere is a switch in IO_HEPEVT, set-able using " debian/patches/doc-building-exclude-dir.patch0000644000000000000000000000062311770611671016411 0ustar exclude debian/ and .pc/ directories when building documentation. --- a/doc/doxygen.conf +++ b/doc/doxygen.conf @@ -75,7 +75,7 @@ INPUT = ../ FILE_PATTERNS = RECURSIVE = YES -EXCLUDE = ../doc +EXCLUDE = ../doc ../debian ../.pc EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = EXAMPLE_PATH = ../examples ../test debian/patches/examples-hwaend.patch0000644000000000000000000000112211770611671014723 0ustar provide dummy hwaend_ function in examples. --- a/examples/fio/example_MyHerwig.cc +++ b/examples/fio/example_MyHerwig.cc @@ -21,6 +21,8 @@ #include "HepMC/GenEvent.h" #include "HepMC/HEPEVT_Wrapper.h" +extern "C" void hwaend_() {} + int main() { // //........................................HEPEVT --- a/examples/fio/testHerwigCopies.cc +++ b/examples/fio/testHerwigCopies.cc @@ -13,6 +13,8 @@ #include "HepMC/CompareGenEvent.h" #include "HepMC/HEPEVT_Wrapper.h" +extern "C" void hwaend_() {} + int main() { // //........................................HEPEVT debian/patches/examples-makefile.patch0000644000000000000000000000363111770611671015241 0ustar --- a/examples/fio/GNUmakefile.example.in +++ b/examples/fio/GNUmakefile.example.in @@ -12,18 +12,16 @@ # You may have to change GENSERdir and/or other variables # HepMCdir = @prefix@ - HepMClib = -L$(HepMCdir)/lib -lHepMC - HepMCfiolib = -L$(HepMCdir)/lib -lHepMCfio + HepMClib = -lHepMC + HepMCfiolib = -lHepMCfio GENSERdir = @GENSERdir@ - Pythia_LIB = -L$(GENSERdir)/lib -Wl,-rpath -Wl,$(GENSERdir)/lib \ - -lpythia6_403 -lpythia6_403_dumm -lpythia6_403_pdfdumm - Herwig_LIB = -L$(GENSERdir)/lib -Wl,-rpath -Wl,$(GENSERdir)/lib \ - -lherwig6_510 -lherwig6_510_dumm -lherwig6_510_pdfdumm + Pythia_LIB = -lpythia6 + Herwig_LIB = -lherwig6 ################################################################################ Compiler options # CXX = @CXX@ - F77 = @F77@ + F77 = gfortran INCLUDES = -I$(HepMCdir)/include -I$(CLHEPdir)/include CXXFLAGS = @AM_CXXFLAGS@ @CXXFLAGS@ $(INCLUDES) ifeq "$(CXX)" "g++" --- a/examples/pythia8/GNUmakefile.example.in +++ b/examples/pythia8/GNUmakefile.example.in @@ -14,15 +14,13 @@ # HepMCdir = @prefix@ HEPMCLOCATION = $(HepMCdir) - HepMClib = -L$(HEPMCLOCATION)/lib -Wl,-rpath -Wl,$(HEPMCLOCATION)/lib \ - -lHepMC - Pythia_LIB = -L$(PYTHIA8_HOME)/lib -Wl,-rpath -Wl,$(PYTHIA8_HOME)/lib \ - -lpythia8 -llhapdfdummy -lhepmcinterface + HepMClib = -lHepMC + Pythia_LIB = -lpythia8 -lLHAPDF -lhepmcinterface ################################################################################ Compiler options # CXX = @CXX@ - INCLUDES = -I$(HEPMCLOCATION)/include -I$(PYTHIA8_HOME)/include + INCLUDES = -I/usr/include/pythia8 CXXFLAGS = @AM_CXXFLAGS@ @CXXFLAGS@ -Wshadow -fbounds-check $(INCLUDES) ifeq "$(CXX)" "g++" FLAGS = $(DFLG) -fno-second-underscore $(INCDIR) debian/patches/series0000644000000000000000000000021311770611671012035 0ustar fix-typo-hierachy-hierarchy.patch dont-use-floatflt.sty.patch doc-building-exclude-dir.patch examples-makefile.patch examples-hwaend.patch debian/README.examples0000644000000000000000000000075411770611671011700 0ustar Some example source files depend on PYTHIA 6 and HERWIG 6, which have no license so cannot be distributed within Debian. I created Debian packaging stuff of these packages, however. To build and install them, run the commands below (you need install the "git" package first) and follow the instructions in pythia6/INSTALL and herwig6/INSTALL: $ git clone git://git.debian.org/git/debian-science/packages/pythia6.git $ git clone git://git.debian.org/git/debian-science/packages/herwig6.git debian/hepmc-reference-manual.doc-base0000644000000000000000000000047611770611671015106 0ustar Document: hepmc-reference-manual Title: HepMC Reference Manual Author: Matt Dobbs, Jorgen Beck Hansen, Lynn Garren, Lars Sonnenschein Abstract: This manual contains reference manual generated by Doxygen. Section: Science/Physics Format: pdf Files: /usr/share/doc/hepmc-reference-manual/HepMC2_reference_manual.pdf.gz debian/get-orig-source0000755000000000000000000000074511770611671012144 0ustar #!/bin/bash set -e [ $# == 3 ] url="http://lcgapp.cern.ch/project/simu/HepMC/download" ver="$2" pkgdir="hepmc-$ver.orig" pkg="hepmc_$ver.orig.tar.gz" uppkgdir="HepMC-$ver" uppkg="HepMC-$ver.tar.gz" [ ! -f "../$uppkg" ] && wget "$url/$uppkg" -O "../$uppkg" [ -d "$uppkgdir" ] && rm -rf "$uppkgdir" tar xf "../$uppkg" rm -rf "$uppkgdir/autom4te.cache" [ -d "$pkgdir" ] && rm -rf "$pkgdir" mv "$uppkgdir" "$pkgdir" rm -f "../$pkg" tar -zcf "../$pkg" "$pkgdir" rm -rf "$pkgdir" debian/rules0000755000000000000000000000361311770611671010260 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) else NUMJOBS := 1 endif export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS # package name PKGNAME=$(strip $(shell head -n1 debian/changelog | cut -d' ' -f1)) # current Debian package version DEBVER=$(strip $(shell head -n1 debian/changelog | cut -d' ' -f2 | tr -d '()')) # current upstream version (remove any epoch and Debian release number) UPVER=$(shell echo $(DEBVER) | sed -e 's/-[^-]*$$//' -e 's/^[^:]*://') ../$(PKGNAME)_$(UPVER).orig.tar.gz: ./debian/get-orig-source --upstream-version $(UPVER) $@ get-orig-source: ../$(PKGNAME)_$(UPVER).orig.tar.gz clean: dh_testdir dh_autoreconf_clean dh_auto_clean dh_clean configure-stamp: dh_testdir dh_autoreconf dh_auto_configure -- \ --with-momentum=GEV \ --with-length=MM \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) touch $@ override_dh_auto_install: dh_testdir dh_auto_install rm -f debian/tmp/usr/share/HepMC/examples/pythia8/config.sh rm -f debian/tmp/usr/share/HepMC/examples/pythia8/config.csh rm -f debian/tmp/usr/share/HepMC/examples/pythia8/README build-arch: configure-stamp dh_testdir $(MAKE) -j$(NUMJOBS) build-indep: configure-stamp dh_testdir cd doc; ./buildDoc.sh build: build-arch binary-arch: build-arch dh $@ binary-indep: build-indep dh $@ binary: binary-arch binary-indep .PHONY: build build-arch build-indep binary binary-arch binary-indep get-orig-source debian/hepmc-user-manual.doc-base0000644000000000000000000000043211770611671014116 0ustar Document: hepmc-user-manual Title: HepMC User Manual Author: Matt Dobbs, Jorgen Beck Hansen, Lynn Garren, Lars Sonnenschein Abstract: This manual contains user manual of HepMC2. Section: Science/Physics Format: pdf Files: /usr/share/doc/hepmc-user-manual/HepMC2_user_manual.pdf.gz debian/control0000644000000000000000000001733011770611671010604 0ustar Source: hepmc Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), autotools-dev, dh-autoreconf Build-Depends-Indep: doxygen-latex, ghostscript, texlive-math-extra Standards-Version: 3.9.3 Homepage: http://lcgapp.cern.ch/project/simu/HepMC/ Vcs-Git: git://git.debian.org/git/debian-science/packages/hepmc.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/hepmc.git Package: libhepmc4 Section: libs Architecture: any Multi-arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libhepmcfio Suggests: libhepmc-dev, libhepmcfio-dev Description: Event Record for Monte Carlo Generators The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. . Many extensions from HEPEVT, the Fortran HEP standard, are supported: the number of entries is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. . The added information supports the modularisation of event generators. Event information is accessed by means of iterators supplied with the package. Package: libhepmc-dev Section: libdevel Architecture: any Depends: libhepmc4 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: libhepmcfio-dev Suggests: hepmc-examples, hepmc-user-manual, hepmc-reference-manual Description: Event Record for Monte Carlo Generators - development files The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. . Many extensions from HEPEVT, the Fortran HEP standard, are supported: the number of entries is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. . The added information supports the modularisation of event generators. Event information is accessed by means of iterators supplied with the package. . This package provides development files of HepMC. Package: libhepmcfio4 Section: libs Architecture: any Multi-arch: same Pre-Depends: ${misc:Pre-Depends} Depends: libhepmc4 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: libhepmcfio-dev, libhepmc-dev Description: fio library of HepMC The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. . Many extensions from HEPEVT, the Fortran HEP standard, are supported: the number of entries is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. . The added information supports the modularisation of event generators. Event information is accessed by means of iterators supplied with the package. . The fio library of HepMC provides wrappers of HEPEVT, Pythia and Herwig. Package: libhepmcfio-dev Section: libdevel Architecture: any Depends: libhepmc-dev (= ${binary:Version}), libhepmcfio4 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: hepmc-example, hepmc-user-manual, hepmc-reference-manual Description: fio library of HepMC - development files The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. . Many extensions from HEPEVT, the Fortran HEP standard, are supported: the number of entries is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. . The added information supports the modularisation of event generators. Event information is accessed by means of iterators supplied with the package. . This package provides development files of fio library of HepMC. Package: hepmc-examples Section: devel Architecture: all Depends: libclhep-dev, libpythia8-dev, libhepmc-dev (>= ${source:Version}), libhepmcfio-dev (>= ${source:Version}), ${misc:Depends} Suggests: hepmc-user-manual, hepmc-reference-manual Description: Event Record for Monte Carlo Generators - example files The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. . Many extensions from HEPEVT, the Fortran HEP standard, are supported: the number of entries is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. . The added information supports the modularisation of event generators. Event information is accessed by means of iterators supplied with the package. . This package provides example source files of HepMC. Package: hepmc-user-manual Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libhepmc-dev, libhepmcfio-dev Suggests: hepmc-reference-manual Description: Event Record for Monte Carlo Generators - User Manual The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. . Many extensions from HEPEVT, the Fortran HEP standard, are supported: the number of entries is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. . The added information supports the modularisation of event generators. Event information is accessed by means of iterators supplied with the package. . This package provides HepMC2 User Manual. Package: hepmc-reference-manual Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libhepmc-dev, libhepmcfio-dev, hepmc-user-manual Description: Event Record for Monte Carlo Generators - Reference Manual The HepMC package is an object oriented event record written in C++ for High Energy Physics Monte Carlo Generators. . Many extensions from HEPEVT, the Fortran HEP standard, are supported: the number of entries is unlimited, spin density matrices can be stored with each vertex, flow patterns (such as color) can be stored and traced, integers representing random number generator states can be stored, and an arbitrary number of event weights can be included. Particles and vertices are kept separate in a graph structure, physically similar to a physics event. . The added information supports the modularisation of event generators. Event information is accessed by means of iterators supplied with the package. . This package provides HepMC2 Reference Manual. debian/compat0000644000000000000000000000000211770611671010373 0ustar 7 debian/libhepmcfio-dev.install0000644000000000000000000000037111770611671013623 0ustar usr/lib/*/libHepMCfio.a usr/lib/*/libHepMCfio.so usr/include/HepMC/PythiaWrapper.h usr/include/HepMC/HEPEVT_Wrapper.h usr/include/HepMC/HerwigWrapper.h usr/include/HepMC/IO_HEPEVT.h usr/include/HepMC/IO_HERWIG.h usr/include/HepMC/PythiaWrapper6_4.h debian/libhepmc4.install0000644000000000000000000000003111770611671012426 0ustar usr/lib/*/libHepMC.so.* debian/watch0000644000000000000000000000020011770611671010216 0ustar version=3 http://lcgapp.cern.ch/project/simu/HepMC/download/index.html HepMC-([\d\.]+).tar.gz debian ./debian/get-orig-source debian/copyright0000644000000000000000000000376611770611671011144 0ustar This package was debianized by Lifeng Sun on Sat, 02 Apr 2011 21:32:21 +0800. It was downloaded from: http://lcgapp.cern.ch/project/simu/HepMC/download/. Upstream Authors: Matt Dobbs and Lynn Garren . FILE: HepMC/IO_AsciiParticles.h src/IO_AsciiParticles.cc Copyright: 2006 License: GPL-2 FILE: parts of HepMC/IO_GenEvent.h Copyright: Gavin Salam License: GPL-2 FILE: HepMC/PythiaWrapper6_4_WIN32.h Copyright: 2002 Witold Pokorski License: GPL-2 FILE: HepMC/Units.h src/Units.cc.in Copyright: Andy Buckley David Grellscheid License: GPL-2 FILE: src/filterEvent.cc Copyright: Andy Buckley License: GPL-2 FILE: test/testPrintBug.cc Copyright: Bob McElrath Frank Siegert License: GPL-2 FILE: HepMC/enable_if.h HepMC/is_arithmetic.h Copyright: Walter Brown License: GPL-2 Files: debian/* Copyright: 2011 Lifeng Sun License: GPL-2 Files: all others Copyright: 1999-2005 Matt Dobbs 2006-2011 Lynn Garren 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 On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/libhepmc-dev.install0000644000000000000000000000161311770611671013125 0ustar usr/lib/*/libHepMC.a usr/lib/*/libHepMC.so usr/include/HepMC/CompareGenEvent.h usr/include/HepMC/IO_AsciiParticles.h usr/include/HepMC/enable_if.h usr/include/HepMC/SearchVector.h usr/include/HepMC/Flow.h usr/include/HepMC/IO_Exception.h usr/include/HepMC/SimpleVector.h usr/include/HepMC/GenCrossSection.h usr/include/HepMC/IO_GenEvent.h usr/include/HepMC/IO_BaseClass.h usr/include/HepMC/SimpleVector.icc usr/include/HepMC/GenEvent.h usr/include/HepMC/StreamHelpers.h usr/include/HepMC/GenParticle.h usr/include/HepMC/StreamInfo.h usr/include/HepMC/GenRanges.h usr/include/HepMC/is_arithmetic.h usr/include/HepMC/TempParticleMap.h usr/include/HepMC/GenVertex.h usr/include/HepMC/IteratorRange.h usr/include/HepMC/Units.h usr/include/HepMC/HeavyIon.h usr/include/HepMC/PdfInfo.h usr/include/HepMC/Version.h usr/include/HepMC/Polarization.h usr/include/HepMC/WeightContainer.h usr/include/HepMC/HepMCDefs.h debian/docs0000644000000000000000000000001411770611671010043 0ustar NEWS README debian/source/0000755000000000000000000000000011770611671010475 5ustar debian/source/format0000644000000000000000000000001411770611671011703 0ustar 3.0 (quilt) debian/libhepmcfio4.install0000644000000000000000000000003411770611671013127 0ustar usr/lib/*/libHepMCfio.so.*