diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-22 00:03:26 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-22 00:03:26 +0000 |
commit | 1916999ee6704ac7dfaf8679138ef79867400fad (patch) | |
tree | 399002ee42452e1f8b2d3a1a17207bd18f8f32f7 /sci-physics | |
parent | Version bump KDE Telepathy 0.5.1 (diff) | |
download | historical-1916999ee6704ac7dfaf8679138ef79867400fad.tar.gz historical-1916999ee6704ac7dfaf8679138ef79867400fad.tar.bz2 historical-1916999ee6704ac7dfaf8679138ef79867400fad.zip |
Re-manifesting for new tar ball and remove old
Package-Manager: portage-2.2.01.21313-prefix/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/root/ChangeLog | 5 | ||||
-rw-r--r-- | sci-physics/root/Manifest | 13 | ||||
-rw-r--r-- | sci-physics/root/root-5.34.01.ebuild | 379 |
3 files changed, 9 insertions, 388 deletions
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog index aefcc196f3d2..534b6d9111ef 100644 --- a/sci-physics/root/ChangeLog +++ b/sci-physics/root/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-physics/root # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.110 2012/10/26 15:40:47 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.111 2012/11/22 00:03:20 bicatali Exp $ + + 22 Nov 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> -root-5.34.01.ebuild: + Re-manifesting for new tar ball and remove old *root-5.34.03 (25 Oct 2012) diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest index 5ca0cd546407..a610dc7652f0 100644 --- a/sci-physics/root/Manifest +++ b/sci-physics/root/Manifest @@ -19,7 +19,6 @@ AUX root-5.32.00-nobyte-compile.patch 5527 SHA256 82152c92efd5002f9c2b230f141cae AUX root-5.34.01-glibc216.patch 1389 SHA256 191db0de52bebf8be9fed61f975e809147f79b061f93e8023d29190cfc0ff880 SHA512 2cf2d67e0aca6e49d3755255025a7278123b4a42bfa0bb6c735ee9888eaea46c772b47297c0fca8614e68db49d5d84022b787141968ed3fd826ff644c41ce6f3 WHIRLPOOL 710d78093bcd98b497db6dc49fa652ab5a0ff4cf5619d0f4df321f6c4b64e24ea2f627e6a8dce3c06596912dca911fec4ac97e6cac55b90f3b59e325852e7a73 AUX rootd.confd 199 SHA256 7b69f646ce0b2546ce797ec4a05949b02302dc5f4e41d2e8896ed0bc6575ac8d SHA512 2ce6753d37a7f22cc3656f110f802b8e07c1469bfe4524606c1472369352f8c584c01c716760252fab40369470b72d8c77cdbb2d52126c39371faaf597bf58d8 WHIRLPOOL b4c65e5026d6583775cda7b13fdbc5ae48c82c36710efbdd6b112243310090c05b5726d6e76d1ae25d585ecaa4aec4a5059336bf54135bafd0e4a921db468742 AUX rootd.initd 732 SHA256 42b9fe01aa41965359c16d4b23f874cea65806d8c7ec11215dbba95ab80e90f3 SHA512 65152830554ed509db7e5545bffb4976a608ee576d62ac648fc5520ff96ea5062c9b20c195dad2cf8dc2b34079e6beb252d427030825e14dc867ae4599bc64b8 WHIRLPOOL ec03db863e079b3f910ec0f86b036a828b2a5804f6bd6e0398e5207000f1ca10b6b1e71504d6c6b3a2d216b20d7db27d2425070f9d6bb0696ef384dfe8526fc0 -DIST ROOTUsersGuide-5.34.01.pdf 9124822 SHA256 70a96c4a2573dc0d320142f86993ecfda24caa755e910340a3014120f2997c8b SHA512 c3b4c18ef2e13968afdf67c6003249d4cfe6ea661fa32ce25127361bae7e3376a25cd3b11591292f3975bcd8105291aca52f2f6214c9fe45f4bd6e7e44d54b25 WHIRLPOOL 11256ba7837d17e5795cf71ac32db43d7d8f797bfbddf5f71612fe2f8fb2e01354372c0ea8f0bc22868881eb0bfdc8a3e3f1b05293d2750d293aa4d59217b2e6 DIST ROOTUsersGuide-5.34.03.pdf 9137216 SHA256 b69908af895804e824470078fa32974974a492d8e5db81c2f4b67c68b091c98d SHA512 874316975b28a820badd3c116238005870d4bf559b0c86349293ee9bdc2d0fedc763658ff5f03b8ef4565ecbee9a014de55472c126c4b94b97cb3b103b9c5968 WHIRLPOOL ffc66e18396334e44566be1609177b9e9dab5ea7c72be0ac0ec1fb9aea528a53ce3a8be397ada15e805a43d8edc2293e5f1b1ef551ed3dc2a1619fdf0227e4f0 DIST ROOTUsersGuide.pdf 9124822 SHA256 70a96c4a2573dc0d320142f86993ecfda24caa755e910340a3014120f2997c8b SHA512 c3b4c18ef2e13968afdf67c6003249d4cfe6ea661fa32ce25127361bae7e3376a25cd3b11591292f3975bcd8105291aca52f2f6214c9fe45f4bd6e7e44d54b25 WHIRLPOOL 11256ba7837d17e5795cf71ac32db43d7d8f797bfbddf5f71612fe2f8fb2e01354372c0ea8f0bc22868881eb0bfdc8a3e3f1b05293d2750d293aa4d59217b2e6 DIST RooFit_Users_Manual_2.91-33.pdf 1330062 SHA256 101c4e4c41962238fcabf1caa86cafc51241a1800594491b2e62ef8b565a5646 SHA512 732d7dea3541b51e5f0b9b5b70dae57e1bdbb2504c4222d5e5095ec0f9b67307011c1f31c2c95be419b53dd8426f52f62f6c9370084208176a2ed3d7f25d783b WHIRLPOOL 033897bef4bdb13246a81ea6749f7895e6c4d639752e932130234ad9153bb399a4e5d416237850da27f139d3cccc53d9adb7a077abf20d257ce057157d6c3696 @@ -28,19 +27,17 @@ DIST info.png 2060 SHA256 51de6661250f3fb71c6c8250cbc4bdc4dc4283cc90240b4dc1ee61 DIST root-banner.png 132555 SHA256 d165e1cc175f654ff79af39193a6144678f600e14a53dd20e2b216b3e8951e94 SHA512 139347f396e88c8062d847d612949204cb80e551a826d926950ca8ab967f0d496487fed17a227fc796ae4db23fca758d91a0af7943142adbed358e98d7667b1f WHIRLPOOL dd23e26acf9303b404cda8135d6946af3b1abba3dfdff8d80e56096f810d50a01ebfb52dc1e6ee1d1b99fbb5859dc850e0e368155339b5007294d95ce8909857 DIST root_v5.32.03.source.tar.gz 55529362 SHA256 575057c429625df69f0fa5c303287acefff185cda8cf8d1e9a6b2d21097d5ae6 SHA512 2e067eb9c6bbda5cf4df6973a3cf5307540247fb07c349f7ee74c0cf6a4abbb63f585a9ff67139cae985250fc5c5106b5ea03d7d9d2bcd20269e0ec8760ebd02 WHIRLPOOL 87dbf6f55f82001e07afc3b467e95f841f185f1f67d1dbd953f73e8aa9127ef8485db84100d6e9a08f0ae6aa5b45a565398eb6723145fff16c07e5158bb3e3ab DIST root_v5.32.04.source.tar.gz 55526502 SHA256 0c0130ba3d74b86caee3071deeceb46545cfde34def8ad2107601e133506acf2 SHA512 796d7f6fe92700232da3fcaac042438e13c13e504179a7375105b2ff06e1fac571ef4d59f270d73844b2a481b0762a873985d22eee2b1a0b156071b777d4417a WHIRLPOOL c5ce0f81331e08b3f79e97c894bff60185bba562388e789d3d1716d3523045a55c24e1cebded4ad19a09023c4b5275fd7d44acb726a1f248a9616ed95addd609 -DIST root_v5.34.01.source.tar.gz 56204557 SHA256 8910333b73051225b05829c1603f5c89be2da9d8577fd646e7fdc0626ecd35be SHA512 6cc20e402a2208fd8a66179121e0833528bf0aacb3923161901931375eac54303718ead49a3dbbd482207e8d0fc4087a6704038599b024d8892396627cb94ff4 WHIRLPOOL 51ef39a257a27427c1a29ca37ae7925f25ddaa81d58b2c2775f1a8fb5ad42ec3a5393a15b8a73131a43125c395bb048e63246b964fe407db10754f6d0dc21335 -DIST root_v5.34.03.source.tar.gz 56284551 SHA256 eb9df75a7f2032a85210a630e2f96ce2ecbf3051d895245048656fb171ef3f32 SHA512 186d8edc3759ed725f4c96080d30e9816ec68dcab488644055508055a738a23499366ff52a6255577a0b7a6ee6eb91097835b947d5afd40731fb7a64f1f3480e WHIRLPOOL edd8bf842c7938196956a9a71fb52e615220433eefaf68e128969e29bdb4b77c8190276968bb2565a94855264fee6843ec6f88148df0fdca12da2d54cba03772 +DIST root_v5.34.03.source.tar.gz 56290003 SHA256 4ce18154f507fcdd8d580b776568d4b87004756d7d17f86796fcba0b2499a1a1 SHA512 522dbcb0ddcc3030f440939e8e5849e0b33ae4e4f7a0de3dd213404e8a9801954ef40a06ef9c206b62be8997d7eec2da72e1b0f1bbfd9fa99683961b99540e4b WHIRLPOOL 5f1bb9900b4a6238e51bc67be935f8a4cfa4455a0b4ef601e11f9235a17f918aa350169ae2eecbdb4f74af6badcd61a5bc3a4d16dce913e32277a458e55cc7ae DIST rootdrawing-logo.png 15051 SHA256 1dfd913cad53a3ebd6bf560d14df918cab5a295cc7d155944a8e27284af83a6b SHA512 14aa13ebfed3c9412d7d7d04c250740b25fe3af6bcb07e618045a5cec2dc23698a251fd7df2db1a6c37331084db99b029b387ea81c25ac825fc7ae10ad164a68 WHIRLPOOL 877a959a5aead73ba69dbb805c9869cbd6a047ea476bd4e7fef80781563a61d20dad49dd4d8b0005bfc58e8f7c7d38efbb3e085a95974feb81dfc9e339c18741 EBUILD root-5.32.03-r2.ebuild 11368 SHA256 c00bd590bff55cb70ab8b922f51bdfcd00ed5fb97970df5255f756189f483c7f SHA512 b24583dc180f1295d20e407eb5836e699e526427016f058e694ff5436543ac06727c41ab35ff41674c70ea74a92b0b67681cbf7a1a5b856e7c4da549d072173f WHIRLPOOL 5e7591ac079a23d878346fedf68ac421a7eea3303123210bbd8d4422a86c3b82ba5a000b5efbf909e9d253f70c44eba6321637c7e51b891eb66caf96aa0393ce EBUILD root-5.32.04.ebuild 11371 SHA256 aa5a0971b848714eb06e19f8615d477e1ebeb77e060fb967bff63809ce763406 SHA512 4fb22152b81bc28033771f74d7bfc631bcb35fb30882d0165d6066ccd1da39e56ed491f548bc596254071ecdecb45ac9d32c93f84af6b177e98c007ecb7a069f WHIRLPOOL 9ad124856f92f68ccf0871cb84f0f10f52a0de63889e2842855fec3e2708782f4f72c2842f5db2c8c3117a563ef70b4d59100921804e838e1b356000dc370501 -EBUILD root-5.34.01.ebuild 11444 SHA256 f51c94d376a4c50d49031fa08757beb8eb28b181c16a33c4e2c2e174232e2398 SHA512 78851f56b4ac845ac3d03a80ed293cf849cdc0a2b7cdf1b387c96a30db4f46614201212b80ae80559d559a68eacf57602dbb3fd2fab849b532d3d8a963167bbc WHIRLPOOL bbaff77cb54a4d93a93b0aeb551b39ca4be717a42a6e686e6eccb60209c74fd5016c97a50d7d00ed6e6da9b00d0017314911aaccc29e4560425eee73c9cf4159 EBUILD root-5.34.03.ebuild 11397 SHA256 0bebf28380a2598d152d1ece792ec1761e96c1950ce8081ec68c27eac7853b8c SHA512 034396ff149e113a399f23a04e4b8b34c09582c6d23df26f1bea0f829f1ae40bd33dc3ff2b3c120fca03cccb2fbbcf47546db1b0ed703ec2cd3003d5136093ff WHIRLPOOL 830c82ad3f72afd2b381b21d0df04e7827a9d6bff665b8e7f1b262cdd2434d99fe9b5fc90245dfa332095d96d9e2f7096356214025eeb5713253719bbb06e8e0 -MISC ChangeLog 34044 SHA256 aad837525334aed13b9e6cba37feef6cd0451280a3902f51237e9515e219d76f SHA512 00bff54de6805b84987822605da91a7a8fd57b7cfa8403ca55fade203a1e97f4a76db097a5a432da8cc6f329a48310d6aab48b844a7b11db8d6cea7e265c3983 WHIRLPOOL 2a9de36e038cf461f7f4d55293276ad079793033b7869b306bb98e5f1a8d0b4ec799eeb7a3b3bc7fadb5a1054567242ea89cf7753df3bc095091cfaf38bdaa48 +MISC ChangeLog 34171 SHA256 841613b0c46dc975c32243d4ce2ebde18dd316c4651e1a5d96caf30e40ea4a59 SHA512 d88aa2d5fe07d3158a48464c17916a263ba98d529aaf9b73149da42c228bf434dc0a4a024f3dee748104bba729ba1904581c3ad39e84482fa489f8b02d15744c WHIRLPOOL 22dbbf93217456a642ea5ab4a0be5ea41d07dcf161d16a2b8440c5adc9558a39b5b5b417c50490afa97b1c44fb8e65dcc70ad6956b733df1dfd873c6a56f9cbc MISC metadata.xml 1617 SHA256 3d1e4a4d14b0062964bcf9700c30c95ae5fda2f913d9b224d2163a986ac75ba3 SHA512 42e85b73ba585295f5dccef5ccad39445db4a1ebf20db8e4e799a45a54c34afca559a0a9592cf1a9eee94376acd8a289258e4e0bf816d490b7b6ecc2af5d64f3 WHIRLPOOL 32d37ecad572e72553adf10975bf40bbabb7a77887d4abc56b4b8a3636ddd98291cf62039cde767dfc9b8d7be2ba40b4cd5719bab1190806da0a70a10dd034a8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlCKrwQACgkQ1ycZbhPLE2CNNwCgiYaStlzlhKtXbXQm8/eIHmjy -euUAn0rmaecT4N5YtoNJ/RSS5+hPg+1O -=E0h2 +iEYEAREIAAYFAlCta8oACgkQ1ycZbhPLE2Cs9wCfYIaG0lEhdeJ4ZAakumlIsZkO +nPEAn36sujq4WW2T98OWadTrdMRGk3Bn +=ZrWt -----END PGP SIGNATURE----- diff --git a/sci-physics/root/root-5.34.01.ebuild b/sci-physics/root/root-5.34.01.ebuild deleted file mode 100644 index dd57ce2403db..000000000000 --- a/sci-physics/root/root-5.34.01.ebuild +++ /dev/null @@ -1,379 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.34.01.ebuild,v 1.2 2012/10/16 18:50:45 jlec Exp $ - -EAPI=4 - -PYTHON_DEPEND="python? 2" - -if [[ ${PV} == "9999" ]] ; then - _SVN=subversion - ESVN_REPO_URI="http://root.cern.ch/svn/root/trunk" - SRC_URI="" - KEYWORDS="" -else - SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -inherit elisp-common eutils fdo-mime fortran-2 multilib python toolchain-funcs user ${_SVN} versionator - -ROOFIT_DOC_PV=2.91-33 -TMVA_DOC_PV=4.03 -PATCH_PV=5.28.00b -PATCH_PV2=5.32.00 -PATCH_PV3=5.34.01 - -DESCRIPTION="C++ data analysis framework and interpreter from CERN" -HOMEPAGE="http://root.cern.ch/" -SRC_URI="${SRC_URI} - doc? ( ftp://root.cern.ch/${PN}/doc/ROOTUsersGuide.pdf -> ROOTUsersGuide-${PV}.pdf - math? ( - ftp://root.cern.ch/${PN}/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf - http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf ) - htmldoc? ( - http://root.cern.ch/drupal/sites/default/files/rootdrawing-logo.png - http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/root-banner.png - http://root.cern.ch/drupal/sites/all/themes/newsflash/images/info.png ) )" - -SLOT="0" -LICENSE="LGPL-2.1" -IUSE="+X afs avahi -c++0x doc emacs examples fits fftw graphviz htmldoc - kerberos ldap +math mpi mysql odbc +opengl openmp oracle postgres prefix - pythia6 pythia8 python qt4 +reflex ruby ssl xinetd xml xrootd" - -CDEPEND=" - app-arch/xz-utils - >=dev-lang/cfortran-4.4-r2 - dev-libs/libpcre - media-fonts/dejavu - media-libs/freetype - media-libs/giflib - media-libs/libpng:0 - media-libs/tiff:0 - sys-libs/zlib - virtual/jpeg - virtual/shadow - X? ( - media-libs/ftgl - media-libs/glew - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - || ( - >=media-libs/libafterimage-1.20[gif,jpeg,png,tiff] - >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff] - ) - opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps ) - qt4? ( - x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - x11-libs/qt-qt3support:4 - x11-libs/qt-svg:4 - x11-libs/qt-webkit:4 - x11-libs/qt-xmlpatterns:4 ) - x11-libs/libXft - ) - afs? ( net-fs/openafs ) - avahi? ( net-dns/avahi ) - emacs? ( virtual/emacs ) - fits? ( sci-libs/cfitsio ) - fftw? ( sci-libs/fftw:3.0 ) - graphviz? ( media-gfx/graphviz ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - math? ( sci-libs/gsl sci-mathematics/unuran mpi? ( virtual/mpi ) ) - mysql? ( virtual/mysql ) - odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) - oracle? ( dev-db/oracle-instantclient-basic ) - postgres? ( dev-db/postgresql-base ) - pythia6? ( sci-physics/pythia:6 ) - pythia8? ( sci-physics/pythia:8 ) - ruby? ( - dev-lang/ruby - dev-ruby/rubygems ) - ssl? ( dev-libs/openssl ) - xml? ( dev-libs/libxml2 ) - xrootd? ( >=net-libs/xrootd-3.2.0 )" - -DEPEND="${CDEPEND} - virtual/pkgconfig" - -RDEPEND="${CDEPEND} - reflex? ( dev-cpp/gccxml ) - xinetd? ( sys-apps/xinetd )" - -PDEPEND="htmldoc? ( ~app-doc/root-docs-${PV} )" - -REQUIRED_USE=" - !X? ( !opengl !qt4 ) - mpi? ( math !openmp ) - openmp? ( math !mpi )" - -S="${WORKDIR}/${PN}" - -pkg_setup() { - fortran-2_pkg_setup - python_set_active_version 2 - python_pkg_setup - echo - elog "There are extra options on packages not yet in Gentoo:" - elog "AliEn, castor, Chirp, dCache, gfal, gLite, Globus," - elog "HDFS, Monalisa, MaxDB/SapDB, SRP." - elog "You can use the env variable EXTRA_ECONF variable for this." - elog "For example, for SRP, you would set: " - elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=/usr/$(get_libdir)\"" - echo - enewgroup rootd - enewuser rootd -1 -1 /var/spool/rootd rootd - - if use math; then - if use openmp; then - if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then - ewarn "You are using a g++ without OpenMP capabilities" - die "Need an OpenMP capable compiler" - else - export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1 - fi - elif use mpi; then - export USE_MPI=1 USE_PARALLEL_MINUIT2=1 - fi - fi - if use c++0x && [[ $(tc-getCXX) == *g++* ]] && \ - ! version_is_at_least "4.7" "$(gcc-version)"; then - eerror "You are using a g++ without C++0x capabilities" - die "Need an C++0x capable compiler" - fi -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-${PATCH_PV}-prop-ldflags.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV2}-nobyte-compile.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV}-glibc212.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV}-unuran.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV2}-afs.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV2}-cfitsio.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV2}-chklib64.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV2}-dotfont.patch \ - "${FILESDIR}"/${PN}-${PATCH_PV3}-glibc216.patch - - # make sure we use system libs and headers - rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die - rm -r graf2d/asimage/src/libAfterImage || die - rm -r graf3d/ftgl/{inc,src} || die - rm -r graf2d/freetype/src || die - rm -r graf3d/glew/{inc,src} || die - rm -r core/pcre/src || die - rm -r math/unuran/src/unuran-*.tar.gz || die - LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm -f || die - rm -r core/lzma/src/*.tar.gz || die - rm graf3d/gl/{inc,src}/gl2ps.* || die - sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' graf3d/gl/Module.mk || die - - # In Gentoo, libPythia6 is called libpythia6 - # libungif is called libgif, - # iodbc is in /usr/include/iodbc - # pg_config.h is checked instead of libpq-fe.h - sed -i \ - -e 's:libPythia6:libpythia6:g' \ - -e 's:ungif:gif:g' \ - -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \ - -e 's:libpq-fe.h:pg_config.h:' \ - configure || die "adjusting configure for Gentoo failed" - - # prefixify the configure script - sed -i \ - -e 's:/usr:${EPREFIX}/usr:g' \ - configure || die "prefixify configure failed" - - # QTDIR only used for qt3 in gentoo, and configure looks for it. - unset QTDIR - - # Make html docs self-consistent for offline work (based on Fedora spec) - if use htmldoc; then - epatch "${FILESDIR}"/${PN}-${PATCH_PV2}-htmldoc.patch - # make images local - sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/!!' \ - -i etc/html/ROOT.css || die "htmldoc sed failed" - sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/!!' \ - -i etc/html/ROOT.css || die "htmldoc sed failed" - sed 's!http://root.cern.ch/drupal/sites/default/files/!!' \ - -i etc/html/header.html || die "htmldoc sed failed" - - cp "${DISTDIR}"/{rootdrawing-logo.png,root-banner.png,info.png} etc/html || - die "htmldoc preparation failed" - fi -} - -src_configure() { - # the configure script is not the standard autotools - ./configure \ - --prefix="${EPREFIX}"/usr \ - --etcdir="${EPREFIX}"/etc/root \ - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} \ - --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \ - --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \ - --with-cc=$(tc-getCC) \ - --with-cxx=$(tc-getCXX) \ - --with-f77=$(tc-getFC) \ - --with-ld=$(tc-getCXX) \ - --with-afs-shared=yes \ - --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \ - --disable-builtin-afterimage \ - --disable-builtin-freetype \ - --disable-builtin-ftgl \ - --disable-builtin-glew \ - --disable-builtin-pcre \ - --disable-builtin-zlib \ - --disable-builtin-lzma \ - --disable-cling \ - --enable-astiff \ - --enable-explicitlink \ - --enable-gdml \ - --enable-memstat \ - --enable-shadowpw \ - --enable-shared \ - --enable-soversion \ - --enable-table \ - --fail-on-missing \ - $(use_enable X x11) \ - $(use_enable X asimage) \ - $(use_enable X xft) \ - $(use_enable afs) \ - $(use_enable avahi bonjour) \ - $(use_enable fits fitsio) \ - $(use_enable fftw fftw3) \ - $(use_enable graphviz gviz) \ - $(use_enable kerberos krb5) \ - $(use_enable ldap) \ - $(use_enable math gsl-shared) \ - $(use_enable math genvector) \ - $(use_enable math mathmore) \ - $(use_enable math minuit2) \ - $(use_enable math roofit) \ - $(use_enable math tmva) \ - $(use_enable math unuran) \ - $(use_enable mysql) \ - $(use_enable odbc) \ - $(use_enable opengl) \ - $(use_enable postgres pgsql) \ - $(use_enable prefix rpath) \ - $(use_enable pythia6) \ - $(use_enable pythia8) \ - $(use_enable python) \ - $(use_enable qt4 qt) \ - $(use_enable qt4 qtgsi) \ - $(use_enable reflex cintex) \ - $(use_enable reflex) \ - $(use_enable ruby) \ - $(use_enable ssl) \ - $(use_enable xml) \ - $(use_enable xrootd) \ - ${EXTRA_ECONF} \ - || die "configure failed" -} - -src_compile() { - emake OPT="${CXXFLAGS}" F77OPT="${FFLAGS}" ROOTSYS="${S}" LD_LIBRARY_PATH="${S}/lib" - if use emacs; then - elisp-compile build/misc/*.el || die "elisp-compile failed" - fi -} - -doc_install() { - cd "${S}" - if use doc; then - einfo "Installing user's guides" - dodoc "${DISTDIR}"/ROOTUsersGuide-${PV}.pdf - use math && dodoc \ - "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \ - "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf - fi - - if use examples; then - # these should really be taken care of by the root make install - insinto /usr/share/doc/${PF}/examples/tutorials/tmva - doins -r tmva/test - else - rm -r "${ED}"/usr/share/doc/${PF}/examples || die - fi -} - -daemon_install() { - cd "${S}" - local daemons="rootd proofd" - dodir /var/spool/rootd - fowners rootd:rootd /var/spool/rootd - dodir /var/spool/rootd/{pub,tmp} - fperms 1777 /var/spool/rootd/{pub,tmp} - - for i in ${daemons}; do - newinitd "${FILESDIR}"/${i}.initd ${i} - newconfd "${FILESDIR}"/${i}.confd ${i} - done - if use xinetd; then - insinto /etc/xinetd - doins etc/daemons/{rootd,proofd}.xinetd - fi -} - -desktop_install() { - cd "${S}" - sed -e 's,@prefix@,/usr,' \ - build/package/debian/root-system-bin.desktop.in > root.desktop - domenu root.desktop - doicon "${S}"/build/package/debian/root-system-bin.png - - insinto /usr/share/icons/hicolor/48x48/mimetypes - doins build/package/debian/application-x-root.png - - insinto /usr/share/icons/hicolor/48x48/apps - doicon build/package/debian/root-system-bin.xpm -} - -src_install() { - emake DESTDIR="${D}" install - - echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/root" > 99root - use pythia8 && echo "PYTHIA8=${EPREFIX}/usr" >> 99root - use python && echo "PYTHONPATH=${EPREFIX}/usr/$(get_libdir)/root" >> 99root - use ruby && echo "RUBYLIB=${EPREFIX}/usr/$(get_libdir)/root" >> 99root - doenvd 99root - - # The build system installs Emacs support unconditionally and in the wrong - # directory. Remove it and call elisp-install in case of USE=emacs. - rm -r "${ED}"/usr/share/emacs - if use emacs; then - elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed" - fi - - doc_install - daemon_install - desktop_install - - # Cleanup of files either already distributed or unused on Gentoo - rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} || die - rm "${ED}"usr/share/root/fonts/LICENSE || die - pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null - rm posix/mktypes dll_stl/setup \ - G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o || die - rm "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib || die - rm "${ED}"/etc/root/proof/*.sample || die - rm -r "${ED}"/etc/root/daemons || die - popd > /dev/null - # these should be in PATH - mv "${ED}"etc/root/proof/utils/pq2/pq2* \ - "${ED}"usr/bin/ || die -} - -pkg_postinst() { - fdo-mime_desktop_database_update - use python && python_mod_optimize /usr/$(get_libdir)/root -} - -pkg_postrm() { - fdo-mime_desktop_database_update - use python && python_mod_cleanup /usr/$(get_libdir)/root -} |