debian/0000755000000000000000000000000012302707246007171 5ustar debian/octave-lhapdf.examples0000644000000000000000000000004012253716576013453 0ustar octave/lhapdf-octave-example1.m debian/docs0000644000000000000000000000002112253716576010050 0ustar NEWS README TODO debian/lhapdf-getdata.10000644000000000000000000000337012253716576012136 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.39.4. .TH LHAPDF-GETDATA "1" "May 2011" "lhapdf-getdata" "User Commands" .SH NAME lhapdf-getdata \- Get PDF sets from the LHAPDF repository .SH SYNOPSIS .B lhapdf-getdata [\fI--main\fR] [\fI--all\fR] [\fI--repo=URL\fR] [\fI--dest=DEST\fR] [\fI--dryrun\fR] [ ...] .SH DESCRIPTION .IP .PP Grab PDF grid and param files from the LHAPDF repository and install them into the local LHAPDF data directory. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-repo\fR=\fIURL\fR Base URL of online sets repository (http://www.hepforge.org/archive/lhapdf/pdfsets/current) .TP \fB\-\-dest\fR=\fIDEST\fR PDF sets directory to install to (/usr/share/lhapdf/PDFsets) .TP \fB\-\-all\fR Get ALL sets (this will be hundreds of megabytes... be careful!) .TP \fB\-\-list\fR Just list available files .TP \fB\-\-force\fR Overwrite existing files .TP \fB\-\-dryrun\fR Don't actually do any downloading .TP \fB\-Q\fR, \fB\-\-quiet\fR Suppress normal messages .TP \fB\-V\fR, \fB\-\-verbose\fR Add extra debug messages .SH EXAMPLES .TP Show all available sets: lhapdf\-getdata \fB\-\-list\fR .TP Get all NNPDF PDFs with pattern matching: lhapdf\-getdata NNPDF .TP Get CTEQ6L1, CTEQ66, MRST\-S LO* and LO** PDFs with pattern matching: lhapdf\-getdata CTEQ6ll CTEQ66 lomod MCal .TP Get MSTW2008 68% confidence PDF by full name: lhapdf\-getdata MSTW2008lo68cl.LHgrid .TP See how much downloading would be involved in getting all PDF sets: lhapdf\-getdata \fB\-\-all\fR \fB\-\-dryrun\fR .TP I'm hardcore, give me the whole collection: lhapdf\-getdata \fB\-\-all\fR .SH AUTHOR This manual page was written by Lifeng Sun for the Debian system (but may be used by others). debian/liblhapdf-dev.install0000644000000000000000000000013012253716576013267 0ustar usr/bin/lhapdf-config usr/lib/*/libLHAPDF.so usr/lib/*/libLHAPDF.a usr/include/LHAPDF/* debian/copyright0000644000000000000000000000546712253716576011153 0ustar This package was debianized by Lifeng Sun on Sat, 23 Apr 2011 22:28:28 +0800. Source ====== It was downloaded from: http://projects.hepforge.org/lhapdf/ Upstream Authors ================ W. Giele Mike R. Whalley LHAGLUE interface routines by Dimitri Bourilkov Craig Group C++ wrapper by Stefan Gieseke autotools build system and lhapdf-config mechanism by Andy Buckley Copyright & License =================== Copyright W. Giele Copyright Mike R. Whalley Copyright Dimitri Bourilkov Copyright Craig Group Copyright Stefan Gieseke Copyright Andy Buckley 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". The above license applies also to the following files and directories, but they have different copyright holders, as listed below: examples/Example8.f src/wrapmstw.f src/wrapmstw-lite.f Copyright Graeme Watt octave/lhapdf-octave-example1.m octave/wrapoctave.cc Copyright Philip Ilten src/QCDNUM.F parts are Copyright Michiel Botje src/wrapdgg.f parts are Copyright M.Drees and K.Grassie Copyright Krzysztof Charchula Copyright H. Plothow-Besch src/wrapdog.f parts are Copyright D.Duke and H.Owens Copyright Krzysztof Charchula Copyright H. Plothow-Besch src/wrapsasg.f parts are Copyright H. Plothow-Besch src/Sqcdnum.f Copyright 2005 Mike R. Whalley Copyright 1996 McLareni src/wraph1.f src/wraph1-lite.f parts are Copyright C. Pascaud and F. Zomer The following files are not licensed under the GPL-2, but carry their own license and copyright statements. These are reproduced below. src/binreloc.c src/binreloc.h Copyright Hongli Lai This source code is public domain. You can relicense this code under whatever license you want. debian/lhapdf-config.10000644000000000000000000000254112253716576011771 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.39.4. .TH LHAPDF-CONFIG "1" "May 2011" "lhapdf-config" "User Commands" .SH NAME lhapdf-config \- script to get version number and compiler flags of the installed LHAPDF library .SH SYNOPSIS .B lhapdf-config [[\fI--help|-h\fR] \fI| \fR[\fI--prefix\fR] \fI| \fR[\fI--pdfsets-path\fR]] .SH DESCRIPTION \fIlhapdf-config\fP is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use \fILHAPDF\fP. .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\-\-incdir\fR : show the path to the LHAPDF header directory (for C++ interface) .TP \fB\-\-libdir\fR : show the path to the LHAPDF library directory .TP \fB\-\-datadir\fR : show the path to the LHAPDF installed data directory .HP \fB\-\-pdfsets\-path\fR : show the path to the directory containing the PDF set data files .TP \fB\-\-cppflags\fR : get compiler flags for use with the C preprocessor stage of C++ compilation .TP \fB\-\-ldflags\fR : get compiler flags for use with the linker stage of any compilation .TP \fB\-\-version\fR : returns LHAPDF release version number .SH AUTHOR This manual page was written by Lifeng Sun for the Debian system (but may be used by others). debian/get-orig-source0000755000000000000000000000144212253716576012146 0ustar #!/bin/bash set -e test $# == 3 URL="http://www.hepforge.org/archive/lhapdf" VER="$2" UPTAR="lhapdf-$VER.tar.gz" UPDIR="lhapdf-$VER" ORIGTAR="$3" ORIGDIR="lhapdf-$VER.orig" DESTDIR="$(dirname "$ORIGTAR")" test ! -f "$DESTDIR/$UPTAR" && wget "$URL/$UPTAR" -O "$DESTDIR/$UPTAR" test -d "$UPDIR" && rm -rf "$UPDIR" tar -xf "$DESTDIR/$UPTAR" # get PDFsets mkdir -p "$UPDIR/PDFsets" for pdf in cteq5l.LHgrid cteq61.LHgrid CT10.LHgrid GRV98nlo.LHgrid \ MRST2001nlo.LHgrid cteq6ll.LHpdf; do wget "$URL/pdfsets/current/$pdf" -O "$UPDIR/PDFsets/$pdf" done # remove generated source files rm -f "$UPDIR/pyext/lhapdf.py" "$UPDIR/pyext/lhapdf_wrap.cc" \ "$UPDIR/src/parmsetup.inc" mv "$UPDIR" "$ORIGDIR" test -e "$ORIGTAR" && rm -f "$ORIGTAR" GZIP=-9 tar --remove-files -zcf "$ORIGTAR" "$ORIGDIR" debian/liblhapdf0.install0000644000000000000000000000003112253716576012573 0ustar usr/lib/*/libLHAPDF.so.* debian/changelog0000644000000000000000000000743512302707246011054 0ustar lhapdf (5.9.1-3build1) trusty; urgency=medium * Rebuild for octave 3.8. -- Matthias Klose Mon, 24 Feb 2014 18:25:42 +0000 lhapdf (5.9.1-3) unstable; urgency=low * Disable tests on armel and armhf to avoid FTBFS. -- Lifeng Sun Tue, 17 Dec 2013 08:39:27 +0800 lhapdf (5.9.1-2) unstable; urgency=low * debian/rules: export DEB_BUILD_OPTIONS to disable tests on hurd-i386, mips, mipsel and s390. (Thanks to Dejan Latinovic ) * Import previous debian/changelog from Gürkan Sengün. -- Lifeng Sun Sun, 15 Dec 2013 19:03:05 +0800 lhapdf (5.9.1-1) unstable; urgency=low * New upstream release. * Canonical VCS-* fields. * Bump Standards-Version to 3.9.4. * Remove obsolte DM-Upload-Allowed field. * Build depends on automake1.11. -- Lifeng Sun Sat, 14 Dec 2013 20:14:13 +0800 lhapdf (5.8.9-1) unstable; urgency=low * Upload to sid. -- Lifeng Sun Mon, 06 May 2013 12:21:31 +0800 lhapdf (5.8.9-1~exp1) experimental; urgency=low * New upstream release. -- Lifeng Sun Mon, 18 Mar 2013 23:48:14 +0800 lhapdf (5.8.8-1~exp1) experimental; urgency=low * New upstream release. * debian/rules: change to tiny-style. * Move lhapdf-getdata script from lhapdf-pdfsets-minimal to python-lhapdf. -- Lifeng Sun Fri, 13 Jul 2012 21:58:38 +0800 lhapdf (5.8.7+repack-1) unstable; urgency=low * Disable test-suite on hurd-i386, mips, mipsel and s390. It requires RAM > 2GB to pass the test-suite, while buildds of these arches have no enough RAM. * Ship new pdfsets (cteq6ll.LHpdf, GRV98nlo.LHgrid and MRST2001nlo.LHgrid) to make test-suite of ThePEG happy, so repack source tarball. * octave-lhapdf: it depends on extra packages, so set priority to extra. * debian/copyright: fix licence version. * debian/control - move doxygen-latex and ghostscript to Build-Depends-Indep field. - replace automake and autoconf with dh-autoreconf. -- Lifeng Sun Mon, 18 Jun 2012 10:07:12 +0800 lhapdf (5.8.7-2) unstable; urgency=low * Define PATH_MAX to fix FTBFS on hurd-i386. -- Lifeng Sun Sun, 03 Jun 2012 00:07:33 +0800 lhapdf (5.8.7-1) unstable; urgency=low * Initial release (Closes: #636978) -- Lifeng Sun Mon, 21 May 2012 12:03:10 +0800 lhapdf (5.3.1-2) unstable; urgency=medium * QA upload. * Add an include for cstring in test-lhapdf-ccwrap.cc to avoid FTBFS. (Closes: #477487, #477963) * debian/rules: + Add support for cross build detection in debian/rules. + Enforce usage of gfortran by passing it to configure. + Use chrpath to delete rpath. + Use quilt for patching. * debian/control + Drop g77 dependency. + Build-Depend on chrpath for rpath removal. + Add quilt for patch management. -- Kumar Appaiah Thu, 01 May 2008 18:39:19 +0530 lhapdf (5.3.1-1) unstable; urgency=low * QA upload. + Set maintainer to Debian QA Group * New upstream release. * Make binNMU safe. * Move Homepage from package description to source header. * Create -dev package. Make policy compliant. * Make clean target not ignore errors. * Suggest liblhapdf0 for liblhapdf-data. (Closes: #413159). * Bump Standards Version to 3.7.3. (No changes needed). -- Barry deFreese Sun, 13 Apr 2008 12:04:09 -0400 lhapdf (5.3.0-1) unstable; urgency=low * New upstream version. -- Gürkan Sengün Tue, 6 Mar 2007 14:11:12 +0100 lhapdf (5.2.3-1) unstable; urgency=low * Initial release. (Closes: #407273) -- Gürkan Sengün Mon, 8 Jan 2007 10:25:23 +0100 debian/liblhapdf-dev.examples0000644000000000000000000000006412253716576013445 0ustar examples/CC*.cc examples/Example*.f debian/Makefile debian/lhapdf-ccwrap-doc.doc-base0000644000000000000000000000050012253716576014054 0ustar Document: lhapdf-ccwrap-doc Title: Reference Manual of LHAPDF - C++ Binding Author: M. R. Whalley, Andy Buckley et al. Abstract: Reference manual of C++ bindings for LHAPDF Section: Science/Physics Format: HTML Index: /usr/share/doc/lhapdf-ccwrap-doc/html/index.html Files: /usr/share/doc/lhapdf-ccwrap-doc/html/*.html debian/liblhapdf-dev.manpages0000644000000000000000000000002712253716576013421 0ustar debian/lhapdf-config.1 debian/compat0000644000000000000000000000000212253716576010402 0ustar 8 debian/patches/0000755000000000000000000000000012253716576010633 5ustar debian/patches/path-max.patch0000644000000000000000000000033212253716576013371 0ustar --- a/src/binreloc.c +++ b/src/binreloc.c @@ -24,6 +24,10 @@ #include #include "binreloc.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ debian/patches/fix-test-environment.patch0000644000000000000000000000235112253716576015762 0ustar Fix test environment. --- a/octave/Makefile.am +++ b/octave/Makefile.am @@ -5,5 +5,5 @@ lhapdf.oct: wrapoctave.cc $(MKOCTFILE) -I$(top_srcdir)/include -v -g -o lhapdf.oct wrapoctave.cc -L$(top_builddir)/lib -L$(top_builddir)/lib/.libs -lLHAPDF -TESTS_ENVIRONMENT = LHAPATH=$(top_srcdir)/PDFsets $(OCTAVE) +TESTS_ENVIRONMENT = LHAPATH=$(top_srcdir)/PDFsets LD_LIBRARY_PATH="$(top_builddir)/lib/.libs$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH}" $(OCTAVE) TESTS = $(srcdir)/lhapdf-octave-example1.m --- a/octave/Makefile.in +++ b/octave/Makefile.in @@ -196,7 +196,7 @@ top_srcdir = @top_srcdir@ EXTRA_DIST = lhapdf-octave-example1.m wrapoctave.cc pkgdata_DATA = lhapdf.oct -TESTS_ENVIRONMENT = LHAPATH=$(top_srcdir)/PDFsets $(OCTAVE) +TESTS_ENVIRONMENT = LHAPATH=$(top_srcdir)/PDFsets LD_LIBRARY_PATH="$(top_builddir)/lib/.libs$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH}" $(OCTAVE) TESTS = $(srcdir)/lhapdf-octave-example1.m all: all-am --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -12,7 +12,7 @@ lhapdf_example9_SOURCES = Example9.f lhapdf_example10_SOURCES = Example10.f -#TESTS_ENVIRONMENT = LHAPATH=$(top_srcdir)/PDFsets +TESTS_ENVIRONMENT = LHAPATH=$(top_srcdir)/PDFsets TESTS = lhapdf-example1 # lhapdf-example2 lhapdf-example3 debian/patches/dont-build-and-install-doc-by-default.patch0000644000000000000000000000124112253716576020714 0ustar Don't build and install documentation by default. diff --git a/ccwrap/Makefile.am b/ccwrap/Makefile.am index 9ac803f..5bd217f 100644 --- a/ccwrap/Makefile.am +++ b/ccwrap/Makefile.am @@ -21,16 +21,7 @@ endif if WITH_DOXYGEN .PHONY = dox dox: - $(DOXYGEN) $(top_srcdir)/ccwrap/Doxyfile || true -all-local: dox - @true -install-data-local: - $(install_sh_DATA) doxy/html/* $(DESTDIR)$(pkgdatadir)/doc/html -mostlyclean-local: - rm -rf $(top_builddir)/ccwrap/doxy -uninstall-local: - rm -rf $(DESTDIR)$(pkgdatadir)/doc; \ - test ! -d $(DESTDIR)$(pkgdatadir) || rmdir --ignore-fail-on-non-empty $(DESTDIR)$(pkgdatadir) + $(DOXYGEN) $(top_srcdir)/ccwrap/Doxyfile endif debian/patches/series0000644000000000000000000000017512253716576012053 0ustar fix-lhapdf-config.patch dont-build-and-install-doc-by-default.patch fix-test-environment.patch fix-typo.patch path-max.patch debian/patches/fix-typo.patch0000644000000000000000000000112512253716576013432 0ustar Fix typo: AVAIABLE->AVAILABLE. --- a/src/wrapevolve.F +++ b/src/wrapevolve.F @@ -335,7 +335,7 @@ if(index(setpath,'NNPDF').gt.0) then if(nset.gt.1) then if((index(setpath,'1000.').gt.0.and.nnpdf.gt.0).or.(index(setpath,'100.').gt.0.and.nnpdf1000.gt.0)) then - print *,'LHAPDF ERROR: MULTISET-INITIALIZATION with NNPDF 1000 sets IS NOT AVAIABLE (AT THE MOMENT)!' + print *,'LHAPDF ERROR: MULTISET-INITIALIZATION with NNPDF 1000 sets IS NOT AVAILABLE (AT THE MOMENT)!' STOP endif endif debian/patches/fix-lhapdf-config.patch0000644000000000000000000000073712253716576015150 0ustar Fix the package name in lhapdf-config. --- a/bin/lhapdf-config.in +++ b/bin/lhapdf-config.in @@ -22,7 +22,7 @@ echo " --cppflags : get compiler flags for use with the C preprocessor stage of C++ compilation" echo " --ldflags : get compiler flags for use with the linker stage of any compilation" echo - echo " --version : returns Rivet release version number" + echo " --version : returns LHAPDF release version number" fi OUT="" debian/README.Debian0000644000000000000000000000055712253716576011254 0ustar LHAPDF for Debian ----------------- The source package was downloaded from [1]. A minimal PDF sets (cteq5l.LHgrid, cteq6ll.LHpdf, CT10.LHgrid, GRV98nlo.LHgrid and MRST2001nlo.LHgrid) is also included to make the test suites of LHAPDF and ThePEG happy. [1] http://projects.hepforge.org/lhapdf/ -- Lifeng Sun Sat, 14 Jul 2012 08:11:58 +0800 debian/control0000644000000000000000000001211012253716576010602 0ustar Source: lhapdf Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun Build-Depends: debhelper (>= 8), dh-autoreconf, automake1.11, gfortran, swig, python-dev, python-support, octave-pkg-dev, gnuplot Build-Depends-Indep: doxygen-latex, ghostscript Build-Conflicts: automake Standards-Version: 3.9.4 Homepage: http://projects.hepforge.org/lhapdf/ Vcs-Git: git://anonscm.debian.org/debian-science/packages/lhapdf.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/lhapdf.git;a=summary Package: liblhapdf0 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: lhapdf-pdfsets-minimal Description: [Physics] Les Houches Accord PDF Interface LHAPDF provides a unified and easy to use interface to modern PDF sets. It is designed to work not only with individual PDF sets but also with the more recent multiple "error" sets. It can be viewed as the successor to PDFLIB, incorporating many of the older sets found in the latter, including pion and photon PDFs. In LHAPDF the computer code and input parameters/grids are separated thus allowing more easy updating and no limit to the expansion possibilities. Package: liblhapdf-dev Section: libdevel Architecture: any Depends: liblhapdf0 (= ${binary:Version}), ${misc:Depends} Recommends: lhapdf-pdfsets-minimal Suggests: lhapdf-ccwrap-doc Description: [Physics] Les Houches Accord PDF Interface - development files LHAPDF provides a unified and easy to use interface to modern PDF sets. It is designed to work not only with individual PDF sets but also with the more recent multiple "error" sets. It can be viewed as the successor to PDFLIB, incorporating many of the older sets found in the latter, including pion and photon PDFs. In LHAPDF the computer code and input parameters/grids are separated thus allowing more easy updating and no limit to the expansion possibilities. . This package provides development files of LHAPDF, including C++ bindings. Package: python-lhapdf Section: python Architecture: any Depends: lhapdf-pdfsets-minimal (= ${source:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Breaks: lhapdf-pdfsets-minimal (<< 5.8.8) Description: Python Bindings for LHAPDF LHAPDF provides a unified and easy to use interface to modern PDF sets. It is designed to work not only with individual PDF sets but also with the more recent multiple "error" sets. It can be viewed as the successor to PDFLIB, incorporating many of the older sets found in the latter, including pion and photon PDFs. In LHAPDF the computer code and input parameters/grids are separated thus allowing more easy updating and no limit to the expansion possibilities. . This package provides Python bindings for LHAPDF. Package: octave-lhapdf Priority: extra Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: octave, liblhapdf0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: lhapdf-pdfsets-minimal Description: Octave Bindings for LHAPDF LHAPDF provides a unified and easy to use interface to modern PDF sets. It is designed to work not only with individual PDF sets but also with the more recent multiple "error" sets. It can be viewed as the successor to PDFLIB, incorporating many of the older sets found in the latter, including pion and photon PDFs. In LHAPDF the computer code and input parameters/grids are separated thus allowing more easy updating and no limit to the expansion possibilities. . This package provides Octave bindings for LHAPDF. Package: lhapdf-pdfsets-minimal Architecture: all Depends: ${misc:Depends} Recommends: python-lhapdf Description: Minimal PDF Sets of LHAPDF LHAPDF provides a unified and easy to use interface to modern PDF sets. It is designed to work not only with individual PDF sets but also with the more recent multiple "error" sets. It can be viewed as the successor to PDFLIB, incorporating many of the older sets found in the latter, including pion and photon PDFs. In LHAPDF the computer code and input parameters/grids are separated thus allowing more easy updating and no limit to the expansion possibilities. . This package provides a minimal PDF sets required by the test suites of LHAPDF and ThePEG. . Note: the python-lhapdf package provides lhapdf-getdata script to download other PDF sets. Package: lhapdf-ccwrap-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: C++ Bindings for LHAPDF - documentation LHAPDF provides a unified and easy to use interface to modern PDF sets. It is designed to work not only with individual PDF sets but also with the more recent multiple "error" sets. It can be viewed as the successor to PDFLIB, incorporating many of the older sets found in the latter, including pion and photon PDFs. In LHAPDF the computer code and input parameters/grids are separated thus allowing more easy updating and no limit to the expansion possibilities. . This package provides documentation of C++ bindings for LHAPDF. debian/Makefile0000644000000000000000000000042212253716576010642 0ustar F90 := gfortran FC := $(F90) FFLAGS := -ffree-form LDLIBS := -lLHAPDF CXXFLAGS:= -I/usr/include/LHAPDF forsrc := $(wildcard *.f) forbin := $(forsrc:%.f=%) cxxsrc := $(wildcard *.cc) cxxbin := $(cxxsrc:%.cc=%) bin := $(forbin) $(cxxbin) all: $(bin) clean: rm -f $(bin) debian/python-lhapdf.examples0000644000000000000000000000002212253716576013513 0ustar examples/pdf-*.py debian/rules0000755000000000000000000000272212253716576010267 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) DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) CPPFLAGS :=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS :=$(shell dpkg-buildflags --get CFLAGS) CXXFLAGS :=$(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS :=$(shell dpkg-buildflags --get LDFLAGS) FFLAGS := -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 ifneq (,$(findstring $(DEB_BUILD_ARCH), hurd-i386 mips mipsel s390 armel armhf)) DEB_BUILD_OPTIONS += nocheck endif export DEB_BUILD_OPTIONS export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS FFLAGS override_dh_auto_clean: dh_auto_clean rm -rf ccwrap/doxy rm -f octave/lhapdf.oct octave/wrapoctave.o rm -f pyext/lhapdf.py pyext/lhapdf_wrap.cc rm -f src/parmsetup.inc override_dh_auto_configure: dh_auto_configure -- \ --prefix=/usr \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) # OCTDIR include /usr/share/octave/debian/defs.make override_dh_auto_install: dh_auto_install mkdir -p debian/octave-lhapdf$(OCTDIR) strip --remove-section=.comment debian/tmp/usr/share/lhapdf/lhapdf.oct install debian/tmp/usr/share/lhapdf/lhapdf.oct \ debian/octave-lhapdf$(OCTDIR) #octave-depends -poctave-lhapdf override_dh_auto_build-indep: dh_auto_build $(MAKE) -C ccwrap dox %: dh $@ --with autoreconf --parallel debian/source/0000755000000000000000000000000012253716576010504 5ustar debian/source/format0000644000000000000000000000001412253716576011712 0ustar 3.0 (quilt) debian/python-lhapdf.manpages0000644000000000000000000000005612253716576013477 0ustar debian/lhapdf-getdata.1 debian/lhapdf-query.1 debian/python-lhapdf.install0000644000000000000000000000007412253716576013352 0ustar usr/bin/lhapdf-getdata usr/bin/lhapdf-query usr/lib/python* debian/lhapdf-ccwrap-doc.install0000644000000000000000000000007012253716576014047 0ustar ccwrap/doxy/html/* usr/share/doc/lhapdf-ccwrap-doc/html debian/lhapdf-pdfsets-minimal.install0000644000000000000000000000010612253716576015121 0ustar PDFsets.index usr/share/lhapdf PDFsets/* usr/share/lhapdf/PDFsets debian/watch0000644000000000000000000000015212253716576010233 0ustar version=3 http://projects.hepforge.org/lhapdf/ .*lhapdf-(.*)\.tar\.gz \ debian ./debian/get-orig-source debian/lhapdf-query.10000644000000000000000000000152712253716576011674 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.39.4. .TH LHAPDF-QUERY "1" "May 2011" "lhapdf-query" "User Commands" .SH NAME lhapdf-query \- Query PDF values from LHAPDF .SH SYNOPSIS .B lhapdf-query [cmd] [setname|num] [memnum] x Q [flavourID] .SH DESCRIPTION .PP Retrieve PDF values from LHAPDF, given a set name, member number and values for x and Q. This will return a list of xf(x,Q2) values for each parton; specifying a parton name on the command line will return the single appropriate xf(x,Q2) value for that flavour. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR Show this help message and exit .TP \fB\-Q\fR, \fB\-\-quiet\fR Suppress normal messages .TP \fB\-V\fR, \fB\-\-verbose\fR Add extra debug messages .SH AUTHOR This manual page was written by Lifeng Sun for the Debian system (but may be used by others).