Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Haskell platform 2010.2.0.0

  • Loading branch information...
commit 15051ced2d01fa5345fabe825f4ac6b0254ef7cd 1 parent 7aedf42
@gregorycollins authored
Showing with 115 additions and 52 deletions.
  1. +28 −31 haskell-platform.cabal
  2. +19 −11 img/background.svg
  3. +29 −10 post.sh
  4. +39 −0 pre.sh
View
59 haskell-platform.cabal
@@ -1,5 +1,5 @@
name: haskell-platform
-version: 2010.1.0.0
+version: 2010.2.0.0
homepage: http://haskell.org/platform
license: BSD3
license-file: LICENSE
@@ -23,41 +23,38 @@ description:
cabal-version: >= 1.6
build-type: Custom
-tested-with: GHC ==6.12.1
+tested-with: GHC ==6.12.3
library
build-depends:
- -- ghc 6.12.1
+ -- ghc 6.12.3
-- Core libraries: provided by every ghc installation
-- We don't include "non-API" packages here.
- -- array ==0.3.0.0
- -- base ==4.2.0.0 and ==3.0.3.2
- -- bytestring ==0.9.1.5
- -- Cabal ==1.8.0.2
+ -- array ==0.3.0.1
+ -- base ==4.2.0.2 and ==3.0.3.2
+ -- bytestring ==0.9.1.7
+ -- Cabal ==1.8.0.6
-- containers ==0.3.0.0
- -- directory ==1.0.1.0
- -- filepath ==1.1.0.3
+ -- directory ==1.0.1.1
+ -- extensible-exceptions ==0.1.1.1
+ -- filepath ==1.1.0.4
-- ghc-prim-0.2.0.0
-- haskell98 ==1.0.1.1
- -- hpc ==0.5.0.4
+ -- hpc ==0.5.0.5
-- old-locale ==1.0.0.2
- -- old-time ==1.0.0.3
+ -- old-time ==1.0.0.5
-- pretty ==1.0.1.1
- -- process ==1.0.1.2
+ -- process ==1.0.1.3
-- random ==1.0.0.2
-- syb ==0.1.0.2
- -- template-haskell ==2.4.0.0
- -- time ==1.1.4 -- NOTE
- -- unix ==2.4.0.0
- -- Win32 ==2.2.0.1
-
- -- Obsoleted, and no longer provided by GHC:
- -- integer ==0.1.0.1
- -- packedstring ==0.1.0.1
+ -- template-haskell ==2.4.0.1
+ -- time ==1.1.4
+ -- unix ==2.4.0.2
+ -- Win32 ==2.2.0.1 -- removed??
-- Libraries in addition to what GHC provides:
- cgi ==3001.1.7.2,
- fgl ==5.4.2.2,
+ cgi ==3001.1.7.3,
+ fgl ==5.4.2.3,
GLUT ==2.1.2.1,
-- NOTE
haskell-src ==1.0.1.3,
@@ -70,11 +67,11 @@ library
parallel ==2.2.0.1,
parsec ==2.1.0.1,
-- NOTE, not using parsec 3
- QuickCheck ==2.1.0.3,
- regex-base ==0.93.1,
- regex-compat ==0.92,
- regex-posix ==0.94.1,
- stm ==2.1.1.2,
+ QuickCheck ==2.1.1.1,
+ regex-base ==0.93.2,
+ regex-compat ==0.93.1,
+ regex-posix ==0.94.2,
+ stm ==2.1.2.1,
xhtml ==3000.2.0.1,
zlib ==0.5.2.0,
HTTP ==4000.0.9,
@@ -83,8 +80,8 @@ library
-- Depending on programs does not work, they are not registered
-- We list them to help distro packaging.
build-tools:
- cabal-install ==0.8.0,
- alex ==2.3.2,
- happy ==1.18.4
--- haddock ==2.7.2
+ cabal-install ==0.8.2,
+ alex ==2.3.3,
+ happy ==1.18.5
+ -- haddock ==2.7.2 -- valid, but needs ghc-paths
View
30 img/background.svg
@@ -58,7 +58,7 @@
inkscape:window-height="796"
inkscape:window-x="0"
inkscape:window-y="0"
- inkscape:window-maximized="1" />
+ inkscape:window-maximized="0" />
<metadata
id="metadata2894">
<rdf:RDF>
@@ -82,10 +82,16 @@
width="506.84235"
height="501.03577"
x="82.237122"
- y="5.9395294" />
+ y="5.9395294"
+ inkscape:export-filename="/Users/greg/background.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
<g
id="surface0"
- transform="matrix(0.29589488,0,0,0.29589488,104.61138,22.271681)">
+ transform="matrix(0.29589488,0,0,0.29589488,104.61138,22.271681)"
+ inkscape:export-filename="/Users/greg/background.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
<g
id="g2973"
clip-rule="nonzero"
@@ -112,7 +118,10 @@
xml:space="preserve"
id="flowRoot2998"
style="font-size:38px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#666666;fill-opacity:1;stroke:none;font-family:Gill Sans Std;-inkscape-font-specification:Gill Sans Std Bold"
- transform="matrix(0.76983397,0,0,0.76983397,75.444202,15.032591)"><flowRegion
+ transform="matrix(0.76983397,0,0,0.76983397,75.444202,15.032591)"
+ inkscape:export-filename="/Users/greg/background.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90"><flowRegion
id="flowRegion3000"><rect
id="rect3002"
width="487.75201"
@@ -156,16 +165,15 @@
id="flowSpan2968">1</flowSpan><flowSpan
style="letter-spacing:-0.82251602"
id="flowSpan2978">.</flowSpan><flowSpan
- style="letter-spacing:-2.46754789"
- id="flowSpan2980"><flowSpan
- style="letter-spacing:-1.64503205"
- id="flowSpan3000">0</flowSpan><flowSpan
- style="letter-spacing:-1.64503205"
- id="flowSpan3002">.</flowSpan></flowSpan>0</flowPara></flowRoot> <flowRoot
+ style="letter-spacing:-1.64503205"
+ id="flowSpan2980">0.1</flowSpan></flowPara></flowRoot> <flowRoot
xml:space="preserve"
id="flowRoot3006"
style="font-size:36px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#999999;fill-opacity:1;stroke:none;font-family:Helvetica Neue LT Std;-inkscape-font-specification:Helvetica Neue LT Std"
- transform="matrix(0.76983397,0,0,0.76983397,74.177801,-11.703774)"><flowRegion
+ transform="matrix(0.76983397,0,0,0.76983397,74.177801,-11.703774)"
+ inkscape:export-filename="/Users/greg/background.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90"><flowRegion
id="flowRegion3008"><rect
id="rect3010"
width="675.28571"
View
39 post.sh
@@ -4,17 +4,36 @@ NM=postflight
ORD=999
PKG=build/$ORD-$NM.pkg
-mkdir -p tmp/$NM/payload
-mkdir -p tmp/$NM/scripts
-mkdir -p build
+TMPDIR="tmp/$NM"
+
+STAGINGDIR="$TMPDIR/stage"
+SCRIPTSDIR="$TMPDIR/Scripts"
+CONTENTSDIR="$STAGINGDIR/Contents"
+PACKAGEINFO="$TMPDIR/PackageInfo"
+
+mkdir -p $CONTENTSDIR
+mkdir -p $SCRIPTSDIR
+
+cat > $PACKAGEINFO <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<pkg-info format-version="2" identifier="haskell-platform.postflight" version="1" install-location="/" auth="root">
+ <payload installKBytes="0" numberOfFiles="0"/>
+ <scripts>
+ <postinstall file="./postflight"/>
+ </scripts>
+</pkg-info>
+EOF
rm -f $PKG
-cp $NM tmp/$NM/scripts
-$PM --root tmp/$NM/payload \
- --scripts tmp/$NM/scripts \
- -i org.haskell.haskell-platform.$NM \
- -o $PKG \
- --target 10.5 --root-volume-only
+cp $NM $SCRIPTSDIR/postflight
+
+$PM -o $PKG \
+ --root $CONTENTSDIR \
+ --id haskell-platform.postflight \
+ --scripts $SCRIPTSDIR \
+ --target 10.5 \
+ --root-volume-only \
+ --info $PACKAGEINFO
-rm -Rf tmp/$NM
+rm -Rf $TMPDIR
View
39 pre.sh
@@ -0,0 +1,39 @@
+PM=/Developer/usr/bin/packagemaker
+
+NM=preflight
+ORD=000
+PKG=build/$ORD-$NM.pkg
+
+TMPDIR="tmp/$NM"
+
+STAGINGDIR="$TMPDIR/stage"
+SCRIPTSDIR="$TMPDIR/Scripts"
+CONTENTSDIR="$STAGINGDIR/Contents"
+PACKAGEINFO="$TMPDIR/PackageInfo"
+
+mkdir -p $CONTENTSDIR
+mkdir -p $SCRIPTSDIR
+
+cat > $PACKAGEINFO <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<pkg-info format-version="2" identifier="haskell-platform.preflight" version="1" install-location="/" auth="root">
+ <payload installKBytes="0" numberOfFiles="0"/>
+ <scripts>
+ <postinstall file="./postflight"/>
+ </scripts>
+</pkg-info>
+EOF
+
+rm -f $PKG
+
+cp $NM $SCRIPTSDIR/postflight
+
+$PM -o $PKG \
+ --root $CONTENTSDIR \
+ --id haskell-platform.preflight \
+ --scripts $SCRIPTSDIR \
+ --target 10.5 \
+ --root-volume-only \
+ --info $PACKAGEINFO
+
+rm -Rf $TMPDIR
Please sign in to comment.
Something went wrong with that request. Please try again.