Gentoo Archives: gentoo-commits

From: "Andrew Savchenko (bircoph)" <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-doc/root-docs/files: root-docs-6.00.01-makehtml.patch root-docs-6.00.01-fillpatterns.patch
Date: Mon, 02 Mar 2015 08:25:19
Message-Id: 20150302082514.4F48912DD6@oystercatcher.gentoo.org
1 bircoph 15/03/02 08:25:14
2
3 Added: root-docs-6.00.01-makehtml.patch
4 root-docs-6.00.01-fillpatterns.patch
5 Log:
6 version bump (sci-physics/root will be committed shortly)
7
8 Signed-off-by: Andrew Savchenko <bircoph@g.o>
9 (Portage version: 2.2.17/cvs/Linux i686, signed Manifest commit with key 565953B95372756C)
10
11 Revision Changes Path
12 1.1 app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch?rev=1.1&content-type=text/plain
16
17 Index: root-docs-6.00.01-makehtml.patch
18 ===================================================================
19 diff --git a/Makefile b/Makefile
20 index 600e8db..afad025 100644
21 --- a/Makefile
22 +++ b/Makefile
23 @@ -1072,16 +1072,7 @@ $(ROOTPCH): $(ROOTCLINGSTAGE1DEP) $(ALLHDRS) $(CLINGETCPCH) $(ORDER_) $(ALLLIBS)
24
25 ifeq ($(BUILDX11),yes)
26 ifeq ($(BUILDASIMAGE),yes)
27 -html: rootexecs postbin changelog releasenotes
28 -ifneq ($(USECONFIG),FALSE)
29 - @if [ "x`which root.exe`" != "x$(DESTDIR)$(BINDIR)/root.exe" ] \
30 - || [ "`which root.exe`" -ot "bin/root.exe" ]; then \
31 - echo 'ERROR: root.exe has not been installed by this build.'; \
32 - echo ' Run "make install" before running "make html".'; \
33 - exit 1; \
34 - fi
35 -endif
36 - @$(MAKELOGHTML)
37 +html: compiledata releasenotes
38 @$(MAKEHTML)
39 else
40 html:
41 diff --git a/build/unix/makehtml.sh b/build/unix/makehtml.sh
42 index a94e790..8b4589d 100755
43 --- a/build/unix/makehtml.sh
44 +++ b/build/unix/makehtml.sh
45 @@ -1,16 +1,16 @@
46 #! /bin/sh
47
48 dir=`pwd`
49 -ROOT=$dir/bin/root
50 +ROOT=root
51 cd tutorials
52 # we need tutorials/hsimple.root
53 if [ ! -f hsimple.root ]; then
54 - $ROOT -n -l -b -q hsimple.C
55 + $ROOT -n -l -b -q hsimple.C && exit 1
56 fi
57 cd tree
58 # we need tutorials/tree/cernstaff.root
59 if [ ! -f cernstaff.root ]; then
60 - $ROOT -n -l -b -q cernbuild.C
61 + $ROOT -n -l -b -q cernbuild.C || exit 1
62 fi
63 cd $dir
64
65 @@ -20,7 +20,7 @@ echo ""
66
67 # To generate the full documentation, we do need to
68 # use the graphics engine, so do not use '-b'.
69 -$ROOT -n -l <<makedoc
70 +$ROOT -n -l <<makedoc || exit 1
71 THtml h;
72 h.LoadAllLibs();
73 h.MakeAll();
74
75
76
77 1.1 app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch?rev=1.1&content-type=text/plain
81
82 Index: root-docs-6.00.01-fillpatterns.patch
83 ===================================================================
84 diff --git a/core/base/doc/macros/fillpatterns.C b/core/base/doc/macros/fillpatterns.C
85 index b0a5132..fca81c8 100644
86 --- a/core/base/doc/macros/fillpatterns.C
87 +++ b/core/base/doc/macros/fillpatterns.C
88 @@ -20,11 +20,11 @@ TCanvas * fillpatterns()
89
90 // Fixed patterns.
91 for (i=1; i<=5; i++) {
92 - box(j++, 0.01, y-bh, 0.19, y);
93 - box(j++, 0.21, y-bh, 0.39, y);
94 - box(j++, 0.41, y-bh, 0.59, y);
95 - box(j++, 0.61, y-bh, 0.79, y);
96 - box(j++, 0.81, y-bh, 0.99, y);
97 + box(j, 0.01, y-bh, 0.19, y); j++;
98 + box(j, 0.21, y-bh, 0.39, y); j++;
99 + box(j, 0.41, y-bh, 0.59, y); j++;
100 + box(j, 0.61, y-bh, 0.79, y); j++;
101 + box(j, 0.81, y-bh, 0.99, y); j++;
102 y = y-bh-db;
103 }
104
105 @@ -55,7 +55,7 @@ TCanvas * fillpatterns()
106 return Pat;
107 }
108
109 -box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
110 +void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
111 {
112 // Draw an box using the fill pattern "pat" with the "pat" value
113 // written on top.