Skip to content

Commit 6c277f6

Browse files
committed
updated to latest 6.08.00 with many new fixes
1 parent 8a2e72e commit 6c277f6

File tree

8 files changed

+38
-144
lines changed

8 files changed

+38
-144
lines changed

.SRCINFO

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pkgbase = root
2-
pkgdesc = C++ data analysis framework and interpreter from CERN.
3-
pkgver = 6.06.08
2+
pkgdesc = C++ data analysis framework and interpreter from CERN with extra features enabled.
3+
pkgver = 6.08.00
44
pkgrel = 2
55
url = http://root.cern.ch
66
arch = i686
@@ -10,6 +10,7 @@ pkgbase = root
1010
depends = cfitsio
1111
depends = fftw
1212
depends = ftgl
13+
depends = gl2ps
1314
depends = glew
1415
depends = graphviz
1516
depends = gsl
@@ -19,31 +20,27 @@ pkgbase = root
1920
depends = libiodbc
2021
depends = libmysqlclient
2122
depends = postgresql-libs
22-
depends = pythia
23+
depends = pythia8
2324
depends = python
2425
depends = sqlite
2526
depends = tex-gyre-fonts
2627
depends = unixodbc
28+
depends = unuran
2729
depends = xmlrpc-c
30+
depends = xrootd-abi0
2831
optdepends = gcc-fortran: Enable the Fortran components of ROOT
2932
optdepends = tcsh: Legacy CSH support
3033
options = !emptydirs
31-
source = https://root.cern.ch/download/root_v6.06.08.source.tar.gz
32-
source = call_PyErr_Clear_if_no_such_attribute.patch
33-
source = disable-gcc-abi-check.diff
34-
source = python3.diff
34+
source = https://root.cern.ch/download/root_v6.08.00.source.tar.gz
3535
source = root.sh
3636
source = root.xml
3737
source = rootd
3838
source = settings.cmake
39-
sha256sums = 7cb836282014cce822ef589cad27811eb7a86d7fad45a871fa6b0e6319ec201a
40-
sha256sums = 437ed0fb2c46d5ca8e37cc689f87dfe12429f6a243d4e5cf2d395a177de7e90f
41-
sha256sums = e03fff4accf7cee4e7329b305f1e0df7bf804dbced08d52566af789bc77ea0b0
42-
sha256sums = d566bc44f0df1915ac81c41b8ef7eff0d9fec8728533b00b9e654a2a4eff9af1
39+
sha256sums = 388b4158c6e5706418031060c52c4e6b89cd8856ba06bf11c550eeb1759615d9
4340
sha256sums = 9d1f8e7ad923cb5450386edbbce085d258653c0160419cdd6ff154542cc32bd7
4441
sha256sums = b103d46705883590d9e07aafb890ec1150f63dc2ca5f40d67e6ebef49a6d0a32
4542
sha256sums = 3c45b03761d5254142710b7004af0077f18efece7c95511910140d0542c8de8a
46-
sha256sums = 55be51afce766acca6ddd8123518af47a5d43c826233a2267c2404b68b662aee
43+
sha256sums = e5e236ab8ec21136d97d696648ce8f2448b196f40a2f90bbfd450bc186df94c2
4744

4845
pkgname = root
4946

PKGBUILD

Lines changed: 23 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,65 @@
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

77
pkgname=root
8-
pkgver=6.06.08
8+
pkgver=6.08.00
99
pkgrel=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.'
1111
arch=('i686' 'x86_64')
1212
url='http://root.cern.ch'
1313
license=('LGPL2.1')
1414
makedepends=('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
)
3937
optdepends=('gcc-fortran: Enable the Fortran components of ROOT'
4038
'tcsh: Legacy CSH support'
4139
)
4240
options=('!emptydirs')
4341
source=("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')
5951
prepare(){
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

7357
build() {
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

call_PyErr_Clear_if_no_such_attribute.patch

Lines changed: 0 additions & 16 deletions
This file was deleted.

disable-gcc-abi-check.diff

Lines changed: 0 additions & 19 deletions
This file was deleted.

param.diff

Lines changed: 0 additions & 10 deletions
This file was deleted.

python3.diff

Lines changed: 0 additions & 33 deletions
This file was deleted.

remove_explicit_csh_call.diff

Lines changed: 0 additions & 18 deletions
This file was deleted.

settings.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ set (asimage ON CACHE BOOL "" FORCE)
88
set (builtin_afterimage OFF CACHE BOOL "" FORCE)
99
set (builtin_ftgl OFF CACHE BOOL "" FORCE)
1010
set (builtin_freetype OFF CACHE BOOL "" FORCE)
11+
set (builtin_gl2ps OFF CACHE BOOL "" FORCE)
1112
set (builtin_glew OFF CACHE BOOL "" FORCE)
1213
set (builtin_pcre OFF CACHE BOOL "" FORCE)
1314
set (builtin_zlib OFF CACHE BOOL "" FORCE)
1415
set (builtin_lzma OFF CACHE BOOL "" FORCE)
1516
set (builtin_llvm ON CACHE BOOL "" FORCE)
1617
set (builtin_tbb OFF CACHE BOOL "" FORCE)
18+
set (builtin_unuran OFF CACHE BOOL "" FORCE)
1719
set (castor OFF CACHE BOOL "" FORCE)
1820
set (chirp OFF CACHE BOOL "" FORCE)
1921
set (cling ON CACHE BOOL "" FORCE)
@@ -24,6 +26,7 @@ set (fail-on-missing ON CACHE BOOL "" FORCE)
2426
set (fitsio ON CACHE BOOL "" FORCE)
2527
set (fortran ON CACHE BOOL "" FORCE)
2628
set (gfal OFF CACHE BOOL "" FORCE)
29+
set (gl2ps ON CACHE BOOL "" FORCE)
2730
set (glite OFF CACHE BOOL "" FORCE)
2831
set (gnuinstall ON CACHE BOOL "" FORCE)
2932
set (gsl_shared ON CACHE BOOL "" FORCE)
@@ -34,6 +37,7 @@ set (monalisa OFF CACHE BOOL "" FORCE)
3437
set (mt ON CACHE BOOL "" FORCE)
3538
set (opengl ON CACHE BOOL "" FORCE)
3639
set (oracle OFF CACHE BOOL "" FORCE)
40+
set (python3 ON CACHE BOOL "" FORCE)
3741
set (pythia6 OFF CACHE BOOL "" FORCE)
3842
set (pythia6_nolink OFF CACHE BOOL "" FORCE)
3943
set (pythia8 ON CACHE BOOL "" FORCE)
@@ -45,5 +49,7 @@ set (shared ON CACHE BOOL "" FORCE)
4549
set (tbb ON CACHE BOOL "" FORCE)
4650
set (testing OFF CACHE BOOL "" FORCE)
4751
set (tmva ON CACHE BOOL "" FORCE)
52+
set (unuran ON CACHE BOOL "" FORCE)
4853
set (xft ON CACHE BOOL "" FORCE)
54+
set (xrootd ON CACHE BOOL "" FORCE)
4955
set (x11 ON CACHE BOOL "" FORCE)

0 commit comments

Comments
 (0)