From: Steffen Neumann <sneumann@ipb-halle.de>
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@125186 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -5,6 +5,9 @@ |
5 | 5 |
|
6 | 6 |
cd src |
7 | 7 |
|
8 |
+if /bin/false ; then |
|
9 |
+#------------------ |
|
10 |
+ |
|
8 | 11 |
rm -rf pwiz |
9 | 12 |
mkdir pwiz |
10 | 13 |
cd pwiz |
... | ... |
@@ -16,32 +19,19 @@ for DIR in data/msdata data/identdata data/proteome data/common utility/chemistr |
16 | 19 |
svn co $PWIZREPO/pwiz/$DIR $DIR |
17 | 20 |
done |
18 | 21 |
|
22 |
+cd .. |
|
23 |
+ |
|
19 | 24 |
#------------------ |
20 | 25 |
|
21 |
-cd .. |
|
22 | 26 |
rm -rf boost |
23 |
-mkdir boost |
|
24 |
-cd boost |
|
25 | 27 |
|
26 |
-BOOSTVER=Boost_1_55_0 |
|
27 |
-BOOSTREPO=http://svn.boost.org/svn/boost/tags/release/$BOOSTVER/boost |
|
28 |
+BOOSTVER=1_58_0 |
|
29 |
+BOOSTVERDOT=1.58.0 |
|
30 |
+BOOSTURL=https://freefr.dl.sourceforge.net/project/boost/boost/$BOOSTVERDOT/boost_$BOOSTVER.tar.gz |
|
28 | 31 |
|
29 |
-svn co --non-recursive $BOOSTREPO . |
|
32 |
+wget -O- "$BOOSTURL" | tar xzvf - |
|
30 | 33 |
|
31 |
-for DIR in smart_ptr config config mpl detail iostreams exception function_types \ |
|
32 |
- io type_traits preprocessor format algorithm logic optional range numeric math\ |
|
33 |
- iterator function utility concept bind regex filesystem system thread container\ |
|
34 |
- date_time lambda proto typeof fusion spirit tuple multi_index serialization\ |
|
35 |
- ratio chrono atomic move variant archive functional integer locale predef ; do |
|
36 |
- svn co $BOOSTREPO/$DIR $DIR |
|
37 |
-done |
|
38 |
- |
|
39 |
-BOOSTLIBSREPO=http://svn.boost.org/svn/boost/tags/release/$BOOSTVER/libs |
|
40 |
-for DIR in chrono/src iostreams/src thread/src/pthread/ filesystem/src/ regex/src system/src ; do |
|
41 |
- svn co $BOOSTLIBSREPO/$DIR $DIR |
|
42 |
-done |
|
43 |
- |
|
44 |
-cd .. |
|
34 |
+mv boost_$BOOSTVER boost |
|
45 | 35 |
|
46 | 36 |
#------------------ |
47 | 37 |
|
... | ... |
@@ -55,14 +45,19 @@ svn co $PWIZBOOSTREPO boost |
55 | 45 |
cd .. |
56 | 46 |
|
57 | 47 |
#------------------ |
48 |
+fi |
|
49 |
+#------------------ |
|
58 | 50 |
|
59 | 51 |
|
60 | 52 |
PWIZ_MAJOR=$(grep "constant PWIZ_MAJOR" pwiz/Jamroot.jam | sed -e 's/constant PWIZ_MAJOR : \([0-9+]\) ;/\1/') |
61 | 53 |
PWIZ_MINOR=$(grep "constant PWIZ_MINOR" pwiz/Jamroot.jam | sed -e 's/constant PWIZ_MINOR : \([0-9+]\) ;/\1/') |
62 | 54 |
|
63 |
-lastchangedrev=$(svn info pwiz/data/msdata | grep "Last Changed Rev:" | cut -d: -f 2) |
|
64 |
-lastchangeddate=$(svn info pwiz/data/msdata | grep "Last Changed Date:" | cut -d" " -f 4 | tr "-" " ") |
|
65 |
-revisioninfo="($lastchangedrev $lastchangeddate)" |
|
55 |
+#lastchangedrev=$(svn info pwiz/data/msdata | grep "Last Changed Rev:" | cut -d: -f 2) |
|
56 |
+#lastchangeddate=$(svn info pwiz/data/msdata | grep "Last Changed Date:" | cut -d" " -f 4 | tr "-" " ") |
|
57 |
+lastchangedrev=666 |
|
58 |
+lastchangeddate="1016-03-22" |
|
59 |
+revisioninfo=( $lastchangedrev $lastchangeddate 3 4 ) |
|
60 |
+echo ${revisioninfo[*]} |
|
66 | 61 |
|
67 | 62 |
cat >pwiz/data/msdata/Version.cpp <<EOF |
68 | 63 |
// This file was generated by the \"svnrev\" utility |
... | ... |
@@ -103,3 +98,52 @@ string Version::str() |
103 | 98 |
EOF |
104 | 99 |
|
105 | 100 |
#------------------ |
101 |
+ |
|
102 |
+ |
|
103 |
+PWIZ_MAJOR=$(grep "constant PWIZ_MAJOR" pwiz/Jamroot.jam | sed -e 's/constant PWIZ_MAJOR : \([0-9+]\) ;/\1/') |
|
104 |
+PWIZ_MINOR=$(grep "constant PWIZ_MINOR" pwiz/Jamroot.jam | sed -e 's/constant PWIZ_MINOR : \([0-9+]\) ;/\1/') |
|
105 |
+ |
|
106 |
+#lastchangedrev=$(svn info pwiz/data/msdata | grep "Last Changed Rev:" | cut -d: -f 2) |
|
107 |
+#lastchangeddate=$(svn info pwiz/data/msdata | grep "Last Changed Date:" | cut -d" " -f 4 | tr "-" " ") |
|
108 |
+lastchangedrev=666 |
|
109 |
+lastchangeddate="1016-03-22" |
|
110 |
+revisioninfo=( $lastchangedrev $lastchangeddate 3 4 ) |
|
111 |
+echo ${revisioninfo[*]} |
|
112 |
+ |
|
113 |
+cat >pwiz/data/identdata/Version.cpp <<EOF |
|
114 |
+// This file was generated by the \"svnrev\" utility |
|
115 |
+// You should not modify it manually, as it may be re-generated. |
|
116 |
+// |
|
117 |
+// $Revision: ${revisioninfo[1]} $ |
|
118 |
+// $Date: ${revisioninfo[2]}-${revisioninfo[3]}-${revisioninfo[4]} $ |
|
119 |
+// |
|
120 |
+ |
|
121 |
+#define PWIZ_SOURCE |
|
122 |
+#include "Version.hpp" |
|
123 |
+#include <sstream> |
|
124 |
+ |
|
125 |
+#ifdef PWIZ_USER_VERSION_INFO_H // in case you need to add any info version of your own |
|
126 |
+#include PWIZ_USER_VERSION_INFO_H // must define PWIZ_USER_VERSION_INFO_H_STR for use below |
|
127 |
+#endif |
|
128 |
+ |
|
129 |
+namespace pwiz { |
|
130 |
+namespace identdata { |
|
131 |
+ |
|
132 |
+using std::string; |
|
133 |
+ |
|
134 |
+int Version::Major() {return 0${PWIZ_MAJOR};} |
|
135 |
+int Version::Minor() {return 0${PWIZ_MINOR};} |
|
136 |
+int Version::Revision() {return 0${revisioninfo[1]};} |
|
137 |
+string Version::LastModified() {return "${revisioninfo[2]}-${revisioninfo[3]}-${revisioninfo[4]}";} |
|
138 |
+string Version::str() |
|
139 |
+{ |
|
140 |
+ std::ostringstream v; |
|
141 |
+ v << Major() << '.' << Minor() << '.' << Revision(); |
|
142 |
+#ifdef PWIZ_USER_VERSION_INFO_H |
|
143 |
+ v << " (" << PWIZ_USER_VERSION_INFO_H_STR << ")"; |
|
144 |
+#endif |
|
145 |
+ return v.str(); |
|
146 |
+} |
|
147 |
+} |
|
148 |
+} |
|
149 |
+EOF |
From: Laurent <lg390@cam.ac.uk>
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@125180 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -12,7 +12,7 @@ cd pwiz |
12 | 12 |
PWIZREPO=http://svn.code.sf.net/p/proteowizard/code/trunk/pwiz/ |
13 | 13 |
svn co --non-recursive $PWIZREPO . |
14 | 14 |
|
15 |
-for DIR in data/msdata data/common utility/chemistry/ utility/misc/ utility/math/ utility/minimxml/ ; do |
|
15 |
+for DIR in data/msdata data/identdata data/proteome data/common utility/chemistry/ utility/misc/ utility/math/ utility/minimxml/ ; do |
|
16 | 16 |
svn co $PWIZREPO/pwiz/$DIR $DIR |
17 | 17 |
done |
18 | 18 |
|
... | ... |
@@ -35,9 +35,9 @@ for DIR in smart_ptr config config mpl detail iostreams exception function_type |
35 | 35 |
ratio chrono atomic move variant archive functional integer locale predef ; do |
36 | 36 |
svn co $BOOSTREPO/$DIR $DIR |
37 | 37 |
done |
38 |
- |
|
38 |
+ |
|
39 | 39 |
BOOSTLIBSREPO=http://svn.boost.org/svn/boost/tags/release/$BOOSTVER/libs |
40 |
-for DIR in iostreams/src thread/src/pthread/ filesystem/src/ regex/src system/src ; do |
|
40 |
+for DIR in chrono/src iostreams/src thread/src/pthread/ filesystem/src/ regex/src system/src ; do |
|
41 | 41 |
svn co $BOOSTLIBSREPO/$DIR $DIR |
42 | 42 |
done |
43 | 43 |
|
From: Laurent <lg390@cam.ac.uk>
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@113918 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@90716 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -9,7 +9,7 @@ rm -rf pwiz |
9 | 9 |
mkdir pwiz |
10 | 10 |
cd pwiz |
11 | 11 |
|
12 |
-PWIZREPO=http://proteowizard.svn.sourceforge.net/svnroot/proteowizard/trunk/pwiz/ |
|
12 |
+PWIZREPO=http://svn.code.sf.net/p/proteowizard/code/trunk/pwiz/ |
|
13 | 13 |
svn co --non-recursive $PWIZREPO . |
14 | 14 |
|
15 | 15 |
for DIR in data/msdata data/common utility/chemistry/ utility/misc/ utility/math/ utility/minimxml/ ; do |
... | ... |
@@ -23,15 +23,16 @@ rm -rf boost |
23 | 23 |
mkdir boost |
24 | 24 |
cd boost |
25 | 25 |
|
26 |
-BOOSTVER=Boost_1_43_0 |
|
26 |
+BOOSTVER=Boost_1_55_0 |
|
27 | 27 |
BOOSTREPO=http://svn.boost.org/svn/boost/tags/release/$BOOSTVER/boost |
28 | 28 |
|
29 | 29 |
svn co --non-recursive $BOOSTREPO . |
30 | 30 |
|
31 | 31 |
for DIR in smart_ptr config config mpl detail iostreams exception function_types \ |
32 |
- io type_traits preprocessor format algorithm logic optional range \ |
|
33 |
- iterator function utility concept bind regex filesystem system thread \ |
|
34 |
- date_time lambda tuple multi_index serialization archive functional integer ; do |
|
32 |
+ io type_traits preprocessor format algorithm logic optional range numeric math\ |
|
33 |
+ iterator function utility concept bind regex filesystem system thread container\ |
|
34 |
+ date_time lambda proto typeof fusion spirit tuple multi_index serialization\ |
|
35 |
+ ratio chrono atomic move variant archive functional integer locale predef ; do |
|
35 | 36 |
svn co $BOOSTREPO/$DIR $DIR |
36 | 37 |
done |
37 | 38 |
|
... | ... |
@@ -48,7 +49,7 @@ rm -rf boost_aux |
48 | 49 |
mkdir boost_aux |
49 | 50 |
cd boost_aux |
50 | 51 |
|
51 |
-PWIZBOOSTREPO=http://proteowizard.svn.sourceforge.net/svnroot/proteowizard/trunk/pwiz/libraries/boost_aux/boost/ |
|
52 |
+PWIZBOOSTREPO=http://svn.code.sf.net/p/proteowizard/code/trunk/pwiz/libraries/boost_aux/boost/ |
|
52 | 53 |
svn co $PWIZBOOSTREPO boost |
53 | 54 |
|
54 | 55 |
cd .. |
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@57456 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,104 @@ |
1 |
+#!/bin/bash |
|
2 |
+#------------------ |
|
3 |
+ |
|
4 |
+# http://proteowizard.svn.sourceforge.net/viewvc/proteowizard/trunk/pwiz/libraries/boost_aux/boost/utility/ |
|
5 |
+ |
|
6 |
+cd src |
|
7 |
+ |
|
8 |
+rm -rf pwiz |
|
9 |
+mkdir pwiz |
|
10 |
+cd pwiz |
|
11 |
+ |
|
12 |
+PWIZREPO=http://proteowizard.svn.sourceforge.net/svnroot/proteowizard/trunk/pwiz/ |
|
13 |
+svn co --non-recursive $PWIZREPO . |
|
14 |
+ |
|
15 |
+for DIR in data/msdata data/common utility/chemistry/ utility/misc/ utility/math/ utility/minimxml/ ; do |
|
16 |
+ svn co $PWIZREPO/pwiz/$DIR $DIR |
|
17 |
+done |
|
18 |
+ |
|
19 |
+#------------------ |
|
20 |
+ |
|
21 |
+cd .. |
|
22 |
+rm -rf boost |
|
23 |
+mkdir boost |
|
24 |
+cd boost |
|
25 |
+ |
|
26 |
+BOOSTVER=Boost_1_43_0 |
|
27 |
+BOOSTREPO=http://svn.boost.org/svn/boost/tags/release/$BOOSTVER/boost |
|
28 |
+ |
|
29 |
+svn co --non-recursive $BOOSTREPO . |
|
30 |
+ |
|
31 |
+for DIR in smart_ptr config config mpl detail iostreams exception function_types \ |
|
32 |
+ io type_traits preprocessor format algorithm logic optional range \ |
|
33 |
+ iterator function utility concept bind regex filesystem system thread \ |
|
34 |
+ date_time lambda tuple multi_index serialization archive functional integer ; do |
|
35 |
+ svn co $BOOSTREPO/$DIR $DIR |
|
36 |
+done |
|
37 |
+ |
|
38 |
+BOOSTLIBSREPO=http://svn.boost.org/svn/boost/tags/release/$BOOSTVER/libs |
|
39 |
+for DIR in iostreams/src thread/src/pthread/ filesystem/src/ regex/src system/src ; do |
|
40 |
+ svn co $BOOSTLIBSREPO/$DIR $DIR |
|
41 |
+done |
|
42 |
+ |
|
43 |
+cd .. |
|
44 |
+ |
|
45 |
+#------------------ |
|
46 |
+ |
|
47 |
+rm -rf boost_aux |
|
48 |
+mkdir boost_aux |
|
49 |
+cd boost_aux |
|
50 |
+ |
|
51 |
+PWIZBOOSTREPO=http://proteowizard.svn.sourceforge.net/svnroot/proteowizard/trunk/pwiz/libraries/boost_aux/boost/ |
|
52 |
+svn co $PWIZBOOSTREPO boost |
|
53 |
+ |
|
54 |
+cd .. |
|
55 |
+ |
|
56 |
+#------------------ |
|
57 |
+ |
|
58 |
+ |
|
59 |
+PWIZ_MAJOR=$(grep "constant PWIZ_MAJOR" pwiz/Jamroot.jam | sed -e 's/constant PWIZ_MAJOR : \([0-9+]\) ;/\1/') |
|
60 |
+PWIZ_MINOR=$(grep "constant PWIZ_MINOR" pwiz/Jamroot.jam | sed -e 's/constant PWIZ_MINOR : \([0-9+]\) ;/\1/') |
|
61 |
+ |
|
62 |
+lastchangedrev=$(svn info pwiz/data/msdata | grep "Last Changed Rev:" | cut -d: -f 2) |
|
63 |
+lastchangeddate=$(svn info pwiz/data/msdata | grep "Last Changed Date:" | cut -d" " -f 4 | tr "-" " ") |
|
64 |
+revisioninfo="($lastchangedrev $lastchangeddate)" |
|
65 |
+ |
|
66 |
+cat >pwiz/data/msdata/Version.cpp <<EOF |
|
67 |
+// This file was generated by the \"svnrev\" utility |
|
68 |
+// You should not modify it manually, as it may be re-generated. |
|
69 |
+// |
|
70 |
+// $Revision: ${revisioninfo[1]} $ |
|
71 |
+// $Date: ${revisioninfo[2]}-${revisioninfo[3]}-${revisioninfo[4]} $ |
|
72 |
+// |
|
73 |
+ |
|
74 |
+#define PWIZ_SOURCE |
|
75 |
+#include "Version.hpp" |
|
76 |
+#include <sstream> |
|
77 |
+ |
|
78 |
+#ifdef PWIZ_USER_VERSION_INFO_H // in case you need to add any info version of your own |
|
79 |
+#include PWIZ_USER_VERSION_INFO_H // must define PWIZ_USER_VERSION_INFO_H_STR for use below |
|
80 |
+#endif |
|
81 |
+ |
|
82 |
+namespace pwiz { |
|
83 |
+namespace msdata { |
|
84 |
+ |
|
85 |
+using std::string; |
|
86 |
+ |
|
87 |
+int Version::Major() {return 0${PWIZ_MAJOR};} |
|
88 |
+int Version::Minor() {return 0${PWIZ_MINOR};} |
|
89 |
+int Version::Revision() {return 0${revisioninfo[1]};} |
|
90 |
+string Version::LastModified() {return "${revisioninfo[2]}-${revisioninfo[3]}-${revisioninfo[4]}";} |
|
91 |
+string Version::str() |
|
92 |
+{ |
|
93 |
+ std::ostringstream v; |
|
94 |
+ v << Major() << '.' << Minor() << '.' << Revision(); |
|
95 |
+#ifdef PWIZ_USER_VERSION_INFO_H |
|
96 |
+ v << " (" << PWIZ_USER_VERSION_INFO_H_STR << ")"; |
|
97 |
+#endif |
|
98 |
+ return v.str(); |
|
99 |
+} |
|
100 |
+} |
|
101 |
+} |
|
102 |
+EOF |
|
103 |
+ |
|
104 |
+#------------------ |