Skip to content

Commit ca28628

Browse files
committedDec 13, 2011
fix
1 parent 3cb9a03 commit ca28628

File tree

2 files changed

+40
-27
lines changed

2 files changed

+40
-27
lines changed
 

‎Task-WebGUI/dist.ini

+11-15
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author = JT Smith <jt@plainblack.com>
33
license = Perl_5
44
copyright_holder = Plain Black Corporation
55
copyright_year = 2011
6-
version = 0.0100
6+
version = 0.0101
77
[@Classic]
88

99
[MetaResources]
@@ -28,7 +28,6 @@ Crypt::DH = 0.06
2828
Math::BigInt::FastCalc = 0.19
2929
YAML = 0.68
3030
Class::Member = 1.6
31-
Linux::Smaps = 0.09
3231
GraphViz = 2.04
3332
IPC::Run = 0.82
3433
Readonly = 1.03
@@ -39,10 +38,7 @@ XML::TreePP = 0.38
3938
XML::FeedPP = 0.40
4039
Net::SSLeay = 1.36
4140
Compress::Raw::Zlib = 2.015
42-
IO::Compress::Base = 2.015
43-
IO::Compress::Zlib = 2.015
4441
Compress::Zlib = 2.015
45-
Proc::ProcessTable = 0.44
4642
BSD::Resource = 1.2902
4743
URI = 1.51
4844
IO::Zlib = 1.09
@@ -66,7 +62,7 @@ Pod::Escapes = 1.04
6662
ExtUtils::CBuilder = 0.24
6763
Pod::Coverage = 0.19
6864
Pod::Simple = 3.10
69-
podlators = 2.2.2
65+
Pod::Text = 2.2.2
7066
DateTime = 0.4501
7167
DateTime::Format::Strptime = 1.0800
7268
HTML::Template = 2.9
@@ -111,17 +107,17 @@ POE::Component::IKC = 0.2002
111107
String::CRC32 = 1.4
112108
ExtUtils::XSBuilder = 0.28
113109
ExtUtils::MakeMaker = 6.48
114-
trace = 0.551
110+
Devel::XRay = 0.95
115111
Clone = 0.31
116112
Test::Pod = 1.26
117113
Data::Structure::Util = 0.15
118114
Parse::RecDescent = 1.96.0
119-
MailTools = 2.04
120-
IO::stringy = 2.110
121-
MIME::tools = 5.427
115+
Mail::Mailer = 2.04
116+
IO::Stringy = 2.110
117+
MIME::Tools = 5.427
122118
HTML::Template::Expr = 0.07
123-
Template::Toolkit = 2.22
124-
Scalar::List::Utils = 1.19
119+
Template = 2.22
120+
List::Util = 1.19
125121
Graphics::ColorNames = 2.11
126122
Module::Load = 0.16
127123
Color::Calc = 1.05
@@ -153,11 +149,10 @@ DateTime::Event::Recurrence = 0.16
153149
DateTime::Event::ICal = 0.09
154150
MIME::Types = 1.27
155151
File::MMagic = 1.27
156-
PathTools = 3.29
152+
File::Spec = 3.29
157153
Module::Find = 0.06
158154
Archive::Any = 0.0932
159155
Image::ExifTool = 8.00
160-
Text::Aspell = 0.09
161156
MySQL::Diff = 0.33
162157
List::MoreUtils = 0.22
163158
Devel::StackTrace = 1.20
@@ -217,5 +212,6 @@ Clipboard = 0.09
217212
Mixin::Linewise = 0.002
218213
Config::INI = 0.014
219214
App::Nopaste = 0.17
220-
Business::PayPal::API::rel = 0.69
215+
Business::PayPal::API = 0.69
221216
Plack = 0.9985
217+

‎build.sh

+29-12
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,17 @@ buildUtils(){
330330
# xpdf
331331
buildProgram "xpdf-3.03" "$CFG_CACHE --without-x"
332332

333+
# aspell
334+
buildProgram "aspell-0.60.6" "" "exec_prefix=$PREFIX"
335+
cd aspell6-en-6.0-0
336+
if [ "$WRE_CLEAN" == 1 ]; then
337+
$WRE_MAKE distclean
338+
$WRE_MAKE clean
339+
fi
340+
./configure --vars ASPELL=$PREFIX/bin/aspell WORD_LIST_COMPRESS=$PREFIX/bin/word-list-compress; checkError $? "aspell-en configure"
341+
$WRE_MAKE; checkError $? "aspell-en make"
342+
$WRE_MAKE install ; checkError $? "aspell-en make install"
343+
333344
cd $WRE_BUILDDIR
334345
}
335346

@@ -446,21 +457,27 @@ installPerlModule() {
446457
cd ..
447458
}
448459

449-
# some other perl modules are installed the same way
450-
# param1: module directory
451-
# param2: parameters to pass to Makefile.PL
452-
buildPerlModule() {
453-
cd $1
454-
printHeader "PM $1"
455-
if [ "$WRE_CLEAN" == 1 ]; then
456-
perl Build clean
460+
installPerlModules () {
461+
printHeader "Perl Modules"
462+
cd source/perlmodules
463+
export PERL_MM_USE_DEFAULT=1 # makes it so perl modules don't ask questions
464+
cpan App::cpanminus
465+
cpanm Task::WebGUI
466+
if [ "$WRE_OSTYPE" != "Leopard" ] && [ "$WRE_OSTYPE" != "Snow Leopard" ]; then
467+
cpanm Proc::ProcessTable
457468
fi
458-
perl Build.PL $2; checkError $? "$1 Build.PL"
459-
perl Build; checkError $? "$1 Build"
460-
perl Build install; checkError $? "$1 Build install"
461-
cd ..
469+
installPerlModule "Text-Aspell-0.09" "LIBS='-laspell'"
470+
# detecting shared memory properly on 2.6 kernels
471+
if [ "$WRE_OSNAME" == "Linux" ]; then
472+
cpanm Linux::Smaps
473+
fi
474+
475+
cd $WRE_BUILDDIR
462476
}
463477

478+
479+
480+
464481
#awstats
465482
installAwStats(){
466483
printHeader "AWStats"

0 commit comments

Comments
 (0)
Please sign in to comment.