debian/0000755000000000000000000000000012000631577007167 5ustar debian/herwig++.install0000644000000000000000000000012012000631433012152 0ustar usr/bin/Herwig++ usr/lib/*/Herwig++/*.so* usr/lib/*/Herwig++/HerwigDefaults.rpo debian/changelog0000644000000000000000000000023011766064416011046 0ustar herwig++ (2.6.0-1) unstable; urgency=low * Initial release (Closes: #636988) -- Lifeng Sun Tue, 05 Jun 2012 22:21:21 +0800 debian/patches/0000755000000000000000000000000012000631433010605 5ustar debian/patches/siscone.patch0000644000000000000000000000064111766064416013315 0ustar --- a/m4/fastjet.m4 +++ b/m4/fastjet.m4 @@ -57,7 +57,7 @@ AC_MSG_CHECKING(FastJet) if test "${fjok}" = "yes"; then FASTJET_CXXFLAGS="`${fjconfig} --cxxflags`" - FASTJET_LIBS="`${fjconfig} --libs --plugins`" + FASTJET_LIBS="`${fjconfig} --libs --plugins` -lsiscone_spherical -lsiscone" LOAD_FASTJET="library HwLEPJetAnalysis.so" CREATE_FASTJET="create" AC_MSG_RESULT(yes) debian/patches/herwig-repo-dir.patch0000644000000000000000000000145112000631433014633 0ustar --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,7 +10,7 @@ Herwig___LDFLAGS = $(AM_LDFLAGS) -export-dynamic $(THEPEGLDFLAGS) Herwig___LDADD = $(THEPEGLIB) -ldl Herwig___CPPFLAGS = $(AM_CPPFLAGS) \ --DHERWIG_PKGDATADIR="\"$(pkgdatadir)\"" \ +-DHERWIG_PKGREPODIR="\"$(pkglibdir)\"" \ -DHERWIG_PKGLIBDIR="\"$(pkglibdir)\"" \ -DTHEPEG_PKGLIBDIR="\"$(THEPEGPATH)/lib/$(DEB_HOST_MULTIARCH)/ThePEG\"" bin_SCRIPTS = herwig-config --- a/src/Herwig++.cc +++ b/src/Herwig++.cc @@ -186,10 +186,10 @@ void HerwigRead(string reponame, string runname) { -#ifdef HERWIG_PKGDATADIR +#ifdef HERWIG_PKGREPODIR ifstream test(reponame.c_str()); if ( !test ) { - reponame = string(HERWIG_PKGDATADIR) + '/' + reponame; + reponame = string(HERWIG_PKGREPODIR) + '/' + reponame; } test.close(); #endif debian/patches/thepeg-lib-path.patch0000644000000000000000000000332312000631433014601 0ustar --- a/Contrib/Analysis2/m4/Analysis2.m4 +++ b/Contrib/Analysis2/m4/Analysis2.m4 @@ -12,7 +12,7 @@ AC_MSG_ERROR([Cannot build Analysis2 without ThePEG. Please set --with-thepeg.]) fi -THEPEGLDFLAGS="-L${with_thepeg}/lib/ThePEG" +THEPEGLDFLAGS="-L${with_thepeg}/lib/${DEB_HOST_MULTIARCH}/ThePEG" THEPEGPATH="${with_thepeg}" oldldflags="$LDFLAGS" --- a/m4/herwig.m4 +++ b/m4/herwig.m4 @@ -64,7 +64,7 @@ AC_MSG_ERROR([Cannot build Herwig++ without ThePEG. Please set --with-thepeg.]) fi -THEPEGLDFLAGS="-L${with_thepeg}/lib/ThePEG" +THEPEGLDFLAGS="-L${with_thepeg}/lib/${DEB_HOST_MULTIARCH}/ThePEG" if test "${host_cpu}" == "x86_64" -a -e ${with_thepeg}/lib64/ThePEG/libThePEG.so ; then THEPEGLDFLAGS="-L${with_thepeg}/lib64/ThePEG" fi @@ -108,7 +108,7 @@ AC_MSG_CHECKING([for HepMCAnalysis.so in ThePEG]) -if test -x "$THEPEGPATH/lib/ThePEG/HepMCAnalysis.so" ; then +if test -e "$THEPEGPATH/lib/${DEB_HOST_MULTIARCH}/ThePEG/HepMCAnalysis.so" ; then CREATE_HEPMC="create" AC_MSG_RESULT([found]) else --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,7 +12,7 @@ Herwig___CPPFLAGS = $(AM_CPPFLAGS) \ -DHERWIG_PKGDATADIR="\"$(pkgdatadir)\"" \ -DHERWIG_PKGLIBDIR="\"$(pkglibdir)\"" \ --DTHEPEG_PKGLIBDIR="\"$(THEPEGPATH)/lib/ThePEG\"" +-DTHEPEG_PKGLIBDIR="\"$(THEPEGPATH)/lib/$(DEB_HOST_MULTIARCH)/ThePEG\"" bin_SCRIPTS = herwig-config HELPERFILES = CMSSM40.1.1.slha RPV3.1.slha NMSSM.spc \ @@ -131,7 +131,7 @@ $(VALGRIND) ./Herwig++ run -d1 -D -N5 LHC.run &> /tmp/valgrind-run.log SETUPTHEPEG=$(THEPEGPATH)/bin/setupThePEG -THEPEGREPO=$(THEPEGPATH)/lib/ThePEG/ThePEGDefaults.rpo +THEPEGREPO=$(THEPEGPATH)/lib/$(DEB_HOST_MULTIARCH)/ThePEG/ThePEGDefaults.rpo install-data-hook: @echo Creating repository debian/patches/series0000644000000000000000000000007212000631433012021 0ustar thepeg-lib-path.patch siscone.patch herwig-repo-dir.patch debian/get-orig-source0000755000000000000000000000070311766064416012142 0ustar #!/bin/bash set -e [ $# == 3 ] url="http://www.hepforge.org/archive/herwig" ver="$2" pkgdir="herwig++-$ver.orig" pkg="herwig++_$ver.orig.tar.gz" uppkgdir="Herwig++-$ver" uppkg="Herwig++-$ver.tar.gz" [ ! -f "../$uppkg" ] && wget "$url/$uppkg" -O "../$uppkg" [ -d "$uppkgdir" ] && rm -rf "$uppkgdir" tar xf "../$uppkg" [ -d "$pkgdir" ] && rm -rf "$pkgdir" mv "$uppkgdir" "$pkgdir" rm -f "../$pkg" tar -zcf "../$pkg" "$pkgdir" rm -rf "$pkgdir" debian/rules0000755000000000000000000000222012000631433010232 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) LIBPATH := /usr/lib/$(DEB_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) export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS DEB_HOST_MULTIARCH override_dh_auto_configure: dh_auto_configure -- \ --with-thepeg=/usr \ --with-gsl=/usr \ --with-boost=/usr \ --with-fastjet=/usr \ --libdir=$(LIBPATH) override_dh_auto_install: dh_auto_install --max-parallel=1 chrpath -d debian/tmp/$(LIBPATH)/Herwig++/HwMPI.so rm -rf debian/tmp/usr/share/Herwig++/Doc sed -i -e 's,/.*debian/tmp,,' \ debian/tmp/usr/share/Herwig++/HerwigDefaults.rpo \ debian/tmp/usr/share/Herwig++/defaults/PDF.in mv debian/tmp/usr/share/Herwig++/HerwigDefaults.rpo \ debian/tmp/$(LIBPATH)/Herwig++/ override_dh_makeshlibs: dh_makeshlibs -n %: dh $@ --with autoreconf --parallel debian/herwig++.manpages0000644000000000000000000000002211766064416012323 0ustar debian/Herwig++.1 debian/control0000644000000000000000000000422311766064416010605 0ustar Source: herwig++ Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun DM-Upload-Allowed: yes Build-Depends: debhelper (>= 8.0.0), autotools-dev, dh-autoreconf, libthepeg-dev, libfastjet-dev, libfastjettools-dev, libfastjetplugins-dev, libboost-dev, libgsl0-dev, gfortran, chrpath Standards-Version: 3.9.3 Homepage: http://projects.hepforge.org/herwig/ Vcs-Git: git://git.debian.org/git/debian-science/packages/herwig++.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/herwig++.git Package: herwig++ Architecture: any Depends: herwig++-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Multi-purpose event generator for high energy physics Herwig++ is a completely new event generator, written in C++. It is built on the experience gained with the well-known event generator HERWIG. The aim is to provide a multi purpose event generator with similar or improved capabilities (like angular ordered parton evolution and the cluster hadronization model). . This package provides program files and run-time libraries of Herwig++. Package: herwig++-dev Architecture: any Depends: libthepeg-dev, herwig++ (= ${binary:Version}), ${misc:Depends} Description: Herwig++ development files Herwig++ is a completely new event generator, written in C++. It is built on the experience gained with the well-known event generator HERWIG. The aim is to provide a multi purpose event generator with similar or improved capabilities (like angular ordered parton evolution and the cluster hadronization model). . Thie package provides Herwig++ development files. Package: herwig++-data Architecture: all Depends: ${misc:Depends} Recommends: herwig++ Description: Herwig++ Data Herwig++ is a completely new event generator, written in C++. It is built on the experience gained with the well-known event generator HERWIG. The aim is to provide a multi purpose event generator with similar or improved capabilities (like angular ordered parton evolution and the cluster hadronization model). . This package provides data of Herwig++ debian/herwig-config.10000644000000000000000000000161511766064416012016 0ustar .TH HERWIG-CONFIG "1" "June 2012" "Herwig++" "User Commands" .SH NAME herwig-config \- configuration tool for the Herwig++ event generator .SH SYNOPSIS .B herwig-config [\fIOption\fR] .SH OPTIONS .TP \fB\-\-help\fR | \fB\-h\fR show this help message .TP \fB\-\-prefix\fR show the installation prefix (cf. autoconf) .TP \fB\-\-datadir\fR show the path to the directory containing shared data .TP \fB\-\-libdir\fR show the path to the directory containing the libraries .TP \fB\-\-includedir\fR show the path to the directory containing the headers .TP \fB\-\-cppflags\fR show the required CPPFLAGS for building against Herwig++ .TP \fB\-\-ldflags\fR show the required LDFLAGS for linking against Herwig++ .TP \fB\-\-ldlibs\fR show the required libraries for linking against Herwig++ .SH AUTHOR This manual page was written by Lifeng Sun for the Debian system (but may be used by others). debian/compat0000644000000000000000000000000211770601144010365 0ustar 8 debian/watch0000644000000000000000000000015411766064416010232 0ustar version=3 http://www.hepforge.org/archive/herwig/ Herwig\+\+-(.*)\.tar\.gz debian ./debian/get-orig-source debian/herwig++-dev.install0000644000000000000000000000004211766064416012754 0ustar usr/bin/herwig-config usr/include debian/Herwig++.10000644000000000000000000000313511766064416010640 0ustar .TH HERWIG++ "1" "June 2012" "Herwig++" "User Commands" .SH NAME Herwig++ \- Multi\-purpose Monte\-Carlo event generator for particle physics. .SH SYNOPSIS .B Herwig++ \fI(read|run) \fR[\fIOPTIONS\fR]... [\fIFILE\fR] .SH DESCRIPTION Herwig++ is a multi\-purpose Monte\-Carlo event generator for particle physics. See arXiv:0803.0883 for a detailed manual, or arXiv:1101.2599 for a more general description of the physics behind MC event generation. .PP One of the commands 'read' or 'run' is required: .IP read \- reads an input file and creates a run file, .IP run \- reads a run file and generates events. .TP \fB\-h\fR, \fB\-\-help\fR Print help and exit .TP \fB\-\-full\-help\fR Print help, including hidden options, and exit .TP \fB\-V\fR, \fB\-\-version\fR Print version and exit .PP Event generation options: .TP \fB\-N\fR, \fB\-\-numevents\fR=\fILONG\fR Number of events to generate. .TP \fB\-s\fR, \fB\-\-seed\fR=\fIINT\fR The random number generator seed. .TP \fB\-t\fR, \fB\-\-tag\fR=\fITAG\fR A tag to append to the run name. (default=`') .TP \fB\-d\fR, \fB\-\-debug\fR=\fIINT\fR Set the ThePEG debug level. .TP \fB\-D\fR, \fB\-\-debug\-fpe\fR Enable floating point exceptions. (default=off) .TP \fB\-q\fR, \fB\-\-quiet\fR Disable event counter. (default=off) .PP Plugin library options: .TP \fB\-l\fR, \fB\-\-append\fR=\fIPATH\fR Append a search path for dynamically loaded libraries. .TP \fB\-L\fR, \fB\-\-prepend\fR=\fIPATH\fR Prepend a search path for dynamically loaded libraries. .SH AUTHOR This manual page was written by Lifeng Sun for the Debian system (but may be used by others). debian/herwig++-dev.manpages0000644000000000000000000000002711766064416013104 0ustar debian/herwig-config.1 debian/copyright0000644000000000000000000000775511770601144011140 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: herwig++ Source: http://projects.hepforge.org/herwig/ Files: * Copyright: Ken Arnold Luca d'Errico Stefan Gieseke David Grellscheid Keith Hamilton Andreas Papaefstathiou Simon Plätzer Peter Richardson Christian Röhr Alex Schofield Mike Seymour Andrzej Siódmok Martin Stoll Bryan Webber David Winn License: GPL-2.0 Files: Hadronization/PartonSplitter.h Hadronization/CluHadConfig.h Hadronization/ClusterHadronizationHandler.h Hadronization/PartonSplitter.h Hadronization/LightClusterDecayer.h Hadronization/ClusterDecayer.h Hadronization/ClusterFinder.h Copyright: Philip Stephens Alberto Ribon License: GPL-2.0 Files: Hadronization/HadronSelector.h Copyright: Philip Stephens Alberto Ribon Peter Richardson License: GPL-2.0 Files: Hadronization/ClusterFissioner.h Copyright: Philip Stephens Alberto Ribon Stefan Gieseke License: GPL-2.0 Files: Hadronization/ColourReconnector.h Copyright: Alberto Ribon Christian Roehr License: GPL-2.0 Files: Looptools/util/solve-LU.F Copyright: 2004 Michael Rauch License: GPL-2.0 Files: Utilities/GSLBisection.h PDF/HwRemDecayer.h PDF/MPIPDF.h PDF/MinBiasPDF.h PDF/SatPDF.h Shower/UEBase.h UnderlyingEvent/MPIHandler.h UnderlyingEvent/ProcessHandler.h Copyright: Manuel Bahr License: GPL-2.0 Files: src/herwigopts.h Copyright: Lorenzo Bettini License: GPL-2.0 Files: LoopTools/A/A00.F LoopTools/C/Cget.F LoopTools/D/D0.F LoopTools/D/Dget.F LoopTools/E/E0.F LoopTools/E/Ecoeffa.F LoopTools/E/Ecoeffb.F LoopTools/E/Eget.F LoopTools/util/solve-LU.F Copyright: Michael Rauch License: LGPL-3.0 Files: LoopTools/D/ffRn.F LoopTools/D/ffS2.F LoopTools/D/ffS3n.F LoopTools/D/ffTn.F LoopTools/D/ffTn.F LoopTools/D/ffd0c.F Copyright: Le Duc Ninh License: LGPL-3.0 Files: LoopTools/A/A0.F LoopTools/B/Bcoeffb.F LoopTools/B/ffxdb1.F LoopTools/C/C0.F LoopTools/D/D0.F LoopTools/util/auxCD.F Copyright: Ansgar Denner License: LGPL-3.0 Files: LoopTools/A/ffca0.F LoopTools/A/ffxa0.F LoopTools/D/ffxd0i.F Looptools/include/ff.h Looptools/util/ffinit.F Copyright: Geert Jan van Oldenborgh License: LGPL-3.0 Files: debian/* Copyright: 2011 Lifeng Sun License: GPL-2.0 License: GPL-2.0 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". License: LGPL-3.0 This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 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 Lesser 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 Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-3". debian/herwig++-data.install0000644000000000000000000000002411766064416013107 0ustar usr/share/Herwig++/ debian/docs0000644000000000000000000000002711766064416010053 0ustar NEWS README GUIDELINES debian/source/0000755000000000000000000000000011766064416010501 5ustar debian/source/format0000644000000000000000000000001411766064416011707 0ustar 3.0 (quilt)