1- # Maintainer: Konstantin Gizdov <kgizdov@ gmail. com>
2- # Contributor: Frank Siegert <frank.siegert@ googlemail. com>
3- # Contributor: Scott Lawrence <bytbox@ gmail. com>
4- # Contributor: Thomas Dziedzic < gostrc at gmail >
5- # Contributor: Sebastian Voecking <voeck@ web.de >
1+ # Maintainer: Konstantin Gizdov < kgizdov at gmail dot com >
2+ # Contributor: Frank Siegert < frank.siegert at googlemail dot com >
3+ # Contributor: Scott Lawrence < bytbox at gmail dot com >
4+ # Contributor: Thomas Dziedzic < gostrc at gmail dot com >
5+ # Contributor: Sebastian Voecking < voeck at web dot de >
66
77pkgname=root
8- pkgver=6.06.08
8+ pkgver=6.08.00
99pkgrel=2
10- pkgdesc=' C++ data analysis framework and interpreter from CERN.'
10+ pkgdesc=' C++ data analysis framework and interpreter from CERN with extra features enabled .'
1111arch=(' i686' ' x86_64' )
1212url=' http://root.cern.ch'
1313license=(' LGPL2.1' )
1414makedepends=(' cmake' )
15- depends=(' cfitsio' # for /usr/include/fitsio2.h and for /usr/lib/libcfitsio.so -- for fitsio=ON
15+ depends=(' cfitsio'
1616' fftw'
17- ' ftgl' # also includes libgl, mesa, libldap
18- # 'gcc-fortran' # not needed
19- # 'giflib' # already included
17+ ' ftgl'
18+ ' gl2ps'
2019' glew'
21- ' graphviz' # also includes giflib, for /usr/include/graphviz/gvc.h and for /usr/lib/libgvc.so -- for gviz=ON
20+ ' graphviz'
2221' gsl'
2322' hicolor-icon-theme'
24- ' intel-tbb' # unlisted optional dependency -- for builtin_tbb=OFF and tbb=ON
25- ' libafterimage' # for asimage=ON
26- # 'libgl' # already included for /usr/include/GL/gl.h and for /usr/lib/libGL.so -- for opengl=ON
23+ ' intel-tbb'
24+ ' libafterimage'
2725' libiodbc'
28- # 'libldap' # already included, for /usr/include/ldap.h and for /usr/lib/libldap.so -- for ldap=ON
2926' libmysqlclient'
30- # 'llvm' # for builtin_llvm=OFF, but currently not possible
3127' postgresql-libs'
32- ' pythia ' # for pythia8=ON
28+ ' pythia8'
3329' python'
3430' sqlite'
35- ' tex-gyre-fonts' # nicer substitution as per Arch Wiki
31+ ' tex-gyre-fonts' # solve the pixelized font problem as per Arch Wiki
3632' unixodbc'
33+ ' unuran'
3734' xmlrpc-c'
35+ ' xrootd-abi0'
3836)
3937optdepends=(' gcc-fortran: Enable the Fortran components of ROOT'
4038 ' tcsh: Legacy CSH support'
4139)
4240options=(' !emptydirs' )
4341source=(" https://root.cern.ch/download/root_v${pkgver} .source.tar.gz"
44- ' call_PyErr_Clear_if_no_such_attribute.patch'
45- ' disable-gcc-abi-check.diff'
46- ' python3.diff'
4742' root.sh'
4843' root.xml'
4944' rootd'
5045' settings.cmake' )
51- sha256sums=(' 7cb836282014cce822ef589cad27811eb7a86d7fad45a871fa6b0e6319ec201a'
52- ' 437ed0fb2c46d5ca8e37cc689f87dfe12429f6a243d4e5cf2d395a177de7e90f'
53- ' e03fff4accf7cee4e7329b305f1e0df7bf804dbced08d52566af789bc77ea0b0'
54- ' d566bc44f0df1915ac81c41b8ef7eff0d9fec8728533b00b9e654a2a4eff9af1'
46+ sha256sums=(' 388b4158c6e5706418031060c52c4e6b89cd8856ba06bf11c550eeb1759615d9'
5547 ' 9d1f8e7ad923cb5450386edbbce085d258653c0160419cdd6ff154542cc32bd7'
5648 ' b103d46705883590d9e07aafb890ec1150f63dc2ca5f40d67e6ebef49a6d0a32'
5749 ' 3c45b03761d5254142710b7004af0077f18efece7c95511910140d0542c8de8a'
58- ' 55be51afce766acca6ddd8123518af47a5d43c826233a2267c2404b68b662aee ' )
50+ ' e5e236ab8ec21136d97d696648ce8f2448b196f40a2f90bbfd450bc186df94c2 ' )
5951prepare (){
60- # # https://sft.its.cern.ch/jira/browse/ROOT-6924
6152 cd ${pkgname} -${pkgver}
6253
63- patch -p1 < ${srcdir} /python3.diff
6454 2to3 -w etc/dictpch/makepch.py 2>&1 > /dev/null
65-
66- # # https://sft.its.cern.ch/jira/browse/ROOT-7640
67- patch -p1 < ${srcdir} /call_PyErr_Clear_if_no_such_attribute.patch
68-
69- # # disable check newly introduced in 6.06.06
70- patch -p1 < ${srcdir} /disable-gcc-abi-check.diff
7155}
7256
7357build () {
7458 [ -d ${srcdir} /build ] || mkdir ${srcdir} /build
7559 cd ${srcdir} /build
7660
7761 CFLAGS=" ${CFLAGS} -pthread" \
78- CXXFLAGS=" ${CXXFLAGS} -pthread -D_GLIBCXX_USE_CXX11_ABI=0 " \
62+ CXXFLAGS=" ${CXXFLAGS} -pthread" \
7963 LDFLAGS=" ${LDFLAGS} -pthread -Wl,--no-undefined" \
8064 cmake -C ${srcdir} /settings.cmake ${srcdir} /${pkgname} -${pkgver}
8165
@@ -99,6 +83,9 @@ package() {
9983 # replace @prefix@ with /usr for the desktop
10084 sed -e ' s_@prefix@_/usr_' -i ${pkgdir} /usr/share/applications/root-system-bin.desktop
10185
86+ # fix python env call
87+ sed -e ' s/@python@/python/' -i ${pkgdir} /usr/lib/root/cmdLineUtils.py
88+
10289 install -D -m644 ${srcdir} /${pkgname} -${pkgver} /build/package/debian/root-system-bin.png \
10390 ${pkgdir} /usr/share/icons/hicolor/48x48/apps/root-system-bin.png
10491
0 commit comments