diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-10-26 15:40:57 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-10-26 15:40:57 +0000 |
commit | 69cd0a3dbb17e194c197ff030f7789645c1ad3ba (patch) | |
tree | aa682420306e395c8b1028dfd8af8df90e1eec1a /sci-physics | |
parent | import from science overlay (diff) | |
download | historical-69cd0a3dbb17e194c197ff030f7789645c1ad3ba.tar.gz historical-69cd0a3dbb17e194c197ff030f7789645c1ad3ba.tar.bz2 historical-69cd0a3dbb17e194c197ff030f7789645c1ad3ba.zip |
import from science overlay
Package-Manager: portage-2.2.0_alpha141/cvs/Linux x86_64
Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/root/ChangeLog | 22 | ||||
-rw-r--r-- | sci-physics/root/Manifest | 18 | ||||
-rw-r--r-- | sci-physics/root/files/olbd.confd | 9 | ||||
-rw-r--r-- | sci-physics/root/files/olbd.initd | 26 | ||||
-rw-r--r-- | sci-physics/root/files/xrootd.confd | 8 | ||||
-rw-r--r-- | sci-physics/root/files/xrootd.initd | 26 | ||||
-rw-r--r-- | sci-physics/root/root-5.32.04.ebuild | 378 | ||||
-rw-r--r-- | sci-physics/root/root-5.34.03.ebuild | 378 |
8 files changed, 786 insertions, 79 deletions
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog index ec8592d4701c..aefcc196f3d2 100644 --- a/sci-physics/root/ChangeLog +++ b/sci-physics/root/ChangeLog @@ -1,6 +1,26 @@ # 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.109 2012/10/16 18:50:45 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.110 2012/10/26 15:40:47 bicatali Exp $ + +*root-5.34.03 (25 Oct 2012) + + 25 Oct 2012; Andrew Savchenko <bircoph@gmail.com> + -files/root-5.34.01-glibc216.patch, -root-5.34.02.ebuild, + +root-5.34.03.ebuild: + Version bump with important fixes in RooFit. + Drop old. + +*root-5.34.02 (19 Oct 2012) +*root-5.32.04 (19 Oct 2012) + + 19 Oct 2012; Andrew Savchenko <bircoph@gmail.com> + +files/root-5.28.00b-asneeded.patch, + +files/root-5.28.00b-nobyte-compile.patch, + +files/root-5.28.00h-explicit-functions.patch, + +files/root-5.32.00-dotfont.patch, + +files/root-5.32.00-explicit-functions.patch, +root-5.32.04.ebuild, + +files/root-5.34.01-glibc216.patch, +root-5.34.02.ebuild: + Version bump for 5.32.04 and 5.34.02 patch releases. 16 Oct 2012; Justin Lecher <jlec@gentoo.org> root-5.32.03-r2.ebuild, root-5.34.01.ebuild: diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest index 1c81550c0c5e..5ca0cd546407 100644 --- a/sci-physics/root/Manifest +++ b/sci-physics/root/Manifest @@ -1,8 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX olbd.confd 197 SHA256 5a34da76bbe56cd3b8128f05c0d9900f9d7f7ffdcffc5deeb816c78ea46679ba SHA512 4cb53a93a89bb219943abd861fbca7cf17f6b6f63e31a58c08dff0641c46a391e0113523f1745a8df7996857d962d16d4a9538322c50ef03fbaa2cdedbeecc89 WHIRLPOOL fb348b4ee18e28e84078e360701bb08bed5eeb0175f625a626969189bd8228566c1a4209b8a44f66dda741cd442e70dc07e0138234956e9e59d94ad32792a6d8 -AUX olbd.initd 714 SHA256 7ddb98aebcd4ef0009b1fed7946ba5aaa8c806ee97df9e94ecb28e6b803e9300 SHA512 60c8012b6e076f789c6290a8aeb84346129b00144959cfeb2cb5195706b9dd088f7afa05b3273369af8548be0f5259aa042848dacc9f1b934a4913eb9145ef82 WHIRLPOOL 4d010296ad2db78190f0cf3e447651b8d60d613fd706b8c98b4e9b7d30d9760039bac562f2df359a411aaa037dba4cf6de9cb664ab8fd6af3ca7450625e7fb62 AUX proofd.confd 415 SHA256 261738817b4ba50fb07007741305d0a88e9067a45e3cbfd1d3fc8bebe70ece38 SHA512 5aa6e6313cf159d2b407286a15f7f959d966a7e9b74bd2a74f13bd3fe01c04d99b46b5fb55f4a7434ebe911cd8b6469657d96591d624a7bfc7d39d49ab62b900 WHIRLPOOL 4a0604d8827cd733a2f5b34183bfd9458aff94f036f9177f2de3283da7722cf2e6dbf6acae93fe3ccd8144ad646c283458550f97f357148cc9f903c7469c57ca AUX proofd.initd 717 SHA256 f60fa92173370e237e3e2cf5be7add5aa63752e3b7496cf3a0a5acc1dc927ebc SHA512 73db660c9a3ab8e9a1e1794c7a54ffff3c9c25b9aa0b8273e24c7dcdcb6ac60824a8782087529834d1c4316c1166178ac39daa0feda2971784cc3115bba2a30f WHIRLPOOL 491ccca22cf08d9dc2f61fc6e4cf1fa00c8ad995ce20e7e94cd3b1ea5438568dc23e31a01ae98ea4431aa351c4983c77b26baa3052b42a9747e84c5413cb2be9 AUX root-5.28.00b-asneeded.patch 712 SHA256 17d1d41d8c7f78abbb7cd284af0a6aca544820db72fa72956b473c7c1817a96b SHA512 6523b0e9610d38f1b65bd0c2af122069abbaa209939073ab0f5f7c279fcc1458663255e5cbcf01787b43519d40496019a9eb4c38d5df26122674bc2435a5aabb WHIRLPOOL 3ed8f327051c118a3d1a2bc23220a89e14fc2efbf88f6ace37d2194462fa3792ac4a32a9cb52bfc94063e5d180e759d12bd85953c52415df4154c186b7864d77 @@ -21,26 +19,28 @@ 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 -AUX xrootd.confd 200 SHA256 03c1191168ddea3bc6621e26eb56e509e6c9a4d58756ffbbd07ff6657200e57d SHA512 0c29b090540cc62841cb17c57514d7d8d0dc99a96cbc1bdb54f450c4cf0d1e1843f6d5f04faffb452a883bda980c1d276d730997e85b1e68f40d9ab694ba86aa WHIRLPOOL 6115b4282e4d0c71bea1075548bba26a451c1aab2540f14b9280cb5b143ab41c8b68e28f91ad258f75f847dea1f8e8855d257a6880dccfe1fbe474ac4ec36c3f -AUX xrootd.initd 720 SHA256 88112617e0ff9dff557ec800835dd93f1e1e4316e4c137034af4943c02678f64 SHA512 d36ed289f8120a697a7e2cb2bd772c4d9abb81607d7214b12b46698994e29653c97c1bf9cd7cd18fa7ed1943840204b6ad83a0b80716c99532b871d8dba9c411 WHIRLPOOL 5af152cc03b19884d0b803f29afdbdb7756c48cde5e9d8855da0208691fe48a48d34be3cbaffee251a07e4f447fa95476174af33b9a4b22ee57acc6827faa2af 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 DIST TMVAUsersGuide-v4.03.pdf 3913533 SHA256 0cdbb4a2d19eb7a86e2911cfa73a905932e862d6c94be10b7662a9355b0241af SHA512 d8bb2ce35ef32c4877059898f56513db0b1057924e21935a3d3a6f114748e167984c43fd2ec7e54197fccff875540543968fea9a8e75bf63f5f13521724a7ddb WHIRLPOOL 0a3e2e61e8e32f3a22757178adf033f9fbb89014aecd4df7f8bd49677d772bb3ad2c0f5526259611879f6bb20df647c01e23f53ade483d7a3e2242f8aee6c6aa DIST info.png 2060 SHA256 51de6661250f3fb71c6c8250cbc4bdc4dc4283cc90240b4dc1ee6168e8d40279 SHA512 81a730eefbe7a7e15d5840491402c7644bf7ed5d5f8f3830ed9457b343cc7882480e993ea84aef93500742cd0fe8469859cd2c925e5582b91ef56406804ae276 WHIRLPOOL 02ea6daf9e3d21947ebf5dd01c455a13f2fcbf9981be34a150056a3510122ca49e3d137d4f242c7218d4d06ace09566d513a04f09071723ac244f5a38e982bac 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 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 -MISC ChangeLog 33350 SHA256 a241cee2afb355f5b8639cbe81d83eceb030b13cf8bb06690034c674af2a9117 SHA512 59581c5e6467d6a80487ef1925f4e6923481fcd991657c40336604ee35ff607d6cf8edf65a891adb31b9dcd19494b0bef10b5159c2d3dc977d740d265ec82c6f WHIRLPOOL f54d2bce9b9cae5a007cf3acc3ac4f2530c6a3afb3496520672b64ad70ff2e9b142de7a0c2621bc3cadf3c4d2bb85f6aa5175b8c5573f86fca085c9ac26995f5 +EBUILD root-5.34.03.ebuild 11397 SHA256 0bebf28380a2598d152d1ece792ec1761e96c1950ce8081ec68c27eac7853b8c SHA512 034396ff149e113a399f23a04e4b8b34c09582c6d23df26f1bea0f829f1ae40bd33dc3ff2b3c120fca03cccb2fbbcf47546db1b0ed703ec2cd3003d5136093ff WHIRLPOOL 830c82ad3f72afd2b381b21d0df04e7827a9d6bff665b8e7f1b262cdd2434d99fe9b5fc90245dfa332095d96d9e2f7096356214025eeb5713253719bbb06e8e0 +MISC ChangeLog 34044 SHA256 aad837525334aed13b9e6cba37feef6cd0451280a3902f51237e9515e219d76f SHA512 00bff54de6805b84987822605da91a7a8fd57b7cfa8403ca55fade203a1e97f4a76db097a5a432da8cc6f329a48310d6aab48b844a7b11db8d6cea7e265c3983 WHIRLPOOL 2a9de36e038cf461f7f4d55293276ad079793033b7869b306bb98e5f1a8d0b4ec799eeb7a3b3bc7fadb5a1054567242ea89cf7753df3bc095091cfaf38bdaa48 MISC metadata.xml 1617 SHA256 3d1e4a4d14b0062964bcf9700c30c95ae5fda2f913d9b224d2163a986ac75ba3 SHA512 42e85b73ba585295f5dccef5ccad39445db4a1ebf20db8e4e799a45a54c34afca559a0a9592cf1a9eee94376acd8a289258e4e0bf816d490b7b6ecc2af5d64f3 WHIRLPOOL 32d37ecad572e72553adf10975bf40bbabb7a77887d4abc56b4b8a3636ddd98291cf62039cde767dfc9b8d7be2ba40b4cd5719bab1190806da0a70a10dd034a8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -Comment: GPGTools - http://gpgtools.org -iEYEAREIAAYFAlB9rIYACgkQgAnW8HDreRbqbgCgti7MOJT67S0CS2Abu4t5sPHL -LEQAoMnFPa/NtbdW2MDYNQYzFPF1J4Cn -=/kxf +iEYEAREIAAYFAlCKrwQACgkQ1ycZbhPLE2CNNwCgiYaStlzlhKtXbXQm8/eIHmjy +euUAn0rmaecT4N5YtoNJ/RSS5+hPg+1O +=E0h2 -----END PGP SIGNATURE----- diff --git a/sci-physics/root/files/olbd.confd b/sci-physics/root/files/olbd.confd deleted file mode 100644 index 848f4d7ba4a5..000000000000 --- a/sci-physics/root/files/olbd.confd +++ /dev/null @@ -1,9 +0,0 @@ -# conf.d file for olbd daemon - -# User to run as (default is `xrootd') -OLBD_USER="root" - -# -# Please refer to the olbd(1) man(1) page for more -# information on command line parameters. -OLBD_OPTS="" diff --git a/sci-physics/root/files/olbd.initd b/sci-physics/root/files/olbd.initd deleted file mode 100644 index 6bb4a362b2b4..000000000000 --- a/sci-physics/root/files/olbd.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/olbd.initd,v 1.2 2012/03/13 17:02:31 bicatali Exp $ - -depend() { - need net - use dns logger - provide root-file-server -} - -start() { - ebegin "Starting ROOT open load balancer server" - start-stop-daemon --start --quiet --user=${OLBD_USER} \ - --make-pidfile --pidfile=/var/run/olbd.pid \ - --exec /usr/bin/olbd --background -- ${OLBD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping ROOT open load balancer server" - start-stop-daemon --stop --quiet \ - --pidfile=/var/run/olbd.pid \ - --exec /usr/bin/olbd - eend $? -} diff --git a/sci-physics/root/files/xrootd.confd b/sci-physics/root/files/xrootd.confd deleted file mode 100644 index e725cd1e7e52..000000000000 --- a/sci-physics/root/files/xrootd.confd +++ /dev/null @@ -1,8 +0,0 @@ -# conf.d file for xroot daemon - -# User to run as (default is `root') -XROOTD_USER="root" - -# Please refer to the xrootd(1) man(1) page for more -# information on command line parameters. -XROOTD_OPTS="" diff --git a/sci-physics/root/files/xrootd.initd b/sci-physics/root/files/xrootd.initd deleted file mode 100644 index 18af313750ec..000000000000 --- a/sci-physics/root/files/xrootd.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/xrootd.initd,v 1.3 2012/03/13 17:02:31 bicatali Exp $ - -depend() { - need net - use logger dns - provide root-file-server -} - -start() { - ebegin "Starting extended ROOTD file server" - start-stop-daemon --start --quiet --user ${XROOTD_USER} \ - --make-pidfile --pidfile /var/run/xrootd.pid \ - --exec /usr/bin/xrootd --background -- ${XROOTD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping extended ROOTD file server" - start-stop-daemon --stop --quiet \ - --pidfile /var/run/xrootd.pid \ - --exec /usr/bin/xrootd - eend $? -} diff --git a/sci-physics/root/root-5.32.04.ebuild b/sci-physics/root/root-5.32.04.ebuild new file mode 100644 index 000000000000..095b057e4998 --- /dev/null +++ b/sci-physics/root/root-5.32.04.ebuild @@ -0,0 +1,378 @@ +# 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.32.04.ebuild,v 1.1 2012/10/26 15:40:47 bicatali Exp $ + +EAPI=4 + +PYTHON_DEPEND="python? 2" + +if [[ ${PV} == "9999" ]] ; then + _SVN=subversion + ESVN_REPO_URI="https://root.cern.ch/svn/root/trunk" + ESVN_OPTIONS="--non-interactive --trust-server-cert" + 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} + +ROOFIT_DOC_PV=2.91-33 +TMVA_DOC_PV=4.03 +PATCH_PV=5.28.00b +PATCH_PV2=5.32.00 + +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 + 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 clarens 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 xft 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 ) + xft? ( x11-libs/libXft ) + ) + afs? ( net-fs/openafs ) + avahi? ( net-dns/avahi ) + clarens? ( dev-libs/xmlrpc-c[curl] ) + 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 )" + +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 !xft ) + mpi? ( math !openmp ) + openmp? ( math !mpi )" + +S="${WORKDIR}/${PN}" + +pkg_setup() { + fortran-2_pkg_setup + 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-getCC)$ == *gcc* ]] && ! tc-has-openmp; then + ewarn "You are using a gcc 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 +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-prop-ldflags.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-asneeded.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}-explicit-functions.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV2}-dotfont.patch + + # make sure we use system libs and headers + rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die + rm -rf graf2d/asimage/src/libAfterImage || die + rm -rf graf3d/ftgl/{inc,src} || die + rm -rf graf2d/freetype/src || die + rm -rf graf3d/glew/{inc,src} || die + rm -rf core/pcre/src || die + rm -rf 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 -rf 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-exceptions \ + --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 afs) \ + $(use_enable avahi bonjour) \ + $(use_enable clarens) \ + $(use_enable clarens peac) \ + $(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 xft) \ + $(use_enable xml) \ + $(use_enable xrootd) \ + ${EXTRA_ECONF} \ + || die "configure failed" +} + +src_compile() { + emake OPT="${CXXFLAGS}" F77OPT="${FFLAGS}" + 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.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 -rf "${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 -rf "${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 -f posix/mktypes dll_stl/setup \ + G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o || die + rm -f "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib || die + rm -f "${ED}"/etc/root/proof/*.sample || die + rm -rf "${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 +} diff --git a/sci-physics/root/root-5.34.03.ebuild b/sci-physics/root/root-5.34.03.ebuild new file mode 100644 index 000000000000..7291781ccd6b --- /dev/null +++ b/sci-physics/root/root-5.34.03.ebuild @@ -0,0 +1,378 @@ +# 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.03.ebuild,v 1.1 2012/10/26 15:40:47 bicatali 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 + + # 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 +} |