summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 23 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9f74658e790..81ca718219b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,16 @@
pkgname=go4
_Pkgname=Go4
pkgver=6.0.0
-pkgrel=1
+pkgrel=2
pkgdesc='Object-oriented system (GSI Object Oriented On-line Off-line system) based on ROOT'
arch=('x86_64')
-depends=('root' 'qt5-base')
+depends=('root' 'qt5-webengine')
url="https://www.gsi.de/en/work/research/experiment_electronics/data_processing/data_analysis/the_go4_home_page.htm"
license=('GPL')
source=("http://web-docs.gsi.de/~go4/download/go4-${pkgver}.tar.gz"
"Makefile.config.patch")
sha256sums=('28e3ecccbbde5a9168e85d6b6b5abaa147c0d65ea70332cdaaa80050ad61c55f'
- 'd03fd394378e4ee97d2d17071010df046f1e9346d7b57585a694410a25bc5883')
+ '4f30aaffccd27ca206d5633a3b637736fbe9f34258435db6446a0c43e1f51abd')
prepare() {
@@ -30,6 +30,25 @@ prepare() {
# something change and the libraries are not found now at compilation time
patch -Np2 < ${srcdir}/Makefile.config.patch
+ # gSystem not found
+ sed -i '1s;^;#include <TSystem.h>\n;' Go4ThreadManager/TGo4AppControlTimer.cxx
+
+ # something with time
+ sed -i '1s;^;#include <TDatime.h>\n;' Go4ConditionsBase/TGo4Condition.cxx
+ sed -i '1s;^;#include <TDatime.h>\n;' Go4AnalysisClient/TGo4AnalysisClientImp.cxx
+
+ # error: incomplete type ‘TF1’ used in nested name specifier
+ sed -i 's;#include "TLatex.h";&\n#include "TF1.h";g' Go4Proxies/TGo4BrowserProxy.cxx
+ sed -i 's;#include "TLatex.h";&\n#include "TF1.h";g' qt4/Go4GUI/TGo4ViewPanel.cpp
+
+ # multiple definition of `fLogFile'
+ sed -i 's;#include "rawapin.h";;g' MbsAPI/f_evt.c
+
+ # error: ‘gVirtualX’ was not declared in this scope
+ sed -i '1s;^;#include "TVirtualX.h"\n;' qt4/Go4QtRoot/QRootWindow.cpp
+
+ # error: invalid use of incomplete type ‘class TObjString’
+ sed -i '1s;^;#include "TObjString.h"\n;' qt4/Go4QtRoot/QRootCanvas.cpp
}
build() {
@@ -39,7 +58,7 @@ build() {
make clean
make prefix=/usr \
- withqt=5 \
+ withqt=4 \
GO4_OS=Linux \
rpath=true \
withdabc=yes \