debian/0000755000000000000000000000000011767134403007174 5ustar debian/docs0000644000000000000000000000002711767116411010045 0ustar NEWS README GUIDELINES debian/control0000644000000000000000000000753411767122423010607 0ustar Source: thepeg Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun DM-Upload-Allowed: yes Build-Depends: debhelper (>= 8.0.0), autotools-dev, librivet-dev, libhepmc-dev, liblhapdf-dev, dh-autoreconf, libgsl0-dev, zlib1g-dev, chrpath, default-jdk, libreadline-dev Build-Depends-Indep: doxygen-latex Standards-Version: 3.9.3 Homepage: http://projects.hepforge.org/thepeg/ Vcs-Git: git://git.debian.org/git/debian-science/packages/thepeg.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/thepeg.git Package: thepeg Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Toolkit for High Energy Physics Event Generation ThePEG is a general toolkit for implementing physics models of event generation in high energy particle collisions. It defines a general structure of event generation in terms of abstract base classes for e.g. hard partonic matrix elements, parton showers and the decay of unstable particles. Different models are then implemented by creating classes which inherits from these base classes and implements sets of pre-defined virtual functions. . This package provides program files of ThePEG. Package: thepeg-gui Architecture: all Depends: thepeg (>= ${binary:Version}), default-jre-headless | default-jre, ${misc:Depends} Description: Java GUI of ThePEG ThePEG is a general toolkit for implementing physics models of event generation in high energy particle collisions. It defines a general structure of event generation in terms of abstract base classes for e.g. hard partonic matrix elements, parton showers and the decay of unstable particles. Different models are then implemented by creating classes which inherits from these base classes and implements sets of pre-defined virtual functions. . This package provides Java GUI of ThePEG. Package: libthepeg15 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Run-time library of ThePEG ThePEG is a general toolkit for implementing physics models of event generation in high energy particle collisions. It defines a general structure of event generation in terms of abstract base classes for e.g. hard partonic matrix elements, parton showers and the decay of unstable particles. Different models are then implemented by creating classes which inherits from these base classes and implements sets of pre-defined virtual functions. . This package provides run-time library of ThePEG. Package: libthepeg-dev Section: libdevel Architecture: any Depends: libthepeg15 (= ${binary:Version}), ${misc:Depends} Description: Development library of ThePEG ThePEG is a general toolkit for implementing physics models of event generation in high energy particle collisions. It defines a general structure of event generation in terms of abstract base classes for e.g. hard partonic matrix elements, parton showers and the decay of unstable particles. Different models are then implemented by creating classes which inherits from these base classes and implements sets of pre-defined virtual functions. . This package provides development library of ThePEG. Package: thepeg-reference Architecture: all Depends: ${misc:Depends} Description: Code reference of ThePEG ThePEG is a general toolkit for implementing physics models of event generation in high energy particle collisions. It defines a general structure of event generation in terms of abstract base classes for e.g. hard partonic matrix elements, parton showers and the decay of unstable particles. Different models are then implemented by creating classes which inherits from these base classes and implements sets of pre-defined virtual functions. . This package provides code reference of ThePEG generated by Doxygen. debian/thepeg-reference.install0000644000000000000000000000006611767116411013775 0ustar Doc/refman-html/* usr/share/doc/thepeg-reference/html debian/get-orig-source0000755000000000000000000000067311767116411012142 0ustar #!/bin/bash set -e [ $# == 3 ] url="http://www.hepforge.org/archive/thepeg" ver="$2" pkgdir="thepeg-$ver.orig" pkg="thepeg_$ver.orig.tar.gz" uppkgdir="ThePEG-$ver" uppkg="ThePEG-$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/thepeg-reference.doc-base0000644000000000000000000000051511767116411014003 0ustar Document: thepeg-reference Title: ThePEG Reference Manual Author: Leif Lönnblad, David Grellscheid, Simon Plätzer, Peter Richardson Abstract: ThePEG code reference generated by Doxygen. Section: Science/Physics Format: HTML Index: /usr/share/doc/thepeg-reference/html/index.html Files: /usr/share/doc/thepeg-reference/html/*.html debian/libthepeg-dev.install0000644000000000000000000000004311767116411013277 0ustar usr/include usr/lib/*/libThePEG.so debian/changelog0000644000000000000000000000022511767116411011044 0ustar thepeg (1.8.0-1) unstable; urgency=low * Initial release (Closes: #636986) -- Lifeng Sun Mon, 04 Jun 2012 11:11:51 +0800 debian/libthepeg15.install0000644000000000000000000000012411767116411012671 0ustar usr/lib/*/libThePEG.so.* usr/lib/*/ThePEG/*.so* usr/lib/*/ThePEG/ThePEGDefaults.rpo debian/watch0000644000000000000000000000015011767116411010220 0ustar version=3 http://www.hepforge.org/archive/thepeg/ ThePEG-(.*)\.tar\.gz debian ./debian/get-orig-source debian/compat0000644000000000000000000000000211767116411010371 0ustar 8 debian/thepeg-gui.install0000644000000000000000000000020411767116411012615 0ustar usr/bin/thepeg usr/lib/*/ThePEG/ThePEG.jar usr/share/java debian/lintian-overrides/thepeg-gui usr/share/lintian/overrides debian/source/0000755000000000000000000000000011767116411010473 5ustar debian/source/format0000644000000000000000000000001411767116411011701 0ustar 3.0 (quilt) debian/lintian-overrides/0000755000000000000000000000000011767126245012637 5ustar debian/lintian-overrides/thepeg-gui0000644000000000000000000000006211767116411014610 0ustar thepeg-gui: binary-without-manpage usr/bin/thepeg debian/lintian-overrides/thepeg0000644000000000000000000000014411767116411014027 0ustar thepeg: binary-without-manpage usr/bin/runThePEG thepeg: binary-without-manpage usr/bin/setupThePEG debian/patches/0000755000000000000000000000000011767126277010635 5ustar debian/patches/thepeg-gui.patch0000644000000000000000000000077111767116411013706 0ustar --- a/java/thepeg.install +++ b/java/thepeg.install @@ -6,9 +6,8 @@ ThePEG_CMD="${bindir}/setupThePEG" if [ $# -gt 1 ]; then if [ "$1" = "-v" ]; then - VERSION="-$2" - ThePEG_CMD="${pkglibdir}/setupThePEG${VERSION}" - shift 2 + echo "We do not support multiple version of ThePEG in Debian." + exit 1 fi fi @@ -19,4 +18,4 @@ -exec @java@ ${HEADLESS} -jar ${pkglibdir}/ThePEG.jar ${ThePEG_CMD} "$@" +exec @java@ ${HEADLESS} -jar /usr/share/java/ThePEG.jar ${ThePEG_CMD} "$@" debian/patches/doxygen-exclude-debian-dir.patch0000644000000000000000000000076511767116411016753 0ustar --- a/Doc/refman.conf.in +++ b/Doc/refman.conf.in @@ -611,7 +611,7 @@ # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. -EXCLUDE = @top_builddir@/include +EXCLUDE = @top_builddir@/include @top_srcdir@/debian/ # The EXCLUDE_SYMLINKS tag can be used select whether or not files or # directories that are symbolic links (a Unix filesystem feature) are excluded debian/patches/lhapdf-tests.patch0000644000000000000000000000303611767116411014243 0ustar Disable LHAPDF test, which requires additional PDF sets not shipped with LHAPDF package right now. --- a/src/Makefile.am +++ b/src/Makefile.am @@ -78,10 +78,6 @@ rm SimpleLEP.cmp ./setupThePEG --exitonerror -r ThePEGDefaults.rpo MultiLEP.in time ./runThePEG -d 0 MultiLEP.run -if USELHAPDF - ./setupThePEG --exitonerror -r ThePEGDefaults.rpo TestLHAPDF.in - time ./runThePEG -d 1 -x .libs/TestLHAPDF.so TestLHAPDF.run -endif SimpleLEP.run: done-all-links setupThePEG ThePEGDefaults.rpo SimpleLEP.in ./setupThePEG --exitonerror -r ThePEGDefaults.rpo SimpleLEP.in @@ -95,14 +91,6 @@ MultiLEP.out: runThePEG MultiLEP.run time ./runThePEG -d 0 MultiLEP.run -if USELHAPDF -TestLHAPDF.run: done-all-links setupThePEG ThePEGDefaults.rpo TestLHAPDF.in TestLHAPDF.la - ./setupThePEG --exitonerror -r ThePEGDefaults.rpo TestLHAPDF.in - -TestLHAPDF.out: runThePEG TestLHAPDF.run - time ./runThePEG -d 1 -x .libs/TestLHAPDF.so TestLHAPDF.run -endif - install-exec-hook: cd $(DESTDIR)$(pkglibdir); \ rm -f setupThePEG-$(VERSION) runThePEG-$(VERSION); \ @@ -133,11 +121,6 @@ diff SimpleLEP.out SimpleLEP.cmp; \ $(DESTDIR)$(bindir)/setupThePEG --exitonerror $(DESTDIR)$(pkgdatadir)/MultiLEP.in; \ $(DESTDIR)$(bindir)/runThePEG MultiLEP.run; -if USELHAPDF - cd _test_thepeg_installation_; \ -$(DESTDIR)$(bindir)/setupThePEG --exitonerror $(DESTDIR)$(pkgdatadir)/TestLHAPDF.in; \ -$(DESTDIR)$(bindir)/runThePEG -x $(DESTDIR)$(pkglibdir)/TestLHAPDF.so TestLHAPDF.run -endif rm -rf _test_thepeg_installation_ %.run: %.in done-all-links ThePEGDefaults.rpo debian/patches/series0000644000000000000000000000010511767116411012033 0ustar lhapdf-tests.patch thepeg-gui.patch doxygen-exclude-debian-dir.patch debian/copyright0000644000000000000000000000263311767134034011133 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: thepeg Source: http://projects.hepforge.org/thepeg/ Files: * Copyright: Leif Lonnblad David Grellscheid Peter Richardson License: GPL-2.0 Files: Repository/Repository.cc Copyright: 2008 Ville Laurikari License: Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. 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". debian/thepeg.install0000644000000000000000000000017111767116411012036 0ustar usr/bin/runThePEG usr/bin/setupThePEG usr/share/ThePEG/*.in debian/lintian-overrides/thepeg usr/share/lintian/overrides debian/rules0000755000000000000000000000445711767122423010265 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 MAKEFLAGS # 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/^[^:]*://') LIBPATH := /usr/lib/$(DEB_HOST_MULTIARCH) ../$(PKGNAME)_$(UPVER).orig.tar.gz: ./debian/get-orig-source --upstream-version $(UPVER) $@ get-orig-source: ../$(PKGNAME)_$(UPVER).orig.tar.gz configure-stamp: dh_testdir dh_autoreconf dh_auto_configure -- \ --prefix=/usr \ --enable-unitchecks \ --with-javagui \ --with-rivet=/usr \ --with-hepmc=/usr \ --with-LHAPDF=$(LIBPATH) \ --libdir=$(LIBPATH) touch $@ build-arch: configure-stamp dh_testdir $(MAKE) -j$(NUMJOBS) build-indep: build-arch dh_testdir $(MAKE) html install-arch: build-arch dh_testdir dh_prep dh_auto_install mv debian/tmp/$(LIBPATH)/ThePEG/lib* debian/tmp/$(LIBPATH) sed -i -e 's,/.*debian/tmp,,' \ debian/tmp/$(LIBPATH)/ThePEG/ThePEGDefaults.rpo chrpath -d debian/tmp/usr/bin/runThePEG chrpath -d debian/tmp/usr/bin/setupThePEG chrpath -d debian/tmp/$(LIBPATH)/ThePEG/HepMCAnalysis.so chrpath -d debian/tmp/$(LIBPATH)/ThePEG/RivetAnalysis.so clean: dh_testdir dh_autoreconf_clean dh_auto_clean dh_clean build: build-arch binary-indep: install-arch build-indep dh $@ check: dh_testdir $(MAKE) check ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) binary-arch: check install-arch else binary-arch: install-arch endif dh $@ binary: binary-arch binary-indep .PHONY: binary binary-arch binary-indep build build-arch build-indep clean install-arch check