debian/0000755000000000000000000000000012262622244007170 5ustar debian/ttf-root-installer.templates0000644000000000000000000000355012253755630014672 0ustar # These templates have been reviewed by the debian-l10n-english # team # # If modifications/additions/rewording are needed, please ask # debian-l10n-english@lists.debian.org for advice. # # Even minor modifications require translation updates and such # changes should be coordinated with translators and reviewers. Template: ttf-root-installer/blurb Type: note _Description: Non-free fonts The fonts provided in this package were provided by Microsoft "in the interest of cross-platform compatibility". This is no longer the case, but they are still available from third parties. . You are free to download these fonts and use them for your own purposes, but you have no permission to redistribute them in modified form, including changes to the file name or packaging format. Template: ttf-root-installer/dldir Type: string _Description: Directory holding Microsoft fonts (if already downloaded): If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the name of the directory which contains the archive. . If you haven't yet downloaded these fonts, leave this blank and the fonts will be downloaded automatically. The download size is approximately 1.6 MB. . If you are not connected to the Internet or do not wish to download these fonts now, enter "none" to abort. Template: ttf-root-installer/baddldir Type: error _Description: Font files not found The directory you entered either does not exist, or does not contain the Microsoft TrueType Core Fonts for ROOT. Template: ttf-root-installer/savedir Type: string _Description: Archive files to (optional): If you would like to keep a permanent archive of the compressed Microsoft Core fonts, please enter the directory where you'd like them stored. If you leave this blank, the files will be deleted after installation. debian/watch0000644000000000000000000000020412253755630010223 0ustar version=3 opts=pasv,uversionmangle=s/-rc/~rc/ http://root.cern.ch/download/root_v(.*).source.tar.gz debian ./debian/get-orig-source debian/root-system-rootd.prerm0000644000000000000000000000257412253755630013707 0ustar #! /bin/sh # prerm script for root-rootd # # see: dh_installdeb(1) # Do not set - If we cannot remove the rootd user, it is OK set -e # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# case "$1" in remove) if grep ^rootd /etc/inetd.conf > /dev/null 2>&1 ; then update-inetd --remove rootd fi # Remove the rootd user and group # Taken from mysql-server package and modified for ROOT # rm -rf /var/spool/rootd if getent passwd rootd > /dev/null; then deluser rootd reason=$? if [ $reason -ne 0 ] ; then # Could not remove user. Ignore. echo "Couldn't remove user rootd, check it. Reason" case $reason in 1) echo "can't update password file" ;; 2) echo "bad command syntax" ;; 6) echo "specified user doesn't exist" ;; 8) echo "user currently logged in" ;; 10) echo "can't update group file" ;; 12) echo "can't remove home directory" ;; *) echo "Unrecognized exit code $reason" ;; esac fi fi ;; upgrade|deconfigure) # Nothing to be done here ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac # Now we set fail-on-sub-error so that the debhelper stuff is done correctly. # set -e exit 0 debian/ttf-root-installer.dirs0000644000000000000000000000006012253755630013626 0ustar usr/share/root/fonts var/lib/ttf-root-installer debian/root-system-proofd.examples0000644000000000000000000000005512253755630014532 0ustar etc/daemons/proofd.xinetd etc/proof/*.sample debian/root-system-bin.sharedmimeinfo0000644000000000000000000000113312253755630015163 0ustar ROOT data file ROOT Datei ROOT banque de donnees ROOT data fil ROOT data fil ROOT data fil debian/get-orig-source0000755000000000000000000000067012253755630012142 0ustar #!/bin/bash set -e [ $# == 3 ] url="http://root.cern.ch/download/" ver="$2" pkgdir="root-system-$ver.orig" pkg="root-system_$ver.orig.tar.gz" upver=$(echo $ver | tr '~' '-') uppkg="root_v$upver.source.tar.gz" [ ! -f "../$uppkg" ] && wget "$url/$uppkg" -O "../$uppkg" [ -d root ] && rm -rf root tar xf "../$uppkg" [ -d "$pkgdir" ] && rm -rf "$pkgdir" mv root "$pkgdir" rm -f "../$pkg" tar -zcf "../$pkg" "$pkgdir" rm -rf "$pkgdir" debian/ttf-root-installer.config0000644000000000000000000000246512253755630014145 0ustar #!/bin/sh # Config prior to download/install of Microsoft Core Fonts for the Web # # (C) 2001 Eric Sharkey. # You may freely distribute this file under the terms of the GNU General # Public License, version 2 or later set -e archive=ttf_fonts.tar.gz # Source debconf library. . /usr/share/debconf/confmodule db_title "ROOT TTF Installer" # db_reset ttf-root-installer/blurb db_input high ttf-root-installer/blurb || true db_input high ttf-root-installer/dldir || true db_go db_get ttf-root-installer/dldir dldir=$RET while [ -n "$dldir" ] && \ [ `echo $dldir | tr [:upper:] [:lower:]` != "none" ] ; do BADDIR="" if test ! -f $dldir/$archive ; then BADDIR=1 ; fi if [ -n "$BADDIR" ] ; then db_fset ttf-root-installer/baddldir seen false db_fset ttf-root-installer/dldir seen false db_input critical ttf-root-installer/baddldir || true db_input critical ttf-root-installer/dldir || true db_go db_get ttf-root-installer/dldir dldir=`echo $RET | tr [:upper:] [:lower:] ` else break fi done if [ -z "$dldir" ] || [ `echo $dldir | tr [:upper:] [:lower:]` = "none" ]; then db_input high ttf-root-installer/savedir || true db_go db_get ttf-root-installer/savedir fi # # EOF # debian/libroot-core.postinst0000644000000000000000000000042412253755630013403 0ustar #!/bin/sh -e case "$1" in configure) ldconfig ;; abort-upgrade) # do nothing ;; abort-remove) # do nothing ;; abort-deconfigure) # do nothing ;; *) echo "$0: incorrect arguments: $*" >&2 exit 1 ;; esac #DEBHELPER# debian/root-system-common.copyright0000644000000000000000000000576012253755630014733 0ustar This package was debianized by Christian Holm Christensen on Mon, 21 Feb 2005 16:28:37 +0100. It was downloaded from :pserver:cvs@root.cern.ch:/user/cvs (anonymous CVS access to main repository - password is "cvs") Upstream Authors: The ROOT Team consisting of Rene Brun and Fons Rademakers License: Copyright: 1994, 1995, 1996, 1997, 1998, 1999 ROOT Team 2000, 2001, 2002, 2003, 2004, 2005 ROOT Team 2006 ROOT Team This library 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 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License, version 2.1, can be found in /usr/share/common-licenses/LGPL-2.1. Note, that the sources and the packages have been purged of the non-free MS TTF Core fonts. The font `/usr/share/root/fonts/symbol.ttf' is made from the Ghostscript [1] PS font `s050000l.pfb' using fontforge [2], using the script `s050000l.pe'. The file `s050000l.pe' may be found in the ROOT source package. The Ghostscript PS file is licensed under the GPL, as is the `symbol.ttf' file. The copyright and license of `s050000l.pfb' is as follows: URW++ Design & Development GmbH, Valek Filippov et. al. 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; version 2 dated June, 1991. 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. As a special exception, permission is granted to include this font program in a Postscript or PDF file that consists of a document that contains text to be displayed or printed using this font, regardless of the conditions or license applying to the document itself. [1] ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ [2] http://fontforge.sourceforge.net/ On Debian systems, the complete text of the GNU General Public License, can be found in /usr/share/common-licenses/GPL. Local Variables: mode: text End: debian/rules0000755000000000000000000007243112253755630010265 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 PREFIX = /usr SYSCONFDIR = /etc DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) EXTRA_LDFLAGS := $(LDFLAGS) export CFLAGS EXTRA_LDFLAGS DEB_HOST_MULTIARCH ifeq ($(DEB_HOST_ARCH_CPU),powerpc) PLATFORM = linux else PLATFORM = endif ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) BUILDOPT = --build=debug endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM = -s endif ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif ifeq (hurd-i386,$(DEB_BUILD_ARCH)) MAKEFLAGS += -j1 endif UNUR = --enable-unuran #ifneq (,$(findstring alpha, $(DEB_BUILD_ARCH))) #UNUR = --disable-unuran #endif #XRD = --enable-xrootd #ifneq (,$(findstring sparc, $(DEB_BUILD_ARCH))) XRD = --disable-xrootd #endif DTMP = debian/tmp PKGDOCDIR = $(PREFIX)/share/doc/root CINTDIR = $(PREFIX)/lib/$(DEB_HOST_MULTIARCH)/root$(SOVERS) ICONTHEME = $(PREFIX)/share/icons/hicolor/48x48 CONFOPTIONS :=--enable-bonjour \ --enable-cintex \ --enable-editline \ --enable-explicitlink \ --enable-gdml \ --enable-globus \ --enable-gsl-shared \ --disable-gviz \ --enable-fftw3 \ --enable-krb5 \ --enable-ldap \ --enable-qt \ --enable-qtgsi \ --enable-mathcore \ --enable-mathmore \ --enable-memstat \ --enable-minuit2 \ --enable-mysql \ --enable-pgsql \ --enable-pythia8 \ --enable-odbc \ --enable-reflex \ --enable-roofit \ --enable-ruby \ --enable-shadowpw \ --enable-shared \ --enable-soversion \ --enable-sqlite \ --enable-table \ --disable-rpath \ --disable-afs \ --disable-srp \ --disable-builtin-afterimage \ --disable-builtin-ftgl \ --disable-builtin-freetype \ --disable-builtin-glew \ --disable-builtin-pcre \ --disable-builtin-zlib \ --disable-builtin-lzma \ --disable-alien \ --disable-chirp \ --disable-dcache \ --disable-gfal \ --disable-monalisa \ --disable-oracle \ --disable-pythia6 \ --disable-rfio \ --disable-sapdb \ --fail-on-missing \ --with-globus=/usr \ --with-globus-incdir=/usr/include/globus \ --with-globus-libdir=/usr/lib \ --with-pythia8-incdir=/usr/include/pythia8 \ $(UNUR) \ $(XRD) \ $(BUILDOPT) # # Things for the future # # --enable-mathcore libroot # --enable-cintex libroot # --enable-reflex libroot # --with-globus=/opt/globus # --disable-builtin-gsl # --disable-builtin \ VERSION := $(shell head -n1 debian/changelog | cut -d' ' -f2 | tr -d '()') MAJOR := $(shell echo $(VERSION) | cut -f1 -d'.') MINOR := $(shell echo $(VERSION) | cut -f2 -d'.') SOVERS := $(MAJOR).$(MINOR) PKGLIST := $(shell ./configure $(PLATFORM) --pkglist $(CONFOPTIONS) | sed -n -e 's/packages: //p') ESSENTIALS := libroot-core-dev \ libroot-core \ root-system-bin \ root-system-common \ ttf-root-installer PLUGINS := libroot-geom \ libroot-graf2d-gpad \ libroot-graf2d-graf \ libroot-graf2d-postscript \ libroot-graf3d-eve \ libroot-graf3d-g3d \ libroot-graf3d-gl \ libroot-gui \ libroot-gui-ged \ libroot-hist \ libroot-hist-spectrum \ libroot-html \ libroot-io \ libroot-io-xmlparser \ libroot-math-foam \ libroot-math-genvector \ libroot-math-mathcore \ libroot-math-mathmore \ libroot-math-matrix \ libroot-math-minuit \ libroot-math-mlp \ libroot-math-quadp \ libroot-math-physics \ libroot-math-smatrix \ libroot-math-splot \ libroot-math-unuran \ libroot-misc-minicern \ libroot-misc-memstat \ libroot-misc-table \ libroot-montecarlo-eg \ libroot-montecarlo-vmc \ libroot-net \ libroot-net-auth \ libroot-net-bonjour \ libroot-net-ldap \ libroot-proof \ libroot-proof-proofplayer \ libroot-tmva \ libroot-tree \ libroot-tree-treeplayer \ root-plugin-geom-geombuilder \ root-plugin-geom-geompainter \ root-plugin-graf2d-asimage \ root-plugin-graf2d-qt \ root-plugin-graf2d-x11 \ root-plugin-graf2d-gvi \ root-plugin-graf3d-x3d \ root-plugin-gui-fitpanel \ root-plugin-gui-guibuilder \ root-plugin-gui-qt \ root-plugin-gui-sessionviewer \ root-plugin-hist-hbook \ root-plugin-hist-histpainter \ root-plugin-hist-spectrumpainter \ root-plugin-io-sql \ root-plugin-io-xml \ root-plugin-math-fftw3 \ root-plugin-math-fumili \ root-plugin-math-minuit2 \ root-plugin-net-krb5 \ root-plugin-net-netx \ root-plugin-sql-odbc \ root-plugin-tree-treeviewer \ root-system-proofd \ root-system-doc \ root-system-rootd # root-plugin-graf2d-gviz EXTRAS := libroot-bindings-python \ libroot-roofit \ libroot-bindings-ruby \ root-plugin-geom-gdml \ root-plugin-io-castor \ root-plugin-io-chirp \ root-plugin-io-dcache \ root-plugin-montecarlo-pythia8 \ root-plugin-net-globus \ root-plugin-net-bonjour \ root-plugin-net-alien \ root-plugin-net-srp \ root-plugin-sql-maxdb \ root-plugin-sql-mysql \ root-plugin-sql-oracle \ root-plugin-sql-pgsql PLUGINLIST := $(filter-out $(EXTRAS) $(ESSENTIALS), $(PKGLIST)) EXTRALIST := $(filter-out $(PLUGINS) $(ESSENTIALS), $(PKGLIST)) PLUGINLIST := $(PLUGINLIST:libroot%=libroot%-dev) EXTRALIST := $(EXTRALIST:libroot%=libroot%-dev) PLUGINHEAD := $(filter-out $(lastword $(PLUGINLIST)), $(PLUGINLIST)) PLUGINLIST := $(PLUGINHEAD:%=%,) $(lastword $(PLUGINLIST)) EXTRAHEAD := $(filter-out $(lastword $(EXTRALIST)), $(EXTRALIST)) EXTRALIST := $(EXTRAHEAD:%=%,) $(lastword $(EXTRALIST)) TEMPLATES := $(wildcard debian/skel/*.links.in) \ $(wildcard debian/skel/*.menu.in) \ $(wildcard debian/skel/*.prerm.in) \ $(wildcard debian/skel/*.preinst.in) \ $(wildcard debian/skel/*.postinst.in) \ $(wildcard debian/skel/*.init.in) \ $(wildcard debian/skel/*.desktop.in) SPKGLIST := $(filter-out root-system-doc root-system-common ttf-root-installer, $(PKGLIST:libroot%=libroot%$(SOVERS))) $(filter libroot%, $(PKGLIST:libroot%=libroot%-dev)) libroot-static IPKGLIST := root-system-doc ttf-root-installer root-system-common root-system DPKGLIST := $(SPKGLIST:%=%,) root-system-doc, root-ttf #root-plugins root-extra-plugins SPKGOPTS := $(SPKGLIST:%=-p%) IPKGOPTS := $(IPKGLIST:%=-p%) PKGOPTS := $(IPKGOPTS) $(SPKGOPTS) HAVERUBY := $(filter libroot-bindings-ruby, $(PKGLIST)) ifeq ($(HAVERUBY), libroot-bindings-ruby) RUBYARCHDIR := $(shell ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]' | sed 's,/,,') else RUBYARCHDIR := endif HAVEPYTHON := $(filter libroot-bindings-python, $(PKGLIST)) ifeq ($(HAVEPYTHON), libroot-bindings-python) PYVERS := $(shell pyversions -vs) PYVER := $(shell python -c 'import sys; print "%d.%d" % (sys.version_info[0], sys.version_info[1])') PYTHONDIR := /usr/lib/python-support/root/python$(PYVER) else PYTHONDIR := endif # This has to be exported to make some magic below work. export DH_OPTIONS show_pkgs: @printf "SPKGLIST:\n $(foreach i, $(SPKGLIST), \t$(i)\n)" @printf "IPKGLIST:\n $(foreach i, $(IPKGLIST), \t$(i)\n)" @printf "PLUGINLIST:\n $(foreach i, $(PLUGINLIST), \t$(i)\n)" @printf "EXTRALIST:\n $(foreach i, $(EXTRALIST), \t$(i)\n)" @printf "HAVERUBY: $(HAVERUBY)\nRUBYARCHDIR: $(RUBYARCHDIR)" @printf "HAVEPYTHON: $(HAVEPYTHON)\nPYTHONDIR: $(PYTHONDIR)" ../root-system_$(VERSION).orig.tar.gz: dh_testdir ./debian/get-orig-source --upstream-version $(VERSION) $@ get-orig-source: ../root-system_$(VERSION).orig.tar.gz show_libpkgs: @echo "$(SPKGLIST)" @echo "$(patsubst %, -p%, $(filter libroot%$(SOVERS),$(SPKGLIST)))" show_conf: ./configure $(PLATFORM) --pkglist $(CONFOPTIONS) debian/%:debian/skel/%.in debian/rules @echo "Making $@ from $< " @sed -e 's,@prefix@,$(PREFIX),g' \ -e 's,@sysconfdir@,$(SYSCONFDIR),g' \ -e 's,@pkgdocdir@,$(PKGDOCDIR),g' \ -e 's,@rubyarchdir@,$(RUBYARCHDIR),g' \ -e 's,@pythondir@,$(PYTHONDIR),g' \ -e 's,@pyver@,$(PYVER),g' \ -e 's,@multiarch@,$(DEB_HOST_MULTIARCH),g' \ -e 's,@libvers@,$(SOVERS),g' < $< > $@ debian/control:debian/skel/control.in debian/rules @echo "Making $@ (special)" @cp $< $@.tmp @echo "Packages are $(PKGLIST)" @for p in $(PKGLIST) ; do \ if test -f debian/skel/$$p.control ; then \ echo "Adding package $$p to control file" ; \ cat debian/skel/$$p.control >> $@.tmp ; fi ; done @builddep="$(shell ./debian/script/makebuilddepend.sh $(PKGLIST))" && \ sed -e 's,@prefix@,$(PREFIX),g' \ -e 's,@libvers@,$(SOVERS),g' \ -e 's,@sysconfdir@,$(SYSCONFDIR),g' \ -e 's,@pkgdocdir@,$(PKGDOCDIR),g' \ -e "s/@builddepends@/$${builddep}/" \ -e 's/@pyvers@/$(PYVER)/g' \ -e 's/@pkglist@/$(DPKGLIST)/' \ -e 's/@plugins@/$(PLUGINLIST:%,=% (>= $${binary:Version}),) (>= $${binary:Version})/' \ -e 's/@extras@/$(EXTRALIST:%,=% (>= $${binary:Version}),) (>= $${binary:Version})/' < $@.tmp > $@ rm -rf $@.tmp .PRECIOUS: debian/html.C debian/html.C: rm -f $@ @echo "{" >> $@ @echo " /* magic line from Rene */" >> $@ @echo " gEnv->SetValue(\"Root.PluginPath\"," >> $@ @echo " \"$(CURDIR)/etc/plugins\");" >> $@ @echo " gEnv->SetValue(\"Root.TTFontPath\"," >> $@ @echo " \"/usr/share/fonts/truetype/freefont/:$(CURDIR)/fonts\");" >> $@ @echo " gSystem->AddIncludePath(\"$(CURDIR)/include\");" >> $@ @echo " gSystem->AddIncludePath(\"$(CURDIR)/cint/cint/include\");" >> $@ @echo " gSystem->AddIncludePath(\"$(CURDIR)/cint/cint/stl\");" >> $@ @echo " gROOT->GetPluginManager()->" >> $@ @echo " LoadHandlersFromPluginDirs(\"\");" >> $@ @echo " gROOT->GetPluginManager()->" >> $@ @echo " AddHandler(\"TVirtualPS\",\"image\"," >> $@ @echo " \"TImageDump\",\"Postscript\"," >> $@ @echo " \"TImageDump()\");" >> $@ @echo " gROOT->GetPluginManager()->" >> $@ @echo " AddHandler(\"TVirtualStreamerInfo\"," >> $@ @echo " \"*\",\"TStreamerInfo\"," >> $@ @echo " \"RIO\",\"TStreamerInfo()\");" >> $@ @echo " gROOT->GetPluginManager()->" >> $@ @echo " AddHandler(\"TVirtualGraphPainter\", \"*\"," >> $@ @echo " \"TGraphPainter\",\"GraphPainter\",">> $@ @echo " \"TGraphPainter()\");" >> $@ @echo " THtml html;" >> $@ @echo " html.SetProductName(\"ROOT\");" >> $@ @echo " html.SetEtcDir(\"$(CURDIR)/etc/html\");" >> $@ @echo " html.SetHomepage(\"http://root.cern.ch\");" >> $@ @echo " html.LoadAllLibs();" >> $@ @echo " html.SetBatch(kTRUE);" >> $@ @echo " html.MakeAll();" >> $@ @echo "}" >> $@ htmldoc:debian/html.C build-arch-cint-stamp # Download html doc. LD_LIBRARY_PATH=$(CURDIR)/lib:$(CURDIR)/cint/cint/include:$(CURDIR)/cint/cint/stl:$(CURDIR)/include:$(LD_LIBRARY_PATH) ROOTSYS=$(CURDIR) \ $(CURDIR)/bin/root.exe -l -b -q $^ # Use local images. for i in $(CURDIR)/etc/html/* ; do \ sed -i -e 's,http://root.cern.ch/drupal/sites/default/files/,,' \ -e 's,http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/,,' \ -e 's,http://root.cern.ch/drupal/sites/all/themes/newsflash/images/,,' $$i ; \ done # rm -f debian/html.C #for i in info.png root-banner.png rootdrawing-logo.png ; do \ # cp $(CURDIR)/debian/$$i $(CURDIR)/htmldoc/$$i ; done @touch htmldoc-stamp htmldoc-stamp: htmldoc configure-stamp:$(TEMPLATES:debian/skel/%.in=debian/%) config.status config.status: configure dh_testdir tar -xvzf math/unuran/src/unuran* #if change, correct unurar version mv unuran-1.8.0-root ./math/unuran/src/. cp /usr/share/misc/config.guess \ math/unuran/src/unuran-1.8.0-root/autoconf cp /usr/share/misc/config.sub \ math/unuran/src/unuran-1.8.0-root/autoconf sed -i -e 's/auxilliary/auxiliary/' \ math/unuran/src/unuran-1.8.0-root/src/urng/urng_default.c \ math/unuran/src/unuran-1.8.0-root/src/parser/make_stringparser.pl sed -i -e 's/splitted/split/g' \ math/unuran/src/unuran-1.8.0-root/src/methods/tdr_ps_init.ch \ math/unuran/src/unuran-1.8.0-root/src/methods/tdr_gw_init.ch \ math/unuran/src/unuran-1.8.0-root/src/methods/arou.c \ math/unuran/src/unuran-1.8.0-root/src/methods/tabl_init.ch sed -i -e 's/unkown/unknown/' \ math/unuran/src/unuran-1.8.0-root/src/distributions/c_burr.c debconf-updatepo --podir=./debian/po #cp /usr/share/misc/config.guess graf2d/asimage/src/libAfterImage/ #cp /usr/share/misc/config.sub graf2d/asimage/src/libAfterImage/ # Add here commands to configure the package. ./configure $(PLATFORM) \ --prefix=$(PREFIX) \ --mandir=$(PREFIX)/share/man/man1 \ --docdir=$(PKGDOCDIR) \ --cintincdir=$(CINTDIR) \ --etcdir=$(SYSCONFDIR)/root \ --with-sys-iconpath=$(PREFIX)/share/pixmaps \ --libdir=$(CINTDIR) \ $(CONFOPTIONS) touch math/unuran/src/headers.d touch configure-stamp # --fontdir=%_datadir/root/fonts/truetype #Architecture build: build-arch build-indep build-arch: build-arch-cint-stamp build-arch-stamp: configure-stamp # Add here commands to compile the arch part of the package. #$(MAKE) ASTEPETAG= XROOTDETAG= UNURANETAG= $(MAKE) $(MAKEFLAGS) UNURANETAG= $(MAKE) $(MAKEFLAGS) static UNURANETAG= touch build-arch-stamp build-arch-cint-stamp:build-arch-stamp $(MAKE) all-cintdlls touch build-arch-cint-stamp build-indep: build-indep-stamp build-indep-stamp: configure-stamp # Add here commands to compile the indep part of the package. #$(MAKE) doc touch build-indep-stamp clean: $(TEMPLATES:debian/skel/%.in=debian/%) dh_testdir dh_testroot rm -rf math/unuran/src/unuran-1.8.0-root rm -f *.tmp #rm -f graf2d/asimage/src/libAfterImage/config.guess #rm -f graf2d/asimage/src/libAfterImage/config.sub rm -f debian/pyversions debian/pycombat debian/html.C rm -f build-arch-stamp build-indep-stamp build-arch-cint-stamp \ config.status configure-stamp config.log htmldoc-stamp rm -rf minuit2/src/Minuit-1_7_6 rm -rf freetype/src/freetype-2.1.9 #-rm -rf asimage/src/libAfterImage rm -rf debian/*.files debian/*.install rm -f macros/html.C rm -f memstat.root rm -f *.Cexec rm -f cint/MAKEINFO rm -f etc/daemons/proofd.rc.d rm -f etc/daemons/proofd.xinetd rm -f etc/daemons/rootd.rc.d rm -f etc/daemons/rootd.xinetd rm -f etc/daemons/olbd.rc.d rm -f qtgsi/src/G__QtGSI.cxx qtgsi/src/G__QtGSI.h rm -f qt/src/moc_*.cxx rm -f G__genreflex_rootcint.h rm -f graf2d/asimage/src/libAfterImage/Makefile rm -f graf2d/asimage/src/libAfterImage/afterimage-config rm -f graf2d/asimage/src/libAfterImage/afterimage-libs rm -f graf2d/asimage/src/libAfterImage/config.h rm -f graf2d/asimage/src/libAfterImage/config.log rm -f graf2d/asimage/src/libAfterImage/config.status rm -f graf2d/asimage/src/libAfterImage/libAfterImage.a find . -name ".#*" | xargs rm -rf find . \( -name "G__*.cxx" \ -or -name "G__*.h" \ -or -name "G__*.c" \) \ -and -not -name "G__ci.h" \ -and -not -name G__postprocess.h \ -and -not -name "G__main.c" \ -and -not -name "G__setup.c" \ -and -not -name "G__ci_fproto.h" \ -and -not -name "G__security.h" \ | xargs rm -rf # Add here commands to clean up after the build process. [ ! -f config/Makefile.config ] || $(MAKE) distclean \ UNURANETAG= \ UNURKEEP=yes # OK to ignore errors for these - makecintdll.sh might fail -for i in climits complex deque exception list map2 map multimap2 \ multimap multiset queue set stack stdexcept valarray \ vectorbool vector ; do \ ./debian/script/makecintdll.sh clean $$i ; done rm -rf bin lib include htmldoc \ system.rootrc \ config/Makefile.config \ README/Changelog \ etc/system.rootrc \ etc/system.rootauthrc \ etc/system.rootdaemonrc \ etc/root.mimes \ build/misc/root-help.el \ debian/*.files \ debian/*.install \ debian/shlibs.local \ graf2d/freetype/src/freetype-2.1.3 \ cint/cint/lib/posix/a.out \ cint/cint/lib/posix/mktypes \ cint/cint/include/*.so* \ cint/cint/include/*.dll \ cint/cint/include/sys/*.so* \ cint/cint/include/sys/*.dll \ cint/cint/stl/*.so* \ cint/cint/stl/*.dll \ core/pcre/src/pcre-6.4 \ math/unuran/src/unuran-*-root/config.status \ math/unuran/src/unuran-*-root/config.log \ htmldoc \ math/unuran/src/unuran-*-root/config.h \ math/unuran/src/unuran-*-root/Makefile \ math/unuran/src/unuran-*-root/libtool \ math/unuran/src/unuran-*-root/stamp-h1 \ math/unuran/src/unuran-*-root/src/Makefile \ math/unuran/src/unuran-*-root/src/distr/Makefile \ math/unuran/src/unuran-*-root/src/utils/Makefile \ math/unuran/src/unuran-*-root/src/distributions/Makefile \ math/unuran/src/unuran-*-root/src/tests/Makefile \ math/unuran/src/unuran-*-root/src/methods/Makefile \ math/unuran/src/unuran-*-root/src/specfunct/Makefile \ math/unuran/src/unuran-*-root/src/urng/Makefile \ math/unuran/src/unuran-*-root/src/uniform/Makefile \ math/unuran/src/unuran-*-root/src/parser/Makefile # touch graf2d/asimage/src/headers.d rm -f $(filter-out debian/control, $(TEMPLATES:debian/skel/%.in=debian/%)) dh_clean pkglists: rm -rf debian/*.files debian/*.install ./debian/script/makelists.sh debian debian/tmp \ $(VERSION) $(PREFIX) $(SYSCONFDIR) $(PKGDOCDIR) mv debian/libroot-bindings-python.links \ debian/libroot-bindings-python$(SOVERS).links # @for i in debian/libroot* ; do \ # if test -d $$i ; then continue ; fi ; \ # case $$i in \ # *-dev.*|*.in|libroot*$(SOVERS).*) continue ;; \ # *) echo "Renaming $$i to version specific" ; \ # cp $$i `echo $$i | sed 's/libroot\(.*\)\.\(.*\)/libroot\1$(SOVERS).\2/'` ;; esac ; \ # done install: install-indep install-arch #install-indep: htmldoc-stamp install-indep: install-arch dh_testdir dh_testroot dh_prep -i -X$(DTMP) dh_installdirs -i # Add here commands to install the indep part of the package into # debian/-doc. #INSTALLDOC# # dh_install $(IPKGOPTS) --sourcedir=$(DTMP) dh_install -i --sourcedir=$(DTMP) #inserted comment htmldoc line #cp -a htmldoc/ $(CURDIR)/debian/root-system-doc/usr/share/doc/root/html #mkdir -p $(CURDIR)/debian/root-system-doc/usr/share/doc/root/html #rm -f $(CURDIR)/debian/root-system-doc/usr/share/doc/root/html/tmva/LICENSE # Make sym-link so that web-page refers to installed tutorials dir. #cd $(CURDIR)/debian/root-system-doc/usr/share/doc/root/html; \ # ln -s ../tutorials # Fix some permissions -find debian/root-system-common/$(PREFIX)/share/root/icons \ -perm 0755 -and -not -type d | xargs chmod a-x # Install sha256sums for ttf installer cp -a debian/ttf-root-installer.sha256sums \ debian/ttf-root-installer/var/lib/ttf-root-installer/sha256sums dh_lintian -i install-arch: build-arch dh_testroot dh_prep -s -X$(DTMP) # Need to clean this, because we don't want to use the # symblic links made later on. rm -rf $(DTMP)$(CINTDIR) dh_installdirs -s # Add here commands to install the arch part of the package into # $(DTMP). #$(MAKE) install DESTDIR=$(CURDIR)/$(DTMP) \ # ASTEPETAG= XROOTDETAG= UNURANETAG= $(MAKE) install DESTDIR=$(CURDIR)/$(DTMP) UNURANETAG= # Install desktop entry and icon mkdir -p $(DTMP)$(PREFIX)/share/applications mkdir -p $(DTMP)$(PREFIX)/share/pixmaps mkdir -p $(DTMP)$(ICONTHEME)/apps mkdir -p $(DTMP)$(ICONTHEME)/mimetypes cp debian/root-system-bin.desktop $(DTMP)$(PREFIX)/share/applications cp debian/root-system-bin.xpm \ $(DTMP)$(PREFIX)/share/pixmaps/root-system-bin.xpm cp build/package/debian/root-system-bin.png \ $(DTMP)$(ICONTHEME)/apps/root-system-bin.png #cp build/package/debian/application-x-root.png \ # $(DTMP)$(ICONTHEME)/mimetypes/application-x-root.png # Make root-config output '/usr/lib/$(DEB_HOST_MULTIARCH)' instead of # '/usr/lib/$(DEB_HOST_MULTIARCH)/root' sed 's,$(CINTDIR),$(PREFIX)/lib/$(DEB_HOST_MULTIARCH),' \ < $(DTMP)$(PREFIX)/bin/root-config > root-config.tmp mv root-config.tmp $(DTMP)$(PREFIX)/bin/root-config # Make default ZIP mode be new library (system library), # remove ROOT plug-in library from load path, since this file # is supposed to be version independent. # and set start-up url of TBrowser embedded HTML renderer to # be local install of documentation sed -e 's,Root\.ZipMode:.*,Root.ZipMode: 1,' \ -e 's,\(.*\.DynamicPath:.*\):$(PREFIX)/lib/$(DEB_HOST_MULTIARCH)/root[^:]*\(.*\),\1\2,' \ -e 's,\(Browser.StartUrl: *\).*,\1http://localhost/doc/root/html/index.html,'\ < $(DTMP)$(SYSCONFDIR)/root/system.rootrc > rootrc.tmp mv rootrc.tmp $(DTMP)$(SYSCONFDIR)/root/system.rootrc # Rename proofserv in /usr/bin to end in `.bin' and make wrapper # script in /usr/bin i=proofserv; \ if test -f $(DTMP)$(PREFIX)/bin/$$i && \ test -f debian/skel/$$i.in ; then \ mv $(DTMP)$(PREFIX)/bin/$$i \ $(DTMP)$(PREFIX)/bin/$$i.bin ; \ sed -e 's,@prefix@,$(PREFIX),g' \ -e 's,@libvers@,$(SOVERS),g' \ < debian/skel/$$i.in \ > $(DTMP)$(PREFIX)/bin/$$i ; \ chmod 755 $(DTMP)$(PREFIX)/bin/$$i ; \ else \ echo $i missing in $(DTMP)$(PREFIX)/bin ; fi # Make the empty proof log file mkdir -p $(DTMP)$(PREFIX)/share/root/proof/log touch $(DTMP)$(PREFIX)/share/root/proof/log/proof.log # Let usr/include/root/cfortran.h point to usr/include/cfortran.h rm -rf $(DTMP)$(PREFIX)/include/root/cfortran.h (cd $(DTMP)$(PREFIX)/include/root && ln -s ../cfortran.h cfortran.h) # Remove some unwanted files rm -rf $(DTMP)$(PREFIX)/share/doc/root/INSTALL rm -rf $(DTMP)$(PREFIX)/share/doc/root/LICENSE rm -rf $(DTMP)$(PREFIX)/share/doc/root/COPYING.CINT rm -rf $(DTMP)$(PREFIX)/share/doc/root/cfortran.doc rm -rf $(DTMP)$(PREFIX)/share/root/fonts/LICENSE rm -rf $(DTMP)$(CINTDIR)/cint/lib/posix/a.out rm -rf $(DTMP)$(CINTDIR)/cint/lib/posix/mktypes rm -rf $(DTMP)$(CINTDIR)/cint/lib/dll_stl/setup rm -rf $(DTMP)$(CINTDIR)/cint/lib/G__* rm -rf $(DTMP)$(CINTDIR)/cint/lib/dll_stl/G__* rm -rf $(DTMP)$(CINTDIR)/cint/lib/dll_stl/rootcint_* rm -rf $(DTMP)$(CINTDIR)/cint/lib/posix/exten.o rm -rf $(DTMP)$(CINTDIR)/cint/include/makehpib rm -rf $(DTMP)$(CINTDIR)/cint/lib/WildCard/ARCHIVE rm -rf $(DTMP)$(CINTDIR)/cint/lib/cintocx rm -rf $(DTMP)$(CINTDIR)/cint/lib/gl/setup.bat rm -rf $(DTMP)$(CINTDIR)/cint/lib/posix/setup.bat rm -rf $(DTMP)$(CINTDIR)/cint/lib/posix/setupsc.bat rm -rf $(DTMP)$(CINTDIR)/cint/lib/posix/winposix.c rm -rf $(DTMP)$(CINTDIR)/cint/lib/posix/winposix.h rm -rf $(DTMP)$(CINTDIR)/cint/lib/wintcldl83 rm -rf $(DTMP)$(CINTDIR)/cint/lib/win32api rm -rf $(DTMP)$(CINTDIR)/cint/lib/vcstream # Remove MacOSX service descriptions rm -rf $(DTMP)$(SYSCONFDIR)/root/*.plist # Remove Xinetd and Red Hat Init scripts from /etc rm -rf $(DTMP)$(SYSCONFDIR)/root/*.xinetd rm -rf $(DTMP)$(SYSCONFDIR)/root/proofd rm -rf $(DTMP)$(SYSCONFDIR)/root/rootd rm -rf $(DTMP)$(SYSCONFDIR)/root/xrootd rm -rf $(DTMP)$(SYSCONFDIR)/root/olbd # Remove sample configurations for PROOF rm -rf $(DTMP)/$(PREFIX)/share/root/proof/etc/*.sample # Remove the CVS directories if present find $(DTMP) -name "CVS" | xargs rm -fr find $(DTMP) -name ".cvsignore" | xargs rm -fr # Fix some permissions -find $(DTMP)$(CINTDIR)/cint \ -perm 755 -and -not -type d | xargs chmod a-x -chmod a+x $(DTMP)$(CINTDIR)/cint/lib/pthread/setup -chmod a+x $(DTMP)$(CINTDIR)/cint/lib/WildCard/setup -chmod a-x $(DTMP)$(CINTDIR)/*.py -chmod a-x $(DTMP)$(SYSCONFDIR)/root/html/* # -chmod a+x $(DTMP)$(CINTDIR)/GDMLROOT.py # Remove she-bang line from a python scripts -for i in $(DTMP)$(CINTDIR)/*.py ; do \ sed -e 's,#!/usr/bin/env python[0-9.]*,#,' \ -e 's,#!/usr/bin/python[0-9.]*,#,' \ < $$i > $$i.tmp ; \ mv $$i.tmp $$i ; \ done # Make file lists mkdir -p $(DTMP)$(PREFIX)/lib/$(DEB_HOST_MULTIARCH) ./debian/rules pkglists # --sourcedir=$(DTMP) $(SPKGOPTS) # only x86/x64 build cintex case `uname -m` in \ i*86 | x86_64) ;; \ *) sed -i -e '/PyCintex/d' \ debian/libroot-bindings-python$(SOVERS).install;; \ esac mv $(DTMP)$(CINTDIR)/libRoot.a \ $(DTMP)$(PREFIX)/lib/$(DEB_HOST_MULTIARCH) dh_install -s \ --list-missing \ --sourcedir=$(DTMP) \ -X$(PREFIX)/include/root/config.h \ -X$(PREFIX)/include/root/rootcint.pri \ -X$(PREFIX)/include/root/rootcintrule.pri \ -X$(PREFIX)/include/root/rootlibs.pri \ -X$(PREFIX)/include/root/precompile.h \ -X$(PREFIX)/include/root/precompile.h.gch \ -X$(PREFIX)/include/root/TQtWidget.cw \ -X$(PREFIX)/share/root/fonts \ -X$(PREFIX)/share/doc/root \ -X$(PREFIX)/share/man/man1/system.rootdaemonrc.1 \ -X$(PREFIX)/bin/thisroot.sh \ -X$(PREFIX)/bin/thisroot.csh \ -X$(PREFIX)/share/root/icons/ \ -X$(SYSCONFDIR)/root/rootd \ -X$(SYSCONFDIR)/root/daemons/ \ -X$(SYSCONFDIR)/root/proof/ \ -X$(SYSCONFDIR)/root/html \ -X$(SYSCONFDIR)/root/RadioNuclides.txt \ -X$(SYSCONFDIR)/root/gdb-backtrace-script \ -X$(SYSCONFDIR)/root/gdb-backtrace.sh \ -X$(SYSCONFDIR)/root/hostcert.conf \ -X$(SYSCONFDIR)/root/pdg_table.txt \ -X$(SYSCONFDIR)/root/root.mimes \ -X$(SYSCONFDIR)/root/system.rootrc \ -X$(SYSCONFDIR)/root/system.rootauthrc \ -X$(SYSCONFDIR)/root/system.rootdaemonrc \ -X$(CINTDIR)/libAfterImage.a \ -X$(CINTDIR)/PyCintex.pyc \ -X$(CINTDIR)/PyCintex.pyo \ -X$(CINTDIR)/ROOT.pyc \ -X$(CINTDIR)/ROOT.pyo \ -X$(CINTDIR)/cint7 \ -X$(PREFIX)/include/root/Minuit2 # $(foreach i, \ # $(wildcard $(DTMP)/$(PREFIX)/lib/root/lib*.so.$(SOVERS)), \ # -X$(i:$(DTMP)/%=%) ) dh_lintian -s # ship spool as empty dir, see #677053 mkdir -p debian/root-system-rootd/var/spool/rootd/tmp mkdir -p debian/root-system-rootd/var/spool/rootd/pub # This is for alternatives registration, if one want's to install # Richard Kreckels cint package next to ROOT # mv debian/root-system-bin/$(PREFIX)/bin/cint \ # debian/root-system-bin/$(PREFIX)/bin/cint.root # mv debian/root-system-bin/$(PREFIX)/bin/makecint \ # debian/root-system-bin/$(PREFIX)/bin/makecint.root # mv debian/root-system-bin/$(PREFIX)/share/man/man1/cint.1 \ # debian/root-system-bin/$(PREFIX)/share/man/man1/cint.root.1 # mv debian/root-system-bin/$(PREFIX)/share/man/man1/makecint.1 \ # debian/root-system-bin/$(PREFIX)/share/man/man1/makecint.root.1 # Must not depend on anything. This is to be called by # binary-arch/binary-indep # in another 'make' thread. binary-common: dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_installmenu dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam dh_installmime dh_installinit # dh_installcron # dh_installinfo dh_installman dh_link dh_strip dh_compress \ -Xusr/share/doc/root/test \ -Xusr/share/doc/root/tutorials \ -Xusr/share/doc/root/html dh_fixperms # dh_perl # Build architecture independent packages using the common target. binary-indep: build-indep install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture dependent packages using the common target. binary-arch: install-arch $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common ifeq ($(HAVEPYTHON), libroot-bindings-python) # We make this here, so that we get the right python version on the # system compiling. echo "$(PYVER)-" > debian/pyversions endif dh_python2 -plibroot-bindings-python$(SOVERS) # $(CINTDIR) $(PREFIX)/lib/$(DEB_HOST_MULTIARCH) dh_python2 -plibroot-core-dev \ $(CINTDIR)/python/genreflex ifeq ($(HAVEPYTHON), libroot-bindings-python) # dh_python2 will only write this field if the package is # named something like 'python-*', so we make it ourselves. echo "python:Provides=python$(PYVER)-pyroot" >> debian/libroot-bindings-python$(SOVERS).substvars endif dh_makeshlibs -V \ $(patsubst %, -p%, $(filter libroot%$(SOVERS),$(SPKGLIST))) dh_makeshlibs -V \ $(patsubst %, -p%, $(filter root-plugin%,$(SPKGLIST))) dh_installdeb -s dh_shlibdeps -s $(SPKGLIST:%=-L%) \ -l$(shell echo $(SPKGLIST:%=$(CURDIR)/debian/%$(CINTDIR)/) | tr ' ' ':') -- --warnings=1 dh_gencontrol -s dh_md5sums -s dh_builddeb -s binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch get-orig-source # # EOF # debian/root-system-rootd.postinst0000644000000000000000000000474012253755630014442 0ustar #! /bin/sh set -e case "$1" in configure) # Install user rootd for anonymous file access in /var/spool/rootd # directory. # The lines below are taken from the mysql-server package, and # modified to reflects the needs of rootd. # Make sure we can add a user properly if [ ! -x "`which adduser`" ]; then echo "I need adduser(8) from the adduser package !"; exit 1; fi if [ ! -x "`which addgroup`" ]; then echo "I need addgroup(8) from the adduser package !"; exit 1; fi if [ ! -x "`which usermod`" ]; then echo "I need usermod(8) from the passwd package !"; exit 1; fi # Now we have to ensure the following state: # /etc/passwd: rootd:x:Anonymous rootd:/var/spool/rootd:/bin/false # /etc/group: rootd:x:72:rootd if ! getent group rootd > /dev/null; then addgroup --system rootd fi if ! getent passwd rootd > /dev/null; then #echo Adding system user: rootd. adduser \ --system \ --disabled-login \ --ingroup rootd \ --gecos "Anonymous rootd" \ --shell /bin/false \ --home /var/spool/rootd \ rootd >/dev/null fi chown rootd:rootd /var/spool/rootd # modifying the user # usermod -c "Anonymous rootd" rootd > /dev/null # usermod -d "/var/spool/rootd" rootd > /dev/null # usermod -g "rootd" rootd > /dev/null # usermod -s "/bin/false" rootd > /dev/null # Since the home directory was created before putting the user # into the rootd group and moreover we cannot guarantee that # the permissions were correctly *before* calling this script, # we fix them now. #echo #echo "SECURITY: Fixing permission of /var/spool/rootd !" #echo "(I.e. replacing GIDs other than root and rootd with rootd.)" #echo find /var/spool/rootd \ -not \( -group root -or -group rootd \) \ -exec chgrp rootd {} \; # Make tmp and pub directories in /var/spool/rootd # world read- and writable. if [ -d /var/spool/rootd/tmp ] ; then chmod 1777 /var/spool/rootd/tmp fi if [ -d /var/spool/rootd/pub ] ; then chmod 1777 /var/spool/rootd/pub fi # Nothing to be done here # if [ "$1" = "upgrade" ] # then # start-stop-daemon --stop --quiet --oknodo \ # --pidfile /var/run/root.pid \ # --exec @prefix@/sbin/root 2>/dev/null || true # fi ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# debian/ttf-root-installer.sha256sums0000644000000000000000000000467112253755630014621 0ustar ab638a6a4bdbda8be8fb0aac6eb4f69541765f60291c1b3f681f2911e6b2ddb1 arialbd.ttf 01e42b5cc8dacc43664af06d377c3652a0b1a5cacecd3de99d59c62a8e643a72 arialbi.ttf b4be860554eedf38a2d8a4a5dddda488ea8870523ad3567dd08783995a5f6f06 ariali.ttf 5a43f55a6166780d43a351a6c112daceb6e2855f20d2f32edaae33dca58b97c8 arial.ttf e553601fe667e91f040e24a88d49bfaafe1de89e7616e6a81733e26bb94b9ab5 ariblk.ttf 9a6df26dfdb367bd1a0cddf201e7fdfdeb64ac7de0e4cf53813515b2865d9608 comicbd.ttf 08e336a641ef44f0a6c745a52c64ba10ad58a8aad631e3db79c98cb703b9893f comic.ttf c391964f35bd80ad03aec3019f9b6e2267f4ff4253ddb49174163b325b0e0fad courbd.ttf 2eb59450f7405c27f95ab88049d49413e91f638e571451c31931e857db561e27 courbi.ttf 94450160219c7145e00440b52ffb7c5ee765efbfba2e2d073254f72cff327689 couri.ttf f450ed481208d51ca2ebf4bf01649fdceeb36295e887c8f6166d411740879619 cour.ttf aa53fab49b006325c42dd2ebcbc9daaed25dd51623ef884deecd2103c25a3025 georgiab.ttf 0010b652c5b23236352e19444f04c1273e158ac4e32da40ff0ddc5dfb88a00e0 georgiai.ttf c4c13685f658ae0f19cc27ca01fc897d088da03ee5749d04cc1b9c8fc6c2120b georgia.ttf 30c9eff27c96f52e6632a29e322191ae7ce1ca3d86cbcc737a2740a9420d571b georgiaz.ttf 37818cc75fbaff2991b65dad617feb3f0a95df5a0a472f15b7782fbc1aa7dd61 impact.ttf 52b10e4ff3142adfe0634d32aff79d74eea63ca2a2eaf8016001487b183a83a1 monotype.ttf 12af2fec15206fb188d716ba66911e18797a27c756e1fad97dad000bfc37eef7 symbol.ttf 02014e120d0a8582b130582ce03c405643a8a751eeb4af94905b35311b2e2334 timesbd.ttf 4d48db0cfa5ceb4566714052519dc0b02e871da04d262d30022c62daa51238fa timesbi.ttf 5d2b795310280640255b71ab63fad142e51670898461842d8e09c66a589f2a42 timesi.ttf 26b91be3951c947090d16eef4928a10bdc08b89e5322b4b17005ce76a29d7ed2 times.ttf d8fe80ea31a5b11dc1f179b7bb0ca7f1995ff8ec1356fa2e93cfbf8f7423a0d7 trebucbd.ttf 4f4cf68016af9a6a5c114d9accee78b27dbc4c16bed03f0642d56d30354fb6a8 trebucbi.ttf 9dd37d69907c6cffc7524e466f944cbd22ef34fce83686a8e3e940c54f13ceaa trebucit.ttf b2f6a62527add1c1c6307e90852f1c2fff5f297156ccc5fa9338a2a776b0ab89 trebuc.ttf eb120818af5277b256bc56814f9a0d0e7678e166016fecca44f818de0b925b7e verdanab.ttf 5e8130ce5b5e6e7b33dec2264b7a5dc4f97e75c89a01eeba9d61c97f9402fe13 verdanai.ttf 836697de9e101a21557563d35f6c3cd4529810d909ab8c0979e790b14d3bd02a verdana.ttf f5cd068af31c8aa6574b2a9437ffdf15a574ce89bad016f4f9501d5dd3102764 verdanaz.ttf 27cec47f691ec1b7211979657f5cb3a144d2fddd1f716ea7e05bef6baf55a1a8 webdings.ttf 2a367bb1ae06b4c0aca764a1a6fbbac41c61ecf4f5606d475521241bcb7dc057 wingding.ttf debian/README.Debian0000644000000000000000000005104612253755630011245 0ustar root for Debian --------------- Abstract: ========= This document outlines the contents, design, and considerations that went into making the ROOT packages for Debian and Redhat. First part is of general interest, while the second part is for people who'd like to know the full story (needed if you want to build the packages your self or do fixes). Introduction: ============= These are the Debian GNU/Linux and Redhat packages of ROOT, the analysis frame work written in C++. Meta package: * root-system This will install the core of ROOT, plus some of the most useful packages. Note, this works best on Debian as Debian has a higher level of granularity than Red Hat when it comes to dependencies. The core packages are: * libroot Basic ROOT libraries * libroot-dev The header files for the ROOT libraries * root-system-common Common files for ROOT * root-system-bin The interactive interface and utilities * root-system-doc Examples and tutorials A few `server' packages are available * root-system-rootd Remote fileserver * root-system-proofd PROOF environment * root-system-xrootd Extendend ROOT Remote File server A few `extension' packages * libroot-clarens Grid-Enabled Web Services * libroot-clarens-dev Development files for libroot-clarens * libroot-mlp Multi-Layer-Perceptron Neural Net (**) * libroot-mlp-dev Development files for libroot-mlp * libroot-minuit Fitting algorithm for ROOT (**) * libroot-minuit-dev Development files for libroot-minuit * libroot-python Python interface to ROOT * libroot-python-dev Development files for libroot-python * libroot-ruby Ruby interface to ROOT * libroot-ruby-dev Development files for libroot-ruby Further more, there's a number of plugin packages. Which exactly are built depends on your system. * root-plugin-alien AliEN interface (*,***) * root-plugin-asimage AfterStep image manipulation plugin * root-plugin-castor Interface to CASTOR managed tape robots (***) * root-plugin-chirp Access files via the Chirp protocol (***) * root-plugin-dcache Access to files data via a dCache server (***) * root-plugin-fumuli Alternative fitting algorithm for ROOT (**) * root-plugin-globus Authentication and authorisation against Globus(*,***) * root-plugin-gl OpenGL support using Mesa (or XFree) * root-plugin-hbook Conversion tools from HBOOK to ROOT files * root-plugin-ldap Interface to LDAP * root-plugin-mysql MySQL client for ROOT * root-plugin-netx Client for XRootd server (**) * root-plugin-oracle Oracle client for ROOT (***) * root-plugin-peac Proof Enabled Analysis Center plugin * root-plugin-pqsql PostGreSQL client for ROOT * root-plugin-proof PROOF Client (**) * root-plugin-pythia5 Wrapper for Pythia event generator (version 5) (***) * root-plugin-pythia6 Wrapper for Pythia event generator (version 6) (***) * root-plugin-qt ROOT GUIs using QT * root-plugin-quadp Quadratic Programming plugin * root-plugin-maxdb MaxDB/SapDB client for ROOT * root-plugin-venus Wrapper for Venus event generator (***) * root-plugin-xml XML plugin for ROOT (*) Note that these packages have not been tested. (**) These packages can always be build, as they do not depend on external packages. As such, they can be considered part of an extended `base' system. (***) These packages are not distributed by Debian for license, and availability reasons. The packages are structured like this, to allow maximum modularity and flexibility for the user. The `root-plugin-' contain proper plug-ins, and should not be linked to by the developer. For example `root-plugin-minuit' contain `libMinuit'. This library is automatically loaded when one starts fitting data if the proper `TEnv' value is set in `.rootrc'. However, `libFumili' from `root-plugin-fumili' could also be loaded if so specified in `.rootrc'. The point here is, that the developer should not use `TMinuit' or similar directly in their code. Instead they should use the proper virtual interface (e.g., `TVirtualFitter'), and leave the decision of which concrete implementation to use to the user. The `libroot-' packages contain proper extensions, which the developer can link to explicitly, or load dynamically via ROOT. Hence, these packages comes in pairs - a run-time shared library package, and a development package. The latest Debian GNU/Linux packages should be available from [1], and a back catalogue as well as latest build should be available from the ROOT web-site [2]. [1] deb http://mirror.phy.bnl.gov/debian-root unstable main contrib [2] http://root.cern.ch Original Sources: ================= The packaging scripts for both Debian GNU/Linux and Redhat - those normally found in "/debian" or as a separate "spec" file - are a part of the of the ROOT source tree, hence no patches has been applied to build the packages. In fact, the ROOT team maintainer and the maintainers of the packages has worked closely together on making ROOT packages for Debian GNU/Linux and Redhat as easy as possible. This cooperate work has made many improvements to both the packages, as well as for the ROOT system itself. The sources for ROOT are available via anonymous CVS from Repository: :pserver:cvs@root.cern.ch:/user/cvs Password: cvs For more availability of ROOT, including other OSs then Linux - IBM AIX, HP Unix, Digital Unix on Alpha, FreeBSD, Windows, and many others - please refer to [1]. [1] http://root.cern.ch Parallel Redhat and Debian GNU/Linux Packages: ============================================== These packages was developed in parallel on both Debian GNU/Linux and Redhat, so that a coherent outlook could be maintained over the two Linux distributions. Documentation, Mailing list and Questions: ========================================== No documentation package is made. This is because the documentation is vast and not particularly manageable in a package. Instead, please refer to the ROOT web-site [1]. There you'll find reference pages for every class in ROOT [2], as well as a printable Users guide [3]. There's a mailing list for ROOT issues at [4], and an archive is available via the main ROOT web page [5]. Do not mail directly to the maintainer with questions on ROOT. Instead mail questions to [5] - The maintainer is on that list and will happily answer questions in that forum. [1] http://root.cern.ch [2] http://root.cern.ch/root/htmldoc/ClassIndex.html [3] http://root.cern.ch/root/UsersGuide.html [4] mailto:roottalk@root.cern.ch [5] http://root.cern.ch/root/AboutRootTalk.html Pure CINT and ROOT's CINT: ========================== To facilitate a parallel installation of a Pure CINT on a Debian GNU/Linux system, the `root-system-bin' package exploits the "alternatives" feature of dpkg. Since most ROOT users never use the Pure CINT programs "cint" and "makecint" is is reasonably safe to have a Pure CINT installation next to ROOT. A Debian GNU/Linux package of CINT is being maintained by Richard B. Kreckel. The pure CINT packages have not been in Debian for some time now. However, the alternatives are still used, as the pure CINT packages might get resurrected at some point in the future. I (Christian Holm) know of no such system on Redhat so no attempt to provide a similar mechanism has been tried. If anyone should know about such a system, please let us know. Building the Package: ===================== The basic process of building the RPM and Debian packages is given in README/INSTALL; here we'll go into the details. Basic configuration: -------------------- The source tree is configured with ./configure \ --prefix= \ --etcdir= \ --enable-table \ --enable-shared \ --enable-soversion \ --disable-afs \ --disable-srp \ --with-sys-iconpath=/usr/share/pixmaps \ --with-ttf-fontdir=/usr/share/fonts/truetype * 3rd party libraries: The packages will use third-party shared libraries when ever possible. This is noted in the below items. * TrueType Font Support: Note, that if you want to have system wide TrueType Font support, you can install the fonts into the directory @prefix@/share/fonts/truetype It's possible for individual users to override this path, using the lines # Path where to look for TrueType fonts Unix.*.Root.UseTTFonts: true Unix.*.Root.TTFontPath: in thier "~/.rootrc", where is the path to the TrueType Fonts. The currently supported TrueType Fonts in ROOT are: # Descriptive name file ----------------------------------------------- 1 : times-medium-i-normal timesi.ttf 2 : times-bold-r-normal timesbd.ttf 3 : times-bold-i-normal timesi.ttf 4 : helvetica-medium-r-normal arial.ttf 5 : helvetica-medium-o-normal ariali.ttf 6 : helvetica-bold-r-normal arialbd.ttf 7 : helvetica-bold-o-normal arialbi.ttf 8 : courier-medium-r-normal cour.ttf 9 : courier-medium-o-normal couri.ttf 10 : courier-bold-r-normal courbd.ttf 11 : courier-bold-o-normal courbi.ttf 12 : symbol-medium-r-normal symbol.ttf 13 : times-medium-r-normal times.ttf 14 : wingding.ttf Please note, that these fonts are copyright of Microsoft, under a restrictive license. In a nut shell, this license prohibits the maintainer from including them in the packages, since it will violate other license issues, and make ROOT less close to being OpenSource. The ROOT sources has been patched to allow using FreeFont files instead of the MS Core fonts. The package `ttf-root-installer' (in contrib) downloads the MS Core fonts from the ROOT web-site in case these are wanted. * Version number in soname: Debian GNU/Linux (indirectly) mandates that any shared library shall have the major version number the soname, so that the packaging system ("dpkg"/"apt") may resolve conflicts, dependencies, etc. Hence, the ROOT libraries are build with the major version number in the`soname. Redhat does not have such a strict policy, but it is generally a good idea to set version numbers in sonames (the shared library's internal identifier) so that the runtime environment may resolve conflicts etc. cleanly. 3rd Party libraries: ==================== Below is listed the 3rd party interfaces possible which are not normally build on a Debian or Red Hat system. Most have rather restrictive licenses which prohibits redistribution of modified sources, thereby rendering them non-free (in the meaning of `free-speech'). SHIFT managed tape I/O: ----------------------- To build the library providing CERN RFIO (remote I/O) support you need to get the "libshift.a" library from CERN. You can get pre-build libraries from http://root.cern.ch/root/shift or you can download the full source from http://castor.web.cern.ch/castor/ The full sources may contain the `debian' directory. Chirp File access: ------------------ This allows transparent access to files via Condor file access protocol chirp. It requires libraries from http://www.cs.wisc.edu/condor/chirp There are no known Debian packages of this software. DCache file access: ------------------- Provides transparent access to files stored in a DCache file archive. This need client libraries from $ cvs -d :pserver:cvs@cvs.dcache.org:/cvs login Logging in to :pserver:cvs@cvs.dcache.org:2401/cvs CVS password: (password is 'cvs') $ cvs -d :pserver:cvs@cvs.dcache.org:/cvs co . Note, there are no known packages of his software. Oracle database access: ----------------------- Provides transparent access to Oracle data bases. This need the client interface library from http://www.oracle.com/ There are RPMs of this client (you need oracle-instantclient-devel and oracle-instantclient-core) and these can be used on Debian via `alien'. Pythia Event Generators: ------------------------ To build the event generator interfaces for Pythia and Pythia6, you first have to get the pythia libraries. You can get pre-build libraries from: ftp://root.cern.ch/root/pythia/ or you can download the source from the same directory. The original sources can be found via Lunds FTP server. More information is available from: http://www.thep.lu.se/~torbjorn/Pythia.html Note, that one Debian you can use Kevin McCarty's `montecarlo-installer-data' package to make the packages `pythia6', `pythia6-dev', `pythia5', and `pythia5-dev'. Venus Event Generators: ----------------------- To build the event generator interface for Venus, you need to have the Venus libraries. The sources can be downloaded from ftp://root.cern.ch/root/venus/ There's no official or semi official package of this code, but the sources (from the above web-site) can easily be turned into a binary package. However, this redistribution is painfully in conflict with the license given by the upstream author Klaus Werner: Copyright K. Werner, Nantes 1995. Copyright reserved in all countries of the world. The program may not be reproduced by any method without prior consent of the author (K. Werner). Secure Remote Password (SRP) Authentication: -------------------------------------------- To build the strong authentication module used by rootd and proofd, you first have to install the SRP (Secure Remote Password) system. See: http://srp.stanford.edu/ Please note, that the library "libsrp-dev" as distributed by Standford is not enough to build the two utility program in the `srputil' sub-directory. There are no known packages of this code. Globus Authentication: ---------------------- To build the Globus authentication module used by rootd and proofd, you first have to make sure that the Globus Tool Kit is installed on the machine. See: http://www.globus.org/ for details and downloads. Globus Tool Kit is available only for a subset of Unix platforms. The variable GLOBUS_LOCATION should be defined as the directory containing Globus lib, include and bin. For compilation purposes you can pass this directory to the configure script with the option --with-globus-dir=. An experimental path is available for versions 2.2.3 and 2.2.4 of the Globus Tool Kit to fix a small bug preventing full fonctionallity of the root implementation; this is activated by setting --with-globus-patch-dir= where is the globus tool kit source directory. There exists experimental packages of this software. Adding a new package: ===================== From time to time, ROOT accepts new `modules' or plugins, in the ROOT source tree. Here's a description of how to make a new package that contains that new module. Let's assume that the new plugin is called `foo', and that the source code is in `foo/{src,inc}'. 1: Open `configure' and add the line test "x$enable_foo" = "xyes" && pkglist="$pkglist root-plugin-foo" Near where it says `Debian or Red Hat Package list' 2: Create the file `root-plugin-foo.control' in `build/package/common/'. This file is really a Debian GNU/Linux control file snippet (the RPM stuff get information from there), so anything that's valid in a Debian control file is valid there too. The file should look something like Package: root-plugin-foo Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Enhances: libroot Description: Foo plugin for ROOT This package contains the Foo plug-in for ROOT. This package provide a plug-in to ... in ROOT . ROOT web-site: http://root.cern.ch Foo web-site: http://www.foo.org Please note, that the file _must_ end in 2 (two) newlines. Also, blank lines (except for the final two lines) are not allowed. In stead put a `.' in 2nd column, as shown above. 3: If the plugin requires some development files (libraries and headers) to be available on the system, find out which Debian and RedHat packages these are in. Suppose you need the library `libfoo' and the header `foo.h', then try dpkg -S libfoo.so foo.h # Debian rpm -qf /usr/lib/libfoo.so /usr/include/foo.h # RedHat Then edit the file `build/package/lib/makebuilddepend.sh' accordingly. Suppose libfoo.so and foo.h is in the Debian package libfoo-dev and RedHat package foo-devel, add the two lines *foo) echo -n ", foo-devel" ;; and *foo) echo -n ", libfoo-dev" ;; at the appropriate places in that shell script. 4: That should be it for most packages. However, if your plugin needs some extra files that is not listed in the variables `ALLLIBS', `ALLHDRS', or `ALLEXECS' in the `foo/Module.mk' file, then you need to add the file `build/package/common/root-plugin-foo.install.in'. Suppose the package needs the files `/etc/root/system.foorc' and `/usr/share/root/foo/Init.C', then the file should contain lines like @sysconfdir@/root/system.foorc @prefix@/share/root/foo/Init.C Also, if your plugin needs special stuff to be done before and/or after installation and/or removal, you need to add the appropriate shell script snippets in one or more of the following pairs of files in `build/package/' debian/root-plugin-foo.preinst.in and rpm/root-plugin-foo.pre debian/root-plugin-foo.postinst.in and rpm/root-plugin-foo.post debian/root-plugin-foo.prerm.in and rpm/root-plugin-foo.preun debian/root-plugin-foo.postrm.in and rpm/root-plugin-foo.postun Please look in the existing files for more information. Package Bugs, etc.: =================== If you didn't get the packages from the official repositories, please do not use the regular Debian bug tracking system. Instead, please send bug reports to the Debian GNU/Linux package maintainer and possibly also the ROOT mailing list . Experimental Packages: ====================== Packages downloaded from the 'experimental' distribution are snapshots of the development versions of ROOT. As such, there's no guaranty that the Application Binary Interface (ABI) or Application Programming Interface (API) is stable or backward compatible. Therefor, use these packages at your own risk. You may have to recompile code that uses ROOT even if the major and minor version numbers have not changed. Development snapshots are numbered like .<2 * M + 1>. (that is, have odd minor version) while production releases are numbered like .<2 * M>.00. Thanks: ======= * Many MANY thanks to the ROOT team - Rene Brun and Fons Rademakers - for a great piece of software. Especially thanks to Fons Rademakers for putting up with a lot of emails from me (Christian Holm) during the initial development. * Many thanks to Masaharu Goto for CINT, inspiring correspondence, advice, and patience (loads of emails from me). * Also many thanks to all the contributors of ROOT, for making it great. * Anders Waananen for putting the initial Red Hat packages together, many suggestions and inspirrational talks. * Thanks to Richard B. Kreckel the CINT Debian GNU/Linux package maintainer, for inspirring correspondence, advice, and great cooperation. * Boris (?) for porting to mips * James Ferrando for the i386 `sarge' (stable) builds. * Dirk Van Hertem for porting to hppa * John Kehayias for the amd64 `sid' (unstable) builds. * Frederic Lehobey for linux-sparc64, linux-powerpc, and gnu-kfreebsd-i386 testing and builds. * Frank Lichtenheld for help on porting to sparc. * Kevin McCarty for his many suggestions, testing, and sponsorship, as well as some amd64 builds. * Daniele Nicolodi for powerpc testing and builds on Ubuntu. * Charles Plessy for powerpc64 testing and builds. * Thiemo Seufer for help on MIPS - his huge expertise on the architecture was quite instructive. * Brett Viren for hosting the repository as well as doing alpha and beta testing of the Debian GNU/Linux packages. * Ricardo Yanez for suggestions, testing and stable i386 builds. -- Christian Holm Christensen , Mon, 21 Feb 2005 16:28:37 +0100 Local Variables: mode: text End: debian/libroot-roofit.copyright0000644000000000000000000000344212253755630014105 0ustar This package was debianized by Christian Holm Christensen on Mon, 21 Feb 2005 16:28:37 +0100. The current maintainer is Lifeng Sun . It was downloaded from :pserver:cvs@root.cern.ch:/user/cvs (anonymous CVS access to main repository - password is "cvs") Copyright: 2005 Wouter Verkerke and David Kirkby Upstream Authors: Wouter Verkerke and David Kirkby License: RooFit --- Copyright (c) 2000-2005, Regents of the University of California and Stanford University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/copyright0000644000000000000000000006311312253755630011135 0ustar This package was debianized by Christian Holm Christensen on Mon, 21 Feb 2005 16:28:37 +0100. The current maintainer is Lifeng Sun . It was downloaded from :pserver:cvs@root.cern.ch:/user/cvs (anonymous CVS access to main repository - password is "cvs") Upstream Authors: The ROOT Team consisting of Rene Brun and Fons Rademakers License: Copyright: 1994, 1995, 1996, 1997, 1998, 1999 ROOT Team 2000, 2001, 2002, 2003, 2004, 2005 ROOT Team 2006 ROOT Team This library 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 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License, version 2.1, can be found in /usr/share/common-licenses/LGPL-2.1. Note, that the sources and the packages have been purged of the non-free MS TTF Core fonts. The above license applies also to the following files and directories, but they have different copyright holders, as listed below: asimage/src/libAfterImage.tar.gz (and unpacked sources in asimage/src/libAfterImage/) libAfterBase Copyright (C) 1999-2004 Sasha Vasko Copyright (c) 2000,2001 Andrew Ferguson Copyright (C) 1999 Ethan Fischer Copyright (C) 1998 Pierre Clerissi libAfterImage Copyright (C) 1999-2004 Sasha Vasko Copyright (c) 2004 Valeriy Onuchin Copyright (c) 2001 Eric Kowalski Copyright (c) 1999,2001 Ethan Fisher Copyright (C) 1999-2001 Free Software Foundation, Inc. Copyright (c) 2004 Maxim Nikulin asimage/src/TASImage.cxx parts are Copyright (c) 2002 Sasha Vasko Copyright (c) 1998, 1999 Ethan Fischer auth/inc/rsaaux.h auth/inc/rsadef.h auth/inc/rsafun.h auth/inc/rsalib.h auth/src/rsaaux.cxx auth/src/rsafun.cxx auth/src/rsalib.cxx: Copyright (C) 2006 Martin Nicolay base/inc/Byteswap.h Copyright (C) 1997 Free Software Foundation, Inc. base/src/TRandom3.cxx Copyright (C) 1997 Makoto Matsumoto and Takuji Nishimura. cint/lib/vcstream/fstrm.h cint/lib/vcstream/strstrm.h Copyright (c) 1996 Osamu Kotanigawa cint/tool/ifdef/get.c Copyright (c) Yokogawa-Hewlett-Packard, HSTD R&D clib/inc/Demangle.h Copyright 1992 Free Software Foundation, Inc. clib/inc/mmprivate.h Copyright 1990, 1991, 1992 Free Software Foundation eg/inc/TVirtualMCDecayer.h Copyright (C) 2006, Rene Brun and Fons Rademakers. * Copyright (C) 1998-1999, ALICE Experiment at CERN. gl/inc/gl2ps.h Copyright (C) 1999-2005 Christophe Geuzaine gl/src/CsgOps.cxx Copyright (C) 2003-2004 Laurence Bourn Copyright (C) 1997-1998 Gino van den Bergen graf/inc/TGraphSmooth.h graf/src/TGraphSmooth.cxx Copyright(c) 2001, Dr. Christian Stratowa, Vienna, Austria. gui/inc/TGApplication.h gui/src/TGApplication.cxx Copyright (C) 2001, Guy Barrand. gui/inc/TGMdi.h gui/inc/TGMdiFrame.h gui/inc/TGMdiMainFrame.h gui/inc/TGMdiMenu.h Copyright (C) 1998-2002 by Harald Radke, Hector Peraza. gui/inc/TGTableLayout.h gui/src/TGTableLayout.cxx Copyright (C) 2001, Brett Viren gui/ Except as noted above, the code in this directory is based on Xclass95, which as the following copyright notice. Copyright (C) 1996, 1997 David Barth, Ricky Ralston, Hector Peraza. mathcore/inc/Math/GenVector/etaMax.h Copyright (c) 2005, FNAL MathLib Team physics/inc/TFeldmanCousins.h physics/inc/TFeldmanCousins.h physics/src/TFeldmanCousins.cxx Copyright (C) 2001, Liverpool University. physics/src/TRolke.cxx Copyright CERN 2004 Jan.Conrad@cern.ch qt/ Copyright (C) 2002 by Valeri Fine. table/inc/TDsKey.h table/inc/TFileIter.h table/inc/TIndexTable.h table/inc/TTableMap.h table/src/TDsKey.cxx table/src/TFileIter.cxx table/src/TIndexTable.cx table/src/TTableMap.cxx Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. Copyright (C) 2001 [BNL] Brookhaven National Laboratory. eg/inc/TVirtualMCDecayer.h eg/inc/TVirtualMCDecayer.cxx vmc/ Copyright (C) 2006, Rene Brun and Fons Rademakers. Copyright(c) 1998-1999, 2002, 2003, ALICE Experiment at CERN, All rights reserved. win32gdk/gdk Various files are copyright of different parties. The copyright statements is summarised below. Copyright (c) 1995-1999 Peter Mattis, Spencer Kimball and Josh MacDonald Copyright (c) 1998-2000 Tor Lillqvist Copyright (c) 1998-2000 Red Hat, Inc. Copyright (c) 1997 by Federico Mena (port to Gtk/Gdk) Copyright (c) 1997 by Ripley Software Development Copyright (c) 1994,1995 John L. Cwikla Copyright (c) 2000 Ali Abdin Copyright (c) 1998, 1999, 2000 Tim Janik and Red Hat, Inc. Copyright (c) 1999, 2000 Tom Tromey winnt/src/TWinNTSystem.cxx This file contains code that is Copyright (C) 2000-2004 Computer Graphics Systems Group at the Hasso-Plattner-Institute (HPI), Potsdam, Germany. xmlparser/src/TSAXParser.cxx xmlparser/src/TXMLParser.cxx Code is based on libxml++, which is Copyright (C) 2000 by Ari Johnson The following files and directories are not licensed under the GNU Lesser General Public License, but carry their own license and copyright statements. These are reproduced below. build/rmkdepend/def.h build/rmkdepend/imakemdep.h Copyright (c) 1993, 1994 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. build/rmkdepend/ifparser.h Copyright 1992 Network Computing Devices, Inc. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Network Computing Devices may not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Network Computing Devices makes no representations about the suitability of this software for any purpose. It is provided ``as is'' without express or implied warranty. NETWORK COMPUTING DEVICES DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NETWORK COMPUTING DEVICES BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. cint/ Copyright (c) 2006 Masaharu Goto (gotom@hanno.jp) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. except where otherwise noted in this file. cint/stl/bstring.h Copyright(c) 1995~2006 Masaharu Goto (cint@pcroot.cern.ch) Same license as the rest of the cint directory. Copyright (c) 1994-1995 Modena Software Inc., Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Modena Software, Inc. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. cintex Copyright CERN, CH-1211 Geneva 23, 2004-2005, All rights reserved. Permission to use, copy, modify, and distribute this software for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives. This software is provided "as is" without express or implied warranty. ftgl [Apparently, ftql is dual licensed on the LGPL and a much more liberal license. I have reproduced the non-LGPL license below.] Copyright (C) 2001-3 Henry Maddocks Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. krb5auth/inc/Krb5Auth.h krb5auth/src/Krb5Auth.cxx Parts of these file are copied from the MIT krb5 distribution and are subject to the following license: Copyright 1990,1991 by the Massachusetts Institute of Technology. All Rights Reserved. Export of this software from the United States of America may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting. WITHIN THAT CONSTRAINT, permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Furthermore if you modify this software you must label your software as modified software and not distribute it in such a fashion that it might be confused with the original M.I.T. software. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. mathmore/src/complex_quartic.h Copyright (C) 2003 CERN and K.S. K\"{o}lbig Licensed under the GNU GPL version 2 pcre/src/pcre-6.4.tar.gz Copyright (c) 1997-2000 University of Cambridge Permission is granted to anyone to use this software for any purpose on any computer system, and to redistribute it freely, subject to the following restrictions: 1. This software 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. 2. The origin of this software must not be misrepresented, either by explicit claim or by omission. In practice, this means that if you use PCRE in software which you distribute to others, commercially or otherwise, you must put a sentence like this Regular expression support is provided by the PCRE library package, which is open source software, written by Philip Hazel, and copyright by the University of Cambridge, England. somewhere reasonably visible in your documentation and in any relevant files or online help data or similar. A reference to the ftp site for the source, that is, to ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ should also be given in the documentation. 3. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. 4. If PCRE is embedded in any software that is released under the GNU General Purpose Licence (GPL), then the terms of that licence shall supersede any condition above with which it is incompatible. quadp Parts of this file are copied from the OOQP distribution and are subject to the following license: COPYRIGHT 2001 UNIVERSITY OF CHICAGO The copyright holder hereby grants you royalty-free rights to use, reproduce, prepare derivative works, and to redistribute this software to others, provided that any changes are clearly documented. reflex Copyright CERN, CH-1211 Geneva 23, 2004-2006, All rights reserved. Permission to use, copy, modify, and distribute this software for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives. This software is provided "as is" without express or implied warranty. Except: reflex/inc/Reflex/Any.h Copyright Kevlin Henney, 2000, 2001, 2002. All rights reserved. Permission to use, copy, modify, and distribute this software for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives. This software is provided "as is" without express or implied warranty. roofit Copyright (c) 2000-2005, Regents of the University of California and Stanford University. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Except (same license): roofit/inc/RooEffGenContext.h roofit/src/RooEffGenContext.cxx Copyright (c) 2005, NIKHEF. All rights reserved. roofit/inc/RooParametricStepFunction.h roofit/src/RooParametricStepFunction.cxx Copyright (c) 2000-2005, Stanford University. All rights reserved. roofit/src/RooGaussKronrodIntegrator1D.cxx Copyright (c) 2000-2005, Regents of the University of California and Stanford University. All rights reserved. smatrix/inc/Math/StaticCheck.h Copyright (c) 2001 by Andrei Alexandrescu This code accompanies the book: Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design Patterns Applied". Copyright (c) 2001. Addison-Wesley. Permission to use, copy, modify, distribute and sell this software for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. The author or Addison-Wesley Longman make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. table/inc/TDataSetIter.h Copyright(c) 1997~2001 [BNL] Brookhaven National Laboratory Copyright(c) 1997~2001 Valery Fine (fine.gov) License unclear. tmva Copyright (c) 2005-2006, Regents of CERN (Switzerland), the University of Victoria (Canada), the University of Heidelberg (Germany), and LAPP (France) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the above mentioned organizations nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. unuran/src/unuran-*-root Copyright (c) 2000-2007 Wolfgang Hoermann and Josef Leydold Licensed under the GNU GPL version 2 x11/inc/Xpm.h Copyright (C) 1989-95 GROUPE BULL Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of GROUPE BULL shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from GROUPE BULL. x11/src/Rotated.cxx Copyright (c) 1993 Alan Richardson (mppa3@uk.ac.sussex.syma) Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice appear in supporting documentation. All work developed as a consequence of the use of this program should duly acknowledge such use. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. x3d/inc/x3d.h Copyright 1992 Mark Spychalla Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Mark Spychalla not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Mark Spychalla makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. Mark Spychalla disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness, in no event shall Mark Spychalla be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software. Local Variables: mode: text End: zip/ Copyright (C) 1995-2003 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Local Variables: mode: text End: debian/root-system-rootd.default0000644000000000000000000000554112253755630014203 0ustar # Defaults for rootd initscript # sourced by /etc/init.d/root-system-rootd # installed at /etc/default/root-system-rootd by the maintainer scripts # # Please refer to the rootd(1) man(1) page for more information on # command line parameters. # # This is a POSIX shell fragment # # If this is set to `yes', then the server is started. # Anything else disables the server # # Note, that you can not run rootd via both inetd and SYSV init; at # least not if they are both using the same port (per default both # use 1094). So either disable the inetd or the SYSV init rootd, or # specify separate ports. ENABLE_ROOTD=yes # User to run as (default is `rootd') ROOTD_USER=rootd # Port (range to listen to) (-p) # specifies the port number to listen on. Use port-port2 to # find the first available port in the indicated range. Use 0-N # for range relative to default service port. (default is 1094) ROOTD_PORT= # SSH port (-s) # specifies the port number for the sshd daemon used for # authentication (default is 22). SSH_PORT= # TCP window size (-b) # specifies the tcp window size in bytes (e.g. see # http://www.psc.edu/networking/perf_tune.html). Default is # 65535. Only change default for pipes with a high # bandwidth*delay product. #ROOTD_WINDOW_SIZE=65535 # Debug level (-d) # level of debug info written to syslogd 0 = no debug # (default), 1 = minimum, 2 = medium, 3 = maximum. #ROOTD_DEBUG=0 # Access rules configuration file (-D) # read access rules from file . By default # /system.rootdaemonrc is used for access rules; # for privately started daemons $HOME/.rootdaemonrc (if # present) is read first. #ROOTD_ACCESS_RULES= # Run in foreground (-f) # run in the foreground (output on the window); useful for # debugging purposes. Only a value of "yes" enables. #ROOTD_FOREGROUND= # Disable authentication (-noauth) # do not require client authentication. This shouldn't be enabled # unless you know what you're doing. Only a value of "yes" enables. #ROOTD_NO_AUTH= # Read only access (-r) # files can only be opened in read-only mode. Only a value of # "yes" enables. #ROOTD_READ_ONLY= # # Temporary director (-T ) # specifies the directory path to be used to place temporary # files; default is /usr/tmp. Useful when running with limited # privileges. #ROOTD_TMP= # Require password (-w) # do not check /etc/hosts.equiv, $HOME/.rhosts for # password-based authentication; by default these files are # checked first by calling ruserok(...); if this option is # specified a password is always required. Only a value of # "yes" enables. #ROOTD_REQUIRE_PASSWD= # Use this variable to pass other options to the daemon. DAEMON_OPTS= # # EOF # debian/po/0000755000000000000000000000000012253755630007614 5ustar debian/po/ru.po0000644000000000000000000001216112253755630010603 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2008. # Yuri Kozlov , 2009. msgid "" msgstr "" "Project-Id-Version: root-system 5.18.00-2.2\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-16 20:34+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "ÐеÑвободные шрифты" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Шрифты данного пакета предоÑтавлÑлиÑÑŒ Microsoft \"в интереÑах " "межплатформенной ÑовмеÑтимоÑти\". Теперь Ñтого больше нет, но шрифты ещё " "можно Ñкачать из других меÑÑ‚." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Ð’Ñ‹ можете Ñвободно Ñкачать и иÑпользовать Ñти шрифты Ð´Ð»Ñ Ñвоих нужд, но вы " "не можете раÑпроÑтранÑть их в изменённом виде, Ð²ÐºÐ»ÑŽÑ‡Ð°Ñ Ð¸Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð° и формат, в " "котором они раÑпроÑтранÑÑŽÑ‚ÑÑ." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Каталог, где лежат шрифты Microsoft (еÑли они уже Ñкачаны):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "ЕÑли вы уже Ñкачали Microsoft TrueType Core Fonts Ñ FTP-Ñервера ROOT (ftp://" "root.cern.ch/root/ttf/ttf_fonts.tar.gz), введите Ð¸Ð¼Ñ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð°, в котором " "лежит Ñтот архив." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "ЕÑли вы ещё не Ñкачали Ñти шрифты, то оÑтавьте поле пуÑтым и шрифты будут " "Ñкачаны автоматичеÑки. ПотребуетÑÑ Ñкачать приблизительно 1.6 МБ." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "ЕÑли вы не подключены к Интернету или не хотите Ñкачивать шрифты ÑейчаÑ, " "введите \"none\"." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Файлы шрифтов не найдены" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Указанный вами каталог не ÑущеÑтвует или не Ñодержит Microsoft TrueType Core " "Fonts Ñ ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Сохранить Ñти файлы (необÑзательно):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "ЕÑли вы хотите Ñохранить Ñжатые шрифты Microsoft Core Ð´Ð»Ñ Ð¿Ð¾Ð²Ñ‚Ð¾Ñ€Ð½Ð¾Ð³Ð¾ " "иÑпользованиÑ, то введите каталог, где они будут хранитьÑÑ. ЕÑли оÑтавить " "поле пуÑтым, то файлы будут удалены поÑле уÑтановки." debian/po/nl.po0000644000000000000000000001042112253755630010563 0ustar # Dutch root-system po-debconf translation, # Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the root-system package. # Vincent Zweije , 2012. # msgid "" msgstr "" "Project-Id-Version: root-system 5.34.00-1\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2012-10-14 14:44+0000\n" "Last-Translator: Vincent Zweije \n" "Language-Team: Debian-Dutch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Niet-vrije fonts" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "De fonts waarin dit pakket voorziet waren beschikbaar gesteld door Microsoft " "\"in the interest of cross-platform compatibilty\", maar dit is nu niet " "langer zo. Ze zijn echter nog steeds beschikbaar via derde partijen." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "U mag deze fonts downloaden en voor uw eigen doeleinden gebruiken, maar u " "mag ze niet verder verspreiden in gewijzigde vorm, met inbegrip van " "wijzigingen aan de bestandsnaam of het pakketformaat." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Map met Microsoft fonts (indien reeds gedownload):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Indien u Microsofts TrueType Core Fonts al heeft gedownload van de ROOT FTP " "server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), geef dan hier de naam " "van de map waar het bestand zich bevindt." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Indien u deze fonts nog niet heeft gedownload, laat dit dan leeg; de fonts " "worden dan automatisch gedownload. De grootte van de download is ongeveer " "1,6 MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Indien u niet bent verbonden met Internet, of wanneer u deze fonts nu niet " "wilt downloaden, voer dan \"none\" in om te stoppen." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Fontbestanden niet gevonden" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "De map die u heeft ingevoerd bestaat niet, of bevat niet de Microsoft " "TrueType Core Fonts voor ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Bestanden archiveren naar (optioneel):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Als u de Microsoft Core fonts wilt bewaren in gecomprimeerde vorm, voer dan " "de map in waar u ze wilt neerzetten. Als u dit leeg laat worden de bestanden " "na installatie verwijderd." debian/po/sv.po0000644000000000000000000001063512253755630010611 0ustar # translation of root-system_5.18.00-1_templates.po to swedish # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Martin Bagge , 2008. msgid "" msgstr "" "Project-Id-Version: root-system_5.18.00-1_templates\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-18 13:16+0100\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "typsnitt som inte är fria" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Dessa typsnitt gjordes tillgängliga av Microsoft för att \"uppnÃ¥ " "kompabilitet mellan platformar\". SÃ¥ är inte längre fallet men du kan " "fortfarande fÃ¥ tag pÃ¥ dem via tredjepart." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Det stÃ¥r dig fritt att ladda ned typsnitten och använda dem men du fÃ¥r inte " "sprida dem vidare om du ändrar dem. Det inkluderar att ändra filnamn eller " "paketeringsformat." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Katalog för typsnitt frÃ¥n Microsoft (om dessa redan hämtats hem):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Om du redan har laddat hem Microsofts TrueType Core Fonts frÃ¥n ROOT-servern " "(ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz) ska du ange namnet för " "katalogen där arkivfilen finns:" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Om du inte har laddat hem typsnitten sÃ¥ lämnar du fältet tomt sÃ¥ laddas " "filen ned automatiskt Ã¥t dig. Ungefär 1,6MB kommer att laddas hem." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Om du inte är ansluten till Internet eller inte vill ladda hem dessa " "typsnitt nu sÃ¥ anger du \"none\" för att avbryta." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Fil med typsnitt hittades ej." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Antingen sÃ¥ fanns inte katalogen du angav eller sÃ¥ fanns inte filen med " "Microsoft TrueType Core Fonts for ROOT i katalogen. " #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Arkivera dessa filer i (valbart):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Om du vill skapa ett permanent arkiv med de komprimerade typsnittsfilerna " "frÃ¥n Microsoft sÃ¥ anger du katalogen där de ska sparas här. Om du lämnar " "fältet tomt sÃ¥ kommer filerna att tas bort efter installationen." #~ msgid "These fonts are not free" #~ msgstr "Dessa teckensnitt är inte fria" debian/po/pt.po0000644000000000000000000001065712253755630010610 0ustar # translation of root-system debconf to Portuguese # Copyright (C) 2008 the root-system's copyright holder # This file is distributed under the same license as the root-system package. # # Américo Monteiro , 2009. msgid "" msgstr "" "Project-Id-Version: root-system 5.18.00-2.2\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-24 20:04+0000\n" "Last-Translator: Américo Monteiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Fonts non-free (não livres)" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Os tipos de letra (fonts) disponibilizados por este pacote foram " "disponibilizadas pela Microsoft \"no interesse de compatibilidade no " "cruzamento de plataformas\". Isto não é mais o caso, mas continuam " "disponíveis a partir de terceiros." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Você é livre de descarregar estas fonts e usá-las para seu uso próprio, mas " "não tem permissão para distribui-las em forma modificada, incluindo " "alterações no nome do ficheiro ou formato de empacotamento." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Directório que contém as fonts da Microsoft (se já descarregadas):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Se você já descarregou as fonts TrueType Core da Microsoft do servidor ROOT " "FTP (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), por favor indique o nome " "do directório que contém o arquivo." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Se você ainda não descarregou estas fonts, deixe este campo vazio e as fonts " "serão descarregadas automaticamente. O tamanho do arquivo a descarregar é de " "1.6Mb aproximadamente." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Se você não está ligado à Internet ou não deseja descarregar as fonts agora, " "escreva \"none\" para cancelar." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Ficheiros font não encontrados" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "O directório que indicou ou não existe, ou não contém as fonts Microsoft " "TrueType Core para ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Arquivar ficheiros em (opcional):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Se desejar manter um arquivo permanente das fonts Microsoft Core " "comprimidas, por favor indique a directoria onde deseja guardá-las. Se " "deixar este campo em vazio, os ficheiros serão apagados após a instalação." debian/po/POTFILES.in0000644000000000000000000000006712253755630011374 0ustar [type: gettext/rfc822deb] ttf-root-installer.templates debian/po/fi.po0000644000000000000000000001000712253755630010550 0ustar msgid "" msgstr "" "Project-Id-Version: root-system\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-03-04 19:24+0200\n" "Last-Translator: Esko Arajärvi \n" "Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Finnish\n" "X-Poedit-Country: FINLAND\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Ei-vapaat fontit" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Microsoft tarjosi tässä paketissa olevia fontteja käyttöön â€tukeakseen " "käyttöjärjestelmien yhteensopivuuttaâ€. Näin ei enää ole, mutta fontit ovat " "edelleen saatavissa muilta tahoilta." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Nämä fontit saa vapaasti ladata ja niitä saa käyttää, mutta eteenpäin " "jaettaessa niiden tulee olla samassa muodossa myös tiedostojen nimien ja " "pakkauksen osalta." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Hakemisto, jossa Microsoft-fontit ovat (jos ne on jo ladattu):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Jos paketti â€Microsoftin TrueType Core Fonts†on jo ladattu ROOTin FTP-" "palvelimelta (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), anna hakemisto, " "jossa paketti on." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Jos fontteja ei ole vielä ladattu, jätä kenttä tyhjäksi. Tällöin fontit " "ladataan automaattisesti. Ladattavaa on noin 1,6 MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Jos et halua ladata fontteja nyt tai yhteys Internetiin ei ole auki, syötä " "â€none†keskeyttääksesi." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Fonttitiedostoja ei löytynyt" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Annettua hakemistoa ei ole tai se ei sisältänyt ROOTin tarvitsemaa pakettia " "â€Microsoft TrueType Core Fontsâ€." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Tallenna tiedostot hakemistoon (vapaaehtoista):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Jos Microsoftin Core-fontit halutaan säilyttää pysyvästi, anna hakemisto, " "johon ne tallennetaan. Jos jätät kentän tyhjäksi, tiedostot poistetaan " "asennuksen jälkeen." debian/po/vi.po0000644000000000000000000001072012253755630010572 0ustar # Vietnamese translation for Root System. # Copyright © 2009 Free Software Foundation, Inc. # Clytie Siddall , 2009. # msgid "" msgstr "" "Project-Id-Version: root-system 5.18.00-2.2\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-16 22:40+1030\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: LocFactoryEditor 1.8\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Phông chữ khác tá»± do" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Các phông chữ có sẵn trong gói này đã được Microsoft cung cấp « để tương " "thích vá»›i nhóm thứ ba ». Không còn phải như thế lại, nhưng mà các phông chữ " "này vẫn còn sẵn sàng từ nhóm thứ ba." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Bạn có quyá»n tải vá» các phông chữ này và sá»­ dụng chúng nhằm mục đích riêng, " "nhưng KHÔNG có quyá»n phát hành lại chúng dưới dạng bị sá»­a đổi, bao gồm thay " "đổi tên tập tin hay định dạng đóng gói." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Thư mục chứa phông chữ MS (nếu đã tải vá»):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Nếu lúc trước bạn đã tải các phông chữ Microsoft's TrueType Core Fonts xuống " "máy phục vụ FTP ROOT (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz) thì hãy " "nhập tên cá»§a thư mục chứa kho nén đó." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Chưa tải vá» thì bá» trống trưá»ng này, và các phông chữ sẽ được tá»± động tải " "vá». Kích cỡ tải vá» xấp xỉ 1,6 MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Không có kết nối tá»›i Internet, hoặc chưa muốn tải vá» các phông chữ này, thì " "gõ « none » để há»§y bá» tiến trình này." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Không tìm thấy tập tin phông chữ" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Bạn đã gõ má»™t thư mục không tồn tại hoặc không chứa phông chữ Microsoft " "TrueType Core Fonts cho ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Lưu tập tin vào (tùy chá»n):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Muốn giữ má»™t khó nén bá»n bỉ chứa các phông chữ MS Core thì gõ thư mục đích. " "Bá» trống trưá»ng này thì các tập tin đó bị xoá má»™t khi cài đặt." debian/po/ja.po0000644000000000000000000001152512253755630010552 0ustar # Copyright (C) 2009 Christian Holm Christensen # This file is distributed under the same license as root-system package. # Hideki Yamane (Debian-JP) , 2009. # msgid "" msgstr "" "Project-Id-Version: root-system 5.18.00-2.3\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-09-12 04:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "non-free ãªãƒ•ォント" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "ã“ã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸ã§æä¾›ã•れã¦ã„ãŸãƒ•ォントã¯ãƒžã‚¤ã‚¯ãƒ­ã‚½ãƒ•トã‹ã‚‰ã€Œãƒ—ラットフォーム" "é–“ã®äº’æ›æ€§ã®ãŸã‚ã«ã€æä¾›ã•れã¦ã„ãŸã‚‚ã®ã§ã™ã€‚æ—¢ã«æä¾›ã•れãªããªã£ã¦ã„ã¾ã™ãŒã€" "今ã§ã‚‚サードパーティã‹ã‚‰å…¥æ‰‹å¯èƒ½ã§ã™ã€‚" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "ã“れらã®ãƒ•ォントã¯è‡ªåˆ†ã§åˆ©ç”¨ã™ã‚‹ç¯„囲ã«ãŠã„ã¦ã¯è‡ªç”±ã«ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã—ã¦åˆ©ç”¨ã§ã" "ã¾ã™ãŒã€ãƒ•ァイルåã®å¤‰æ›´ã‚„パッケージ形å¼ã®å¤‰æ›´ã‚‚å«ã‚ã€æ”¹å¤‰ã—ã¦ã®å†é…布ã¯è¨±ã•" "れã¦ã„ã¾ã›ã‚“。" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "MicroSoft フォントãŒã‚るディレクトリ (æ—¢ã«ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰æ¸ˆã¿ã®å ´åˆ):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "ROOT FTP サーãƒã‹ã‚‰ãƒžã‚¤ã‚¯ãƒ­ã‚½ãƒ•ト社製㮠TrueType コアフォントをダウンロード済" "ã¿ã®å ´åˆ (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz)ã€ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ãŒã‚るディ" "レクトリåを入力ã—ã¦ãã ã•ã„。" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "ã“れらã®ãƒ•ォントをã¾ã ãƒ€ã‚¦ãƒ³ãƒ­ãƒ¼ãƒ‰ã—ã¦ã„ãªã„å ´åˆã¯ã€ã“ã®æ¬„を空白ã®ã¾ã¾ã«ã—ã¦" "フォントをダウンロードã—ã¦ãã ã•ã„。ダウンロードサイズã¯ãŠãŠã‚ˆã 1.6MB ã§ã™ã€‚" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "インターãƒãƒƒãƒˆã«æŽ¥ç¶šã—ã¦ã„ãªã„ã€ã‚ã‚‹ã„ã¯ä»Šã™ãã«ã“れらã®ãƒ•ォントをダウンロー" "ドã—ãŸããªã„å ´åˆã¯ã€\"none\" ã¨å…¥åŠ›ã—ã¦ä¸­æ–­ã—ã¦ãã ã•ã„。" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "フォントファイルãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "ã‚ãªãŸãŒå…¥åŠ›ã—ãŸãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã¯å­˜åœ¨ã—ã¦ã„ãªã„ã‹ã€ROOT 用ã®ãƒžã‚¤ã‚¯ãƒ­ã‚½ãƒ•ト社製 " "TrueType コアフォントをå«ã‚“ã§ã„ã¾ã›ã‚“ã§ã—ãŸã€‚" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "ファイルをä¿å­˜ã™ã‚‹ (オプション):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "圧縮済ã¿ãƒžã‚¤ã‚¯ãƒ­ã‚½ãƒ•ト社製コアフォントã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã‚’ãšã£ã¨ä¿å­˜ã—ã¦ãŠããŸã„å ´" "åˆã¯ã€ä¿å­˜ã—ã¦ãŠããŸã„ディレクトリã®åå‰ã‚’入力ã—ã¦ãã ã•ã„。ã“ã®æ¬„を空ã®ã¾ã¾" "ã«ã—ã¦ãŠãã¨ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«å¾Œã«ãƒ•ァイルã¯å‰Šé™¤ã•れã¾ã™ã€‚" debian/po/pt_BR.po0000644000000000000000000001107212253755630011163 0ustar # Translation of root-system debconf templates to Brazilian Portuguese # Copyright (C) 2008 The root-system's COPYRIGHT HOLDER # This file is distributed under the same license as the root-system package. # # # Herbert Parentes Fortes Neto , 2008, 2009. # Flamarion Jorge , 2009. msgid "" msgstr "" "Project-Id-Version: root-system-5.18.00\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-08-30 21:08-0300\n" "Last-Translator: Flamarion Jorge \n" "Language-Team: Português \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: \n" "pt_BR\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Fontes non-free" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "As fontes neste pacote eram fornecidas pela Microsoft \"no interesse da " "compatibilidade interplataforma\". Este não é mais o caso, mas elas " "continuam disponíveis a partir de terceiros." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Você pode baixar estas fontes e utilizá-las para uso próprio, mas você não " "tem permissão para redistribuí-las sob uma forma modificada, incluindo " "mudanças no nome do arquivo ou no formato do empacotamento." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "" "Diretório que armazena as fontes da Microsoft (caso já tenham sido baixadas):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Se você já baixou as Fontes Centrais TrueType da Microsoft do servidor FTP " "RAIZ (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), por favor digite o nome " "do diretório que contém o arquivo." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Se você ainda não baixou estas fontes, deixe o campo em branco e as fontes " "serão baixadas automaticamente. Será necessário baixar aproximadamente 1.6 " "MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Se você não está conectado à internet ou não deseja baixar estas fontes " "agora, informe \"none\" para abortar." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Arquivos das fontes não encontrado" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "O diretório que você informou não existe ou não contém o arquivo com as " "Fontes Centrais TrueType da Microsoft para ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Arquivar arquivos em (opcional):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Se você quiser manter um arquivo permanente do das fontes Centrais da " "Microsoft, por favor informe o diretório onde você gostaria de armazená-las. " "Se você deixar o campo em branco, os arquivos serão excluídos após a " "instalação." #~ msgid "These fonts are not free" #~ msgstr "Estas fontes não são livres" debian/po/de.po0000644000000000000000000001111212253755630010540 0ustar # Translation of root-system debconf templates to German # Copyright (C) Helge Kreutzmann , 2008. # Copyright (C) Thomas Müller , 2009. # This file is distributed under the same license as the root-system package. # msgid "" msgstr "" "Project-Id-Version: root-system 5.18.00-1\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-18 19:41+0100\n" "Last-Translator: Thomas Müller \n" "Language-Team: de \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Nicht freie Schriften" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Die Schriften in diesem Paket wurden von Microsoft »im Interesse der " "Plattform-übergreifenden Kompatibilität« bereitgestellt. Dies ist nicht mehr " "der Fall, aber sie sind noch von dritten Stellen verfügbar." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Sie dürfen diese Schriften herunterladen und für eigene Zwecke verwenden, " "aber Sie dürfen sie nicht in veränderter Form weitervertreiben. Dazu gehören " "auch Änderungen am Dateinamen und Paketformat." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "" "Verzeichnis, in dem sich die Microsoft-Schriften befinden (falls bereits " "heruntergeladen):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Falls Sie die TrueType Core Fonts von Microsoft bereits vom ROOT FTP-Server " "(ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz) heruntergeladen haben, geben " "Sie bitte den Namen des Verzeichnisses, in dem sich das Archiv befindet, an." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Falls Sie diese Schriften noch nicht heruntergeladen haben, lassen Sie dies " "leer und die Schriften werden automatisch heruntergeladen. Die Größe des " "Downloads beträgt ungefähr 1,6 MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Falls Sie nicht mit dem Internet verbunden sind oder nicht wünschen, dass " "diese Schriften jetzt heruntergeladen werden, geben Sie »none« ein, um " "abzubrechen." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Schriftdateien nicht gefunden" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Das Verzeichnis, das Sie angegeben haben, existiert entweder nicht oder " "enthält die Microsoft TrueType Core Fonts für ROOT nicht." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Archiviere diese Dateien nach (optional):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Falls Sie ein permanentes Archiv der komprimierten Microsoft Core-Schriften " "behalten möchten, geben Sie bitte das Verzeichnis an, in dem dieses " "gespeichert werden soll. Falls Sie dies leer lassen, werden die Dateien nach " "der Installation gelöscht." debian/po/templates.pot0000644000000000000000000000557112253755630012346 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" debian/po/gl.po0000644000000000000000000001070112253755630010555 0ustar # Galician translation of root-system's debconf templates # This file is distributed under the same license as the root-system package. # # Jacobo Tarrio , 2008. # marce villarino , 2009. msgid "" msgstr "" "Project-Id-Version: root-system\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-15 21:39+0100\n" "Last-Translator: marce villarino \n" "Language-Team: gl \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 0.3\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Tipos de letra non libres" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Os tipos de letra contidos neste paquete fornecíaos Microsoft «no interese " "da compatibilidade entre plataformas». Xa non é o caso, pero aínda están " "dispoñíbeis grazas a terceiros." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "É libre de descargar estes tipos de letra e empregalos vostede, pero non ten " "permiso para redistribuílos nunha forma modificada, o que inclúe " "modificacións ao nome do ficheiro ou no formato do paquete." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "" "Directorio que contén tipos de letra de Microsoft (se xa se obtiveron):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Se xa descargou os tipos de letra TrueType Core de Microsoft do servidor FTP " "de ROOT (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), indique o nome do " "directorio que contén o arquivo." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Se aínda non obtivo estes tipos de letra, deixe isto en branco e hanse obter " "automaticamente. Transferiranse aproximadamente uns 1,6 MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Se non está conectado a internet ou non quere obter agora os tipos, " "introduza «none» para abortar." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Non se atoparon os ficheiros de tipos de letra" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "O directorio que introduciu ou non existe, ou non contén os tipos TrueType " "Core de Microsoft en ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Arquivar os ficheiros en (opcional):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Se quere gardar un arquivo permanente dos ficheiros comprimidos dos tipos de " "letra centrais de Microsoft, introduza o directorio no que os quere gardar. " "Se o deixa en branco, hanse borrar os ficheiros tras instalalos." #~ msgid "These fonts are not free" #~ msgstr "Estes tipos de letra non son libres" debian/po/da.po0000644000000000000000000001043512253755630010543 0ustar # Danish translation root-system. # Copyright (C) 2010 root-system & nedenstÃ¥ende oversættere. # This file is distributed under the same license as the root-system package. # Joe Hansen , 2010. # msgid "" msgstr "" "Project-Id-Version: root-system\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2010-10-19 19:21+0100\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Skrifttyper der ikke er frie" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Skrifttyperne i denne pakke blev tilbudt af Microsoft »med henblik pÃ¥ " "krydskompatbilitet mellem platforme«. Dette er dog ikke længere tilfældet, " "men de er stadig tilgængelige fra tredjeparter." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Du kan frit hente disse skrifttyper og bruge dem, men du mÃ¥ ikke " "redistribuere modificerede udgaver, hvilket ogsÃ¥ gælder ændringer i filnavne " "og pakkeformat." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Mappe med Microsoftskrifttyper (hvis allerede hentet):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Hvis du allerede har hentet Microsofts TrueType Core-skrifttyper fra ROOTs " "FTP-server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), sÃ¥ skriv venligst " "navnet pÃ¥ den mappe som indeholder arkivet." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Hvis du endnu ikke har hentet disse skrifttyper, sÃ¥ lad dette felt være " "blankt. Skrifttyperne vil sÃ¥ automatisk blive hentet. Størrelsen pÃ¥ dataene " "er cirka 1,6 MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Hvis du ikke er forbundet til internettet, eller du ikke ønsker at hente " "disse skrifttyper nu, sÃ¥ skriv »none« for at afslutte." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Skrifttypefiler blev ikke fundet" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Den mappe du indtastede findes enten ikke, eller indeholder ikke Microsoft " "TrueType Core-skrifttyper til ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Arkiver filer i (valgfrit):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Hvis du vil beholde et permanent arkiv af de komprimerede Microsoft Core-" "skrifttyper, indtast da den mappe hvor du vil have dem gemt. Hvis du lader " "dette felt være blankt, vil filerne blive slettet efter installationen." debian/po/it.po0000644000000000000000000001066712253755630010602 0ustar # Italian (it) translation of debconf templates for root-system # Copyright (C) 2008 Software in the Public Interest # This file is distributed under the same license as the root-system package. # Luca Monducci , 2008, 2009. # msgid "" msgstr "" "Project-Id-Version: root-system root-system 5.18.00-2.2\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-21 14:42+0100\n" "Last-Translator: Luca Monducci \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Caratteri non-liberi" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "In passato i caratteri distribuiti con questo pacchetto erano forniti da " "Microsoft \"nell'interesse della compatibilità fra piattaforme diverse\". " "Anche se questo non è più vero, i caratteri continuano a essere disponibili " "da terze parti." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Ognuno è libero di scaricare questi caratteri e di usarli per le proprie " "attività, non è permesso redistribuirli se modificati in qualsiasi modo, " "comprese le modifiche al nome del file o al formato di distribuzione." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Directory contenente i caratteri Microsoft (se già scaricati):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Se i Microsoft TrueType Core Fonts sono già stati scaricati dal server FTP " "ROOT (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), inserire il nome della " "directory in cui è stato salvato l'archivio." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Se i caratteri non sono stati ancora scaricati, lasciare vuoto questo campo " "per recuperarli automaticamente. Saranno scaricati circa 1,6 MB di dati." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Se non si è connessi a Internet oppure se non si vuole scaricare i caratteri " "adesso, inserire \"none\" per interrompere l'installazione." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "I file con i caratteri non sono stati trovati" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "La directory inserita non esiste oppure non contiene i Microsoft TrueType " "Core Fonts di ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Archiviare i file in (opzionale):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Se si desidera conservare in un archivio permanente i caratteri Microsoft " "Core, inserire la directory in cui si vogliono salvare. Altrimenti, " "lasciando vuoto questo campo, i file saranno eliminati al termine " "dell'installazione." debian/po/fr.po0000644000000000000000000001114612253755630010566 0ustar # Translation of root-system debconf templates to French # Copyright (C) 2007-2009 Debian French l10n team # This file is distributed under the same license as the root-system package. # # Christian Perrier , 2007-2009. # Translators: msgid "" msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-15 14:30+0100\n" "Last-Translator: Christian Perrier \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Polices non libres" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Les polices fournies dans ce paquet étaient distribuées par Microsoft « pour " "la compatibilité entre les plate-formes ». Ce n'est désormais plus le cas " "mais elles restent disponibles depuis des sites tiers." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Vous pouvez librement télécharger et utiliser à titre personnel ces polices, " "mais pas les redistribuer sous une forme modifiée (y compris les noms de " "fichiers et le format de l'archive)." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Répertoire contenant les polices Microsoft (si déjà téléchargées) :" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Si vous avez déjà téléchargé les polices TrueType de base de Microsoft " "depuis le serveur FTP de ROOT (ftp://root.cern.ch/root/ttf/ttf_fonts.tar." "gz), veuillez indiquer le nom du répertoire qui contient cette archive." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Si vous n'avez pas encore téléchargé ces polices, veuillez laisser ce champ " "vide et elles seront téléchargées automatiquement (le téléchargement " "représente environ 1,6 Mo)." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Si aucune connexion Internet n'est disponible ou que vous ne souhaitez pas " "télécharger les polices maintenant, veuillez indiquer « none » pour annuler." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Fichiers de polices non trouvés" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Le répertoire indiqué n'existe pas ou ne contient pas les polices de base " "TrueType de Microsoft pour ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Archiver ces fichiers dans (paramètre optionnel) :" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Si vous souhaitez conserver une archive des polices Microsoft sous forme " "compressée, veuillez indiquer le répertoire où vous souhaitez l'enregistrer. " "Si ce champ est laissé vide, les fichiers seront supprimés après " "l'installation." #~ msgid "These fonts are not free" #~ msgstr "Polices non libres" debian/po/eu.po0000644000000000000000000001102612253755630010565 0ustar # translation of eu.po to Basque # translation of root-system debconf template to Euskara # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Xabier Bilbao , 2008. # Iñaki Larrañaga Murgoitio , 2008, 2009. msgid "" msgstr "" "Project-Id-Version: eu\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-18 21:43+0100\n" "Last-Translator: Iñaki Larrañaga Murgoitio \n" "Language-Team: Basque \n" "Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Letra-tipo ez libreak" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Letra-tipo hauek Microsoft-ek hornitu zituen \"plataformen arteko " "bateragarritasuna errazte aldera\". Gaur egun hau horrela izan ez arren " "letra-tipoak eskuragarri daude oraindik beste iturri batzuetatik." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Aske zara letra-tipo hauek deskargatzeko eta zure gauzetarako erabiltzeko, " "baina ezin dituzu aldaketekin berriro banatu, barne direla fitxategiaren " "izen-aldaketak edo paketatze-formatoaren aldaketak." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "" "Microsoft letra-tipoak dituen direktorioa (dagoeneko deskargatu badituzu):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Microsoft-en 'TrueType Core Fonts' letra-tipoak dagoeneko deskargatu " "badituzu ROOT ftp zerbitzaritik (ftp://root.cern.ch/root/ttf/ttf_fonts.tar." "gz), idatz ezazu artxiboa kokatua dagoen direktorioaren izena." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Ez badituzu deskargatu, bete gabe utzi eremu hau eta letra-tipoak " "automatikoki deskargatuko dira. Gutxi gorabehera 1.6 MB deskargatu behar " "dira." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Ez bazaude internetera konektatuta edo geroago deskargatu nahi badituzu, " "idatzi \"none\" konfigurazioa bertan behera uzteko." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Ez dira letra-tipoen fitxategiak aurkitu" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Zuk emandako direktorioa edo ez da zuzena edo ez ditu bere baitan " "ROOTentzako \"Microsoft TrueType Core\" letra-tipoak." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Fitxategi hauek hemen gorde (aukerakoa):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Konprimitutako Microsoft Core letra-tipoen kopia bat gorde nahi baduzu," "idatzi hauek gordetzea nahi duzun direktorioaren bide-izena. Eremu hau bete " "gabe uzten baduzu fitxategiak ezabatu egingo dira instalazioaren ondoren." debian/po/cs.po0000644000000000000000000001034012253755630010557 0ustar # Czech translation of root-system debconf messages. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the root-system package. # Miroslav Kure , 2008, 2009 # msgid "" msgstr "" "Project-Id-Version: root-system\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-28 13:37+0100\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Nesvobodné fonty" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Fonty v tomto balíku byly poskytnuty Microsoftem „v zájmu meziplatformní " "kompatibility“. To již nÄ›jakou dobu neplatí, ale fonty jsou stále dostupné " "od tÅ™etích stran." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Jste oprávnÄ›ni si tyto fonty stáhnout a používat, ovÅ¡em nesmíte je " "distribuovat v pozmÄ›nÄ›né podobÄ› (mj. nesmíte soubory pÅ™ejmenovat, nebo " "pozmÄ›nit formát archivu)." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "Adresář s Microsoftími fonty (pokud již byly staženy):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Pokud jste již stáhli Microsoft TrueType Core Fonts z FTP serveru ROOT " "(ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), zadejte jméno adresáře, " "který obsahuje tento archiv." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Pokud jste fonty zatím nestáhli, ponechte prázdné a fonty se stáhnou " "automaticky (cca 1.6 MB)." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Pokud zrovna nejste pÅ™ipojeni k Internetu, nebo pokud chcete fonty stáhnout " "jindy, zadejte „none“ a instalace se pÅ™eruší." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "Soubory s fonty nenalezeny" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "Zadaný adresář neexistuje, nebo se v nÄ›m nenachází Microsoft TrueType Core " "Fonts pro ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Archivovat tyto soubory do (volitelné):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Pokud byste chtÄ›li mít trvalý archiv komprimovaných fontů Microsoft Core, " "zadejte adresář, kam je chcete uložit. Ponecháte-li prázdné, budou soubory " "po instalaci smazány." #~ msgid "These fonts are not free" #~ msgstr "Tyto fonty nejsou svobodné" debian/po/es.po0000644000000000000000000001243712253755630010572 0ustar # root-system po-debconf translation to Spanish # Copyright (C) 2009 Software in the Public Interest # This file is distributed under the same license as the root-system package. # # Changes: # - Initial translation # Francisco Javier Cuadrado , 2009 # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: root-system 5.18.00-2.2\n" "Report-Msgid-Bugs-To: root-system@packages.debian.org\n" "POT-Creation-Date: 2009-02-15 12:03+0100\n" "PO-Revision-Date: 2009-02-16 17:40+0100\n" "Last-Translator: Francisco Javier Cuadrado \n" "Language-Team: Debian l10n Spanish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "Non-free fonts" msgstr "Tipografías no libres" #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "The fonts provided in this package were provided by Microsoft \"in the " "interest of cross-platform compatibility\". This is no longer the case, but " "they are still available from third parties." msgstr "" "Microsoft proporcionó las tipografías contenidas en este paquete «en " "beneficio de la compatibilidad multiplataforma». Desde hace tiempo esto ya " "no es así, aunque siguen estando disponibles gracias a terceras partes." #. Type: note #. Description #: ../ttf-root-installer.templates:2001 msgid "" "You are free to download these fonts and use them for your own purposes, but " "you have no permission to redistribute them in modified form, including " "changes to the file name or packaging format." msgstr "" "Es libre para descargar estas tipografías y utilizarlas para sus propios " "propósitos, pero no tiene permiso para redistribuirlas modificadas, " "incluyendo cambios en el nombre del archivo o en el formato del paquete." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "Directory holding Microsoft fonts (if already downloaded):" msgstr "" "Directorio que contiene las tipografías de Microsoft (si ya están " "descargadas):" #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you have already downloaded Microsoft's TrueType Core Fonts from the ROOT " "FTP server (ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz), please enter the " "name of the directory which contains the archive." msgstr "" "Si ya ha descargado las tipografías «TrueType» básicas de Microsoft desde el " "servidor FTP de ROOT («ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz»), " "introduzca el nombre del directorio que contiene los archivos." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you haven't yet downloaded these fonts, leave this blank and the fonts " "will be downloaded automatically. The download size is approximately 1.6 MB." msgstr "" "Si todavía no ha descargado estas tipografías, deje en blanco este campo y " "las tipografías se descargarán automáticamente. El tamaño de la descarga es " "aproximadamente de 1.6 MB." #. Type: string #. Description #: ../ttf-root-installer.templates:3001 msgid "" "If you are not connected to the Internet or do not wish to download these " "fonts now, enter \"none\" to abort." msgstr "" "Si no está conectado a internet o no quiere descargar estas tipografías " "ahora, introduzca «none» (no) para abortar la descarga." #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "Font files not found" msgstr "No se han encontrado los archivos de las tipografías" #. Type: error #. Description #: ../ttf-root-installer.templates:4001 msgid "" "The directory you entered either does not exist, or does not contain the " "Microsoft TrueType Core Fonts for ROOT." msgstr "" "El directorio que ha introducido no existe o no contiene las tipografías " "«TrueType» básicas de Microsoft para ROOT." #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "Archive files to (optional):" msgstr "Guardar los archivos en (opcional):" #. Type: string #. Description #: ../ttf-root-installer.templates:5001 msgid "" "If you would like to keep a permanent archive of the compressed Microsoft " "Core fonts, please enter the directory where you'd like them stored. If you " "leave this blank, the files will be deleted after installation." msgstr "" "Si quiere guardar una copia permanente con las tipografías básicas de " "Microsoft comprimidas, introduzca el directorio dónde querría almacenarlas. " "Si deja este campo en blanco, los archivos se borrarán después de completar " "la instalación." debian/root-system-rootd.examples0000644000000000000000000000003112253755630014362 0ustar etc/daemons/rootd.xinetd debian/ttf-root-installer.copyright0000644000000000000000000000272212253755630014704 0ustar This package was orginally created by Christian Holm Christensen on Mon, 21 Feb 2005 16:28:37 +0100. The current maintainer is Lifeng Sun . Copyright: Upstream Authors: The ROOT Team consiting of Rene Brun and Fons Rademakers , and Christian Holm Christensen License: Copyright: 1994, 1995, 1996, 1997, 1998, 1999 ROOT Team 2000, 2001, 2002, 2003, 2004, 2005 ROOT Team 2006 ROOT Team This library 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 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License, version 2.1, can be found in /usr/share/common-licenses/LGPL-2.1. Please also refer to /usr/share/doc/ttf-root-installer/root/LICENSE.fonts for the licensing terms of the fonts themselves. debian/root-system-proofd.README.Debian0000644000000000000000000000165012253755630015034 0ustar Parallel ROOT Facility Daemon: ============================== Per default, the PROOF daemon (proofd) is turned off. This is because the user need to set up a few things before starting the daemon. Specifically, the user need to make the files `/etc/cluster.conf' and `/etc/proofd.conf'. Examples for these are provided in the documentation directory of `root-system-proofd' (`/usr/share/doc/root-system-proofd/examples/'). `' can be set to any location in `/etc/default/root-system-proofd'. Note, however, that ROOT recommends that this directory is shared (via NFS or similar) among all the nodes of the cluster. To enable `root-system-proofd' set `ENABLE_PROOFD=yes' in `/etc/default/root-system-proofd'. See also the `read me' file `/usr/share/doc/root-system-doc/README.PROOF' in the `root-system-doc' package, as well as the web-site [1]. [1] http://root.cern.ch/root/PROOF.html debian/root-system-common.lintian-overrides0000644000000000000000000000011512253755630016346 0ustar root-system-common: font-in-non-font-package usr/share/root/fonts/symbol.ttf debian/source/0000755000000000000000000000000012253755630010476 5ustar debian/source/format0000644000000000000000000000001412253755630011704 0ustar 3.0 (quilt) debian/root-system-proofd.prerm0000644000000000000000000000100412253755630014034 0ustar #! /bin/sh # prerm script for root-proofd # # see: dh_installdeb(1) set -e case "$1" in remove) if grep ^proofd /etc/inetd.conf > /dev/null 2>&1 ; then update-inetd --remove proofd fi ;; upgrade|deconfigure) # Nothing to be done here ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012253755630010625 5ustar debian/patches/06-globus-header.patch0000644000000000000000000000142112253755630014610 0ustar --- a/net/globusauth/Module.mk +++ b/net/globusauth/Module.mk @@ -64,5 +64,5 @@ distclean:: distclean-$(MODNAME) ##### extra rules ###### -$(GLBSAUTHO): CXXFLAGS += $(GLOBUSINCDIR:%=-I%) -$(GLBPATCHO): CFLAGS += $(GLBPATCHFLAGS) $(GLOBUSINCDIR:%=-I%) +$(GLBSAUTHO): CXXFLAGS += $(shell pkg-config --cflags globus-core) +$(GLBPATCHO): CFLAGS += $(GLBPATCHFLAGS) $(shell pkg-config --cflags globus-core) --- a/net/rpdutils/Module.mk +++ b/net/rpdutils/Module.mk @@ -64,7 +64,7 @@ # use Globus for authentication ifneq ($(GLOBUSLIB),) -GLBSFLAGS := $(GLOBUSINCDIR:%=-I%) +GLBSFLAGS := $(shell pkg-config --cflags globus-core) GLBSLIBS := $(GLOBUSLIBDIR) $(GLOBUSLIB) SRVAUTHS += $(MODDIRS)/globus.cxx SRVAUTHO += $(call stripsrc,$(MODDIRS)/globus.o) debian/patches/26-fix-typo-avaliable-available.patch0000644000000000000000000000060712253755630017511 0ustar diff --git a/man/man1/xpdtest.1 b/man/man1/xpdtest.1 index c87be6a..3f70ca4 100644 --- a/man/man1/xpdtest.1 +++ b/man/man1/xpdtest.1 @@ -27,7 +27,7 @@ inside a monitor infrastructure, for example .SH OPTIONS .TP .B \-\-help, \-h -Gives a short list of options avaliable, and exit +Gives a short list of options available, and exit .TP .B \-t\fP \fR\fP type of test to be run: debian/patches/40-fix-typo-lenght-length.patch0000644000000000000000000000231312253755630016403 0ustar --- a/docbook/primer/macros/macro1.C +++ b/docbook/primer/macros/macro1.C @@ -22,7 +22,7 @@ // Instance of the graph TGraphErrors graph(n_points,x_vals,y_vals,NULL,y_errs); - graph.SetTitle("Measurement XYZ;lenght [cm];Arb.Units"); + graph.SetTitle("Measurement XYZ;length [cm];Arb.Units"); // Make the plot estetically better graph.SetMarkerStyle(kOpenCircle); --- a/docbook/primer/macros/macro2.C +++ b/docbook/primer/macros/macro2.C @@ -8,7 +8,7 @@ "%lg %lg %lg"); graph_expected.SetTitle( "Measurement XYZ and Expectation; - lenght [cm]; + length [cm]; Arb.Units"); graph_expected.SetFillColor(kYellow); graph_expected.DrawClone("E3AL"); // E3 draws the band --- a/graf2d/cocoa/src/TGCocoa.mm +++ b/graf2d/cocoa/src/TGCocoa.mm @@ -2745,7 +2745,7 @@ //______________________________________________________________________________ Int_t TGCocoa::TextWidth(FontStruct_t font, const char *s, Int_t len) { - // Return lenght of the string "s" in pixels. Size depends on font. + // Return length of the string "s" in pixels. Size depends on font. return fPimpl->fFontManager.GetTextWidth(font, s, len); } debian/patches/15-enable-extra-ldflags.patch0000644000000000000000000000132412253755630016052 0ustar --- a/configure +++ b/configure @@ -6801,7 +6801,7 @@ sed -e "s|@useconfig@|FALSE|" \ -e "s|@cflags@||" \ - -e "s|@ldflags@||" \ + -e "s|@ldflags@|$EXTRA_LDFLAGS|" \ < Makefile.tmp > Makefile.tmpp mv Makefile.tmpp Makefile.tmp fi @@ -6940,7 +6940,7 @@ -e "s|@ldapincdir@|$ldapincdir|" \ -e "s|@ldaplib@|$ldaplib|" \ -e "s|@ldaplibdir@|$ldaplibdir|" \ - -e "s|@ldflags@||" \ + -e "s|@ldflags@|$EXTRA_LDFLAGS|" \ -e "s|@libdir@|$libdir|" \ -e "s|@llvmconfig@|$llvmconfig|" \ -e "s|@macosxvers@|$macosxvers|" \ debian/patches/47-fix-typo-enviroment-environment.patch0000644000000000000000000000125212253755630020403 0ustar diff --git a/net/net/src/TS3WebFile.cxx b/net/net/src/TS3WebFile.cxx index 8380123..5324363 100644 --- a/net/net/src/TS3WebFile.cxx +++ b/net/net/src/TS3WebFile.cxx @@ -180,7 +180,7 @@ TS3WebFile::TS3WebFile(const char* path, Option_t* options) fS3Request.SetHost(fUrl.GetHost()); if (accessKey.IsNull() || secretKey.IsNull()) { // We have no authentication information, neither in the options - // nor in the enviromental variables. So may be this is a + // nor in the environmental variables. So may be this is a // world-readable file, so let's continue and see if // we can open it. fS3Request.SetAuthType(TS3HTTPRequest::kNoAuth); debian/patches/19-remove-embedded-library-gl2ps.patch0000644000000000000000000057744412253755630017635 0ustar --- a/graf3d/gl/Module.mk +++ b/graf3d/gl/Module.mk @@ -33,7 +33,7 @@ endif # Excluded from rootcint -GLH1 := $(MODDIRI)/gl2ps.h $(MODDIRI)/CsgOps.h \ +GLH1 := $(MODDIRI)/CsgOps.h \ $(MODDIRI)/TGLIncludes.h $(MODDIRI)/TGLWSIncludes.h \ $(MODDIRI)/TGLContextPrivate.h $(MODDIRI)/TGLMarchingCubes.h \ $(MODDIRI)/TKDEAdapter.h $(MODDIRI)/TGL5DPainter.h \ @@ -78,7 +78,7 @@ @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ "$(SOFLAGS)" libRGL.$(SOEXT) $@ "$(GLO) $(GLO1) $(GLDO)" \ "$(GLLIBEXTRA) $(FTGLLIBDIR) $(FTGLLIBS) \ - $(GLEWLIBDIR) $(GLEWLIBS) $(GLLIBS)" + $(GLEWLIBDIR) $(GLEWLIBS) -lgl2ps $(GLLIBS)" $(GLDS): $(GLH2) $(GLL) $(ROOTCINTTMPDEP) $(MAKEDIR) --- a/graf3d/gl/src/gl2ps.cxx +++ /dev/null @@ -1,6033 +0,0 @@ -// @(#)root/gl:$Id$ -/* - * GL2PS, an OpenGL to PostScript Printing Library - * Copyright (C) 1999-2009 C. Geuzaine - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of either: - * - * a) the GNU Library General Public License as published by the Free - * Software Foundation, either version 2 of the License, or (at your - * option) any later version; or - * - * b) the GL2PS License as published by Christophe Geuzaine, either - * version 2 of the License, or (at your option) any later version. - * - * This program 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 either - * the GNU Library General Public License or the GL2PS License for - * more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library in the file named "COPYING.LGPL"; - * if not, write to the Free Software Foundation, Inc., 675 Mass Ave, - * Cambridge, MA 02139, USA. - * - * You should have received a copy of the GL2PS License with this - * library in the file named "COPYING.GL2PS"; if not, I will be glad - * to provide one. - * - * Contributors: - * Michael Sweet - * Marc Ume - * Jean-Francois Remacle - * Bart Kaptein - * Quy Nguyen-Dai - * Sam Buss - * Shane Hill - * Romain Boman - * Rouben Rostamian - * Diego Santa Cruz - * Shahzad Muzaffar - * Lassi Tuura - * Guy Barrand - * Prabhu Ramachandran - * Micha Bieber - * Olivier Couet - * Shai Ayal - * Fabian Wenzel - * Ian D. Gay - * Cosmin Truta - * Baiju Devani - * Alexander Danilov - * - * For the latest info about gl2ps, see http://www.geuz.org/gl2ps/. - * Please report all bugs and problems to . - */ - -#include "gl2ps.h" - -#include -#include -#include -#include -#include -#include - -#if defined(GL2PS_HAVE_ZLIB) -#include -#endif - -#if defined(GL2PS_HAVE_LIBPNG) -#include -#endif - -/********************************************************************* - * - * Private definitions, data structures and prototypes - * - *********************************************************************/ - -/* Magic numbers (assuming that the order of magnitude of window - coordinates is 10^3) */ - -#define GL2PS_EPSILON 5.0e-3F -#define GL2PS_ZSCALE 1000.0F -#define GL2PS_ZOFFSET 5.0e-2F -#define GL2PS_ZOFFSET_LARGE 20.0F -#define GL2PS_ZERO(arg) (fabs(arg) < 1.e-20) - -/* Primitive types */ - -#define GL2PS_NO_TYPE -1 -#define GL2PS_TEXT 1 -#define GL2PS_POINT 2 -#define GL2PS_LINE 3 -#define GL2PS_QUADRANGLE 4 -#define GL2PS_TRIANGLE 5 -#define GL2PS_PIXMAP 6 -#define GL2PS_IMAGEMAP 7 -#define GL2PS_IMAGEMAP_WRITTEN 8 -#define GL2PS_IMAGEMAP_VISIBLE 9 -#define GL2PS_SPECIAL 10 - -/* BSP tree primitive comparison */ - -#define GL2PS_COINCIDENT 1 -#define GL2PS_IN_FRONT_OF 2 -#define GL2PS_IN_BACK_OF 3 -#define GL2PS_SPANNING 4 - -/* 2D BSP tree primitive comparison */ - -#define GL2PS_POINT_COINCIDENT 0 -#define GL2PS_POINT_INFRONT 1 -#define GL2PS_POINT_BACK 2 - -/* Internal feedback buffer pass-through tokens */ - -#define GL2PS_BEGIN_OFFSET_TOKEN 1 -#define GL2PS_END_OFFSET_TOKEN 2 -#define GL2PS_BEGIN_BOUNDARY_TOKEN 3 -#define GL2PS_END_BOUNDARY_TOKEN 4 -#define GL2PS_BEGIN_STIPPLE_TOKEN 5 -#define GL2PS_END_STIPPLE_TOKEN 6 -#define GL2PS_POINT_SIZE_TOKEN 7 -#define GL2PS_LINE_WIDTH_TOKEN 8 -#define GL2PS_BEGIN_BLEND_TOKEN 9 -#define GL2PS_END_BLEND_TOKEN 10 -#define GL2PS_SRC_BLEND_TOKEN 11 -#define GL2PS_DST_BLEND_TOKEN 12 -#define GL2PS_IMAGEMAP_TOKEN 13 -#define GL2PS_DRAW_PIXELS_TOKEN 14 -#define GL2PS_TEXT_TOKEN 15 - -typedef enum { - T_UNDEFINED = -1, - T_CONST_COLOR = 1, - T_VAR_COLOR = 1<<1, - T_ALPHA_1 = 1<<2, - T_ALPHA_LESS_1 = 1<<3, - T_VAR_ALPHA = 1<<4 -} GL2PS_TRIANGLE_PROPERTY; - -typedef GLfloat GL2PSxyz[3]; -typedef GLfloat GL2PSplane[4]; - -typedef struct _GL2PSbsptree2d GL2PSbsptree2d; - -struct _GL2PSbsptree2d { - GL2PSplane plane; - GL2PSbsptree2d *front, *back; -}; - -typedef struct { - GLint nmax, size, incr, n; - char *array; -} GL2PSlist; - -typedef struct _GL2PSbsptree GL2PSbsptree; - -struct _GL2PSbsptree { - GL2PSplane plane; - GL2PSlist *primitives; - GL2PSbsptree *front, *back; -}; - -typedef struct { - GL2PSxyz xyz; - GL2PSrgba rgba; -} GL2PSvertex; - -typedef struct { - GL2PSvertex vertex[3]; - int prop; -} GL2PStriangle; - -typedef struct { - GLshort fontsize; - char *str, *fontname; - /* Note: for a 'special' string, 'alignment' holds the format - (PostScript, PDF, etc.) of the special string */ - GLint alignment; - GLfloat angle; -} GL2PSstring; - -typedef struct { - GLsizei width, height; - /* Note: for an imagemap, 'type' indicates if it has already been - written to the file or not, and 'format' indicates if it is - visible or not */ - GLenum format, type; - GLfloat *pixels; -} GL2PSimage; - -typedef struct _GL2PSimagemap GL2PSimagemap; - -struct _GL2PSimagemap { - GL2PSimage *image; - GL2PSimagemap *next; -}; - -typedef struct { - GLshort type, numverts; - GLushort pattern; - char boundary, offset, culled; - GLint factor; - GLfloat width; - GL2PSvertex *verts; - union { - GL2PSstring *text; - GL2PSimage *image; - } data; -} GL2PSprimitive; - -typedef struct { -#if defined(GL2PS_HAVE_ZLIB) - Bytef *dest, *src, *start; - uLongf destLen, srcLen; -#else - int dummy; -#endif -} GL2PScompress; - -typedef struct{ - GL2PSlist* ptrlist; - int gsno, fontno, imno, shno, maskshno, trgroupno; - int gsobjno, fontobjno, imobjno, shobjno, maskshobjno, trgroupobjno; -} GL2PSpdfgroup; - -typedef struct { - /* General */ - GLint format, sort, options, colorsize, colormode, buffersize; - char *title, *producer, *filename; - GLboolean boundary, blending; - GLfloat *feedback, offset[2], lastlinewidth; - GLint viewport[4], blendfunc[2], lastfactor; - GL2PSrgba *colormap, lastrgba, threshold, bgcolor; - GLushort lastpattern; - GL2PSvertex lastvertex; - GL2PSlist *primitives, *auxprimitives; - FILE *stream; - GL2PScompress *compress; - GLboolean header; - - /* BSP-specific */ - GLint maxbestroot; - - /* Occlusion culling-specific */ - GLboolean zerosurfacearea; - GL2PSbsptree2d *imagetree; - GL2PSprimitive *primitivetoadd; - - /* PDF-specific */ - int streamlength; - GL2PSlist *pdfprimlist, *pdfgrouplist; - int *xreflist; - int objects_stack; /* available objects */ - int extgs_stack; /* graphics state object number */ - int font_stack; /* font object number */ - int im_stack; /* image object number */ - int trgroupobjects_stack; /* xobject numbers */ - int shader_stack; /* shader object numbers */ - int mshader_stack; /* mask shader object numbers */ - - /* for image map list */ - GL2PSimagemap *imagemap_head; - GL2PSimagemap *imagemap_tail; -} GL2PScontext; - -typedef struct { - void (*printHeader)(void); - void (*printFooter)(void); - void (*beginViewport)(GLint viewport[4]); - GLint (*endViewport)(void); - void (*printPrimitive)(void *data); - void (*printFinalPrimitive)(void); - const char *file_extension; - const char *description; -} GL2PSbackend; - -/* The gl2ps context. gl2ps is not thread safe (we should create a - local GL2PScontext during gl2psBeginPage) */ - -static GL2PScontext *gl2ps = NULL; - -/* Need to forward-declare this one */ - -static GLint gl2psPrintPrimitives(void); - -/********************************************************************* - * - * Utility routines - * - *********************************************************************/ - -static void gl2psMsg(GLint level, const char *fmt, ...) -{ - va_list args; - - if(!(gl2ps->options & GL2PS_SILENT)){ - switch(level){ - case GL2PS_INFO : fprintf(stderr, "GL2PS info: "); break; - case GL2PS_WARNING : fprintf(stderr, "GL2PS warning: "); break; - case GL2PS_ERROR : fprintf(stderr, "GL2PS error: "); break; - } - va_start(args, fmt); - vfprintf(stderr, fmt, args); - va_end(args); - fprintf(stderr, "\n"); - } - /* if(level == GL2PS_ERROR) exit(1); */ -} - -static void *gl2psMalloc(size_t size) -{ - void *ptr; - - if(!size) return(NULL); - ptr = malloc(size); - if(!ptr){ - gl2psMsg(GL2PS_ERROR, "Couldn't allocate requested memory"); - exit(1); - } - return(ptr); -} - -static void *gl2psRealloc(void *ptr, size_t size) -{ - if(!size) return(NULL); - ptr = realloc(ptr, size); - if(!ptr){ - gl2psMsg(GL2PS_ERROR, "Couldn't reallocate requested memory"); - exit(1); - } - return(ptr); -} - -static void gl2psFree(void *ptr) -{ - if(!ptr) return; - free(ptr); -} - -static size_t gl2psWriteBigEndian(unsigned long data, size_t bytes) -{ - size_t i; - size_t size = sizeof(unsigned long); - for(i = 1; i <= bytes; ++i){ - fputc(0xff & (data >> (size-i) * 8), gl2ps->stream); - } - return bytes; -} - -/* zlib compression helper routines */ - -#if defined(GL2PS_HAVE_ZLIB) - -static void gl2psSetupCompress(void) -{ - gl2ps->compress = (GL2PScompress*)gl2psMalloc(sizeof(GL2PScompress)); - gl2ps->compress->src = NULL; - gl2ps->compress->start = NULL; - gl2ps->compress->dest = NULL; - gl2ps->compress->srcLen = 0; - gl2ps->compress->destLen = 0; -} - -static void gl2psFreeCompress(void) -{ - if(!gl2ps->compress) - return; - gl2psFree(gl2ps->compress->start); - gl2psFree(gl2ps->compress->dest); - gl2ps->compress->src = NULL; - gl2ps->compress->start = NULL; - gl2ps->compress->dest = NULL; - gl2ps->compress->srcLen = 0; - gl2ps->compress->destLen = 0; -} - -static int gl2psAllocCompress(unsigned int srcsize) -{ - gl2psFreeCompress(); - - if(!gl2ps->compress || !srcsize) - return GL2PS_ERROR; - - gl2ps->compress->srcLen = srcsize; - gl2ps->compress->destLen = (int)ceil(1.001 * gl2ps->compress->srcLen + 12); - gl2ps->compress->src = (Bytef*)gl2psMalloc(gl2ps->compress->srcLen); - gl2ps->compress->start = gl2ps->compress->src; - gl2ps->compress->dest = (Bytef*)gl2psMalloc(gl2ps->compress->destLen); - - return GL2PS_SUCCESS; -} - -static void *gl2psReallocCompress(unsigned int srcsize) -{ - if(!gl2ps->compress || !srcsize) - return NULL; - - if(srcsize < gl2ps->compress->srcLen) - return gl2ps->compress->start; - - gl2ps->compress->srcLen = srcsize; - gl2ps->compress->destLen = (int)ceil(1.001 * gl2ps->compress->srcLen + 12); - gl2ps->compress->src = (Bytef*)gl2psRealloc(gl2ps->compress->src, - gl2ps->compress->srcLen); - gl2ps->compress->start = gl2ps->compress->src; - gl2ps->compress->dest = (Bytef*)gl2psRealloc(gl2ps->compress->dest, - gl2ps->compress->destLen); - - return gl2ps->compress->start; -} - -static size_t gl2psWriteBigEndianCompress(unsigned long data, size_t bytes) -{ - size_t i; - size_t size = sizeof(unsigned long); - for(i = 1; i <= bytes; ++i){ - *gl2ps->compress->src = (Bytef)(0xff & (data >> (size-i) * 8)); - ++gl2ps->compress->src; - } - return bytes; -} - -static int gl2psDeflate(void) -{ - /* For compatibility with older zlib versions, we use compress(...) - instead of compress2(..., Z_BEST_COMPRESSION) */ - return compress(gl2ps->compress->dest, &gl2ps->compress->destLen, - gl2ps->compress->start, gl2ps->compress->srcLen); -} - -#endif - -static int gl2psPrintf(const char* fmt, ...) -{ - int ret; - va_list args; - -#if defined(GL2PS_HAVE_ZLIB) - unsigned int oldsize = 0; - static char buf[1000]; - if(gl2ps->options & GL2PS_COMPRESS){ - va_start(args, fmt); - ret = vsprintf(buf, fmt, args); - va_end(args); - oldsize = gl2ps->compress->srcLen; - gl2ps->compress->start = (Bytef*)gl2psReallocCompress(oldsize + ret); - memcpy(gl2ps->compress->start+oldsize, buf, ret); - ret = 0; - } - else{ -#endif - va_start(args, fmt); - ret = vfprintf(gl2ps->stream, fmt, args); - va_end(args); -#if defined(GL2PS_HAVE_ZLIB) - } -#endif - return ret; -} - -static void gl2psPrintGzipHeader() -{ -#if defined(GL2PS_HAVE_ZLIB) - char tmp[10] = {'\x1f', '\x8b', /* magic numbers: 0x1f, 0x8b */ - 8, /* compression method: Z_DEFLATED */ - 0, /* flags */ - 0, 0, 0, 0, /* time */ - 2, /* extra flags: max compression */ - '\x03'}; /* OS code: 0x03 (Unix) */ - - if(gl2ps->options & GL2PS_COMPRESS){ - gl2psSetupCompress(); - /* add the gzip file header */ - fwrite(tmp, 10, 1, gl2ps->stream); - } -#endif -} - -static void gl2psPrintGzipFooter() -{ -#if defined(GL2PS_HAVE_ZLIB) - int n; - uLong crc, len; - char tmp[8]; - - if(gl2ps->options & GL2PS_COMPRESS){ - if(Z_OK != gl2psDeflate()){ - gl2psMsg(GL2PS_ERROR, "Zlib deflate error"); - } - else{ - /* determine the length of the header in the zlib stream */ - n = 2; /* CMF+FLG */ - if(gl2ps->compress->dest[1] & (1<<5)){ - n += 4; /* DICTID */ - } - /* write the data, without the zlib header and footer */ - fwrite(gl2ps->compress->dest+n, gl2ps->compress->destLen-(n+4), - 1, gl2ps->stream); - /* add the gzip file footer */ - crc = crc32(0L, gl2ps->compress->start, gl2ps->compress->srcLen); - for(n = 0; n < 4; ++n){ - tmp[n] = (char)(crc & 0xff); - crc >>= 8; - } - len = gl2ps->compress->srcLen; - for(n = 4; n < 8; ++n){ - tmp[n] = (char)(len & 0xff); - len >>= 8; - } - fwrite(tmp, 8, 1, gl2ps->stream); - } - gl2psFreeCompress(); - gl2psFree(gl2ps->compress); - gl2ps->compress = NULL; - } -#endif -} - -/* The list handling routines */ - -static void gl2psListRealloc(GL2PSlist *list, GLint n) -{ - if(!list){ - gl2psMsg(GL2PS_ERROR, "Cannot reallocate NULL list"); - return; - } - if(n <= 0) return; - if(!list->array){ - list->nmax = n; - list->array = (char*)gl2psMalloc(list->nmax * list->size); - } - else{ - if(n > list->nmax){ - list->nmax = ((n - 1) / list->incr + 1) * list->incr; - list->array = (char*)gl2psRealloc(list->array, - list->nmax * list->size); - } - } -} - -static GL2PSlist *gl2psListCreate(GLint n, GLint incr, GLint size) -{ - GL2PSlist *list; - - if(n < 0) n = 0; - if(incr <= 0) incr = 1; - list = (GL2PSlist*)gl2psMalloc(sizeof(GL2PSlist)); - list->nmax = 0; - list->incr = incr; - list->size = size; - list->n = 0; - list->array = NULL; - gl2psListRealloc(list, n); - return(list); -} - -static void gl2psListReset(GL2PSlist *list) -{ - if(!list) return; - list->n = 0; -} - -static void gl2psListDelete(GL2PSlist *list) -{ - if(!list) return; - gl2psFree(list->array); - gl2psFree(list); -} - -static void gl2psListAdd(GL2PSlist *list, void *data) -{ - if(!list){ - gl2psMsg(GL2PS_ERROR, "Cannot add into unallocated list"); - return; - } - list->n++; - gl2psListRealloc(list, list->n); - memcpy(&list->array[(list->n - 1) * list->size], data, list->size); -} - -static int gl2psListNbr(GL2PSlist *list) -{ - if(!list) - return 0; - return(list->n); -} - -static void *gl2psListPointer(GL2PSlist *list, GLint index) -{ - if(!list){ - gl2psMsg(GL2PS_ERROR, "Cannot point into unallocated list"); - return NULL; - } - if((index < 0) || (index >= list->n)){ - gl2psMsg(GL2PS_ERROR, "Wrong list index in gl2psListPointer"); - return NULL; - } - return(&list->array[index * list->size]); -} - -static void gl2psListSort(GL2PSlist *list, - int (*fcmp)(const void *a, const void *b)) -{ - if(!list) - return; - qsort(list->array, list->n, list->size, fcmp); -} - -static void gl2psListAction(GL2PSlist *list, void (*action)(void *data)) -{ - GLint i; - - for(i = 0; i < gl2psListNbr(list); i++){ - (*action)(gl2psListPointer(list, i)); - } -} - -static void gl2psListActionInverse(GL2PSlist *list, void (*action)(void *data)) -{ - GLint i; - - for(i = gl2psListNbr(list); i > 0; i--){ - (*action)(gl2psListPointer(list, i-1)); - } -} - -#if defined(GL2PS_HAVE_LIBPNG) - -static void gl2psListRead(GL2PSlist *list, int index, void *data) -{ - if((index < 0) || (index >= list->n)) - gl2psMsg(GL2PS_ERROR, "Wrong list index in gl2psListRead"); - memcpy(data, &list->array[index * list->size], list->size); -} - -static void gl2psEncodeBase64Block(unsigned char in[3], unsigned char out[4], int len) -{ - static const char cb64[] = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - - out[0] = cb64[ in[0] >> 2 ]; - out[1] = cb64[ ((in[0] & 0x03) << 4) | ((in[1] & 0xf0) >> 4) ]; - out[2] = (len > 1) ? cb64[ ((in[1] & 0x0f) << 2) | ((in[2] & 0xc0) >> 6) ] : '='; - out[3] = (len > 2) ? cb64[ in[2] & 0x3f ] : '='; -} - -static void gl2psListEncodeBase64(GL2PSlist *list) -{ - unsigned char *buffer, in[3], out[4]; - int i, n, index, len; - - n = list->n * list->size; - buffer = (unsigned char*)gl2psMalloc(n * sizeof(unsigned char)); - memcpy(buffer, list->array, n * sizeof(unsigned char)); - gl2psListReset(list); - - index = 0; - while(index < n) { - len = 0; - for(i = 0; i < 3; i++) { - if(index < n){ - in[i] = buffer[index]; - len++; - } - else{ - in[i] = 0; - } - index++; - } - if(len) { - gl2psEncodeBase64Block(in, out, len); - for(i = 0; i < 4; i++) - gl2psListAdd(list, &out[i]); - } - } - gl2psFree(buffer); -} - -#endif - -/* Helpers for rgba colors */ - -static GLboolean gl2psSameColor(GL2PSrgba rgba1, GL2PSrgba rgba2) -{ - if(!GL2PS_ZERO(rgba1[0] - rgba2[0]) || - !GL2PS_ZERO(rgba1[1] - rgba2[1]) || - !GL2PS_ZERO(rgba1[2] - rgba2[2])) - return GL_FALSE; - return GL_TRUE; -} - -static GLboolean gl2psVertsSameColor(const GL2PSprimitive *prim) -{ - int i; - - for(i = 1; i < prim->numverts; i++){ - if(!gl2psSameColor(prim->verts[0].rgba, prim->verts[i].rgba)){ - return GL_FALSE; - } - } - return GL_TRUE; -} - -static GLboolean gl2psSameColorThreshold(int n, GL2PSrgba rgba[], - GL2PSrgba threshold) -{ - int i; - - if(n < 2) return GL_TRUE; - - for(i = 1; i < n; i++){ - if(fabs(rgba[0][0] - rgba[i][0]) > threshold[0] || - fabs(rgba[0][1] - rgba[i][1]) > threshold[1] || - fabs(rgba[0][2] - rgba[i][2]) > threshold[2]) - return GL_FALSE; - } - - return GL_TRUE; -} - -static void gl2psSetLastColor(GL2PSrgba rgba) -{ - int i; - for(i = 0; i < 3; ++i){ - gl2ps->lastrgba[i] = rgba[i]; - } -} - -static GLfloat gl2psGetRGB(GL2PSimage *im, GLuint x, GLuint y, - GLfloat *red, GLfloat *green, GLfloat *blue) -{ - - GLsizei width = im->width; - GLsizei height = im->height; - GLfloat *pixels = im->pixels; - GLfloat *pimag; - - /* OpenGL image is from down to up, PS image is up to down */ - switch(im->format){ - case GL_RGBA: - pimag = pixels + 4 * (width * (height - 1 - y) + x); - break; - case GL_RGB: - default: - pimag = pixels + 3 * (width * (height - 1 - y) + x); - break; - } - *red = *pimag; pimag++; - *green = *pimag; pimag++; - *blue = *pimag; pimag++; - - return (im->format == GL_RGBA) ? *pimag : 1.0F; -} - -/* Helper routines for pixmaps */ - -static GL2PSimage *gl2psCopyPixmap(GL2PSimage *im) -{ - int size; - GL2PSimage *image = (GL2PSimage*)gl2psMalloc(sizeof(GL2PSimage)); - - image->width = im->width; - image->height = im->height; - image->format = im->format; - image->type = im->type; - - switch(image->format){ - case GL_RGBA: - size = image->height * image->width * 4 * sizeof(GLfloat); - break; - case GL_RGB: - default: - size = image->height * image->width * 3 * sizeof(GLfloat); - break; - } - - image->pixels = (GLfloat*)gl2psMalloc(size); - memcpy(image->pixels, im->pixels, size); - - return image; -} - -static void gl2psFreePixmap(GL2PSimage *im) -{ - if(!im) - return; - gl2psFree(im->pixels); - gl2psFree(im); -} - -#if defined(GL2PS_HAVE_LIBPNG) - -#if !defined(png_jmpbuf) -# define png_jmpbuf(png_ptr) ((png_ptr)->jmpbuf) -#endif - -static void gl2psUserWritePNG(png_structp png_ptr, png_bytep data, png_size_t length) -{ - unsigned int i; - GL2PSlist *png = (GL2PSlist*)png_get_io_ptr(png_ptr); - for(i = 0; i < length; i++) - gl2psListAdd(png, &data[i]); -} - -static void gl2psUserFlushPNG(png_structp png_ptr) -{ -} - -static void gl2psConvertPixmapToPNG(GL2PSimage *pixmap, GL2PSlist *png) -{ - png_structp png_ptr; - png_infop info_ptr; - unsigned char *row_data; - GLfloat dr, dg, db; - int row, col; - - if(!(png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL))) - return; - - if(!(info_ptr = png_create_info_struct(png_ptr))){ - png_destroy_write_struct(&png_ptr, NULL); - return; - } - - if(setjmp(png_jmpbuf(png_ptr))) { - png_destroy_write_struct(&png_ptr, &info_ptr); - return; - } - - png_set_write_fn(png_ptr, (void *)png, gl2psUserWritePNG, gl2psUserFlushPNG); - png_set_compression_level(png_ptr, Z_DEFAULT_COMPRESSION); - png_set_IHDR(png_ptr, info_ptr, pixmap->width, pixmap->height, 8, - PNG_COLOR_TYPE_RGB, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, - PNG_FILTER_TYPE_BASE); - png_write_info(png_ptr, info_ptr); - - row_data = (unsigned char*)gl2psMalloc(3 * pixmap->width * sizeof(unsigned char)); - for(row = 0; row < pixmap->height; row++){ - for(col = 0; col < pixmap->width; col++){ - gl2psGetRGB(pixmap, col, row, &dr, &dg, &db); - row_data[3*col] = (unsigned char)(255. * dr); - row_data[3*col+1] = (unsigned char)(255. * dg); - row_data[3*col+2] = (unsigned char)(255. * db); - } - png_write_row(png_ptr, (png_bytep)row_data); - } - gl2psFree(row_data); - - png_write_end(png_ptr, info_ptr); - png_destroy_write_struct(&png_ptr, &info_ptr); -} - -#endif - -/* Helper routines for text strings */ - -static GLint gl2psAddText(GLint type, const char *str, const char *fontname, - GLshort fontsize, GLint alignment, GLfloat angle) -{ - GLfloat pos[4]; - GL2PSprimitive *prim; - GLboolean valid; - - if(!gl2ps || !str || !fontname) return GL2PS_UNINITIALIZED; - - if(gl2ps->options & GL2PS_NO_TEXT) return GL2PS_SUCCESS; - - glGetBooleanv(GL_CURRENT_RASTER_POSITION_VALID, &valid); - if(GL_FALSE == valid) return GL2PS_SUCCESS; /* the primitive is culled */ - - glGetFloatv(GL_CURRENT_RASTER_POSITION, pos); - - prim = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - prim->type = type; - prim->boundary = 0; - prim->numverts = 1; - prim->verts = (GL2PSvertex*)gl2psMalloc(sizeof(GL2PSvertex)); - prim->verts[0].xyz[0] = pos[0]; - prim->verts[0].xyz[1] = pos[1]; - prim->verts[0].xyz[2] = pos[2]; - prim->culled = 0; - prim->offset = 0; - prim->pattern = 0; - prim->factor = 0; - prim->width = 1; - glGetFloatv(GL_CURRENT_RASTER_COLOR, prim->verts[0].rgba); - prim->data.text = (GL2PSstring*)gl2psMalloc(sizeof(GL2PSstring)); - prim->data.text->str = (char*)gl2psMalloc((strlen(str)+1)*sizeof(char)); - strcpy(prim->data.text->str, str); - prim->data.text->fontname = (char*)gl2psMalloc((strlen(fontname)+1)*sizeof(char)); - strcpy(prim->data.text->fontname, fontname); - prim->data.text->fontsize = fontsize; - prim->data.text->alignment = alignment; - prim->data.text->angle = angle; - - gl2psListAdd(gl2ps->auxprimitives, &prim); - glPassThrough(GL2PS_TEXT_TOKEN); - - return GL2PS_SUCCESS; -} - -static GL2PSstring *gl2psCopyText(GL2PSstring *t) -{ - GL2PSstring *text = (GL2PSstring*)gl2psMalloc(sizeof(GL2PSstring)); - text->str = (char*)gl2psMalloc((strlen(t->str)+1)*sizeof(char)); - strcpy(text->str, t->str); - text->fontname = (char*)gl2psMalloc((strlen(t->fontname)+1)*sizeof(char)); - strcpy(text->fontname, t->fontname); - text->fontsize = t->fontsize; - text->alignment = t->alignment; - text->angle = t->angle; - - return text; -} - -static void gl2psFreeText(GL2PSstring *text) -{ - if(!text) - return; - gl2psFree(text->str); - gl2psFree(text->fontname); - gl2psFree(text); -} - -/* Helpers for blending modes */ - -static GLboolean gl2psSupportedBlendMode(GLenum sfactor, GLenum dfactor) -{ - /* returns TRUE if gl2ps supports the argument combination: only two - blending modes have been implemented so far */ - - if( (sfactor == GL_SRC_ALPHA && dfactor == GL_ONE_MINUS_SRC_ALPHA) || - (sfactor == GL_ONE && dfactor == GL_ZERO) ) - return GL_TRUE; - return GL_FALSE; -} - -static void gl2psAdaptVertexForBlending(GL2PSvertex *v) -{ - /* Transforms vertex depending on the actual blending function - - currently the vertex v is considered as source vertex and his - alpha value is changed to 1.0 if source blending GL_ONE is - active. This might be extended in the future */ - - if(!v || !gl2ps) - return; - - if(gl2ps->options & GL2PS_NO_BLENDING || !gl2ps->blending){ - v->rgba[3] = 1.0F; - return; - } - - switch(gl2ps->blendfunc[0]){ - case GL_ONE: - v->rgba[3] = 1.0F; - break; - default: - break; - } -} - -static void gl2psAssignTriangleProperties(GL2PStriangle *t) -{ - /* int i; */ - - t->prop = T_VAR_COLOR; - - /* Uncommenting the following lines activates an even more fine - grained distinction between triangle types - please don't delete, - a remarkable amount of PDF handling code inside this file depends - on it if activated */ - /* - t->prop = T_CONST_COLOR; - for(i = 0; i < 3; ++i){ - if(!GL2PS_ZERO(t->vertex[0].rgba[i] - t->vertex[1].rgba[i]) || - !GL2PS_ZERO(t->vertex[1].rgba[i] - t->vertex[2].rgba[i])){ - t->prop = T_VAR_COLOR; - break; - } - } - */ - - if(!GL2PS_ZERO(t->vertex[0].rgba[3] - t->vertex[1].rgba[3]) || - !GL2PS_ZERO(t->vertex[1].rgba[3] - t->vertex[2].rgba[3])){ - t->prop |= T_VAR_ALPHA; - } - else{ - if(t->vertex[0].rgba[3] < 1) - t->prop |= T_ALPHA_LESS_1; - else - t->prop |= T_ALPHA_1; - } -} - -static void gl2psFillTriangleFromPrimitive(GL2PStriangle *t, GL2PSprimitive *p, - GLboolean assignprops) -{ - t->vertex[0] = p->verts[0]; - t->vertex[1] = p->verts[1]; - t->vertex[2] = p->verts[2]; - if(GL_TRUE == assignprops) - gl2psAssignTriangleProperties(t); -} - -static void gl2psInitTriangle(GL2PStriangle *t) -{ - int i; - GL2PSvertex vertex = { {-1.0F, -1.0F, -1.0F}, {-1.0F, -1.0F, -1.0F, -1.0F} }; - for(i = 0; i < 3; i++) - t->vertex[i] = vertex; - t->prop = T_UNDEFINED; -} - -/* Miscellaneous helper routines */ - -static GL2PSprimitive *gl2psCopyPrimitive(GL2PSprimitive *p) -{ - GL2PSprimitive *prim; - - if(!p){ - gl2psMsg(GL2PS_ERROR, "Trying to copy an empty primitive"); - return NULL; - } - - prim = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - - prim->type = p->type; - prim->numverts = p->numverts; - prim->boundary = p->boundary; - prim->offset = p->offset; - prim->pattern = p->pattern; - prim->factor = p->factor; - prim->culled = p->culled; - prim->width = p->width; - prim->verts = (GL2PSvertex*)gl2psMalloc(p->numverts*sizeof(GL2PSvertex)); - memcpy(prim->verts, p->verts, p->numverts * sizeof(GL2PSvertex)); - - switch(prim->type){ - case GL2PS_PIXMAP : - prim->data.image = gl2psCopyPixmap(p->data.image); - break; - case GL2PS_TEXT : - case GL2PS_SPECIAL : - prim->data.text = gl2psCopyText(p->data.text); - break; - default: - break; - } - - return prim; -} - -static GLboolean gl2psSamePosition(GL2PSxyz p1, GL2PSxyz p2) -{ - if(!GL2PS_ZERO(p1[0] - p2[0]) || - !GL2PS_ZERO(p1[1] - p2[1]) || - !GL2PS_ZERO(p1[2] - p2[2])) - return GL_FALSE; - return GL_TRUE; -} - -/********************************************************************* - * - * 3D sorting routines - * - *********************************************************************/ - -static GLfloat gl2psComparePointPlane(GL2PSxyz point, GL2PSplane plane) -{ - return(plane[0] * point[0] + - plane[1] * point[1] + - plane[2] * point[2] + - plane[3]); -} - -static GLfloat gl2psPsca(GLfloat *a, GLfloat *b) -{ - return(a[0]*b[0] + a[1]*b[1] + a[2]*b[2]); -} - -static void gl2psPvec(GLfloat *a, GLfloat *b, GLfloat *c) -{ - c[0] = a[1]*b[2] - a[2]*b[1]; - c[1] = a[2]*b[0] - a[0]*b[2]; - c[2] = a[0]*b[1] - a[1]*b[0]; -} - -static GLfloat gl2psNorm(GLfloat *a) -{ - return (GLfloat)sqrt(a[0]*a[0] + a[1]*a[1] + a[2]*a[2]); -} - -static void gl2psGetNormal(GLfloat *a, GLfloat *b, GLfloat *c) -{ - GLfloat norm; - - gl2psPvec(a, b, c); - if(!GL2PS_ZERO(norm = gl2psNorm(c))){ - c[0] = c[0] / norm; - c[1] = c[1] / norm; - c[2] = c[2] / norm; - } - else{ - /* The plane is still wrong despite our tests in gl2psGetPlane. - Let's return a dummy value for now (this is a hack: we should - do more intelligent tests in GetPlane) */ - c[0] = c[1] = 0.0F; - c[2] = 1.0F; - } -} - -static void gl2psGetPlane(GL2PSprimitive *prim, GL2PSplane plane) -{ - GL2PSxyz v = {0.0F, 0.0F, 0.0F}, w = {0.0F, 0.0F, 0.0F}; - - switch(prim->type){ - case GL2PS_TRIANGLE : - case GL2PS_QUADRANGLE : - v[0] = prim->verts[1].xyz[0] - prim->verts[0].xyz[0]; - v[1] = prim->verts[1].xyz[1] - prim->verts[0].xyz[1]; - v[2] = prim->verts[1].xyz[2] - prim->verts[0].xyz[2]; - w[0] = prim->verts[2].xyz[0] - prim->verts[0].xyz[0]; - w[1] = prim->verts[2].xyz[1] - prim->verts[0].xyz[1]; - w[2] = prim->verts[2].xyz[2] - prim->verts[0].xyz[2]; - if((GL2PS_ZERO(v[0]) && GL2PS_ZERO(v[1]) && GL2PS_ZERO(v[2])) || - (GL2PS_ZERO(w[0]) && GL2PS_ZERO(w[1]) && GL2PS_ZERO(w[2]))){ - plane[0] = plane[1] = 0.0F; - plane[2] = 1.0F; - plane[3] = -prim->verts[0].xyz[2]; - } - else{ - gl2psGetNormal(v, w, plane); - plane[3] = - - plane[0] * prim->verts[0].xyz[0] - - plane[1] * prim->verts[0].xyz[1] - - plane[2] * prim->verts[0].xyz[2]; - } - break; - case GL2PS_LINE : - v[0] = prim->verts[1].xyz[0] - prim->verts[0].xyz[0]; - v[1] = prim->verts[1].xyz[1] - prim->verts[0].xyz[1]; - v[2] = prim->verts[1].xyz[2] - prim->verts[0].xyz[2]; - if(GL2PS_ZERO(v[0]) && GL2PS_ZERO(v[1]) && GL2PS_ZERO(v[2])){ - plane[0] = plane[1] = 0.0F; - plane[2] = 1.0F; - plane[3] = -prim->verts[0].xyz[2]; - } - else{ - if(GL2PS_ZERO(v[0])) w[0] = 1.0F; - else if(GL2PS_ZERO(v[1])) w[1] = 1.0F; - else w[2] = 1.0F; - gl2psGetNormal(v, w, plane); - plane[3] = - - plane[0] * prim->verts[0].xyz[0] - - plane[1] * prim->verts[0].xyz[1] - - plane[2] * prim->verts[0].xyz[2]; - } - break; - case GL2PS_POINT : - case GL2PS_PIXMAP : - case GL2PS_TEXT : - case GL2PS_SPECIAL : - case GL2PS_IMAGEMAP: - plane[0] = plane[1] = 0.0F; - plane[2] = 1.0F; - plane[3] = -prim->verts[0].xyz[2]; - break; - default : - gl2psMsg(GL2PS_ERROR, "Unknown primitive type in BSP tree"); - plane[0] = plane[1] = plane[3] = 0.0F; - plane[2] = 1.0F; - break; - } -} - -static void gl2psCutEdge(GL2PSvertex *a, GL2PSvertex *b, GL2PSplane plane, - GL2PSvertex *c) -{ - GL2PSxyz v; - GLfloat sect, psca; - - v[0] = b->xyz[0] - a->xyz[0]; - v[1] = b->xyz[1] - a->xyz[1]; - v[2] = b->xyz[2] - a->xyz[2]; - - if(!GL2PS_ZERO(psca = gl2psPsca(plane, v))) - sect = -gl2psComparePointPlane(a->xyz, plane) / psca; - else - sect = 0.0F; - - c->xyz[0] = a->xyz[0] + v[0] * sect; - c->xyz[1] = a->xyz[1] + v[1] * sect; - c->xyz[2] = a->xyz[2] + v[2] * sect; - - c->rgba[0] = (1 - sect) * a->rgba[0] + sect * b->rgba[0]; - c->rgba[1] = (1 - sect) * a->rgba[1] + sect * b->rgba[1]; - c->rgba[2] = (1 - sect) * a->rgba[2] + sect * b->rgba[2]; - c->rgba[3] = (1 - sect) * a->rgba[3] + sect * b->rgba[3]; -} - -static void gl2psCreateSplitPrimitive(GL2PSprimitive *parent, GL2PSplane plane, - GL2PSprimitive *child, GLshort numverts, - GLshort *index0, GLshort *index1) -{ - GLshort i; - - if(parent->type == GL2PS_IMAGEMAP){ - child->type = GL2PS_IMAGEMAP; - child->data.image = parent->data.image; - } - else{ - if(numverts > 4){ - gl2psMsg(GL2PS_WARNING, "%d vertices in polygon", numverts); - numverts = 4; - } - switch(numverts){ - case 1 : child->type = GL2PS_POINT; break; - case 2 : child->type = GL2PS_LINE; break; - case 3 : child->type = GL2PS_TRIANGLE; break; - case 4 : child->type = GL2PS_QUADRANGLE; break; - default: child->type = GL2PS_NO_TYPE; break; - } - } - - child->boundary = 0; /* FIXME: not done! */ - child->culled = parent->culled; - child->offset = parent->offset; - child->pattern = parent->pattern; - child->factor = parent->factor; - child->width = parent->width; - child->numverts = numverts; - child->verts = (GL2PSvertex*)gl2psMalloc(numverts * sizeof(GL2PSvertex)); - - for(i = 0; i < numverts; i++){ - if(index1[i] < 0){ - child->verts[i] = parent->verts[index0[i]]; - } - else{ - gl2psCutEdge(&parent->verts[index0[i]], &parent->verts[index1[i]], - plane, &child->verts[i]); - } - } -} - -static void gl2psAddIndex(GLshort *index0, GLshort *index1, GLshort *nb, - GLshort i, GLshort j) -{ - GLint k; - - for(k = 0; k < *nb; k++){ - if((index0[k] == i && index1[k] == j) || - (index1[k] == i && index0[k] == j)) return; - } - index0[*nb] = i; - index1[*nb] = j; - (*nb)++; -} - -static GLshort gl2psGetIndex(GLshort i, GLshort num) -{ - return (i < num - 1) ? i + 1 : 0; -} - -static GLint gl2psTestSplitPrimitive(GL2PSprimitive *prim, GL2PSplane plane) -{ - GLint type = GL2PS_COINCIDENT; - GLshort i, j; - GLfloat d[5]; - - for(i = 0; i < prim->numverts; i++){ - d[i] = gl2psComparePointPlane(prim->verts[i].xyz, plane); - } - - if(prim->numverts < 2){ - return 0; - } - else{ - for(i = 0; i < prim->numverts; i++){ - j = gl2psGetIndex(i, prim->numverts); - if(d[j] > GL2PS_EPSILON){ - if(type == GL2PS_COINCIDENT) type = GL2PS_IN_BACK_OF; - else if(type != GL2PS_IN_BACK_OF) return 1; - if(d[i] < -GL2PS_EPSILON) return 1; - } - else if(d[j] < -GL2PS_EPSILON){ - if(type == GL2PS_COINCIDENT) type = GL2PS_IN_FRONT_OF; - else if(type != GL2PS_IN_FRONT_OF) return 1; - if(d[i] > GL2PS_EPSILON) return 1; - } - } - } - return 0; -} - -static GLint gl2psSplitPrimitive(GL2PSprimitive *prim, GL2PSplane plane, - GL2PSprimitive **front, GL2PSprimitive **back) -{ - GLshort i, j, in = 0, out = 0; - GLshort in0[5] = {0}, in1[5] = {0}, out0[5] = {0}, out1[5] = {0}; - GLint type; - GLfloat d[5]; - - type = GL2PS_COINCIDENT; - - for(i = 0; i < prim->numverts; i++){ - d[i] = gl2psComparePointPlane(prim->verts[i].xyz, plane); - } - - switch(prim->type){ - case GL2PS_POINT : - if(d[0] > GL2PS_EPSILON) type = GL2PS_IN_BACK_OF; - else if(d[0] < -GL2PS_EPSILON) type = GL2PS_IN_FRONT_OF; - else type = GL2PS_COINCIDENT; - break; - default : - for(i = 0; i < prim->numverts; i++){ - j = gl2psGetIndex(i, prim->numverts); - if(d[j] > GL2PS_EPSILON){ - if(type == GL2PS_COINCIDENT) type = GL2PS_IN_BACK_OF; - else if(type != GL2PS_IN_BACK_OF) type = GL2PS_SPANNING; - if(d[i] < -GL2PS_EPSILON){ - gl2psAddIndex(in0, in1, &in, i, j); - gl2psAddIndex(out0, out1, &out, i, j); - type = GL2PS_SPANNING; - } - gl2psAddIndex(out0, out1, &out, j, -1); - } - else if(d[j] < -GL2PS_EPSILON){ - if(type == GL2PS_COINCIDENT) type = GL2PS_IN_FRONT_OF; - else if(type != GL2PS_IN_FRONT_OF) type = GL2PS_SPANNING; - if(d[i] > GL2PS_EPSILON){ - gl2psAddIndex(in0, in1, &in, i, j); - gl2psAddIndex(out0, out1, &out, i, j); - type = GL2PS_SPANNING; - } - gl2psAddIndex(in0, in1, &in, j, -1); - } - else{ - gl2psAddIndex(in0, in1, &in, j, -1); - gl2psAddIndex(out0, out1, &out, j, -1); - } - } - break; - } - - if(type == GL2PS_SPANNING){ - *back = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - *front = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - gl2psCreateSplitPrimitive(prim, plane, *back, out, out0, out1); - gl2psCreateSplitPrimitive(prim, plane, *front, in, in0, in1); - } - - return type; -} - -static void gl2psDivideQuad(GL2PSprimitive *quad, - GL2PSprimitive **t1, GL2PSprimitive **t2) -{ - *t1 = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - *t2 = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - (*t1)->type = (*t2)->type = GL2PS_TRIANGLE; - (*t1)->numverts = (*t2)->numverts = 3; - (*t1)->culled = (*t2)->culled = quad->culled; - (*t1)->offset = (*t2)->offset = quad->offset; - (*t1)->pattern = (*t2)->pattern = quad->pattern; - (*t1)->factor = (*t2)->factor = quad->factor; - (*t1)->width = (*t2)->width = quad->width; - (*t1)->verts = (GL2PSvertex*)gl2psMalloc(3 * sizeof(GL2PSvertex)); - (*t2)->verts = (GL2PSvertex*)gl2psMalloc(3 * sizeof(GL2PSvertex)); - (*t1)->verts[0] = quad->verts[0]; - (*t1)->verts[1] = quad->verts[1]; - (*t1)->verts[2] = quad->verts[2]; - (*t1)->boundary = ((quad->boundary & 1) ? 1 : 0) | ((quad->boundary & 2) ? 2 : 0); - (*t2)->verts[0] = quad->verts[0]; - (*t2)->verts[1] = quad->verts[2]; - (*t2)->verts[2] = quad->verts[3]; - (*t2)->boundary = ((quad->boundary & 4) ? 2 : 0) | ((quad->boundary & 4) ? 2 : 0); -} - -static int gl2psCompareDepth(const void *a, const void *b) -{ - GL2PSprimitive *q, *w; - GLfloat dq = 0.0F, dw = 0.0F, diff; - int i; - - q = *(GL2PSprimitive**)a; - w = *(GL2PSprimitive**)b; - - for(i = 0; i < q->numverts; i++){ - dq += q->verts[i].xyz[2]; - } - dq /= (GLfloat)q->numverts; - - for(i = 0; i < w->numverts; i++){ - dw += w->verts[i].xyz[2]; - } - dw /= (GLfloat)w->numverts; - - diff = dq - dw; - if(diff > 0.){ - return -1; - } - else if(diff < 0.){ - return 1; - } - else{ - return 0; - } -} - -static int gl2psTrianglesFirst(const void *a, const void *b) -{ - GL2PSprimitive *q, *w; - - q = *(GL2PSprimitive**)a; - w = *(GL2PSprimitive**)b; - return(q->type < w->type ? 1 : -1); -} - -static GLint gl2psFindRoot(GL2PSlist *primitives, GL2PSprimitive **root) -{ - GLint i, j, count, best = 1000000, index = 0; - GL2PSprimitive *prim1, *prim2; - GL2PSplane plane; - GLint maxp; - - if(!gl2psListNbr(primitives)){ - gl2psMsg(GL2PS_ERROR, "Cannot fint root in empty primitive list"); - return 0; - } - - *root = *(GL2PSprimitive**)gl2psListPointer(primitives, 0); - - if(gl2ps->options & GL2PS_BEST_ROOT){ - maxp = gl2psListNbr(primitives); - if(maxp > gl2ps->maxbestroot){ - maxp = gl2ps->maxbestroot; - } - for(i = 0; i < maxp; i++){ - prim1 = *(GL2PSprimitive**)gl2psListPointer(primitives, i); - gl2psGetPlane(prim1, plane); - count = 0; - for(j = 0; j < gl2psListNbr(primitives); j++){ - if(j != i){ - prim2 = *(GL2PSprimitive**)gl2psListPointer(primitives, j); - count += gl2psTestSplitPrimitive(prim2, plane); - } - if(count > best) break; - } - if(count < best){ - best = count; - index = i; - *root = prim1; - if(!count) return index; - } - } - /* if(index) gl2psMsg(GL2PS_INFO, "GL2PS_BEST_ROOT was worth it: %d", index); */ - return index; - } - else{ - return 0; - } -} - -static void gl2psFreeImagemap(GL2PSimagemap *list){ - GL2PSimagemap *next; - while(list != NULL){ - next = list->next; - gl2psFree(list->image->pixels); - gl2psFree(list->image); - gl2psFree(list); - list = next; - } -} - -static void gl2psFreePrimitive(void *data) -{ - GL2PSprimitive *q; - - q = *(GL2PSprimitive**)data; - gl2psFree(q->verts); - if(q->type == GL2PS_TEXT || q->type == GL2PS_SPECIAL){ - gl2psFreeText(q->data.text); - } - else if(q->type == GL2PS_PIXMAP){ - gl2psFreePixmap(q->data.image); - } - gl2psFree(q); -} - -static void gl2psAddPrimitiveInList(GL2PSprimitive *prim, GL2PSlist *list) -{ - GL2PSprimitive *t1, *t2; - - if(prim->type != GL2PS_QUADRANGLE){ - gl2psListAdd(list, &prim); - } - else{ - gl2psDivideQuad(prim, &t1, &t2); - gl2psListAdd(list, &t1); - gl2psListAdd(list, &t2); - gl2psFreePrimitive(&prim); - } - -} - -static void gl2psFreeBspTree(GL2PSbsptree **tree) -{ - if(*tree){ - if((*tree)->back) gl2psFreeBspTree(&(*tree)->back); - if((*tree)->primitives){ - gl2psListAction((*tree)->primitives, gl2psFreePrimitive); - gl2psListDelete((*tree)->primitives); - } - if((*tree)->front) gl2psFreeBspTree(&(*tree)->front); - gl2psFree(*tree); - *tree = NULL; - } -} - -static GLboolean gl2psGreater(GLfloat f1, GLfloat f2) -{ - if(f1 > f2) return GL_TRUE; - else return GL_FALSE; -} - -static GLboolean gl2psLess(GLfloat f1, GLfloat f2) -{ - if(f1 < f2) return GL_TRUE; - else return GL_FALSE; -} - -static void gl2psBuildBspTree(GL2PSbsptree *tree, GL2PSlist *primitives) -{ - GL2PSprimitive *prim, *frontprim = NULL, *backprim = NULL; - GL2PSlist *frontlist, *backlist; - GLint i, index; - - tree->front = NULL; - tree->back = NULL; - tree->primitives = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - index = gl2psFindRoot(primitives, &prim); - gl2psGetPlane(prim, tree->plane); - gl2psAddPrimitiveInList(prim, tree->primitives); - - frontlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - backlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - - for(i = 0; i < gl2psListNbr(primitives); i++){ - if(i != index){ - prim = *(GL2PSprimitive**)gl2psListPointer(primitives,i); - switch(gl2psSplitPrimitive(prim, tree->plane, &frontprim, &backprim)){ - case GL2PS_COINCIDENT: - gl2psAddPrimitiveInList(prim, tree->primitives); - break; - case GL2PS_IN_BACK_OF: - gl2psAddPrimitiveInList(prim, backlist); - break; - case GL2PS_IN_FRONT_OF: - gl2psAddPrimitiveInList(prim, frontlist); - break; - case GL2PS_SPANNING: - gl2psAddPrimitiveInList(backprim, backlist); - gl2psAddPrimitiveInList(frontprim, frontlist); - gl2psFreePrimitive(&prim); - break; - } - } - } - - if(gl2psListNbr(tree->primitives)){ - gl2psListSort(tree->primitives, gl2psTrianglesFirst); - } - - if(gl2psListNbr(frontlist)){ - gl2psListSort(frontlist, gl2psTrianglesFirst); - tree->front = (GL2PSbsptree*)gl2psMalloc(sizeof(GL2PSbsptree)); - gl2psBuildBspTree(tree->front, frontlist); - } - else{ - gl2psListDelete(frontlist); - } - - if(gl2psListNbr(backlist)){ - gl2psListSort(backlist, gl2psTrianglesFirst); - tree->back = (GL2PSbsptree*)gl2psMalloc(sizeof(GL2PSbsptree)); - gl2psBuildBspTree(tree->back, backlist); - } - else{ - gl2psListDelete(backlist); - } - - gl2psListDelete(primitives); -} - -static void gl2psTraverseBspTree(GL2PSbsptree *tree, GL2PSxyz eye, GLfloat epsilon, - GLboolean (*compare)(GLfloat f1, GLfloat f2), - void (*action)(void *data), int inverse) -{ - GLfloat result; - - if(!tree) return; - - result = gl2psComparePointPlane(eye, tree->plane); - - if(GL_TRUE == compare(result, epsilon)){ - gl2psTraverseBspTree(tree->back, eye, epsilon, compare, action, inverse); - if(inverse){ - gl2psListActionInverse(tree->primitives, action); - } - else{ - gl2psListAction(tree->primitives, action); - } - gl2psTraverseBspTree(tree->front, eye, epsilon, compare, action, inverse); - } - else if(GL_TRUE == compare(-epsilon, result)){ - gl2psTraverseBspTree(tree->front, eye, epsilon, compare, action, inverse); - if(inverse){ - gl2psListActionInverse(tree->primitives, action); - } - else{ - gl2psListAction(tree->primitives, action); - } - gl2psTraverseBspTree(tree->back, eye, epsilon, compare, action, inverse); - } - else{ - gl2psTraverseBspTree(tree->front, eye, epsilon, compare, action, inverse); - gl2psTraverseBspTree(tree->back, eye, epsilon, compare, action, inverse); - } -} - -static void gl2psRescaleAndOffset() -{ - GL2PSprimitive *prim; - GLfloat minZ, maxZ, rangeZ, scaleZ; - GLfloat factor, units, area, dZ, dZdX, dZdY, maxdZ; - int i, j; - - if(!gl2psListNbr(gl2ps->primitives)) - return; - - /* get z-buffer range */ - prim = *(GL2PSprimitive**)gl2psListPointer(gl2ps->primitives, 0); - minZ = maxZ = prim->verts[0].xyz[2]; - for(i = 1; i < prim->numverts; i++){ - if(prim->verts[i].xyz[2] < minZ) minZ = prim->verts[i].xyz[2]; - if(prim->verts[i].xyz[2] > maxZ) maxZ = prim->verts[i].xyz[2]; - } - for(i = 1; i < gl2psListNbr(gl2ps->primitives); i++){ - prim = *(GL2PSprimitive**)gl2psListPointer(gl2ps->primitives, i); - for(j = 0; j < prim->numverts; j++){ - if(prim->verts[j].xyz[2] < minZ) minZ = prim->verts[j].xyz[2]; - if(prim->verts[j].xyz[2] > maxZ) maxZ = prim->verts[j].xyz[2]; - } - } - rangeZ = (maxZ - minZ); - - /* rescale z-buffer coordinate in [0,GL2PS_ZSCALE], to make it of - the same order of magnitude as the x and y coordinates */ - scaleZ = GL2PS_ZERO(rangeZ) ? GL2PS_ZSCALE : (GL2PS_ZSCALE / rangeZ); - /* avoid precision loss (we use floats!) */ - if(scaleZ > 100000.F) scaleZ = 100000.F; - - /* apply offsets */ - for(i = 0; i < gl2psListNbr(gl2ps->primitives); i++){ - prim = *(GL2PSprimitive**)gl2psListPointer(gl2ps->primitives, i); - for(j = 0; j < prim->numverts; j++){ - prim->verts[j].xyz[2] = (prim->verts[j].xyz[2] - minZ) * scaleZ; - } - if((gl2ps->options & GL2PS_SIMPLE_LINE_OFFSET) && - (prim->type == GL2PS_LINE)){ - if(gl2ps->sort == GL2PS_SIMPLE_SORT){ - prim->verts[0].xyz[2] -= GL2PS_ZOFFSET_LARGE; - prim->verts[1].xyz[2] -= GL2PS_ZOFFSET_LARGE; - } - else{ - prim->verts[0].xyz[2] -= GL2PS_ZOFFSET; - prim->verts[1].xyz[2] -= GL2PS_ZOFFSET; - } - } - else if(prim->offset && (prim->type == GL2PS_TRIANGLE)){ - factor = gl2ps->offset[0]; - units = gl2ps->offset[1]; - area = - (prim->verts[1].xyz[0] - prim->verts[0].xyz[0]) * - (prim->verts[2].xyz[1] - prim->verts[1].xyz[1]) - - (prim->verts[2].xyz[0] - prim->verts[1].xyz[0]) * - (prim->verts[1].xyz[1] - prim->verts[0].xyz[1]); - if(!GL2PS_ZERO(area)){ - dZdX = - ((prim->verts[2].xyz[1] - prim->verts[1].xyz[1]) * - (prim->verts[1].xyz[2] - prim->verts[0].xyz[2]) - - (prim->verts[1].xyz[1] - prim->verts[0].xyz[1]) * - (prim->verts[2].xyz[2] - prim->verts[1].xyz[2])) / area; - dZdY = - ((prim->verts[1].xyz[0] - prim->verts[0].xyz[0]) * - (prim->verts[2].xyz[2] - prim->verts[1].xyz[2]) - - (prim->verts[2].xyz[0] - prim->verts[1].xyz[0]) * - (prim->verts[1].xyz[2] - prim->verts[0].xyz[2])) / area; - maxdZ = (GLfloat)sqrt(dZdX * dZdX + dZdY * dZdY); - } - else{ - maxdZ = 0.0F; - } - dZ = factor * maxdZ + units; - prim->verts[0].xyz[2] += dZ; - prim->verts[1].xyz[2] += dZ; - prim->verts[2].xyz[2] += dZ; - } - } -} - -/********************************************************************* - * - * 2D sorting routines (for occlusion culling) - * - *********************************************************************/ - -static GLint gl2psGetPlaneFromPoints(GL2PSxyz a, GL2PSxyz b, GL2PSplane plane) -{ - GLfloat n; - - plane[0] = b[1] - a[1]; - plane[1] = a[0] - b[0]; - n = (GLfloat)sqrt(plane[0]*plane[0] + plane[1]*plane[1]); - plane[2] = 0.0F; - if(!GL2PS_ZERO(n)){ - plane[0] /= n; - plane[1] /= n; - plane[3] = -plane[0]*a[0]-plane[1]*a[1]; - return 1; - } - else{ - plane[0] = -1.0F; - plane[1] = 0.0F; - plane[3] = a[0]; - return 0; - } -} - -static void gl2psFreeBspImageTree(GL2PSbsptree2d **tree) -{ - if(*tree){ - if((*tree)->back) gl2psFreeBspImageTree(&(*tree)->back); - if((*tree)->front) gl2psFreeBspImageTree(&(*tree)->front); - gl2psFree(*tree); - *tree = NULL; - } -} - -static GLint gl2psCheckPoint(GL2PSxyz point, GL2PSplane plane) -{ - GLfloat pt_dis; - - pt_dis = gl2psComparePointPlane(point, plane); - if(pt_dis > GL2PS_EPSILON) return GL2PS_POINT_INFRONT; - else if(pt_dis < -GL2PS_EPSILON) return GL2PS_POINT_BACK; - else return GL2PS_POINT_COINCIDENT; -} - -static void gl2psAddPlanesInBspTreeImage(GL2PSprimitive *prim, - GL2PSbsptree2d **tree) -{ - GLint ret = 0; - GLint i; - GLint offset = 0; - GL2PSbsptree2d *head = NULL, *cur = NULL; - - if((*tree == NULL) && (prim->numverts > 2)){ - /* don't cull if transparent - for(i = 0; i < prim->numverts - 1; i++) - if(prim->verts[i].rgba[3] < 1.0F) return; - */ - head = (GL2PSbsptree2d*)gl2psMalloc(sizeof(GL2PSbsptree2d)); - for(i = 0; i < prim->numverts-1; i++){ - if(!gl2psGetPlaneFromPoints(prim->verts[i].xyz, - prim->verts[i+1].xyz, - head->plane)){ - if(prim->numverts-i > 3){ - offset++; - } - else{ - gl2psFree(head); - return; - } - } - else{ - break; - } - } - head->back = NULL; - head->front = NULL; - for(i = 2+offset; i < prim->numverts; i++){ - ret = gl2psCheckPoint(prim->verts[i].xyz, head->plane); - if(ret != GL2PS_POINT_COINCIDENT) break; - } - switch(ret){ - case GL2PS_POINT_INFRONT : - cur = head; - for(i = 1+offset; i < prim->numverts-1; i++){ - if(cur->front == NULL){ - cur->front = (GL2PSbsptree2d*)gl2psMalloc(sizeof(GL2PSbsptree2d)); - } - if(gl2psGetPlaneFromPoints(prim->verts[i].xyz, - prim->verts[i+1].xyz, - cur->front->plane)){ - cur = cur->front; - cur->front = NULL; - cur->back = NULL; - } - } - if(cur->front == NULL){ - cur->front = (GL2PSbsptree2d*)gl2psMalloc(sizeof(GL2PSbsptree2d)); - } - if(gl2psGetPlaneFromPoints(prim->verts[i].xyz, - prim->verts[offset].xyz, - cur->front->plane)){ - cur->front->front = NULL; - cur->front->back = NULL; - } - else{ - gl2psFree(cur->front); - cur->front = NULL; - } - break; - case GL2PS_POINT_BACK : - for(i = 0; i < 4; i++){ - head->plane[i] = -head->plane[i]; - } - cur = head; - for(i = 1+offset; i < prim->numverts-1; i++){ - if(cur->front == NULL){ - cur->front = (GL2PSbsptree2d*)gl2psMalloc(sizeof(GL2PSbsptree2d)); - } - if(gl2psGetPlaneFromPoints(prim->verts[i+1].xyz, - prim->verts[i].xyz, - cur->front->plane)){ - cur = cur->front; - cur->front = NULL; - cur->back = NULL; - } - } - if(cur->front == NULL){ - cur->front = (GL2PSbsptree2d*)gl2psMalloc(sizeof(GL2PSbsptree2d)); - } - if(gl2psGetPlaneFromPoints(prim->verts[offset].xyz, - prim->verts[i].xyz, - cur->front->plane)){ - cur->front->front = NULL; - cur->front->back = NULL; - } - else{ - gl2psFree(cur->front); - cur->front = NULL; - } - break; - default: - gl2psFree(head); - return; - } - (*tree) = head; - } -} - -static GLint gl2psCheckPrimitive(GL2PSprimitive *prim, GL2PSplane plane) -{ - GLint i; - GLint pos; - - pos = gl2psCheckPoint(prim->verts[0].xyz, plane); - for(i = 1; i < prim->numverts; i++){ - pos |= gl2psCheckPoint(prim->verts[i].xyz, plane); - if(pos == (GL2PS_POINT_INFRONT | GL2PS_POINT_BACK)) return GL2PS_SPANNING; - } - if(pos & GL2PS_POINT_INFRONT) return GL2PS_IN_FRONT_OF; - else if(pos & GL2PS_POINT_BACK) return GL2PS_IN_BACK_OF; - else return GL2PS_COINCIDENT; -} - -static GL2PSprimitive *gl2psCreateSplitPrimitive2D(GL2PSprimitive *parent, - GLshort numverts, - GL2PSvertex *vertx) -{ - GLint i; - GL2PSprimitive *child = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - - if(parent->type == GL2PS_IMAGEMAP){ - child->type = GL2PS_IMAGEMAP; - child->data.image = parent->data.image; - } - else { - switch(numverts){ - case 1 : child->type = GL2PS_POINT; break; - case 2 : child->type = GL2PS_LINE; break; - case 3 : child->type = GL2PS_TRIANGLE; break; - case 4 : child->type = GL2PS_QUADRANGLE; break; - default: child->type = GL2PS_NO_TYPE; break; /* FIXME */ - } - } - child->boundary = 0; /* FIXME: not done! */ - child->culled = parent->culled; - child->offset = parent->offset; - child->pattern = parent->pattern; - child->factor = parent->factor; - child->width = parent->width; - child->numverts = numverts; - child->verts = (GL2PSvertex*)gl2psMalloc(numverts * sizeof(GL2PSvertex)); - for(i = 0; i < numverts; i++){ - child->verts[i] = vertx[i]; - } - return child; -} - -static void gl2psSplitPrimitive2D(GL2PSprimitive *prim, - GL2PSplane plane, - GL2PSprimitive **front, - GL2PSprimitive **back) -{ - /* cur will hold the position of the current vertex - prev will hold the position of the previous vertex - prev0 will hold the position of the vertex number 0 - v1 and v2 represent the current and previous vertices, respectively - flag is set if the current vertex should be checked against the plane */ - GLint cur = -1, prev = -1, i, v1 = 0, v2 = 0, flag = 1, prev0 = -1; - - /* list of vertices that will go in front and back primitive */ - GL2PSvertex *front_list = NULL, *back_list = NULL; - - /* number of vertices in front and back list */ - GLshort front_count = 0, back_count = 0; - - for(i = 0; i <= prim->numverts; i++){ - v1 = i; - if(v1 == prim->numverts){ - if(prim->numverts < 3) break; - v1 = 0; - v2 = prim->numverts - 1; - cur = prev0; - } - else if(flag){ - cur = gl2psCheckPoint(prim->verts[v1].xyz, plane); - if(i == 0){ - prev0 = cur; - } - } - if(((prev == -1) || (prev == cur) || (prev == 0) || (cur == 0)) && - (i < prim->numverts)){ - if(cur == GL2PS_POINT_INFRONT){ - front_count++; - front_list = (GL2PSvertex*)gl2psRealloc(front_list, - sizeof(GL2PSvertex)*front_count); - front_list[front_count-1] = prim->verts[v1]; - } - else if(cur == GL2PS_POINT_BACK){ - back_count++; - back_list = (GL2PSvertex*)gl2psRealloc(back_list, - sizeof(GL2PSvertex)*back_count); - back_list[back_count-1] = prim->verts[v1]; - } - else{ - front_count++; - front_list = (GL2PSvertex*)gl2psRealloc(front_list, - sizeof(GL2PSvertex)*front_count); - front_list[front_count-1] = prim->verts[v1]; - back_count++; - back_list = (GL2PSvertex*)gl2psRealloc(back_list, - sizeof(GL2PSvertex)*back_count); - back_list[back_count-1] = prim->verts[v1]; - } - flag = 1; - } - else if((prev != cur) && (cur != 0) && (prev != 0)){ - if(v1 != 0){ - v2 = v1-1; - i--; - } - front_count++; - front_list = (GL2PSvertex*)gl2psRealloc(front_list, - sizeof(GL2PSvertex)*front_count); - gl2psCutEdge(&prim->verts[v2], &prim->verts[v1], - plane, &front_list[front_count-1]); - back_count++; - back_list = (GL2PSvertex*)gl2psRealloc(back_list, - sizeof(GL2PSvertex)*back_count); - back_list[back_count-1] = front_list[front_count-1]; - flag = 0; - } - prev = cur; - } - *front = gl2psCreateSplitPrimitive2D(prim, front_count, front_list); - *back = gl2psCreateSplitPrimitive2D(prim, back_count, back_list); - gl2psFree(front_list); - gl2psFree(back_list); -} - -static GLint gl2psAddInBspImageTree(GL2PSprimitive *prim, GL2PSbsptree2d **tree) -{ - GLint ret = 0; - GL2PSprimitive *frontprim = NULL, *backprim = NULL; - - /* FIXME: until we consider the actual extent of text strings and - pixmaps, never cull them. Otherwise the whole string/pixmap gets - culled as soon as the reference point is hidden */ - if(prim->type == GL2PS_PIXMAP || - prim->type == GL2PS_TEXT || - prim->type == GL2PS_SPECIAL){ - return 1; - } - - if(*tree == NULL){ - if((prim->type != GL2PS_IMAGEMAP) && (GL_FALSE == gl2ps->zerosurfacearea)){ - gl2psAddPlanesInBspTreeImage(gl2ps->primitivetoadd, tree); - } - return 1; - } - else{ - switch(gl2psCheckPrimitive(prim, (*tree)->plane)){ - case GL2PS_IN_BACK_OF: return gl2psAddInBspImageTree(prim, &(*tree)->back); - case GL2PS_IN_FRONT_OF: - if((*tree)->front != NULL) return gl2psAddInBspImageTree(prim, &(*tree)->front); - else return 0; - case GL2PS_SPANNING: - gl2psSplitPrimitive2D(prim, (*tree)->plane, &frontprim, &backprim); - ret = gl2psAddInBspImageTree(backprim, &(*tree)->back); - if((*tree)->front != NULL){ - if(gl2psAddInBspImageTree(frontprim, &(*tree)->front)){ - ret = 1; - } - } - gl2psFree(frontprim->verts); - gl2psFree(frontprim); - gl2psFree(backprim->verts); - gl2psFree(backprim); - return ret; - case GL2PS_COINCIDENT: - if((*tree)->back != NULL){ - gl2ps->zerosurfacearea = GL_TRUE; - ret = gl2psAddInBspImageTree(prim, &(*tree)->back); - gl2ps->zerosurfacearea = GL_FALSE; - if(ret) return ret; - } - if((*tree)->front != NULL){ - gl2ps->zerosurfacearea = GL_TRUE; - ret = gl2psAddInBspImageTree(prim, &(*tree)->front); - gl2ps->zerosurfacearea = GL_FALSE; - if(ret) return ret; - } - if(prim->type == GL2PS_LINE) return 1; - else return 0; - } - } - return 0; -} - -static void gl2psAddInImageTree(void *data) -{ - GL2PSprimitive *prim = *(GL2PSprimitive **)data; - gl2ps->primitivetoadd = prim; - if(prim->type == GL2PS_IMAGEMAP && prim->data.image->format == GL2PS_IMAGEMAP_VISIBLE){ - prim->culled = 1; - } - else if(!gl2psAddInBspImageTree(prim, &gl2ps->imagetree)){ - prim->culled = 1; - } - else if(prim->type == GL2PS_IMAGEMAP){ - prim->data.image->format = GL2PS_IMAGEMAP_VISIBLE; - } -} - -/* Boundary construction */ - -static void gl2psAddBoundaryInList(GL2PSprimitive *prim, GL2PSlist *list) -{ - GL2PSprimitive *b; - GLshort i; - GL2PSxyz c; - - c[0] = c[1] = c[2] = 0.0F; - for(i = 0; i < prim->numverts; i++){ - c[0] += prim->verts[i].xyz[0]; - c[1] += prim->verts[i].xyz[1]; - } - c[0] /= prim->numverts; - c[1] /= prim->numverts; - - for(i = 0; i < prim->numverts; i++){ - if(prim->boundary & (GLint)pow(2., i)){ - b = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - b->type = GL2PS_LINE; - b->offset = prim->offset; - b->pattern = prim->pattern; - b->factor = prim->factor; - b->culled = prim->culled; - b->width = prim->width; - b->boundary = 0; - b->numverts = 2; - b->verts = (GL2PSvertex*)gl2psMalloc(2 * sizeof(GL2PSvertex)); - -#if 0 /* FIXME: need to work on boundary offset... */ - v[0] = c[0] - prim->verts[i].xyz[0]; - v[1] = c[1] - prim->verts[i].xyz[1]; - v[2] = 0.0F; - norm = gl2psNorm(v); - v[0] /= norm; - v[1] /= norm; - b->verts[0].xyz[0] = prim->verts[i].xyz[0] +0.1*v[0]; - b->verts[0].xyz[1] = prim->verts[i].xyz[1] +0.1*v[1]; - b->verts[0].xyz[2] = prim->verts[i].xyz[2]; - v[0] = c[0] - prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[0]; - v[1] = c[1] - prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[1]; - norm = gl2psNorm(v); - v[0] /= norm; - v[1] /= norm; - b->verts[1].xyz[0] = prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[0] +0.1*v[0]; - b->verts[1].xyz[1] = prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[1] +0.1*v[1]; - b->verts[1].xyz[2] = prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[2]; -#else - b->verts[0].xyz[0] = prim->verts[i].xyz[0]; - b->verts[0].xyz[1] = prim->verts[i].xyz[1]; - b->verts[0].xyz[2] = prim->verts[i].xyz[2]; - b->verts[1].xyz[0] = prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[0]; - b->verts[1].xyz[1] = prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[1]; - b->verts[1].xyz[2] = prim->verts[gl2psGetIndex(i, prim->numverts)].xyz[2]; -#endif - - b->verts[0].rgba[0] = 0.0F; - b->verts[0].rgba[1] = 0.0F; - b->verts[0].rgba[2] = 0.0F; - b->verts[0].rgba[3] = 0.0F; - b->verts[1].rgba[0] = 0.0F; - b->verts[1].rgba[1] = 0.0F; - b->verts[1].rgba[2] = 0.0F; - b->verts[1].rgba[3] = 0.0F; - gl2psListAdd(list, &b); - } - } - -} - -static void gl2psBuildPolygonBoundary(GL2PSbsptree *tree) -{ - GLint i; - GL2PSprimitive *prim; - - if(!tree) return; - gl2psBuildPolygonBoundary(tree->back); - for(i = 0; i < gl2psListNbr(tree->primitives); i++){ - prim = *(GL2PSprimitive**)gl2psListPointer(tree->primitives, i); - if(prim->boundary) gl2psAddBoundaryInList(prim, tree->primitives); - } - gl2psBuildPolygonBoundary(tree->front); -} - -/********************************************************************* - * - * Feedback buffer parser - * - *********************************************************************/ - -static void gl2psAddPolyPrimitive(GLshort type, GLshort numverts, - GL2PSvertex *verts, GLint offset, - GLushort pattern, GLint factor, - GLfloat width, char boundary) -{ - GL2PSprimitive *prim; - - prim = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - prim->type = type; - prim->numverts = numverts; - prim->verts = (GL2PSvertex*)gl2psMalloc(numverts * sizeof(GL2PSvertex)); - memcpy(prim->verts, verts, numverts * sizeof(GL2PSvertex)); - prim->boundary = boundary; - prim->offset = offset; - prim->pattern = pattern; - prim->factor = factor; - prim->width = width; - prim->culled = 0; - - /* FIXME: here we should have an option to split stretched - tris/quads to enhance SIMPLE_SORT */ - - gl2psListAdd(gl2ps->primitives, &prim); -} - -static GLint gl2psGetVertex(GL2PSvertex *v, GLfloat *p) -{ - GLint i; - - v->xyz[0] = p[0]; - v->xyz[1] = p[1]; - v->xyz[2] = p[2]; - - if(gl2ps->colormode == GL_COLOR_INDEX && gl2ps->colorsize > 0){ - i = (GLint)(p[3] + 0.5); - v->rgba[0] = gl2ps->colormap[i][0]; - v->rgba[1] = gl2ps->colormap[i][1]; - v->rgba[2] = gl2ps->colormap[i][2]; - v->rgba[3] = gl2ps->colormap[i][3]; - return 4; - } - else{ - v->rgba[0] = p[3]; - v->rgba[1] = p[4]; - v->rgba[2] = p[5]; - v->rgba[3] = p[6]; - return 7; - } -} - -static void gl2psParseFeedbackBuffer(GLint used) -{ - char flag; - GLushort pattern = 0; - GLboolean boundary; - GLint i, sizeoffloat, count, v, vtot, offset = 0, factor = 0, auxindex = 0; - GLfloat lwidth = 1.0F, psize = 1.0F; - GLfloat *current; - GL2PSvertex vertices[3]; - GL2PSprimitive *prim; - GL2PSimagemap *node; - - current = gl2ps->feedback; - boundary = gl2ps->boundary = GL_FALSE; - - while(used > 0){ - - if(GL_TRUE == boundary) gl2ps->boundary = GL_TRUE; - - switch((GLint)*current){ - case GL_POINT_TOKEN : - current ++; - used --; - i = gl2psGetVertex(&vertices[0], current); - current += i; - used -= i; - gl2psAddPolyPrimitive(GL2PS_POINT, 1, vertices, 0, - pattern, factor, psize, 0); - break; - case GL_LINE_TOKEN : - case GL_LINE_RESET_TOKEN : - current ++; - used --; - i = gl2psGetVertex(&vertices[0], current); - current += i; - used -= i; - i = gl2psGetVertex(&vertices[1], current); - current += i; - used -= i; - gl2psAddPolyPrimitive(GL2PS_LINE, 2, vertices, 0, - pattern, factor, lwidth, 0); - break; - case GL_POLYGON_TOKEN : - count = (GLint)current[1]; - current += 2; - used -= 2; - v = vtot = 0; - while(count > 0 && used > 0){ - i = gl2psGetVertex(&vertices[v], current); - gl2psAdaptVertexForBlending(&vertices[v]); - current += i; - used -= i; - count --; - vtot++; - if(v == 2){ - if(GL_TRUE == boundary){ - if(!count && vtot == 2) flag = 1|2|4; - else if(!count) flag = 2|4; - else if(vtot == 2) flag = 1|2; - else flag = 2; - } - else - flag = 0; - gl2psAddPolyPrimitive(GL2PS_TRIANGLE, 3, vertices, offset, - pattern, factor, 1, flag); - vertices[1] = vertices[2]; - } - else - v ++; - } - break; - case GL_BITMAP_TOKEN : - case GL_DRAW_PIXEL_TOKEN : - case GL_COPY_PIXEL_TOKEN : - current ++; - used --; - i = gl2psGetVertex(&vertices[0], current); - current += i; - used -= i; - break; - case GL_PASS_THROUGH_TOKEN : - switch((GLint)current[1]){ - case GL2PS_BEGIN_OFFSET_TOKEN : offset = 1; break; - case GL2PS_END_OFFSET_TOKEN : offset = 0; break; - case GL2PS_BEGIN_BOUNDARY_TOKEN : boundary = GL_TRUE; break; - case GL2PS_END_BOUNDARY_TOKEN : boundary = GL_FALSE; break; - case GL2PS_END_STIPPLE_TOKEN : pattern = factor = 0; break; - case GL2PS_BEGIN_BLEND_TOKEN : gl2ps->blending = GL_TRUE; break; - case GL2PS_END_BLEND_TOKEN : gl2ps->blending = GL_FALSE; break; - case GL2PS_BEGIN_STIPPLE_TOKEN : - current += 2; - used -= 2; - pattern = (GLushort)current[1]; - current += 2; - used -= 2; - factor = (GLint)current[1]; - break; - case GL2PS_SRC_BLEND_TOKEN : - current += 2; - used -= 2; - gl2ps->blendfunc[0] = (GLint)current[1]; - break; - case GL2PS_DST_BLEND_TOKEN : - current += 2; - used -= 2; - gl2ps->blendfunc[1] = (GLint)current[1]; - break; - case GL2PS_POINT_SIZE_TOKEN : - current += 2; - used -= 2; - psize = current[1]; - break; - case GL2PS_LINE_WIDTH_TOKEN : - current += 2; - used -= 2; - lwidth = current[1]; - break; - case GL2PS_IMAGEMAP_TOKEN : - prim = (GL2PSprimitive *)gl2psMalloc(sizeof(GL2PSprimitive)); - prim->type = GL2PS_IMAGEMAP; - prim->boundary = 0; - prim->numverts = 4; - prim->verts = (GL2PSvertex *)gl2psMalloc(4 * sizeof(GL2PSvertex)); - prim->culled = 0; - prim->offset = 0; - prim->pattern = 0; - prim->factor = 0; - prim->width = 1; - - node = (GL2PSimagemap*)gl2psMalloc(sizeof(GL2PSimagemap)); - node->image = (GL2PSimage*)gl2psMalloc(sizeof(GL2PSimage)); - node->image->type = 0; - node->image->format = 0; - node->next = NULL; - - if(gl2ps->imagemap_head == NULL) - gl2ps->imagemap_head = node; - else - gl2ps->imagemap_tail->next = node; - gl2ps->imagemap_tail = node; - prim->data.image = node->image; - - current += 2; used -= 2; - i = gl2psGetVertex(&prim->verts[0], ¤t[1]); - current += i; used -= i; - - node->image->width = (GLint)current[2]; - current += 2; used -= 2; - node->image->height = (GLint)current[2]; - prim->verts[0].xyz[0] = prim->verts[0].xyz[0] - (int)(node->image->width / 2) + 0.5; - prim->verts[0].xyz[1] = prim->verts[0].xyz[1] - (int)(node->image->height / 2) + 0.5; - for(i = 1; i < 4; i++){ - for(v = 0; v < 3; v++){ - prim->verts[i].xyz[v] = prim->verts[0].xyz[v]; - prim->verts[i].rgba[v] = prim->verts[0].rgba[v]; - } - prim->verts[i].rgba[v] = prim->verts[0].rgba[v]; - } - prim->verts[1].xyz[0] = prim->verts[1].xyz[0] + node->image->width; - prim->verts[2].xyz[0] = prim->verts[1].xyz[0]; - prim->verts[2].xyz[1] = prim->verts[2].xyz[1] + node->image->height; - prim->verts[3].xyz[1] = prim->verts[2].xyz[1]; - - sizeoffloat = sizeof(GLfloat); - v = 2 * sizeoffloat; - vtot = node->image->height + node->image->height * - ((node->image->width - 1) / 8); - node->image->pixels = (GLfloat*)gl2psMalloc(v + vtot); - node->image->pixels[0] = prim->verts[0].xyz[0]; - node->image->pixels[1] = prim->verts[0].xyz[1]; - - for(i = 0; i < vtot; i += sizeoffloat){ - current += 2; used -= 2; - if((vtot - i) >= 4) - memcpy(&(((char*)(node->image->pixels))[i + v]), &(current[2]), sizeoffloat); - else - memcpy(&(((char*)(node->image->pixels))[i + v]), &(current[2]), vtot - i); - } - current++; used--; - gl2psListAdd(gl2ps->primitives, &prim); - break; - case GL2PS_DRAW_PIXELS_TOKEN : - case GL2PS_TEXT_TOKEN : - if(auxindex < gl2psListNbr(gl2ps->auxprimitives)) - gl2psListAdd(gl2ps->primitives, - gl2psListPointer(gl2ps->auxprimitives, auxindex++)); - else - gl2psMsg(GL2PS_ERROR, "Wrong number of auxiliary tokens in buffer"); - break; - } - current += 2; - used -= 2; - break; - default : - gl2psMsg(GL2PS_WARNING, "Unknown token in buffer"); - current ++; - used --; - break; - } - } - - gl2psListReset(gl2ps->auxprimitives); -} - -/********************************************************************* - * - * PostScript routines - * - *********************************************************************/ - -static void gl2psWriteByte(unsigned char byte) -{ - unsigned char h = byte / 16; - unsigned char l = byte % 16; - gl2psPrintf("%x%x", h, l); -} - -static void gl2psPrintPostScriptPixmap(GLfloat x, GLfloat y, GL2PSimage *im) -{ - GLuint nbhex, nbyte, nrgb, nbits; - GLuint row, col, ibyte, icase; - GLfloat dr, dg, db, fgrey; - unsigned char red = 0, green = 0, blue = 0, b, grey; - GLuint width = (GLuint)im->width; - GLuint height = (GLuint)im->height; - - /* FIXME: should we define an option for these? Or just keep the - 8-bit per component case? */ - int greyscale = 0; /* set to 1 to output greyscale image */ - int nbit = 8; /* number of bits per color compoment (2, 4 or 8) */ - - if((width <= 0) || (height <= 0)) return; - - gl2psPrintf("gsave\n"); - gl2psPrintf("%.2f %.2f translate\n", x, y); - gl2psPrintf("%d %d scale\n", width, height); - - if(greyscale){ /* greyscale */ - gl2psPrintf("/picstr %d string def\n", width); - gl2psPrintf("%d %d %d\n", width, height, 8); - gl2psPrintf("[ %d 0 0 -%d 0 %d ]\n", width, height, height); - gl2psPrintf("{ currentfile picstr readhexstring pop }\n"); - gl2psPrintf("image\n"); - for(row = 0; row < height; row++){ - for(col = 0; col < width; col++){ - gl2psGetRGB(im, col, row, &dr, &dg, &db); - fgrey = (0.30 * dr + 0.59 * dg + 0.11 * db); - grey = (unsigned char)(255. * fgrey); - gl2psWriteByte(grey); - } - gl2psPrintf("\n"); - } - nbhex = width * height * 2; - gl2psPrintf("%%%% nbhex digit :%d\n", nbhex); - } - else if(nbit == 2){ /* color, 2 bits for r and g and b; rgbs following each other */ - nrgb = width * 3; - nbits = nrgb * nbit; - nbyte = nbits / 8; - if((nbyte * 8) != nbits) nbyte++; - gl2psPrintf("/rgbstr %d string def\n", nbyte); - gl2psPrintf("%d %d %d\n", width, height, nbit); - gl2psPrintf("[ %d 0 0 -%d 0 %d ]\n", width, height, height); - gl2psPrintf("{ currentfile rgbstr readhexstring pop }\n"); - gl2psPrintf("false 3\n"); - gl2psPrintf("colorimage\n"); - for(row = 0; row < height; row++){ - icase = 1; - col = 0; - b = 0; - for(ibyte = 0; ibyte < nbyte; ibyte++){ - if(icase == 1) { - if(col < width) { - gl2psGetRGB(im, col, row, &dr, &dg, &db); - } - else { - dr = dg = db = 0; - } - col++; - red = (unsigned char)(3. * dr); - green = (unsigned char)(3. * dg); - blue = (unsigned char)(3. * db); - b = red; - b = (b<<2) + green; - b = (b<<2) + blue; - if(col < width) { - gl2psGetRGB(im, col, row, &dr, &dg, &db); - } - else { - dr = dg = db = 0; - } - col++; - red = (unsigned char)(3. * dr); - green = (unsigned char)(3. * dg); - blue = (unsigned char)(3. * db); - b = (b<<2) + red; - gl2psWriteByte(b); - b = 0; - icase++; - } - else if(icase == 2) { - b = green; - b = (b<<2) + blue; - if(col < width) { - gl2psGetRGB(im, col, row, &dr, &dg, &db); - } - else { - dr = dg = db = 0; - } - col++; - red = (unsigned char)(3. * dr); - green = (unsigned char)(3. * dg); - blue = (unsigned char)(3. * db); - b = (b<<2) + red; - b = (b<<2) + green; - gl2psWriteByte(b); - b = 0; - icase++; - } - else if(icase == 3) { - b = blue; - if(col < width) { - gl2psGetRGB(im, col, row, &dr, &dg, &db); - } - else { - dr = dg = db = 0; - } - col++; - red = (unsigned char)(3. * dr); - green = (unsigned char)(3. * dg); - blue = (unsigned char)(3. * db); - b = (b<<2) + red; - b = (b<<2) + green; - b = (b<<2) + blue; - gl2psWriteByte(b); - b = 0; - icase = 1; - } - } - gl2psPrintf("\n"); - } - } - else if(nbit == 4){ /* color, 4 bits for r and g and b; rgbs following each other */ - nrgb = width * 3; - nbits = nrgb * nbit; - nbyte = nbits / 8; - if((nbyte * 8) != nbits) nbyte++; - gl2psPrintf("/rgbstr %d string def\n", nbyte); - gl2psPrintf("%d %d %d\n", width, height, nbit); - gl2psPrintf("[ %d 0 0 -%d 0 %d ]\n", width, height, height); - gl2psPrintf("{ currentfile rgbstr readhexstring pop }\n"); - gl2psPrintf("false 3\n"); - gl2psPrintf("colorimage\n"); - for(row = 0; row < height; row++){ - col = 0; - icase = 1; - for(ibyte = 0; ibyte < nbyte; ibyte++){ - if(icase == 1) { - if(col < width) { - gl2psGetRGB(im, col, row, &dr, &dg, &db); - } - else { - dr = dg = db = 0; - } - col++; - red = (unsigned char)(15. * dr); - green = (unsigned char)(15. * dg); - gl2psPrintf("%x%x", red, green); - icase++; - } - else if(icase == 2) { - blue = (unsigned char)(15. * db); - if(col < width) { - gl2psGetRGB(im, col, row, &dr, &dg, &db); - } - else { - dr = dg = db = 0; - } - col++; - red = (unsigned char)(15. * dr); - gl2psPrintf("%x%x", blue, red); - icase++; - } - else if(icase == 3) { - green = (unsigned char)(15. * dg); - blue = (unsigned char)(15. * db); - gl2psPrintf("%x%x", green, blue); - icase = 1; - } - } - gl2psPrintf("\n"); - } - } - else{ /* 8 bit for r and g and b */ - nbyte = width * 3; - gl2psPrintf("/rgbstr %d string def\n", nbyte); - gl2psPrintf("%d %d %d\n", width, height, 8); - gl2psPrintf("[ %d 0 0 -%d 0 %d ]\n", width, height, height); - gl2psPrintf("{ currentfile rgbstr readhexstring pop }\n"); - gl2psPrintf("false 3\n"); - gl2psPrintf("colorimage\n"); - for(row = 0; row < height; row++){ - for(col = 0; col < width; col++){ - gl2psGetRGB(im, col, row, &dr, &dg, &db); - red = (unsigned char)(255. * dr); - gl2psWriteByte(red); - green = (unsigned char)(255. * dg); - gl2psWriteByte(green); - blue = (unsigned char)(255. * db); - gl2psWriteByte(blue); - } - gl2psPrintf("\n"); - } - } - - gl2psPrintf("grestore\n"); -} - -static void gl2psPrintPostScriptImagemap(GLfloat x, GLfloat y, - GLsizei width, GLsizei height, - const unsigned char *imagemap){ - int i, size; - - if((width <= 0) || (height <= 0)) return; - - size = height + height * (width - 1) / 8; - - gl2psPrintf("gsave\n"); - gl2psPrintf("%.2f %.2f translate\n", x, y); - gl2psPrintf("%d %d scale\n%d %d\ntrue\n", width, height,width, height); - gl2psPrintf("[ %d 0 0 -%d 0 %d ] {<", width, height); - for(i = 0; i < size; i++){ - gl2psWriteByte(*imagemap); - imagemap++; - } - gl2psPrintf(">} imagemask\ngrestore\n"); -} - -static void gl2psPrintPostScriptHeader(void) -{ - time_t now; - - /* Since compression is not part of the PostScript standard, - compressed PostScript files are just gzipped PostScript files - ("ps.gz" or "eps.gz") */ - gl2psPrintGzipHeader(); - - time(&now); - - if(gl2ps->format == GL2PS_PS){ - gl2psPrintf("%%!PS-Adobe-3.0\n"); - } - else{ - gl2psPrintf("%%!PS-Adobe-3.0 EPSF-3.0\n"); - } - - gl2psPrintf("%%%%Title: %s\n" - "%%%%Creator: GL2PS %d.%d.%d%s, %s\n" - "%%%%For: %s\n" - "%%%%CreationDate: %s" - "%%%%LanguageLevel: 3\n" - "%%%%DocumentData: Clean7Bit\n" - "%%%%Pages: 1\n", - gl2ps->title, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, - GL2PS_PATCH_VERSION, GL2PS_EXTRA_VERSION, GL2PS_COPYRIGHT, - gl2ps->producer, ctime(&now)); - - if(gl2ps->format == GL2PS_PS){ - gl2psPrintf("%%%%Orientation: %s\n" - "%%%%DocumentMedia: Default %d %d 0 () ()\n", - (gl2ps->options & GL2PS_LANDSCAPE) ? "Landscape" : "Portrait", - (gl2ps->options & GL2PS_LANDSCAPE) ? (int)gl2ps->viewport[3] : - (int)gl2ps->viewport[2], - (gl2ps->options & GL2PS_LANDSCAPE) ? (int)gl2ps->viewport[2] : - (int)gl2ps->viewport[3]); - } - - gl2psPrintf("%%%%BoundingBox: %d %d %d %d\n" - "%%%%EndComments\n", - (gl2ps->options & GL2PS_LANDSCAPE) ? (int)gl2ps->viewport[1] : - (int)gl2ps->viewport[0], - (gl2ps->options & GL2PS_LANDSCAPE) ? (int)gl2ps->viewport[0] : - (int)gl2ps->viewport[1], - (gl2ps->options & GL2PS_LANDSCAPE) ? (int)gl2ps->viewport[3] : - (int)gl2ps->viewport[2], - (gl2ps->options & GL2PS_LANDSCAPE) ? (int)gl2ps->viewport[2] : - (int)gl2ps->viewport[3]); - - /* RGB color: r g b C (replace C by G in output to change from rgb to gray) - Grayscale: r g b G - Font choose: size fontname FC - Text string: (string) x y size fontname S?? - Rotated text string: (string) angle x y size fontname S??R - Point primitive: x y size P - Line width: width W - Line start: x y LS - Line joining last point: x y L - Line end: x y LE - Flat-shaded triangle: x3 y3 x2 y2 x1 y1 T - Smooth-shaded triangle: x3 y3 r3 g3 b3 x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 ST */ - - gl2psPrintf("%%%%BeginProlog\n" - "/gl2psdict 64 dict def gl2psdict begin\n" - "0 setlinecap 0 setlinejoin\n" - "/tryPS3shading %s def %% set to false to force subdivision\n" - "/rThreshold %g def %% red component subdivision threshold\n" - "/gThreshold %g def %% green component subdivision threshold\n" - "/bThreshold %g def %% blue component subdivision threshold\n", - (gl2ps->options & GL2PS_NO_PS3_SHADING) ? "false" : "true", - gl2ps->threshold[0], gl2ps->threshold[1], gl2ps->threshold[2]); - - gl2psPrintf("/BD { bind def } bind def\n" - "/C { setrgbcolor } BD\n" - "/G { 0.082 mul exch 0.6094 mul add exch 0.3086 mul add neg 1.0 add setgray } BD\n" - "/W { setlinewidth } BD\n"); - - gl2psPrintf("/FC { findfont exch /SH exch def SH scalefont setfont } BD\n" - "/SW { dup stringwidth pop } BD\n" - "/S { FC moveto show } BD\n" - "/SBC{ FC moveto SW -2 div 0 rmoveto show } BD\n" - "/SBR{ FC moveto SW neg 0 rmoveto show } BD\n" - "/SCL{ FC moveto 0 SH -2 div rmoveto show } BD\n" - "/SCC{ FC moveto SW -2 div SH -2 div rmoveto show } BD\n" - "/SCR{ FC moveto SW neg SH -2 div rmoveto show } BD\n" - "/STL{ FC moveto 0 SH neg rmoveto show } BD\n" - "/STC{ FC moveto SW -2 div SH neg rmoveto show } BD\n" - "/STR{ FC moveto SW neg SH neg rmoveto show } BD\n"); - - /* rotated text routines: same nameanem with R appended */ - - gl2psPrintf("/FCT { FC translate 0 0 } BD\n" - "/SR { gsave FCT moveto rotate show grestore } BD\n" - "/SBCR{ gsave FCT moveto rotate SW -2 div 0 rmoveto show grestore } BD\n" - "/SBRR{ gsave FCT moveto rotate SW neg 0 rmoveto show grestore } BD\n" - "/SCLR{ gsave FCT moveto rotate 0 SH -2 div rmoveto show grestore} BD\n"); - gl2psPrintf("/SCCR{ gsave FCT moveto rotate SW -2 div SH -2 div rmoveto show grestore} BD\n" - "/SCRR{ gsave FCT moveto rotate SW neg SH -2 div rmoveto show grestore} BD\n" - "/STLR{ gsave FCT moveto rotate 0 SH neg rmoveto show grestore } BD\n" - "/STCR{ gsave FCT moveto rotate SW -2 div SH neg rmoveto show grestore } BD\n" - "/STRR{ gsave FCT moveto rotate SW neg SH neg rmoveto show grestore } BD\n"); - - gl2psPrintf("/P { newpath 0.0 360.0 arc closepath fill } BD\n" - "/LS { newpath moveto } BD\n" - "/L { lineto } BD\n" - "/LE { lineto stroke } BD\n" - "/T { newpath moveto lineto lineto closepath fill } BD\n"); - - /* Smooth-shaded triangle with PostScript level 3 shfill operator: - x3 y3 r3 g3 b3 x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 STshfill */ - - gl2psPrintf("/STshfill {\n" - " /b1 exch def /g1 exch def /r1 exch def /y1 exch def /x1 exch def\n" - " /b2 exch def /g2 exch def /r2 exch def /y2 exch def /x2 exch def\n" - " /b3 exch def /g3 exch def /r3 exch def /y3 exch def /x3 exch def\n" - " gsave << /ShadingType 4 /ColorSpace [/DeviceRGB]\n" - " /DataSource [ 0 x1 y1 r1 g1 b1 0 x2 y2 r2 g2 b2 0 x3 y3 r3 g3 b3 ] >>\n" - " shfill grestore } BD\n"); - - /* Flat-shaded triangle with middle color: - x3 y3 r3 g3 b3 x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 Tm */ - - gl2psPrintf(/* stack : x3 y3 r3 g3 b3 x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 */ - "/Tm { 3 -1 roll 8 -1 roll 13 -1 roll add add 3 div\n" /* r = (r1+r2+r3)/3 */ - /* stack : x3 y3 g3 b3 x2 y2 g2 b2 x1 y1 g1 b1 r */ - " 3 -1 roll 7 -1 roll 11 -1 roll add add 3 div\n" /* g = (g1+g2+g3)/3 */ - /* stack : x3 y3 b3 x2 y2 b2 x1 y1 b1 r g b */ - " 3 -1 roll 6 -1 roll 9 -1 roll add add 3 div" /* b = (b1+b2+b3)/3 */ - /* stack : x3 y3 x2 y2 x1 y1 r g b */ - " C T } BD\n"); - - /* Split triangle in four sub-triangles (at sides middle points) and call the - STnoshfill procedure on each, interpolating the colors in RGB space: - x3 y3 r3 g3 b3 x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 STsplit - (in procedure comments key: (Vi) = xi yi ri gi bi) */ - - gl2psPrintf("/STsplit {\n" - " 4 index 15 index add 0.5 mul\n" /* x13 = (x1+x3)/2 */ - " 4 index 15 index add 0.5 mul\n" /* y13 = (y1+y3)/2 */ - " 4 index 15 index add 0.5 mul\n" /* r13 = (r1+r3)/2 */ - " 4 index 15 index add 0.5 mul\n" /* g13 = (g1+g3)/2 */ - " 4 index 15 index add 0.5 mul\n" /* b13 = (b1+b3)/2 */ - " 5 copy 5 copy 25 15 roll\n"); - - /* at his point, stack = (V3) (V13) (V13) (V13) (V2) (V1) */ - - gl2psPrintf(" 9 index 30 index add 0.5 mul\n" /* x23 = (x2+x3)/2 */ - " 9 index 30 index add 0.5 mul\n" /* y23 = (y2+y3)/2 */ - " 9 index 30 index add 0.5 mul\n" /* r23 = (r2+r3)/2 */ - " 9 index 30 index add 0.5 mul\n" /* g23 = (g2+g3)/2 */ - " 9 index 30 index add 0.5 mul\n" /* b23 = (b2+b3)/2 */ - " 5 copy 5 copy 35 5 roll 25 5 roll 15 5 roll\n"); - - /* stack = (V3) (V13) (V23) (V13) (V23) (V13) (V23) (V2) (V1) */ - - gl2psPrintf(" 4 index 10 index add 0.5 mul\n" /* x12 = (x1+x2)/2 */ - " 4 index 10 index add 0.5 mul\n" /* y12 = (y1+y2)/2 */ - " 4 index 10 index add 0.5 mul\n" /* r12 = (r1+r2)/2 */ - " 4 index 10 index add 0.5 mul\n" /* g12 = (g1+g2)/2 */ - " 4 index 10 index add 0.5 mul\n" /* b12 = (b1+b2)/2 */ - " 5 copy 5 copy 40 5 roll 25 5 roll 15 5 roll 25 5 roll\n"); - - /* stack = (V3) (V13) (V23) (V13) (V12) (V23) (V13) (V1) (V12) (V23) (V12) (V2) */ - - gl2psPrintf(" STnoshfill STnoshfill STnoshfill STnoshfill } BD\n"); - - /* Gouraud shaded triangle using recursive subdivision until the difference - between corner colors does not exceed the thresholds: - x3 y3 r3 g3 b3 x2 y2 r2 g2 b2 x1 y1 r1 g1 b1 STnoshfill */ - - gl2psPrintf("/STnoshfill {\n" - " 2 index 8 index sub abs rThreshold gt\n" /* |r1-r2|>rth */ - " { STsplit }\n" - " { 1 index 7 index sub abs gThreshold gt\n" /* |g1-g2|>gth */ - " { STsplit }\n" - " { dup 6 index sub abs bThreshold gt\n" /* |b1-b2|>bth */ - " { STsplit }\n" - " { 2 index 13 index sub abs rThreshold gt\n" /* |r1-r3|>rht */ - " { STsplit }\n" - " { 1 index 12 index sub abs gThreshold gt\n" /* |g1-g3|>gth */ - " { STsplit }\n" - " { dup 11 index sub abs bThreshold gt\n" /* |b1-b3|>bth */ - " { STsplit }\n" - " { 7 index 13 index sub abs rThreshold gt\n"); /* |r2-r3|>rht */ - gl2psPrintf(" { STsplit }\n" - " { 6 index 12 index sub abs gThreshold gt\n" /* |g2-g3|>gth */ - " { STsplit }\n" - " { 5 index 11 index sub abs bThreshold gt\n" /* |b2-b3|>bth */ - " { STsplit }\n" - " { Tm }\n" /* all colors sufficiently similar */ - " ifelse }\n" - " ifelse }\n" - " ifelse }\n" - " ifelse }\n" - " ifelse }\n" - " ifelse }\n" - " ifelse }\n" - " ifelse }\n" - " ifelse } BD\n"); - - gl2psPrintf("tryPS3shading\n" - "{ /shfill where\n" - " { /ST { STshfill } BD }\n" - " { /ST { STnoshfill } BD }\n" - " ifelse }\n" - "{ /ST { STnoshfill } BD }\n" - "ifelse\n"); - - gl2psPrintf("end\n" - "%%%%EndProlog\n" - "%%%%BeginSetup\n" - "/DeviceRGB setcolorspace\n" - "gl2psdict begin\n" - "%%%%EndSetup\n" - "%%%%Page: 1 1\n" - "%%%%BeginPageSetup\n"); - - if(gl2ps->options & GL2PS_LANDSCAPE){ - gl2psPrintf("%d 0 translate 90 rotate\n", - (int)gl2ps->viewport[3]); - } - - gl2psPrintf("%%%%EndPageSetup\n" - "mark\n" - "gsave\n" - "1.0 1.0 scale\n"); - - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - gl2psPrintf("%g %g %g C\n" - "newpath %d %d moveto %d %d lineto %d %d lineto %d %d lineto\n" - "closepath fill\n", - gl2ps->bgcolor[0], gl2ps->bgcolor[1], gl2ps->bgcolor[2], - (int)gl2ps->viewport[0], (int)gl2ps->viewport[1], (int)gl2ps->viewport[2], - (int)gl2ps->viewport[1], (int)gl2ps->viewport[2], (int)gl2ps->viewport[3], - (int)gl2ps->viewport[0], (int)gl2ps->viewport[3]); - } -} - -static void gl2psPrintPostScriptColor(GL2PSrgba rgba) -{ - if(!gl2psSameColor(gl2ps->lastrgba, rgba)){ - gl2psSetLastColor(rgba); - gl2psPrintf("%g %g %g C\n", rgba[0], rgba[1], rgba[2]); - } -} - -static void gl2psResetPostScriptColor(void) -{ - gl2ps->lastrgba[0] = gl2ps->lastrgba[1] = gl2ps->lastrgba[2] = -1.; -} - -static void gl2psEndPostScriptLine(void) -{ - int i; - if(gl2ps->lastvertex.rgba[0] >= 0.){ - gl2psPrintf("%g %g LE\n", gl2ps->lastvertex.xyz[0], gl2ps->lastvertex.xyz[1]); - for(i = 0; i < 3; i++) - gl2ps->lastvertex.xyz[i] = -1.; - for(i = 0; i < 4; i++) - gl2ps->lastvertex.rgba[i] = -1.; - } -} - -static void gl2psParseStipplePattern(GLushort pattern, GLint factor, - int *nb, int array[10]) -{ - int i, n; - int on[8] = {0, 0, 0, 0, 0, 0, 0, 0}; - int off[8] = {0, 0, 0, 0, 0, 0, 0, 0}; - char tmp[16]; - - /* extract the 16 bits from the OpenGL stipple pattern */ - for(n = 15; n >= 0; n--){ - tmp[n] = (char)(pattern & 0x01); - pattern >>= 1; - } - /* compute the on/off pixel sequence */ - n = 0; - for(i = 0; i < 8; i++){ - while(n < 16 && !tmp[n]){ off[i]++; n++; } - while(n < 16 && tmp[n]){ on[i]++; n++; } - if(n >= 15){ i++; break; } - } - - /* store the on/off array from right to left, starting with off - pixels. The PostScript specification allows for at most 11 - elements in the on/off array, so we limit ourselves to 5 on/off - couples (our longest possible array is thus [on4 off4 on3 off3 - on2 off2 on1 off1 on0 off0]) */ - *nb = 0; - for(n = i - 1; n >= 0; n--){ - array[(*nb)++] = factor * on[n]; - array[(*nb)++] = factor * off[n]; - if(*nb == 10) break; - } -} - -static int gl2psPrintPostScriptDash(GLushort pattern, GLint factor, const char *str) -{ - int len = 0, i, n, array[10]; - - if(pattern == gl2ps->lastpattern && factor == gl2ps->lastfactor) - return 0; - - gl2ps->lastpattern = pattern; - gl2ps->lastfactor = factor; - - if(!pattern || !factor){ - /* solid line */ - len += gl2psPrintf("[] 0 %s\n", str); - } - else{ - gl2psParseStipplePattern(pattern, factor, &n, array); - len += gl2psPrintf("["); - for(i = 0; i < n; i++){ - if(i) len += gl2psPrintf(" "); - len += gl2psPrintf("%d", array[i]); - } - len += gl2psPrintf("] 0 %s\n", str); - } - - return len; -} - -static void gl2psPrintPostScriptPrimitive(void *data) -{ - int newline; - GL2PSprimitive *prim; - - prim = *(GL2PSprimitive**)data; - - if((gl2ps->options & GL2PS_OCCLUSION_CULL) && prim->culled) return; - - /* Every effort is made to draw lines as connected segments (i.e., - using a single PostScript path): this is the only way to get nice - line joins and to not restart the stippling for every line - segment. So if the primitive to print is not a line we must first - finish the current line (if any): */ - if(prim->type != GL2PS_LINE) gl2psEndPostScriptLine(); - - switch(prim->type){ - case GL2PS_POINT : - gl2psPrintPostScriptColor(prim->verts[0].rgba); - gl2psPrintf("%g %g %g P\n", - prim->verts[0].xyz[0], prim->verts[0].xyz[1], 0.5 * prim->width); - break; - case GL2PS_LINE : - if(!gl2psSamePosition(gl2ps->lastvertex.xyz, prim->verts[0].xyz) || - !gl2psSameColor(gl2ps->lastrgba, prim->verts[0].rgba) || - gl2ps->lastlinewidth != prim->width || - gl2ps->lastpattern != prim->pattern || - gl2ps->lastfactor != prim->factor){ - /* End the current line if the new segment does not start where - the last one ended, or if the color, the width or the - stippling have changed (multi-stroking lines with changing - colors is necessary until we use /shfill for lines; - unfortunately this means that at the moment we can screw up - line stippling for smooth-shaded lines) */ - gl2psEndPostScriptLine(); - newline = 1; - } - else{ - newline = 0; - } - if(gl2ps->lastlinewidth != prim->width){ - gl2ps->lastlinewidth = prim->width; - gl2psPrintf("%g W\n", gl2ps->lastlinewidth); - } - gl2psPrintPostScriptDash(prim->pattern, prim->factor, "setdash"); - gl2psPrintPostScriptColor(prim->verts[0].rgba); - gl2psPrintf("%g %g %s\n", prim->verts[0].xyz[0], prim->verts[0].xyz[1], - newline ? "LS" : "L"); - gl2ps->lastvertex = prim->verts[1]; - break; - case GL2PS_TRIANGLE : - if(!gl2psVertsSameColor(prim)){ - gl2psResetPostScriptColor(); - gl2psPrintf("%g %g %g %g %g %g %g %g %g %g %g %g %g %g %g ST\n", - prim->verts[2].xyz[0], prim->verts[2].xyz[1], - prim->verts[2].rgba[0], prim->verts[2].rgba[1], - prim->verts[2].rgba[2], prim->verts[1].xyz[0], - prim->verts[1].xyz[1], prim->verts[1].rgba[0], - prim->verts[1].rgba[1], prim->verts[1].rgba[2], - prim->verts[0].xyz[0], prim->verts[0].xyz[1], - prim->verts[0].rgba[0], prim->verts[0].rgba[1], - prim->verts[0].rgba[2]); - } - else{ - gl2psPrintPostScriptColor(prim->verts[0].rgba); - gl2psPrintf("%g %g %g %g %g %g T\n", - prim->verts[2].xyz[0], prim->verts[2].xyz[1], - prim->verts[1].xyz[0], prim->verts[1].xyz[1], - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - } - break; - case GL2PS_QUADRANGLE : - gl2psMsg(GL2PS_WARNING, "There should not be any quad left to print"); - break; - case GL2PS_PIXMAP : - gl2psPrintPostScriptPixmap(prim->verts[0].xyz[0], prim->verts[0].xyz[1], - prim->data.image); - break; - case GL2PS_IMAGEMAP : - if(prim->data.image->type != GL2PS_IMAGEMAP_WRITTEN){ - gl2psPrintPostScriptColor(prim->verts[0].rgba); - gl2psPrintPostScriptImagemap(prim->data.image->pixels[0], - prim->data.image->pixels[1], - prim->data.image->width, prim->data.image->height, - (const unsigned char*)(&(prim->data.image->pixels[2]))); - prim->data.image->type = GL2PS_IMAGEMAP_WRITTEN; - } - break; - case GL2PS_TEXT : - gl2psPrintPostScriptColor(prim->verts[0].rgba); - gl2psPrintf("(%s) ", prim->data.text->str); - if(prim->data.text->angle) - gl2psPrintf("%g ", prim->data.text->angle); - gl2psPrintf("%g %g %d /%s ", - prim->verts[0].xyz[0], prim->verts[0].xyz[1], - prim->data.text->fontsize, prim->data.text->fontname); - switch(prim->data.text->alignment){ - case GL2PS_TEXT_C: - gl2psPrintf(prim->data.text->angle ? "SCCR\n" : "SCC\n"); - break; - case GL2PS_TEXT_CL: - gl2psPrintf(prim->data.text->angle ? "SCLR\n" : "SCL\n"); - break; - case GL2PS_TEXT_CR: - gl2psPrintf(prim->data.text->angle ? "SCRR\n" : "SCR\n"); - break; - case GL2PS_TEXT_B: - gl2psPrintf(prim->data.text->angle ? "SBCR\n" : "SBC\n"); - break; - case GL2PS_TEXT_BR: - gl2psPrintf(prim->data.text->angle ? "SBRR\n" : "SBR\n"); - break; - case GL2PS_TEXT_T: - gl2psPrintf(prim->data.text->angle ? "STCR\n" : "STC\n"); - break; - case GL2PS_TEXT_TL: - gl2psPrintf(prim->data.text->angle ? "STLR\n" : "STL\n"); - break; - case GL2PS_TEXT_TR: - gl2psPrintf(prim->data.text->angle ? "STRR\n" : "STR\n"); - break; - case GL2PS_TEXT_BL: - default: - gl2psPrintf(prim->data.text->angle ? "SR\n" : "S\n"); - break; - } - break; - case GL2PS_SPECIAL : - /* alignment contains the format for which the special output text - is intended */ - if(prim->data.text->alignment == GL2PS_PS || - prim->data.text->alignment == GL2PS_EPS) - gl2psPrintf("%s\n", prim->data.text->str); - break; - default : - break; - } -} - -static void gl2psPrintPostScriptFooter(void) -{ - gl2psPrintf("grestore\n" - "showpage\n" - "cleartomark\n" - "%%%%PageTrailer\n" - "%%%%Trailer\n" - "end\n" - "%%%%EOF\n"); - - gl2psPrintGzipFooter(); -} - -static void gl2psPrintPostScriptBeginViewport(GLint viewport[4]) -{ - GLint index; - GLfloat rgba[4]; - int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; - - glRenderMode(GL_FEEDBACK); - - if(gl2ps->header){ - gl2psPrintPostScriptHeader(); - gl2ps->header = GL_FALSE; - } - - gl2psPrintf("gsave\n" - "1.0 1.0 scale\n"); - - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - if(gl2ps->colormode == GL_RGBA || gl2ps->colorsize == 0){ - glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); - } - else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; - rgba[3] = 1.0F; - } - gl2psPrintf("%g %g %g C\n" - "newpath %d %d moveto %d %d lineto %d %d lineto %d %d lineto\n" - "closepath fill\n", - rgba[0], rgba[1], rgba[2], - x, y, x+w, y, x+w, y+h, x, y+h); - } - - gl2psPrintf("newpath %d %d moveto %d %d lineto %d %d lineto %d %d lineto\n" - "closepath clip\n", - x, y, x+w, y, x+w, y+h, x, y+h); - -} - -static GLint gl2psPrintPostScriptEndViewport(void) -{ - GLint res; - - res = gl2psPrintPrimitives(); - gl2psPrintf("grestore\n"); - return res; -} - -static void gl2psPrintPostScriptFinalPrimitive(void) -{ - /* End any remaining line, if any */ - gl2psEndPostScriptLine(); -} - -/* definition of the PostScript and Encapsulated PostScript backends */ - -static GL2PSbackend gl2psPS = { - gl2psPrintPostScriptHeader, - gl2psPrintPostScriptFooter, - gl2psPrintPostScriptBeginViewport, - gl2psPrintPostScriptEndViewport, - gl2psPrintPostScriptPrimitive, - gl2psPrintPostScriptFinalPrimitive, - "ps", - "Postscript" -}; - -static GL2PSbackend gl2psEPS = { - gl2psPrintPostScriptHeader, - gl2psPrintPostScriptFooter, - gl2psPrintPostScriptBeginViewport, - gl2psPrintPostScriptEndViewport, - gl2psPrintPostScriptPrimitive, - gl2psPrintPostScriptFinalPrimitive, - "eps", - "Encapsulated Postscript" -}; - -/********************************************************************* - * - * LaTeX routines - * - *********************************************************************/ - -static void gl2psPrintTeXHeader(void) -{ - char name[256]; - time_t now; - int i; - - if(gl2ps->filename && strlen(gl2ps->filename) < 256){ - for(i = strlen(gl2ps->filename)-1; i >= 0; i--){ - if(gl2ps->filename[i] == '.'){ - strncpy(name, gl2ps->filename, i); - name[i] = '\0'; - break; - } - } - if(i <= 0) strcpy(name, gl2ps->filename); - } - else{ - strcpy(name, "untitled"); - } - - time(&now); - - fprintf(gl2ps->stream, - "%% Title: %s\n" - "%% Creator: GL2PS %d.%d.%d%s, %s\n" - "%% For: %s\n" - "%% CreationDate: %s", - gl2ps->title, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, - GL2PS_PATCH_VERSION, GL2PS_EXTRA_VERSION, GL2PS_COPYRIGHT, - gl2ps->producer, ctime(&now)); - - fprintf(gl2ps->stream, - "\\setlength{\\unitlength}{1pt}\n" - "\\begin{picture}(0,0)\n" - "\\includegraphics{%s}\n" - "\\end{picture}%%\n" - "%s\\begin{picture}(%d,%d)(0,0)\n", - name, (gl2ps->options & GL2PS_LANDSCAPE) ? "\\rotatebox{90}{" : "", - (int)gl2ps->viewport[2], (int)gl2ps->viewport[3]); -} - -static void gl2psPrintTeXPrimitive(void *data) -{ - GL2PSprimitive *prim; - - prim = *(GL2PSprimitive**)data; - - switch(prim->type){ - case GL2PS_TEXT : - fprintf(gl2ps->stream, "\\fontsize{%d}{0}\n\\selectfont", - prim->data.text->fontsize); - fprintf(gl2ps->stream, "\\put(%g,%g){\\makebox(0,0)", - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - switch(prim->data.text->alignment){ - case GL2PS_TEXT_C: - fprintf(gl2ps->stream, "{"); - break; - case GL2PS_TEXT_CL: - fprintf(gl2ps->stream, "[l]{"); - break; - case GL2PS_TEXT_CR: - fprintf(gl2ps->stream, "[r]{"); - break; - case GL2PS_TEXT_B: - fprintf(gl2ps->stream, "[b]{"); - break; - case GL2PS_TEXT_BR: - fprintf(gl2ps->stream, "[br]{"); - break; - case GL2PS_TEXT_T: - fprintf(gl2ps->stream, "[t]{"); - break; - case GL2PS_TEXT_TL: - fprintf(gl2ps->stream, "[tl]{"); - break; - case GL2PS_TEXT_TR: - fprintf(gl2ps->stream, "[tr]{"); - break; - case GL2PS_TEXT_BL: - default: - fprintf(gl2ps->stream, "[bl]{"); - break; - } - if(prim->data.text->angle) - fprintf(gl2ps->stream, "\\rotatebox{%g}{", prim->data.text->angle); - fprintf(gl2ps->stream, "\\textcolor[rgb]{%g,%g,%g}{{%s}}", - prim->verts[0].rgba[0], prim->verts[0].rgba[1], prim->verts[0].rgba[2], - prim->data.text->str); - if(prim->data.text->angle) - fprintf(gl2ps->stream, "}"); - fprintf(gl2ps->stream, "}}\n"); - break; - case GL2PS_SPECIAL : - /* alignment contains the format for which the special output text - is intended */ - if (prim->data.text->alignment == GL2PS_TEX) - fprintf(gl2ps->stream, "%s\n", prim->data.text->str); - break; - default : - break; - } -} - -static void gl2psPrintTeXFooter(void) -{ - fprintf(gl2ps->stream, "\\end{picture}%s\n", - (gl2ps->options & GL2PS_LANDSCAPE) ? "}" : ""); -} - -static void gl2psPrintTeXBeginViewport(GLint /*viewport*/[4]) -{ - glRenderMode(GL_FEEDBACK); - - if(gl2ps->header){ - gl2psPrintTeXHeader(); - gl2ps->header = GL_FALSE; - } -} - -static GLint gl2psPrintTeXEndViewport(void) -{ - return gl2psPrintPrimitives(); -} - -static void gl2psPrintTeXFinalPrimitive(void) -{ -} - -/* definition of the LaTeX backend */ - -static GL2PSbackend gl2psTEX = { - gl2psPrintTeXHeader, - gl2psPrintTeXFooter, - gl2psPrintTeXBeginViewport, - gl2psPrintTeXEndViewport, - gl2psPrintTeXPrimitive, - gl2psPrintTeXFinalPrimitive, - "tex", - "LaTeX text" -}; - -/********************************************************************* - * - * PDF routines - * - *********************************************************************/ - -static int gl2psPrintPDFCompressorType(void) -{ -#if defined(GL2PS_HAVE_ZLIB) - if(gl2ps->options & GL2PS_COMPRESS){ - return fprintf(gl2ps->stream, "/Filter [/FlateDecode]\n"); - } -#endif - return 0; -} - -static int gl2psPrintPDFStrokeColor(GL2PSrgba rgba) -{ - int i, offs = 0; - - gl2psSetLastColor(rgba); - for(i = 0; i < 3; ++i){ - if(GL2PS_ZERO(rgba[i])) - offs += gl2psPrintf("%.0f ", 0.); - else if(rgba[i] < 1e-4 || rgba[i] > 1e6) /* avoid %e formatting */ - offs += gl2psPrintf("%f ", rgba[i]); - else - offs += gl2psPrintf("%g ", rgba[i]); - } - offs += gl2psPrintf("RG\n"); - return offs; -} - -static int gl2psPrintPDFFillColor(GL2PSrgba rgba) -{ - int i, offs = 0; - - for(i = 0; i < 3; ++i){ - if(GL2PS_ZERO(rgba[i])) - offs += gl2psPrintf("%.0f ", 0.); - else if(rgba[i] < 1e-4 || rgba[i] > 1e6) /* avoid %e formatting */ - offs += gl2psPrintf("%f ", rgba[i]); - else - offs += gl2psPrintf("%g ", rgba[i]); - } - offs += gl2psPrintf("rg\n"); - return offs; -} - -static int gl2psPrintPDFLineWidth(GLfloat lw) -{ - if(GL2PS_ZERO(lw)) - return gl2psPrintf("%.0f w\n", 0.); - else if(lw < 1e-4 || lw > 1e6) /* avoid %e formatting */ - return gl2psPrintf("%f w\n", lw); - else - return gl2psPrintf("%g w\n", lw); -} - -static void gl2psPutPDFText(GL2PSstring *text, int cnt, GLfloat x, GLfloat y) -{ - gl2ps->streamlength += - gl2psPrintf("BT\n" - "/F%d %d Tf\n" - "%f %f Td\n" - "(%s) Tj\n" - "ET\n", - cnt, text->fontsize, x, y, text->str); -} - -static void gl2psPutPDFImage(GL2PSimage *image, int cnt, GLfloat x, GLfloat y) -{ - gl2ps->streamlength += - gl2psPrintf("q\n" - "%d 0 0 %d %f %f cm\n" - "/Im%d Do\n" - "Q\n", - (int)image->width, (int)image->height, x, y, cnt); -} - -static void gl2psPDFstacksInit(void) -{ - gl2ps->objects_stack = 7 /* FIXED_XREF_ENTRIES */ + 1; - gl2ps->extgs_stack = 0; - gl2ps->font_stack = 0; - gl2ps->im_stack = 0; - gl2ps->trgroupobjects_stack = 0; - gl2ps->shader_stack = 0; - gl2ps->mshader_stack = 0; -} - -static void gl2psPDFgroupObjectInit(GL2PSpdfgroup *gro) -{ - if(!gro) - return; - - gro->ptrlist = NULL; - gro->fontno = gro->gsno = gro->imno = gro->maskshno = gro->shno - = gro->trgroupno = gro->fontobjno = gro->imobjno = gro->shobjno - = gro->maskshobjno = gro->gsobjno = gro->trgroupobjno = -1; -} - -/* Build up group objects and assign name and object numbers */ - -static void gl2psPDFgroupListInit(void) -{ - int i; - GL2PSprimitive *p = NULL; - GL2PSpdfgroup gro; - int lasttype = GL2PS_NO_TYPE; - GL2PSrgba lastrgba = {-1.0F, -1.0F, -1.0F, -1.0F}; - GLushort lastpattern = 0; - GLint lastfactor = 0; - GLfloat lastwidth = 1; - GL2PStriangle lastt, tmpt; - int lastTriangleWasNotSimpleWithSameColor = 0; - - if(!gl2ps->pdfprimlist) - return; - - gl2ps->pdfgrouplist = gl2psListCreate(500, 500, sizeof(GL2PSpdfgroup)); - gl2psInitTriangle(&lastt); - - for(i = 0; i < gl2psListNbr(gl2ps->pdfprimlist); ++i){ - p = *(GL2PSprimitive**)gl2psListPointer(gl2ps->pdfprimlist, i); - switch(p->type){ - case GL2PS_PIXMAP: - gl2psPDFgroupObjectInit(&gro); - gro.ptrlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - gro.imno = gl2ps->im_stack++; - gl2psListAdd(gro.ptrlist, &p); - gl2psListAdd(gl2ps->pdfgrouplist, &gro); - break; - case GL2PS_TEXT: - gl2psPDFgroupObjectInit(&gro); - gro.ptrlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - gro.fontno = gl2ps->font_stack++; - gl2psListAdd(gro.ptrlist, &p); - gl2psListAdd(gl2ps->pdfgrouplist, &gro); - break; - case GL2PS_LINE: - if(lasttype != p->type || lastwidth != p->width || - lastpattern != p->pattern || lastfactor != p->factor || - !gl2psSameColor(p->verts[0].rgba, lastrgba)){ - gl2psPDFgroupObjectInit(&gro); - gro.ptrlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - gl2psListAdd(gro.ptrlist, &p); - gl2psListAdd(gl2ps->pdfgrouplist, &gro); - } - else{ - gl2psListAdd(gro.ptrlist, &p); - } - lastpattern = p->pattern; - lastfactor = p->factor; - lastwidth = p->width; - lastrgba[0] = p->verts[0].rgba[0]; - lastrgba[1] = p->verts[0].rgba[1]; - lastrgba[2] = p->verts[0].rgba[2]; - break; - case GL2PS_POINT: - if(lasttype != p->type || lastwidth != p->width || - !gl2psSameColor(p->verts[0].rgba, lastrgba)){ - gl2psPDFgroupObjectInit(&gro); - gro.ptrlist = gl2psListCreate(1,2,sizeof(GL2PSprimitive*)); - gl2psListAdd(gro.ptrlist, &p); - gl2psListAdd(gl2ps->pdfgrouplist, &gro); - } - else{ - gl2psListAdd(gro.ptrlist, &p); - } - lastwidth = p->width; - lastrgba[0] = p->verts[0].rgba[0]; - lastrgba[1] = p->verts[0].rgba[1]; - lastrgba[2] = p->verts[0].rgba[2]; - break; - case GL2PS_TRIANGLE: - gl2psFillTriangleFromPrimitive(&tmpt, p, GL_TRUE); - lastTriangleWasNotSimpleWithSameColor = - !(tmpt.prop & T_CONST_COLOR && tmpt.prop & T_ALPHA_1) || - !gl2psSameColor(tmpt.vertex[0].rgba, lastt.vertex[0].rgba); - if(lasttype == p->type && tmpt.prop == lastt.prop && - lastTriangleWasNotSimpleWithSameColor){ - /* TODO Check here for last alpha */ - gl2psListAdd(gro.ptrlist, &p); - } - else{ - gl2psPDFgroupObjectInit(&gro); - gro.ptrlist = gl2psListCreate(1, 2, sizeof(GL2PSprimitive*)); - gl2psListAdd(gro.ptrlist, &p); - gl2psListAdd(gl2ps->pdfgrouplist, &gro); - } - lastt = tmpt; - break; - default: - break; - } - lasttype = p->type; - } -} - -static void gl2psSortOutTrianglePDFgroup(GL2PSpdfgroup *gro) -{ - GL2PStriangle t; - GL2PSprimitive *prim = NULL; - - if(!gro) - return; - - if(!gl2psListNbr(gro->ptrlist)) - return; - - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, 0); - - if(prim->type != GL2PS_TRIANGLE) - return; - - gl2psFillTriangleFromPrimitive(&t, prim, GL_TRUE); - - if(t.prop & T_CONST_COLOR && t.prop & T_ALPHA_LESS_1){ - gro->gsno = gl2ps->extgs_stack++; - gro->gsobjno = gl2ps->objects_stack ++; - } - else if(t.prop & T_CONST_COLOR && t.prop & T_VAR_ALPHA){ - gro->gsno = gl2ps->extgs_stack++; - gro->gsobjno = gl2ps->objects_stack++; - gro->trgroupno = gl2ps->trgroupobjects_stack++; - gro->trgroupobjno = gl2ps->objects_stack++; - gro->maskshno = gl2ps->mshader_stack++; - gro->maskshobjno = gl2ps->objects_stack++; - } - else if(t.prop & T_VAR_COLOR && t.prop & T_ALPHA_1){ - gro->shno = gl2ps->shader_stack++; - gro->shobjno = gl2ps->objects_stack++; - } - else if(t.prop & T_VAR_COLOR && t.prop & T_ALPHA_LESS_1){ - gro->gsno = gl2ps->extgs_stack++; - gro->gsobjno = gl2ps->objects_stack++; - gro->shno = gl2ps->shader_stack++; - gro->shobjno = gl2ps->objects_stack++; - } - else if(t.prop & T_VAR_COLOR && t.prop & T_VAR_ALPHA){ - gro->gsno = gl2ps->extgs_stack++; - gro->gsobjno = gl2ps->objects_stack++; - gro->shno = gl2ps->shader_stack++; - gro->shobjno = gl2ps->objects_stack++; - gro->trgroupno = gl2ps->trgroupobjects_stack++; - gro->trgroupobjno = gl2ps->objects_stack++; - gro->maskshno = gl2ps->mshader_stack++; - gro->maskshobjno = gl2ps->objects_stack++; - } -} - -/* Main stream data */ - -static void gl2psPDFgroupListWriteMainStream(void) -{ - int i, j, lastel; - GL2PSprimitive *prim = NULL, *prev = NULL; - GL2PSpdfgroup *gro; - GL2PStriangle t; - - if(!gl2ps->pdfgrouplist) - return; - - for(i = 0; i < gl2psListNbr(gl2ps->pdfgrouplist); ++i){ - gro = (GL2PSpdfgroup*)gl2psListPointer(gl2ps->pdfgrouplist, i); - - lastel = gl2psListNbr(gro->ptrlist) - 1; - if(lastel < 0) - continue; - - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, 0); - - switch(prim->type){ - case GL2PS_POINT: - gl2ps->streamlength += gl2psPrintf("1 J\n"); - gl2ps->streamlength += gl2psPrintPDFLineWidth(prim->width); - gl2ps->streamlength += gl2psPrintPDFStrokeColor(prim->verts[0].rgba); - for(j = 0; j <= lastel; ++j){ - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - gl2ps->streamlength += - gl2psPrintf("%f %f m %f %f l\n", - prim->verts[0].xyz[0], prim->verts[0].xyz[1], - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - } - gl2ps->streamlength += gl2psPrintf("S\n"); - gl2ps->streamlength += gl2psPrintf("0 J\n"); - break; - case GL2PS_LINE: - /* We try to use as few paths as possible to draw lines, in - order to get nice stippling even when the individual segments - are smaller than the stipple */ - gl2ps->streamlength += gl2psPrintPDFLineWidth(prim->width); - gl2ps->streamlength += gl2psPrintPDFStrokeColor(prim->verts[0].rgba); - gl2ps->streamlength += gl2psPrintPostScriptDash(prim->pattern, prim->factor, "d"); - /* start new path */ - gl2ps->streamlength += - gl2psPrintf("%f %f m\n", - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - - for(j = 1; j <= lastel; ++j){ - prev = prim; - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - if(!gl2psSamePosition(prim->verts[0].xyz, prev->verts[1].xyz)){ - /* the starting point of the new segment does not match the - end point of the previous line, so we end the current - path and start a new one */ - gl2ps->streamlength += - gl2psPrintf("%f %f l\n", - prev->verts[1].xyz[0], prev->verts[1].xyz[1]); - gl2ps->streamlength += - gl2psPrintf("%f %f m\n", - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - } - else{ - /* the two segements are connected, so we just append to the - current path */ - gl2ps->streamlength += - gl2psPrintf("%f %f l\n", - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - } - } - /* end last path */ - gl2ps->streamlength += - gl2psPrintf("%f %f l\n", - prim->verts[1].xyz[0], prim->verts[1].xyz[1]); - gl2ps->streamlength += gl2psPrintf("S\n"); - break; - case GL2PS_TRIANGLE: - gl2psFillTriangleFromPrimitive(&t, prim, GL_TRUE); - gl2psSortOutTrianglePDFgroup(gro); - - /* No alpha and const color: Simple PDF draw orders */ - if(t.prop & T_CONST_COLOR && t.prop & T_ALPHA_1){ - gl2ps->streamlength += gl2psPrintPDFFillColor(t.vertex[0].rgba); - for(j = 0; j <= lastel; ++j){ - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - gl2psFillTriangleFromPrimitive(&t, prim, GL_FALSE); - gl2ps->streamlength - += gl2psPrintf("%f %f m\n" - "%f %f l\n" - "%f %f l\n" - "h f\n", - t.vertex[0].xyz[0], t.vertex[0].xyz[1], - t.vertex[1].xyz[0], t.vertex[1].xyz[1], - t.vertex[2].xyz[0], t.vertex[2].xyz[1]); - } - } - /* Const alpha < 1 and const color: Simple PDF draw orders - and an extra extended Graphics State for the alpha const */ - else if(t.prop & T_CONST_COLOR && t.prop & T_ALPHA_LESS_1){ - gl2ps->streamlength += gl2psPrintf("q\n" - "/GS%d gs\n", - gro->gsno); - gl2ps->streamlength += gl2psPrintPDFFillColor(prim->verts[0].rgba); - for(j = 0; j <= lastel; ++j){ - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - gl2psFillTriangleFromPrimitive(&t, prim, GL_FALSE); - gl2ps->streamlength - += gl2psPrintf("%f %f m\n" - "%f %f l\n" - "%f %f l\n" - "h f\n", - t.vertex[0].xyz[0], t.vertex[0].xyz[1], - t.vertex[1].xyz[0], t.vertex[1].xyz[1], - t.vertex[2].xyz[0], t.vertex[2].xyz[1]); - } - gl2ps->streamlength += gl2psPrintf("Q\n"); - } - /* Variable alpha and const color: Simple PDF draw orders - and an extra extended Graphics State + Xobject + Shader - object for the alpha mask */ - else if(t.prop & T_CONST_COLOR && t.prop & T_VAR_ALPHA){ - gl2ps->streamlength += gl2psPrintf("q\n" - "/GS%d gs\n" - "/TrG%d Do\n", - gro->gsno, gro->trgroupno); - gl2ps->streamlength += gl2psPrintPDFFillColor(prim->verts[0].rgba); - for(j = 0; j <= lastel; ++j){ - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - gl2psFillTriangleFromPrimitive(&t, prim, GL_FALSE); - gl2ps->streamlength - += gl2psPrintf("%f %f m\n" - "%f %f l\n" - "%f %f l\n" - "h f\n", - t.vertex[0].xyz[0], t.vertex[0].xyz[1], - t.vertex[1].xyz[0], t.vertex[1].xyz[1], - t.vertex[2].xyz[0], t.vertex[2].xyz[1]); - } - gl2ps->streamlength += gl2psPrintf("Q\n"); - } - /* Variable color and no alpha: Shader Object for the colored - triangle(s) */ - else if(t.prop & T_VAR_COLOR && t.prop & T_ALPHA_1){ - gl2ps->streamlength += gl2psPrintf("/Sh%d sh\n", gro->shno); - } - /* Variable color and const alpha < 1: Shader Object for the - colored triangle(s) and an extra extended Graphics State - for the alpha const */ - else if(t.prop & T_VAR_COLOR && t.prop & T_ALPHA_LESS_1){ - gl2ps->streamlength += gl2psPrintf("q\n" - "/GS%d gs\n" - "/Sh%d sh\n" - "Q\n", - gro->gsno, gro->shno); - } - /* Variable alpha and color: Shader Object for the colored - triangle(s) and an extra extended Graphics State - + Xobject + Shader object for the alpha mask */ - else if(t.prop & T_VAR_COLOR && t.prop & T_VAR_ALPHA){ - gl2ps->streamlength += gl2psPrintf("q\n" - "/GS%d gs\n" - "/TrG%d Do\n" - "/Sh%d sh\n" - "Q\n", - gro->gsno, gro->trgroupno, gro->shno); - } - break; - case GL2PS_PIXMAP: - for(j = 0; j <= lastel; ++j){ - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - gl2psPutPDFImage(prim->data.image, gro->imno, prim->verts[0].xyz[0], - prim->verts[0].xyz[1]); - } - break; - case GL2PS_TEXT: - for(j = 0; j <= lastel; ++j){ - prim = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - gl2ps->streamlength += gl2psPrintPDFFillColor(prim->verts[0].rgba); - gl2psPutPDFText(prim->data.text, gro->fontno, prim->verts[0].xyz[0], - prim->verts[0].xyz[1]); - } - break; - default: - break; - } - } -} - -/* Graphics State names */ - -static int gl2psPDFgroupListWriteGStateResources(void) -{ - GL2PSpdfgroup *gro; - int offs = 0; - int i; - - offs += fprintf(gl2ps->stream, - "/ExtGState\n" - "<<\n" - "/GSa 7 0 R\n"); - for(i = 0; i < gl2psListNbr(gl2ps->pdfgrouplist); ++i){ - gro = (GL2PSpdfgroup*)gl2psListPointer(gl2ps->pdfgrouplist, i); - if(gro->gsno >= 0) - offs += fprintf(gl2ps->stream, "/GS%d %d 0 R\n", gro->gsno, gro->gsobjno); - } - offs += fprintf(gl2ps->stream, ">>\n"); - return offs; -} - -/* Main Shader names */ - -static int gl2psPDFgroupListWriteShaderResources(void) -{ - GL2PSpdfgroup *gro; - int offs = 0; - int i; - - offs += fprintf(gl2ps->stream, - "/Shading\n" - "<<\n"); - for(i = 0; i < gl2psListNbr(gl2ps->pdfgrouplist); ++i){ - gro = (GL2PSpdfgroup*)gl2psListPointer(gl2ps->pdfgrouplist, i); - if(gro->shno >= 0) - offs += fprintf(gl2ps->stream, "/Sh%d %d 0 R\n", gro->shno, gro->shobjno); - if(gro->maskshno >= 0) - offs += fprintf(gl2ps->stream, "/TrSh%d %d 0 R\n", gro->maskshno, gro->maskshobjno); - } - offs += fprintf(gl2ps->stream,">>\n"); - return offs; -} - -/* Images & Mask Shader XObject names */ - -static int gl2psPDFgroupListWriteXObjectResources(void) -{ - int i; - GL2PSprimitive *p = NULL; - GL2PSpdfgroup *gro; - int offs = 0; - - offs += fprintf(gl2ps->stream, - "/XObject\n" - "<<\n"); - - for(i = 0; i < gl2psListNbr(gl2ps->pdfgrouplist); ++i){ - gro = (GL2PSpdfgroup*)gl2psListPointer(gl2ps->pdfgrouplist, i); - if(!gl2psListNbr(gro->ptrlist)) - continue; - p = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, 0); - switch(p->type){ - case GL2PS_PIXMAP: - gro->imobjno = gl2ps->objects_stack++; - if(GL_RGBA == p->data.image->format) /* reserve one object for image mask */ - gl2ps->objects_stack++; - offs += fprintf(gl2ps->stream, "/Im%d %d 0 R\n", gro->imno, gro->imobjno); - case GL2PS_TRIANGLE: - if(gro->trgroupno >=0) - offs += fprintf(gl2ps->stream, "/TrG%d %d 0 R\n", gro->trgroupno, gro->trgroupobjno); - break; - default: - break; - } - } - offs += fprintf(gl2ps->stream,">>\n"); - return offs; -} - -/* Font names */ - -static int gl2psPDFgroupListWriteFontResources(void) -{ - int i; - GL2PSpdfgroup *gro; - int offs = 0; - - offs += fprintf(gl2ps->stream, "/Font\n<<\n"); - - for(i = 0; i < gl2psListNbr(gl2ps->pdfgrouplist); ++i){ - gro = (GL2PSpdfgroup*)gl2psListPointer(gl2ps->pdfgrouplist, i); - if(gro->fontno < 0) - continue; - gro->fontobjno = gl2ps->objects_stack++; - offs += fprintf(gl2ps->stream, "/F%d %d 0 R\n", gro->fontno, gro->fontobjno); - } - offs += fprintf(gl2ps->stream, ">>\n"); - - return offs; -} - -static void gl2psPDFgroupListDelete(void) -{ - int i; - GL2PSpdfgroup *gro = NULL; - - if(!gl2ps->pdfgrouplist) - return; - - for(i = 0; i < gl2psListNbr(gl2ps->pdfgrouplist); ++i){ - gro = (GL2PSpdfgroup*)gl2psListPointer(gl2ps->pdfgrouplist,i); - gl2psListDelete(gro->ptrlist); - } - - gl2psListDelete(gl2ps->pdfgrouplist); - gl2ps->pdfgrouplist = NULL; -} - -/* Print 1st PDF object - file info */ - -static int gl2psPrintPDFInfo(void) -{ - int offs; - time_t now; - struct tm *newtime; - - time(&now); - newtime = gmtime(&now); - - offs = fprintf(gl2ps->stream, - "1 0 obj\n" - "<<\n" - "/Title (%s)\n" - "/Creator (GL2PS %d.%d.%d%s, %s)\n" - "/Producer (%s)\n", - gl2ps->title, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, - GL2PS_PATCH_VERSION, GL2PS_EXTRA_VERSION, GL2PS_COPYRIGHT, - gl2ps->producer); - - if(!newtime){ - offs += fprintf(gl2ps->stream, - ">>\n" - "endobj\n"); - return offs; - } - - offs += fprintf(gl2ps->stream, - "/CreationDate (D:%d%02d%02d%02d%02d%02d)\n" - ">>\n" - "endobj\n", - newtime->tm_year+1900, - newtime->tm_mon+1, - newtime->tm_mday, - newtime->tm_hour, - newtime->tm_min, - newtime->tm_sec); - return offs; -} - -/* Create catalog and page structure - 2nd and 3th PDF object */ - -static int gl2psPrintPDFCatalog(void) -{ - return fprintf(gl2ps->stream, - "2 0 obj\n" - "<<\n" - "/Type /Catalog\n" - "/Pages 3 0 R\n" - ">>\n" - "endobj\n"); -} - -static int gl2psPrintPDFPages(void) -{ - return fprintf(gl2ps->stream, - "3 0 obj\n" - "<<\n" - "/Type /Pages\n" - "/Kids [6 0 R]\n" - "/Count 1\n" - ">>\n" - "endobj\n"); -} - -/* Open stream for data - graphical objects, fonts etc. PDF object 4 */ - -static int gl2psOpenPDFDataStream(void) -{ - int offs = 0; - - offs += fprintf(gl2ps->stream, - "4 0 obj\n" - "<<\n" - "/Length 5 0 R\n" ); - offs += gl2psPrintPDFCompressorType(); - offs += fprintf(gl2ps->stream, - ">>\n" - "stream\n"); - return offs; -} - -/* Stream setup - Graphics state, fill background if allowed */ - -static int gl2psOpenPDFDataStreamWritePreface(void) -{ - int offs; - - offs = gl2psPrintf("/GSa gs\n"); - - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - offs += gl2psPrintPDFFillColor(gl2ps->bgcolor); - offs += gl2psPrintf("%d %d %d %d re\n", - (int)gl2ps->viewport[0], (int)gl2ps->viewport[1], - (int)gl2ps->viewport[2], (int)gl2ps->viewport[3]); - offs += gl2psPrintf("f\n"); - } - return offs; -} - -/* Use the functions above to create the first part of the PDF*/ - -static void gl2psPrintPDFHeader(void) -{ - int offs = 0; - gl2ps->pdfprimlist = gl2psListCreate(500, 500, sizeof(GL2PSprimitive*)); - gl2psPDFstacksInit(); - - gl2ps->xreflist = (int*)gl2psMalloc(sizeof(int) * gl2ps->objects_stack); - -#if defined(GL2PS_HAVE_ZLIB) - if(gl2ps->options & GL2PS_COMPRESS){ - gl2psSetupCompress(); - } -#endif - gl2ps->xreflist[0] = 0; - offs += fprintf(gl2ps->stream, "%%PDF-1.4\n"); - gl2ps->xreflist[1] = offs; - - offs += gl2psPrintPDFInfo(); - gl2ps->xreflist[2] = offs; - - offs += gl2psPrintPDFCatalog(); - gl2ps->xreflist[3] = offs; - - offs += gl2psPrintPDFPages(); - gl2ps->xreflist[4] = offs; - - offs += gl2psOpenPDFDataStream(); - gl2ps->xreflist[5] = offs; /* finished in gl2psPrintPDFFooter */ - gl2ps->streamlength = gl2psOpenPDFDataStreamWritePreface(); -} - -/* The central primitive drawing */ - -static void gl2psPrintPDFPrimitive(void *data) -{ - GL2PSprimitive *prim = *(GL2PSprimitive**)data; - - if((gl2ps->options & GL2PS_OCCLUSION_CULL) && prim->culled) - return; - - prim = gl2psCopyPrimitive(prim); /* deep copy */ - gl2psListAdd(gl2ps->pdfprimlist, &prim); -} - -/* close stream and ... */ - -static int gl2psClosePDFDataStream(void) -{ - int offs = 0; - -#if defined(GL2PS_HAVE_ZLIB) - if(gl2ps->options & GL2PS_COMPRESS){ - if(Z_OK != gl2psDeflate()) - gl2psMsg(GL2PS_ERROR, "Zlib deflate error"); - else - fwrite(gl2ps->compress->dest, gl2ps->compress->destLen, 1, gl2ps->stream); - gl2ps->streamlength += gl2ps->compress->destLen; - - offs += gl2ps->streamlength; - gl2psFreeCompress(); - } -#endif - - offs += fprintf(gl2ps->stream, - "endstream\n" - "endobj\n"); - return offs; -} - -/* ... write the now known length object */ - -static int gl2psPrintPDFDataStreamLength(int val) -{ - return fprintf(gl2ps->stream, - "5 0 obj\n" - "%d\n" - "endobj\n", val); -} - -/* Put the info created before in PDF objects */ - -static int gl2psPrintPDFOpenPage(void) -{ - int offs; - - /* Write fixed part */ - - offs = fprintf(gl2ps->stream, - "6 0 obj\n" - "<<\n" - "/Type /Page\n" - "/Parent 3 0 R\n" - "/MediaBox [%d %d %d %d]\n", - (int)gl2ps->viewport[0], (int)gl2ps->viewport[1], - (int)gl2ps->viewport[2], (int)gl2ps->viewport[3]); - - if(gl2ps->options & GL2PS_LANDSCAPE) - offs += fprintf(gl2ps->stream, "/Rotate -90\n"); - - offs += fprintf(gl2ps->stream, - "/Contents 4 0 R\n" - "/Resources\n" - "<<\n" - "/ProcSet [/PDF /Text /ImageB /ImageC] %%/ImageI\n"); - - return offs; - - /* End fixed part, proceeds in gl2psPDFgroupListWriteVariableResources() */ -} - -static int gl2psPDFgroupListWriteVariableResources(void) -{ - int offs = 0; - - /* a) Graphics States for shader alpha masks*/ - offs += gl2psPDFgroupListWriteGStateResources(); - - /* b) Shader and shader masks */ - offs += gl2psPDFgroupListWriteShaderResources(); - - /* c) XObjects (Images & Shader Masks) */ - offs += gl2psPDFgroupListWriteXObjectResources(); - - /* d) Fonts */ - offs += gl2psPDFgroupListWriteFontResources(); - - /* End resources and page */ - offs += fprintf(gl2ps->stream, - ">>\n" - ">>\n" - "endobj\n"); - return offs; -} - -/* Standard Graphics State */ - -static int gl2psPrintPDFGSObject(void) -{ - return fprintf(gl2ps->stream, - "7 0 obj\n" - "<<\n" - "/Type /ExtGState\n" - "/SA false\n" - "/SM 0.02\n" - "/OP false\n" - "/op false\n" - "/OPM 0\n" - "/BG2 /Default\n" - "/UCR2 /Default\n" - "/TR2 /Default\n" - ">>\n" - "endobj\n"); -} - -/* Put vertex' edge flag (8bit) and coordinates (32bit) in shader stream */ - -static int gl2psPrintPDFShaderStreamDataCoord(GL2PSvertex *vertex, - size_t (*action)(unsigned long data, - size_t size), - GLfloat dx, GLfloat dy, - GLfloat xmin, GLfloat ymin) -{ - int offs = 0; - unsigned long imap; - GLfloat diff; - double dmax = ~1UL; - char edgeflag = 0; - - /* FIXME: temp bux fix for 64 bit archs: */ - if(sizeof(unsigned long) == 8) dmax = dmax - 2048.; - - offs += (*action)(edgeflag, 1); - - /* The Shader stream in PDF requires to be in a 'big-endian' - order */ - - if(GL2PS_ZERO(dx * dy)){ - offs += (*action)(0, 4); - offs += (*action)(0, 4); - } - else{ - diff = (vertex->xyz[0] - xmin) / dx; - if(diff > 1) - diff = 1.0F; - else if(diff < 0) - diff = 0.0F; - imap = (unsigned long)(diff * dmax); - offs += (*action)(imap, 4); - - diff = (vertex->xyz[1] - ymin) / dy; - if(diff > 1) - diff = 1.0F; - else if(diff < 0) - diff = 0.0F; - imap = (unsigned long)(diff * dmax); - offs += (*action)(imap, 4); - } - - return offs; -} - -/* Put vertex' rgb value (8bit for every component) in shader stream */ - -static int gl2psPrintPDFShaderStreamDataRGB(GL2PSvertex *vertex, - size_t (*action)(unsigned long data, - size_t size)) -{ - int offs = 0; - unsigned long imap; - double dmax = ~1UL; - - /* FIXME: temp bux fix for 64 bit archs: */ - if(sizeof(unsigned long) == 8) dmax = dmax - 2048.; - - imap = (unsigned long)((vertex->rgba[0]) * dmax); - offs += (*action)(imap, 1); - - imap = (unsigned long)((vertex->rgba[1]) * dmax); - offs += (*action)(imap, 1); - - imap = (unsigned long)((vertex->rgba[2]) * dmax); - offs += (*action)(imap, 1); - - return offs; -} - -/* Put vertex' alpha (8/16bit) in shader stream */ - -static int gl2psPrintPDFShaderStreamDataAlpha(GL2PSvertex *vertex, - size_t (*action)(unsigned long data, - size_t size), - int sigbyte) -{ - int offs = 0; - unsigned long imap; - double dmax = ~1UL; - - /* FIXME: temp bux fix for 64 bit archs: */ - if(sizeof(unsigned long) == 8) dmax = dmax - 2048.; - - if(sigbyte != 8 && sigbyte != 16) - sigbyte = 8; - - sigbyte /= 8; - - imap = (unsigned long)((vertex->rgba[3]) * dmax); - - offs += (*action)(imap, sigbyte); - - return offs; -} - -/* Put a triangles raw data in shader stream */ - -static int gl2psPrintPDFShaderStreamData(GL2PStriangle *triangle, - GLfloat dx, GLfloat dy, - GLfloat xmin, GLfloat ymin, - size_t (*action)(unsigned long data, - size_t size), - int gray) -{ - int i, offs = 0; - GL2PSvertex v; - - if(gray && gray != 8 && gray != 16) - gray = 8; - - for(i = 0; i < 3; ++i){ - offs += gl2psPrintPDFShaderStreamDataCoord(&triangle->vertex[i], action, - dx, dy, xmin, ymin); - if(gray){ - v = triangle->vertex[i]; - offs += gl2psPrintPDFShaderStreamDataAlpha(&v, action, gray); - } - else{ - offs += gl2psPrintPDFShaderStreamDataRGB(&triangle->vertex[i], action); - } - } - - return offs; -} - -static void gl2psPDFRectHull(GLfloat *xmin, GLfloat *xmax, - GLfloat *ymin, GLfloat *ymax, - GL2PStriangle *triangles, int cnt) -{ - int i, j; - - *xmin = triangles[0].vertex[0].xyz[0]; - *xmax = triangles[0].vertex[0].xyz[0]; - *ymin = triangles[0].vertex[0].xyz[1]; - *ymax = triangles[0].vertex[0].xyz[1]; - - for(i = 0; i < cnt; ++i){ - for(j = 0; j < 3; ++j){ - if(*xmin > triangles[i].vertex[j].xyz[0]) - *xmin = triangles[i].vertex[j].xyz[0]; - if(*xmax < triangles[i].vertex[j].xyz[0]) - *xmax = triangles[i].vertex[j].xyz[0]; - if(*ymin > triangles[i].vertex[j].xyz[1]) - *ymin = triangles[i].vertex[j].xyz[1]; - if(*ymax < triangles[i].vertex[j].xyz[1]) - *ymax = triangles[i].vertex[j].xyz[1]; - } - } -} - -/* Writes shaded triangle - gray == 0 means write RGB triangles - gray == 8 8bit-grayscale (for alpha masks) - gray == 16 16bit-grayscale (for alpha masks) */ - -static int gl2psPrintPDFShader(int obj, GL2PStriangle *triangles, - int size, int gray) -{ - int i, offs = 0, vertexbytes, done = 0; - GLfloat xmin, xmax, ymin, ymax; - - switch(gray){ - case 0: - vertexbytes = 1+4+4+1+1+1; - break; - case 8: - vertexbytes = 1+4+4+1; - break; - case 16: - vertexbytes = 1+4+4+2; - break; - default: - gray = 8; - vertexbytes = 1+4+4+1; - break; - } - - gl2psPDFRectHull(&xmin, &xmax, &ymin, &ymax, triangles, size); - - offs += fprintf(gl2ps->stream, - "%d 0 obj\n" - "<< " - "/ShadingType 4 " - "/ColorSpace %s " - "/BitsPerCoordinate 32 " - "/BitsPerComponent %d " - "/BitsPerFlag 8 " - "/Decode [%f %f %f %f 0 1 %s] ", - obj, - (gray) ? "/DeviceGray" : "/DeviceRGB", - (gray) ? gray : 8, - xmin, xmax, ymin, ymax, - (gray) ? "" : "0 1 0 1"); - -#if defined(GL2PS_HAVE_ZLIB) - if(gl2ps->options & GL2PS_COMPRESS){ - gl2psAllocCompress(vertexbytes * size * 3); - - for(i = 0; i < size; ++i) - gl2psPrintPDFShaderStreamData(&triangles[i], - xmax-xmin, ymax-ymin, xmin, ymin, - gl2psWriteBigEndianCompress, gray); - - if(Z_OK == gl2psDeflate() && 23 + gl2ps->compress->destLen < gl2ps->compress->srcLen){ - offs += gl2psPrintPDFCompressorType(); - offs += fprintf(gl2ps->stream, - "/Length %d " - ">>\n" - "stream\n", - (int)gl2ps->compress->destLen); - offs += gl2ps->compress->destLen * fwrite(gl2ps->compress->dest, - gl2ps->compress->destLen, - 1, gl2ps->stream); - done = 1; - } - gl2psFreeCompress(); - } -#endif - - if(!done){ - /* no compression, or too long after compression, or compress error - -> write non-compressed entry */ - offs += fprintf(gl2ps->stream, - "/Length %d " - ">>\n" - "stream\n", - vertexbytes * 3 * size); - for(i = 0; i < size; ++i) - offs += gl2psPrintPDFShaderStreamData(&triangles[i], - xmax-xmin, ymax-ymin, xmin, ymin, - gl2psWriteBigEndian, gray); - } - - offs += fprintf(gl2ps->stream, - "\nendstream\n" - "endobj\n"); - - return offs; -} - -/* Writes a XObject for a shaded triangle mask */ - -static int gl2psPrintPDFShaderMask(int obj, int childobj) -{ - int offs = 0, len; - - offs += fprintf(gl2ps->stream, - "%d 0 obj\n" - "<<\n" - "/Type /XObject\n" - "/Subtype /Form\n" - "/BBox [ %d %d %d %d ]\n" - "/Group \n<<\n/S /Transparency /CS /DeviceRGB\n" - ">>\n", - obj, - (int)gl2ps->viewport[0], (int)gl2ps->viewport[1], - (int)gl2ps->viewport[2], (int)gl2ps->viewport[3]); - - len = (childobj>0) - ? strlen("/TrSh sh\n") + (int)log10((double)childobj)+1 - : strlen("/TrSh0 sh\n"); - - offs += fprintf(gl2ps->stream, - "/Length %d\n" - ">>\n" - "stream\n", - len); - offs += fprintf(gl2ps->stream, - "/TrSh%d sh\n", - childobj); - offs += fprintf(gl2ps->stream, - "endstream\n" - "endobj\n"); - - return offs; -} - -/* Writes a Extended graphics state for a shaded triangle mask if - simplealpha ist true the childobj argument is ignored and a /ca - statement will be written instead */ - -static int gl2psPrintPDFShaderExtGS(int obj, int childobj) -{ - int offs = 0; - - offs += fprintf(gl2ps->stream, - "%d 0 obj\n" - "<<\n", - obj); - - offs += fprintf(gl2ps->stream, - "/SMask << /S /Alpha /G %d 0 R >> ", - childobj); - - offs += fprintf(gl2ps->stream, - ">>\n" - "endobj\n"); - return offs; -} - -/* a simple graphics state */ - -static int gl2psPrintPDFShaderSimpleExtGS(int obj, GLfloat alpha) -{ - int offs = 0; - - offs += fprintf(gl2ps->stream, - "%d 0 obj\n" - "<<\n" - "/ca %g" - ">>\n" - "endobj\n", - obj, alpha); - return offs; -} - -/* Similar groups of functions for pixmaps and text */ - -static int gl2psPrintPDFPixmapStreamData(GL2PSimage *im, - size_t (*action)(unsigned long data, - size_t size), - int gray) -{ - int x, y; - GLfloat r, g, b, a; - - if(im->format != GL_RGBA && gray) - return 0; - - if(gray && gray !=8 && gray != 16) - gray = 8; - - gray /= 8; - - for(y = 0; y < im->height; ++y){ - for(x = 0; x < im->width; ++x){ - a = gl2psGetRGB(im, x, y, &r, &g, &b); - if(im->format == GL_RGBA && gray){ - (*action)((unsigned long)(a*255) << 24, gray); - } - else{ - (*action)((unsigned long)(r*255) << 24, 1); - (*action)((unsigned long)(g*255) << 24, 1); - (*action)((unsigned long)(b*255) << 24, 1); - } - } - } - - switch(gray){ - case 0: return 3 * im->width * im->height; - case 1: return im->width * im->height; - case 2: return 2 * im->width * im->height; - default: return 3 * im->width * im->height; - } -} - -static int gl2psPrintPDFPixmap(int obj, int childobj, GL2PSimage *im, int gray) -{ - int offs = 0, done = 0, sigbytes = 3; - - if(gray && gray !=8 && gray != 16) - gray = 8; - - if(gray) - sigbytes = gray / 8; - - offs += fprintf(gl2ps->stream, - "%d 0 obj\n" - "<<\n" - "/Type /XObject\n" - "/Subtype /Image\n" - "/Width %d\n" - "/Height %d\n" - "/ColorSpace %s \n" - "/BitsPerComponent 8\n", - obj, - (int)im->width, (int)im->height, - (gray) ? "/DeviceGray" : "/DeviceRGB" ); - if(GL_RGBA == im->format && gray == 0){ - offs += fprintf(gl2ps->stream, - "/SMask %d 0 R\n", - childobj); - } - -#if defined(GL2PS_HAVE_ZLIB) - if(gl2ps->options & GL2PS_COMPRESS){ - gl2psAllocCompress((int)(im->width * im->height * sigbytes)); - - gl2psPrintPDFPixmapStreamData(im, gl2psWriteBigEndianCompress, gray); - - if(Z_OK == gl2psDeflate() && 23 + gl2ps->compress->destLen < gl2ps->compress->srcLen){ - offs += gl2psPrintPDFCompressorType(); - offs += fprintf(gl2ps->stream, - "/Length %d " - ">>\n" - "stream\n", - (int)gl2ps->compress->destLen); - offs += gl2ps->compress->destLen * fwrite(gl2ps->compress->dest, gl2ps->compress->destLen, - 1, gl2ps->stream); - done = 1; - } - gl2psFreeCompress(); - } -#endif - - if(!done){ - /* no compression, or too long after compression, or compress error - -> write non-compressed entry */ - offs += fprintf(gl2ps->stream, - "/Length %d " - ">>\n" - "stream\n", - (int)(im->width * im->height * sigbytes)); - offs += gl2psPrintPDFPixmapStreamData(im, gl2psWriteBigEndian, gray); - } - - offs += fprintf(gl2ps->stream, - "\nendstream\n" - "endobj\n"); - - return offs; -} - -static int gl2psPrintPDFText(int obj, GL2PSstring *s, int fontnumber) -{ - int offs = 0; - - offs += fprintf(gl2ps->stream, - "%d 0 obj\n" - "<<\n" - "/Type /Font\n" - "/Subtype /Type1\n" - "/Name /F%d\n" - "/BaseFont /%s\n" - "/Encoding /MacRomanEncoding\n" - ">>\n" - "endobj\n", - obj, fontnumber, s->fontname); - return offs; -} - -/* Write the physical objects */ - -static int gl2psPDFgroupListWriteObjects(int entryoffs) -{ - int i,j; - GL2PSprimitive *p = NULL; - GL2PSpdfgroup *gro; - int offs = entryoffs; - GL2PStriangle *triangles; - int size = 0; - - if(!gl2ps->pdfgrouplist) - return offs; - - for(i = 0; i < gl2psListNbr(gl2ps->pdfgrouplist); ++i){ - gro = (GL2PSpdfgroup*)gl2psListPointer(gl2ps->pdfgrouplist, i); - if(!gl2psListNbr(gro->ptrlist)) - continue; - p = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, 0); - switch(p->type){ - case GL2PS_POINT: - break; - case GL2PS_LINE: - break; - case GL2PS_TRIANGLE: - size = gl2psListNbr(gro->ptrlist); - triangles = (GL2PStriangle*)gl2psMalloc(sizeof(GL2PStriangle) * size); - for(j = 0; j < size; ++j){ - p = *(GL2PSprimitive**)gl2psListPointer(gro->ptrlist, j); - gl2psFillTriangleFromPrimitive(&triangles[j], p, GL_TRUE); - } - if(triangles[0].prop & T_VAR_COLOR){ - gl2ps->xreflist[gro->shobjno] = offs; - offs += gl2psPrintPDFShader(gro->shobjno, triangles, size, 0); - } - if(triangles[0].prop & T_ALPHA_LESS_1){ - gl2ps->xreflist[gro->gsobjno] = offs; - offs += gl2psPrintPDFShaderSimpleExtGS(gro->gsobjno, triangles[0].vertex[0].rgba[3]); - } - if(triangles[0].prop & T_VAR_ALPHA){ - gl2ps->xreflist[gro->gsobjno] = offs; - offs += gl2psPrintPDFShaderExtGS(gro->gsobjno, gro->trgroupobjno); - gl2ps->xreflist[gro->trgroupobjno] = offs; - offs += gl2psPrintPDFShaderMask(gro->trgroupobjno, gro->maskshno); - gl2ps->xreflist[gro->maskshobjno] = offs; - offs += gl2psPrintPDFShader(gro->maskshobjno, triangles, size, 8); - } - gl2psFree(triangles); - break; - case GL2PS_PIXMAP: - gl2ps->xreflist[gro->imobjno] = offs; - offs += gl2psPrintPDFPixmap(gro->imobjno, gro->imobjno+1, p->data.image, 0); - if(p->data.image->format == GL_RGBA){ - gl2ps->xreflist[gro->imobjno+1] = offs; - offs += gl2psPrintPDFPixmap(gro->imobjno+1, -1, p->data.image, 8); - } - break; - case GL2PS_TEXT: - gl2ps->xreflist[gro->fontobjno] = offs; - offs += gl2psPrintPDFText(gro->fontobjno,p->data.text,gro->fontno); - break; - case GL2PS_SPECIAL : - /* alignment contains the format for which the special output text - is intended */ - if(p->data.text->alignment == GL2PS_PDF) - offs += fprintf(gl2ps->stream, "%s\n", p->data.text->str); - break; - default: - break; - } - } - return offs; -} - -/* All variable data has been written at this point and all required - functioninality has been gathered, so we can write now file footer - with cross reference table and trailer */ - -static void gl2psPrintPDFFooter(void) -{ - int i, offs; - - gl2psPDFgroupListInit(); - gl2psPDFgroupListWriteMainStream(); - - offs = gl2ps->xreflist[5] + gl2ps->streamlength; - offs += gl2psClosePDFDataStream(); - gl2ps->xreflist[5] = offs; - - offs += gl2psPrintPDFDataStreamLength(gl2ps->streamlength); - gl2ps->xreflist[6] = offs; - gl2ps->streamlength = 0; - - offs += gl2psPrintPDFOpenPage(); - offs += gl2psPDFgroupListWriteVariableResources(); - gl2ps->xreflist = (int*)gl2psRealloc(gl2ps->xreflist, - sizeof(int) * (gl2ps->objects_stack + 1)); - gl2ps->xreflist[7] = offs; - - offs += gl2psPrintPDFGSObject(); - gl2ps->xreflist[8] = offs; - - gl2ps->xreflist[gl2ps->objects_stack] = - gl2psPDFgroupListWriteObjects(gl2ps->xreflist[8]); - - /* Start cross reference table. The file has to been opened in - binary mode to preserve the 20 digit string length! */ - fprintf(gl2ps->stream, - "xref\n" - "0 %d\n" - "%010d 65535 f \n", gl2ps->objects_stack, 0); - - for(i = 1; i < gl2ps->objects_stack; ++i) - fprintf(gl2ps->stream, "%010d 00000 n \n", gl2ps->xreflist[i]); - - fprintf(gl2ps->stream, - "trailer\n" - "<<\n" - "/Size %d\n" - "/Info 1 0 R\n" - "/Root 2 0 R\n" - ">>\n" - "startxref\n%d\n" - "%%%%EOF\n", - gl2ps->objects_stack, gl2ps->xreflist[gl2ps->objects_stack]); - - /* Free auxiliary lists and arrays */ - gl2psFree(gl2ps->xreflist); - gl2psListAction(gl2ps->pdfprimlist, gl2psFreePrimitive); - gl2psListDelete(gl2ps->pdfprimlist); - gl2psPDFgroupListDelete(); - -#if defined(GL2PS_HAVE_ZLIB) - if(gl2ps->options & GL2PS_COMPRESS){ - gl2psFreeCompress(); - gl2psFree(gl2ps->compress); - gl2ps->compress = NULL; - } -#endif -} - -/* PDF begin viewport */ - -static void gl2psPrintPDFBeginViewport(GLint viewport[4]) -{ - int offs = 0; - GLint index; - GLfloat rgba[4]; - int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; - - glRenderMode(GL_FEEDBACK); - - if(gl2ps->header){ - gl2psPrintPDFHeader(); - gl2ps->header = GL_FALSE; - } - - offs += gl2psPrintf("q\n"); - - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - if(gl2ps->colormode == GL_RGBA || gl2ps->colorsize == 0){ - glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); - } - else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; - rgba[3] = 1.0F; - } - offs += gl2psPrintPDFFillColor(rgba); - offs += gl2psPrintf("%d %d %d %d re\n" - "W\n" - "f\n", - x, y, w, h); - } - else{ - offs += gl2psPrintf("%d %d %d %d re\n" - "W\n" - "n\n", - x, y, w, h); - } - - gl2ps->streamlength += offs; -} - -static GLint gl2psPrintPDFEndViewport(void) -{ - GLint res; - - res = gl2psPrintPrimitives(); - gl2ps->streamlength += gl2psPrintf("Q\n"); - return res; -} - -static void gl2psPrintPDFFinalPrimitive(void) -{ -} - -/* definition of the PDF backend */ - -static GL2PSbackend gl2psPDF = { - gl2psPrintPDFHeader, - gl2psPrintPDFFooter, - gl2psPrintPDFBeginViewport, - gl2psPrintPDFEndViewport, - gl2psPrintPDFPrimitive, - gl2psPrintPDFFinalPrimitive, - "pdf", - "Portable Document Format" -}; - -/********************************************************************* - * - * SVG routines - * - *********************************************************************/ - -static void gl2psSVGGetCoordsAndColors(int n, GL2PSvertex *verts, - GL2PSxyz *xyz, GL2PSrgba *rgba) -{ - int i, j; - - for(i = 0; i < n; i++){ - xyz[i][0] = verts[i].xyz[0]; - xyz[i][1] = gl2ps->viewport[3] - verts[i].xyz[1]; - xyz[i][2] = 0.0F; - for(j = 0; j < 4; j++) - rgba[i][j] = verts[i].rgba[j]; - } -} - -static void gl2psSVGGetColorString(GL2PSrgba rgba, char str[32]) -{ - int r = (int)(255. * rgba[0]); - int g = (int)(255. * rgba[1]); - int b = (int)(255. * rgba[2]); - int rc = (r < 0) ? 0 : (r > 255) ? 255 : r; - int gc = (g < 0) ? 0 : (g > 255) ? 255 : g; - int bc = (b < 0) ? 0 : (b > 255) ? 255 : b; - sprintf(str, "#%2.2x%2.2x%2.2x", rc, gc, bc); -} - -static void gl2psPrintSVGHeader(void) -{ - int x, y, width, height; - char col[32]; - time_t now; - - time(&now); - - if (gl2ps->options & GL2PS_LANDSCAPE){ - x = (int)gl2ps->viewport[1]; - y = (int)gl2ps->viewport[0]; - width = (int)gl2ps->viewport[3]; - height = (int)gl2ps->viewport[2]; - } - else{ - x = (int)gl2ps->viewport[0]; - y = (int)gl2ps->viewport[1]; - width = (int)gl2ps->viewport[2]; - height = (int)gl2ps->viewport[3]; - } - - /* Compressed SVG files (.svgz) are simply gzipped SVG files */ - gl2psPrintGzipHeader(); - - gl2psPrintf("\n"); - gl2psPrintf("\n", - width, height, x, y, width, height); - gl2psPrintf("%s\n", gl2ps->title); - gl2psPrintf("\n"); - gl2psPrintf("Creator: GL2PS %d.%d.%d%s, %s\n" - "For: %s\n" - "CreationDate: %s", - GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, GL2PS_PATCH_VERSION, - GL2PS_EXTRA_VERSION, GL2PS_COPYRIGHT, gl2ps->producer, ctime(&now)); - gl2psPrintf("\n"); - gl2psPrintf("\n"); - gl2psPrintf("\n"); - - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - gl2psSVGGetColorString(gl2ps->bgcolor, col); - gl2psPrintf("\n", col, - (int)gl2ps->viewport[0], (int)gl2ps->viewport[1], - (int)gl2ps->viewport[2], (int)gl2ps->viewport[1], - (int)gl2ps->viewport[2], (int)gl2ps->viewport[3], - (int)gl2ps->viewport[0], (int)gl2ps->viewport[3]); - } - - /* group all the primitives and disable antialiasing */ - gl2psPrintf("\n"); -} - -static void gl2psPrintSVGSmoothTriangle(GL2PSxyz xyz[3], GL2PSrgba rgba[3]) -{ - int i; - GL2PSxyz xyz2[3]; - GL2PSrgba rgba2[3]; - char col[32]; - - /* Apparently there is no easy way to do Gouraud shading in SVG - without explicitly pre-defining gradients, so for now we just do - recursive subdivision */ - - if(gl2psSameColorThreshold(3, rgba, gl2ps->threshold)){ - gl2psSVGGetColorString(rgba[0], col); - gl2psPrintf("\n", xyz[0][0], xyz[0][1], - xyz[1][0], xyz[1][1], xyz[2][0], xyz[2][1]); - } - else{ - /* subdivide into 4 subtriangles */ - for(i = 0; i < 3; i++){ - xyz2[0][i] = xyz[0][i]; - xyz2[1][i] = 0.5 * (xyz[0][i] + xyz[1][i]); - xyz2[2][i] = 0.5 * (xyz[0][i] + xyz[2][i]); - } - for(i = 0; i < 4; i++){ - rgba2[0][i] = rgba[0][i]; - rgba2[1][i] = 0.5 * (rgba[0][i] + rgba[1][i]); - rgba2[2][i] = 0.5 * (rgba[0][i] + rgba[2][i]); - } - gl2psPrintSVGSmoothTriangle(xyz2, rgba2); - for(i = 0; i < 3; i++){ - xyz2[0][i] = 0.5 * (xyz[0][i] + xyz[1][i]); - xyz2[1][i] = xyz[1][i]; - xyz2[2][i] = 0.5 * (xyz[1][i] + xyz[2][i]); - } - for(i = 0; i < 4; i++){ - rgba2[0][i] = 0.5 * (rgba[0][i] + rgba[1][i]); - rgba2[1][i] = rgba[1][i]; - rgba2[2][i] = 0.5 * (rgba[1][i] + rgba[2][i]); - } - gl2psPrintSVGSmoothTriangle(xyz2, rgba2); - for(i = 0; i < 3; i++){ - xyz2[0][i] = 0.5 * (xyz[0][i] + xyz[2][i]); - xyz2[1][i] = xyz[2][i]; - xyz2[2][i] = 0.5 * (xyz[1][i] + xyz[2][i]); - } - for(i = 0; i < 4; i++){ - rgba2[0][i] = 0.5 * (rgba[0][i] + rgba[2][i]); - rgba2[1][i] = rgba[2][i]; - rgba2[2][i] = 0.5 * (rgba[1][i] + rgba[2][i]); - } - gl2psPrintSVGSmoothTriangle(xyz2, rgba2); - for(i = 0; i < 3; i++){ - xyz2[0][i] = 0.5 * (xyz[0][i] + xyz[1][i]); - xyz2[1][i] = 0.5 * (xyz[1][i] + xyz[2][i]); - xyz2[2][i] = 0.5 * (xyz[0][i] + xyz[2][i]); - } - for(i = 0; i < 4; i++){ - rgba2[0][i] = 0.5 * (rgba[0][i] + rgba[1][i]); - rgba2[1][i] = 0.5 * (rgba[1][i] + rgba[2][i]); - rgba2[2][i] = 0.5 * (rgba[0][i] + rgba[2][i]); - } - gl2psPrintSVGSmoothTriangle(xyz2, rgba2); - } -} - -static void gl2psPrintSVGDash(GLushort pattern, GLint factor) -{ - int i, n, array[10]; - - if(!pattern || !factor) return; /* solid line */ - - gl2psParseStipplePattern(pattern, factor, &n, array); - gl2psPrintf("stroke-dasharray=\""); - for(i = 0; i < n; i++){ - if(i) gl2psPrintf(","); - gl2psPrintf("%d", array[i]); - } - gl2psPrintf("\" "); -} - -static void gl2psEndSVGLine(void) -{ - int i; - if(gl2ps->lastvertex.rgba[0] >= 0.){ - gl2psPrintf("%g,%g\"/>\n", gl2ps->lastvertex.xyz[0], - gl2ps->viewport[3] - gl2ps->lastvertex.xyz[1]); - for(i = 0; i < 3; i++) - gl2ps->lastvertex.xyz[i] = -1.; - for(i = 0; i < 4; i++) - gl2ps->lastvertex.rgba[i] = -1.; - } -} - -static void gl2psPrintSVGPixmap(GLfloat /*x*/, GLfloat /*y*/, GL2PSimage * /*pixmap*/) -{ -#if defined(GL2PS_HAVE_LIBPNG) - GL2PSlist *png; - unsigned char c; - int i; - - /* The only image types supported by the SVG standard are JPEG, PNG - and SVG. Here we choose PNG, and since we want to embed the image - directly in the SVG stream (and not link to an external image - file), we need to encode the pixmap into PNG in memory, then - encode it into base64. */ - - png = gl2psListCreate(pixmap->width * pixmap->height * 3, 1000, - sizeof(unsigned char)); - gl2psConvertPixmapToPNG(pixmap, png); - gl2psListEncodeBase64(png); - gl2psPrintf("height, pixmap->width, pixmap->height); - gl2psPrintf("xlink:href=\"data:image/png;base64,"); - for(i = 0; i < gl2psListNbr(png); i++){ - gl2psListRead(png, i, &c); - gl2psPrintf("%c", c); - } - gl2psPrintf("\"/>\n"); - gl2psListDelete(png); -#else - gl2psMsg(GL2PS_WARNING, "GL2PS has to be compiled with PNG support in " - "order to embed images in SVG streams"); -#endif -} - -static void gl2psPrintSVGPrimitive(void *data) -{ - GL2PSprimitive *prim; - GL2PSxyz xyz[4]; - GL2PSrgba rgba[4]; - char col[32]; - int newline; - - prim = *(GL2PSprimitive**)data; - - if((gl2ps->options & GL2PS_OCCLUSION_CULL) && prim->culled) return; - - /* We try to draw connected lines as a single path to get nice line - joins and correct stippling. So if the primitive to print is not - a line we must first finish the current line (if any): */ - if(prim->type != GL2PS_LINE) gl2psEndSVGLine(); - - gl2psSVGGetCoordsAndColors(prim->numverts, prim->verts, xyz, rgba); - - switch(prim->type){ - case GL2PS_POINT : - gl2psSVGGetColorString(rgba[0], col); - gl2psPrintf("\n", - xyz[0][0], xyz[0][1], 0.5 * prim->width); - break; - case GL2PS_LINE : - if(!gl2psSamePosition(gl2ps->lastvertex.xyz, prim->verts[0].xyz) || - !gl2psSameColor(gl2ps->lastrgba, prim->verts[0].rgba) || - gl2ps->lastlinewidth != prim->width || - gl2ps->lastpattern != prim->pattern || - gl2ps->lastfactor != prim->factor){ - /* End the current line if the new segment does not start where - the last one ended, or if the color, the width or the - stippling have changed (we will need to use multi-point - gradients for smooth-shaded lines) */ - gl2psEndSVGLine(); - newline = 1; - } - else{ - newline = 0; - } - gl2ps->lastvertex = prim->verts[1]; - gl2psSetLastColor(prim->verts[0].rgba); - gl2ps->lastlinewidth = prim->width; - gl2ps->lastpattern = prim->pattern; - gl2ps->lastfactor = prim->factor; - if(newline){ - gl2psSVGGetColorString(rgba[0], col); - gl2psPrintf("width); - if(rgba[0][3] < 1.0F) gl2psPrintf("stroke-opacity=\"%g\" ", rgba[0][3]); - gl2psPrintSVGDash(prim->pattern, prim->factor); - gl2psPrintf("points=\"%g,%g ", xyz[0][0], xyz[0][1]); - } - else{ - gl2psPrintf("%g,%g ", xyz[0][0], xyz[0][1]); - } - break; - case GL2PS_TRIANGLE : - gl2psPrintSVGSmoothTriangle(xyz, rgba); - break; - case GL2PS_QUADRANGLE : - gl2psMsg(GL2PS_WARNING, "There should not be any quad left to print"); - break; - case GL2PS_PIXMAP : - gl2psPrintSVGPixmap(xyz[0][0], xyz[0][1], prim->data.image); - break; - case GL2PS_TEXT : - gl2psSVGGetColorString(prim->verts[0].rgba, col); - gl2psPrintf("data.text->fontsize); - if(!strcmp(prim->data.text->fontname, "Times-Roman")) - gl2psPrintf("font-family=\"Times\">"); - else if(!strcmp(prim->data.text->fontname, "Times-Bold")) - gl2psPrintf("font-family=\"Times\" font-weight=\"bold\">"); - else if(!strcmp(prim->data.text->fontname, "Times-Italic")) - gl2psPrintf("font-family=\"Times\" font-style=\"italic\">"); - else if(!strcmp(prim->data.text->fontname, "Times-BoldItalic")) - gl2psPrintf("font-family=\"Times\" font-style=\"italic\" font-weight=\"bold\">"); - else if(!strcmp(prim->data.text->fontname, "Helvetica-Bold")) - gl2psPrintf("font-family=\"Helvetica\" font-weight=\"bold\">"); - else if(!strcmp(prim->data.text->fontname, "Helvetica-Oblique")) - gl2psPrintf("font-family=\"Helvetica\" font-style=\"oblique\">"); - else if(!strcmp(prim->data.text->fontname, "Helvetica-BoldOblique")) - gl2psPrintf("font-family=\"Helvetica\" font-style=\"oblique\" font-weight=\"bold\">"); - else if(!strcmp(prim->data.text->fontname, "Courier-Bold")) - gl2psPrintf("font-family=\"Courier\" font-weight=\"bold\">"); - else if(!strcmp(prim->data.text->fontname, "Courier-Oblique")) - gl2psPrintf("font-family=\"Courier\" font-style=\"oblique\">"); - else if(!strcmp(prim->data.text->fontname, "Courier-BoldOblique")) - gl2psPrintf("font-family=\"Courier\" font-style=\"oblique\" font-weight=\"bold\">"); - else - gl2psPrintf("font-family=\"%s\">", prim->data.text->fontname); - gl2psPrintf("%s\n", prim->data.text->str); - break; - case GL2PS_SPECIAL : - /* alignment contains the format for which the special output text - is intended */ - if(prim->data.text->alignment == GL2PS_SVG) - gl2psPrintf("%s\n", prim->data.text->str); - break; - default : - break; - } -} - -static void gl2psPrintSVGFooter(void) -{ - gl2psPrintf("\n"); - gl2psPrintf("\n"); - - gl2psPrintGzipFooter(); -} - -static void gl2psPrintSVGBeginViewport(GLint viewport[4]) -{ - GLint index; - char col[32]; - GLfloat rgba[4]; - int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; - - glRenderMode(GL_FEEDBACK); - - if(gl2ps->header){ - gl2psPrintSVGHeader(); - gl2ps->header = GL_FALSE; - } - - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - if(gl2ps->colormode == GL_RGBA || gl2ps->colorsize == 0){ - glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); - } - else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; - rgba[3] = 1.0F; - } - gl2psSVGGetColorString(rgba, col); - gl2psPrintf("\n", col, - x, gl2ps->viewport[3] - y, - x + w, gl2ps->viewport[3] - y, - x + w, gl2ps->viewport[3] - (y + h), - x, gl2ps->viewport[3] - (y + h)); - } - - gl2psPrintf("\n", x, y, w, h); - gl2psPrintf(" \n", - x, gl2ps->viewport[3] - y, - x + w, gl2ps->viewport[3] - y, - x + w, gl2ps->viewport[3] - (y + h), - x, gl2ps->viewport[3] - (y + h)); - gl2psPrintf("\n"); - gl2psPrintf("\n", x, y, w, h); -} - -static GLint gl2psPrintSVGEndViewport(void) -{ - GLint res; - - res = gl2psPrintPrimitives(); - gl2psPrintf("\n"); - return res; -} - -static void gl2psPrintSVGFinalPrimitive(void) -{ - /* End any remaining line, if any */ - gl2psEndSVGLine(); -} - -/* definition of the SVG backend */ - -static GL2PSbackend gl2psSVG = { - gl2psPrintSVGHeader, - gl2psPrintSVGFooter, - gl2psPrintSVGBeginViewport, - gl2psPrintSVGEndViewport, - gl2psPrintSVGPrimitive, - gl2psPrintSVGFinalPrimitive, - "svg", - "Scalable Vector Graphics" -}; - -/********************************************************************* - * - * PGF routines - * - *********************************************************************/ - -static void gl2psPrintPGFColor(GL2PSrgba rgba) -{ - if(!gl2psSameColor(gl2ps->lastrgba, rgba)){ - gl2psSetLastColor(rgba); - fprintf(gl2ps->stream, "\\color[rgb]{%f,%f,%f}\n", rgba[0], rgba[1], rgba[2]); - } -} - -static void gl2psPrintPGFHeader(void) -{ - time_t now; - - time(&now); - - fprintf(gl2ps->stream, - "%% Title: %s\n" - "%% Creator: GL2PS %d.%d.%d%s, %s\n" - "%% For: %s\n" - "%% CreationDate: %s", - gl2ps->title, GL2PS_MAJOR_VERSION, GL2PS_MINOR_VERSION, - GL2PS_PATCH_VERSION, GL2PS_EXTRA_VERSION, GL2PS_COPYRIGHT, - gl2ps->producer, ctime(&now)); - - fprintf(gl2ps->stream, "\\begin{pgfpicture}\n"); - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - gl2psPrintPGFColor(gl2ps->bgcolor); - fprintf(gl2ps->stream, - "\\pgfpathrectanglecorners{" - "\\pgfpoint{%dpt}{%dpt}}{\\pgfpoint{%dpt}{%dpt}}\n" - "\\pgfusepath{fill}\n", - (int)gl2ps->viewport[0], (int)gl2ps->viewport[1], - (int)gl2ps->viewport[2], (int)gl2ps->viewport[3]); - } -} - -static void gl2psPrintPGFDash(GLushort pattern, GLint factor) -{ - int i, n, array[10]; - - if(pattern == gl2ps->lastpattern && factor == gl2ps->lastfactor) - return; - - gl2ps->lastpattern = pattern; - gl2ps->lastfactor = factor; - - if(!pattern || !factor){ - /* solid line */ - fprintf(gl2ps->stream, "\\pgfsetdash{}{0pt}\n"); - } - else{ - gl2psParseStipplePattern(pattern, factor, &n, array); - fprintf(gl2ps->stream, "\\pgfsetdash{"); - for(i = 0; i < n; i++) fprintf(gl2ps->stream, "{%dpt}", array[i]); - fprintf(gl2ps->stream, "}{0pt}\n"); - } -} - -static const char *gl2psPGFTextAlignment(int align) -{ - switch(align){ - case GL2PS_TEXT_C : return "center"; - case GL2PS_TEXT_CL : return "west"; - case GL2PS_TEXT_CR : return "east"; - case GL2PS_TEXT_B : return "south"; - case GL2PS_TEXT_BR : return "south east"; - case GL2PS_TEXT_T : return "north"; - case GL2PS_TEXT_TL : return "north west"; - case GL2PS_TEXT_TR : return "north east"; - case GL2PS_TEXT_BL : - default : return "south west"; - } -} - -static void gl2psPrintPGFPrimitive(void *data) -{ - GL2PSprimitive *prim; - - prim = *(GL2PSprimitive**)data; - - switch(prim->type){ - case GL2PS_POINT : - /* Points in openGL are rectangular */ - gl2psPrintPGFColor(prim->verts[0].rgba); - fprintf(gl2ps->stream, - "\\pgfpathrectangle{\\pgfpoint{%fpt}{%fpt}}" - "{\\pgfpoint{%fpt}{%fpt}}\n\\pgfusepath{fill}\n", - prim->verts[0].xyz[0]-0.5*prim->width, - prim->verts[0].xyz[1]-0.5*prim->width, - prim->width,prim->width); - break; - case GL2PS_LINE : - gl2psPrintPGFColor(prim->verts[0].rgba); - if(gl2ps->lastlinewidth != prim->width){ - gl2ps->lastlinewidth = prim->width; - fprintf(gl2ps->stream, "\\pgfsetlinewidth{%fpt}\n", gl2ps->lastlinewidth); - } - gl2psPrintPGFDash(prim->pattern, prim->factor); - fprintf(gl2ps->stream, - "\\pgfpathmoveto{\\pgfpoint{%fpt}{%fpt}}\n" - "\\pgflineto{\\pgfpoint{%fpt}{%fpt}}\n" - "\\pgfusepath{stroke}\n", - prim->verts[1].xyz[0], prim->verts[1].xyz[1], - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - break; - case GL2PS_TRIANGLE : - if(gl2ps->lastlinewidth != 0){ - gl2ps->lastlinewidth = 0; - fprintf(gl2ps->stream, "\\pgfsetlinewidth{0.01pt}\n"); - } - gl2psPrintPGFColor(prim->verts[0].rgba); - fprintf(gl2ps->stream, - "\\pgfpathmoveto{\\pgfpoint{%fpt}{%fpt}}\n" - "\\pgflineto{\\pgfpoint{%fpt}{%fpt}}\n" - "\\pgflineto{\\pgfpoint{%fpt}{%fpt}}\n" - "\\pgfpathclose\n" - "\\pgfusepath{fill,stroke}\n", - prim->verts[2].xyz[0], prim->verts[2].xyz[1], - prim->verts[1].xyz[0], prim->verts[1].xyz[1], - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - break; - case GL2PS_TEXT : - fprintf(gl2ps->stream, "{\n\\pgftransformshift{\\pgfpoint{%fpt}{%fpt}}\n", - prim->verts[0].xyz[0], prim->verts[0].xyz[1]); - - if(prim->data.text->angle) - fprintf(gl2ps->stream, "\\pgftransformrotate{%f}{", prim->data.text->angle); - - fprintf(gl2ps->stream, "\\pgfnode{rectangle}{%s}{\\fontsize{%d}{0}\\selectfont", - gl2psPGFTextAlignment(prim->data.text->alignment), - prim->data.text->fontsize); - - fprintf(gl2ps->stream, "\\textcolor[rgb]{%g,%g,%g}{{%s}}", - prim->verts[0].rgba[0], prim->verts[0].rgba[1], - prim->verts[0].rgba[2], prim->data.text->str); - - fprintf(gl2ps->stream, "}{}{\\pgfusepath{discard}}}\n"); - break; - case GL2PS_SPECIAL : - /* alignment contains the format for which the special output text - is intended */ - if (prim->data.text->alignment == GL2PS_PGF) - fprintf(gl2ps->stream, "%s\n", prim->data.text->str); - break; - default : - break; - } -} - -static void gl2psPrintPGFFooter(void) -{ - fprintf(gl2ps->stream, "\\end{pgfpicture}\n"); -} - -static void gl2psPrintPGFBeginViewport(GLint viewport[4]) -{ - GLint index; - GLfloat rgba[4]; - int x = viewport[0], y = viewport[1], w = viewport[2], h = viewport[3]; - - glRenderMode(GL_FEEDBACK); - - if(gl2ps->header){ - gl2psPrintPGFHeader(); - gl2ps->header = GL_FALSE; - } - - fprintf(gl2ps->stream, "\\begin{pgfscope}\n"); - if(gl2ps->options & GL2PS_DRAW_BACKGROUND){ - if(gl2ps->colormode == GL_RGBA || gl2ps->colorsize == 0){ - glGetFloatv(GL_COLOR_CLEAR_VALUE, rgba); - } - else{ - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - rgba[0] = gl2ps->colormap[index][0]; - rgba[1] = gl2ps->colormap[index][1]; - rgba[2] = gl2ps->colormap[index][2]; - rgba[3] = 1.0F; - } - gl2psPrintPGFColor(rgba); - fprintf(gl2ps->stream, - "\\pgfpathrectangle{\\pgfpoint{%dpt}{%dpt}}" - "{\\pgfpoint{%dpt}{%dpt}}\n" - "\\pgfusepath{fill}\n", - x, y, w, h); - } - - fprintf(gl2ps->stream, - "\\pgfpathrectangle{\\pgfpoint{%dpt}{%dpt}}" - "{\\pgfpoint{%dpt}{%dpt}}\n" - "\\pgfusepath{clip}\n", - x, y, w, h); -} - -static GLint gl2psPrintPGFEndViewport(void) -{ - GLint res; - res = gl2psPrintPrimitives(); - fprintf(gl2ps->stream, "\\end{pgfscope}\n"); - return res; -} - -static void gl2psPrintPGFFinalPrimitive(void) -{ -} - -/* definition of the PGF backend */ - -static GL2PSbackend gl2psPGF = { - gl2psPrintPGFHeader, - gl2psPrintPGFFooter, - gl2psPrintPGFBeginViewport, - gl2psPrintPGFEndViewport, - gl2psPrintPGFPrimitive, - gl2psPrintPGFFinalPrimitive, - "tex", - "PGF Latex Graphics" -}; - -/********************************************************************* - * - * General primitive printing routine - * - *********************************************************************/ - -/* Warning: the ordering of the backends must match the format - #defines in gl2ps.h */ - -static GL2PSbackend *gl2psbackends[] = { - &gl2psPS, /* 0 */ - &gl2psEPS, /* 1 */ - &gl2psTEX, /* 2 */ - &gl2psPDF, /* 3 */ - &gl2psSVG, /* 4 */ - &gl2psPGF /* 5 */ -}; - -static void gl2psComputeTightBoundingBox(void *data) -{ - GL2PSprimitive *prim; - int i; - - prim = *(GL2PSprimitive**)data; - - for(i = 0; i < prim->numverts; i++){ - if(prim->verts[i].xyz[0] < gl2ps->viewport[0]) - gl2ps->viewport[0] = (GLint)prim->verts[i].xyz[0]; - if(prim->verts[i].xyz[0] > gl2ps->viewport[2]) - gl2ps->viewport[2] = (GLint)(prim->verts[i].xyz[0] + 0.5F); - if(prim->verts[i].xyz[1] < gl2ps->viewport[1]) - gl2ps->viewport[1] = (GLint)prim->verts[i].xyz[1]; - if(prim->verts[i].xyz[1] > gl2ps->viewport[3]) - gl2ps->viewport[3] = (GLint)(prim->verts[i].xyz[1] + 0.5F); - } -} - -static GLint gl2psPrintPrimitives(void) -{ - GL2PSbsptree *root; - GL2PSxyz eye = {0.0F, 0.0F, 100.0F * GL2PS_ZSCALE}; - GLint used; - - used = glRenderMode(GL_RENDER); - - if(used < 0){ - gl2psMsg(GL2PS_INFO, "OpenGL feedback buffer overflow"); - return GL2PS_OVERFLOW; - } - - if(used > 0) - gl2psParseFeedbackBuffer(used); - - gl2psRescaleAndOffset(); - - if(gl2ps->header){ - if(gl2psListNbr(gl2ps->primitives) && - (gl2ps->options & GL2PS_TIGHT_BOUNDING_BOX)){ - gl2ps->viewport[0] = gl2ps->viewport[1] = 100000; - gl2ps->viewport[2] = gl2ps->viewport[3] = -100000; - gl2psListAction(gl2ps->primitives, gl2psComputeTightBoundingBox); - } - (gl2psbackends[gl2ps->format]->printHeader)(); - gl2ps->header = GL_FALSE; - } - - if(!gl2psListNbr(gl2ps->primitives)){ - /* empty feedback buffer and/or nothing else to print */ - return GL2PS_NO_FEEDBACK; - } - - switch(gl2ps->sort){ - case GL2PS_NO_SORT : - gl2psListAction(gl2ps->primitives, gl2psbackends[gl2ps->format]->printPrimitive); - gl2psListAction(gl2ps->primitives, gl2psFreePrimitive); - /* reset the primitive list, waiting for the next viewport */ - gl2psListReset(gl2ps->primitives); - break; - case GL2PS_SIMPLE_SORT : - gl2psListSort(gl2ps->primitives, gl2psCompareDepth); - if(gl2ps->options & GL2PS_OCCLUSION_CULL){ - gl2psListActionInverse(gl2ps->primitives, gl2psAddInImageTree); - gl2psFreeBspImageTree(&gl2ps->imagetree); - } - gl2psListAction(gl2ps->primitives, gl2psbackends[gl2ps->format]->printPrimitive); - gl2psListAction(gl2ps->primitives, gl2psFreePrimitive); - /* reset the primitive list, waiting for the next viewport */ - gl2psListReset(gl2ps->primitives); - break; - case GL2PS_BSP_SORT : - root = (GL2PSbsptree*)gl2psMalloc(sizeof(GL2PSbsptree)); - gl2psBuildBspTree(root, gl2ps->primitives); - if(GL_TRUE == gl2ps->boundary) gl2psBuildPolygonBoundary(root); - if(gl2ps->options & GL2PS_OCCLUSION_CULL){ - gl2psTraverseBspTree(root, eye, -GL2PS_EPSILON, gl2psLess, - gl2psAddInImageTree, 1); - gl2psFreeBspImageTree(&gl2ps->imagetree); - } - gl2psTraverseBspTree(root, eye, GL2PS_EPSILON, gl2psGreater, - gl2psbackends[gl2ps->format]->printPrimitive, 0); - gl2psFreeBspTree(&root); - /* reallocate the primitive list (it's been deleted by - gl2psBuildBspTree) in case there is another viewport */ - gl2ps->primitives = gl2psListCreate(500, 500, sizeof(GL2PSprimitive*)); - break; - } - gl2psbackends[gl2ps->format]->printFinalPrimitive(); - - return GL2PS_SUCCESS; -} - -/********************************************************************* - * - * Public routines - * - *********************************************************************/ - -GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer, - GLint viewport[4], GLint format, GLint sort, - GLint options, GLint colormode, - GLint colorsize, GL2PSrgba *colormap, - GLint nr, GLint ng, GLint nb, GLint buffersize, - FILE *stream, const char *filename) -{ - GLint index; - int i; - - if(gl2ps){ - gl2psMsg(GL2PS_ERROR, "gl2psBeginPage called in wrong program state"); - return GL2PS_ERROR; - } - - gl2ps = (GL2PScontext*)gl2psMalloc(sizeof(GL2PScontext)); - - if(format >= 0 && format < (GLint)(sizeof(gl2psbackends) / sizeof(gl2psbackends[0]))){ - gl2ps->format = format; - } - else { - gl2psMsg(GL2PS_ERROR, "Unknown output format: %d", format); - gl2psFree(gl2ps); - gl2ps = NULL; - return GL2PS_ERROR; - } - - switch(sort){ - case GL2PS_NO_SORT : - case GL2PS_SIMPLE_SORT : - case GL2PS_BSP_SORT : - gl2ps->sort = sort; - break; - default : - gl2psMsg(GL2PS_ERROR, "Unknown sorting algorithm: %d", sort); - gl2psFree(gl2ps); - gl2ps = NULL; - return GL2PS_ERROR; - } - - if(stream){ - gl2ps->stream = stream; - } - else{ - gl2psMsg(GL2PS_ERROR, "Bad file pointer"); - gl2psFree(gl2ps); - gl2ps = NULL; - return GL2PS_ERROR; - } - - gl2ps->header = GL_TRUE; - gl2ps->maxbestroot = 10; - gl2ps->options = options; - gl2ps->compress = NULL; - gl2ps->imagemap_head = NULL; - gl2ps->imagemap_tail = NULL; - - if(gl2ps->options & GL2PS_USE_CURRENT_VIEWPORT){ - glGetIntegerv(GL_VIEWPORT, gl2ps->viewport); - } - else{ - for(i = 0; i < 4; i++){ - gl2ps->viewport[i] = viewport[i]; - } - } - - if(!gl2ps->viewport[2] || !gl2ps->viewport[3]){ - gl2psMsg(GL2PS_ERROR, "Incorrect viewport (x=%d, y=%d, width=%d, height=%d)", - gl2ps->viewport[0], gl2ps->viewport[1], - gl2ps->viewport[2], gl2ps->viewport[3]); - gl2psFree(gl2ps); - gl2ps = NULL; - return GL2PS_ERROR; - } - - gl2ps->threshold[0] = nr ? 1.0F / (GLfloat)nr : 0.064F; - gl2ps->threshold[1] = ng ? 1.0F / (GLfloat)ng : 0.034F; - gl2ps->threshold[2] = nb ? 1.0F / (GLfloat)nb : 0.100F; - gl2ps->colormode = colormode; - gl2ps->buffersize = buffersize > 0 ? buffersize : 2048 * 2048; - for(i = 0; i < 3; i++){ - gl2ps->lastvertex.xyz[i] = -1.0F; - } - for(i = 0; i < 4; i++){ - gl2ps->lastvertex.rgba[i] = -1.0F; - gl2ps->lastrgba[i] = -1.0F; - } - gl2ps->lastlinewidth = -1.0F; - gl2ps->lastpattern = 0; - gl2ps->lastfactor = 0; - gl2ps->imagetree = NULL; - gl2ps->primitivetoadd = NULL; - gl2ps->zerosurfacearea = GL_FALSE; - gl2ps->pdfprimlist = NULL; - gl2ps->pdfgrouplist = NULL; - gl2ps->xreflist = NULL; - - /* get default blending mode from current OpenGL state (enabled by - default for SVG) */ - gl2ps->blending = (gl2ps->format == GL2PS_SVG) ? GL_TRUE : glIsEnabled(GL_BLEND); - glGetIntegerv(GL_BLEND_SRC, &gl2ps->blendfunc[0]); - glGetIntegerv(GL_BLEND_DST, &gl2ps->blendfunc[1]); - - if(gl2ps->colormode == GL_RGBA){ - gl2ps->colorsize = 0; - gl2ps->colormap = NULL; - glGetFloatv(GL_COLOR_CLEAR_VALUE, gl2ps->bgcolor); - } - else if(gl2ps->colormode == GL_COLOR_INDEX){ - if(!colorsize || !colormap){ - gl2psMsg(GL2PS_ERROR, "Missing colormap for GL_COLOR_INDEX rendering"); - gl2psFree(gl2ps); - gl2ps = NULL; - return GL2PS_ERROR; - } - gl2ps->colorsize = colorsize; - gl2ps->colormap = (GL2PSrgba*)gl2psMalloc(gl2ps->colorsize * sizeof(GL2PSrgba)); - memcpy(gl2ps->colormap, colormap, gl2ps->colorsize * sizeof(GL2PSrgba)); - glGetIntegerv(GL_INDEX_CLEAR_VALUE, &index); - gl2ps->bgcolor[0] = gl2ps->colormap[index][0]; - gl2ps->bgcolor[1] = gl2ps->colormap[index][1]; - gl2ps->bgcolor[2] = gl2ps->colormap[index][2]; - gl2ps->bgcolor[3] = 1.0F; - } - else{ - gl2psMsg(GL2PS_ERROR, "Unknown color mode in gl2psBeginPage"); - gl2psFree(gl2ps); - gl2ps = NULL; - return GL2PS_ERROR; - } - - if(!title){ - gl2ps->title = (char*)gl2psMalloc(sizeof(char)); - gl2ps->title[0] = '\0'; - } - else{ - gl2ps->title = (char*)gl2psMalloc((strlen(title)+1)*sizeof(char)); - strcpy(gl2ps->title, title); - } - - if(!producer){ - gl2ps->producer = (char*)gl2psMalloc(sizeof(char)); - gl2ps->producer[0] = '\0'; - } - else{ - gl2ps->producer = (char*)gl2psMalloc((strlen(producer)+1)*sizeof(char)); - strcpy(gl2ps->producer, producer); - } - - if(!filename){ - gl2ps->filename = (char*)gl2psMalloc(sizeof(char)); - gl2ps->filename[0] = '\0'; - } - else{ - gl2ps->filename = (char*)gl2psMalloc((strlen(filename)+1)*sizeof(char)); - strcpy(gl2ps->filename, filename); - } - - gl2ps->primitives = gl2psListCreate(500, 500, sizeof(GL2PSprimitive*)); - gl2ps->auxprimitives = gl2psListCreate(100, 100, sizeof(GL2PSprimitive*)); - gl2ps->feedback = (GLfloat*)gl2psMalloc(gl2ps->buffersize * sizeof(GLfloat)); - glFeedbackBuffer(gl2ps->buffersize, GL_3D_COLOR, gl2ps->feedback); - glRenderMode(GL_FEEDBACK); - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psEndPage(void) -{ - GLint res; - - if(!gl2ps) return GL2PS_UNINITIALIZED; - - res = gl2psPrintPrimitives(); - - if(res != GL2PS_OVERFLOW) - (gl2psbackends[gl2ps->format]->printFooter)(); - - fflush(gl2ps->stream); - - gl2psListDelete(gl2ps->primitives); - gl2psListDelete(gl2ps->auxprimitives); - gl2psFreeImagemap(gl2ps->imagemap_head); - gl2psFree(gl2ps->colormap); - gl2psFree(gl2ps->title); - gl2psFree(gl2ps->producer); - gl2psFree(gl2ps->filename); - gl2psFree(gl2ps->feedback); - gl2psFree(gl2ps); - gl2ps = NULL; - - return res; -} - -GL2PSDLL_API GLint gl2psBeginViewport(GLint viewport[4]) -{ - if(!gl2ps) return GL2PS_UNINITIALIZED; - - (gl2psbackends[gl2ps->format]->beginViewport)(viewport); - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psEndViewport(void) -{ - GLint res; - - if(!gl2ps) return GL2PS_UNINITIALIZED; - - res = (gl2psbackends[gl2ps->format]->endViewport)(); - - /* reset last used colors, line widths */ - gl2ps->lastlinewidth = -1.0F; - - return res; -} - -GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname, - GLshort fontsize, GLint alignment, GLfloat angle) -{ - return gl2psAddText(GL2PS_TEXT, str, fontname, fontsize, alignment, angle); -} - -GL2PSDLL_API GLint gl2psText(const char *str, const char *fontname, GLshort fontsize) -{ - return gl2psAddText(GL2PS_TEXT, str, fontname, fontsize, GL2PS_TEXT_BL, 0.0F); -} - -GL2PSDLL_API GLint gl2psSpecial(GLint format, const char *str) -{ - return gl2psAddText(GL2PS_SPECIAL, str, "", 0, format, 0.0F); -} - -GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height, - GLint xorig, GLint yorig, - GLenum format, GLenum type, - const void *pixels) -{ - int size, i; - GLfloat pos[4], *piv; - GL2PSprimitive *prim; - GLboolean valid; - - if(!gl2ps || !pixels) return GL2PS_UNINITIALIZED; - - if((width <= 0) || (height <= 0)) return GL2PS_ERROR; - - if(gl2ps->options & GL2PS_NO_PIXMAP) return GL2PS_SUCCESS; - - if((format != GL_RGB && format != GL_RGBA) || type != GL_FLOAT){ - gl2psMsg(GL2PS_ERROR, "gl2psDrawPixels only implemented for " - "GL_RGB/GL_RGBA, GL_FLOAT pixels"); - return GL2PS_ERROR; - } - - glGetBooleanv(GL_CURRENT_RASTER_POSITION_VALID, &valid); - if(GL_FALSE == valid) return GL2PS_SUCCESS; /* the primitive is culled */ - - glGetFloatv(GL_CURRENT_RASTER_POSITION, pos); - - prim = (GL2PSprimitive*)gl2psMalloc(sizeof(GL2PSprimitive)); - prim->type = GL2PS_PIXMAP; - prim->boundary = 0; - prim->numverts = 1; - prim->verts = (GL2PSvertex*)gl2psMalloc(sizeof(GL2PSvertex)); - prim->verts[0].xyz[0] = pos[0] + xorig; - prim->verts[0].xyz[1] = pos[1] + yorig; - prim->verts[0].xyz[2] = pos[2]; - prim->culled = 0; - prim->offset = 0; - prim->pattern = 0; - prim->factor = 0; - prim->width = 1; - glGetFloatv(GL_CURRENT_RASTER_COLOR, prim->verts[0].rgba); - prim->data.image = (GL2PSimage*)gl2psMalloc(sizeof(GL2PSimage)); - prim->data.image->width = width; - prim->data.image->height = height; - prim->data.image->format = format; - prim->data.image->type = type; - - switch(format){ - case GL_RGBA: - if(gl2ps->options & GL2PS_NO_BLENDING || !gl2ps->blending){ - /* special case: blending turned off */ - prim->data.image->format = GL_RGB; - size = height * width * 3; - prim->data.image->pixels = (GLfloat*)gl2psMalloc(size * sizeof(GLfloat)); - piv = (GLfloat*)pixels; - for(i = 0; i < size; ++i, ++piv){ - prim->data.image->pixels[i] = *piv; - if(!((i+1)%3)) - ++piv; - } - } - else{ - size = height * width * 4; - prim->data.image->pixels = (GLfloat*)gl2psMalloc(size * sizeof(GLfloat)); - memcpy(prim->data.image->pixels, pixels, size * sizeof(GLfloat)); - } - break; - case GL_RGB: - default: - size = height * width * 3; - prim->data.image->pixels = (GLfloat*)gl2psMalloc(size * sizeof(GLfloat)); - memcpy(prim->data.image->pixels, pixels, size * sizeof(GLfloat)); - break; - } - - gl2psListAdd(gl2ps->auxprimitives, &prim); - glPassThrough(GL2PS_DRAW_PIXELS_TOKEN); - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psDrawImageMap(GLsizei width, GLsizei height, - const GLfloat position[3], - const unsigned char *imagemap){ - int size, i; - int sizeoffloat = sizeof(GLfloat); - - if(!gl2ps || !imagemap) return GL2PS_UNINITIALIZED; - - if((width <= 0) || (height <= 0)) return GL2PS_ERROR; - - size = height + height * ((width - 1) / 8); - glPassThrough(GL2PS_IMAGEMAP_TOKEN); - glBegin(GL_POINTS); - glVertex3f(position[0], position[1],position[2]); - glEnd(); - glPassThrough((GLfloat)width); - glPassThrough((GLfloat)height); - for(i = 0; i < size; i += sizeoffloat){ - float *value = (float*)imagemap; - glPassThrough(*value); - imagemap += sizeoffloat; - } - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psEnable(GLint mode) -{ - GLint tmp; - - if(!gl2ps) return GL2PS_UNINITIALIZED; - - switch(mode){ - case GL2PS_POLYGON_OFFSET_FILL : - glPassThrough(GL2PS_BEGIN_OFFSET_TOKEN); - glGetFloatv(GL_POLYGON_OFFSET_FACTOR, &gl2ps->offset[0]); - glGetFloatv(GL_POLYGON_OFFSET_UNITS, &gl2ps->offset[1]); - break; - case GL2PS_POLYGON_BOUNDARY : - glPassThrough(GL2PS_BEGIN_BOUNDARY_TOKEN); - break; - case GL2PS_LINE_STIPPLE : - glPassThrough(GL2PS_BEGIN_STIPPLE_TOKEN); - glGetIntegerv(GL_LINE_STIPPLE_PATTERN, &tmp); - glPassThrough((GLfloat)tmp); - glGetIntegerv(GL_LINE_STIPPLE_REPEAT, &tmp); - glPassThrough((GLfloat)tmp); - break; - case GL2PS_BLEND : - glPassThrough(GL2PS_BEGIN_BLEND_TOKEN); - break; - default : - gl2psMsg(GL2PS_WARNING, "Unknown mode in gl2psEnable: %d", mode); - return GL2PS_WARNING; - } - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psDisable(GLint mode) -{ - if(!gl2ps) return GL2PS_UNINITIALIZED; - - switch(mode){ - case GL2PS_POLYGON_OFFSET_FILL : - glPassThrough(GL2PS_END_OFFSET_TOKEN); - break; - case GL2PS_POLYGON_BOUNDARY : - glPassThrough(GL2PS_END_BOUNDARY_TOKEN); - break; - case GL2PS_LINE_STIPPLE : - glPassThrough(GL2PS_END_STIPPLE_TOKEN); - break; - case GL2PS_BLEND : - glPassThrough(GL2PS_END_BLEND_TOKEN); - break; - default : - gl2psMsg(GL2PS_WARNING, "Unknown mode in gl2psDisable: %d", mode); - return GL2PS_WARNING; - } - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psPointSize(GLfloat value) -{ - if(!gl2ps) return GL2PS_UNINITIALIZED; - - glPassThrough(GL2PS_POINT_SIZE_TOKEN); - glPassThrough(value); - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psLineWidth(GLfloat value) -{ - if(!gl2ps) return GL2PS_UNINITIALIZED; - - glPassThrough(GL2PS_LINE_WIDTH_TOKEN); - glPassThrough(value); - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psBlendFunc(GLenum sfactor, GLenum dfactor) -{ - if(!gl2ps) return GL2PS_UNINITIALIZED; - - if(GL_FALSE == gl2psSupportedBlendMode(sfactor, dfactor)) - return GL2PS_WARNING; - - glPassThrough(GL2PS_SRC_BLEND_TOKEN); - glPassThrough((GLfloat)sfactor); - glPassThrough(GL2PS_DST_BLEND_TOKEN); - glPassThrough((GLfloat)dfactor); - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psSetOptions(GLint options) -{ - if(!gl2ps) return GL2PS_UNINITIALIZED; - - gl2ps->options = options; - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API GLint gl2psGetOptions(GLint *options) -{ - if(!gl2ps) { - *options = 0; - return GL2PS_UNINITIALIZED; - } - - *options = gl2ps->options; - - return GL2PS_SUCCESS; -} - -GL2PSDLL_API const char *gl2psGetFileExtension(GLint format) -{ - if(format >= 0 && format < (GLint)(sizeof(gl2psbackends) / sizeof(gl2psbackends[0]))) - return gl2psbackends[format]->file_extension; - else - return "Unknown format"; -} - -GL2PSDLL_API const char *gl2psGetFormatDescription(GLint format) -{ - if(format >= 0 && format < (GLint)(sizeof(gl2psbackends) / sizeof(gl2psbackends[0]))) - return gl2psbackends[format]->description; - else - return "Unknown format"; -} --- a/graf3d/gl/inc/gl2ps.h +++ /dev/null @@ -1,175 +0,0 @@ -// @(#)root/gl:$Id$ -/* - * GL2PS, an OpenGL to PostScript Printing Library - * Copyright (C) 1999-2009 C. Geuzaine - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of either: - * - * a) the GNU Library General Public License as published by the Free - * Software Foundation, either version 2 of the License, or (at your - * option) any later version; or - * - * b) the GL2PS License as published by Christophe Geuzaine, either - * version 2 of the License, or (at your option) any later version. - * - * This program 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 either - * the GNU Library General Public License or the GL2PS License for - * more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library in the file named "COPYING.LGPL"; - * if not, write to the Free Software Foundation, Inc., 675 Mass Ave, - * Cambridge, MA 02139, USA. - * - * You should have received a copy of the GL2PS License with this - * library in the file named "COPYING.GL2PS"; if not, I will be glad - * to provide one. - * - * For the latest info about gl2ps, see http://www.geuz.org/gl2ps/. - * Please report all bugs and problems to . - */ - -#ifndef __GL2PS_H__ -#define __GL2PS_H__ - -#include -#include - -#include - -#define GL2PSDLL_API - -/* Support for compressed PostScript/PDF/SVG and for embedded PNG - images in SVG */ - -#if defined(HAVE_ZLIB) || defined(HAVE_LIBZ) -# define GL2PS_HAVE_ZLIB -# if defined(HAVE_LIBPNG) || defined(HAVE_PNG) -# define GL2PS_HAVE_LIBPNG -# endif -#endif - -/* Version number */ - -#define GL2PS_MAJOR_VERSION 1 -#define GL2PS_MINOR_VERSION 3 -#define GL2PS_PATCH_VERSION 3 -#define GL2PS_EXTRA_VERSION "" - -#define GL2PS_VERSION (GL2PS_MAJOR_VERSION + \ - 0.01 * GL2PS_MINOR_VERSION + \ - 0.0001 * GL2PS_PATCH_VERSION) - -#define GL2PS_COPYRIGHT "(C) 1999-2009 C. Geuzaine" - -/* Output file formats (the values and the ordering are important!) */ - -#define GL2PS_PS 0 -#define GL2PS_EPS 1 -#define GL2PS_TEX 2 -#define GL2PS_PDF 3 -#define GL2PS_SVG 4 -#define GL2PS_PGF 5 - -/* Sorting algorithms */ - -#define GL2PS_NO_SORT 1 -#define GL2PS_SIMPLE_SORT 2 -#define GL2PS_BSP_SORT 3 - -/* Message levels and error codes */ - -#define GL2PS_SUCCESS 0 -#define GL2PS_INFO 1 -#define GL2PS_WARNING 2 -#define GL2PS_ERROR 3 -#define GL2PS_NO_FEEDBACK 4 -#define GL2PS_OVERFLOW 5 -#define GL2PS_UNINITIALIZED 6 - -/* Options for gl2psBeginPage */ - -#define GL2PS_NONE 0 -#define GL2PS_DRAW_BACKGROUND (1<<0) -#define GL2PS_SIMPLE_LINE_OFFSET (1<<1) -#define GL2PS_SILENT (1<<2) -#define GL2PS_BEST_ROOT (1<<3) -#define GL2PS_OCCLUSION_CULL (1<<4) -#define GL2PS_NO_TEXT (1<<5) -#define GL2PS_LANDSCAPE (1<<6) -#define GL2PS_NO_PS3_SHADING (1<<7) -#define GL2PS_NO_PIXMAP (1<<8) -#define GL2PS_USE_CURRENT_VIEWPORT (1<<9) -#define GL2PS_COMPRESS (1<<10) -#define GL2PS_NO_BLENDING (1<<11) -#define GL2PS_TIGHT_BOUNDING_BOX (1<<12) - -/* Arguments for gl2psEnable/gl2psDisable */ - -#define GL2PS_POLYGON_OFFSET_FILL 1 -#define GL2PS_POLYGON_BOUNDARY 2 -#define GL2PS_LINE_STIPPLE 3 -#define GL2PS_BLEND 4 - -/* Text alignment (o=raster position; default mode is BL): - +---+ +---+ +---+ +---+ +---+ +---+ +-o-+ o---+ +---o - | o | o | | o | | | | | | | | | | | | - +---+ +---+ +---+ +-o-+ o---+ +---o +---+ +---+ +---+ - C CL CR B BL BR T TL TR */ - -#define GL2PS_TEXT_C 1 -#define GL2PS_TEXT_CL 2 -#define GL2PS_TEXT_CR 3 -#define GL2PS_TEXT_B 4 -#define GL2PS_TEXT_BL 5 -#define GL2PS_TEXT_BR 6 -#define GL2PS_TEXT_T 7 -#define GL2PS_TEXT_TL 8 -#define GL2PS_TEXT_TR 9 - -typedef GLfloat GL2PSrgba[4]; - -#if defined(__cplusplus) -extern "C" { -#endif - -GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer, - GLint viewport[4], GLint format, GLint sort, - GLint options, GLint colormode, - GLint colorsize, GL2PSrgba *colormap, - GLint nr, GLint ng, GLint nb, GLint buffersize, - FILE *stream, const char *filename); -GL2PSDLL_API GLint gl2psEndPage(void); -GL2PSDLL_API GLint gl2psSetOptions(GLint options); -GL2PSDLL_API GLint gl2psGetOptions(GLint *options); -GL2PSDLL_API GLint gl2psBeginViewport(GLint viewport[4]); -GL2PSDLL_API GLint gl2psEndViewport(void); -GL2PSDLL_API GLint gl2psText(const char *str, const char *fontname, - GLshort fontsize); -GL2PSDLL_API GLint gl2psTextOpt(const char *str, const char *fontname, - GLshort fontsize, GLint align, GLfloat angle); -GL2PSDLL_API GLint gl2psSpecial(GLint format, const char *str); -GL2PSDLL_API GLint gl2psDrawPixels(GLsizei width, GLsizei height, - GLint xorig, GLint yorig, - GLenum format, GLenum type, const void *pixels); -GL2PSDLL_API GLint gl2psEnable(GLint mode); -GL2PSDLL_API GLint gl2psDisable(GLint mode); -GL2PSDLL_API GLint gl2psPointSize(GLfloat value); -GL2PSDLL_API GLint gl2psLineWidth(GLfloat value); -GL2PSDLL_API GLint gl2psBlendFunc(GLenum sfactor, GLenum dfactor); - -/* undocumented */ -GL2PSDLL_API GLint gl2psDrawImageMap(GLsizei width, GLsizei height, - const GLfloat position[3], - const unsigned char *imagemap); -GL2PSDLL_API const char *gl2psGetFileExtension(GLint format); -GL2PSDLL_API const char *gl2psGetFormatDescription(GLint format); - -#if defined(__cplusplus) -} -#endif - -#endif /* __GL2PS_H__ */ debian/patches/64-support-mipsel.patch0000644000000000000000000000076612253755630015111 0ustar --- a/configure +++ b/configure @@ -1312,7 +1312,7 @@ linux:alpha:*) arch=linuxalphagcc ;; linux:arm*:*) arch=linuxarm ;; linux:hppa*:*) arch=linux ;; - linux:mips:*) arch=linuxmips ;; + linux:mips*:*) arch=linuxmips ;; linux:sparc*:*) arch=linux ;; linux:parisc*:*) arch=linuxhppa ;; linux:ppc64*:*) arch=linuxppc64gcc ;; debian/patches/05-rename-package-libroot-proof-proofplayer.patch0000644000000000000000000000100112253755630022053 0ustar --- a/configure +++ b/configure @@ -6493,6 +6493,7 @@ libroot-net \ libroot-net-auth \ libroot-proof \ + libroot-proof-proofplayer \ libroot-tmva \ libroot-tree \ libroot-tree-treeplayer \ @@ -6509,7 +6510,6 @@ root-plugin-io-sql \ root-plugin-io-xml \ root-plugin-math-fumili \ - root-plugin-proof-proofplayer \ root-plugin-proof-xproof \ root-plugin-tree-treeviewer \ root-system-proofd \ debian/patches/34-fix-typo-registerd-registered.patch0000644000000000000000000000121212253755630017766 0ustar --- a/roofit/roofit/inc/RooCFunction3Binding.h +++ b/roofit/roofit/inc/RooCFunction3Binding.h @@ -162,7 +162,7 @@ void RooCFunction3Ref::Streamer(TBuffer &R__b) { // Custom streamer for function pointer reference object. When writing, - // the function pointer is substituted by its registerd name. When function + // the function pointer is substituted by its registered name. When function // is unregistered name 'UNKNOWN' is written and a warning is issues. When // reading back, the embedded name is converted back to a function pointer // using the mapping service. When name UNKNOWN is encountered a warning is debian/patches/02-build-libroot-misc-memstat-package.patch0000644000000000000000000000104212253755630020623 0ustar --- a/configure +++ b/configure @@ -6431,6 +6431,7 @@ test "x$enable_xml" = "xyes" && pl="$pl libroot-io-xmlparser" test "x$enable_mathmore" = "xyes" && pl="$pl libroot-math-mathmore" test "x$enable_unuran" = "xyes" && pl="$pl libroot-math-unuran" + test "x$enable_memstat" = "xyes" && pl="$pl libroot-misc-memstat" test "x$enable_table" = "xyes" && pl="$pl libroot-misc-table" test "x$enable_ldap" = "xyes" && pl="$pl libroot-net-ldap" test "x$enable_roofit" = "xyes" && pl="$pl libroot-roofit" debian/patches/45-fix-typo-expresion-expression.patch0000644000000000000000000000136712253755630020071 0ustar diff --git a/tree/tree/src/TTreeCache.cxx b/tree/tree/src/TTreeCache.cxx index dc2f981..d6d490d 100644 --- a/tree/tree/src/TTreeCache.cxx +++ b/tree/tree/src/TTreeCache.cxx @@ -484,7 +484,7 @@ void TTreeCache::DropBranch(const char *bname, Bool_t subbranches /*= kFALSE*/) // this is to be used by user (thats why we pass the name of the branch). // It works in exactly the same way as TTree::SetBranchStatus so you // probably want to look over ther for details about the use of bname - // with regular expresions. + // with regular expressions. // The branches are taken with respect to the Owner of this TTreeCache // (i.e. the original Tree) // NB: if bname="*" all branches are put in the cache and the learning phase stopped debian/patches/38-fix-typo-ouput-output.patch0000644000000000000000000000335112253755630016367 0ustar --- a/docbook/primer/your_first_ROOT_macro.xml +++ b/docbook/primer/your_first_ROOT_macro.xml @@ -53,7 +53,7 @@ gStyle->SetOptStat(111111); // draw statistics on plots, // (0) for no output gStyle->SetOptFit(1111); // draw fit results on plot, - // (0) for no ouput + // (0) for no output gStyle->SetPalette(53); // set color map gStyle->SetOptTitle(0); // suppress title box ... --- a/tmva/test/PlotDecisionBoundary.C +++ b/tmva/test/PlotDecisionBoundary.C @@ -157,10 +157,10 @@ // (Use the smallest number of misclassifications as criterion) const Int_t nValBins=100; Double_t sum = 0.; - TH1F *mvaS= new TH1F("mvaS","",nValBins,MinMVA,MaxMVA); mvaS->SetXTitle("MVA-ouput"); mvaS->SetYTitle("#entries"); - TH1F *mvaB= new TH1F("mvaB","",nValBins,MinMVA,MaxMVA); mvaB->SetXTitle("MVA-ouput"); mvaB->SetYTitle("#entries"); - TH1F *mvaSC= new TH1F("mvaSC","",nValBins,MinMVA,MaxMVA); mvaSC->SetXTitle("MVA-ouput"); mvaSC->SetYTitle("cummulation"); - TH1F *mvaBC= new TH1F("mvaBC","",nValBins,MinMVA,MaxMVA); mvaBC->SetXTitle("MVA-ouput"); mvaBC->SetYTitle("cummulation"); + TH1F *mvaS= new TH1F("mvaS","",nValBins,MinMVA,MaxMVA); mvaS->SetXTitle("MVA-output"); mvaS->SetYTitle("#entries"); + TH1F *mvaB= new TH1F("mvaB","",nValBins,MinMVA,MaxMVA); mvaB->SetXTitle("MVA-output"); mvaB->SetYTitle("#entries"); + TH1F *mvaSC= new TH1F("mvaSC","",nValBins,MinMVA,MaxMVA); mvaSC->SetXTitle("MVA-output"); mvaSC->SetYTitle("cummulation"); + TH1F *mvaBC= new TH1F("mvaBC","",nValBins,MinMVA,MaxMVA); mvaBC->SetXTitle("MVA-output"); mvaBC->SetYTitle("cummulation"); Long64_t nentries; nentries = signal->GetEntries(); debian/patches/04-build-libroot-html-package.patch0000644000000000000000000000036712253755630017177 0ustar --- a/configure +++ b/configure @@ -6475,6 +6475,7 @@ libroot-gui-ged \ libroot-hist \ libroot-hist-spectrum \ + libroot-html \ libroot-io \ libroot-math-foam \ libroot-math-genvector \ debian/patches/39-fix-typo-mutiple-multiple.patch0000644000000000000000000000133312253755630017164 0ustar diff --git a/tree/tree/src/TEntryListArray.cxx b/tree/tree/src/TEntryListArray.cxx index 532d74e..c5df1df 100644 --- a/tree/tree/src/TEntryListArray.cxx +++ b/tree/tree/src/TEntryListArray.cxx @@ -157,7 +157,7 @@ void TEntryListArray::Add(const TEntryList *elist) // Include in this list all the trees present in elist, so the sublists can be added // This would happen in any case when calling TEntryList::Add - if (elist->GetLists()) { // the other list has lists to hold mutiple trees, add one by one + if (elist->GetLists()) { // the other list has lists to hold multiple trees, add one by one TIter next(elist->GetLists()); const TEntryList *e = 0; while ((e = (const TEntryList*)next())) { debian/patches/31-fix-typo-wheter-whether.patch0000644000000000000000000000230412253755630016605 0ustar --- a/gui/gui/src/TGMenu.cxx +++ b/gui/gui/src/TGMenu.cxx @@ -299,7 +299,7 @@ } fMenuMore->fMsgWindow = 0; - // Check wheter the current entry is a menu or not (just in case) + // Check whether the current entry is a menu or not (just in case) TGMenuEntry* currentEntry = fMenuMore->GetCurrent(); if (currentEntry->GetType() != kMenuPopup) return; --- a/proof/proof/inc/TProof.h +++ b/proof/proof/inc/TProof.h @@ -453,7 +453,7 @@ }; enum EProofDataSetCommands { kUploadDataSet = 1, //Upload a dataset - kCheckDataSetName = 2, //Check wheter dataset of this name exists + kCheckDataSetName = 2, //Check whether dataset of this name exists kGetDataSets = 3, //List datasets saved on the master node kRegisterDataSet = 4, //Save a TList object as a dataset kGetDataSet = 5, //Get a TFileCollection of TFileInfo objects --- a/tmva/src/PDEFoamCell.cxx +++ b/tmva/src/PDEFoamCell.cxx @@ -195,7 +195,7 @@ // Get depth of cell in binary tree, where the root cell has depth // 1 - // check wheter we are in the root cell + // check whether we are in the root cell if (fParent == 0) return 1; debian/patches/01-link-roota-against-sqlite.patch0000644000000000000000000000042112253755630017063 0ustar --- a/Makefile +++ b/Makefile @@ -554,6 +554,10 @@ STATICEXTRALIBS += $(LZMALIB) endif +ifeq ($(BUILDSQLITE),yes) +STATICEXTRALIBS += $(SQLITECLILIB) +endif + ##### In case shared libs need to resolve all symbols (e.g.: aix, win32) ##### ifeq ($(EXPLICITLINK),yes) debian/patches/71-remove-root-plugin-proof-xproof.patch0000644000000000000000000000043312253755630020303 0ustar --- a/configure +++ b/configure @@ -6511,7 +6511,6 @@ root-plugin-io-sql \ root-plugin-io-xml \ root-plugin-math-fumili \ - root-plugin-proof-xproof \ root-plugin-tree-treeviewer \ root-system-proofd \ root-system-rootd \ debian/patches/51-fix-typo-commited-committed.patch0000644000000000000000000000250312253755630017432 0ustar diff --git a/roofit/roostats/src/DetailedOutputAggregator.cxx b/roofit/roostats/src/DetailedOutputAggregator.cxx index 382bb21..0989d24 100644 --- a/roofit/roostats/src/DetailedOutputAggregator.cxx +++ b/roofit/roostats/src/DetailedOutputAggregator.cxx @@ -83,7 +83,7 @@ namespace RooStats { while(RooAbsArg* v = dynamic_cast( iter->Next() ) ) { TString renamed(TString::Format("%s%s", prefix.Data(), v->GetName())); if (fResult == NULL) { - // we never commited, so by default all columns are expected to not exist + // we never committed, so by default all columns are expected to not exist RooAbsArg* var = v->createFundamental(); assert(var != NULL); (RooArgSet(*var)) = RooArgSet(*v); @@ -97,7 +97,7 @@ namespace RooStats { if (fBuiltSet->addOwned(*var)) continue; // OK - can skip past setting value } if (RooAbsArg* var = fBuiltSet->find(renamed)) { - // we already commited an argset once, so we expect all columns to already be in the set + // we already committed an argset once, so we expect all columns to already be in the set var->SetName(v->GetName()); (RooArgSet(*var)) = RooArgSet(*v); // copy values and errors var->SetName(renamed); debian/patches/03-build-libroot-bonjour-package.patch0000644000000000000000000000211412253755630017700 0ustar --- a/configure +++ b/configure @@ -6433,6 +6433,7 @@ test "x$enable_unuran" = "xyes" && pl="$pl libroot-math-unuran" test "x$enable_memstat" = "xyes" && pl="$pl libroot-misc-memstat" test "x$enable_table" = "xyes" && pl="$pl libroot-misc-table" + test "x$enable_bonjour" = "xyes" && pl="$pl libroot-net-bonjour" test "x$enable_ldap" = "xyes" && pl="$pl libroot-net-ldap" test "x$enable_roofit" = "xyes" && pl="$pl libroot-roofit" test "x$enable_asimage" = "xyes" && pl="$pl root-plugin-graf2d-asimage" @@ -6451,7 +6452,6 @@ test "x$enable_minuit2" = "xyes" && pl="$pl root-plugin-math-minuit2" test "x$enable_pythia6" = "xyes" && pl="$pl root-plugin-montecarlo-pythia6" test "x$enable_alien" = "xyes" && pl="$pl root-plugin-net-alien" - test "x$enable_bonjour" = "xyes" && pl="$pl root-plugin-net-bonjour" test "x$enable_globus" = "xyes" && pl="$pl root-plugin-net-globus" test "x$enable_krb5" = "xyes" && pl="$pl root-plugin-net-krb5" test "x$enable_monalisa" = "xyes" && pl="$pl root-plugin-net-monalisa" debian/patches/49-fix-typo-continous-continuous.patch0000644000000000000000000000335712253755630020112 0ustar diff --git a/roofit/roofit/inc/Roo2DMomentMorphFunction.h b/roofit/roofit/inc/Roo2DMomentMorphFunction.h index ca70236..99ec216 100644 --- a/roofit/roofit/inc/Roo2DMomentMorphFunction.h +++ b/roofit/roofit/inc/Roo2DMomentMorphFunction.h @@ -7,7 +7,7 @@ // 2-dimensional morph function between a list of input functions (varlist) as a function of one input parameter (m). // The vector mrefpoints assigns an m-number to each function in the function list. // For example: varlist can contain MC histograms (or single numbers) of a reconstructed mass, for certain -// true Higgs masses indicated in mrefpoints. the input parameter m is the true (continous) Higgs mass. +// true Higgs masses indicated in mrefpoints. the input parameter m is the true (continuous) Higgs mass. // Morphing can be set to be linear or non-linear, or mixture of the two. #ifndef ROO2DMOMENTMORPHFUNCTION diff --git a/roofit/roofit/src/Roo1DMomentMorphFunction.cxx b/roofit/roofit/src/Roo1DMomentMorphFunction.cxx index ab80fd4..79536f1 100644 --- a/roofit/roofit/src/Roo1DMomentMorphFunction.cxx +++ b/roofit/roofit/src/Roo1DMomentMorphFunction.cxx @@ -7,7 +7,7 @@ // 1-dimensional morph function between a list of input functions (varlist) as a function of one input parameter (m). // The vector mrefpoints assigns an m-number to each function in the function list. // For example: varlist can contain MC histograms (or single numbers) of a reconstructed mass, for certain -// true Higgs masses indicated in mrefpoints. the input parameter m is the true (continous) Higgs mass. +// true Higgs masses indicated in mrefpoints. the input parameter m is the true (continuous) Higgs mass. // Morphing can be set to be linear or non-linear, or mixture of the two. #include "Riostream.h" debian/patches/27-fix-typo-writeable-writable.patch0000644000000000000000000000213512253755630017437 0ustar diff --git a/build/package/debian/root-system-rootd.postinst b/build/package/debian/root-system-rootd.postinst index f77d6e4..af817a5 100644 --- a/build/package/debian/root-system-rootd.postinst +++ b/build/package/debian/root-system-rootd.postinst @@ -66,7 +66,7 @@ case "$1" in -exec chgrp rootd {} \; # Create the tmp and pub directories in /var/spool/rootd and - # make them world read- and writeable. + # make them world read- and writable. if [ ! -d /var/spool/rootd/tmp ] ; then mkdir -p /var/spool/rootd/tmp chmod 1777 /var/spool/rootd/tmp diff --git a/build/package/rpm/root-system-rootd.pre b/build/package/rpm/root-system-rootd.pre index a7afda3..da2bfe9 100644 --- a/build/package/rpm/root-system-rootd.pre +++ b/build/package/rpm/root-system-rootd.pre @@ -43,7 +43,7 @@ find /var/spool/rootd \ -exec chgrp rootd {} \; # Create the tmp and pub directories in /var/spool/rootd and -# make them world read- and writeable. +# make them world read- and writable. if [ ! -d /var/spool/rootd/tmp ] ; then mkdir -p /var/spool/rootd/tmp chmod 777 /var/spool/rootd/tmp debian/patches/55-fix-typo-authentification-authentication.patch0000644000000000000000000000261612253755630022232 0ustar diff --git a/build/package/debian/root-system-rootd.default b/build/package/debian/root-system-rootd.default index 294dd0f..3e8b814 100644 --- a/build/package/debian/root-system-rootd.default +++ b/build/package/debian/root-system-rootd.default @@ -54,7 +54,7 @@ SSH_PORT= # debugging purposes. Only a value of "yes" enables. #ROOTD_FOREGROUND= -# Disable authentification (-noauth) +# Disable authentication (-noauth) # do not require client authentication. This shouldn't be enabled # unless you know what you're doing. Only a value of "yes" enables. #ROOTD_NO_AUTH= diff --git a/build/package/debian/root-system-rootd.init.in b/build/package/debian/root-system-rootd.init.in index 7f9677c..6899422 100644 --- a/build/package/debian/root-system-rootd.init.in +++ b/build/package/debian/root-system-rootd.init.in @@ -51,7 +51,7 @@ test ! "x$ROOTD_DEBUG" = "x" && DAEMON_OPTS="$DAEMON_OPTS -d $ROOTD_DEBUG" test ! "x$ROOTD_ACCESS_RULES" = "x" && DAEMON_OPTS="$DAEMON_OPTS -D $ROOTD_ACCESS_RULES" # Run in foreground (shouldn't be done in init script) test "x$ROOTD_FOREGROUND" = "xyes" && DAEMON_OPTS="$DAEMON_OPTS -f" -# No client authentification (security issue) +# No client authentication (security issue) test "x$ROOTD_NO_AUTH" = "xyes" && DAEMON_OPTS="$DAEMON_OPTS -noauth" # files can only be opened read-only test "x$ROOTD_READ_ONLY" = "xyes" && DAEMON_OPTS="$DAEMON_OPTS -r" debian/patches/33-fix-typo-splitted-split.patch0000644000000000000000000001265712253755630016642 0ustar diff --git a/math/mathcore/inc/Math/KDTree.h b/math/mathcore/inc/Math/KDTree.h index d682410..ffd19ef 100644 --- a/math/mathcore/inc/Math/KDTree.h +++ b/math/mathcore/inc/Math/KDTree.h @@ -278,7 +278,7 @@ namespace ROOT void UpdateBoundaries(); Bool_t fOwnData; // terminal node owns the data objects (default = false) - eSplitOption fSplitOption; // according to which figure of merit the node is splitted + eSplitOption fSplitOption; // according to which figure of merit the node is split Double_t fBucketSize; // target number of entries per bucket UInt_t fSplitAxis; // axis at which the next split will occur std::vector fDataPoints; // data points in this bucket diff --git a/tree/tree/src/TEntryListArray.cxx b/tree/tree/src/TEntryListArray.cxx index 532d74e..2486a3a 100644 --- a/tree/tree/src/TEntryListArray.cxx +++ b/tree/tree/src/TEntryListArray.cxx @@ -174,7 +174,7 @@ void TEntryListArray::Add(const TEntryList *elist) void TEntryListArray::AddEntriesAndSubLists(const TEntryList *elist) { // The method that really adds two entry lists with sublists - // If lists are splitted (fLists != 0), look for the ones whose trees match and call the method for those lists. + // If lists are split (fLists != 0), look for the ones whose trees match and call the method for those lists. // Add first the sublists, and then use TEntryList::Add to deal with the entries // WARNING: cannot call TEntryList::Add in the beginning: @@ -184,7 +184,7 @@ void TEntryListArray::AddEntriesAndSubLists(const TEntryList *elist) // Add to the entries and sublists of this list, the ones from the other list if (!elist) return; - if (fLists) { // This list is splitted + if (fLists) { // This list is split TEntryListArray* e = 0; TIter next(fLists); fN = 0; // reset fN to set it to the sum of fN in each list @@ -193,13 +193,13 @@ void TEntryListArray::AddEntriesAndSubLists(const TEntryList *elist) e->AddEntriesAndSubLists(elist); fN += e->GetN(); } - } else if (elist->GetLists()) { // The other list is splitted --> will be called only from the previous if + } else if (elist->GetLists()) { // The other list is split --> will be called only from the previous if TIter next(elist->GetLists()); TEntryList *e = 0; while ((e = (TEntryList*) next())) { AddEntriesAndSubLists(e); } - } else { // None of the lists are splitted + } else { // None of the lists are split if (strcmp(elist->GetTreeName(), fTreeName.Data()) || strcmp(elist->GetFileName(), fFileName.Data())) return; // Lists are for different trees const TEntryListArray *elist_array = dynamic_cast< const TEntryListArray *>(elist); @@ -256,7 +256,7 @@ Int_t TEntryListArray::Contains(Long64_t entry, TTree *tree, Long64_t subentry) //When tree is a chain, the entry is assumed to be global index and the local //entry is recomputed from the treeoffset information of the chain - //When subentry != -1, return true if the enter is present and not splitted + //When subentry != -1, return true if the enter is present and not split //or if the subentry list is found and contains #subentry if (tree) { @@ -302,7 +302,7 @@ void TEntryListArray::ConvertToTEntryListArray(TEntryList *e) if (e == fCurrent) { fCurrent = earray; } - // If the list has just been splitted, earray will be the first one + // If the list has just been split, earray will be the first one // and must keep the current sublists if (fSubLists) { earray->fSubLists = fSubLists; @@ -612,7 +612,7 @@ void TEntryListArray::Subtract(const TEntryList *elist) if (!elist) return; - if (fLists) { // This list is splitted + if (fLists) { // This list is split TEntryListArray* e = 0; TIter next(fLists); fN = 0; // reset fN to set it to the sum of fN in each list @@ -620,13 +620,13 @@ void TEntryListArray::Subtract(const TEntryList *elist) e->Subtract(elist); fN += e->GetN(); } - } else if (elist->GetLists()) { // The other list is splitted + } else if (elist->GetLists()) { // The other list is split TIter next(elist->GetLists()); TEntryList *e = 0; while ((e = (TEntryList*) next())) { Subtract(e); } - } else { // None of the lists are splitted + } else { // None of the lists are split if (strcmp(elist->GetTreeName(), fTreeName.Data()) || strcmp(elist->GetFileName(), fFileName.Data())) return; // Lists are for different trees const TEntryListArray *elist_array = dynamic_cast< const TEntryListArray *>(elist); @@ -689,7 +689,7 @@ void TEntryListArray::SetTree(const char *treename, const char *filename) TEntryList::SetTree(treename, filename); if (fLists && fLists->GetEntries() != nLists) { // fList was created and/or has new additions if (nLists == -1) { - // The list has just been splitted (fList was created) + // The list has just been split (fList was created) // There should be two TEntryLists in fLists: // must convert both to TEntryListArray // and transfer the sublists to the first one debian/patches/21-fix-manpage-hyphen.patch0000644000000000000000000000214012253755630015550 0ustar --- a/man/man1/rlibmap.1 +++ b/man/man1/rlibmap.1 @@ -8,7 +8,7 @@ rlibmap \- ROOT utility to create class to library maps .SH SYNOPSIS .B rlibmap -[-f] [[-r|-o] \fImapfile\fR] -l \fIlibrary\fR -d \fIdependecy\fR -c \fILinkdef\fR +[\(hyf] [[\(hyr|\(hyo] \fImapfile\fR] \(hyl \fIlibrary\fR \(hyd \fIdependecy\fR \(hyc \fILinkdef\fR .SH "DESCRIPTION" Creates a map from classes to shared libraries that contain these classes. --- a/man/man1/rmkdepend.1 +++ b/man/man1/rmkdepend.1 @@ -286,7 +286,7 @@ Filename. This allows you to specify an alternate target filename to be use for the preceding file. For example if you call .sp - rmkdepend -sobj -pbuild file.cxx -tlibrary.so + rmkdepend \(hysobj \(hypbuild file.cxx \(hytlibrary.so .sp rather than inserting the line .sp --- a/man/man1/root-config.1 +++ b/man/man1/root-config.1 @@ -48,7 +48,7 @@ CLEANFILES = *Cint.cxx *Cint.h *~ core %Cint.cxx %Cint.h:Include.h LinkDef.h - @ROOTCINT@ \-f $*Cint.cxx -c $(INCLUDES) $(AM_CPPFLAGS) $^ + @ROOTCINT@ \(hyf $*Cint.cxx \(hyc $(INCLUDES) $(AM_CPPFLAGS) $^ .fi .RE debian/patches/24-fix-typo-informations-information.patch0000644000000000000000000000071012253755630020677 0ustar diff --git a/core/utils/src/Scanner.cxx b/core/utils/src/Scanner.cxx index 14d7faa..84d1bb0 100644 --- a/core/utils/src/Scanner.cxx +++ b/core/utils/src/Scanner.cxx @@ -34,7 +34,7 @@ // SHOW_WARNINGS - enable warnings -// SHOW_TEMPLATE_INFO - enable informations about encoutered tempaltes +// SHOW_TEMPLATE_INFO - enable information about encoutered tempaltes // COMPLETE_TEMPLATES - process templates, not only specializations (instantiations) debian/patches/61-fix-typo-paramater-parameter.patch0000644000000000000000000000132512253755630017602 0ustar diff --git a/cint/reflex/python/genreflex/selclass.py b/cint/reflex/python/genreflex/selclass.py index a562b76..afee5a6 100644 --- a/cint/reflex/python/genreflex/selclass.py +++ b/cint/reflex/python/genreflex/selclass.py @@ -233,7 +233,7 @@ class selClass : #------------------------------------------------------------------------------ # Check if we have other parameters specified correctly #------------------------------------------------------------------------------ - # source and target are optional paramater. + # source and target are optional parameter. # for k in ['target', 'source' ]: # if not attrs.has_key(k): # print warning, '- Required attribute is missing:', k debian/patches/series0000644000000000000000000000221012253755630012035 0ustar 01-link-roota-against-sqlite.patch 02-build-libroot-misc-memstat-package.patch 03-build-libroot-bonjour-package.patch 04-build-libroot-html-package.patch 05-rename-package-libroot-proof-proofplayer.patch 06-globus-header.patch 15-enable-extra-ldflags.patch 19-remove-embedded-library-gl2ps.patch 21-fix-manpage-hyphen.patch 24-fix-typo-informations-information.patch 26-fix-typo-avaliable-available.patch 27-fix-typo-writeable-writable.patch 31-fix-typo-wheter-whether.patch 33-fix-typo-splitted-split.patch 34-fix-typo-registerd-registered.patch 38-fix-typo-ouput-output.patch 39-fix-typo-mutiple-multiple.patch 40-fix-typo-lenght-length.patch 42-fix-typo-independant-independent.patch 45-fix-typo-expresion-expression.patch 47-fix-typo-enviroment-environment.patch 49-fix-typo-continous-continuous.patch 51-fix-typo-commited-committed.patch 53-fix-typo-backgroud-Background.patch 54-fix-typo-auxilliary-auxiliary.patch 55-fix-typo-authentification-authentication.patch 61-fix-typo-paramater-parameter.patch 64-support-mipsel.patch 69-support-pythia8.patch 71-remove-root-plugin-proof-xproof.patch 74-kfreebsd.patch 75-hardening-flag.patch 76-hurd-i386.patch debian/patches/75-hardening-flag.patch0000644000000000000000000000133012253755630014742 0ustar --- a/configure +++ b/configure @@ -6750,7 +6750,7 @@ fi sed -e "s|@useconfig@|TRUE|" \ - -e "s|@cflags@|$haveconfig|" \ + -e "s|@cflags@|$haveconfig $CFLAGS|" \ < Makefile.tmp > Makefile.tmpp mv Makefile.tmpp Makefile.tmp else --- a/net/globusauth/src/GlobusAuth.cxx +++ b/net/globusauth/src/GlobusAuth.cxx @@ -1010,7 +1010,7 @@ fn = Form("%s/.globus/usercert.pem",gSystem->HomeDirectory()); if (gSystem->AccessPathName(fn, kReadPermission)) { emsg += fn; - Error("GlobusIssuerName", emsg.Data()); + Error("GlobusIssuerName", "%s", emsg.Data()); return 1; } } debian/patches/76-hurd-i386.patch0000644000000000000000000001211512253755630013531 0ustar --- a/configure +++ b/configure @@ -1309,6 +1309,7 @@ hp-ux:ia64:*) arch=hpuxia64acc ;; hp-ux:*:*) arch=hpuxacc ;; hurd*:*:*) arch=hurddeb ;; + gnu:i*86*:*) arch=hurddeb ;; linux:ia64:*) arch=linuxia64gcc ;; linux:x86_64:*) arch=linuxx8664gcc ;; linux:alpha:*) arch=linuxalphagcc ;; @@ -1952,7 +1953,7 @@ fi fi -if test "x$platform" = "xlinux" -o "x$platform" = "xkfreebsd" ; then +if test "x$platform" = "xlinux" -o "x$platform" = "xkfreebsd" -o "x$platform" = "xhurd"; then linuxdist= if `$cwhich lsb_release > /dev/null 2>&1` ; then if lsb_release -d | grep -i 'ubuntu' > /dev/null 2>& 1; then @@ -4215,7 +4216,7 @@ # bonjourcppflags= case $platform in - linux|kfreebsd|macosx|ios) + linux|kfreebsd|hurd|macosx|ios) ;; *) if test "x$enable_bonjour" = "xyes" ; then @@ -6296,7 +6297,7 @@ message "Checking whether to build libMemStat" if test "x$enable_memstat" = "xyes" || test ! "x$MEMSTAT" = "x"; then case $arch in - linux*|macos*|kfreebsd*) + linux*|macos*|kfreebsd*|hurd*) enable_memstat="yes" ;; *) enable_memstat="no" ;; --- a/cint/cint/inc/G__ci.h +++ b/cint/cint/inc/G__ci.h @@ -366,7 +366,7 @@ #endif /* added by Fons Radamakers in 2000 Oct 2 */ -#if (defined(__linux) || defined(__linux__) || defined(linux) || defined(__FreeBSD_kernel__)) && ! defined(__CINT__) +#if (defined(__linux) || defined(__linux__) || defined(linux) || defined(__FreeBSD_kernel__) || defined(__GNU__)) && ! defined(__CINT__) # include # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 # define G__NONSCALARFPOS2 --- a/core/base/inc/RConfig.h +++ b/core/base/inc/RConfig.h @@ -327,6 +327,7 @@ # define R__UNIX # define R__BYTESWAP # define R__GLIBC /* GNU/Hurd always use GLIBC 2.x :-) */ +# define PATH_MAX 4096 # define NEED_SIGJMP #endif --- a/graf3d/gl/src/TGLFaceSet.cxx +++ b/graf3d/gl/src/TGLFaceSet.cxx @@ -34,7 +34,7 @@ { #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER) typedef GLvoid (*tessfuncptr_t)(...); -#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) +#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) || defined(__GNU__) typedef GLvoid (*tessfuncptr_t)(); #elif defined (WIN32) typedef GLvoid (CALLBACK *tessfuncptr_t)(); --- a/graf3d/gl/src/TGLPadUtils.cxx +++ b/graf3d/gl/src/TGLPadUtils.cxx @@ -556,7 +556,7 @@ extern "C" { #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER) typedef GLvoid (*tess_t)(...); -#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) +#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) || defined(__GNU__) typedef GLvoid (*tess_t)(); #elif defined ( WIN32) typedef GLvoid (CALLBACK *tess_t)( ); --- a/graf3d/gl/src/TGLUtil.cxx +++ b/graf3d/gl/src/TGLUtil.cxx @@ -1423,7 +1423,7 @@ { #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER) typedef GLvoid (*tessfuncptr_t)(...); -#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) +#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) || defined(__GNU__) typedef GLvoid (*tessfuncptr_t)(); #elif defined (WIN32) typedef GLvoid (CALLBACK *tessfuncptr_t)(); --- a/cint/reflex/src/genmap/genmap.cxx +++ b/cint/reflex/src/genmap/genmap.cxx @@ -14,6 +14,10 @@ #include #include +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + using namespace std; using namespace ROOT::Reflex; --- a/net/rpdutils/src/rpdutils.cxx +++ b/net/rpdutils/src/rpdutils.cxx @@ -209,7 +209,7 @@ #endif #if !defined(__hpux) && !defined(linux) && !defined(__FreeBSD__) && \ - !defined(__OpenBSD__) && !defined(__FreeBSD_kernel__) || defined(cygwingcc) + !defined(__OpenBSD__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__) || defined(cygwingcc) static int setresgid(gid_t r, gid_t e, gid_t) { if (setgid(r) == -1) --- a/proof/proofd/src/proofd.cxx +++ b/proof/proofd/src/proofd.cxx @@ -225,6 +225,10 @@ #include "rsalib.h" } +#ifndef NOFILE +# define NOFILE 256 +#endif + // General globals int gDebug = 0; debian/patches/53-fix-typo-backgroud-Background.patch0000644000000000000000000002100012253755630017657 0ustar diff --git a/hist/spectrum/inc/TSpectrum2Fit.h b/hist/spectrum/inc/TSpectrum2Fit.h index 2a13e8c..b804bc3 100644 --- a/hist/spectrum/inc/TSpectrum2Fit.h +++ b/hist/spectrum/inc/TSpectrum2Fit.h @@ -97,13 +97,13 @@ protected: Double_t fByInit; //initial value of b parameter for 1D ridges in y direction (slope), for details see html manual and references Double_t fByCalc; //calculated value of b parameter for 1D ridges in y direction Double_t fByErr; //error value of b parameter for 1D ridges in y direction - Double_t fA0Init; //initial value of background a0 parameter(backgroud is estimated as a0+ax*x+ay*y) + Double_t fA0Init; //initial value of background a0 parameter(background is estimated as a0+ax*x+ay*y) Double_t fA0Calc; //calculated value of background a0 parameter Double_t fA0Err; //error value of background a0 parameter - Double_t fAxInit; //initial value of background ax parameter(backgroud is estimated as a0+ax*x+ay*y) + Double_t fAxInit; //initial value of background ax parameter(background is estimated as a0+ax*x+ay*y) Double_t fAxCalc; //calculated value of background ax parameter Double_t fAxErr; //error value of background ax parameter - Double_t fAyInit; //initial value of background ay parameter(backgroud is estimated as a0+ax*x+ay*y) + Double_t fAyInit; //initial value of background ay parameter(background is estimated as a0+ax*x+ay*y) Double_t fAyCalc; //calculated value of background ay parameter Double_t fAyErr; //error value of background ay parameter Bool_t *fFixPositionX; //[fNPeaks] array of logical values which allow to fix appropriate x positions of 2D peaks (not fit). However they are present in the estimated functional diff --git a/hist/spectrum/inc/TSpectrumFit.h b/hist/spectrum/inc/TSpectrumFit.h index a31f380..cdba817 100644 --- a/hist/spectrum/inc/TSpectrumFit.h +++ b/hist/spectrum/inc/TSpectrumFit.h @@ -61,13 +61,13 @@ protected: Double_t fSInit; //initial value of s parameter (relative amplitude of step), for details see html manual and references Double_t fSCalc; //calculated value of s parameter Double_t fSErr; //error value of s parameter - Double_t fA0Init; //initial value of background a0 parameter(backgroud is estimated as a0+a1*x+a2*x*x) + Double_t fA0Init; //initial value of background a0 parameter(background is estimated as a0+a1*x+a2*x*x) Double_t fA0Calc; //calculated value of background a0 parameter Double_t fA0Err; //error value of background a0 parameter - Double_t fA1Init; //initial value of background a1 parameter(backgroud is estimated as a0+a1*x+a2*x*x) + Double_t fA1Init; //initial value of background a1 parameter(background is estimated as a0+a1*x+a2*x*x) Double_t fA1Calc; //calculated value of background a1 parameter Double_t fA1Err; //error value of background a1 parameter - Double_t fA2Init; //initial value of background a2 parameter(backgroud is estimated as a0+a1*x+a2*x*x) + Double_t fA2Init; //initial value of background a2 parameter(background is estimated as a0+a1*x+a2*x*x) Double_t fA2Calc; //calculated value of background a2 parameter Double_t fA2Err; //error value of background a2 parameter Bool_t *fFixPosition; //[fNPeaks] array of logical values which allow to fix appropriate positions (not fit). However they are present in the estimated functional diff --git a/hist/spectrum/src/TSpectrum2Fit.cxx b/hist/spectrum/src/TSpectrum2Fit.cxx index 62b0928..7f8ea34 100644 --- a/hist/spectrum/src/TSpectrum2Fit.cxx +++ b/hist/spectrum/src/TSpectrum2Fit.cxx @@ -2085,7 +2085,7 @@ fByErr; direction

   Double_t  -fA0Init;                        //initial value of background a0 parameter(backgroud +fA0Init;                        //initial value of background a0 parameter(background is estimated as a0+ax*x+ay*y)

   Double_t  @@ -2095,7 +2095,7 @@ fA0Calc; fA0Err;                         //error value of background a0 parameter

   Double_t  fAxInit;         -               //initial value of background ax parameter(backgroud is +               //initial value of background ax parameter(background is estimated as a0+ax*x+ay*y)

   Double_t  @@ -2106,7 +2106,7 @@ fAxErr;

   Double_t  fAyInit;                        //initial value of background ay -parameter(backgroud is estimated as a0+ax*x+ay*y)

+parameter(background is estimated as a0+ax*x+ay*y)

   Double_t  fAyCalc;                        //calculated value of background ay parameter

@@ -6589,7 +6589,7 @@ void TSpectrum2Fit::SetBackgroundParameters(Double_t a0Init, Bool_t fixA0, Doubl // SETTER FUNCTION // // This function sets the following fitting parameters of background: -// -a0Init - initial value of a0 parameter (backgroud is estimated as a0+ax*x+ay*y) +// -a0Init - initial value of a0 parameter (background is estimated as a0+ax*x+ay*y) // -fixA0 - logical value of a0 parameter, which allows to fix the parameter (not to fit) // -axInit - initial value of ax parameter // -fixAx - logical value of ax parameter, which allows to fix the parameter (not to fit) diff --git a/hist/spectrum/src/TSpectrumFit.cxx b/hist/spectrum/src/TSpectrumFit.cxx index 8960605..70431bd 100644 --- a/hist/spectrum/src/TSpectrumFit.cxx +++ b/hist/spectrum/src/TSpectrumFit.cxx @@ -1009,7 +1009,7 @@ Double_t

   Double_t  fA0Init;                    //initial value of background a0 -parameter(backgroud is estimated as a0+a1*x+a2*x*x)

+parameter(background is estimated as a0+a1*x+a2*x*x)

   Double_t  fA0Calc;                    //calculated value of background a0 @@ -1020,7 +1020,7 @@ Double_t

   Double_t  fA1Init;                    //initial value of background a1 -parameter(backgroud is estimated as a0+a1*x+a2*x*x)

+parameter(background is estimated as a0+a1*x+a2*x*x)

   Double_t  fA1Calc;                    //calculated value of background a1 @@ -1031,7 +1031,7 @@ Double_t

   Double_t  fA2Init;                    //initial value of background a2 -parameter(backgroud is estimated as a0+a1*x+a2*x*x)

+parameter(background is estimated as a0+a1*x+a2*x*x)

   Double_t  fA2Calc;                    //calculated value of background a2 @@ -3343,7 +3343,7 @@ void TSpectrumFit::SetBackgroundParameters(Double_t a0Init, Bool_t fixA0, Double // SETTER FUNCTION // // This function sets the following fitting parameters of background: -// -a0Init - initial value of a0 parameter (backgroud is estimated as a0+a1*x+a2*x*x) +// -a0Init - initial value of a0 parameter (background is estimated as a0+a1*x+a2*x*x) // -fixA0 - logical value of a0 parameter, which allows to fix the parameter (not to fit) // -a1Init - initial value of a1 parameter // -fixA1 - logical value of a1 parameter, which allows to fix the parameter (not to fit) debian/patches/69-support-pythia8.patch0000644000000000000000000000111412253755630015177 0ustar --- a/configure +++ b/configure @@ -6451,6 +6451,7 @@ test "x$enable_gviz" = "xyes" && pl="$pl root-plugin-graf2d-gviz" test "x$enable_minuit2" = "xyes" && pl="$pl root-plugin-math-minuit2" test "x$enable_pythia6" = "xyes" && pl="$pl root-plugin-montecarlo-pythia6" + test "x$enable_pythia8" = "xyes" && pl="$pl root-plugin-montecarlo-pythia8" test "x$enable_alien" = "xyes" && pl="$pl root-plugin-net-alien" test "x$enable_globus" = "xyes" && pl="$pl root-plugin-net-globus" test "x$enable_krb5" = "xyes" && pl="$pl root-plugin-net-krb5" debian/patches/74-kfreebsd.patch0000644000000000000000000003265612253755630013677 0ustar --- /dev/null +++ b/config/Makefile.kfreebsd @@ -0,0 +1,80 @@ +# -*- mode: makefile -*- +# +# Makefile of ROOT for kFreeBSD i386 with glibc and gcc. + +PLATFORM = kfreebsd + +DEBUGFLAGS = -g +OPTFLAGS = -O2 + +ifeq (debug,$(findstring debug,$(ROOTBUILD))) +OPT = $(DEBUGFLAGS) +NOOPT = +else +OPT = $(OPTFLAGS) +NOOPT = +endif + +ifeq ($(CXX11),yes) +CXX11FLAGS = -std=c++11 -Wno-deprecated-declarations +endif + +# Compiler: +CXX = g++ +CC = gcc +CXXFLAGS = -pipe -m32 -Wall -W -Woverloaded-virtual \ + -fPIC $(EXTRA_CXXFLAGS) $(CXX11FLAGS) +CFLAGS = -pipe -m32 -Wall -W -fPIC $(EXTRA_CFLAGS) +CINTCXXFLAGS = -pipe -m32 -Wall -W -Woverloaded-virtual \ + -fPIC $(EXTRA_CXXFLAGS) $(CXX11FLAGS) \ + -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \ + -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \ + -DG__STD_EXCEPTION +CINTCFLAGS = -pipe -m32 -Wall -W -fPIC $(EXTRA_CFLAGS) \ + -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \ + -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \ + -DG__STD_EXCEPTION +COMPILER = gnu + +# Linker: +LD = g++ +LDFLAGS = -m32 $(OPT) $(EXTRA_LDFLAGS) -Wl,--no-undefined -Wl,--as-needed +SOFLAGS = -shared -Wl,-soname, +SOEXT = so + +# System libraries: +SYSLIBS = -lm -ldl $(OSTHREADLIBDIR) $(OSTHREADLIB) \ + $(ALLOCLIBDIR) $(ALLOCLIB) -rdynamic +XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lXext -lX11 +CILIBS = -lm -ldl -rdynamic +CRYPTLIBS = -lcrypt + +# Fortran: +ifneq ($(findstring gfortran, $(F77)),) +ifeq ($(F77),) +# only needed to get default compiler in ./configure +F77 = gfortran +endif +F77FLAGS = -m32 -fPIC -std=legacy +ifneq ($(shell $(F77) -m32 -print-file-name=libgfortran.$(SOEXT)),libgfortran.$(SOEXT)) +F77LIBS := $(shell $(F77) -m32 -print-file-name=libgfortran.$(SOEXT)) +else +F77LIBS := $(shell $(F77) -m32 -print-file-name=libgfortran.a) +endif +F77LIBS += $(shell $(F77) -m32 -print-file-name=libgfortranbegin.a) +endif + +ifneq ($(findstring g77, $(F77)),) +ifeq ($(F77),) +# only needed to get default compiler in ./configure +F77 = g77 +endif +F77FLAGS = -m32 -fPIC +ifneq ($(shell $(F77) -print-file-name=libg2c.so),libg2c.so) +F77LIBS := $(shell $(F77) -m32 -print-file-name=libg2c.so) -lnsl +else +F77LIBS := $(shell $(F77) -m32 -print-file-name=libg2c.a) -lnsl +endif +endif + +# Extras --- /dev/null +++ b/config/Makefile.kfreebsdx8664gcc @@ -0,0 +1,80 @@ +# -*- mode: makefile -*- +# +# Makefile of ROOT for kFreeBSD x86-64 with glibc and gcc. + +PLATFORM = kfreebsd + +DEBUGFLAGS = -g +OPTFLAGS = -O2 + +ifeq (debug,$(findstring debug,$(ROOTBUILD))) +OPT = $(DEBUGFLAGS) +NOOPT = +else +OPT = $(OPTFLAGS) +NOOPT = +endif + +ifeq ($(CXX11),yes) +CXX11FLAGS = -std=c++11 -Wno-deprecated-declarations +endif + +# Compiler: +CXX = g++ +CC = gcc +CXXFLAGS = -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual \ + -fPIC $(EXTRA_CXXFLAGS) $(CXX11FLAGS) +CFLAGS = -pipe -m64 -Wshadow -Wall -W -fPIC $(EXTRA_CFLAGS) +CINTCXXFLAGS = -pipe -m64 -Wall -W -Woverloaded-virtual \ + -fPIC $(EXTRA_CXXFLAGS) $(CXX11FLAGS) \ + -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \ + -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \ + -DG__STD_EXCEPTION -DG__64BIT +CINTCFLAGS = -pipe -m64 -Wall -W -fPIC $(EXTRA_CFLAGS) \ + -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \ + -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO \ + -DG__STD_EXCEPTION -DG__64BIT +COMPILER = gnu + +# Linker: +LD = g++ +LDFLAGS = -m64 $(OPT) $(EXTRA_LDFLAGS) -Wl,--no-undefined -Wl,--as-needed +SOFLAGS = -shared -Wl,-soname, +SOEXT = so + +# System libraries: +SYSLIBS = -lm -ldl $(OSTHREADLIBDIR) $(OSTHREADLIB) \ + $(ALLOCLIBDIR) $(ALLOCLIB) -rdynamic +XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lXext -lX11 +CILIBS = -lm -ldl -rdynamic +CRYPTLIBS = -lcrypt + +# Fortran: +ifneq ($(findstring gfortran, $(F77)),) +ifeq ($(F77),) +# only needed to get default compiler in ./configure +F77 = gfortran +endif +F77FLAGS = -fPIC -m64 -std=legacy +ifneq ($(shell $(F77) -m64 -print-file-name=libgfortran.$(SOEXT)),libgfortran.$(SOEXT)) +F77LIBS := $(shell $(F77) -m64 -print-file-name=libgfortran.$(SOEXT)) +else +F77LIBS := $(shell $(F77) -m64 -print-file-name=libgfortran.a) +endif +F77LIBS += $(shell $(F77) -m64 -print-file-name=libgfortranbegin.a) +endif + +ifneq ($(findstring g77, $(F77)),) +ifeq ($(F77),) +# only needed to get default compiler in ./configure +F77 = g77 +endif +F77FLAGS = -fPIC -m64 +ifneq ($(shell $(F77) -print-file-name=libg2c.so),libg2c.so) +F77LIBS := $(shell $(F77) -m64 -print-file-name=libg2c.so) -lnsl +else +F77LIBS := $(shell $(F77) -m64 -print-file-name=libg2c.a) -lnsl +endif +endif + +# Extras --- a/cint/cint/inc/G__ci.h +++ b/cint/cint/inc/G__ci.h @@ -366,7 +366,7 @@ #endif /* added by Fons Radamakers in 2000 Oct 2 */ -#if (defined(__linux) || defined(__linux__) || defined(linux)) && ! defined(__CINT__) +#if (defined(__linux) || defined(__linux__) || defined(linux) || defined(__FreeBSD_kernel__)) && ! defined(__CINT__) # include # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 # define G__NONSCALARFPOS2 --- a/cint/cint/src/bc_reader.h +++ b/cint/cint/src/bc_reader.h @@ -57,7 +57,7 @@ int rewindpos() ; unsigned long getpos() { return((unsigned long)0 /* m_pos */ ); } //not used void setspos(unsigned long pos) { -#if defined(__linux) +#if defined(__linux) || defined(__GLIBC__) #if (__GNUC__==2 && __GNUC_MINOR__<96) #if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001 m_pos.__pos = pos; // this is for Debian --- a/config/ARCHS +++ b/config/ARCHS @@ -5,6 +5,8 @@ freebsd4 for FreeBSD 4.x with gcc freebsd5 for FreeBSD 5.x and 6.x with gcc freebsd7 for FreeBSD 7.x with gcc +kfreebsd for i386 kFreeBSD with gcc +kfreebsdx8664gcc for x86-64 kFreeBSD with gcc hpuxacc for HP-UX 10.20 with HP aCC hpuxgcc for HP-UX 10.20 with gcc hpuxia64acc for HP-UX 11i v1.5 (IA-64) with HP aCC --- a/config/root-config.in +++ b/config/root-config.in @@ -348,6 +348,18 @@ auxcflags= auxlibs="-lm -lstdc++" ;; +kfreebsd) + # kFreeBSD with gcc + auxcflags="-m32" + auxldflags="-m32" + auxlibs="-lm -ldl -rdynamic" + ;; +kfreebsdx8664gcc) + # AMD Opteron and Intel EM64T (64 bit mode) kFreeBSD with gcc + auxcflags="-m64" + auxldflags="-m64" + auxlibs="-lm -ldl -rdynamic" + ;; openbsd) # OpenBSD with libc auxcflags= --- a/configure +++ b/configure @@ -1304,6 +1304,8 @@ freebsd*:*:5*) arch=freebsd5 ;; freebsd*:*:4*) arch=freebsd4 ;; freebsd*:*:*) arch=freebsd ;; + gnu/kfreebsd:i*86:*) arch=kfreebsd ;; + gnu/kfreebsd:x86_64:*) arch=kfreebsdx8664gcc;; hp-ux:ia64:*) arch=hpuxia64acc ;; hp-ux:*:*) arch=hpuxacc ;; hurd*:*:*) arch=hurddeb ;; @@ -1950,7 +1952,7 @@ fi fi -if test "x$platform" = "xlinux" ; then +if test "x$platform" = "xlinux" -o "x$platform" = "xkfreebsd" ; then linuxdist= if `$cwhich lsb_release > /dev/null 2>&1` ; then if lsb_release -d | grep -i 'ubuntu' > /dev/null 2>& 1; then @@ -4213,7 +4215,7 @@ # bonjourcppflags= case $platform in - linux|macosx|ios) + linux|kfreebsd|macosx|ios) ;; *) if test "x$enable_bonjour" = "xyes" ; then @@ -6294,7 +6296,7 @@ message "Checking whether to build libMemStat" if test "x$enable_memstat" = "xyes" || test ! "x$MEMSTAT" = "x"; then case $arch in - linux*|macos*) + linux*|macos*|kfreebsd*) enable_memstat="yes" ;; *) enable_memstat="no" ;; --- a/core/base/inc/RConfig.h +++ b/core/base/inc/RConfig.h @@ -355,6 +355,22 @@ # define HAS_STRLCPY #endif +#if defined(__FreeBSD_kernel__) +# define R__kFBSD +# define R__UNIX +# define R__BYTESWAP +# if defined(__i386__) +# ifndef __i486__ +# define __i486__ /* turn off if you really want to run on an i386 */ +# endif +# endif +# if defined(__amd64__) +# define R__B64 +# endif +# define R__GLIBC +# define R__THROWNEWDELETE /* new/delete throw exceptions */ +#endif + #if defined(__OpenBSD__) # define R__OBSD # define R__UNIX --- a/core/unix/src/TUnixSystem.cxx +++ b/core/unix/src/TUnixSystem.cxx @@ -60,7 +60,7 @@ #if defined(R__AIX) || defined(R__LINUX) || defined(R__ALPHA) || \ defined(R__SGI) || defined(R__HIUX) || defined(R__FBSD) || \ defined(R__OBSD) || defined(R__LYNXOS) || defined(R__MACOSX) || \ - defined(R__HURD) + defined(R__HURD) || defined(R__kFBSD) # include #endif #if defined(R__AIX) || defined(R__SOLARIS) --- a/graf3d/gl/src/TGLFaceSet.cxx +++ b/graf3d/gl/src/TGLFaceSet.cxx @@ -34,7 +34,7 @@ { #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER) typedef GLvoid (*tessfuncptr_t)(...); -#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) +#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) typedef GLvoid (*tessfuncptr_t)(); #elif defined (WIN32) typedef GLvoid (CALLBACK *tessfuncptr_t)(); --- a/graf3d/gl/src/TGLPadUtils.cxx +++ b/graf3d/gl/src/TGLPadUtils.cxx @@ -556,7 +556,7 @@ extern "C" { #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER) typedef GLvoid (*tess_t)(...); -#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__) +#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) typedef GLvoid (*tess_t)(); #elif defined ( WIN32) typedef GLvoid (CALLBACK *tess_t)( ); --- a/graf3d/gl/src/TGLUtil.cxx +++ b/graf3d/gl/src/TGLUtil.cxx @@ -1423,7 +1423,7 @@ { #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER) typedef GLvoid (*tessfuncptr_t)(...); -#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) +#elif defined(__mips) || defined(__linux__) || defined(__FreeBSD__) || defined( __OpenBSD__ ) || defined(__sun) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__FreeBSD_kernel__) typedef GLvoid (*tessfuncptr_t)(); #elif defined (WIN32) typedef GLvoid (CALLBACK *tessfuncptr_t)(); --- a/montecarlo/eg/inc/cfortran.h +++ b/montecarlo/eg/inc/cfortran.h @@ -168,7 +168,7 @@ #if defined(__CYGWIN__) /* 04/11/02 LEB (CFITSIO) */ #define f2cFortran #endif -#if defined(__GNUC__) && defined(linux) /* 06/21/00 PDW (CFITSIO) */ +#if defined(__GNUC__) && (defined(linux) || defined(__GLIBC__)) /* 06/21/00 PDW (CFITSIO) */ #define f2cFortran #endif #if defined(macintosh) /* 11/1999 (CFITSIO) */ --- a/net/rpdutils/src/daemon.cxx +++ b/net/rpdutils/src/daemon.cxx @@ -53,7 +53,7 @@ #if defined(linux) || defined(__hpux) || defined(__sun) || defined(__sgi) || \ defined(_AIX) || defined(__FreeBSD__) || defined(__OpenBSD__) || \ - defined(__APPLE__) || defined(__MACH__) || \ + defined(__APPLE__) || defined(__MACH__) || defined(__FreeBSD_kernel__) || \ (defined(__CYGWIN__) && defined(__GNUC__)) #define USE_SETSID #endif --- a/net/rpdutils/src/rpdutils.cxx +++ b/net/rpdutils/src/rpdutils.cxx @@ -190,7 +190,7 @@ //--- Machine specific routines ------------------------------------------------ #if defined(__alpha) && !defined(linux) && !defined(__FreeBSD__) && \ - !defined(__OpenBSD__) + !defined(__OpenBSD__) || defined(__FreeBSD_kernel__) extern "C" int initgroups(const char *name, int basegid); #endif @@ -209,7 +209,7 @@ #endif #if !defined(__hpux) && !defined(linux) && !defined(__FreeBSD__) && \ - !defined(__OpenBSD__) || defined(cygwingcc) + !defined(__OpenBSD__) && !defined(__FreeBSD_kernel__) || defined(cygwingcc) static int setresgid(gid_t r, gid_t e, gid_t) { if (setgid(r) == -1) --- a/build/unix/makelib.sh +++ b/build/unix/makelib.sh @@ -65,7 +65,7 @@ EXPLLNKCORE="-Llib -lCint" fi fi - if [ $PLATFORM = "linux" ] || [ $PLATFORM = "linux-k1om" ]; then + if [ $PLATFORM = "linux" ] || [ $PLATFORM = "linux-k1om" ] || [ $PLATFORM = "kfreebsd" ]; then if [ -z "$EXPLLNKCORE" ]; then EXPLLNKCORE=" -ldl" else --- a/core/pcre/Module.mk +++ b/core/pcre/Module.mk @@ -8,7 +8,7 @@ ifneq ($(BUILTINPCRE), yes) -PCRELIBF := $(shell pcre-config --libs) +PCRELIBF := $(shell pcre-config --libs | sed -e 's|-Wl,-R.* ||') PCREINC := $(shell pcre-config --cflags) PCRELIB := $(filter -l%,$(PCRELIBF)) PCRELDFLAGS := $(filter-out -l%,$(PCRELIBF)) debian/patches/42-fix-typo-independant-independent.patch0000644000000000000000000000134212253755630020432 0ustar diff --git a/core/utils/src/SelectionRules.cxx b/core/utils/src/SelectionRules.cxx index 7248df2..aa3c647 100644 --- a/core/utils/src/SelectionRules.cxx +++ b/core/utils/src/SelectionRules.cxx @@ -955,7 +955,7 @@ const BaseSelectionRule *SelectionRules::IsLinkdefVarFunEnumSelected(clang::Decl } -// In rootcint we could select and deselect methods independantly of the class/struct/union rules +// In rootcint we could select and deselect methods independently of the class/struct/union rules // That's why we first have to check the explicit rules for the functions - to see if there // is rule corresponding to our method. // Which is more - if we have (and we can have) a pattern for the parent class, than a pattern for the debian/patches/54-fix-typo-auxilliary-auxiliary.patch0000644000000000000000000000077312253755630020050 0ustar --- a/test/stressProof.cxx +++ b/test/stressProof.cxx @@ -3748,7 +3748,7 @@ // Load special class for event ranges checks if (gProof->Load(TString::Format("%s,%s", gProcFileElem.Data(), gEmptyInclude.Data())) != 0) { gProof->SetPrintProgress(0); - printf("\n >>> Test failure: could not load auxilliary files %s and %s\n", + printf("\n >>> Test failure: could not load auxiliary files %s and %s\n", gProcFileElem.Data(), gEmptyInclude.Data()); return -1; } debian/root-system-proofd.default0000644000000000000000000000123712253755630014343 0ustar # Defaults for proofd initscript # sourced by /etc/init.d/proofd # installed at /etc/default/proofd by the maintainer scripts # # Please refer to the proofd(1) man(1) page for more information on # command line parameters. # # This is a POSIX shell fragment # # Whether to enable proofd via SYSV init scripts. Please note, that # you can not enable both proofd via both inetd and SYSV init, and # inetd will reserve the port 1093 for it self. ENABLE_PROOFD= # Additional options that are passed to the Daemon. DAEMON_OPTS= # Specify your base of your PROOF directory here. If left blank, it # will use the system default (e.g., /usr/share/root/proof). PROOF_DIR= debian/compat0000644000000000000000000000000212253755630010374 0ustar 5 debian/control0000644000000000000000000023135712253755630010614 0ustar Source: root-system Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun Homepage: http://root.cern.ch Build-Depends: debhelper (>= 5.0.37.2), lsb-release, autotools-dev, po-debconf, libssl-dev, comerr-dev, libxpm-dev, libltdl-dev, x11proto-xext-dev, libxext-dev, libfreetype6-dev, libpcre3-dev, zlib1g-dev | libz-dev, liblzma-dev, python-dev (>= 2.1), graphviz, ttf-freefont, libncurses5-dev, libgraphviz-dev, libavahi-core-dev, libsqlite3-dev, libxft-dev, python-support (>= 0.3), ruby, ruby-dev, libglu1-mesa-dev| xlibmesa-glu-dev | libglu-dev, libglew-dev, libftgl-dev, libgl2ps-dev, libxml2-dev, libgsl0-dev, libavahi-compat-libdnssd-dev, libldap2-dev | libldap-dev, libjpeg-dev, libpng12-dev, libtiff-dev, libafterimage-dev, libgif-dev, libxinerama-dev, libfftw3-dev | fftw3-dev, libpythia8-dev, libglobus-gss-assist-dev, libglobus-gsi-credential-dev, libglobus-common-dev, libglobus-gsi-sysconfig-dev, libglobus-gssapi-gsi-dev, libglobus-gsi-callback-dev, libglobus-gsi-cert-utils-dev, libglobus-openssl-module-dev, libglobus-gsi-proxy-core-dev, libglobus-callout-dev, globus-proxy-utils,krb5-user|heimdal-clients, libmysqlclient-dev, libiodbc2-dev | unixodbc-dev, libpq-dev, gfortran|fortran-compiler, libqt4-dev (>= 4.3.0) | libqt3-mt-dev (>= 3.3.0), qt4-dev-tools (>= 4.3.0) | qt3-dev-tools (>= 3.3.0), libqt4-opengl-dev, libkrb5-dev|heimdal-dev Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/debian-science/packages/root-system.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/root-system.git Package: root-system Architecture: all Depends: root-system-bin, libroot-core-dev, ${misc:Depends} Recommends: libroot-graf3d-gl-dev (>= ${binary:Version}), libroot-io-xmlparser-dev (>= ${binary:Version}), libroot-math-mathmore-dev (>= ${binary:Version}), libroot-math-unuran-dev (>= ${binary:Version}), libroot-misc-memstat-dev (>= ${binary:Version}), libroot-misc-table-dev (>= ${binary:Version}), libroot-net-bonjour-dev (>= ${binary:Version}), libroot-net-ldap-dev (>= ${binary:Version}), root-plugin-graf2d-asimage (>= ${binary:Version}), root-plugin-gui-qt (>= ${binary:Version}), root-plugin-graf2d-qt (>= ${binary:Version}), root-plugin-math-fftw3 (>= ${binary:Version}), root-plugin-math-minuit2 (>= ${binary:Version}), root-plugin-net-krb5 (>= ${binary:Version}), root-plugin-sql-odbc (>= ${binary:Version}), libroot-geom-dev (>= ${binary:Version}), libroot-graf2d-gpad-dev (>= ${binary:Version}), libroot-graf2d-graf-dev (>= ${binary:Version}), libroot-graf2d-postscript-dev (>= ${binary:Version}), libroot-graf3d-eve-dev (>= ${binary:Version}), libroot-graf3d-g3d-dev (>= ${binary:Version}), libroot-gui-dev (>= ${binary:Version}), libroot-gui-ged-dev (>= ${binary:Version}), libroot-hist-dev (>= ${binary:Version}), libroot-hist-spectrum-dev (>= ${binary:Version}), libroot-html-dev (>= ${binary:Version}), libroot-io-dev (>= ${binary:Version}), libroot-math-foam-dev (>= ${binary:Version}), libroot-math-genvector-dev (>= ${binary:Version}), libroot-math-mathcore-dev (>= ${binary:Version}), libroot-math-matrix-dev (>= ${binary:Version}), libroot-math-minuit-dev (>= ${binary:Version}), libroot-math-mlp-dev (>= ${binary:Version}), libroot-math-physics-dev (>= ${binary:Version}), libroot-math-quadp-dev (>= ${binary:Version}), libroot-math-smatrix-dev (>= ${binary:Version}), libroot-math-splot-dev (>= ${binary:Version}), libroot-misc-minicern-dev (>= ${binary:Version}), libroot-montecarlo-eg-dev (>= ${binary:Version}), libroot-montecarlo-vmc-dev (>= ${binary:Version}), libroot-net-dev (>= ${binary:Version}), libroot-net-auth-dev (>= ${binary:Version}), libroot-proof-dev (>= ${binary:Version}), libroot-proof-proofplayer-dev (>= ${binary:Version}), libroot-tmva-dev (>= ${binary:Version}), libroot-tree-dev (>= ${binary:Version}), libroot-tree-treeplayer-dev (>= ${binary:Version}), root-plugin-geom-geombuilder (>= ${binary:Version}), root-plugin-geom-geompainter (>= ${binary:Version}), root-plugin-graf2d-x11 (>= ${binary:Version}), root-plugin-graf3d-x3d (>= ${binary:Version}), root-plugin-gui-fitpanel (>= ${binary:Version}), root-plugin-gui-guibuilder (>= ${binary:Version}), root-plugin-gui-sessionviewer (>= ${binary:Version}), root-plugin-hist-hbook (>= ${binary:Version}), root-plugin-hist-histpainter (>= ${binary:Version}), root-plugin-hist-spectrumpainter (>= ${binary:Version}), root-plugin-io-sql (>= ${binary:Version}), root-plugin-io-xml (>= ${binary:Version}), root-plugin-math-fumili (>= ${binary:Version}), root-plugin-tree-treeviewer (>= ${binary:Version}), root-system-proofd (>= ${binary:Version}), root-system-rootd (>= ${binary:Version}), root-system-doc (>= ${binary:Version}) Suggests: libroot-bindings-python-dev (>= ${binary:Version}), libroot-bindings-ruby-dev (>= ${binary:Version}), libroot-roofit-dev (>= ${binary:Version}), root-plugin-geom-gdml (>= ${binary:Version}), root-plugin-montecarlo-pythia8 (>= ${binary:Version}), root-plugin-net-globus (>= ${binary:Version}), root-plugin-sql-mysql (>= ${binary:Version}), root-plugin-sql-pgsql (>= ${binary:Version}) Description: metapackage to install all ROOT packages The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . With the data defined as a set of objects, specialized storage methods can give direct access to the separate attributes of the selected objects, without having to touch the bulk of the data. Included are histogramming methods in 1, 2 and 3 dimensions, curve fitting, function evaluation, minimization, graphics and visualization classes to allow the easy creation of an analysis system that can query and process the data interactively or in batch mode. . The command language, the scripting (or macro) language, and the programming language are all C++, thanks to the built-in CINT C++ interpreter. This interpreter removes the time consuming compile/link cycle, allowing for fast prototyping of the macros, and providing a good environment to learn C++. If more performance is needed, the interactively developed macros can be compiled using a C++ compiler. . The system has been designed in such a way that it can query its databases in parallel on MPP machines or on clusters of workstations or high-end PCs. ROOT is an open system that can be dynamically extended by linking external libraries. This makes ROOT a premier platform on which to build data acquisition, simulation and data analysis systems. . This package is a metapackage to ensure the installation of all possible ROOT packages on a system. Package: libroot-bindings-python5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, python-support Provides: ${python:Provides} Replaces: root-plugin-python (<< 5.09.01-1) Breaks: libroot-bindings-python-dev (<< 5.34.01-1~exp1) Description: Python extension for ROOT - runtime libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Python plug-in for ROOT. This package provide a Python interface to ROOT, and a ROOT interface to Python. Package: libroot-bindings-python-dev Architecture: any Section: libdevel Depends: libroot-bindings-python5.34 (= ${binary:Version}), libroot-core-dev, python-dev (>= 2.1), ${python:Depends}, ${misc:Depends} Replaces: libroot-python-dev Breaks: libroot-python-dev (<< 5.19.01-1) Description: Python extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of Python plug-in for ROOT. Package: libroot-bindings-ruby5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-ruby (<< 5.09.01-1) Description: Ruby extension for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Ruby extension for ROOT. The interface goes both ways - that is, you can call ROOT functions from Ruby, and invoke the Ruby interpreter from ROOT. Package: libroot-bindings-ruby-dev Architecture: any Section: libdevel Depends: libroot-bindings-ruby5.34 (= ${binary:Version}), libroot-core-dev, ruby1.9.1-dev | ruby-dev (>= 4.9), ${misc:Depends} Breaks: libroot-ruby (<< 5.19.01-1) Replaces: libroot-ruby Description: Ruby extension for ROOT - development headers The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Ruby extension for ROOT. Package: libroot-graf3d-gl5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: root-plugin-graf3d-gl (<< 5.19.00-1) Replaces: root-plugin-graf3d-gl (<< 5.19.00-1) Provides: root-plugin-graf3d-gl Description: GL plugin for ROOT - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the GL plug-in for ROOT. This plugin provides 3D rendering of volumes and shapes defined in ROOT, as well as 3D rendering of histograms, and similar. Included is also a high quality 3D viewer for ROOT defined geometries. Package: libroot-graf3d-gl-dev Architecture: any Section: libdevel Depends: libroot-graf3d-gl5.34 (= ${binary:Version}), libgl2ps-dev, ${misc:Depends} Breaks: root-plugin-graf3d-gl (<< 5.19.00-1) Replaces: root-plugin-graf3d-gl Description: GL plugin for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the GL plug-in for ROOT. This plugin provides 3D rendering of volumes and shapes defined in ROOT. Included is also a high quality 3D viewer for ROOT defined geometries. Package: libroot-io-xmlparser5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: XML parser of ROOT objects - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides XML parser routines for ROOT objects. Package: libroot-io-xmlparser-dev Architecture: any Section: libdevel Depends: libroot-io-xmlparser5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev, root-plugin-xml Breaks: libroot-dev (<< 5.19.01-1), root-plugin-xml (<< 5.19.01-1) Description: XML parser of ROOT objects - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides development files of XML parser routines for ROOT objects. Package: libroot-math-mathmore5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: GSL interface library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MathMore library for ROOT, a partial GNU Scientific Library interface. Package: libroot-math-mathmore-dev Architecture: any Section: libdevel Depends: libroot-math-mathmore5.34 (= ${binary:Version}), libroot-core-dev, libgsl0-dev, ${misc:Depends} Breaks: libroot-mathmore-dev (<< 5.19.01-1) Replaces: libroot-mathmore-dev Description: GSL interface library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the MathMore library for ROOT, a partial GNU Scientific Library interface. Package: libroot-math-unuran5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://statistik.wu-wien.ac.at/unuran/ Description: Random number generator library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . It contains universal (also called automatic or black-box) algorithms that can generate random numbers from large classes of continuous or discrete distributions, and also from practically all standard distributions. . To generate random numbers the user must supply some information about the desired distribution, especially a C-function that computes the density and - depending on the chosen methods - some additional information (like the borders of the domain, the mode, the derivative of the density ...). After a user has given this information an init-program computes all tables and constants necessary for the random variate generation. The sample program can then generate variates from the desired distribution. . This package contains the runtime library. Package: libroot-math-unuran-dev Architecture: any Section: libdevel Depends: libroot-math-unuran5.34 (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-unuran-dev Breaks: libroot-unuran-dev (<< 5.19.01-1) Homepage: http://statistik.wu-wien.ac.at/unuran/ Description: Random number generator library - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . It contains universal (also called automatic or black-box) algorithms that can generate random numbers from large classes of continuous or discrete distributions, and also from practically all standard distributions. . To generate random numbers the user must supply some information about the desired distribution, especially a C-function that computes the density and - depending on the chosen methods - some additional information (like the borders of the domain, the mode, the derivative of the density ...). After a user has given this information an init-program computes all tables and constants necessary for the random variate generation. The sample program can then generate variates from the desired distribution. . This package contains the development files Package: libroot-misc-memstat5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Memory statistics tool for use with ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the memory statistics tool for debugging memory leaks and such. Package: libroot-misc-memstat-dev Architecture: any Section: libdevel Depends: libroot-misc-memstat5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Memory statistics tool for use with ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of memory statistics tool for debugging memory leaks and such. Package: libroot-misc-table5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Table library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Table library for ROOT. Package: libroot-misc-table-dev Architecture: any Section: libdevel Depends: libroot-misc-table5.34 (= ${binary:Version}), libroot-graf3d-g3d-dev, libroot-graf2d-gpad-dev, libroot-tree-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Table library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of Table library for ROOT. Package: libroot-net-bonjour5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Zeroconf extension for ROOT - run-time libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains classes for declaring zeroconf services, as well as browsing for such services. This package contains the run-time libraries Package: libroot-net-bonjour-dev Architecture: any Section: libdevel Depends: libroot-net-bonjour5.34 (= ${binary:Version}), libroot-core-dev, libavahi-compat-libdnssd-dev , ${misc:Depends} Description: Zeroconf extension for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains classes for declaring zeroconf services, as well as browsing for such services. This package contains the development libraries and headers. Package: libroot-net-ldap5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-ldap (<< 5.09.01-1) Description: LDAP extension for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the LDAP plugin for ROOT. This gives you access to LDAP directories via ROOT. Package: libroot-net-ldap-dev Architecture: any Section: libdevel Depends: libroot-net-ldap5.34 (= ${binary:Version}), libroot-core-dev, libldap2-dev | libldap-dev, ${misc:Depends} Breaks: libroot-ldap-dev (<< 5.19.01-1) Replaces: libroot-ldap-dev (<< 5.19.01-1) Description: LDAP extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of LDAP plugin for ROOT. Package: libroot-roofit5.34 Architecture: any Section: libs Depends: ${shlibs:Depends}, libroot-math-minuit5.34 | root-fitter, ${misc:Depends} Homepage: http://roofit.sourceforge.net/ Replaces: root-plugin-roofit (<< 5.09.01-1) Description: ROOT extension for modeling expected distributions - libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The RooFit packages provide a toolkit for modeling the expected distribution of events in a physics analysis. Models can be used to perform likelihood fits, produce plots, and generate "toy Monte Carlo" samples for various studies. The RooFit tools are integrated with the object-oriented and interactive ROOT graphical environment. . RooFit has been developed for the BaBar collaboration, a high energy physics experiment at the Stanford Linear Accelerator Center, and is primarily targeted to the high-energy physicists using the ROOT analysis environment, but the general nature of the package make it suitable for adoption in different disciplines as well. Package: libroot-roofit-dev Architecture: any Section: libdevel Homepage: http://roofit.sourceforge.net/ Depends: libroot-roofit5.34 (= ${binary:Version}), libroot-graf2d-graf-dev, libroot-tree-dev, ${misc:Depends} Description: ROOT extension for modeling expected distributions - development The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The RooFit packages provide a toolkit for modeling the expected distribution of events in a physics analysis. Models can be used to perform likelihood fits, produce plots, and generate "toy Monte Carlo" samples for various studies. The RooFit tools are integrated with the object-oriented and interactive ROOT graphical environment. . RooFit has been developed for the BaBar collaboration, a high energy physics experiment at the Stanford Linear Accelerator Center, and is primarily targeted to the high-energy physicists using the ROOT analysis environment, but the general nature of the package make it suitable for adoption in different disciplines as well. . This package provides development files of RooFit. Package: root-plugin-graf2d-asimage Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: AfterImage plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the AfterImage plug-in for ROOT, which allows you to store output graphics in many formats, including JPEG, PNG, SVG, etc. Package: root-plugin-geom-gdml Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, python-support, ${python:Depends}, ${misc:Depends} Description: GDML import/export module for ROOT geometries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains an import/export module for the ROOT geometry. Package: root-plugin-gui-qt Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Qt plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Qt plug-in for ROOT. This plugin provides an abstraction over a display. Windows are created via Qt. Package: root-plugin-graf2d-qt Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Graf2d Qt plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Graf2d Qt plug-in for ROOT. This plugin provides Qt interfaces of Graf2d library. Package: root-plugin-math-fftw3 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://fftw.org/ Description: FFTw plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Fast Fourier Transform extension for ROOT. It uses the very fast fftw (version 3) library. Package: root-plugin-math-minuit2 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-fitter Description: Minuit version 2 plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MINUIT version 2 plug-in for ROOT. This provides an fitting algorithm for ROOT. Package: root-plugin-montecarlo-pythia8 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Pythia version 8 plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Pythia version 8 plug-in for ROOT. This package provide the ROOT user with transparent interface to the Pythia (version 8) event generators for hadronic interactions. If the term "hadronic" does not ring any bells, this package is not for you. Package: root-plugin-net-globus Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: globus-proxy-utils, ${shlibs:Depends}, ${misc:Depends} Homepage: http://www.globus.org Description: Globus plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Globus plug-in for ROOT, that allows authentication and authorization against globus. Package: root-plugin-net-krb5 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, krb5-user | heimdal-clients, ${misc:Depends} Description: Kerberos (version 5) plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Kerberos (version 5) plug-in for ROOT, that allows authentication and authorisation using Kerberos tokens. Package: root-plugin-sql-mysql Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Description: MySQL client plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MySQL plug-in for ROOT. This plugin provides a thin client (interface) to MySQL servers. Using this client, one can obtain information from a MySQL database into the ROOT environment. Package: root-plugin-sql-odbc Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Homepage: http://unixodbc.org or http://iodbc.org Description: ODBC plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the ODBC (Open DataBase Connectivity) plug-in for ROOT, that allows transparent access to any kind of database that supports the ODBC protocol. Package: root-plugin-sql-pgsql Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Description: PostgreSQL client plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PostGreSQL plug-in for ROOT. This plugin provides a thin client (interface) to PostGreSQL servers. Using this client, one can obtain information from a PostGreSQL database into the ROOT environment. Package: libroot-geom5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-graf3d-gl5.34 (>= ${binary:Version}), root-plugin-geom-gdml, root-plugin-geom-geombuilder, root-plugin-geom-geompainter Description: Geometry library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for defining geometries in ROOT. Package: libroot-geom-dev Architecture: any Section: libdevel Depends: libroot-geom5.34 (= ${binary:Version}), libroot-math-mathcore-dev, ${misc:Depends} Recommends: libroot-graf3d-gl-dev Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Geometry library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for defining geometries in ROOT. Package: libroot-graf2d-gpad5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Canvas and pad library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for canvas and pad manipulations. Package: libroot-graf2d-gpad-dev Architecture: any Section: libdevel Depends: libroot-graf2d-gpad5.34 (= ${binary:Version}), libroot-graf2d-graf-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Canvas and pad library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for canvas and pad manipulations. Package: libroot-graf2d-graf5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Graf library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Graf library for ROOT. Package: libroot-graf2d-graf-dev Architecture: any Section: libdevel Depends: libroot-graf2d-graf5.34 (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Graf library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Graf library for ROOT. Package: libroot-graf2d-postscript5.34 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Postscript/PDF renderer library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for ROOT, which allows rendering postscript and PDF output. Package: libroot-graf2d-postscript-dev Architecture: any Section: libdevel Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Depends: libroot-graf2d-postscript5.34 (= ${binary:Version}), libroot-graf2d-graf-dev, ${shlibs:Depends}, ${misc:Depends} Description: Postscript/PDF renderer library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains developemnt files of a library for ROOT, which allows rendering postscript and PDF output. Package: libroot-graf3d-eve5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: root-plugin-gl (<= 5.19.01-1) Replaces: root-plugin-gl (<= 5.19.01-1) Description: Event display library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for defining event displays in ROOT. Package: libroot-graf3d-eve-dev Architecture: any Section: libdevel Depends: libroot-graf3d-eve5.34 (= ${binary:Version}), libroot-geom-dev, libroot-gui-ged-dev, libroot-montecarlo-eg-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Replaces: root-plugin-gl Breaks: root-plugin-gl (<= 5.19.01-1) Description: Event display library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for defining event displays in ROOT. Package: libroot-graf3d-g3d5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-graf3d-gl5.34 (>= ${binary:Version}) Suggests: libroot-geom5.34 Description: Basic 3D shapes for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This library contains the basic 3D shapes and classes for ROOT. For a more full-blown geometry library, see libroot-geom. Package: libroot-graf3d-g3d-dev Architecture: any Section: libdevel Depends: libroot-graf3d-g3d5.34 (= ${binary:Version}), libroot-graf2d-gpad-dev, ${misc:Depends} Recommends: libroot-graf3d-gl-dev Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Suggests: libroot-geom-dev Description: Basic 3D shapes for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This library contains development files of the basic 3D shapes and classes for ROOT. For a more full-blown geometry library, see libroot-geom-dev. Package: libroot-gui5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: libroot (<< 5.19.01-1) Recommends: root-plugin-gui-guibuilder Description: GUI library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for defining graphical user interfaces. Package: libroot-gui-dev Architecture: any Section: libdevel Depends: libroot-gui5.34 (= ${binary:Version}), libroot-graf2d-gpad-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: GUI library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for defining graphical user interfaces. Package: libroot-gui-ged5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI element for editing various ROOT objects The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library to show a pop-up window for editing various ROOT objects. Package: libroot-gui-ged-dev Architecture: any Section: libdevel Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: libroot-gui-ged5.34 (= ${binary:Version}), libroot-gui-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Description: GUI element for editing various ROOT objects - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library to show a pop-up window for editing various ROOT objects. Package: libroot-hist5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-plugin-hist-histpainter Description: Histogram library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for histogramming. Package: libroot-hist-dev Architecture: any Section: libdevel Depends: libroot-hist5.34 (= ${binary:Version}), libroot-core-dev, libroot-math-matrix-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Histogram library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for histogramming. Package: libroot-hist-spectrum5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Spectra analysis library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Spectrum library for ROOT. Package: libroot-hist-spectrum-dev Architecture: any Section: libdevel Depends: libroot-hist-spectrum5.34 (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Spectra analysis library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Spectrum library for ROOT. Package: libroot-html5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Html documentation generator for ROOT - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains classes to automatically extract documentation from marked up sources. Package: libroot-html-dev Architecture: any Section: libdevel Depends: libroot-html5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Html documentation generator for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of classes to automatically extract documentation from marked up sources. Package: libroot-io5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Input/output of ROOT objects - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides I/O routines for ROOT objects. Package: libroot-io-dev Architecture: any Section: libdevel Depends: libroot-io5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev, root-plugin-proof Breaks: libroot-dev (<< 5.19.01-1), root-plugin-proof (<< 5.19.01-1) Description: Input/output of ROOT objects - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides development files of I/O routines for ROOT objects. Package: libroot-math-foam5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Compact Version of Cellular Event Generator The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The general-purpose self-adapting Monte Carlo (MC) event generator/simulator mFOAM (standing for mini-FOAM) is a new compact version of the FOAM program, with a slightly limited functionality with respect to its parent version. On the other hand, mFOAM is easier to use for the average user. Package: libroot-math-foam-dev Architecture: any Section: libdevel Depends: libroot-math-foam5.34 (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Compact Version of Cellular Event Generator - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The general-purpose self-adapting Monte Carlo (MC) event generator/simulator mFOAM (standing for mini-FOAM) is a new compact version of the FOAM program, with a slightly limited functionality with respect to its parent version. On the other hand, mFOAM is easier to use for the average user. . This package provides development files of the compact version of Cellular Event Generator. Package: libroot-math-genvector5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Generalized vector library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Genvector library for ROOT. This provides a generalized vector library. Package: libroot-math-genvector-dev Architecture: any Section: libdevel Depends: libroot-math-genvector5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Generalized vector library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Genvector library for ROOT, provides a generalized vector library. Package: libroot-math-mathcore5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Core mathemathics library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MathCore library for ROOT. Package: libroot-math-mathcore-dev Architecture: any Section: libdevel Depends: libroot-math-mathcore5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Core mathemathics library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the MathCore library for ROOT. Package: libroot-math-matrix5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Matrix library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Matrix library for ROOT. Package: libroot-math-matrix-dev Architecture: any Section: libdevel Depends: libroot-math-matrix5.34 (= ${binary:Version}), libroot-core-dev, libroot-math-mathcore-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Matrix library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Matrix library for ROOT. Package: libroot-math-minuit5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-minuit (<< 5.09.01-7) Provides: libroot-math-minuit Description: Minuit plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MINUIT plug-in for ROOT. This provides a fitting algorithm for ROOT. Package: libroot-math-minuit-dev Architecture: any Section: libdevel Depends: libroot-math-minuit5.34 (= ${binary:Version}), libroot-graf2d-graf-dev, ${misc:Depends} Provides: root-fitter Replaces: root-plugin-minuit (<< 5.09.01-7), libroot-minuit-dev Breaks: libroot-minuit-dev (<< 5.19.01-1) Description: Minuit plugin for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the MINUIT plug-in for ROOT, provides a fitting algorithm for ROOT. Package: libroot-math-mlp5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-mlp (<< 5.09.01-1) Description: Multi layer perceptron extension for ROOT - run-time libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the mlp plug-in for ROOT. This plugin provides a Multi Layer Perceptron Neural Network package for ROOT. Package: libroot-math-mlp-dev Architecture: any Section: libdevel Depends: libroot-math-mlp5.34 (= ${binary:Version}), libroot-graf2d-gpad-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Conflicts: libroot-mlp-dev Replaces: libroot-mlp-dev (<< 5.19.01-1) Description: Multi layer perceptron extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the mlp plug-in for ROOT, provides a Multi Layer Perceptron Neural Network package for ROOT. Package: libroot-math-physics5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Physics library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Physics library for ROOT. Package: libroot-math-physics-dev Architecture: any Section: libdevel Depends: libroot-math-physics5.34 (= ${binary:Version}), libroot-math-matrix-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Physics library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Physics library for ROOT. Package: libroot-math-quadp5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-quadp (<< 5.09.01-1) Description: QuadP extension for ROOT - run-time libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the QuadP plug-in for ROOT. This provides the user a framework in which to do Quadratic Programming. The quadratic programming problem involves minimization of a quadratic function subject to linear constraints. Package: libroot-math-quadp-dev Architecture: any Section: libdevel Depends: libroot-math-quadp5.34 (= ${binary:Version}), libroot-math-matrix-dev, ${misc:Depends} Replaces: libroot-quadp Breaks: libroot-quadp (<< 5.19.01-1) Description: QuadP extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the QuadP plug-in for ROOT. This provides the user a framework in which to do Quadratic Programming. The quadratic programming problem involves minimization of a quadratic function subject to linear constraints. Package: libroot-math-smatrix5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Sparse matrix library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Smatrix library for ROOT. Package: libroot-math-smatrix-dev Architecture: any Section: libdevel Depends: libroot-math-smatrix5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Sparse matrix library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Smatrix library for ROOT. Package: libroot-math-splot5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Splot library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . A common method used in High Energy Physics to perform measurements is the maximum Likelihood method, exploiting discriminating variables to disentangle signal from background. The crucial point for such an analysis to be reliable is to use an exhaustive list of sources of events combined with an accurate description of all the Probability Density Functions (PDF). . To assess the validity of the fit, a convincing quality check is to explore further the data sample by examining the distributions of control variables. A control variable can be obtained for instance by removing one of the discriminating variables before performing again the maximum Likelihood fit: this removed variable is a control variable. The expected distribution of this control variable, for signal, is to be compared to the one extracted, for signal, from the data sample. In order to be able to do so, one must be able to unfold from the distribution of the whole data sample. . The SPlot method allows one to reconstruct the distributions for the control variable, independently for each of the various sources of events, without making use of any a priori knowledge on this variable. The aim is thus to use the knowledge available for the discriminating variables to infer the behaviour of the individual sources of events with respect to the control variable. . SPlot is optimal if the control variable is uncorrelated with the discriminating variables. Package: libroot-math-splot-dev Architecture: any Section: libdevel Depends: libroot-math-splot5.34 (= ${binary:Version}), libroot-graf2d-graf-dev, libroot-graf3d-g3d-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Splot library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . A common method used in High Energy Physics to perform measurements is the maximum Likelihood method, exploiting discriminating variables to disentangle signal from background. The crucial point for such an analysis to be reliable is to use an exhaustive list of sources of events combined with an accurate description of all the Probability Density Functions (PDF). . To assess the validity of the fit, a convincing quality check is to explore further the data sample by examining the distributions of control variables. A control variable can be obtained for instance by removing one of the discriminating variables before performing again the maximum Likelihood fit: this removed variable is a control variable. The expected distribution of this control variable, for signal, is to be compared to the one extracted, for signal, from the data sample. In order to be able to do so, one must be able to unfold from the distribution of the whole data sample. . The SPlot method allows one to reconstruct the distributions for the control variable, independently for each of the various sources of events, without making use of any a priori knowledge on this variable. The aim is thus to use the knowledge available for the discriminating variables to infer the behaviour of the individual sources of events with respect to the control variable. . SPlot is optimal if the control variable is uncorrelated with the discriminating variables. . This package provides development files of Splot library for ROOT. Package: libroot-misc-minicern5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Small version of CERNLIB for use with ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the mini CERNLIB library for ROOT. Package: libroot-misc-minicern-dev Architecture: any Section: libdevel Depends: libroot-misc-minicern5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Small version of CERNLIB for use with ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the mini CERNLIB library for ROOT. Package: libroot-montecarlo-eg5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Event generator library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Eg library for ROOT. Package: libroot-montecarlo-eg-dev Architecture: any Section: libdevel Depends: libroot-montecarlo-eg5.34 (= ${binary:Version}), libroot-graf2d-gpad-dev, libroot-graf3d-g3d-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Event generator library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Eg library for ROOT. Package: libroot-montecarlo-vmc5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-vmc Description: Virtual Monte-Carlo library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Vmc library for ROOT. Package: libroot-montecarlo-vmc-dev Architecture: any Section: libdevel Depends: libroot-montecarlo-vmc5.34 (= ${binary:Version}), libroot-geom-dev, libroot-montecarlo-eg-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Virtual Monte-Carlo library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Vmc library for ROOT. Package: libroot-net5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Net library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Net library for ROOT. Package: libroot-net-dev Architecture: any Section: libdevel Depends: libroot-net5.34 (= ${binary:Version}), libroot-math-mathcore-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Net library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Net library for ROOT. Package: libroot-net-auth5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-authentication Description: Authentication extension for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the basic authentication algorithms used by ROOT. Package: libroot-net-auth-dev Architecture: any Section: libdevel Depends: libroot-net-auth5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1), libroot-core-dev (<< 5.30.00-1) Description: Authentication extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the basic authentication algorithms used by ROOT. Package: libroot-proof5.34 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Description: PROOF library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF library for ROOT. This provides a client to use in a PROOF environment. Package: libroot-proof-dev Architecture: any Section: libdevel Depends: libroot-proof5.34 (= ${binary:Version}), libroot-math-mathcore-dev, libroot-tree-dev, ${misc:Depends} Replaces: root-plugin-proof Breaks: root-plugin-proof (<< 5.19.01-1), libroot-proof-proofplayer-dev (<= 5.34.01-1~exp1) Description: PROOF library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the PROOF library for ROOT. This provides a client to use in a PROOF environment. Package: libroot-proof-proofplayer5.34 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Replaces: root-plugin-proof-proofplayer (<< 5.23.05-1) Breaks: root-plugin-proof-proofplayer (<< 5.23.05-1) Description: PROOF plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF extension for ROOT. This provides a client to use in a PROOF environment. Package: libroot-proof-proofplayer-dev Section: libdevel Architecture: any Depends: libroot-proof-proofplayer5.34 (= ${binary:Version}), libroot-proof-dev, ${misc:Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Replaces: root-plugin-proof-proofplayer (<< 5.23.05-1) Breaks: root-plugin-proof-proofplayer (<< 5.23.05-1) Description: PROOF plugin for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the PROOF extension for ROOT. This provides a client to use in a PROOF environment. Package: libroot-tmva5.34 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://tmva.sourceforge.net Description: Toolkit for multivariate data analysis The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The Toolkit for Multivariate Analysis (TMVA) provides a ROOT-integrated environment for the parallel processing and evaluation of MVA techniques to discriminate signal from background samples. It presently includes (ranked by complexity): . * Rectangular cut optimisation * Correlated likelihood estimator (PDE approach) * Multi-dimensional likelihood estimator (PDE - range-search approach) * Fisher (and Mahalanobis) discriminant * H-Matrix (chi-squared) estimator * Artificial Neural Network (two different implementations) * Boosted Decision Trees . The TMVA package includes an implementation for each of these discrimination techniques, their training and testing (performance evaluation). In addition all these methods can be tested in parallel, and hence their performance on a particular data set may easily be compared. Package: libroot-tmva-dev Architecture: any Section: libdevel Depends: libroot-tmva5.34 (= ${binary:Version}), libroot-math-mlp-dev, ${misc:Depends} Homepage: http://tmva.sourceforge.net Description: Toolkit for multivariate data analysis - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The Toolkit for Multivariate Analysis (TMVA) provides a ROOT-integrated environment for the parallel processing and evaluation of MVA techniques to discriminate signal from background samples. It presently includes (ranked by complexity): . * Rectangular cut optimisation * Correlated likelihood estimator (PDE approach) * Multi-dimensional likelihood estimator (PDE - range-search approach) * Fisher (and Mahalanobis) discriminant * H-Matrix (chi-squared) estimator * Artificial Neural Network (two different implementations) * Boosted Decision Trees . The TMVA package includes an implementation for each of these discrimination techniques, their training and testing (performance evaluation). In addition all these methods can be tested in parallel, and hence their performance on a particular data set may easily be compared. . This package provides development files of TMVA package for ROOT. Package: libroot-tree5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-tree-treeplayer5.34 | root-plugin-tree-treeviewer Description: Tree library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Tree library for ROOT. Package: libroot-tree-dev Architecture: any Section: libdevel Depends: libroot-tree5.34 (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Tree library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Tree library for ROOT. Package: libroot-tree-treeplayer5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library to loop over a ROOT tree The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . Plug-in to loop over a ROOT tree. Package: libroot-tree-treeplayer-dev Architecture: any Section: libdevel Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: libroot-tree-treeplayer5.34 (= ${binary:Version}), libroot-tree-dev, libroot-graf2d-gpad-dev, libroot-graf3d-g3d-dev, ${misc:Depends} Description: Library to loop over a ROOT tree - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides development files to loop over a ROOT tree. Package: root-plugin-geom-geombuilder Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: Geometry builder plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a geometry builder plugin for ROOT. Package: root-plugin-geom-geompainter Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: Geometry painter plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a geometry painter plugin for ROOT. Package: root-plugin-graf2d-x11 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Provides: root-system-display Depends: ${shlibs:Depends}, ${misc:Depends} Description: X window system plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the X11 plug-in for ROOT, which allows using an X display for showing graphics. Package: root-plugin-graf3d-x3d Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-plugin-graf3d-gl Description: X 3D plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the X 3D plug-in for ROOT. This plugin provides 3D rendering of volumes and shapes defined in ROOT. Included is also a low quality 3D viewer for ROOT defined geometries. Package: root-plugin-gui-fitpanel Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI element for fits plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in to show a pop-up dialog when fitting various kinds of data. Package: root-plugin-gui-guibuilder Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI editor plug-in for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in for editing graphical user interfaces in ROOT. Package: root-plugin-gui-sessionviewer Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI to browse an interactive PROOF session The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in browsing an interactive PROOF session in ROOT. Package: root-plugin-hist-hbook Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: root-plugin-hbook Replaces: root-plugin-hbook (<< 5.19.01-1) Description: Hbook plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Hbook plug-in for ROOT, allowing you to access legacy Hbook files (NTuples and Histograms from PAW). Package: root-plugin-hist-histpainter Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Depends: ${shlibs:Depends}, ${misc:Depends} Description: Histogram painter plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a painter of histograms for ROOT. Package: root-plugin-hist-spectrumpainter Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Spectrum painter plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a painter of spectra for ROOT. Package: root-plugin-io-sql Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-db-client | root-plugin-io-mysql Description: SQL plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the SQL plug-in for ROOT, that allows transparent access to files data via an SQL database, using ROOT's TFile interface. Package: root-plugin-io-xml Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: XML reader plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the XML reader plug-in for ROOT. This package provide a plug-in to parse XML files with ROOT. Package: root-plugin-math-fumili Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-fitter Description: Fumili plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the fumili plug-in for ROOT. This provides an alternative fitting algorithm for ROOT. Package: root-plugin-tree-treeviewer Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI to browse a ROOT tree The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in for browsing a ROOT tree in ROOT. Package: root-system-proofd Architecture: any Depends: root-system-common, lsb-base (>= 3.0-6), openbsd-inetd | inet-superserver, ${shlibs:Depends}, ${misc:Depends} Recommends: root-system-bin, libroot-dev, root-file-server | root-system-rootd Description: Parallel ROOt Facility - distributed, parallel computing The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF server. proofd is the core daemon of the PROOF (Parallel ROOt Facility) system for distributed parallel computing. Installing this package on a machine, makes it possible for the machine to participate in a parallel computing farm (cluster or via the Internet), either as a master or a slave, using a transparent interface. Package: root-system-rootd Architecture: any Depends: root-system-common, lsb-base (>= 3.0-6), adduser, openbsd-inetd | inet-superserver, ${shlibs:Depends}, ${misc:Depends} Recommends: root-system-bin, libroot-dev Provides: root-file-server Description: ROOT remote file server The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains ROOT file server. rootd is a server for ROOT files, serving files over the Internet. Using this daemon, you can access files on the machine from anywhere on the Internet, using a transparent interface. Package: root-system-doc Section: doc Architecture: all Suggests: root-system-bin Depends: ${misc:Depends} Description: Tutorial and test suite for the ROOT system The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the tutorial scripts and test suite for the ROOT system, as well as the automatically generated HTML class documentation. Package: root-system-bin Architecture: any Depends: ${shlibs:Depends}, root-plugin-graf2d-asimage, ${misc:Depends} Recommends: root-plugin-graf3d-gl, libroot-math-minuit | root-fitter, libroot-core-dev, root-plugin-graf2d-x11 | root-system-display Description: Numerical data analysis framework - general applications The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . With the data defined as a set of objects, specialized storage methods can give direct access to the separate attributes of the selected objects, without having to touch the bulk of the data. Included are histogramming methods in 1, 2 and 3 dimensions, curve fitting, function evaluation, minimization, graphics and visualization classes to allow the easy creation of an analysis system that can query and process the data interactively or in batch mode. . The command language, the scripting (or macro) language, and the programming language are all C++, thanks to the built-in CINT C++ interpreter. This interpreter removes the time consuming compile/link cycle, allowing for fast prototyping of the macros, and providing a good environment to learn C++. If more performance is needed, the interactively developed macros can be compiled using a C++ compiler. . The system has been designed in such a way that it can query its databases in parallel on MPP machines or on clusters of workstations or high-end PCs. ROOT is an open system that can be dynamically extended by linking external libraries. This makes ROOT a premier platform on which to build data acquisition, simulation and data analysis systems. Package: libroot-core5.34 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: root-system-common, ${shlibs:Depends}, ${misc:Depends} Recommends: root-system-bin, libroot-core-dev Provides: libroot-core Description: Numerical data analysis framework - shared runtime libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the shared libraries used by the ROOT system. The libraries contain numerous C++ class definitions for various purposes, some of which are: * System abstraction * Thin Thread API * Histograming * Persistent objects * GUI API and many others. Refer also to the package description of root-bin. Package: libroot-core-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, zlib1g-dev, libssl-dev, comerr-dev, libkrb5-dev, libx11-dev, libfreetype6-dev, libpcre3-dev, libxpm-dev, g++ | c++-compiler, ${python:Depends}, cfortran, ${misc:Depends} Suggests: root-system-bin, gccxml Recommends: libroot-geom-dev, libroot-gui-dev, libroot-hist-dev, libroot-proof-dev, libroot-tree-dev, libroot-io-dev, libroot-net-dev Provides: libroot-dev Replaces: libroot-dev (<< 5.19.01-1) Breaks: libroot-dev (<< 5.19.01-1) Description: Header files for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains header files (Class declarations) for the ROOT class libraries. Please refer the package documentation for libroot and root-bin. Package: libroot-static Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-core-dev Description: Static archive of ROOT libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains static archive of the ROOT classes. Package: root-system-common Architecture: all Multi-Arch: foreign Pre-Depends: ${misc:Pre-Depends} Depends: fonts-freefont-ttf | root-ttf, fonts-freefont-otf, fonts-opensymbol | root-ttf, ${misc:Depends} Description: Common files for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains some common infrastructure files for ROOT. Package: ttf-root-installer Architecture: all Section: contrib/fonts Depends: ${misc:Depends}, wget (>= 1.9.1-4), xfonts-utils, debconf (>= 1.2.0) Provides: root-ttf Conflicts: ttf-root Description: True type fonts for ROOT - installer package The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package will install the True Type Fonts (TTF) used by ROOT. These fonts are provided by Microsoft. Note, that you may not redistribute this font files. This package will download the fonts from the ROOT FTP server, or alternatively use an already downloaded tar-file. debian/root-system-bin.xpm0000644000000000000000000001233012253755630012776 0ustar /* XPM */ static char * root_bin_xpm[] = { "32 32 194 2", " c None", ". c #8FB2AA", "+ c #838574", "@ c #8FB7A9", "# c #8FE3EA", "$ c #B0C2C0", "% c #A6A69E", "& c #87D9CC", "* c #A3CDBD", "= c #A3B6B1", "- c #95CCC0", "; c #D4D3C9", "> c #B8C0D3", ", c #B1B5D0", "' c #D7DCE2", ") c #CBCBC9", "! c #D1D0CC", "~ c #C9CECE", "{ c #AAAFAF", "] c #CAD8DC", "^ c #D0D5DF", "/ c #BDBED3", "( c #CBCDD6", "_ c #E3E3E0", ": c #C7CACA", "< c #C5B7B6", "[ c #D1DEE0", "} c #CDDDE3", "| c #BCC4D6", "1 c #A8AAC0", "2 c #CAD1D6", "3 c #C9C0BA", "4 c #C3C5C5", "5 c #E5E8E9", "6 c #E9E3E3", "7 c #D5CBCA", "8 c #CCD8DA", "9 c #B2C4C8", "0 c #9FADB1", "a c #D7EAEE", "b c #D3D1CF", "c c #E1E6E8", "d c #EEEEEE", "e c #E6E5E3", "f c #DEE3E2", "g c #D4E4E8", "h c #CFDFE1", "i c #D0DCDD", "j c #BCACA4", "k c #C8D1D4", "l c #F5F7F6", "m c #F7F8F8", "n c #F8FAFA", "o c #DBE8EC", "p c #CBCECD", "q c #8C0000", "r c #DCE4E6", "s c #F4F7F7", "t c #EEF4F5", "u c #D2E1E6", "v c #CCDCE2", "w c #E70000", "x c #730000", "y c #EFF0EF", "z c #F9FAFA", "A c #DEE8EB", "B c #C6D6DB", "C c #BABDB9", "D c #FD0000", "E c #D60000", "F c #640000", "G c #EEF1EA", "H c #FDFDFD", "I c #F2F8F7", "J c #E0E8E7", "K c #FC0000", "L c #FF0000", "M c #E00000", "N c #00005B", "O c #E7ECDC", "P c #FCFDFB", "Q c #FAFCFB", "R c #D5D1CD", "S c #FA0000", "T c #FE0000", "U c #D30000", "V c #000080", "W c #D2D7C8", "X c #F9FBF3", "Y c #FAFCF7", "Z c #DDE0DE", "` c #FB0000", " . c #BF0000", ".. c #0000C7", "+. c #C4CAB9", "@. c #F0F8E2", "#. c #E9EFDF", "$. c #E7EAE4", "%. c #E3E5E2", "&. c #F60000", "*. c #B50000", "=. c #33002A", "-. c #0000EB", ";. c #ACB0A7", ">. c #EAF4D9", ",. c #D5DDCD", "'. c #DFE6D4", "). c #F0F4E8", "!. c #F90000", "~. c #BF0011", "{. c #2200B8", "]. c #ABADA8", "^. c #CDD4C0", "/. c #C3C7BD", "(. c #CAD1BF", "_. c #E8F3D4", ":. c #D1D7C8", "<. c #FD0001", "[. c #A90036", "}. c #9B9D9A", "|. c #BDC3B3", "1. c #BBBDB8", "2. c #AAB19C", "3. c #DBE8C3", "4. c #B2BBA2", "5. c #B10404", "6. c #F80000", "7. c #F90003", "8. c #AB0014", "9. c #969893", "0. c #A8A994", "a. c #8E8B71", "b. c #A6A47D", "c. c #ABB08A", "d. c #E90000", "e. c #660000", "f. c #7E786B", "g. c #877757", "h. c #92865D", "i. c #83886A", "j. c #DA0000", "k. c #74624B", "l. c #817352", "m. c #91866F", "n. c #907768", "o. c #570000", "p. c #7A604D", "q. c #77593E", "r. c #876C59", "s. c #876F60", "t. c #88725F", "u. c #BC1714", "v. c #6B4A3D", "w. c #694E3C", "x. c #734F37", "y. c #8E755F", "z. c #948573", "A. c #B45C49", "B. c #916F52", "C. c #482D26", "D. c #7B5F46", "E. c #97755C", "F. c #937362", "G. c #B85546", "H. c #815E52", "I. c #907260", "J. c #9C4D43", "K. c #CF2721", "L. c #87665B", "M. c #A38173", "N. c #7C3F38", "O. c #F20000", "P. c #F30907", "Q. c #DC1812", "R. c #A9493B", "S. c #966A65", "T. c #8E6F60", "U. c #90715D", "V. c #845A46", "W. c #91523E", "X. c #68483A", "Y. c #926D61", "Z. c #835E4B", "`. c #6D5543", " + c #957166", ".+ c #6F594A", "++ c #6D5848", "@+ c #716052", "#+ c #7F6E60", "$+ c #8C7063", "%+ c #88756B", "&+ c #877365", "*+ c #91776A", "=+ c #897A70", " . + @ # ", " $ % ", " & * = - ", " ; > , ' ) ! ", " ~ { ] ^ / ( _ ", " : < [ } | 1 2 3 ", " 4 5 6 7 8 9 0 a b ", " c d e f g h i j ", " k l m n o p ", " q r s t u v ", " w x y z A B C ", " D E F G H I J ", " K L M N O P Q R ", " S L T U V W X Y Z ", " K L L ` . .. +.@.#.$.%. ", " D L L L &.*.=.-. ;.>.,.'.). ", " D L L L L !.~.{. ].^./.(._.:. ", " T L L L L L <.[. }.|.1.2.3.4. ", " 5.6.L L L L L L 7.8. 9.0.a.b.c. ", " K L L L L L L L d.e. f.g.h.i. ", " D L L L L L L L T j. k.l.m.n. ", " D L L L L L L L L L o. p.q.r.s.t. ", " T L L L L L L L L L L u.v.w.x.y.z. ", " 6.L L L L L L L L L L A.B.C.D.E.F. ", " ` L L L L L L L L L L G. H.I.J. ", " K L L L L L L L L L L K. L.M.N. ", " T L D O.L L L ` K P.Q.R. S.T.U. ", " V.W.X. Y.Z.`. ", " +.+++@+ ", " #+ $+%+ ", " &+ *+=+ ", " "}; debian/skel/0000755000000000000000000000000012253755630010134 5ustar debian/skel/libroot-graf2d-postscript.control0000644000000000000000000000203112253755630016557 0ustar Package: libroot-graf2d-postscript@libvers@ Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Postscript/PDF renderer library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for ROOT, which allows rendering postscript and PDF output. Package: libroot-graf2d-postscript-dev Architecture: any Section: libdevel Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Depends: libroot-graf2d-postscript@libvers@ (= ${binary:Version}), libroot-graf2d-graf-dev, ${shlibs:Depends}, ${misc:Depends} Description: Postscript/PDF renderer library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains developemnt files of a library for ROOT, which allows rendering postscript and PDF output. debian/skel/libroot-tmva.control0000644000000000000000000000504712253755630014163 0ustar Package: libroot-tmva@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://tmva.sourceforge.net Description: Toolkit for multivariate data analysis The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The Toolkit for Multivariate Analysis (TMVA) provides a ROOT-integrated environment for the parallel processing and evaluation of MVA techniques to discriminate signal from background samples. It presently includes (ranked by complexity): . * Rectangular cut optimisation * Correlated likelihood estimator (PDE approach) * Multi-dimensional likelihood estimator (PDE - range-search approach) * Fisher (and Mahalanobis) discriminant * H-Matrix (chi-squared) estimator * Artificial Neural Network (two different implementations) * Boosted Decision Trees . The TMVA package includes an implementation for each of these discrimination techniques, their training and testing (performance evaluation). In addition all these methods can be tested in parallel, and hence their performance on a particular data set may easily be compared. Package: libroot-tmva-dev Architecture: any Section: libdevel Depends: libroot-tmva@libvers@ (= ${binary:Version}), libroot-math-mlp-dev, ${misc:Depends} Homepage: http://tmva.sourceforge.net Description: Toolkit for multivariate data analysis - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The Toolkit for Multivariate Analysis (TMVA) provides a ROOT-integrated environment for the parallel processing and evaluation of MVA techniques to discriminate signal from background samples. It presently includes (ranked by complexity): . * Rectangular cut optimisation * Correlated likelihood estimator (PDE approach) * Multi-dimensional likelihood estimator (PDE - range-search approach) * Fisher (and Mahalanobis) discriminant * H-Matrix (chi-squared) estimator * Artificial Neural Network (two different implementations) * Boosted Decision Trees . The TMVA package includes an implementation for each of these discrimination techniques, their training and testing (performance evaluation). In addition all these methods can be tested in parallel, and hence their performance on a particular data set may easily be compared. . This package provides development files of TMVA package for ROOT. debian/skel/root-plugin-io-chirp.control0000644000000000000000000000166712253755630015537 0ustar Package: root-plugin-io-chirp Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://www.cs.wisc.edu/condor/chirp/ Description: Chirp plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Chirp plug-in for ROOT, which allows you to access files via the Chirp protocol. . Chirp is a simple and lightweight remote I/O protocol used by a variety of research projects related to Condor. The Chirp protocol corresponds closely to the Unix interface. It consists of familiar operations such as open(), read(), write(), and close(). In addition, Chirp provides a variety of authentication methods, allowing remote users to identify themselves with strong Globus or Kerberos credentials. The Chirp protocol is used in a variety of systems. debian/skel/root-plugin-graf3d-x3d.control0000644000000000000000000000114512253755630015656 0ustar Package: root-plugin-graf3d-x3d Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-plugin-graf3d-gl Description: X 3D plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the X 3D plug-in for ROOT. This plugin provides 3D rendering of volumes and shapes defined in ROOT. Included is also a low quality 3D viewer for ROOT defined geometries. debian/skel/root-plugin-hist-hbook.control0000644000000000000000000000073512253755630016067 0ustar Package: root-plugin-hist-hbook Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: root-plugin-hbook Replaces: root-plugin-hbook (<< 5.19.01-1) Description: Hbook plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Hbook plug-in for ROOT, allowing you to access legacy Hbook files (NTuples and Histograms from PAW). debian/skel/root-system-proofd.control0000644000000000000000000000147012253755630015334 0ustar Package: root-system-proofd Architecture: any Depends: root-system-common, lsb-base (>= 3.0-6), openbsd-inetd | inet-superserver, ${shlibs:Depends}, ${misc:Depends} Recommends: root-system-bin, libroot-dev, root-file-server | root-system-rootd Description: Parallel ROOt Facility - distributed, parallel computing The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF server. proofd is the core daemon of the PROOF (Parallel ROOt Facility) system for distributed parallel computing. Installing this package on a machine, makes it possible for the machine to participate in a parallel computing farm (cluster or via the Internet), either as a master or a slave, using a transparent interface. debian/skel/libroot-montecarlo-g4root.control0000644000000000000000000000160112253755630016563 0ustar Package: libroot-montecarlo-g4root@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Geant4 interface library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the G4root library for ROOT. Package: libroot-montecarlo-g4root-dev Architecture: any Section: libdevel Depends: libroot-montecarlo-g4root@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Geant4 interface library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the G4root library for ROOT. debian/skel/libroot-tree.control0000644000000000000000000000166212253755630014152 0ustar Package: libroot-tree@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-tree-treeplayer@libvers@ | root-plugin-tree-treeviewer Description: Tree library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Tree library for ROOT. Package: libroot-tree-dev Architecture: any Section: libdevel Depends: libroot-tree@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Tree library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Tree library for ROOT. debian/skel/libroot-tree-treeplayer.control0000644000000000000000000000167312253755630016326 0ustar Package: libroot-tree-treeplayer@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Library to loop over a ROOT tree The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . Plug-in to loop over a ROOT tree. Package: libroot-tree-treeplayer-dev Architecture: any Section: libdevel Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: libroot-tree-treeplayer@libvers@ (= ${binary:Version}), libroot-tree-dev, libroot-graf2d-gpad-dev, libroot-graf3d-g3d-dev, ${misc:Depends} Description: Library to loop over a ROOT tree - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides development files to loop over a ROOT tree. debian/skel/libroot-geom.control0000644000000000000000000000213712253755630014140 0ustar Package: libroot-geom@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-graf3d-gl@libvers@ (>= ${binary:Version}), root-plugin-geom-gdml, root-plugin-geom-geombuilder, root-plugin-geom-geompainter Description: Geometry library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for defining geometries in ROOT. Package: libroot-geom-dev Architecture: any Section: libdevel Depends: libroot-geom@libvers@ (= ${binary:Version}), libroot-math-mathcore-dev, ${misc:Depends} Recommends: libroot-graf3d-gl-dev Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Geometry library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for defining geometries in ROOT. debian/skel/root-plugin-net-srp.control0000644000000000000000000000077412253755630015413 0ustar Package: root-plugin-net-srp Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://srp.stanford.edu Description: SRP plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the SRP (Secure Remote Protocol) utility plug-in for ROOT. This package provides some tools for SRP authentication with ROOT. debian/skel/libroot-math-foam.control0000644000000000000000000000273412253755630015065 0ustar Package: libroot-math-foam@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Compact Version of Cellular Event Generator The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The general-purpose self-adapting Monte Carlo (MC) event generator/simulator mFOAM (standing for mini-FOAM) is a new compact version of the FOAM program, with a slightly limited functionality with respect to its parent version. On the other hand, mFOAM is easier to use for the average user. Package: libroot-math-foam-dev Architecture: any Section: libdevel Depends: libroot-math-foam@libvers@ (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Compact Version of Cellular Event Generator - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The general-purpose self-adapting Monte Carlo (MC) event generator/simulator mFOAM (standing for mini-FOAM) is a new compact version of the FOAM program, with a slightly limited functionality with respect to its parent version. On the other hand, mFOAM is easier to use for the average user. . This package provides development files of the compact version of Cellular Event Generator. debian/skel/libroot-math-quadp.control0000644000000000000000000000250312253755630015247 0ustar Package: libroot-math-quadp@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-quadp (<< 5.09.01-1) Description: QuadP extension for ROOT - run-time libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the QuadP plug-in for ROOT. This provides the user a framework in which to do Quadratic Programming. The quadratic programming problem involves minimization of a quadratic function subject to linear constraints. Package: libroot-math-quadp-dev Architecture: any Section: libdevel Depends: libroot-math-quadp@libvers@ (= ${binary:Version}), libroot-math-matrix-dev, ${misc:Depends} Replaces: libroot-quadp Breaks: libroot-quadp (<< 5.19.01-1) Description: QuadP extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the QuadP plug-in for ROOT. This provides the user a framework in which to do Quadratic Programming. The quadratic programming problem involves minimization of a quadratic function subject to linear constraints. debian/skel/control.in0000644000000000000000000000464012253755630012150 0ustar Source: root-system Section: science Priority: optional Maintainer: Debian Science Maintainers Uploaders: Lifeng Sun Homepage: http://root.cern.ch Build-Depends: debhelper (>= 5.0.37.2), lsb-release, autotools-dev, po-debconf, libssl-dev, comerr-dev, libxpm-dev, libltdl-dev, x11proto-xext-dev, libxext-dev, libfreetype6-dev, libpcre3-dev, zlib1g-dev | libz-dev, liblzma-dev, python-dev (>= 2.1), graphviz, ttf-freefont, libncurses5-dev, libgraphviz-dev, libavahi-core-dev, libsqlite3-dev, libxft-dev@builddepends@ Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/debian-science/packages/root-system.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/root-system.git Package: root-system Architecture: all Depends: root-system-bin, libroot-core-dev, ${misc:Depends} Recommends: @plugins@ Suggests: @extras@ Description: metapackage to install all ROOT packages The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . With the data defined as a set of objects, specialized storage methods can give direct access to the separate attributes of the selected objects, without having to touch the bulk of the data. Included are histogramming methods in 1, 2 and 3 dimensions, curve fitting, function evaluation, minimization, graphics and visualization classes to allow the easy creation of an analysis system that can query and process the data interactively or in batch mode. . The command language, the scripting (or macro) language, and the programming language are all C++, thanks to the built-in CINT C++ interpreter. This interpreter removes the time consuming compile/link cycle, allowing for fast prototyping of the macros, and providing a good environment to learn C++. If more performance is needed, the interactively developed macros can be compiled using a C++ compiler. . The system has been designed in such a way that it can query its databases in parallel on MPP machines or on clusters of workstations or high-end PCs. ROOT is an open system that can be dynamically extended by linking external libraries. This makes ROOT a premier platform on which to build data acquisition, simulation and data analysis systems. . This package is a metapackage to ensure the installation of all possible ROOT packages on a system. debian/skel/root-system-bin.control0000644000000000000000000000324712253755630014617 0ustar Package: root-system-bin Architecture: any Depends: ${shlibs:Depends}, root-plugin-graf2d-asimage, ${misc:Depends} Recommends: root-plugin-graf3d-gl, libroot-math-minuit | root-fitter, libroot-core-dev, root-plugin-graf2d-x11 | root-system-display Description: Numerical data analysis framework - general applications The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . With the data defined as a set of objects, specialized storage methods can give direct access to the separate attributes of the selected objects, without having to touch the bulk of the data. Included are histogramming methods in 1, 2 and 3 dimensions, curve fitting, function evaluation, minimization, graphics and visualization classes to allow the easy creation of an analysis system that can query and process the data interactively or in batch mode. . The command language, the scripting (or macro) language, and the programming language are all C++, thanks to the built-in CINT C++ interpreter. This interpreter removes the time consuming compile/link cycle, allowing for fast prototyping of the macros, and providing a good environment to learn C++. If more performance is needed, the interactively developed macros can be compiled using a C++ compiler. . The system has been designed in such a way that it can query its databases in parallel on MPP machines or on clusters of workstations or high-end PCs. ROOT is an open system that can be dynamically extended by linking external libraries. This makes ROOT a premier platform on which to build data acquisition, simulation and data analysis systems. debian/skel/libroot-core.control0000644000000000000000000000400412253755630014134 0ustar Package: libroot-core@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: root-system-common, ${shlibs:Depends}, ${misc:Depends} Recommends: root-system-bin, libroot-core-dev Provides: libroot-core Description: Numerical data analysis framework - shared runtime libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the shared libraries used by the ROOT system. The libraries contain numerous C++ class definitions for various purposes, some of which are: * System abstraction * Thin Thread API * Histograming * Persistent objects * GUI API and many others. Refer also to the package description of root-bin. Package: libroot-core-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, zlib1g-dev, libssl-dev, comerr-dev, libkrb5-dev, libx11-dev, libfreetype6-dev, libpcre3-dev, libxpm-dev, g++ | c++-compiler, ${python:Depends}, cfortran, ${misc:Depends} Suggests: root-system-bin, gccxml Recommends: libroot-geom-dev, libroot-gui-dev, libroot-hist-dev, libroot-proof-dev, libroot-tree-dev, libroot-io-dev, libroot-net-dev Provides: libroot-dev Replaces: libroot-dev (<< 5.19.01-1) Breaks: libroot-dev (<< 5.19.01-1) Description: Header files for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains header files (Class declarations) for the ROOT class libraries. Please refer the package documentation for libroot and root-bin. Package: libroot-static Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-core-dev Description: Static archive of ROOT libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains static archive of the ROOT classes. debian/skel/libroot-montecarlo-vmc-dev.install.in0000644000000000000000000000002612253755630017301 0ustar @sysconfdir@/root/vmc debian/skel/root-system-proofd.init.in0000644000000000000000000000646212253755630015232 0ustar #! /bin/sh # # skeleton Written by Miquel van Smoorenburg . # Modified for Debian # by Ian Murdock . # # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl # ### BEGIN INIT INFO # Provides: root-system-proofd # Required-Start: $remote_fs # Required-Stop: $remote_fs # Should-Start: $network, root-file-server # Should-Stop: $network, root-file-server # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Parallel ROOt Facility Server # Description: Parallel ROOt Facility Server to let the node # participate in a PROOF cluster, either as slave or # master. ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=@prefix@/bin/proofd NAME=proofd DESC="Parallel ROOt Facility Server" test -x $DAEMON || exit 0 # Include root defaults if available if [ -f @sysconfdir@/default/root-system-proofd ] ; then . @sysconfdir@/default/root-system-proofd fi # Load the VERBOSE setting and other rcS variables [ -f /etc/default/rcS ] && . /etc/default/rcS # Define LSB log_* functions. . /lib/lsb/init-functions # Check if inetd is controlling proofd if test -f /var/run/inetd.pid ; then # Inetd is running if grep -q ^$NAME /etc/inetd.conf > /dev/null 2>&1 ; then # PROOFD is controlled by inetd. ENABLE_PROOFD=no fi fi # Check if xinetd is controlling proofd if test -f /var/run/xinetd.pid ; then # Inetd is running if grep -q ^$NAME /etc/inetd.conf > /dev/null 2>&1 ; then # PROOFD is controlled by xinetd. ENABLE_PROOFD=no fi # old name for i in proofd root-proofd root-system-proofd ; do if test ! -f /etc/xinetd.d/$i ; then continue ; fi if grep "disable[[:space:]]*= *[Nn][Oo]" /etc/xinetd.d/$i \ > /dev/null 2>&1 ; then # PROOFD is controlled by xinetd. ENABLE_PROOFD=no break fi done fi # Check if we're enabled case `echo $ENABLE_PROOFD | tr '[:upper:]' '[:lower:]'` in yes) ;; *) exit 0;; esac # function to start daemon startit () { start-stop-daemon --make-pidfile --start --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS $PROOF_DIR ret=$? if test $ret -ne 0 ; then echo "Failed" exit 1 fi pidof $DAEMON > /var/run/$NAME.pid 2> /dev/null return $ret } # function to stop daemon stopit () { start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON ret=$? if test $ret -ne 0 ; then echo "Failed" exit 1 fi return $ret } # Executable code case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" startit ret=$? [ "$VERBOSE" != no ] && log_end_msg $ret ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" stopit ret=$? [ "$VERBOSE" != no ] && log_end_msg $ret ;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # log_daemon_msg "Restarting $DESC" "$NAME" stopit sleep 1 startit ret=$? log_end_msg $ret ;; *) N=@sysconfdir@/init.d/root-system-$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 # # EOF # debian/skel/libroot-hist-spectrum.control0000644000000000000000000000164112253755630016017 0ustar Package: libroot-hist-spectrum@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Spectra analysis library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Spectrum library for ROOT. Package: libroot-hist-spectrum-dev Architecture: any Section: libdevel Depends: libroot-hist-spectrum@libvers@ (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Spectra analysis library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Spectrum library for ROOT. debian/skel/root-plugin-io-dcache.control0000644000000000000000000000113412253755630015626 0ustar Package: root-plugin-io-dcache Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, libdcap1, ${misc:Depends} Homepage: http://www.dcache.org Description: dCache plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the dCache plug-in for ROOT, that allows transparent access to files data via a dCache server. Given a path which doesn't belong to the dCache managed filesystem, it falls back to the ordinary TFile behaviour. debian/skel/root-plugin-sql-pgsql.control0000644000000000000000000000112012253755630015730 0ustar Package: root-plugin-sql-pgsql Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Description: PostgreSQL client plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PostGreSQL plug-in for ROOT. This plugin provides a thin client (interface) to PostGreSQL servers. Using this client, one can obtain information from a PostGreSQL database into the ROOT environment. debian/skel/libroot-math-mathmore.control0000644000000000000000000000202312253755630015746 0ustar Package: libroot-math-mathmore@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: GSL interface library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MathMore library for ROOT, a partial GNU Scientific Library interface. Package: libroot-math-mathmore-dev Architecture: any Section: libdevel Depends: libroot-math-mathmore@libvers@ (= ${binary:Version}), libroot-core-dev, libgsl0-dev, ${misc:Depends} Breaks: libroot-mathmore-dev (<< 5.19.01-1) Replaces: libroot-mathmore-dev Description: GSL interface library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the MathMore library for ROOT, a partial GNU Scientific Library interface. debian/skel/root-plugin-net-monalisa.control0000644000000000000000000000067312253755630016410 0ustar Package: root-plugin-net-monalisa Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Homepage: http://monalisa.cacr.caltech.edu Description: Monalisa plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Monalisa plug-in for ROOT, which provides an interface MonaLisa Monitoring Services. debian/skel/root-system-bin.desktop.in0000644000000000000000000000053112253755630015206 0ustar [Desktop Entry] Name=ROOT GenericName=ROOT Comment=ROOT's Object Oriented Technologies Comment[dk]=ROOT er Object Orienteret Teknologi Exec=@prefix@/bin/root %F Icon=root-system-bin.png Categories=Education;Science;Math;DataVisualization;NumericalAnalysis;Physics; MimeType=application/x-root Terminal=true Type=Application StartupNotify=false debian/skel/root-plugin-gui-sessionviewer.control0000644000000000000000000000075412253755630017510 0ustar Package: root-plugin-gui-sessionviewer Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI to browse an interactive PROOF session The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in browsing an interactive PROOF session in ROOT. debian/skel/libroot-graf2d-gpad.control0000644000000000000000000000171312253755630015266 0ustar Package: libroot-graf2d-gpad@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Canvas and pad library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for canvas and pad manipulations. Package: libroot-graf2d-gpad-dev Architecture: any Section: libdevel Depends: libroot-graf2d-gpad@libvers@ (= ${binary:Version}), libroot-graf2d-graf-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Canvas and pad library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for canvas and pad manipulations. debian/skel/libroot-math-genvector.control0000644000000000000000000000200012253755630016121 0ustar Package: libroot-math-genvector@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Generalized vector library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Genvector library for ROOT. This provides a generalized vector library. Package: libroot-math-genvector-dev Architecture: any Section: libdevel Depends: libroot-math-genvector@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Description: Generalized vector library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Genvector library for ROOT, provides a generalized vector library. debian/skel/root-plugin-sql-oracle.control0000644000000000000000000000113612253755630016056 0ustar Package: root-plugin-sql-oracle Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: oracle-instantclient-basic, ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Description: Oracle client plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Oracle plug-in for ROOT. This plugin provides a thin client (interface) to Oracle servers. Using this client, one can obtain information from a Oracle database into the ROOT environment. debian/skel/root-plugin-math-fumili.control0000644000000000000000000000071512253755630016232 0ustar Package: root-plugin-math-fumili Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-fitter Description: Fumili plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the fumili plug-in for ROOT. This provides an alternative fitting algorithm for ROOT. debian/skel/root-system-bin.preinst.in0000644000000000000000000000135112253755630015222 0ustar #! /bin/sh # postinst script for libroot # # see: dh_installdeb(1) # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package set -e case "$1" in install|upgrade) # Remove old alternatives update-alternatives --remove cint @prefix@/bin/cint.root update-alternatives --remove makecint @prefix@/bin/makecint.root ;; *) ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/skel/libroot-gui-ged.control0000644000000000000000000000201512253755630014525 0ustar Package: libroot-gui-ged@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI element for editing various ROOT objects The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library to show a pop-up window for editing various ROOT objects. Package: libroot-gui-ged-dev Architecture: any Section: libdevel Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: libroot-gui-ged@libvers@ (= ${binary:Version}), libroot-gui-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Description: GUI element for editing various ROOT objects - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library to show a pop-up window for editing various ROOT objects. debian/skel/ttf-root-installer.control0000644000000000000000000000124112253755630015305 0ustar Package: ttf-root-installer Architecture: all Section: contrib/fonts Depends: ${misc:Depends}, wget (>= 1.9.1-4), xfonts-utils, debconf (>= 1.2.0) Provides: root-ttf Conflicts: ttf-root Description: True type fonts for ROOT - installer package The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package will install the True Type Fonts (TTF) used by ROOT. These fonts are provided by Microsoft. Note, that you may not redistribute this font files. This package will download the fonts from the ROOT FTP server, or alternatively use an already downloaded tar-file. debian/skel/root-system-rootd.control0000644000000000000000000000121712253755630015171 0ustar Package: root-system-rootd Architecture: any Depends: root-system-common, lsb-base (>= 3.0-6), adduser, openbsd-inetd | inet-superserver, ${shlibs:Depends}, ${misc:Depends} Recommends: root-system-bin, libroot-dev Provides: root-file-server Description: ROOT remote file server The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains ROOT file server. rootd is a server for ROOT files, serving files over the Internet. Using this daemon, you can access files on the machine from anywhere on the Internet, using a transparent interface. debian/skel/root-system-proofd.install.in0000644000000000000000000000022012253755630015717 0ustar @prefix@/share/root/proof/ @prefix@/bin/proofserv @prefix@/bin/proofserv.exe @prefix@/bin/proofserv.bin @prefix@/share/man/man1/proofserv.1* debian/skel/root-plugin-geom-gdml.control0000644000000000000000000000077712253755630015676 0ustar Package: root-plugin-geom-gdml Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, python-support, ${python:Depends}, ${misc:Depends} Description: GDML import/export module for ROOT geometries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains an import/export module for the ROOT geometry. debian/skel/libroot-graf2d-graf.control0000644000000000000000000000157412253755630015277 0ustar Package: libroot-graf2d-graf@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Graf library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Graf library for ROOT. Package: libroot-graf2d-graf-dev Architecture: any Section: libdevel Depends: libroot-graf2d-graf@libvers@ (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Graf library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Graf library for ROOT. debian/skel/libroot-math-smatrix.control0000644000000000000000000000162712253755630015632 0ustar Package: libroot-math-smatrix@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Sparse matrix library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Smatrix library for ROOT. Package: libroot-math-smatrix-dev Architecture: any Section: libdevel Depends: libroot-math-smatrix@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Sparse matrix library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Smatrix library for ROOT. debian/skel/root-plugin-net-krb5.control0000644000000000000000000000076712253755630015454 0ustar Package: root-plugin-net-krb5 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, krb5-user | heimdal-clients, ${misc:Depends} Description: Kerberos (version 5) plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Kerberos (version 5) plug-in for ROOT, that allows authentication and authorisation using Kerberos tokens. debian/skel/libroot-bindings-ruby.control0000644000000000000000000000213012253755630015756 0ustar Package: libroot-bindings-ruby@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-ruby (<< 5.09.01-1) Description: Ruby extension for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Ruby extension for ROOT. The interface goes both ways - that is, you can call ROOT functions from Ruby, and invoke the Ruby interpreter from ROOT. Package: libroot-bindings-ruby-dev Architecture: any Section: libdevel Depends: libroot-bindings-ruby@libvers@ (= ${binary:Version}), libroot-core-dev, ruby1.9.1-dev | ruby-dev (>= 4.9), ${misc:Depends} Breaks: libroot-ruby (<< 5.19.01-1) Replaces: libroot-ruby Description: Ruby extension for ROOT - development headers The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Ruby extension for ROOT. debian/skel/root-plugin-graf2d-qt.control0000644000000000000000000000067012253755630015605 0ustar Package: root-plugin-graf2d-qt Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Graf2d Qt plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Graf2d Qt plug-in for ROOT. This plugin provides Qt interfaces of Graf2d library. debian/skel/root-plugin-gui-fitpanel.control0000644000000000000000000000075612253755630016407 0ustar Package: root-plugin-gui-fitpanel Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI element for fits plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in to show a pop-up dialog when fitting various kinds of data. debian/skel/libroot-montecarlo-vmc.control0000644000000000000000000000172112253755630016135 0ustar Package: libroot-montecarlo-vmc@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-vmc Description: Virtual Monte-Carlo library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Vmc library for ROOT. Package: libroot-montecarlo-vmc-dev Architecture: any Section: libdevel Depends: libroot-montecarlo-vmc@libvers@ (= ${binary:Version}), libroot-geom-dev, libroot-montecarlo-eg-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Virtual Monte-Carlo library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Vmc library for ROOT. debian/skel/libroot-math-unuran.control0000644000000000000000000000465412253755630015456 0ustar Package: libroot-math-unuran@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://statistik.wu-wien.ac.at/unuran/ Description: Random number generator library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . It contains universal (also called automatic or black-box) algorithms that can generate random numbers from large classes of continuous or discrete distributions, and also from practically all standard distributions. . To generate random numbers the user must supply some information about the desired distribution, especially a C-function that computes the density and - depending on the chosen methods - some additional information (like the borders of the domain, the mode, the derivative of the density ...). After a user has given this information an init-program computes all tables and constants necessary for the random variate generation. The sample program can then generate variates from the desired distribution. . This package contains the runtime library. Package: libroot-math-unuran-dev Architecture: any Section: libdevel Depends: libroot-math-unuran@libvers@ (= ${binary:Version}), libroot-hist-dev, ${misc:Depends} Replaces: libroot-unuran-dev Breaks: libroot-unuran-dev (<< 5.19.01-1) Homepage: http://statistik.wu-wien.ac.at/unuran/ Description: Random number generator library - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . It contains universal (also called automatic or black-box) algorithms that can generate random numbers from large classes of continuous or discrete distributions, and also from practically all standard distributions. . To generate random numbers the user must supply some information about the desired distribution, especially a C-function that computes the density and - depending on the chosen methods - some additional information (like the borders of the domain, the mode, the derivative of the density ...). After a user has given this information an init-program computes all tables and constants necessary for the random variate generation. The sample program can then generate variates from the desired distribution. . This package contains the development files debian/skel/root-system-bin.menu.in0000644000000000000000000000036312253755630014504 0ustar ?package(root-system-bin):needs="text" \ section="Applications/Science/Data Analysis" \ title="ROOT" \ longtitle="ROOT's Object Oriented Technologies" \ command="@prefix@/bin/root" \ icon="@prefix@/share/pixmaps/root-system-bin.xpm" debian/skel/libroot-net-auth.control0000644000000000000000000000176712253755630014746 0ustar Package: libroot-net-auth@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-authentication Description: Authentication extension for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the basic authentication algorithms used by ROOT. Package: libroot-net-auth-dev Architecture: any Section: libdevel Depends: libroot-net-auth@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1), libroot-core-dev (<< 5.30.00-1) Description: Authentication extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the basic authentication algorithms used by ROOT. debian/skel/libroot-misc-memstat.control0000644000000000000000000000176012253755630015615 0ustar Package: libroot-misc-memstat@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Memory statistics tool for use with ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the memory statistics tool for debugging memory leaks and such. Package: libroot-misc-memstat-dev Architecture: any Section: libdevel Depends: libroot-misc-memstat@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Memory statistics tool for use with ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of memory statistics tool for debugging memory leaks and such. debian/skel/libroot-io.control0000644000000000000000000000167512253755630013626 0ustar Package: libroot-io@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Input/output of ROOT objects - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides I/O routines for ROOT objects. Package: libroot-io-dev Architecture: any Section: libdevel Depends: libroot-io@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev, root-plugin-proof Breaks: libroot-dev (<< 5.19.01-1), root-plugin-proof (<< 5.19.01-1) Description: Input/output of ROOT objects - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides development files of I/O routines for ROOT objects. debian/skel/libroot-bindings-python.install.in0000644000000000000000000000011612253755630016713 0ustar @prefix@/lib/*/root@version@/ROOT.py @prefix@/lib/*/root@version@/PyCintex.py debian/skel/ttf-root-installer.prerm.in0000644000000000000000000000077212253755630015367 0ustar #! /bin/sh # prerm script for ttf-root-installer # # see: dh_installdeb(1) set -e . /usr/share/debconf/confmodule archive=ttf_fonts.tar.gz if test -f /var/cache/ttf-root-installer ; then (cd @prefix@/share/root/fonts && rm -f `cat /var/cache/ttf-root-installer`) rm -f @prefix@/share/doc/ttf-root-installer/LICENSE.fonts rm -f /var/cache/ttf-root-installer fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/skel/root-plugin-hist-hbook.install.in0000644000000000000000000000015412253755630016455 0ustar @prefix@/bin/h2root @prefix@/bin/g2root @prefix@/share/man/man1/h2root.1* @prefix@/share/man/man1/g2root.1* debian/skel/root-plugin-net-alien.control0000644000000000000000000000064412253755630015673 0ustar Package: root-plugin-net-alien Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Homepage: http://alien.cern.ch Description: AliEn plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the AliEn plug-in for ROOT, which provides an interface to the AliEN GRID facility. debian/skel/root-plugin-hist-spectrumpainter.control0000644000000000000000000000071212253755630020205 0ustar Package: root-plugin-hist-spectrumpainter Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Spectrum painter plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a painter of spectra for ROOT. debian/skel/root-plugin-gui-qt.control0000644000000000000000000000070212253755630015220 0ustar Package: root-plugin-gui-qt Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Qt plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Qt plug-in for ROOT. This plugin provides an abstraction over a display. Windows are created via Qt. debian/skel/libroot-math-mlp.control0000644000000000000000000000223112253755630014723 0ustar Package: libroot-math-mlp@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-mlp (<< 5.09.01-1) Description: Multi layer perceptron extension for ROOT - run-time libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the mlp plug-in for ROOT. This plugin provides a Multi Layer Perceptron Neural Network package for ROOT. Package: libroot-math-mlp-dev Architecture: any Section: libdevel Depends: libroot-math-mlp@libvers@ (= ${binary:Version}), libroot-graf2d-gpad-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Conflicts: libroot-mlp-dev Replaces: libroot-mlp-dev (<< 5.19.01-1) Description: Multi layer perceptron extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the mlp plug-in for ROOT, provides a Multi Layer Perceptron Neural Network package for ROOT. debian/skel/root-plugin-hist-histpainter.control0000644000000000000000000000071212253755630017312 0ustar Package: root-plugin-hist-histpainter Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Depends: ${shlibs:Depends}, ${misc:Depends} Description: Histogram painter plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a painter of histograms for ROOT. debian/skel/libroot-proof.control0000644000000000000000000000214112253755630014331 0ustar Package: libroot-proof@libvers@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Description: PROOF library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF library for ROOT. This provides a client to use in a PROOF environment. Package: libroot-proof-dev Architecture: any Section: libdevel Depends: libroot-proof@libvers@ (= ${binary:Version}), libroot-math-mathcore-dev, libroot-tree-dev, ${misc:Depends} Replaces: root-plugin-proof Breaks: root-plugin-proof (<< 5.19.01-1), libroot-proof-proofplayer-dev (<= 5.34.01-1~exp1) Description: PROOF library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the PROOF library for ROOT. This provides a client to use in a PROOF environment. debian/skel/root-plugin-io-sql.control0000644000000000000000000000100512253755630015213 0ustar Package: root-plugin-io-sql Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-db-client | root-plugin-io-mysql Description: SQL plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the SQL plug-in for ROOT, that allows transparent access to files data via an SQL database, using ROOT's TFile interface. debian/skel/root-system-bin.postinst.in0000644000000000000000000000153712253755630015427 0ustar #! /bin/sh # postinst script for libroot # # see: dh_installdeb(1) set -e case "$1" in configure) # Alternatives update # update-alternatives --install @prefix@/bin/cint cint \ # @prefix@/bin/cint.root 30 \ # --slave @prefix@/share/man/man1/cint.1.gz \ # cint.1.gz @prefix@/share/man/man1/cint.root.1.gz # update-alternatives --install @prefix@/bin/makecint makecint \ # @prefix@/bin/makecint.root 30 \ # --slave @prefix@/share/man/man1/makecint.1.gz \ # makecint.1.gz @prefix@/share/man/man1/makecint.root.1.gz ;; abort-upgrade|abort-remove|abort-deconfigure) # Nothing to be done here ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/skel/libroot-graf3d-eve.control0000644000000000000000000000212312253755630015127 0ustar Package: libroot-graf3d-eve@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: root-plugin-gl (<= 5.19.01-1) Replaces: root-plugin-gl (<= 5.19.01-1) Description: Event display library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for defining event displays in ROOT. Package: libroot-graf3d-eve-dev Architecture: any Section: libdevel Depends: libroot-graf3d-eve@libvers@ (= ${binary:Version}), libroot-geom-dev, libroot-gui-ged-dev, libroot-montecarlo-eg-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Replaces: root-plugin-gl Breaks: root-plugin-gl (<= 5.19.01-1) Description: Event display library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for defining event displays in ROOT. debian/skel/proofserv.in0000755000000000000000000000031512253755630012513 0ustar #!/bin/sh rootplugins=@prefix@/lib/@multiarch@/root@libvers@ rootbindir=@prefix@/bin export LD_LIBRARY_PATH=$rootplugins${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec $rootbindir/proofserv.bin "$@" # EOF debian/skel/root-plugin-io-gfal.control0000644000000000000000000000070212253755630015330 0ustar Package: root-plugin-io-gfal Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: GFal plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the GFal plug-in for ROOT, that allows transparent access to files data via various Grid file services. debian/skel/root-system-bin.prerm.in0000644000000000000000000000054612253755630014670 0ustar #! /bin/sh # prerm script for root-cint # # see: dh_installdeb(1) set -e if [ "$1" != "upgrade" ] then update-alternatives --remove cint @prefix@/bin/cint.root update-alternatives --remove makecint @prefix@/bin/makecint.root fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/skel/root-plugin-tree-treeviewer.control0000644000000000000000000000071312253755630017132 0ustar Package: root-plugin-tree-treeviewer Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI to browse a ROOT tree The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in for browsing a ROOT tree in ROOT. debian/skel/root-plugin-math-fftw3.control0000644000000000000000000000072712253755630016001 0ustar Package: root-plugin-math-fftw3 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://fftw.org/ Description: FFTw plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Fast Fourier Transform extension for ROOT. It uses the very fast fftw (version 3) library. debian/skel/root-system-doc.install.in0000644000000000000000000000001412253755630015174 0ustar @pkgdocdir@ debian/skel/root-plugin-geom-geombuilder.control0000644000000000000000000000071312253755630017237 0ustar Package: root-plugin-geom-geombuilder Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: Geometry builder plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a geometry builder plugin for ROOT. debian/skel/libroot-html.control0000644000000000000000000000176412253755630014162 0ustar Package: libroot-html@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Html documentation generator for ROOT - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains classes to automatically extract documentation from marked up sources. Package: libroot-html-dev Architecture: any Section: libdevel Depends: libroot-html@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Html documentation generator for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of classes to automatically extract documentation from marked up sources. debian/skel/libroot-bindings-python.control0000644000000000000000000000232712253755630016326 0ustar Package: libroot-bindings-python@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, python-support Provides: ${python:Provides} Replaces: root-plugin-python (<< 5.09.01-1) Breaks: libroot-bindings-python-dev (<< 5.34.01-1~exp1) Description: Python extension for ROOT - runtime libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Python plug-in for ROOT. This package provide a Python interface to ROOT, and a ROOT interface to Python. Package: libroot-bindings-python-dev Architecture: any Section: libdevel Depends: libroot-bindings-python@libvers@ (= ${binary:Version}), libroot-core-dev, python-dev (>= 2.1), ${python:Depends}, ${misc:Depends} Replaces: libroot-python-dev Breaks: libroot-python-dev (<< 5.19.01-1) Description: Python extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of Python plug-in for ROOT. debian/skel/root-plugin-net-netx.control0000644000000000000000000000067112253755630015561 0ustar Package: root-plugin-net-netx Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-plugin-net-xrootd Description: NetX plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the NetX plug-in for ROOT. Client for the XRootd server. debian/skel/libroot-proof-proofplayer.control0000644000000000000000000000240512253755630016674 0ustar Package: libroot-proof-proofplayer@libvers@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Replaces: root-plugin-proof-proofplayer (<< 5.23.05-1) Breaks: root-plugin-proof-proofplayer (<< 5.23.05-1) Description: PROOF plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF extension for ROOT. This provides a client to use in a PROOF environment. Package: libroot-proof-proofplayer-dev Section: libdevel Architecture: any Depends: libroot-proof-proofplayer@libvers@ (= ${binary:Version}), libroot-proof-dev, ${misc:Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Replaces: root-plugin-proof-proofplayer (<< 5.23.05-1) Breaks: root-plugin-proof-proofplayer (<< 5.23.05-1) Description: PROOF plugin for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the PROOF extension for ROOT. This provides a client to use in a PROOF environment. debian/skel/libroot-net-bonjour.control0000644000000000000000000000206412253755630015452 0ustar Package: libroot-net-bonjour@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Zeroconf extension for ROOT - run-time libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains classes for declaring zeroconf services, as well as browsing for such services. This package contains the run-time libraries Package: libroot-net-bonjour-dev Architecture: any Section: libdevel Depends: libroot-net-bonjour@libvers@ (= ${binary:Version}), libroot-core-dev, libavahi-compat-libdnssd-dev , ${misc:Depends} Description: Zeroconf extension for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains classes for declaring zeroconf services, as well as browsing for such services. This package contains the development libraries and headers. debian/skel/libroot-static.install.in0000644000000000000000000000021312253755630015064 0ustar @prefix@/lib/*/libRoot.a @prefix@/bin/roota @prefix@/bin/proofserva @prefix@/share/man/man1/roota.1* @prefix@/share/man/man1/proofserva.1* debian/skel/root-plugin-io-castor.control0000644000000000000000000000103212253755630015707 0ustar Package: root-plugin-io-castor Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://savannah.cern.ch/projects/castor/ Description: CASTOR plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the rfio plug-in for ROOT. Using this package, it's possible to access file managed by the SHIFT tape archive system, as used at CERN. debian/skel/libroot-montecarlo-eg.control0000644000000000000000000000166312253755630015750 0ustar Package: libroot-montecarlo-eg@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Event generator library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Eg library for ROOT. Package: libroot-montecarlo-eg-dev Architecture: any Section: libdevel Depends: libroot-montecarlo-eg@libvers@ (= ${binary:Version}), libroot-graf2d-gpad-dev, libroot-graf3d-g3d-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Event generator library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Eg library for ROOT. debian/skel/root-plugin-geom-gdml.links.in0000644000000000000000000000030412253755630015725 0ustar @prefix@/lib/@multiarch@/root@libvers@/ROOTwriter.py /usr/share/python-support/root/ROOTwriter.py @prefix@/lib/@multiarch@/root@libvers@/writer.py /usr/share/python-support/root/writer.py debian/skel/libroot-net-ldap.control0000644000000000000000000000201012253755630014703 0ustar Package: libroot-net-ldap@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-ldap (<< 5.09.01-1) Description: LDAP extension for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the LDAP plugin for ROOT. This gives you access to LDAP directories via ROOT. Package: libroot-net-ldap-dev Architecture: any Section: libdevel Depends: libroot-net-ldap@libvers@ (= ${binary:Version}), libroot-core-dev, libldap2-dev | libldap-dev, ${misc:Depends} Breaks: libroot-ldap-dev (<< 5.19.01-1) Replaces: libroot-ldap-dev (<< 5.19.01-1) Description: LDAP extension for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of LDAP plugin for ROOT. debian/skel/libroot-math-minuit.control0000644000000000000000000000215612253755630015446 0ustar Package: libroot-math-minuit@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: root-plugin-minuit (<< 5.09.01-7) Provides: libroot-math-minuit Description: Minuit plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MINUIT plug-in for ROOT. This provides a fitting algorithm for ROOT. Package: libroot-math-minuit-dev Architecture: any Section: libdevel Depends: libroot-math-minuit@libvers@ (= ${binary:Version}), libroot-graf2d-graf-dev, ${misc:Depends} Provides: root-fitter Replaces: root-plugin-minuit (<< 5.09.01-7), libroot-minuit-dev Breaks: libroot-minuit-dev (<< 5.19.01-1) Description: Minuit plugin for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the MINUIT plug-in for ROOT, provides a fitting algorithm for ROOT. debian/skel/libroot-math-mathcore.control0000644000000000000000000000164412253755630015744 0ustar Package: libroot-math-mathcore@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Core mathemathics library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MathCore library for ROOT. Package: libroot-math-mathcore-dev Architecture: any Section: libdevel Depends: libroot-math-mathcore@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Core mathemathics library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the MathCore library for ROOT. debian/skel/libroot-math-matrix.control0000644000000000000000000000163712253755630015450 0ustar Package: libroot-math-matrix@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Matrix library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Matrix library for ROOT. Package: libroot-math-matrix-dev Architecture: any Section: libdevel Depends: libroot-math-matrix@libvers@ (= ${binary:Version}), libroot-core-dev, libroot-math-mathcore-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Matrix library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Matrix library for ROOT. debian/skel/root-system-common.control0000644000000000000000000000070412253755630015332 0ustar Package: root-system-common Architecture: all Multi-Arch: foreign Pre-Depends: ${misc:Pre-Depends} Depends: fonts-freefont-ttf | root-ttf, fonts-freefont-otf, fonts-opensymbol | root-ttf, ${misc:Depends} Description: Common files for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains some common infrastructure files for ROOT. debian/skel/libroot-bindings-ruby-dev.links.in0000644000000000000000000000011312253755630016576 0ustar @prefix@/lib/@multiarch@/root@libvers@/libRuby.so @rubyarchdir@/libRuby.so debian/skel/libroot-bindings-python.links.in0000644000000000000000000000030112253755630016361 0ustar @prefix@/lib/@multiarch@/root@libvers@/libPyROOT.so /usr/lib/python@pyver@/dist-packages/libPyROOT.so @prefix@/lib/@multiarch@/root@libvers@/ROOT.py /usr/share/python-support/root/ROOT.py debian/skel/root-plugin-proof-xproof.control0000644000000000000000000000102212253755630016446 0ustar Package: root-plugin-proof-xproof Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: root-plugin-net-netx Replaces: root-proofd Breaks: root-proofd (<= 5.13.05-4) Description: XPROOF plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the xproof plug-in for ROOT. This provides a client to be used in a PROOF environment. debian/skel/root-plugin-montecarlo-pythia5.control0000644000000000000000000000115312253755630017537 0ustar Package: root-plugin-montecarlo-pythia5 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Pythia version 5 plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Pythia version 5 plug-in for ROOT. This package provide the ROOT user with transparent interface to the Pythia (version 5) event generators for hadronic interactions. If the term "hadronic" doesn't ring any bells, this package is not for you. debian/skel/libroot-math-splot.control0000644000000000000000000000736712253755630015313 0ustar Package: libroot-math-splot@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Splot library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . A common method used in High Energy Physics to perform measurements is the maximum Likelihood method, exploiting discriminating variables to disentangle signal from background. The crucial point for such an analysis to be reliable is to use an exhaustive list of sources of events combined with an accurate description of all the Probability Density Functions (PDF). . To assess the validity of the fit, a convincing quality check is to explore further the data sample by examining the distributions of control variables. A control variable can be obtained for instance by removing one of the discriminating variables before performing again the maximum Likelihood fit: this removed variable is a control variable. The expected distribution of this control variable, for signal, is to be compared to the one extracted, for signal, from the data sample. In order to be able to do so, one must be able to unfold from the distribution of the whole data sample. . The SPlot method allows one to reconstruct the distributions for the control variable, independently for each of the various sources of events, without making use of any a priori knowledge on this variable. The aim is thus to use the knowledge available for the discriminating variables to infer the behaviour of the individual sources of events with respect to the control variable. . SPlot is optimal if the control variable is uncorrelated with the discriminating variables. Package: libroot-math-splot-dev Architecture: any Section: libdevel Depends: libroot-math-splot@libvers@ (= ${binary:Version}), libroot-graf2d-graf-dev, libroot-graf3d-g3d-dev, libroot-tree-treeplayer-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Splot library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . A common method used in High Energy Physics to perform measurements is the maximum Likelihood method, exploiting discriminating variables to disentangle signal from background. The crucial point for such an analysis to be reliable is to use an exhaustive list of sources of events combined with an accurate description of all the Probability Density Functions (PDF). . To assess the validity of the fit, a convincing quality check is to explore further the data sample by examining the distributions of control variables. A control variable can be obtained for instance by removing one of the discriminating variables before performing again the maximum Likelihood fit: this removed variable is a control variable. The expected distribution of this control variable, for signal, is to be compared to the one extracted, for signal, from the data sample. In order to be able to do so, one must be able to unfold from the distribution of the whole data sample. . The SPlot method allows one to reconstruct the distributions for the control variable, independently for each of the various sources of events, without making use of any a priori knowledge on this variable. The aim is thus to use the knowledge available for the discriminating variables to infer the behaviour of the individual sources of events with respect to the control variable. . SPlot is optimal if the control variable is uncorrelated with the discriminating variables. . This package provides development files of Splot library for ROOT. debian/skel/root-plugin-proof-proofplayer.control0000644000000000000000000000231612253755630017502 0ustar Package: libroot-proof-proofplayer@libvers@ Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Replaces: root-plugin-proof-proofplayer (< 5.23.05-1) Breaks: root-plugin-proof-proofplayer (< 5.23.05-1) Description: PROOF plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF extension ROOT. This provides a client to use in a PROOF environment. Package: libroot-proof-proofplayer-dev Architecture: any Depends: libroot-proof-proofplayer@libvers@ (= ${binary:Version}), libroot-proof-dev, ${misc:Depends} Suggests: root-plugin-net-netx, root-plugin-proof-xproof Replaces: root-plugin-proof-proofplayer (< 5.23.05-1) Breaks: root-plugin-proof-proofplayer (< 5.23.05-1) Description: PROOF plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the PROOF callable extension for ROOT. This provides a client to use in a PROOF environment. debian/skel/root-plugin-tree-treeplayer.control0000644000000000000000000000066312253755630017131 0ustar Package: root-plugin-tree-treeplayer Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: Plug-in to loop over a ROOT tree The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . Plug-in to loop over a ROOT tree. debian/skel/root-plugin-graf2d-asimage.control0000644000000000000000000000074312253755630016570 0ustar Package: root-plugin-graf2d-asimage Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: AfterImage plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the AfterImage plug-in for ROOT, which allows you to store output graphics in many formats, including JPEG, PNG, SVG, etc. debian/skel/root-plugin-geom-geompainter.control0000644000000000000000000000071312253755630017253 0ustar Package: root-plugin-geom-geompainter Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: Geometry painter plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a geometry painter plugin for ROOT. debian/skel/root-plugin-sql-odbc.control0000644000000000000000000000107012253755630015515 0ustar Package: root-plugin-sql-odbc Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Homepage: http://unixodbc.org or http://iodbc.org Description: ODBC plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the ODBC (Open DataBase Connectivity) plug-in for ROOT, that allows transparent access to any kind of database that supports the ODBC protocol. debian/skel/libroot-gui.control0000644000000000000000000000175712253755630014004 0ustar Package: libroot-gui@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: libroot (<< 5.19.01-1) Recommends: root-plugin-gui-guibuilder Description: GUI library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for defining graphical user interfaces. Package: libroot-gui-dev Architecture: any Section: libdevel Depends: libroot-gui@libvers@ (= ${binary:Version}), libroot-graf2d-gpad-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: GUI library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for defining graphical user interfaces. debian/skel/libroot-core.install.in0000644000000000000000000000004212253755630014525 0ustar @prefix@/lib/*/root@version@/cint debian/skel/root-plugin-math-minuit2.control0000644000000000000000000000072712253755630016337 0ustar Package: root-plugin-math-minuit2 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-fitter Description: Minuit version 2 plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MINUIT version 2 plug-in for ROOT. This provides an fitting algorithm for ROOT. debian/skel/libroot-misc-minicern.control0000644000000000000000000000167412253755630015753 0ustar Package: libroot-misc-minicern@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Small version of CERNLIB for use with ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the mini CERNLIB library for ROOT. Package: libroot-misc-minicern-dev Architecture: any Section: libdevel Depends: libroot-misc-minicern@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Small version of CERNLIB for use with ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the mini CERNLIB library for ROOT. debian/skel/libroot-core-dev.install.in0000644000000000000000000000132712253755630015310 0ustar @prefix@/share/aclocal/root.m4 @prefix@/share/emacs/site-lisp/root-help.el @prefix@/include/root/compiledata.h @prefix@/include/root/rmain.cxx @prefix@/include/root/RConfigure.h @prefix@/lib/*/root@version@/python # @prefix@/lib/*/root@version@/PyCintex.py* @prefix@/bin/genreflex @prefix@/bin/genreflex-rootcint @prefix@/bin/rootcint @prefix@/bin/root-config @prefix@/bin/memprobe @prefix@/bin/rmkdepend @prefix@/bin/rlibmap @prefix@/share/man/man1/genreflex.1* @prefix@/share/man/man1/genreflex-rootcint.1* @prefix@/share/man/man1/rootcint.1* @prefix@/share/man/man1/root-config.1* @prefix@/share/man/man1/memprobe.1* @prefix@/share/man/man1/rmkdepend.1* @prefix@/share/man/man1/rlibmap.1* # @sysconfdir@/root/system.rootmap debian/skel/root-plugin-graf2d-x11.control0000644000000000000000000000102112253755630015561 0ustar Package: root-plugin-graf2d-x11 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Provides: root-system-display Depends: ${shlibs:Depends}, ${misc:Depends} Description: X window system plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the X11 plug-in for ROOT, which allows using an X display for showing graphics. debian/skel/root-plugin-montecarlo-pythia6.control0000644000000000000000000000115312253755630017540 0ustar Package: root-plugin-montecarlo-pythia6 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Pythia version 6 plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Pythia version 6 plug-in for ROOT. This package provide the ROOT user with transparent interface to the Pythia (version 6) event generators for hadronic interactions. If the term "hadronic" does not ring any bells, this package is not for you. debian/skel/root-plugin-sql-maxdb.control0000644000000000000000000000116612253755630015707 0ustar Package: root-plugin-sql-maxdb Architecture: i386 ia64 amd64 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Homepage: http://www.mysql.com/products/maxdb Description: MaxDB client plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MaxDB plug-in for ROOT. This package provide a thin client (interface) to MaxDB servers. Using this client, one can obtain information from a MaxDB database into the ROOT environment. debian/skel/libroot-hist.control0000644000000000000000000000171012253755630014154 0ustar Package: libroot-hist@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: root-plugin-hist-histpainter Description: Histogram library for ROOT - run-time library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a library for histogramming. Package: libroot-hist-dev Architecture: any Section: libdevel Depends: libroot-hist@libvers@ (= ${binary:Version}), libroot-core-dev, libroot-math-matrix-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Histogram library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of a library for histogramming. debian/skel/root-system-proofd.links.in0000644000000000000000000000024612253755630015401 0ustar @prefix@/share/man/man1/proofserv.1.gz @prefix@/share/man/man1/proofserv.bin.1.gz @prefix@/share/man/man1/proofserv.1.gz @prefix@/share/man/man1/proofserv.exe.1.gz debian/skel/root-plugin-gui-guibuilder.control0000644000000000000000000000073212253755630016732 0ustar Package: root-plugin-gui-guibuilder Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Breaks: libroot-dev (<< 5.19.01-1) Replaces: libroot-dev Depends: ${shlibs:Depends}, ${misc:Depends} Description: GUI editor plug-in for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains a plug-in for editing graphical user interfaces in ROOT. debian/skel/libroot-roofit.control0000644000000000000000000000440212253755630014510 0ustar Package: libroot-roofit@libvers@ Architecture: any Section: libs Depends: ${shlibs:Depends}, libroot-math-minuit@libvers@ | root-fitter, ${misc:Depends} Homepage: http://roofit.sourceforge.net/ Replaces: root-plugin-roofit (<< 5.09.01-1) Description: ROOT extension for modeling expected distributions - libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The RooFit packages provide a toolkit for modeling the expected distribution of events in a physics analysis. Models can be used to perform likelihood fits, produce plots, and generate "toy Monte Carlo" samples for various studies. The RooFit tools are integrated with the object-oriented and interactive ROOT graphical environment. . RooFit has been developed for the BaBar collaboration, a high energy physics experiment at the Stanford Linear Accelerator Center, and is primarily targeted to the high-energy physicists using the ROOT analysis environment, but the general nature of the package make it suitable for adoption in different disciplines as well. Package: libroot-roofit-dev Architecture: any Section: libdevel Homepage: http://roofit.sourceforge.net/ Depends: libroot-roofit@libvers@ (= ${binary:Version}), libroot-graf2d-graf-dev, libroot-tree-dev, ${misc:Depends} Description: ROOT extension for modeling expected distributions - development The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The RooFit packages provide a toolkit for modeling the expected distribution of events in a physics analysis. Models can be used to perform likelihood fits, produce plots, and generate "toy Monte Carlo" samples for various studies. The RooFit tools are integrated with the object-oriented and interactive ROOT graphical environment. . RooFit has been developed for the BaBar collaboration, a high energy physics experiment at the Stanford Linear Accelerator Center, and is primarily targeted to the high-energy physicists using the ROOT analysis environment, but the general nature of the package make it suitable for adoption in different disciplines as well. . This package provides development files of RooFit. debian/skel/root-plugin-net-globus.control0000644000000000000000000000075512253755630016101 0ustar Package: root-plugin-net-globus Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: globus-proxy-utils, ${shlibs:Depends}, ${misc:Depends} Homepage: http://www.globus.org Description: Globus plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Globus plug-in for ROOT, that allows authentication and authorization against globus. debian/skel/root-plugin-geom-gdml.install.in0000644000000000000000000000012212253755630016251 0ustar @prefix@/lib/*/root@version@/ROOTwriter.py @prefix@/lib/*/root@version@/writer.py debian/skel/libroot-ldap.control0000644000000000000000000000176312253755630014135 0ustar Package: libroot-ldap@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: libroot-ldap, root-plugin-ldap Replaces: root-plugin-ldap (<< 5.09.01-1) Description: Ldap extension for ROOT - run-time libraries The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Ldap plug-in for ROOT. This gives you access to Ldap directories via ROOT. Package: libroot-ldap-dev Architecture: any Section: libdevel Depends: libroot-ldap@libvers@ (= ${binary:Version}), libroot-dev, libldap2-dev | libldap-dev, ${misc:Depends} Description: Ldap extension for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Ldap plug-in for ROOT. This gives you access to Ldap directories via ROOT. debian/skel/root-system-common.dirs.in0000644000000000000000000000002212253755630015211 0ustar @sysconfdir@/root debian/skel/root-plugin-proof.control0000644000000000000000000000073312253755630015143 0ustar Package: root-plugin-proof Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: root-plugin-netx, root-plugin-xproof Description: PROOF plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the proof plug-in for ROOT. This provides a client to use in a PROOF environment. debian/skel/root-plugin-io-xml.control0000644000000000000000000000067712253755630015232 0ustar Package: root-plugin-io-xml Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: XML reader plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the XML reader plug-in for ROOT. This package provide a plug-in to parse XML files with ROOT. debian/skel/libroot-net.control0000644000000000000000000000155112253755630013776 0ustar Package: libroot-net@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Net library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Net library for ROOT. Package: libroot-net-dev Architecture: any Section: libdevel Depends: libroot-net@libvers@ (= ${binary:Version}), libroot-math-mathcore-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Net library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Net library for ROOT. debian/skel/root-plugin-sql-mysql.control0000644000000000000000000000107412253755630015757 0ustar Package: root-plugin-sql-mysql Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Provides: root-db-client Description: MySQL client plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the MySQL plug-in for ROOT. This plugin provides a thin client (interface) to MySQL servers. Using this client, one can obtain information from a MySQL database into the ROOT environment. debian/skel/libroot-graf3d-gl.control0000644000000000000000000000316612253755630014762 0ustar Package: libroot-graf3d-gl@libvers@ Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: root-plugin-graf3d-gl (<< 5.19.00-1) Replaces: root-plugin-graf3d-gl (<< 5.19.00-1) Provides: root-plugin-graf3d-gl Description: GL plugin for ROOT - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the GL plug-in for ROOT. This plugin provides 3D rendering of volumes and shapes defined in ROOT, as well as 3D rendering of histograms, and similar. Included is also a high quality 3D viewer for ROOT defined geometries. Package: libroot-graf3d-gl-dev Architecture: any Section: libdevel Depends: libroot-graf3d-gl@libvers@ (= ${binary:Version}), libgl2ps-dev, ${misc:Depends} Breaks: root-plugin-graf3d-gl (<< 5.19.00-1) Replaces: root-plugin-graf3d-gl Description: GL plugin for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the GL plug-in for ROOT. This plugin provides 3D rendering of volumes and shapes defined in ROOT. Included is also a high quality 3D viewer for ROOT defined geometries. debian/skel/root-system-common.links.in0000644000000000000000000000476512253755630015412 0ustar @prefix@/share/fonts/truetype/freefont/FreeMono.ttf @prefix@/share/root/fonts/FreeMono.ttf @prefix@/share/fonts/truetype/freefont/FreeMonoBold.ttf @prefix@/share/root/fonts/FreeMonoBold.ttf @prefix@/share/fonts/truetype/freefont/FreeMonoOblique.ttf @prefix@/share/root/fonts/FreeMonoOblique.ttf @prefix@/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf @prefix@/share/root/fonts/FreeMonoBoldOblique.ttf @prefix@/share/fonts/truetype/freefont/FreeSans.ttf @prefix@/share/root/fonts/FreeSans.ttf @prefix@/share/fonts/truetype/freefont/FreeSansBold.ttf @prefix@/share/root/fonts/FreeSansBold.ttf @prefix@/share/fonts/truetype/freefont/FreeSansOblique.ttf @prefix@/share/root/fonts/FreeSansOblique.ttf @prefix@/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf @prefix@/share/root/fonts/FreeSansBoldOblique.ttf @prefix@/share/fonts/truetype/freefont/FreeSerif.ttf @prefix@/share/root/fonts/FreeSerif.ttf @prefix@/share/fonts/truetype/freefont/FreeSerifBold.ttf @prefix@/share/root/fonts/FreeSerifBold.ttf @prefix@/share/fonts/truetype/freefont/FreeSerifItalic.ttf @prefix@/share/root/fonts/FreeSerifItalic.ttf @prefix@/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf @prefix@/share/root/fonts/FreeSerifBoldItalic.ttf @prefix@/share/fonts/truetype/openoffice/opens___.ttf @prefix@/share/root/fonts/opens___.ttf @prefix@/share/fonts/opentype/freefont/FreeMono.otf @prefix@/share/root/fonts/FreeMono.otf @prefix@/share/fonts/opentype/freefont/FreeMonoBold.otf @prefix@/share/root/fonts/FreeMonoBold.otf @prefix@/share/fonts/opentype/freefont/FreeMonoOblique.otf @prefix@/share/root/fonts/FreeMonoOblique.otf @prefix@/share/fonts/opentype/freefont/FreeMonoBoldOblique.otf @prefix@/share/root/fonts/FreeMonoBoldOblique.otf @prefix@/share/fonts/opentype/freefont/FreeSans.otf @prefix@/share/root/fonts/FreeSans.otf @prefix@/share/fonts/opentype/freefont/FreeSansBold.otf @prefix@/share/root/fonts/FreeSansBold.otf @prefix@/share/fonts/opentype/freefont/FreeSansOblique.otf @prefix@/share/root/fonts/FreeSansOblique.otf @prefix@/share/fonts/opentype/freefont/FreeSansBoldOblique.otf @prefix@/share/root/fonts/FreeSansBoldOblique.otf @prefix@/share/fonts/opentype/freefont/FreeSerif.otf @prefix@/share/root/fonts/FreeSerif.otf @prefix@/share/fonts/opentype/freefont/FreeSerifBold.otf @prefix@/share/root/fonts/FreeSerifBold.otf @prefix@/share/fonts/opentype/freefont/FreeSerifItalic.otf @prefix@/share/root/fonts/FreeSerifItalic.otf @prefix@/share/fonts/opentype/freefont/FreeSerifBoldItalic.otf @prefix@/share/root/fonts/FreeSerifBoldItalic.otf debian/skel/root-system-common.install.in0000644000000000000000000000103512253755630015723 0ustar @sysconfdir@/root/gdb-backtrace.sh #@sysconfdir@/root/gdb-backtrace-script @sysconfdir@/root/hostcert.conf @sysconfdir@/root/html @sysconfdir@/root/pdg_table.txt @sysconfdir@/root/plugins @sysconfdir@/root/RadioNuclides.txt @sysconfdir@/root/root.mimes # @sysconfdir@/root/svninfo.txt @sysconfdir@/root/system.rootauthrc @sysconfdir@/root/system.rootrc @sysconfdir@/root/system.rootdaemonrc @sysconfdir@/root/valgrind-root.supp @prefix@/share/man/man1/system.rootdaemonrc.1* @prefix@/share/root/icons/ @prefix@/share/root/fonts/symbol.ttf debian/skel/root-system-doc.control0000644000000000000000000000071212253755630014606 0ustar Package: root-system-doc Section: doc Architecture: all Suggests: root-system-bin Depends: ${misc:Depends} Description: Tutorial and test suite for the ROOT system The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the tutorial scripts and test suite for the ROOT system, as well as the automatically generated HTML class documentation. debian/skel/root-plugin-net-glite.control0000644000000000000000000000060612253755630015705 0ustar Package: root-plugin-net-glite Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Description: Glite plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Glite plug-in for ROOT, which provides an interface to the Glite GRID facility. debian/skel/libroot-misc-table.control0000644000000000000000000000165512253755630015235 0ustar Package: libroot-misc-table@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Table library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Table library for ROOT. Package: libroot-misc-table-dev Architecture: any Section: libdevel Depends: libroot-misc-table@libvers@ (= ${binary:Version}), libroot-graf3d-g3d-dev, libroot-graf2d-gpad-dev, libroot-tree-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Table library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the development files of Table library for ROOT. debian/skel/root-system-bin.install.in0000644000000000000000000000103712253755630015205 0ustar @prefix@/share/root/macros/Dialogs.C @prefix@/bin/ssh2rpd @prefix@/bin/root.exe @prefix@/bin/roots.exe @prefix@/bin/rootn.exe @prefix@/bin/hadd # @prefix@/bin/cint # @prefix@/bin/makecint @prefix@/share/man/man1/ssh2rpd.1* @prefix@/share/man/man1/root.exe.1* @prefix@/share/man/man1/rootn.exe.1* @prefix@/share/man/man1/roots.exe.1* @prefix@/share/man/man1/hadd.1* # @prefix@/share/man/man1/cint.1* # @prefix@/share/man/man1/makecint.1* @prefix@/share/root/macros/html.C @prefix@/share/applications @prefix@/share/icons @prefix@/share/pixmaps debian/skel/libroot-graf3d-g3d.control0000644000000000000000000000227112253755630015031 0ustar Package: libroot-graf3d-g3d@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: libroot-graf3d-gl@libvers@ (>= ${binary:Version}) Suggests: libroot-geom@libvers@ Description: Basic 3D shapes for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This library contains the basic 3D shapes and classes for ROOT. For a more full-blown geometry library, see libroot-geom. Package: libroot-graf3d-g3d-dev Architecture: any Section: libdevel Depends: libroot-graf3d-g3d@libvers@ (= ${binary:Version}), libroot-graf2d-gpad-dev, ${misc:Depends} Recommends: libroot-graf3d-gl-dev Replaces: libroot-dev Breaks: libroot-dev (<= 5.19.01-1) Suggests: libroot-geom-dev Description: Basic 3D shapes for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This library contains development files of the basic 3D shapes and classes for ROOT. For a more full-blown geometry library, see libroot-geom-dev. debian/skel/libroot-math-physics.control0000644000000000000000000000162212253755630015620 0ustar Package: libroot-math-physics@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Physics library for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Physics library for ROOT. Package: libroot-math-physics-dev Architecture: any Section: libdevel Depends: libroot-math-physics@libvers@ (= ${binary:Version}), libroot-math-matrix-dev, ${misc:Depends} Replaces: libroot-dev Breaks: libroot-dev (<< 5.19.01-1) Description: Physics library for ROOT - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains development files of the Physics library for ROOT. debian/skel/libroot-io-xmlparser.control0000644000000000000000000000174112253755630015633 0ustar Package: libroot-io-xmlparser@libvers@ Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: XML parser of ROOT objects - runtime library The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides XML parser routines for ROOT objects. Package: libroot-io-xmlparser-dev Architecture: any Section: libdevel Depends: libroot-io-xmlparser@libvers@ (= ${binary:Version}), libroot-core-dev, ${misc:Depends} Replaces: libroot-dev, root-plugin-xml Breaks: libroot-dev (<< 5.19.01-1), root-plugin-xml (<< 5.19.01-1) Description: XML parser of ROOT objects - development files The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package provides development files of XML parser routines for ROOT objects. debian/skel/root-system-rootd.init.in0000644000000000000000000001045212253755630015062 0ustar #! /bin/bash # # skeleton Written by Miquel van Smoorenburg . # Modified for Debian # by Ian Murdock . # # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl # ### BEGIN INIT INFO # Provides: root-system-rootd # Required-Start: $remote_fs # Required-Stop: $remote_fs # Should-Start: $network # Should-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: ROOT file server # Description: Server of ROOT files via special ROOT protocol ### END INIT INFO # PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=@prefix@/bin/rootd NAME=rootd DESC="ROOT file server" USER=rootd test -x $DAEMON || exit 0 # Include root defaults if available if [ -f @sysconfdir@/default/root-system-rootd ] ; then . @sysconfdir@/default/root-system-rootd fi # Load the VERBOSE setting and other rcS variables [ -f /etc/default/rcS ] && . /etc/default/rcS # Define LSB log_* functions. . /lib/lsb/init-functions # Check options from system settings # User to execute rootd as test ! "x$ROOTD_USER" = "x" && USER=$ROOTD_USER # Port to listen to test ! "x$ROOTD_PORT" = "x" && DAEMON_OPTS="$DAEMON_OPTS -p $ROOTD_PORT" # SSH port test ! "x$SSH_PORT" = "x" && DAEMON_OPTS="$DAEMON_OPTS -s $SSH_PORT" # TCP window size test ! "x$ROOTD_WINDOW_SIZE" = "x" && DAEMON_OPTS="$DAEMON_OPTS -b $ROOTD_WINDOW_SIZE" # Debug level test ! "x$ROOTD_DEBUG" = "x" && DAEMON_OPTS="$DAEMON_OPTS -d $ROOTD_DEBUG" # Access rules file test ! "x$ROOTD_ACCESS_RULES" = "x" && DAEMON_OPTS="$DAEMON_OPTS -D $ROOTD_ACCESS_RULES" # Run in foreground (shouldn't be done in init script) test "x$ROOTD_FOREGROUND" = "xyes" && DAEMON_OPTS="$DAEMON_OPTS -f" # No client authentication (security issue) test "x$ROOTD_NO_AUTH" = "xyes" && DAEMON_OPTS="$DAEMON_OPTS -noauth" # files can only be opened read-only test "x$ROOTD_READ_ONLY" = "xyes" && DAEMON_OPTS="$DAEMON_OPTS -r" # Temporary directory test ! "x$ROOTD_TMP" = "x" && DAEMON_OPTS="$DAEMON_OPTS -T $ROOTD_TMP" # Require passwords. test "x$ROOTD_REQUIRE_PASSWD" = "xyes" && DAEMON_OPTS="$DAEMON_OPTS -w" # Check if rootd is under inetds control if test -f /var/run/inetd.pid ; then # Inetd is running if grep -q ^$NAME /etc/inetd.conf > /dev/null 2>&1 ; then # ROOTD is controlled by inetd. ENABLE_ROOTD=no fi fi # Check if rootd is under xinetds control if test -f /var/run/xinetd.pid ; then # Inetd is running if grep -q ^$NAME /etc/inetd.conf > /dev/null 2>&1 ; then # ROOTD is controlled by xinetd. ENABLE_ROOTD=no fi # old name for i in rootd root-rootd root-system-rootd ; do if test ! -f /etc/xinetd.d/$i ; then continue ; fi if test grep "disable[[:space:]]*= *[Nn][Oo]" /etc/xinetd.d/$i \ > /dev/null 2>&1 ; then # ROOTD is controlled by xinetd. ENABLE_ROOTD=no break fi done fi # Check if we're enabled at all case `echo $ENABLE_ROOTD | tr '[:upper:]' '[:lower:]'` in yes) ;; *) exit 0;; esac # Function to start the daemon startit() { o=`start-stop-daemon --chuid $USER --start --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS` ret=$? test $ret -ne 0 && return 1 eval $o # echo " (pid: $ROOTD_PID) " echo $ROOTD_PID > /var/run/$NAME.pid return $ret } # Function to stop the daemon stopit() { start-stop-daemon --user $USER --stop --oknodo --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON ret=$? test $ret -ne 0 && return 1 rm -f /var/run/$NAME.pid return $ret } # Main code case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" startit ret=$? [ "$VERBOSE" != no ] && log_end_msg $ret ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" stopit ret=$? [ "$VERBOSE" != no ] && log_end_msg $ret ;; restart|force-reload) # # If the "reload" option is implemented, move the "force-reload" # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # log_daemon_msg "Restarting $DESC" "$NAME" stopit sleep 1 startit ret=$? log_end_msg $ret ;; *) N=@sysconfdir@/init.d/root-system-$NAME # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 # # EOF # debian/skel/root-plugin-montecarlo-pythia8.control0000644000000000000000000000115312253755630017542 0ustar Package: root-plugin-montecarlo-pythia8 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Pythia version 8 plugin for ROOT The ROOT system provides a set of OO frameworks with all the functionality needed to handle and analyze large amounts of data efficiently. . This package contains the Pythia version 8 plug-in for ROOT. This package provide the ROOT user with transparent interface to the Pythia (version 8) event generators for hadronic interactions. If the term "hadronic" does not ring any bells, this package is not for you. debian/skel/ttf-root-installer.postinst.in0000644000000000000000000000352612253755630016125 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule archive=ttf_fonts.tar.gz db_get ttf-root-installer/dldir LOCALCOPY=$RET db_get ttf-root-installer/savedir SAVEDIR=${RET} case "$1" in configure) if test ! -f /var/cache/ttf-root-installer && \ test "x`echo $LOCALCOPY | tr [:upper:] [:lower:]`" != "xnone" ; then savdir=`pwd` tmpdir=`mktemp -d` cd $tmpdir if test -z $LOCALCOPY ; then # We need to download the tar-ball wget --continue --tries=1 --dns-timeout=20 \ --connect-timeout=20 --read-timeout=300 -q \ --directory-prefix . -c \ http://root.cern.ch/download/ttf/$archive else # Have the tar-ball already cp $LOCALCOPY/$archive . fi if test ! -f $archive ; then exit 1 fi # Unpack tar -tzf $archive | grep "\.ttf$" | sed 's,ttf/fonts/,,' \ | grep -v "symbol.ttf" > /var/cache/ttf-root-installer tar -xzf $archive mkdir -p @prefix@/share/root/fonts/ cd ttf/fonts/ for i in *.ttf ; do case $i in *symbol.ttf) ;; # ignore this one *) if grep $i /var/lib/ttf-root-installer/sha256sums | sha256sum -c ; then cp -a $i @prefix@/share/root/fonts/ else echo "Checksum mismatch for $i, aborting" exit 1 fi ;; esac done cp LICENSE \ @prefix@/share/doc/ttf-root-installer/LICENSE.fonts cd ../../ rm -rf ttf if test "x$SAVEDIR" != "x" ; then mkdir -p $SAVEDIR cp -a $archive $SAVEDIR/$archive fi rm -f $archive cd $savdir fi ;; abort-upgrade|abort-remove|abort-deconfigure) # Nothing to be done here ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/root-system-doc.docs0000644000000000000000000000022712253755630013121 0ustar README/BUILDSYSTEM README/CREDITS README/README README/README.ALIEN README/README.AUTH README/README.GLOBUS README/README.PROOF README/README.SELECTOR debian/script/0000755000000000000000000000000012253755630010502 5ustar debian/script/makelist0000755000000000000000000000771512253755630012253 0ustar #!/usr/bin/make -f # # # Normal variables derived from passed variables LPATH := $(PREFIX)/lib/$(DEB_HOST_MULTIARCH) IPATH := $(PREFIX)/include/root BPATH := $(PREFIX)/bin MPATH := $(PREFIX)/share/man/man1 SOEXT := so MAJOR := $(shell echo $(VERSION) | tr '.' ' ' | cut -f1 -d' ') MINOR := $(shell echo $(VERSION) | tr '.' ' ' | cut -f2 -d' ') SOVER := $(MAJOR).$(MINOR) RLIBD := $(PREFIX)/lib/$(DEB_HOST_MULTIARCH) # Put all library files into version-specific lists ifneq ($(LIB),$(DEV)) SLIB := $(LIB)$(SOVER) else SLIB := $(LIB) endif ifneq ($(LIB),$(BIN)) SBIN := $(BIN) else SBIN := $(SLIB) endif # Include general and directory specific make rules ifneq ($(DIRS),) include config/Makefile.config include config/Makefile.$(ARCH) include $(foreach i, $(DIRS), $(i)/Module.mk) endif # ! $(DIRS) = ifneq ($(filter cint/cint,$(DIRS)),) include cint/ROOT/cintdlls.mk DICTLIBS += $(patsubst lib/%, $(RLIBD)/%, $(filter lib/%, $(CINTDICTDLLS))) ALLMAPS = $(patsubst lib/%, $(RLIBD)/%, $(filter lib/%, $(CINTDICTMAPS))) endif # Default target and message all: hello liblist devlist binlist hello: @echo "Making list for '$(DIRS)' ($(SLIB),$(DEV),$(SBIN))" # @echo "ALLLIBS=$(ALLLIBS) ALLMAPS=$(ALLMAPS) PKGLIBS=$(PKGLIBS)" # If we have a development package, get the list of headers. ifneq ($(DEV),) PKGHDRS := $(shell echo $(ALLHDRS) | sed -e 's,[^ ]*inc/,include/,g' -e 's,include/,usr/include/root/,g') endif # If we have a Library, then we get the list of libraries ifneq ($(LIB),) # if the development package and the library package is not the same, # we need to append the soversion to the library directory ifneq ($(LIB),$(DEV)) PKGLIBS := $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%.$(SOVER)) \ $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%.$(MAJOR)) \ $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%) \ $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/%.$(SOVER)) \ $(DICTLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%.$(SOVER)) \ $(DICTLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%.$(MAJOR)) \ $(DICTLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%) DEVLIBS := $(ALLLIBS) else # ! $(LIB) = $(DEV) # If the development and library package is the same (plugins), then we need # only add the soversion to the library directory PKGLIBS := $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%.$(SOVER)) \ $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%.$(MAJOR)) \ $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%) \ $(ALLLIBS:$(RLIBD)/%=$(RLIBD)/%.$(SOVER)) endif # $(LIB) = $(DEV) endif # $(LIB) ifneq ($(NOMAP),1) #NOXRD := $(filter-out $(LIBPATH)/libXrd%, $(ALLLIBS)) #PKGLIBS := $(PKGLIBS) $(NOXRD:$(RLIBD)/%.so=$(RLIBD)/root$(SOVER)/%.rootmap) PKGLIBS := $(PKGLIBS) $(ALLMAPS:$(RLIBD)/%=$(RLIBD)/root$(SOVER)/%) endif # The rule to make library lists liblist: ifneq ($(LIB),) @for f in $(PKGLIBS) ; do echo $$f ; done >> $(OUT)/$(SLIB).install ifneq ($(LIB), $(DEV)) @(cd $(BUILD)/$(RLIBD) && \ for i in $(ALLLIBS) ; do \ b=`basename $$i` ; \ ln -fs root$(SOVER)/$$b . ; \ ln -fs root$(SOVER)/$$b.$(SOVER) . ; done) else # $(LIB) = $(DEV) @(cd $(BUILD)/$(RLIBD) && \ for i in $(ALLLIBS) ; do \ b=`basename $$i` ; \ ln -fs root$(SOVER)/$$b.$(SOVER) . ; done) endif # $(LIB) = $(DEV) endif # $(LIB) # If we have a development library, get the list of headers for the package. ifneq ($(DEV),) PKGHDRS := $(ALLHDRS:include/%=$(IPATH)/%) $(DEVLIBS) endif # $(DEV) # Rule to make development package list devlist: ifneq ($(DEV),) ifneq ($(DEV),$(LIB)) @for f in $(filter-out %.cw %.pri, $(PKGHDRS)) ; \ do echo $$f ; done >> $(OUT)/$(DEV).install endif endif # If we have a binary package, then get list of programs and man pages ifneq ($(BIN),) PKGEXECS= $(ALLEXECS:bin/%=$(BPATH)/%) PKGMANS = $(ALLEXECS:bin/%=$(MPATH)/%.1) endif # $(BIN) # Rule to make program package list binlist: ifneq ($(BIN),) @for f in $(PKGEXECS) ; do echo $$f ; done >> $(OUT)/$(SBIN).install @for f in $(PKGMANS) ; do echo $$f\* ; done >> $(OUT)/$(SBIN).install endif # # EOF # debian/script/makecintdll.sh0000755000000000000000000000545512253755630013341 0ustar #! /bin/sh # Script to create auxiliary CINT dll's. # Called by main Makefile. # # Author: Fons Rademakers, 27/7/2000 PLATFORM=$1 ; shift if [ $PLATFORM != "clean" ]; then TYPE=$1 ; shift DLLNAME=$1 ; shift DLLDIRNAME=$1 ; shift DLLHEADERS=$1 ; shift CINT=$1 ; shift ROOTCINT=$1 ; shift MAKELIB=$1 ; shift CXX=$1 ; shift CC=$1 ; shift LD=$1 ; shift OPT=$1 ; shift CINTCXXFLAGS=$1 ; shift CINTCFLAGS=$1 ; shift LDFLAGS=$1 ; shift SOFLAGS=$1 ; shift SOEXT=$1 ; shift COMPILER=$1 ; shift CXXOUT=$1 ; shift else DLLNAME=$1 ; shift fi if [ $PLATFORM = "macosx" ]; then macosx_minor=`sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2` AUXCXXFLAGS=-fno-inline fi if [ $PLATFORM = "win32" ]; then EXESUF=.exe CC=`pwd`/$CC fi if [ "x$COMPILER" = "xgnu" ]; then GCC_MAJOR=`$CXX -dumpversion 2>&1 | cut -d'.' -f1` GCC_MINOR=`$CXX -dumpversion 2>&1 | cut -d'.' -f2` fi if [ "x$TYPE" = "xC" ] ; then CINT_TYPE=-c-2 CINT_EXT=c COMP=$CC COMPFLAGS=$CINTCFLAGS else CINT_TYPE=-c-1 CINT_EXT=cxx COMP=$CXX COMPFLAGS=$CINTCXXFLAGS fi # Filter out the explicit link flag if [ "x`echo $MAKELIB | grep build/unix/makelib.sh`" != "x" ]; then MAKELIB=`echo $MAKELIB | sed -e "s/ -x//g"` fi CINTDIRL=cint/cint/lib CINTDIRI=cint/cint/include CINTDIRS=cint/cint/stl clean() { rm -f $CINTDIRI/$DLLNAME.dll $CINTDIRI/$DLLNAME.so.* } execute() { echo $1 $1 } rename() { if [ "$SOEXT" != "dll" ]; then if [ "$PLATFORM" = "macosx" ]; then if [ $macosx_minor -ge 4 ]; then mv $1.$SOEXT $1.dll rm -f $1.so else mv $1.so $1.dll rm -f $1.$SOEXT fi else mv $1.$SOEXT $1.dll fi fi } macrename() { if [ "$PLATFORM" = "macosx" ]; then if [ $macosx_minor -ge 4 ]; then mv -f $1.$SOEXT $1.so else rm -f $1.$SOEXT fi fi; } cpdllwin32() { mv -f bin/$DLLNAME.dll $CINTDIRI } ##### first delete old dll's ##### clean if [ $PLATFORM = "clean" ]; then exit 0; fi ##### $DLLNAME.dll & stdcxxfunc.dll ##### DLLDIR=$CINTDIRL/$DLLDIRNAME DLLHEADER=$DLLDIR/G__$DLLNAME.h DLLSOURCE=$DLLDIR/G__$DLLNAME.$CINT_EXT DLLOBJECT=$DLLDIR/G__$DLLNAME.o execute "$CINT -K -w1 -z$DLLNAME -n$DLLSOURCE -D__MAKECINT__ \ -DG__MAKECINT $CINT_TYPE -Z0 -I$DLLDIR $DLLHEADERS" execute "$COMP $OPT $COMPFLAGS -I. $CXXOUT$DLLOBJECT -I$DLLDIR \ -c $DLLSOURCE" $MAKELIB $PLATFORM $LD "$LDFLAGS" "$SOFLAGS" $DLLNAME.$SOEXT \ $CINTDIRI/$DLLNAME.$SOEXT "$DLLOBJECT" rename $CINTDIRI/$DLLNAME rm -f $DLLSOURCE $DLLOBJECT $DLLHEADER if [ $PLATFORM = "win32" ]; then cpdllwin32 fi exit 0 debian/script/makelists.sh0000755000000000000000000001605612253755630013045 0ustar #!/bin/sh outdir=$1 ; shift build=$1 ; shift version=$1 ; shift prefix=$1 ; shift sysconfdir=$1 ; shift pkgdocdir=$1 ; shift sovers=`echo $version | sed 's/\([[:digit:]]*\.[[:digit:]]*\)\..*/\1/'` rm -f $outdir/*.install # install file lists that need no substitutions for i in debian/skel/*.install ; do if test ! -f $i ; then continue ; fi cp $i $outdir done set_lib_names() { base=$1 ; shift sub=$1 ; shift lib=libroot-${base} if test "x$sub" != "x" ; then lib=${lib}-${sub} ; fi dev=${lib}-dev if test "x$1" != "x" ; then bin=$1 else bin=${lib} fi } set_plugin_names() { base=$1 ; shift sub=$1 ; shift lib=root-plugin-${base}-${sub} dev=${lib} if test "x$1" != "x" ; then bin=$1 else bin=${lib} fi } # # Loop over the directories, and update the file lists based on the # information in Module.mk files in each subdirectory # l=`find . -name "Module.mk" -print0 | xargs -L 1 -0 dirname | sort -u | sed 's,./,,' | grep -v macosx` for d in $l ; do # # If there's no Module.mk file in the currently inspected # directory, continue # if test ! -d $d || test ! -f $d/Module.mk ; then continue ; fi # # Reset variables # pkg= lib= bin= extra= base=`dirname $d` sub=`basename $d` # # Deal with some special directories. For each directory, check # if it's libraries and such should go into some special package. # case $d in bindings/pyroot)set_lib_names $base python ;; bindings/*) set_lib_names $base $sub ;; build) continue ;; core/winnt) continue ;; core/newdelete) set_lib_names $base "" root-system-bin extra="ALLMAPS=${prefix}/lib/$DEB_HOST_MULTIARCH/libCore.rootmap ";; core/rint) set_lib_names $base "" root-system-bin ;; core/thread) set_lib_names $base "" root-system-bin ;; core/*) set_lib_names $base "" root-system-bin extra="ALLMAPS=${prefix}/lib/$DEB_HOST_MULTIARCH/libCore.rootmap " extra="$extra ALLLIBS=${prefix}/lib/$DEB_HOST_MULTIARCH/libCore.so" ;; cint/cint) set_lib_names core "" root-system-bin extra="ALLLIBS=${prefix}/lib/$DEB_HOST_MULTIARCH/libCint.so" ;; # extra="NOMAP=1 ALLLIBS=${prefix}/lib/$DEB_HOST_MULTIARCH/libCint.so" cint/cintex) case `uname -m` in i*86 | x86_64) set_lib_names core "" root-system-bin ;; *) continue ;; esac ;; cint/reflex) set_lib_names core "" libroot-core-dev extra="REFLEXLIB=${prefix}/lib/$DEB_HOST_MULTIARCH/libReflex.so" ;; cint/cling) continue ;; cint/*) set_lib_names core "" root-system-bin ;; geom/geom) set_lib_names $base "" ;; geom/*) set_plugin_names $base $sub ;; graf2d/gpad) set_lib_names $base $sub ;; graf2d/graf) set_lib_names $base $sub ;; graf2d/postscript) set_lib_names $base $sub ;; graf2d/gviz) set_plugin_names $base $sub ;; graf2d/asimage) set_plugin_names $base $sub ;; graf2d/freetype)continue;; graf2d/win32gdk)continue;; graf2d/x11*) set_plugin_names $base x11 ;; graf2d/*) set_plugin_names $base $sub ;; graf3d/ftgl) continue;; graf3d/gl) set_lib_names $base $sub ;; graf3d/g3d) set_lib_names $base $sub ;; graf3d/eve) set_lib_names $base $sub ;; graf3d/*) set_plugin_names $base $sub ;; gui/gui) set_lib_names $base "" ;; gui/guihtml) set_lib_names $base "" ;; gui/ged) set_lib_names $base $sub ;; gui/qt*) set_plugin_names $base qt ;; gui/*) set_plugin_names $base $sub ;; hist/hist) set_lib_names $base "" ;; hist/spectrum) set_lib_names $base $sub ;; hist/*) set_plugin_names $base $sub ;; html) set_lib_names $sub "" ;; io/io) set_lib_names $base "" ;; io/xmlparser) set_lib_names $base $sub ;; io/rfio) continue;; io/*) set_plugin_names $base $sub ;; main) continue;; math/fftw) set_plugin_names $base ${sub}3 ;; math/fumili) set_plugin_names $base $sub ;; math/minuit2) set_plugin_names $base $sub ;; math/*) set_lib_names $base $sub ;; misc/*) set_lib_names $base $sub ;; montecarlo/pythia*) set_plugin_names $base $sub ;; montecarlo/*) set_lib_names $base $sub ;; net/auth) set_lib_names $base $sub ;; net/net) set_lib_names $base "" ;; net/ldap) set_lib_names $base $sub ;; net/rootd) lib=root-system-$sub ; dev=$lib ; bin=$lib ;; net/globusauth) set_plugin_names $base globus ;; net/bonjour) set_lib_names $base $sub ;; net/krb5auth) set_plugin_names $base krb5 ;; net/srputils) set_plugin_names $base srp ;; net/rpdutils) set_lib_names $base auth root-system-bin ;; net/*) set_plugin_names $base $sub ;; proof/proofd) set_plugin_names $base xproof root-system-${base}d ;; proof/proofx) set_plugin_names $base xproof ;; proof/clarens) set_lib_names $base $sub ;; proof/proof) set_lib_names $base "" ;; proof/proofplayer) set_lib_names $base $sub ;; proof/*) set_plugin_names $base $sub ;; roofit/*) set_lib_names $base "" ;; rootx) set_lib_names core "" root-system-bin ;; sql/sapdb) set_plugin_names $base maxdb ;; sql/*) set_plugin_names $base $sub ;; tmva) set_lib_names $sub "" ;; tree/tree) set_lib_names $base "" ;; tree/treeplayer)set_lib_names $base $sub ;; tree/*) set_plugin_names $base $sub ;; *) set_plugin_names $base $sub ;; esac # # Update package list based on the Module.mk in the currenly # investigated directory # # echo "Making list for $d (dev=$dev lib=$lib bin=$bin extra=$extra)" # echo "Making list for $d" ./debian/script/makelist DIRS=$d DEV=$dev LIB=$lib BIN=$bin \ VERSION=$version PREFIX=$prefix OUT=$outdir BUILD=$build $extra \ --no-print-directory all done # # For each skeleton file, replace occurances of @prefix@, # @sysconfdir@, and @pkgdocdir@ with the appropriate values # for i in debian/skel/*.install.in ; do if test ! -f $i ; then continue ; fi b=`basename $i .install.in` case $b in lib*static*) b=$outdir/${b} ;; lib*-dev) b=$outdir/${b} ;; lib*) b=$outdir/${b}${sovers} ;; *) b=$outdir/${b} ;; esac grep -v "^#" $i | \ sed -e "s|@prefix@|${prefix}|g" \ -e "s|@sysconfdir@|${sysconfdir}|g" \ -e "s|@pkgdocdir@|${pkgdocdir}|g" \ -e "s|@version@|${sovers}|g" \ > ${b}.tmp if test -f ${b}.install ; then cat ${b}.tmp ${b}.install > ${b}.tmp2 mv ${b}.tmp2 ${b}.install else cp ${b}.tmp ${b}.install fi rm -f ${b}.tmp ${b}.tmp2 done for i in $outdir/*.install ; do if test ! -f $i ; then continue ; fi sort -u ${i} > ${i}.tmp mv ${i}.tmp ${i} done # # EOF # debian/script/makebuilddepend.sh0000755000000000000000000002572512253755630014171 0ustar #!/bin/sh # need_krb5=0 need_qt=0 if test "x$1" = "xrpm" ; then shift for i in $* ; do case $i in *-dev) ;; libroot-bindings-python) echo "BuildRequires: python-devel >= 2.1" ;; libroot-bindings-ruby) echo "BuildRequires: ruby-devel" echo "BuildRequires: ruby" ;; libroot-core) ;; libroot-geom) ;; libroot-graf2d-gpad) ;; libroot-graf2d-graf) ;; libroot-graf2d-postscript) ;; libroot-graf3d-eve) ;; libroot-graf3d-g3d) ;; libroot-graf3d-gl) echo "BuildRequires: mesa-libGLU-devel" ;; libroot-gui) ;; libroot-gui-ged) ;; libroot-hist) ;; libroot-hist-spectrum) ;; libroot-io) ;; libroot-io-xmlparser) echo "BuildRequires: libxml2-devel" ;; libroot-math-physics) ;; libroot-math-foam) ;; libroot-math-genvector) ;; libroot-math-mathcore) ;; libroot-math-mathmore) echo "BuildRequires: gsl-devel" ;; libroot-math-matrix) ;; libroot-math-minuit) ;; libroot-math-mlp) ;; libroot-math-quadp) ;; libroot-math-smatrix) ;; libroot-math-splot) ;; libroot-math-unuran) ;; libroot-misc-table) ;; libroot-misc-memstat) ;; libroot-misc-minicern) echo "BuildRequires: gcc-gfortran" ;; libroot-montecarlo-eg) ;; libroot-montecarlo-vmc) ;; libroot-net-ldap) echo "BuildRequires: openldap-devel" ;; libroot-net-bonjour) ;; libroot-proof) ;; libroot-proof-clarens) echo "BuildRequires: xmlrpc-c-devel" ;; libroot-proof-proofplayer) ;; libroot-roofit) ;; libroot-static) ;; libroot-tmva) ;; libroot-tree) ;; libroot-tree-treeplayer) ;; libroot-net) ;; libroot-net-auth) ;; root-plugin-geom-geompainter) ;; root-plugin-geom-geombuilder) ;; root-plugin-geom-gdml) ;; root-plugin-graf2d-x11) ;; # Build dependency on AfterStep-devel temporarily commented out # until such a time when ROOT can use the normal libAfterImage. # Input the build dependencies of the libafterimage-dev package # *asimage) echo -n ", AfterStep-devel" ;; root-plugin-graf2d-asimage) echo "BuildRequires: freetype-devel" echo "BuildRequires: zlib-devel" echo "BuildRequires: libtiff-devel" echo "BuildRequires: libpng-devel" echo "BuildRequires: libungif-devel" echo "BuildRequires: libjpeg-devel" echo "BuildRequires: libICE-devel" echo "BuildRequires: libSM-devel" echo "BuildRequires: gawk" ;; root-plugin-graf2d-qt) need_qt=1 ;; root-plugin-graf2d-gviz) ;; root-plugin-graf3d-x3d) ;; root-plugin-gui-fitpanel) ;; root-plugin-gui-guibuilder) ;; root-plugin-gui-qt) need_qt=1 ;; root-plugin-gui-sessionviewer) ;; root-plugin-hist-hbook) ;; root-plugin-hist-histpainter) ;; root-plugin-hist-spectrumpainter) ;; root-plugin-io-castor) echo "BuildRequires: castor-devel" ;; root-plugin-io-chirp) ;; root-plugin-io-dcache) echo "BuildRequires: d-cache-client" ;; root-plugin-io-sql) ;; root-plugin-io-xml) ;; root-plugin-math-fftw3) echo "BuildRequires: fftw3-devel" ;; root-plugin-math-fumili) ;; root-plugin-math-mathmore) ;; root-plugin-math-minuit2) ;; root-plugin-math-mlp) ;; root-plugin-montecarlo-pythia6) echo "BuildRequires: pythia6-devel" ;; root-plugin-montecarlo-pythia8) echo "BuildRequires: pythia8-devel" ;; root-plugin-net-alien) echo "BuildRequires: AliEn-Client" ;; root-plugin-net-globus) echo "BuildRequires: globus" ;; root-plugin-net-krb5) echo "BuildRequires: krb5-devel" ;; root-plugin-net-netx) ;; root-plugin-net-srp) echo "BuildRequires: srp-devel" ;; root-plugin-net-bonjour) echo -n ", libavahi-core-dev" ;; root-plugin-proof-peac) ;; root-plugin-proof-proofplayer) ;; root-plugin-proof-xproof) ;; root-plugin-sql-oracle) "BuildRequires: oracle-instantclient-devel" ;; root-plugin-sql-mysql) cat <= 4.1.0 %else BuildRequires: mysql-devel >= 4.1.0 %endif %else BuildRequires: mysql-devel >= 4.1.0 %endif EOF ;; root-plugin-sql-odbc) echo "BuildRequires: unixODBC-devel >= 2.2.11" ;; root-plugin-sql-pgsql) echo "BuildRequires: postgresql-devel" ;; root-plugin-sql-maxdb) echo "BuildRequires: libsqlod75-dev" ;; root-plugin-tree-treeviewer) ;; root-system-bin) ;; root-system-common) ;; root-system-doc) ;; root-system-proofd) ;; root-system-rootd) ;; ttf-root*) ;; *) echo "*** Warning *** Unknown package $i - please update $0" \ > /dev/stderr ;; esac done if test $need_qt -gt 0 ; then cat <= 4.3.0 %else BuildRequires: qt4-devel >= 4.3.0 %endif %endif %else BuildRequires: qt4-devel >= 4.3.0 %endif EOF fi if test $need_krb5 -gt 0 ; then echo "BuildRequires: krb5-devel" fi exit 0 fi ### echo %%% Making build dependencies bd= for i in $* ; do case $i in *-dev) ;; libroot-bindings-python) echo -n ", python-support (>= 0.3)" ;; libroot-bindings-ruby) echo -n ", ruby, ruby-dev" ;; libroot-core) ;; libroot-geom) ;; libroot-graf2d-gpad) ;; libroot-graf2d-graf) ;; libroot-graf2d-postscript) ;; libroot-graf3d-eve) ;; libroot-graf3d-g3d) ;; libroot-graf3d-gl) echo -n ", libglu1-mesa-dev" echo -n "| xlibmesa-glu-dev | libglu-dev" echo -n ", libglew-dev" echo -n ", libftgl-dev" echo -n ", libgl2ps-dev" ;; libroot-gui) ;; libroot-gui-ged) ;; libroot-hist) ;; libroot-hist-spectrum) ;; libroot-io) ;; libroot-io-xmlparser) echo -n ", libxml2-dev" ;; libroot-math-physics) ;; libroot-math-foam) ;; libroot-math-genvector) ;; libroot-math-mathcore) ;; libroot-math-mathmore) echo -n ", libgsl0-dev" ;; libroot-math-matrix) ;; libroot-math-minuit) ;; libroot-math-mlp) ;; libroot-math-quadp) ;; libroot-math-smatrix) ;; libroot-math-splot) ;; libroot-math-unuran) ;; libroot-misc-table) ;; libroot-misc-memstat) ;; libroot-misc-minicern) echo -n ", gfortran|fortran-compiler" ;; libroot-montecarlo-eg) ;; libroot-montecarlo-vmc) ;; libroot-net-ldap) echo -n ", libldap2-dev | libldap-dev" ;; libroot-proof) ;; libroot-proof-clarens) echo -n ", libxmlrpc-c3-dev | libxmlrpc-c-dev | libxmlrpc-core-c3-dev" echo -n ", libcurl4-gnutls-dev | libcurl4-openssl-dev | libcurl-dev" ;; libroot-proof-proofplayer) ;; libroot-roofit) ;; libroot-tmva) ;; libroot-tree) ;; libroot-tree-treeplayer) ;; libroot-net) ;; libroot-net-auth) ;; libroot-net-bonjour) echo -n ", libavahi-compat-libdnssd-dev" ;; root-plugin-geom-geompainter) ;; root-plugin-geom-geombuilder) ;; root-plugin-geom-gdml) ;; root-plugin-graf2d-x11) ;; # Build dependency libafterimage-dev temporarily commented out # until such a time that ROOT can use the normal libAfterImage. # root-plugin-graf3d-asimage) echo -n ", libafterimage-dev" ;; # Input the build dependencies of the libafterimage-dev package root-plugin-graf2d-asimage) echo -n ", libjpeg-dev, libpng12-dev, libtiff-dev" echo -n ", libafterimage-dev, libgif-dev, libxinerama-dev" ;; root-plugin-graf2d-qt) need_qt=1 ;; root-plugin-graf2d-gviz) ;; root-plugin-graf3d-x3d) ;; root-plugin-gui-fitpanel) ;; root-plugin-gui-guibuilder) ;; root-plugin-gui-qt) need_qt=1 ;; root-plugin-gui-sessionviewer) ;; root-plugin-hist-hbook) ;; root-plugin-hist-histpainter) ;; root-plugin-hist-spectrumpainter) ;; root-plugin-io-castor) echo -n ", libshift-dev" ;; root-plugin-io-chirp) echo -n ", libchirp-dev" ;; root-plugin-io-dcache) echo -n ", libdcap-dev" ;; root-plugin-io-sql) ;; root-plugin-io-xml) ;; root-plugin-math-fftw3) echo -n ", libfftw3-dev | fftw3-dev" ;; root-plugin-math-fumili) ;; root-plugin-math-minuit2) ;; root-plugin-math-mlp) ;; root-plugin-montecarlo-pythia5) echo -n ", libpythia5-dev" ;; root-plugin-montecarlo-pythia6) echo -n ", libpythia6-dev" ;; root-plugin-montecarlo-pythia8) echo -n ", libpythia8-dev" ;; root-plugin-net-alien) echo -n ", libgapiui-dev" ;; root-plugin-net-globus) echo -n ", libglobus-gss-assist-dev" echo -n ", libglobus-gsi-credential-dev" echo -n ", libglobus-common-dev" echo -n ", libglobus-gsi-sysconfig-dev" echo -n ", libglobus-gssapi-gsi-dev" echo -n ", libglobus-gsi-callback-dev" echo -n ", libglobus-gsi-cert-utils-dev" echo -n ", libglobus-openssl-module-dev" echo -n ", libglobus-gsi-proxy-core-dev" echo -n ", libglobus-callout-dev" echo -n ", globus-proxy-utils" ;; root-plugin-net-krb5) need_krb5=1 echo -n ",krb5-user|heimdal-clients" ;; root-plugin-net-netx) ;; root-plugin-net-srp) echo -n ", libsrputil-dev" ;; root-plugin-net-bonjour) echo -n ", libavahi-core-dev" ;; root-plugin-proof-peac) ;; root-plugin-proof-proofplayer) ;; root-plugin-proof-xproof) ;; root-plugin-sql-oracle) echo -n ", oracle-instantclient-devel" ;; root-plugin-sql-mysql) echo -n ", libmysqlclient-dev" ;; root-plugin-sql-odbc) echo -n ", libiodbc2-dev | unixodbc-dev" ;; root-plugin-sql-pgsql) echo -n ", libpq-dev" ;; root-plugin-sql-maxdb) echo -n ", libsqlod75-dev [i386 ia64 amd64]" ;; root-plugin-tree-treeviewer) ;; root-system-bin) ;; root-system-common) ;; root-system-doc) ;; root-system-proofd) ;; root-system-rootd) ;; ttf-root*) ;; *) echo "*** Warning *** Unknown package $i - please update $0" \ > /dev/stderr ;; esac done if test $need_qt -gt 0 ; then echo -n ", libqt4-dev (>= 4.3.0) | libqt3-mt-dev (>= 3.3.0)" echo -n ", qt4-dev-tools (>= 4.3.0) | qt3-dev-tools (>= 3.3.0)" echo -n ", libqt4-opengl-dev" fi if test $need_krb5 -gt 0 ; then echo -n ", libkrb5-dev|heimdal-dev" fi # # EOF # debian/changelog0000644000000000000000000010612012262622244011042 0ustar root-system (5.34.14-1build1) trusty; urgency=medium * Rebuild against glew 1.10. -- Colin Watson Mon, 06 Jan 2014 21:48:20 +0000 root-system (5.34.14-1) unstable; urgency=low * New upstream release. * libglew1.9 transition: build-depend on libglew-dev instead of libglew1.5-dev. * Fix globus header path. (Closes: #730942) * Fix typos in package description, thanks to Pascal De Vuyst . (Closes: #726104, #726106, #726108, #726109) * Bump Standards-Version to 3.9.5: - root-system-rootd.postinst: specify --home option for adduser. -- Lifeng Sun Tue, 17 Dec 2013 12:02:30 +0800 root-system (5.34.10-1) unstable; urgency=low * New upstream release. -- Lifeng Sun Fri, 30 Aug 2013 09:21:34 +0800 root-system (5.34.09-1) unstable; urgency=low * New upstream release. * root-system-common: depends on fonts-freefont-otf. Thanks to Christophe Hugon. (Closes: #714638) -- Lifeng Sun Wed, 03 Jul 2013 18:28:49 +0800 root-system (5.34.08-1) unstable; urgency=low * New upstream release. * Bump Standards-Vesion to 3.9.4. * Update Vcs-* fields. * Remove obsolte DM-Upload-Allowed field. * Replace dh_pysupport with dh_python2. -- Lifeng Sun Thu, 06 Jun 2013 14:34:06 +0800 root-system (5.34.07-1) unstable; urgency=low * New upstream release. * Build-depend on libtiff-dev rather than libtiff4-dev. -- Lifeng Sun Tue, 30 Apr 2013 09:54:17 +0800 root-system (5.34.06-1~exp1) experimental; urgency=low * New upstream release. -- Lifeng Sun Tue, 23 Apr 2013 09:12:17 +0800 root-system (5.34.05-1~exp1) experimental; urgency=low * New upstream release. * libroot-graf2d-graf{5.34,-dev}: fix typo in package description. Thanks to Davide Prina. (Closes: #698522) * libroot-graf2d-gpad{5.34,-dev}: remove duplicated paragraphs in package description. Thanks to Davide Prina. (Closes: #698529) * Add Dutch translation. Thanks to Vincent Zweije. (Closes: #692586) * libroot-geom-dev: remove multi-arch support. (Closes: #693597) -- Lifeng Sun Tue, 05 Mar 2013 18:41:25 +0800 root-system (5.34.03-1~exp1) experimental; urgency=low * New upstream release. -- Lifeng Sun Sun, 28 Oct 2012 08:14:29 +0800 root-system (5.34.02-1~exp2) experimental; urgency=low * libroot-proof-dev: breaks libroot-proof-proofplayer-dev (<= 5.34.00-1) (Closes: #691437) -- Lifeng Sun Fri, 26 Oct 2012 07:49:46 +0800 root-system (5.34.02-1~exp1) experimental; urgency=low * New upstream release. -- Lifeng Sun Tue, 02 Oct 2012 11:48:19 +0800 root-system (5.34.01-1~exp1) experimental; urgency=low * New upstream release. * Remove obsolete packages: libroo-proof-clarens{5.34,-dev} and root-plugin-proof-peac * libroot-static: move libRoot.a from /usr/lib/$multiarch/root$ver/ to /usr/lib/$multiarch/. * Disable builtin lzma and libAfterImage. * Improve ruby path detection. * Python binding: move Python runtime files from libroot-bindings-python-dev to libroot-bindings-python$ver. * root-system-common: update Depends field for ttf- => fonts- transition. (Closes: #682463) -- Lifeng Sun Mon, 23 Jul 2012 09:26:27 +0800 root-system (5.34.00-1) unstable; urgency=low * New upstream version. * Support kFreeBSD. * Support Multiarch. * Fix CVE-2010-3376: insecure library loading. (Closes: #598419) * Fix incomplete ftgl-dev => libftgl-dev transition. (Closes: #498677) * root-system-rootd: ship /var/spool/rootd/* as empty directories. (Closes: #677053) * Debconf translation updates - Brazilian Portuguese, thanks to Flamarion Jorge. (Closes: #545383) - Danish, thanks to Joe Dalton. (Closes: #600750) * Fix typo in package description of packages - root-system-doc, thanks to d.haley. (Closes: #567444) - {root-plugin-tree-treeviewer,root-plugin-hist-histpainter, root-plugin-hist-spectrumpainter}, thanks to Davide Prina. (Closes: #678805, #678843) * Fix broken python-binding, thanks to Ulrik Sverdrup and Andy Buckley. (Closes: #574517) * ttf-root-installer: download font files from web instead of ftp server. (Closes: #678807) -- Lifeng Sun Mon, 25 Jun 2012 05:24:56 +0800 root-system (5.34.00~rc1-1) unstable; urgency=low * New upstream version. * New maintainer. Thanks Christian Holm Christensen for his huge contribution to the HEP free software community. (Closes: #636974) -- Lifeng Sun Sat, 03 Jun 2012 17:26:05 +0800 root-system (5.28.00-2) UNRELEASED; urgency=low * New upstream version * Upgraded the patches (5.28.00b) -- Antonio Salvucci Thu, 17 Mar 2011 02:02:50 +0100 root-system (5.28.00-1) UNRELEASED; urgency=low * New upstream version (5.28.00a) -- Antonio Salvucci Thu, 17 Mar 2011 02:00:14 +0100 root-system (5.24.00-1) unstable; urgency=low * New upstream version * Fix "no hashsum checks of downloaded content, thus allowing downloading and installation of malicious content" Implemented check against static sha256sums distributed with package (Closes: #545240) * Fix "generates incorrect package with python-support from experimental" Packages now make sym-links in /usr/lib, so pythons' loader should be able to find it. Hence, the sym-link is gone. (Closes: #517320) * Fix "bashism in debian/rules" replaced echo -e with printf (Closes: #535421) * Fix "libroot5.18 has circular Depends on root-plugin-proof" Fixed by new library structure (Closes: #524991) * Fix "root-system-rootd fails to install" Do not modify rootd user in pre-installation. (Closes: #498398) * Fix "should this package be orphaned?" New upload w/bug fixes (Closes: #543737) * Fix "root-system new version available" New version (Closes: #515568) * Fix "[INTL:ja] please add Japanese po-debconf template translation (ja.po)" Added translation (Closes: #546187) * Fix "Package is missing most of its files" Fixed by rebuilt (Closes: #515091) * Fixed by rebuilt * Fix "h2root crashes on amd64" Fixed by upstream's introduction of libminicern (Closes: #518926) * Fix "No symlink into /usr/lib/root" Fixed by new directory structure - libraries in /usr/lib - and libQt is a plug-in and should not be linked to directly by developer. (Closes: #525142) * Fix "include Math/ProbFuncMathCore.h fails with CINT" Removed relative path components, since CINT should know where to look.(Closes: #534202) * root-system-rootd does it's set-up of the user and group in postinst, thereby removing the need to pre-depend on adduser, etc. -- Christian Holm Christensen Fri, 18 Sep 2009 13:51:15 -0400 root-system (5.23.05-1) unstable; urgency=low * New upstream version * Fix "root-system - FTBFS: error: unrecognized command line option "- m32"" Removed the -m32 flag for s390 builds (Closes: #517575) * Fix "root-system_5.18.00-2.3+b1(mips/unstable): FTFBS on mips. Undefined symbol." Use krb5_c_valid_cksumtype instead of private valid_cksumtype (Closes: #529998) * Fix "FTBFS: krb5auth/src/Krb5Auth.cxx:424: error: 'valid_cksumtype' was not declared in this scope" See above. (Closes: #533964) * Fix "root-system - FTBFS: Attempts at guessing your architecture failed." Put stuff into relevant files - still need to see that it actuall works on s390 (Closes: #487935) * Fix "root-system_5.18.00-2(sparc/unstable): FTBFS, `debian/tmp/usr/bin/olbd': No such file or directory" Re-enabled built of XRootD stuff on sparc. Hopefully it will work. (Closes: #493345) * Fix "[debconf_rewrite] Debconf templates and debian/control review" Adopted all recommendations - thanks. (Closes: #514827) * Fix "root-system new version available" Build newer version (Closes: #515568) * Fix "returns errors when using graphics" Fixed by proper rebuild (Closes: #515632) * Added new package libroot-net-bonjour that contains zeroconf service declaration and discovery classes. * Build-depend on libglew instead of using built-in code. * Moved TFileMerger back to proofplayer and made proofplayer a callable extension rather than a plug-in. -- Christian Holm Christensen Thu, 25 Jun 2009 15:55:08 +0200 root-system (5.23.01-1) unstable; urgency=low * New upstream version * Moved TFileMerger from proof/proofplayer to tree/treeplayer. * Moved TXMLEngine from io/xml to io/io -- Christian Holm Christensen Thu, 18 Dec 2008 13:12:04 +0100 root-system (5.21.07-4) unstable; urgency=low * Made virtual base class TVirtualGeoOverlap and use that where appropriate. This makes the libGeomPainter a true plug-in. -- Christian Holm Christensen Wed, 17 Dec 2008 11:40:54 +0100 root-system (5.21.07-3) unstable; urgency=low * New upstream -- Christian Holm Christensen Mon, 15 Dec 2008 12:51:08 +0100 root-system (5.21.07-2) unstable; urgency=low * Discovery of s390x implemented - should check if this works also in terms of code (Closes: #487935) * Do not modify rootd user after creation. Perhaps this fixes #498398 * FTBFS with GCC 4.4: wrong #elif - fixed upstream (Closes: #505015) * can FTBFS due to incomplete calls to open - fixed upstream (Closes: #502873) * incomplete ftgl-dev => libftgl-dev transition fixed (Closes: #498677) -- Christian Holm Christensen Wed, 03 Dec 2008 10:45:16 +0100 root-system (5.21.07-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Fri, 28 Nov 2008 19:28:17 +0100 root-system (5.21.05-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Tue, 07 Oct 2008 09:26:04 +0200 root-system (5.19.05-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Wed, 14 May 2008 23:16:12 +0200 root-system (5.19.03-2) unstable; urgency=low * Moved root-plugin-graf3d-gl to libroot-graf3d-gl and libroot-graf3d-dev, since the code needs to be callable for custom EVE implementations of quads, etc. * Fixed problem with startup URL - points to http://localhost/doc/root/html - implies recommendation of a web-server. Aparently, the TGHtml gui element does not really know how to resolve relative links from a "file:///" URL. * Added "--etcdir" option to root-config script - should be useful for VMC and the like implementations. -- Christian Holm Christensen Thu, 08 May 2008 08:09:44 +0200 root-system (5.19.03-1) unstable; urgency=low * New upstream version (Closes: #478956) * Added prober build dependencies on fortran compiler on all platforms (Closes: #429186) * With the kind help of Thiemo Seufer , Dirk Van Hertem , and Boris we managed to get ROOT to compile on mips/mipsel. This is a new ROOT platform too. (Closes: #434855, #425257) * Fixed GSL version recognision. (Closes: #450507, #450508) * ROOT now builds against Qt 4. (Closes: #476324) * Fixed download URL of TTF files (Closes: #451510) * Split package root-system-xrootd into 2 packages: root-system-xrootd and root-plugin-net-xrootd. * Follow new source directory structure in package structure. Several new packages that split older libroot package. * libroot-proof replaces root-plugin-proof -- Christian Holm Christensen Fri, 02 May 2008 08:21:48 +0200 root-system (5.18.00-2.2) UNRELEASED; urgency=low * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project. Closes: #514827 * [Debconf translation updates] - Galician. Closes: #515481 - Vietnamese. Closes: #515596 - Swedish. Closes: #515939 - Basque. Closes: #516013 - Italian. Closes: #516445 - Spanish. Closes: #517177 - Portuguese. Closes: #517185 - German. Closes: #517381 - Russian. Closes: #517492 - Czech. Closes: #517536 - Finnish. Closes: #518187 - French. Closes: #517806 -- Christian Perrier Wed, 11 Feb 2009 10:18:46 +0100 root-system (5.18.00-2.1) unstable; urgency=low * Non-maintainer upload to fix pending l10n issues. * Remove extra space in debconf templates. Closes: #488136 * Debconf translations: - German. Closes: #488135 - Portuguese. Closes: #488582 - Russian. Closes: #489490 - Danish translation file renamed to da.po - Finnish. Closes: #491740 - Czech. Closes: #492494 - Basque. Closes: #492528 - Galician. Closes: #492612 - Brazilian Portuguese. Closes: #492720 - Italian. Closes: #493960 -- Christian Perrier Fri, 18 Jul 2008 09:58:03 +0200 root-system (5.17.07-1) unstable; urgency=low * New upstream version * Fixed problem with libroot-python-dev being uninstallable on ubuntu. -- Christian Holm Christensen Sun, 09 Dec 2007 14:17:30 +0100 root-system (5.17.05-6) unstable; urgency=low * Fix configure to allow GSL > 1.9 (Closes: #450507) * Builds on hppa, mips, mipsel (Closes: #434855, 425257) * All linux platforms will use gfortran by default (Closes: #429186) * Use proper GCC 4 I/O bits fixed upstream (Closes: #441333) * ttf-root-installer: Suggest proper URL for font downloading (Closes: #451510) * Add missing libRooFitCore to libroot-roofit package. -- Christian Holm Christensen Fri, 23 Nov 2007 17:15:52 +0100 root-system (5.17.05-5) unstable; urgency=low * Fixes to Qt discovery and code in qtgsi. * Better support for MIPS (thanks to Thiemo Seufer of Debian) -- Christian Holm Christensen Wed, 07 Nov 2007 09:40:11 +0100 root-system (5.17.05-4) unstable; urgency=low * Upstream fix to TGX11::DrawPolyMarker. -- Christian Holm Christensen Tue, 06 Nov 2007 14:17:06 +0000 root-system (5.17.05-3) unstable; urgency=low * Do not try to make libFTGL nor put it in the libRGL.rootmap file, since we use the system libftgl_pic.a to link in the functionality. -- Christian Holm Christensen Thu, 01 Nov 2007 23:05:53 +0000 root-system (5.17.05-2) unstable; urgency=low * Forgot top copy over the changes in makelist script, so that standard library container dictionaries was missing. -- Christian Holm Christensen Wed, 31 Oct 2007 00:21:41 +0000 root-system (5.17.05-1) unstable; urgency=low * New development release. * Add proper fortran dependencies and discovery code (Closes: #429186). * Add archicture discovery for mips (Closes: #434855). * Add archicture discovery for hppa (Closes: #425257). -- Christian Holm Christensen Tue, 23 Oct 2007 15:06:37 +0200 root-system (5.16.00-2) unstable; urgency=low * Fix missing lib*Dict.so for precompiled dictionaries of standard library containers, like vector, map, etc. -- Christian Holm Christensen Tue, 23 Oct 2007 12:28:42 +0200 root-system (5.16.00-1) unstable; urgency=low * New upstream version. This is a production version, so it's targeted at unstable. * Fix some stuff on dependencies and the like. * Updated README.Debian for new package names. * Added gfortran switch for amd64 et al (Closes: #429186). -- Christian Holm Christensen Thu, 26 Jul 2007 23:34:19 +0200 root-system (5.15.07-4) experimental; urgency=low * Attempt to fix broken Python dependencies on Ubuntu. -- Christian Holm Christensen Mon, 14 May 2007 17:17:50 +0200 root-system (5.15.07-3) experimental; urgency=low * [Kevin] Corrected some english in the control file * [Kevin] Removed root-system dependency on libroot. * [Kevin] Removed postinst stubs for root-system-{rootd,proofd} * [Kevin] Removed various directories from root-system. * [Kevin] Fixed script name in /etc/init.d/root-system-{rootd,proofd}. Perhaps it's time to look into 'upstart' scripts? * Fixed package names in README.Debian. -- Christian Holm Christensen Sat, 12 May 2007 10:43:24 +0200 root-system (5.15.07-2) experimental; urgency=low * Previous source package broken due to tar-balls not unpacked. * Fixes for new lib*.rootmap instead of global system.rootmap. * Fixes for new ld.so.conf.d/ scheme of configuring ld.so's search path. * Split off unuran into it's own package libroot-unuran, since it is GPL'ed. -- Christian Holm Christensen Fri, 11 May 2007 02:04:02 +0200 root-system (5.15.07-1) experimental; urgency=low * New version. * New source package name to please FTP-masters. -- Christian Holm Christensen Tue, 01 May 2007 22:18:01 +0200 root (5.13.05-7) experimental; urgency=low * New release. take out /usr/lib/root/ from /etc/root/system.rootrc as it may cause problems. Should have no consequence to the users. -- Christian Holm Christensen Thu, 2 Nov 2006 10:19:18 +0100 root (5.13.05-6) experimental; urgency=low * Fix to Qt plug-in to allow fixed directory builds. -- Christian Holm Christensen Mon, 30 Oct 2006 12:19:24 +0100 root (5.13.05-5) experimental; urgency=low * Added man page for xrd. * [Kevin] Fixed some broken dependencies in the [X]Proofd packages. I moved the libXrdProofd library into the root-plugin-xproof package as it seems to be used by the client only. * [Kevin] Fixed up some man pages. * [Kevin] Fixed some spelling errors in descriptions. -- Christian Holm Christensen Sat, 28 Oct 2006 12:16:50 +0200 root (5.13.05-4) experimental; urgency=low * [Kevin] Fixed up the README.Debian file for an imminent upload to experimental. * [Kevin] Removed some autotools generated files from the libAfterImage directory in the source package. * [Kevin] Corrected a typo in the debian/rules clean target. -- Christian Holm Christensen Fri, 27 Oct 2006 10:15:25 +0200 root (5.13.05-3) experimental; urgency=low * [Kevin] Use system libungif if possible. * [Kevin] Removed some files left after clean in libAfterImage. * [Kevin] Fixed up the initd scripts with Required-{start,stop} -- Christian Holm Christensen Thu, 26 Oct 2006 11:17:44 +0200 root (5.13.05-2) experimental; urgency=low * [Kevin] Fix missing install of libSpectrum and libFitPanel. * [Kevin] Fix duplicate build-depends * [Kevin] Fix missing install of PyCintex.py * [Kevin] Fix unpacking of tar-balls for asimage and xrootd. * [Kevin] Fix init missing info. -- Christian Holm Christensen Tue, 24 Oct 2006 12:43:14 +0200 root (5.13.05-1) experimental; urgency=low * New upstream development version. * [Kevin] Remove cruft left behind after removing ttf-root-installer * [Kevin] Install RadioNuclides.txt * [Kevin] Fix build dependency on python-support. -- Christian Holm Christensen Mon, 23 Oct 2006 12:13:11 +0200 root (5.13.03-1) experimental; urgency=low * New upstream version -- Christian Holm Christensen Thu, 31 Aug 2006 00:45:21 +0200 root (5.13.02-1) experimental; urgency=low * New upstream version * [Kevin] First attempt at complying with the Python policy. * Python seems ok. We install for one version only - the one we were compiled against. * Made init.d scripts use LSB functions (except start-stop-daemon is still used, since the normal one isn't OK). daemons depend on lsb-base. -- Christian Holm Christensen Thu, 31 Aug 2006 00:33:04 +0200 root (5.13.01-4) experimental; urgency=low * copyrights fixed by Fons. * Try to fix TBrowser option. -- Christian Holm Christensen Thu, 24 Aug 2006 19:44:28 +0200 root (5.13.01-3) experimental; urgency=low * Fixed reference to CINT copyright statement and license. * Fixed some problems in the xrootd build. * Fixed a bug in some reflex code. * Added 32x32 xpm icon. * Make sure python scripts do not contain a she-bang. * RSA and ALICE license issues have been solved, but Fons hasn't uploaded the new files yet. The Krb5 export restriction is still unresolved. The old Zip license issue should have been solved, but the change to the license statement has been put in CVS yet. Hence, the copyright file contains the old license and coppyright statements. -- Christian Holm Christensen Wed, 23 Aug 2006 16:45:47 +0200 root (5.13.01-2) experimental; urgency=low * Added the package `libroot-tmva', to avoid bad dependencies. * Fixed problem with PostGreSQL plugin missing * Permanently fixed man page problems in RPMs (added glob star to all man pages in the file lists). * Some other minor fixes. * Better desktop integration for both RPMs and DEBs. * Added `-fail-on-missing' to make the building fail if a dependency isn't found. * Added third-party copyrights and licenses to the copyright file. -- Christian Holm Christensen Mon, 21 Aug 2006 17:00:57 +0200 root (5.13.01-1) experimental; urgency=low * New upstream version * Added TMVA to the libroot package. * Also put GDML files into the libroot-python package. * Upstream should have fixed a number of copyright statements. * It seems that the RSA problem persists - sigh! -- Christian Holm Christensen Mon, 31 Jul 2006 15:42:12 +0200 root (5.11.03-6) experimental; urgency=low * Fixes to allow compilation with prefix != /usr for RPMs -- Christian Holm Christensen Thu, 11 May 2006 09:02:43 +0200 root (5.11.03-5) experimental; urgency=low * Fixed to RPM building. Make sure SYSV init scripts is installed. * Make sure we use the same configure arguments when we make the spec file, as are used by the spec file. * Add this changelog to the spec file. * Build-depend on GSL. * Build more packages by default. * Fixes to RPM SYSV init scripts * Fixed to ttf-root-installer RPM post install and pre remove scripts. -- Christian Holm Christensen Mon, 8 May 2006 16:48:47 +0200 root (5.11.03-4) experimental; urgency=low * Fixes to RPM creation. -- Christian Holm Christensen Sun, 7 May 2006 14:18:37 +0200 root (5.11.03-3) experimental; urgency=low * Added libraries libReflex and libCintex to libroot, and the corresponding headers and development libraries to libroot-dev. The Python scripts are added to libroot-dev. This means, that ROOT now always build-depends and depends on Python. * Added gccxml as a Suggests to libroot-dev for `rootcint -gccxml'. * The library libCintex is temporary. * Added krb5-user | heimdal-clients as build-dependency for root-plugin-krb5. The configure script need to know where kinit is. The same packages are also added as run-time dependency. * Fixed root-rootd and root-xrootd and root-proofd to not bark when upgrading and the servers are not running. Thanks to Kevin. * Fixed some minor mistakes in `ttf-root-installer.copyright'. Again, Thanks to Kevin. -- Christian Holm Christensen Tue, 25 Apr 2006 02:19:39 +0200 root (5.11.03-2) experimental; urgency=low * Minor fixes. Typos in the font generation script, lingering temp file, remove build code, lingering source directory, better copyright file, and so on. * Fixes to ODBC interface to use SQL{U}LEN consistently where specified by the ODBC prototypes. This should remove any problems with i386/ia64/amd64/windows. -- Christian Holm Christensen Sat, 22 Apr 2006 03:15:21 +0200 root (5.11.03-1) experimental; urgency=low * fixes to Proof library loading. Missing `#include "config.h"' added. * Fix to ODBC plugin. * Added print-out to s050000l.pe. * Fixed symbol.ttf font in TImageDump. * Fixed FSF address in root-common.copyright -- Christian Holm Christensen Thu, 20 Apr 2006 22:17:08 +0200 root (5.11.02-1) experimental; urgency=low * New upstream version. * New scheme to make package file lists. * Using new GPL'ed `symbol.tff' * Fix it so that the font installer package doesn't overwrite and delete the already installed `symbol.ttf'. * Fixed free font table in TTF.cxx to include the GPL'ed symbol.ttf. -- Christian Holm Christensen Thu, 20 Apr 2006 02:20:08 +0200 root (5.11.01-9) unstable; urgency=low * Added plugin package root-plugin-odbc - ODBC database connectivty. * [Kevin] Fixed spelling errors in description of libroot-mathmore * [Kevin] Fixed call to dh_makeshlibs * [Kevin] Fixed maxdb build on amd64 * [Kevin] Fixed some dependencies of root-plugin-peac and root-proofd * [Kevin] Fixed some code problems in SapDB code (again!) * Leave in `symbol.ttf' in the root-common package, because it will soon be replaced by a GPL'ed one. * Added a specific copyright file for root-common due to the new symbol.ttf font. -- Christian Holm Christensen Wed, 19 Apr 2006 02:25:10 +0200 root (5.11.01-8) unstable; urgency=low * Various fixes from Kevin * Added overrides for various extension packages -- Christian Holm Christensen Sat, 15 Apr 2006 12:25:12 +0200 root (5.11.01-7) unstable; urgency=low * Fixed a problem with transition of libroot-fftw to root-plugin-fftw3 -- Christian Holm Christensen Thu, 13 Apr 2006 15:26:10 +0200 root (5.11.01-6) unstable; urgency=low * Package libroot-fftw made a plugin by Fons. Now it's called root-plugin-fftw. * Small fixes from Kevin. * Default ZipMode is now 1 (checked in debian/rules). * Implemented a configure switch to use system Zlib. -- Christian Holm Christensen Wed, 12 Apr 2006 15:39:11 +0200 root (5.11.01-5) unstable; urgency=low * Added new package libroot-fftw, and libroot-fftw-dev. Extension packages with libraries to interface FFTw. -- Christian Holm Christensen Tue, 11 Apr 2006 18:01:26 +0200 root (5.11.01-4) unstable; urgency=low * Added packages libroot-mathmore5.11 and libroot-mathmore-dev. * Also build libMathCore. This is put in libroot5.11 and libroot-dev. -- Christian Holm Christensen Sun, 2 Apr 2006 15:15:16 +0200 root (5.11.01-3) unstable; urgency=low * Fixed installation of PROOF configuration examples to new location. -- Christian Holm Christensen Fri, 31 Mar 2006 12:12:56 +0200 root (5.11.01-2) unstable; urgency=low * Some fixes upstream -- Christian Holm Christensen Wed, 22 Mar 2006 15:11:49 +0100 root (5.11.01-1) unstable; urgency=low * New upstream version. No changes to the debian part. -- Christian Holm Christensen Tue, 21 Mar 2006 01:59:33 +0100 root (5.10.00-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Thu, 2 Mar 2006 10:09:35 +0100 root (5.09.01-10) unstable; urgency=low * Removed dangling code directory in `minuit2/src' * Set `Root.Zlib=1' in `/etc/root/system.rootrc' per default. * Fixed some minor bugs in wrapper scripts and SYSV init scripts. -- Christian Holm Christensen Fri, 24 Feb 2006 11:47:18 +0100 root (5.09.01-9) unstable; urgency=low * Initial release. (Closes: #325306: RFP: root -- An object oriented data analysis framework - Debian Bug report logs) -- Christian Holm Christensen Thu, 23 Feb 2006 15:25:22 +0100 root (5.09.01-8) unstable; urgency=low * Added some lintian overrides. * Moved some shared configuration files to root-common. * Fixed problems in init scripts. * Fixed problem with wrappers using `root-config'. * Removed some unused configuation scripts. * Install xinetd files as examples. * Removed /usr/share/root/proof/etc/*.sample and install them as examples instead. * Made `Replaces' and `Conflicts' dependencies on older packages be version specific to static version numbers. We don't want libroot-roofit to conflict with root-plugin-rootfit for all time. -- Christian Holm Christensen Wed, 15 Feb 2006 23:11:28 +0100 root (5.09.01-7) unstable; urgency=low * [Kevin] Fixed a problem with libXrdProof.so symlinks in root-xrootd. * [Kevin] Made a wrapper script that calls proofserv with LD_LIBRARY_PATH set to the plugin directory. This should be fixed upstream. * [Kevin] Made wrapper scripts that calls xrdpwdadmin and xrdgsiproxy with LD_LIBRARY_PATH set to plugin-script. * [Kevin] Fixed problem in man page of xrdcp. * Corrected kfreebsd-gnu to kfreebsd-i386. * [Kevin] Fixed problem in proofserv man page. -- Christian Holm Christensen Wed, 15 Feb 2006 04:33:07 +0100 root (5.09.01-6) unstable; urgency=low * Fixed a problem in the rules file with a errornous backslash. * Make configure output config.log for debugging. * [Kevin] Build depend on libmysqlclient15-dev instead of older 12 or 14. * [Kevin] Fix typo's in description of libroot-minuit. * [Kevin] Use `-s' instead of `-a'. * [Kevin] Fix a logic error in ttf-root-installer. * [Kevin] Moved dependency of fonts from libroot to root-common. * [Kevin] Removed all mention of root-cint * [Kevin] Fixed problem with `set -e' in root-rootd.postrm. * [Kevin] Set sticky bit on `/var/cache/rootd/{tmp,pub}' so users can not overwrite each others files (root-rootd.preinst). * Make sure that libHbook is linked against libg2c.so and not libg2c.a which made `lintian' complain about `shlib-with-non-pic-code'. -- Christian Holm Christensen Tue, 14 Feb 2006 01:10:54 +0100 root (5.09.01-5) unstable; urgency=low * root-plugin-minuit moved to libroot-minut{,-dev} -- Christian Holm Christensen Tue, 7 Feb 2006 18:21:50 +0100 root (5.09.01-4) unstable; urgency=low * Fixed some build-dependencies. In partiucular, libsqlod75-dev is only available on certain platforms, and libpacklib1-dev is not available on GNU/kFreeBSD. -- Christian Holm Christensen Sun, 15 Jan 2006 12:43:38 +0100 root (5.09.01-3) unstable; urgency=low * Fixed some build dependencies. * Fixed some non-POSIX /bin/sh code * Fixed Python module location * Added libafterimage-dev build-dependencies - eventually we'll use the normal libafterimage-dev, but currently that's disabled up-stream. * Added the executable xproofd to the root-proofd package, along with it's man(1) page. * Removed build-depends on libxpm4-dev, as that pulls in libxaw7-dev, which is not really what we need. Instead the build-depends is now libxpm. * The TTF installer package now depends on msttcorefonts, and makes mostly symbolic links to files in that package. Hence, we only need to get and install `symbol.ttf' and `windings.ttf'. * Revived the package root-plugin-sapdb as root-plugin-maxdb. Thanks to Ricardo Yanez for pointing out libsqlod to me. -- Christian Holm Christensen Fri, 13 Jan 2006 09:27:52 +0100 root (5.09.01-2) unstable; urgency=low * Added the package root-common to hold common files * Replaced root-plugin-clarens, root-plugin-ldap, root-plugin-mlp root-plugin-python, root-plugin-quadp, root-plugin-roofit, root-plugin-ruby with two packages, a run-time library package (libroot-<...>) and a development package (libroot-<...>-dev). This is because developers may want to link against these libraries. * Removed the package root-cint, and moved libraries to libroot, headers and the like to libroot-dev, and programs to root-bin. The alternatives still exists for cint and makecint. * Applied a patch that allows ROOT to use DFSG free TTF's rather than the MS Core Fonts. * Put a symlink to ruby extension library in ruby load directory. These are in the _development_ package. * Put a symlink to Python script and extension library in Python load directory. These are in the _development_ package. * Fixed some dependency issues, and similar - thanks to Kevin McCarty for all his help on this. -- Christian Holm Christensen Wed, 11 Jan 2006 01:16:25 +0100 root (5.09.01-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Mon, 9 Jan 2006 21:49:48 +0100 root (5.08.00-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Thu, 15 Dec 2005 14:59:41 +0100 root (5.06.01-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Wed, 16 Nov 2005 10:46:04 +0100 root (5.05.01-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Wed, 12 Oct 2005 00:41:44 +0200 root (5.04.00-2) unstable; urgency=low * Some new stuff to handle the libraries and plugins installed by the packages. For the plugin packages, we do not install the link libraries in /usr/lib/root, but in /usr/lib/root/, as these libraries are really plugins and should not be linked against. However, we do need to install the `lib.so.' in /usr/lib/root, as some may incrementally link against these. -- Christian Holm Christensen Wed, 21 Sep 2005 22:07:12 +0200 root (5.04.00-1) unstable; urgency=low * New upstream version -- Christian Holm Christensen Tue, 20 Sep 2005 22:34:53 +0200 root (5.03.01-2) unstable; urgency=low * New upstream version * Make links in /usr/lib/root/ to shared libraries, so that we can have many versions of the libraries installed, and we do not need libroot-dev -- Christian Holm Christensen Mon, 15 Aug 2005 00:46:18 +0200 root (5.01.01-1) unstable; urgency=low * New upstream -- Christian Holm Christensen Mon, 23 May 2005 13:42:03 +0200 root (4.03.03-1) unstable; urgency=low * New upstream ROOT version * New package root-plugin-oracle * Package root-plugin-xml now contains an XML parser, not the XML I/O -- Christian Holm Christensen Sun, 20 Mar 2005 16:28:37 +0100 root (4.03.02-1) unstable; urgency=low * New packaging scripts -- Christian Holm Christensen Mon, 21 Feb 2005 16:28:37 +0100 root (3.03.05-1) unstable; urgency=low * Bumped Debian GNU/Linux version with ROOT -- Christian Holm Mon, 13 May 2002 13:32:54 +0200 root (3.02.06-1) unstable; urgency=low * Bumped Debian GNU/Linux version with ROOT -- Christian Holm Wed, 9 Jan 2002 04:08:19 +0100 root (3.02.04-1) unstable; urgency=low * Bumped Debian GNU/Linux version with ROOT -- Christian Holm Tue, 8 Jan 2002 03:16:39 +0100 root (3.02.00-1) unstable; urgency=low * Bumped Debian GNU/Linux version with ROOT -- Christian Holm Thu, 15 Nov 2001 21:34:26 +0100 root (3.00.06-1) unstable; urgency=low * Bumped Debian GNU/Linux version with ROOT -- Christian Holm Sat, 24 Mar 2001 16:12:08 +0100 root (3.00.04-1) unstable; urgency=low * Bump version to 3.00/04 -- Christian Holm Fri, 16 Feb 2001 23:59:40 +0100 root (2.26.00-1) unstable; urgency=low * Initial Release. -- Christian Holm Fri, 16 Feb 2001 23:59:04 +0100 debian/root-system-bin.mime0000644000000000000000000000016712253755630013126 0ustar application/x-root; root %s; test=test "x$DISPLAY" != "x" ; description=ROOT Archive; nametemplate=%s.root; priority=7