[arch-commits] Commit in ghc/trunk (PKGBUILD)

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 20:49:14
  Author: felixonmars
Revision: 785190

upgpkg: ghc 8.10.3-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-23 20:48:08 UTC (rev 785189)
+++ PKGBUILD2020-12-23 20:49:14 UTC (rev 785190)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.10.2
+pkgver=8.10.3
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('6c3f1311feab3665419a301b17fcb09d303ec822f8eb8c4021edfacff00d9b52e71895bed0e58f11d8f7970415bd8c6f95ffde1294afe795e15607199b20cefc'
+sha512sums=('6f3248e728d3677dfddf2f02609167c67a194750418f2a5e34ed68f1135960761c5a5768255bfc8b2ef5640395609424878375184d2dde8e2d69021a3baf9ec8'
 
'd69e5222d1169c4224a2b69a13e57fdd574cb1b5932b15f4bc6c7d269a9658dd87acb1be81f52fbcf3cb64f96978b9943d10cee2c21bff0565aaa93a5d35fcae'
 
'5f659651d8e562a4dcaae0f821d272d6e9c648b645b1d6ab1af61e4dd690dc5a4b9c6846753b7f935963f001bb1ae1f40cd77731b71ef5a8dbc079a360aa3f8f'
 
'3bdbd05c4a2c4fce4adf6802ff99b1088bdfad63da9ebfc470af9e271c3dd796f86fba1cf319d8f4078054d85c6d9e6a01f79994559f24cc77ee1a25724af2e6')
@@ -107,22 +107,22 @@
   provides=('haskell-array=0.5.4.0'
 'haskell-base=4.14.1.0'
 'haskell-binary=0.8.8.0'
-'haskell-bytestring=0.10.10.0'
-'haskell-cabal=3.2.0.0'
+'haskell-bytestring=0.10.12.0'
+'haskell-cabal=3.2.1.0'
 'haskell-containers=0.6.2.1'
 'haskell-deepseq=1.4.4.0'
 'haskell-directory=1.3.6.0'
 'haskell-exceptions=0.10.4'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.10.2'
-'haskell-ghc-boot-th=8.10.2'
+'haskell-ghc-boot=8.10.3'
+'haskell-ghc-boot-th=8.10.3'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.10.2'
+'haskell-ghc-heap=8.10.3'
 'haskell-ghc-prim=0.6.1'
 'haskell-haskeline=0.8.0.1'
 'haskell-hpc=0.6.1.0'
 'haskell-integer-gmp=1.0.3.0'
-'haskell-libiserv=8.10.2'
+'haskell-libiserv=8.10.3'
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.14.0'
 'haskell-pretty=1.1.3.6'
@@ -130,7 +130,7 @@
 'haskell-stm=2.5.0.0'
 'haskell-template-haskell=2.16.0.0'
 'haskell-terminfo=0.4.1.4'
-'haskell-text=1.2.3.2'
+'haskell-text=1.2.4.1'
 'haskell-time=1.9.3'
 'haskell-transformers=0.5.6.2'
 'haskell-unix=2.7.2.2'


[arch-commits] Commit in ghc/trunk (PKGBUILD print-provides-replaces.sh)

2020-09-28 Thread Felix Yan via arch-commits
Date: Monday, September 28, 2020 @ 10:20:09
  Author: felixonmars
Revision: 712800

fix provides/replaces for some utils

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |   19 +++
 print-provides-replaces.sh |   33 +
 2 files changed, 36 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-28 09:45:50 UTC (rev 712799)
+++ PKGBUILD2020-09-28 10:20:09 UTC (rev 712800)
@@ -69,10 +69,19 @@
 
 package_ghc() {
   pkgdesc='The Glasgow Haskell Compiler'
-  provides=("haskell-ghc=$pkgver")
-  replaces=("haskell-ghc")
   depends=('gcc' 'ghc-libs')
+  provides=('haskell-haddock=2.24.0'
+'haskell-hp2ps=0.1'
+'haskell-hpc-bin=0.68'
+'haskell-hsc2hs=0.68.7')
+  replaces=('haskell-haddock'
+'haskell-hp2ps'
+'haskell-hpc-bin'
+'haskell-hsc2hs')
 
+  provides+=("haskell-ghc=$pkgver")
+  replaces+=("haskell-ghc")
+
   cd ghc-$pkgver
   make DESTDIR="$pkgdir" -j1 install
 
@@ -99,6 +108,7 @@
 'haskell-base=4.14.1.0'
 'haskell-binary=0.8.8.0'
 'haskell-bytestring=0.10.10.0'
+'haskell-cabal=3.2.0.0'
 'haskell-containers=0.6.2.1'
 'haskell-deepseq=1.4.4.0'
 'haskell-directory=1.3.6.0'
@@ -125,11 +135,12 @@
 'haskell-transformers=0.5.6.2'
 'haskell-unix=2.7.2.2'
 'haskell-xhtml=3000.2.2.1'
-'haskell-cabal=3.2.0.0')
+'haskell-ghc-pkg=6.9')
   replaces=('haskell-array'
 'haskell-base'
 'haskell-binary'
 'haskell-bytestring'
+'haskell-cabal'
 'haskell-containers'
 'haskell-deepseq'
 'haskell-directory'
@@ -156,7 +167,7 @@
 'haskell-transformers'
 'haskell-unix'
 'haskell-xhtml'
-'haskell-cabal')
+'haskell-ghc-pkg')
 
   provides+=("haskell-ghci=$pkgver")
   conflicts+=('haskell-ghci')

Modified: print-provides-replaces.sh
===
--- print-provides-replaces.sh  2020-09-28 09:45:50 UTC (rev 712799)
+++ print-provides-replaces.sh  2020-09-28 10:20:09 UTC (rev 712800)
@@ -17,28 +17,37 @@
   exclude[${exclude_pkg}]=1
 done
 
-cd src/ghc-${pkgver}/libraries
+cd src/ghc-${pkgver}
 
-# $1 is the name of the variable
+# $1 is the name of the field
 # $2 is the string for the test, either '=' or '<'
+# ..$@ are the files to search
 print_var() {
-  printf "  $1=("
-  for path in $(ls ./*/*.cabal ./containers/containers/*.cabal); do
+  field=$1
+  output_version=$2
+  shift
+  shift
+
+  printf "  $field=("
+  for path in $(ls $@); do
 dirname=$(echo $path | awk -F '/' '{ print $2 }')
 cabalfile=$(echo $path | awk -F '/' '{ print $3 }')
 cabalname=$(basename $cabalfile .cabal)
 [[ ${exclude[${dirname}]} ]] && continue
 version=$(awk 'tolower($0) ~ /^version:/ {print $2 }' $path)
-printf "'haskell-$cabalname"
-[[ -n "$2" ]] && printf "$2$version"
+printf "'haskell-${cabalname,,}"
+[[ -n "$output_version" ]] && printf "$output_version$version"
 printf "'\n"
   done
-  # also add cabal
-  version=$(awk 'tolower($0) ~ /^version:/ { print $2 }' 
Cabal/Cabal/Cabal.cabal)
-  printf "'haskell-cabal"
-  [[ -n "$2" ]] && printf "$2$version"
+  printf "\033[1A'haskell-${cabalname,,}"
+  [[ -n "$output_version" ]] && printf "$output_version$version"
   printf "')\n"
 }
 
-print_var 'provides' '='
-print_var 'replaces'
+# For ghc-libs
+print_var 'provides' '=' libraries/*/*.cabal 
libraries/{containers/containers,Cabal/Cabal}/*.cabal utils/ghc-pkg/*.cabal
+print_var 'replaces' '' libraries/*/*.cabal 
libraries/{containers/containers,Cabal/Cabal}/*.cabal utils/ghc-pkg/*.cabal
+
+# For ghc
+print_var 'provides' '=' utils/{hpc,hsc2hs,haddock*,hp2ps}/*.cabal
+print_var 'replaces' '' utils/{hpc,hsc2hs,haddock*,hp2ps}/*.cabal


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2020-08-16 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 04:56:43
  Author: felixonmars
Revision: 682113

upgpkg: ghc 8.10.2-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-17 04:55:51 UTC (rev 682112)
+++ PKGBUILD2020-08-17 04:56:43 UTC (rev 682113)
@@ -11,8 +11,8 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.10.1
-pkgrel=2
+pkgver=8.10.2
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('e6bb5c326f8354f0892324586c164c6e04168215d8bfeccb594173a838a535e37bac38db6fbdb01fb37150099c12842c53be5e912dfb6a6feeae3c75d4ae24d0'
+sha512sums=('6c3f1311feab3665419a301b17fcb09d303ec822f8eb8c4021edfacff00d9b52e71895bed0e58f11d8f7970415bd8c6f95ffde1294afe795e15607199b20cefc'
 
'd69e5222d1169c4224a2b69a13e57fdd574cb1b5932b15f4bc6c7d269a9658dd87acb1be81f52fbcf3cb64f96978b9943d10cee2c21bff0565aaa93a5d35fcae'
 
'5f659651d8e562a4dcaae0f821d272d6e9c648b645b1d6ab1af61e4dd690dc5a4b9c6846753b7f935963f001bb1ae1f40cd77731b71ef5a8dbc079a360aa3f8f'
 
'3bdbd05c4a2c4fce4adf6802ff99b1088bdfad63da9ebfc470af9e271c3dd796f86fba1cf319d8f4078054d85c6d9e6a01f79994559f24cc77ee1a25724af2e6')
@@ -96,7 +96,7 @@
   install='ghc.install'
   depends=('gmp' 'libffi' 'perl')
   provides=('haskell-array=0.5.4.0'
-'haskell-base=4.14.0.0'
+'haskell-base=4.14.1.0'
 'haskell-binary=0.8.8.0'
 'haskell-bytestring=0.10.10.0'
 'haskell-containers=0.6.2.1'
@@ -104,19 +104,19 @@
 'haskell-directory=1.3.6.0'
 'haskell-exceptions=0.10.4'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.10.1'
-'haskell-ghc-boot-th=8.10.1'
+'haskell-ghc-boot=8.10.2'
+'haskell-ghc-boot-th=8.10.2'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.10.1'
+'haskell-ghc-heap=8.10.2'
 'haskell-ghc-prim=0.6.1'
-'haskell-haskeline=0.8.0.0'
+'haskell-haskeline=0.8.0.1'
 'haskell-hpc=0.6.1.0'
 'haskell-integer-gmp=1.0.3.0'
-'haskell-libiserv=8.10.1'
+'haskell-libiserv=8.10.2'
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.14.0'
 'haskell-pretty=1.1.3.6'
-'haskell-process=1.6.8.2'
+'haskell-process=1.6.9.0'
 'haskell-stm=2.5.0.0'
 'haskell-template-haskell=2.16.0.0'
 'haskell-terminfo=0.4.1.4'


[arch-commits] Commit in ghc/trunk (PKGBUILD ghc-register.hook ghc-unregister.hook)

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 10:16:20
  Author: felixonmars
Revision: 617884

upgpkg: ghc 8.10.1-2

revert systemd-cat change: doesn't work in devtools

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/ghc-register.hook
  ghc/trunk/ghc-unregister.hook

-+
 PKGBUILD|6 +++---
 ghc-register.hook   |2 +-
 ghc-unregister.hook |2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 10:03:40 UTC (rev 617883)
+++ PKGBUILD2020-04-23 10:16:20 UTC (rev 617884)
@@ -12,7 +12,7 @@
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
 pkgver=8.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'
@@ -24,8 +24,8 @@
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
 
sha512sums=('e6bb5c326f8354f0892324586c164c6e04168215d8bfeccb594173a838a535e37bac38db6fbdb01fb37150099c12842c53be5e912dfb6a6feeae3c75d4ae24d0'
 
'd69e5222d1169c4224a2b69a13e57fdd574cb1b5932b15f4bc6c7d269a9658dd87acb1be81f52fbcf3cb64f96978b9943d10cee2c21bff0565aaa93a5d35fcae'
-
'f5e03176a9c210198ef1e681cb38bcf660412f0f8fbf4f30519c7f8193b40a1659f3fe9cd324bb57473219f7c3568e66a2be8d0146099b19bfad2c2b9dc5'
-
'cd00ea8dcd4b9e28e5368700101d81322458b6155078a5c01c619c802c9c915b9c07a110e2c2e8091a372ae13bccaa33760a721a8d48681b9d1c034dac7acb19')
+
'5f659651d8e562a4dcaae0f821d272d6e9c648b645b1d6ab1af61e4dd690dc5a4b9c6846753b7f935963f001bb1ae1f40cd77731b71ef5a8dbc079a360aa3f8f'
+
'3bdbd05c4a2c4fce4adf6802ff99b1088bdfad63da9ebfc470af9e271c3dd796f86fba1cf319d8f4078054d85c6d9e6a01f79994559f24cc77ee1a25724af2e6')
 
 prepare() {
   # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"

Modified: ghc-register.hook
===
--- ghc-register.hook   2020-04-23 10:03:40 UTC (rev 617883)
+++ ghc-register.hook   2020-04-23 10:16:20 UTC (rev 617884)
@@ -7,6 +7,6 @@
 [Action]
 Description = Registering Haskell modules...
 When = PostTransaction
-Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-cat -t 
haskell-register -p debug /$f ; done'
+Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 
>>/var/log/haskell-register.log 2>&1 ; done'
 Depends = ghc-libs
 NeedsTargets

Modified: ghc-unregister.hook
===
--- ghc-unregister.hook 2020-04-23 10:03:40 UTC (rev 617883)
+++ ghc-unregister.hook 2020-04-23 10:16:20 UTC (rev 617884)
@@ -7,6 +7,6 @@
 [Action]
 Description = Unregistering Haskell modules...
 When = PreTransaction
-Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-cat -t 
haskell-unregister -p debug /$f ; done'
+Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 
>>/var/log/haskell-register.log 2>&1 ; done'
 Depends = ghc-libs
 NeedsTargets


[arch-commits] Commit in ghc/trunk (PKGBUILD ghc-register.hook ghc-unregister.hook)

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 08:55:28
  Author: felixonmars
Revision: 617812

upgpkg: ghc 8.10.1-1

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/ghc-register.hook
  ghc/trunk/ghc-unregister.hook

-+
 PKGBUILD|   40 +---
 ghc-register.hook   |2 +-
 ghc-unregister.hook |2 +-
 3 files changed, 23 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 08:55:17 UTC (rev 617811)
+++ PKGBUILD2020-04-23 08:55:28 UTC (rev 617812)
@@ -11,8 +11,8 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.8.3
-pkgrel=2
+pkgver=8.10.1
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'
@@ -22,10 +22,10 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('7db0d820a288e56bd32935cc03584295900605f6e7cac6fe6adcb3ec6c24d8d2cebf7a8efa421f2d2fa192602d7f24dfad1ddeeba252455e4cb8baa9889dcaa9'
+sha512sums=('e6bb5c326f8354f0892324586c164c6e04168215d8bfeccb594173a838a535e37bac38db6fbdb01fb37150099c12842c53be5e912dfb6a6feeae3c75d4ae24d0'
 
'd69e5222d1169c4224a2b69a13e57fdd574cb1b5932b15f4bc6c7d269a9658dd87acb1be81f52fbcf3cb64f96978b9943d10cee2c21bff0565aaa93a5d35fcae'
-
'3dd22d48827a64c7b92418bb590d533e3e39ebd325a6a829f4573093476176c2107ae810108ec48973c253a643e3371483b1ae6bbb49d88fe12d3510876b009e'
-
'6141310437a96e2ec485153eff3442d2d8ef9c128812fb27c592d183f8f909e6c47118c9284a080d2b683e0d9c4185909559ccc398753bd1534610c0fcd60c54')
+
'f5e03176a9c210198ef1e681cb38bcf660412f0f8fbf4f30519c7f8193b40a1659f3fe9cd324bb57473219f7c3568e66a2be8d0146099b19bfad2c2b9dc5'
+
'cd00ea8dcd4b9e28e5368700101d81322458b6155078a5c01c619c802c9c915b9c07a110e2c2e8091a372ae13bccaa33760a721a8d48681b9d1c034dac7acb19')
 
 prepare() {
   # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"
@@ -96,35 +96,36 @@
   install='ghc.install'
   depends=('gmp' 'libffi' 'perl')
   provides=('haskell-array=0.5.4.0'
-'haskell-base=4.13.0.0'
-'haskell-binary=0.8.7.0'
+'haskell-base=4.14.0.0'
+'haskell-binary=0.8.8.0'
 'haskell-bytestring=0.10.10.0'
 'haskell-containers=0.6.2.1'
 'haskell-deepseq=1.4.4.0'
 'haskell-directory=1.3.6.0'
+'haskell-exceptions=0.10.4'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.8.3'
-'haskell-ghc-boot-th=8.8.3'
+'haskell-ghc-boot=8.10.1'
+'haskell-ghc-boot-th=8.10.1'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.8.3'
-'haskell-ghc-prim=0.5.3'
-'haskell-haskeline=0.7.5.0'
-'haskell-hpc=0.6.0.3'
-'haskell-integer-gmp=1.0.2.0'
-'haskell-libiserv=8.8.3'
+'haskell-ghc-heap=8.10.1'
+'haskell-ghc-prim=0.6.1'
+'haskell-haskeline=0.8.0.0'
+'haskell-hpc=0.6.1.0'
+'haskell-integer-gmp=1.0.3.0'
+'haskell-libiserv=8.10.1'
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.14.0'
 'haskell-pretty=1.1.3.6'
-'haskell-process=1.6.8.0'
+'haskell-process=1.6.8.2'
 'haskell-stm=2.5.0.0'
-'haskell-template-haskell=2.15.0.0'
+'haskell-template-haskell=2.16.0.0'
 'haskell-terminfo=0.4.1.4'
-'haskell-text=1.2.4.0'
+'haskell-text=1.2.3.2'
 'haskell-time=1.9.3'
 'haskell-transformers=0.5.6.2'
 'haskell-unix=2.7.2.2'
 'haskell-xhtml=3000.2.2.1'
-'haskell-cabal=3.0.1.0')
+'haskell-cabal=3.2.0.0')
   replaces=('haskell-array'
 'haskell-base'
 'haskell-binary'
@@ -132,6 +133,7 @@
 'haskell-containers'
 'haskell-deepseq'
 'haskell-directory'
+'haskell-exceptions'
 'haskell-filepath'
 'haskell-ghc-boot'
 'haskell-ghc-boot-th'

Modified: ghc-register.hook
===
--- ghc-register.hook   2020-04-23 08:55:17 UTC (rev 617811)
+++ ghc-register.hook   2020-04-23 08:55:28 UTC (rev 617812)
@@ -7,6 +7,6 @@
 [Action]
 Description = Registering Haskell modules...
 When = PostTransaction
-Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 
>>/tmp/haskell-register.log 2>&1 ; done'
+Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-cat -t 
haskell-register -p debug /$f ; done'
 Depends = ghc-libs
 NeedsTargets

Modified: ghc-unregister.hook
===
--- 

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2020-04-08 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 8, 2020 @ 16:02:23
  Author: foutrelis
Revision: 612627

libffi 3.3 rebuild

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-08 15:56:56 UTC (rev 612626)
+++ PKGBUILD2020-04-08 16:02:23 UTC (rev 612627)
@@ -12,7 +12,7 @@
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
 pkgver=8.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 20:30:03
  Author: felixonmars
Revision: 583152

upgpkg: ghc 8.8.3-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   24 +++-
 1 file changed, 11 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-26 20:27:06 UTC (rev 583151)
+++ PKGBUILD2020-02-26 20:30:03 UTC (rev 583152)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.8.2
+pkgver=8.8.3
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -22,10 +22,10 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('11eec0bc03254ea848a5c86bc3e2da317801a1227dd91406a157e11cb675891d77d61177b740b6df88bd823063f6cb2af5a928a7540e25392d9d0769ea121069'
-
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
-
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
-
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
+sha512sums=('7db0d820a288e56bd32935cc03584295900605f6e7cac6fe6adcb3ec6c24d8d2cebf7a8efa421f2d2fa192602d7f24dfad1ddeeba252455e4cb8baa9889dcaa9'
+
'd69e5222d1169c4224a2b69a13e57fdd574cb1b5932b15f4bc6c7d269a9658dd87acb1be81f52fbcf3cb64f96978b9943d10cee2c21bff0565aaa93a5d35fcae'
+
'3dd22d48827a64c7b92418bb590d533e3e39ebd325a6a829f4573093476176c2107ae810108ec48973c253a643e3371483b1ae6bbb49d88fe12d3510876b009e'
+
'6141310437a96e2ec485153eff3442d2d8ef9c128812fb27c592d183f8f909e6c47118c9284a080d2b683e0d9c4185909559ccc398753bd1534610c0fcd60c54')
 
 prepare() {
   # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"
@@ -37,8 +37,6 @@
 
   cp mk/build.mk{.sample,}
   sed -i '1iBuildFlavour = perf' mk/build.mk
-
-  sed -i '/defined(STAGE)/d' includes/MachDeps.h
 }
 
 build() {
@@ -103,21 +101,21 @@
 'haskell-bytestring=0.10.10.0'
 'haskell-containers=0.6.2.1'
 'haskell-deepseq=1.4.4.0'
-'haskell-directory=1.3.4.0'
+'haskell-directory=1.3.6.0'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.8.2'
-'haskell-ghc-boot-th=8.8.2'
+'haskell-ghc-boot=8.8.3'
+'haskell-ghc-boot-th=8.8.3'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.8.2'
+'haskell-ghc-heap=8.8.3'
 'haskell-ghc-prim=0.5.3'
 'haskell-haskeline=0.7.5.0'
 'haskell-hpc=0.6.0.3'
 'haskell-integer-gmp=1.0.2.0'
-'haskell-libiserv=8.8.2'
+'haskell-libiserv=8.8.3'
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.14.0'
 'haskell-pretty=1.1.3.6'
-'haskell-process=1.6.7.0'
+'haskell-process=1.6.8.0'
 'haskell-stm=2.5.0.0'
 'haskell-template-haskell=2.15.0.0'
 'haskell-terminfo=0.4.1.4'


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2020-02-14 Thread Felix Yan via arch-commits
Date: Friday, February 14, 2020 @ 20:52:07
  Author: felixonmars
Revision: 571201

upgpkg: ghc 8.8.2-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   24 +---
 1 file changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-14 20:48:52 UTC (rev 571200)
+++ PKGBUILD2020-02-14 20:52:07 UTC (rev 571201)
@@ -11,8 +11,8 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.8.1
-pkgrel=2
+pkgver=8.8.2
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('7268b012c3a6c34e7eac05c7d6959de6005651d33e870860bbfe589295502e8794a76580130b8f4da2f88032b68116dbbdbc4c1e900e0c862aaa9891fa788bef'
+sha512sums=('11eec0bc03254ea848a5c86bc3e2da317801a1227dd91406a157e11cb675891d77d61177b740b6df88bd823063f6cb2af5a928a7540e25392d9d0769ea121069'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -37,6 +37,8 @@
 
   cp mk/build.mk{.sample,}
   sed -i '1iBuildFlavour = perf' mk/build.mk
+
+  sed -i '/defined(STAGE)/d' includes/MachDeps.h
 }
 
 build() {
@@ -98,24 +100,24 @@
   provides=('haskell-array=0.5.4.0'
 'haskell-base=4.13.0.0'
 'haskell-binary=0.8.7.0'
-'haskell-bytestring=0.10.9.0'
+'haskell-bytestring=0.10.10.0'
 'haskell-containers=0.6.2.1'
 'haskell-deepseq=1.4.4.0'
-'haskell-directory=1.3.3.2'
+'haskell-directory=1.3.4.0'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.8.1'
-'haskell-ghc-boot-th=8.8.1'
+'haskell-ghc-boot=8.8.2'
+'haskell-ghc-boot-th=8.8.2'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.8.1'
+'haskell-ghc-heap=8.8.2'
 'haskell-ghc-prim=0.5.3'
 'haskell-haskeline=0.7.5.0'
 'haskell-hpc=0.6.0.3'
 'haskell-integer-gmp=1.0.2.0'
-'haskell-libiserv=8.8.1'
+'haskell-libiserv=8.8.2'
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.14.0'
 'haskell-pretty=1.1.3.6'
-'haskell-process=1.6.5.1'
+'haskell-process=1.6.7.0'
 'haskell-stm=2.5.0.0'
 'haskell-template-haskell=2.15.0.0'
 'haskell-terminfo=0.4.1.4'
@@ -124,7 +126,7 @@
 'haskell-transformers=0.5.6.2'
 'haskell-unix=2.7.2.2'
 'haskell-xhtml=3000.2.2.1'
-'haskell-cabal=3.0.0.0')
+'haskell-cabal=3.0.1.0')
   replaces=('haskell-array'
 'haskell-base'
 'haskell-binary'


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 21:23:09
  Author: felixonmars
Revision: 550661

upgpkg: ghc 8.8.1-2

move static .o/.p_o files into ghc-static

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 21:22:45 UTC (rev 550660)
+++ PKGBUILD2020-01-08 21:23:09 UTC (rev 550661)
@@ -12,7 +12,7 @@
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
 pkgver=8.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'
@@ -59,7 +59,7 @@
   make DESTDIR="$pkgdir" -j1 install
 
   mv "$pkgdir"/usr/lib/ghc-$pkgver/package.conf.d 
"$srcdir"/static-package.conf.d
-  find "$pkgdir"/usr/lib ! \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-type f -delete
+  find "$pkgdir"/usr/lib ! \( -name "*.a" -o -name "*.o" -o -name "*.p_o" -o 
-name "*.p_hi" -o -name "*.hi" \) -type f -delete
   find "$pkgdir"/usr/lib -type d -empty -delete
   mv "$srcdir"/static-package.conf.d "$pkgdir"/usr/lib/ghc-$pkgver/
   rm -r "$pkgdir"/usr/bin "$pkgdir"/usr/share/man
@@ -77,7 +77,7 @@
   make DESTDIR="$pkgdir" -j1 install
 
   # Remove static libs
-  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-delete
+  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.o" -o -name "*.p_o" -o 
-name "*.p_hi" -o -name "*.hi" \) -delete
 
   # ghc-pkg is in ghc-libs
   rm "$pkgdir"/usr/lib/ghc-$pkgver/bin/ghc-pkg*
@@ -164,7 +164,7 @@
   make DESTDIR="$pkgdir" -j1 install
 
   # Remove static libs
-  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-delete
+  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.o" -o -name "*.p_o" -o 
-name "*.p_hi" -o -name "*.hi" \) -delete
 
   # ghc library and other exes are in the ghc package
   rm -r "$pkgdir"/usr/lib/ghc-$pkgver/ghc-$pkgver


[arch-commits] Commit in ghc/trunk (PKGBUILD print-provides-replaces.sh)

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 16:10:01
  Author: felixonmars
Revision: 550300

upgpkg: ghc 8.8.1-1

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |   42 +-
 print-provides-replaces.sh |2 +-
 2 files changed, 22 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-08 15:50:03 UTC (rev 550299)
+++ PKGBUILD2020-01-08 16:10:01 UTC (rev 550300)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.6.5
+pkgver=8.8.1
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -18,11 +18,11 @@
 url='https://www.haskell.org/ghc/'
 license=('custom')
 makedepends=('ghc-static' 'perl' 'libxslt' 'docbook-xsl' 'python-sphinx' 
'haskell-hscolour'
- 'texlive-bin' 'texlive-latexextra' 'ttf-dejavu')
+ 'texlive-bin' 'texlive-latexextra' 'ttf-dejavu' 'alex' 'happy' 
'time')
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('c08a7480200cb99e1ffbe4ce7669f552b1054054966f7e7efcbc5f98af8032e1249fa391c4fc4c7d62cc8e0be5d17fa05845177f3cea3dbcf86e6c92d40fc0f9'
+sha512sums=('7268b012c3a6c34e7eac05c7d6959de6005651d33e870860bbfe589295502e8794a76580130b8f4da2f88032b68116dbbdbc4c1e900e0c862aaa9891fa788bef'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -95,36 +95,36 @@
   pkgdesc='The Glasgow Haskell Compiler - Dynamic Libraries'
   install='ghc.install'
   depends=('gmp' 'libffi' 'perl')
-  provides=('haskell-array=0.5.3.0'
-'haskell-base=4.12.0.0'
-'haskell-binary=0.8.6.0'
-'haskell-bytestring=0.10.8.2'
-'haskell-containers=0.6.0.1'
+  provides=('haskell-array=0.5.4.0'
+'haskell-base=4.13.0.0'
+'haskell-binary=0.8.7.0'
+'haskell-bytestring=0.10.9.0'
+'haskell-containers=0.6.2.1'
 'haskell-deepseq=1.4.4.0'
-'haskell-directory=1.3.3.0'
+'haskell-directory=1.3.3.2'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.6.5'
-'haskell-ghc-boot-th=8.6.5'
+'haskell-ghc-boot=8.8.1'
+'haskell-ghc-boot-th=8.8.1'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.6.5'
+'haskell-ghc-heap=8.8.1'
 'haskell-ghc-prim=0.5.3'
-'haskell-haskeline=0.7.4.3'
+'haskell-haskeline=0.7.5.0'
 'haskell-hpc=0.6.0.3'
 'haskell-integer-gmp=1.0.2.0'
-'haskell-libiserv=8.6.3'
+'haskell-libiserv=8.8.1'
 'haskell-mtl=2.2.2'
-'haskell-parsec=3.1.13.0'
+'haskell-parsec=3.1.14.0'
 'haskell-pretty=1.1.3.6'
-'haskell-process=1.6.5.0'
+'haskell-process=1.6.5.1'
 'haskell-stm=2.5.0.0'
-'haskell-template-haskell=2.14.0.0'
-'haskell-terminfo=0.4.1.2'
-'haskell-text=1.2.3.1'
-'haskell-time=1.8.0.2'
+'haskell-template-haskell=2.15.0.0'
+'haskell-terminfo=0.4.1.4'
+'haskell-text=1.2.4.0'
+'haskell-time=1.9.3'
 'haskell-transformers=0.5.6.2'
 'haskell-unix=2.7.2.2'
 'haskell-xhtml=3000.2.2.1'
-'haskell-cabal=2.4.0.1')
+'haskell-cabal=3.0.0.0')
   replaces=('haskell-array'
 'haskell-base'
 'haskell-binary'

Modified: print-provides-replaces.sh
===
--- print-provides-replaces.sh  2020-01-08 15:50:03 UTC (rev 550299)
+++ print-provides-replaces.sh  2020-01-08 16:10:01 UTC (rev 550300)
@@ -23,7 +23,7 @@
 # $2 is the string for the test, either '=' or '<'
 print_var() {
   printf "  $1=("
-  for path in $(ls ./*/*.cabal); do
+  for path in $(ls ./*/*.cabal ./containers/containers/*.cabal); do
 dirname=$(echo $path | awk -F '/' '{ print $2 }')
 cabalfile=$(echo $path | awk -F '/' '{ print $3 }')
 cabalname=$(basename $cabalfile .cabal)


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2019-05-31 Thread Felix Yan via arch-commits
Date: Friday, May 31, 2019 @ 17:36:16
  Author: felixonmars
Revision: 476078

use https url

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-31 17:35:39 UTC (rev 476077)
+++ PKGBUILD2019-05-31 17:36:16 UTC (rev 476078)
@@ -15,7 +15,7 @@
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
-url='http://www.haskell.org/ghc/'
+url='https://www.haskell.org/ghc/'
 license=('custom')
 makedepends=('ghc-static' 'perl' 'libxslt' 'docbook-xsl' 'python-sphinx' 
'haskell-hscolour'
  'texlive-bin' 'texlive-latexextra' 'ttf-dejavu')


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2019-04-24 Thread Felix Yan via arch-commits
Date: Wednesday, April 24, 2019 @ 20:49:31
  Author: felixonmars
Revision: 453466

upgpkg: ghc 8.6.5-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-24 20:49:27 UTC (rev 453465)
+++ PKGBUILD2019-04-24 20:49:31 UTC (rev 453466)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.6.4
+pkgver=8.6.5
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('9237e45b26852cc8a6d64c80da2b28c910349bbbed60f6575035f39bcb064a5ce80ec73cd85e2298e4abefead378e19b7d7ec3ffeea09e362f20eb0b09b36798'
+sha512sums=('c08a7480200cb99e1ffbe4ce7669f552b1054054966f7e7efcbc5f98af8032e1249fa391c4fc4c7d62cc8e0be5d17fa05845177f3cea3dbcf86e6c92d40fc0f9'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -103,10 +103,10 @@
 'haskell-deepseq=1.4.4.0'
 'haskell-directory=1.3.3.0'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.6.4'
-'haskell-ghc-boot-th=8.6.4'
+'haskell-ghc-boot=8.6.5'
+'haskell-ghc-boot-th=8.6.5'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.6.4'
+'haskell-ghc-heap=8.6.5'
 'haskell-ghc-prim=0.5.3'
 'haskell-haskeline=0.7.4.3'
 'haskell-hpc=0.6.0.3'


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 08:50:05
  Author: felixonmars
Revision: 438207

upgpkg: ghc 8.6.4-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-09 08:19:56 UTC (rev 438206)
+++ PKGBUILD2019-03-09 08:50:05 UTC (rev 438207)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.6.3
+pkgver=8.6.4
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('2d55a9896c3c818fa0cacf8efb3a2753b112805637e78cf0800423c8c1f0c1c415b947e163c0ffaea5b2e7f1009c0122e49f13906e3df3cc74c171ef71abb132'
+sha512sums=('9237e45b26852cc8a6d64c80da2b28c910349bbbed60f6575035f39bcb064a5ce80ec73cd85e2298e4abefead378e19b7d7ec3ffeea09e362f20eb0b09b36798'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -103,10 +103,10 @@
 'haskell-deepseq=1.4.4.0'
 'haskell-directory=1.3.3.0'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.6.3'
-'haskell-ghc-boot-th=8.6.3'
+'haskell-ghc-boot=8.6.4'
+'haskell-ghc-boot-th=8.6.4'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.6.3'
+'haskell-ghc-heap=8.6.4'
 'haskell-ghc-prim=0.5.3'
 'haskell-haskeline=0.7.4.3'
 'haskell-hpc=0.6.0.3'
@@ -115,13 +115,13 @@
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.13.0'
 'haskell-pretty=1.1.3.6'
-'haskell-process=1.6.3.0'
+'haskell-process=1.6.5.0'
 'haskell-stm=2.5.0.0'
 'haskell-template-haskell=2.14.0.0'
 'haskell-terminfo=0.4.1.2'
 'haskell-text=1.2.3.1'
 'haskell-time=1.8.0.2'
-'haskell-transformers=0.5.5.0'
+'haskell-transformers=0.5.6.2'
 'haskell-unix=2.7.2.2'
 'haskell-xhtml=3000.2.2.1'
 'haskell-cabal=2.4.0.1')


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 19:37:16
  Author: felixonmars
Revision: 413048

upgpkg: ghc 8.6.3-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-09 18:48:49 UTC (rev 413047)
+++ PKGBUILD2018-12-09 19:37:16 UTC (rev 413048)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.6.2
+pkgver=8.6.3
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('85f1617d67876bfbb1e3ea9666d322d49b5518f6192600cef11a6c4accb7a761b7fa31dd905c2ff09c22a3ab08f03c6a99abc1595c5634687f7b64b41ca6cbaf'
+sha512sums=('2d55a9896c3c818fa0cacf8efb3a2753b112805637e78cf0800423c8c1f0c1c415b947e163c0ffaea5b2e7f1009c0122e49f13906e3df3cc74c171ef71abb132'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -103,15 +103,15 @@
 'haskell-deepseq=1.4.4.0'
 'haskell-directory=1.3.3.0'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.6.2'
-'haskell-ghc-boot-th=8.6.2'
+'haskell-ghc-boot=8.6.3'
+'haskell-ghc-boot-th=8.6.3'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.6.2'
+'haskell-ghc-heap=8.6.3'
 'haskell-ghc-prim=0.5.3'
 'haskell-haskeline=0.7.4.3'
 'haskell-hpc=0.6.0.3'
 'haskell-integer-gmp=1.0.2.0'
-'haskell-libiserv=8.6.1'
+'haskell-libiserv=8.6.3'
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.13.0'
 'haskell-pretty=1.1.3.6'
@@ -156,7 +156,6 @@
 'haskell-xhtml'
 'haskell-cabal')
 
-
   provides+=("haskell-ghci=$pkgver")
   conflicts+=('haskell-ghci')
 


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 17:38:59
  Author: felixonmars
Revision: 401722

upgpkg: ghc 8.6.2-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-06 16:59:34 UTC (rev 401721)
+++ PKGBUILD2018-11-06 17:38:59 UTC (rev 401722)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.6.1
+pkgver=8.6.2
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('7979273bbd190c92057638db7a4ebcf98d2a31beed71489b308590c0ca034cb7cc8ab7e688c3c3c51bcae84d03b836eb2054e9bed25d2f359aa04bcc49db863a'
+sha512sums=('85f1617d67876bfbb1e3ea9666d322d49b5518f6192600cef11a6c4accb7a761b7fa31dd905c2ff09c22a3ab08f03c6a99abc1595c5634687f7b64b41ca6cbaf'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -95,7 +95,7 @@
   pkgdesc='The Glasgow Haskell Compiler - Dynamic Libraries'
   install='ghc.install'
   depends=('gmp' 'libffi' 'perl')
-  provides=('haskell-array=0.5.2.0'
+  provides=('haskell-array=0.5.3.0'
 'haskell-base=4.12.0.0'
 'haskell-binary=0.8.6.0'
 'haskell-bytestring=0.10.8.2'
@@ -103,10 +103,10 @@
 'haskell-deepseq=1.4.4.0'
 'haskell-directory=1.3.3.0'
 'haskell-filepath=1.4.2.1'
-'haskell-ghc-boot=8.6.1'
-'haskell-ghc-boot-th=8.6.1'
+'haskell-ghc-boot=8.6.2'
+'haskell-ghc-boot-th=8.6.2'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-heap=8.6.1'
+'haskell-ghc-heap=8.6.2'
 'haskell-ghc-prim=0.5.3'
 'haskell-haskeline=0.7.4.3'
 'haskell-hpc=0.6.0.3'
@@ -156,6 +156,7 @@
 'haskell-xhtml'
 'haskell-cabal')
 
+
   provides+=("haskell-ghci=$pkgver")
   conflicts+=('haskell-ghci')
 


[arch-commits] Commit in ghc/trunk (PKGBUILD print-provides-replaces.sh)

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 12:24:57
  Author: felixonmars
Revision: 393465

upgpkg: ghc 8.6.1-1

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |   38 +-
 print-provides-replaces.sh |7 +++
 2 files changed, 24 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-14 11:57:57 UTC (rev 393464)
+++ PKGBUILD2018-10-14 12:24:57 UTC (rev 393465)
@@ -11,7 +11,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.4.3
+pkgver=8.6.1
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -22,7 +22,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('c6cea84264f32ae888f9931f834a1d721889242f656d14262e787ec54a1793d1862ce76daacaf1006c12b8af12919501afce1dc02571373e24830e4d51803414'
+sha512sums=('7979273bbd190c92057638db7a4ebcf98d2a31beed71489b308590c0ca034cb7cc8ab7e688c3c3c51bcae84d03b836eb2054e9bed25d2f359aa04bcc49db863a'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -96,33 +96,35 @@
   install='ghc.install'
   depends=('gmp' 'libffi' 'perl')
   provides=('haskell-array=0.5.2.0'
-'haskell-base=4.11.1.0'
-'haskell-binary=0.8.5.1'
+'haskell-base=4.12.0.0'
+'haskell-binary=0.8.6.0'
 'haskell-bytestring=0.10.8.2'
-'haskell-containers=0.5.11.0'
-'haskell-deepseq=1.4.3.0'
-'haskell-directory=1.3.1.5'
-'haskell-filepath=1.4.2'
-'haskell-ghc-boot=8.4.3'
-'haskell-ghc-boot-th=8.4.3'
+'haskell-containers=0.6.0.1'
+'haskell-deepseq=1.4.4.0'
+'haskell-directory=1.3.3.0'
+'haskell-filepath=1.4.2.1'
+'haskell-ghc-boot=8.6.1'
+'haskell-ghc-boot-th=8.6.1'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-prim=0.5.2.0'
-'haskell-haskeline=0.7.4.2'
+'haskell-ghc-heap=8.6.1'
+'haskell-ghc-prim=0.5.3'
+'haskell-haskeline=0.7.4.3'
 'haskell-hpc=0.6.0.3'
 'haskell-integer-gmp=1.0.2.0'
+'haskell-libiserv=8.6.1'
 'haskell-mtl=2.2.2'
 'haskell-parsec=3.1.13.0'
 'haskell-pretty=1.1.3.6'
 'haskell-process=1.6.3.0'
-'haskell-stm=2.4.5.0'
-'haskell-template-haskell=2.13.0.0'
-'haskell-terminfo=0.4.1.1'
-'haskell-text=1.2.3.0'
+'haskell-stm=2.5.0.0'
+'haskell-template-haskell=2.14.0.0'
+'haskell-terminfo=0.4.1.2'
+'haskell-text=1.2.3.1'
 'haskell-time=1.8.0.2'
 'haskell-transformers=0.5.5.0'
 'haskell-unix=2.7.2.2'
 'haskell-xhtml=3000.2.2.1'
-'haskell-cabal=2.2.0.1')
+'haskell-cabal=2.4.0.1')
   replaces=('haskell-array'
 'haskell-base'
 'haskell-binary'
@@ -134,10 +136,12 @@
 'haskell-ghc-boot'
 'haskell-ghc-boot-th'
 'haskell-ghc-compact'
+'haskell-ghc-heap'
 'haskell-ghc-prim'
 'haskell-haskeline'
 'haskell-hpc'
 'haskell-integer-gmp'
+'haskell-libiserv'
 'haskell-mtl'
 'haskell-parsec'
 'haskell-pretty'

Modified: print-provides-replaces.sh
===
--- print-provides-replaces.sh  2018-10-14 11:57:57 UTC (rev 393464)
+++ print-provides-replaces.sh  2018-10-14 12:24:57 UTC (rev 393465)
@@ -22,7 +22,7 @@
 # $1 is the name of the variable
 # $2 is the string for the test, either '=' or '<'
 print_var() {
-  printf "$1=("
+  printf "  $1=("
   for path in $(ls ./*/*.cabal); do
 dirname=$(echo $path | awk -F '/' '{ print $2 }')
 cabalfile=$(echo $path | awk -F '/' '{ print $3 }')
@@ -31,14 +31,13 @@
 version=$(awk 'tolower($0) ~ /^version:/ {print $2 }' $path)
 printf "'haskell-$cabalname"
 [[ -n "$2" ]] && printf "$2$version"
-printf "'\n  "
+printf "'\n"
   done
   # also add cabal
   version=$(awk 'tolower($0) ~ /^version:/ { print $2 }' 
Cabal/Cabal/Cabal.cabal)
   printf "'haskell-cabal"
   [[ -n "$2" ]] && printf "$2$version"
-  printf "'\n  "
-  

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2018-05-31 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 15:45:40
  Author: felixonmars
Revision: 334871

upgpkg: ghc 8.4.3-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-31 15:39:57 UTC (rev 334870)
+++ PKGBUILD2018-05-31 15:45:40 UTC (rev 334871)
@@ -12,7 +12,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.4.2
+pkgver=8.4.3
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -23,7 +23,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('aeb17c986c597762381d9887679eb0eec194c2938a92b5a33e66b4c80002ead02d672b4aa968e1061ab5652b74e46a3c9f9e3d58d5be4a0ae47aa8aed288cf1f'
+sha512sums=('c6cea84264f32ae888f9931f834a1d721889242f656d14262e787ec54a1793d1862ce76daacaf1006c12b8af12919501afce1dc02571373e24830e4d51803414'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -104,8 +104,8 @@
 'haskell-deepseq=1.4.3.0'
 'haskell-directory=1.3.1.5'
 'haskell-filepath=1.4.2'
-'haskell-ghc-boot=8.4.2'
-'haskell-ghc-boot-th=8.4.2'
+'haskell-ghc-boot=8.4.3'
+'haskell-ghc-boot-th=8.4.3'
 'haskell-ghc-compact=0.1.0.0'
 'haskell-ghc-prim=0.5.2.0'
 'haskell-haskeline=0.7.4.2'


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2018-05-16 Thread Felix Yan via arch-commits
Date: Wednesday, May 16, 2018 @ 15:06:30
  Author: felixonmars
Revision: 322855

upgpkg: ghc 8.4.2-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   46 ++
 1 file changed, 26 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-16 14:24:30 UTC (rev 322854)
+++ PKGBUILD2018-05-16 15:06:30 UTC (rev 322855)
@@ -12,7 +12,7 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.2.2
+pkgver=8.4.2
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
@@ -23,7 +23,7 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-sha512sums=('6549416f470b599973d409fa45f59c25b07e6a94798cef1a19ad432547dc225338cf4dbc4a4793114b4a417798a3b59b122b92b020251074405c5302b7ffe799'
+sha512sums=('aeb17c986c597762381d9887679eb0eec194c2938a92b5a33e66b4c80002ead02d672b4aa968e1061ab5652b74e46a3c9f9e3d58d5be4a0ae47aa8aed288cf1f'
 
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
 
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
 
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
@@ -97,30 +97,33 @@
   install='ghc.install'
   depends=('gmp' 'libffi' 'perl')
   provides=('haskell-array=0.5.2.0'
-'haskell-base=4.10.1.0'
+'haskell-base=4.11.1.0'
 'haskell-binary=0.8.5.1'
 'haskell-bytestring=0.10.8.2'
-'haskell-containers=0.5.10.2'
+'haskell-containers=0.5.11.0'
 'haskell-deepseq=1.4.3.0'
-'haskell-directory=1.3.0.2'
-'haskell-filepath=1.4.1.2'
-'haskell-ghc-boot=8.2.2'
-'haskell-ghc-boot-th=8.2.2'
+'haskell-directory=1.3.1.5'
+'haskell-filepath=1.4.2'
+'haskell-ghc-boot=8.4.2'
+'haskell-ghc-boot-th=8.4.2'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghc-prim=0.5.1.1'
-'haskell-haskeline=0.7.4.0'
-'haskell-hoopl=3.10.2.2'
+'haskell-ghc-prim=0.5.2.0'
+'haskell-haskeline=0.7.4.2'
 'haskell-hpc=0.6.0.3'
-'haskell-integer-gmp=1.0.1.0'
-'haskell-pretty=1.1.3.3'
-'haskell-process=1.6.1.0'
-'haskell-template-haskell=2.12.0.0'
-'haskell-terminfo=0.4.1.0'
+'haskell-integer-gmp=1.0.2.0'
+'haskell-mtl=2.2.2'
+'haskell-parsec=3.1.13.0'
+'haskell-pretty=1.1.3.6'
+'haskell-process=1.6.3.0'
+'haskell-stm=2.4.5.0'
+'haskell-template-haskell=2.13.0.0'
+'haskell-terminfo=0.4.1.1'
+'haskell-text=1.2.3.0'
 'haskell-time=1.8.0.2'
-'haskell-transformers=0.5.2.0'
+'haskell-transformers=0.5.5.0'
 'haskell-unix=2.7.2.2'
-'haskell-xhtml=3000.2.2'
-'haskell-cabal=2.0.1.0')
+'haskell-xhtml=3000.2.2.1'
+'haskell-cabal=2.2.0.1')
   replaces=('haskell-array'
 'haskell-base'
 'haskell-binary'
@@ -134,13 +137,16 @@
 'haskell-ghc-compact'
 'haskell-ghc-prim'
 'haskell-haskeline'
-'haskell-hoopl'
 'haskell-hpc'
 'haskell-integer-gmp'
+'haskell-mtl'
+'haskell-parsec'
 'haskell-pretty'
 'haskell-process'
+'haskell-stm'
 'haskell-template-haskell'
 'haskell-terminfo'
+'haskell-text'
 'haskell-time'
 'haskell-transformers'
 'haskell-unix'


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2017-12-24 Thread Felix Yan via arch-commits
Date: Sunday, December 24, 2017 @ 17:28:16
  Author: felixonmars
Revision: 275846

move gcc to ghc's dependency

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-24 17:02:04 UTC (rev 275845)
+++ PKGBUILD2017-12-24 17:28:16 UTC (rev 275846)
@@ -72,7 +72,7 @@
   pkgdesc='The Glasgow Haskell Compiler'
   provides=("haskell-ghc=$pkgver")
   replaces=("haskell-ghc")
-  depends=('ghc-libs')
+  depends=('gcc' 'ghc-libs')
 
   cd ghc-$pkgver
   make DESTDIR="$pkgdir" -j1 install
@@ -95,7 +95,7 @@
 package_ghc-libs() {
   pkgdesc='The Glasgow Haskell Compiler - Dynamic Libraries'
   install='ghc.install'
-  depends=('gcc' 'gmp' 'libffi' 'perl')
+  depends=('gmp' 'libffi' 'perl')
   provides=('haskell-array=0.5.2.0'
 'haskell-base=4.10.1.0'
 'haskell-binary=0.8.5.1'


[arch-commits] Commit in ghc/trunk (PKGBUILD ghc-register.hook ghc-unregister.hook)

2017-11-25 Thread Felix Yan via arch-commits
Date: Sunday, November 26, 2017 @ 04:49:26
  Author: felixonmars
Revision: 268500

upgpkg: ghc 8.2.2-1

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/ghc-register.hook
  ghc/trunk/ghc-unregister.hook

-+
 PKGBUILD|   33 +
 ghc-register.hook   |2 +-
 ghc-unregister.hook |2 +-
 3 files changed, 19 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-26 03:44:36 UTC (rev 268499)
+++ PKGBUILD2017-11-26 04:49:26 UTC (rev 268500)
@@ -12,8 +12,8 @@
 
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
-pkgver=8.2.1
-pkgrel=3
+pkgver=8.2.2
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='http://www.haskell.org/ghc/'
@@ -23,10 +23,10 @@
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgbase-${pkgver}-src.tar.xz")
-md5sums=('8942b6fb393984aeb8304d09bc326851'
- '4966d798a2868b289022aea8b655bf17'
- '700bcd96afd059d668e50b51c19650d5'
- '2355771881c91cb46e6249a81352aea2')
+sha512sums=('6549416f470b599973d409fa45f59c25b07e6a94798cef1a19ad432547dc225338cf4dbc4a4793114b4a417798a3b59b122b92b020251074405c5302b7ffe799'
+
'afb119e4f665770c5704b97034d2488504eaa7afcddca2fb6b554079921cd2330599bcb5c36669f0d0e7856dd99ae1deeca1b0e97e2371a783f26e5ef9776ba9'
+
'bd65a369b618ec9bee46c028c2b6acff8f883f60f6cad6e5be8561fbcef6118278abec11bb86f9e6f92cb2e05ad74ec54611c1788e8ed95187d0091fcbbf8767'
+
'd4bfdd4c8ad9ac612cf187fec150850e9f4068a4a4202503c00dba07ba26f804bc11d7181249f7e3452d7ede60dc5dedea34e73fdb584ac2953068b51c6fd5ad')
 
 prepare() {
   # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"
@@ -57,7 +57,7 @@
 
   cd ghc-$pkgver
 
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -j1 install
 
   mv "$pkgdir"/usr/lib/ghc-$pkgver/package.conf.d 
"$srcdir"/static-package.conf.d
   find "$pkgdir"/usr/lib ! \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-type f -delete
@@ -75,7 +75,7 @@
   depends=('ghc-libs')
 
   cd ghc-$pkgver
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -j1 install
 
   # Remove static libs
   find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-delete
@@ -97,7 +97,7 @@
   install='ghc.install'
   depends=('gcc' 'gmp' 'libffi' 'perl')
   provides=('haskell-array=0.5.2.0'
-'haskell-base=4.10.0.0'
+'haskell-base=4.10.1.0'
 'haskell-binary=0.8.5.1'
 'haskell-bytestring=0.10.8.2'
 'haskell-containers=0.5.10.2'
@@ -104,11 +104,10 @@
 'haskell-deepseq=1.4.3.0'
 'haskell-directory=1.3.0.2'
 'haskell-filepath=1.4.1.2'
-'haskell-ghc-boot=8.2.1'
-'haskell-ghc-boot-th=8.2.1'
+'haskell-ghc-boot=8.2.2'
+'haskell-ghc-boot-th=8.2.2'
 'haskell-ghc-compact=0.1.0.0'
-'haskell-ghci=8.2.1'
-'haskell-ghc-prim=0.5.1.0'
+'haskell-ghc-prim=0.5.1.1'
 'haskell-haskeline=0.7.4.0'
 'haskell-hoopl=3.10.2.2'
 'haskell-hpc=0.6.0.3'
@@ -121,7 +120,7 @@
 'haskell-transformers=0.5.2.0'
 'haskell-unix=2.7.2.2'
 'haskell-xhtml=3000.2.2'
-'haskell-cabal=2.0.0.2')
+'haskell-cabal=2.0.1.0')
   replaces=('haskell-array'
 'haskell-base'
 'haskell-binary'
@@ -133,7 +132,6 @@
 'haskell-ghc-boot'
 'haskell-ghc-boot-th'
 'haskell-ghc-compact'
-'haskell-ghci'
 'haskell-ghc-prim'
 'haskell-haskeline'
 'haskell-hoopl'
@@ -149,9 +147,12 @@
 'haskell-xhtml'
 'haskell-cabal')
 
+  provides+=("haskell-ghci=$pkgver")
+  conflicts+=('haskell-ghci')
+
   cd ghc-$pkgver
 
-  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" -j1 install
 
   # Remove static libs
   find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-delete

Modified: ghc-register.hook
===
--- ghc-register.hook   2017-11-26 03:44:36 UTC (rev 268499)
+++ ghc-register.hook   2017-11-26 04:49:26 UTC (rev 268500)
@@ -7,6 +7,6 @@
 [Action]
 Description = Registering Haskell modules...
 When = PostTransaction
-Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 2>&1 >/dev/null ; done'
+Exec = /bin/sh -c 'while read -r f; do /bin/sh "/$f" 
>>/tmp/haskell-register.log 2>&1 ; done'
 Depends = ghc-libs
 NeedsTargets

Modified: ghc-unregister.hook
===
--- ghc-unregister.hook 2017-11-26 03:44:36 UTC (rev 268499)
+++ ghc-unregister.hook 2017-11-26 04:49:26 UTC (rev 268500)
@@ -7,6 +7,6 @@
 [Action]
 

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2017-10-13 Thread Felix Yan
Date: Saturday, October 14, 2017 @ 01:04:17
  Author: felixonmars
Revision: 262662

upgpkg: ghc 8.2.1-3

fix linking issue with libtinfo when building with testing/ncurses

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-14 01:02:35 UTC (rev 262661)
+++ PKGBUILD2017-10-14 01:04:17 UTC (rev 262662)
@@ -13,7 +13,7 @@
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
 pkgver=8.2.1
-pkgrel=2
+pkgrel=3
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2017-09-21 Thread Felix Yan
Date: Thursday, September 21, 2017 @ 07:23:38
  Author: felixonmars
Revision: 258986

upgpkg: ghc 8.2.1-2

move static hi files to static subpackage

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-21 07:21:10 UTC (rev 258985)
+++ PKGBUILD2017-09-21 07:23:38 UTC (rev 258986)
@@ -13,7 +13,7 @@
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
 pkgver=8.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -60,7 +60,7 @@
   make DESTDIR="$pkgdir" install
 
   mv "$pkgdir"/usr/lib/ghc-$pkgver/package.conf.d 
"$srcdir"/static-package.conf.d
-  find "$pkgdir"/usr/lib ! \( -name "*.a" -o -name "*.p_hi" \) -type f -delete
+  find "$pkgdir"/usr/lib ! \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-type f -delete
   find "$pkgdir"/usr/lib -type d -empty -delete
   mv "$srcdir"/static-package.conf.d "$pkgdir"/usr/lib/ghc-$pkgver/
   rm -r "$pkgdir"/usr/bin "$pkgdir"/usr/share/man
@@ -78,7 +78,7 @@
   make DESTDIR="$pkgdir" install
 
   # Remove static libs
-  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" \) -delete
+  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-delete
 
   # ghc-pkg is in ghc-libs
   rm "$pkgdir"/usr/lib/ghc-$pkgver/bin/ghc-pkg*
@@ -154,7 +154,7 @@
   make DESTDIR="$pkgdir" install
 
   # Remove static libs
-  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" \) -delete
+  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" -o -name "*.hi" \) 
-delete
 
   # ghc library and other exes are in the ghc package
   rm -r "$pkgdir"/usr/lib/ghc-$pkgver/ghc-$pkgver


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2017-07-03 Thread Felix Yan
Date: Monday, July 3, 2017 @ 09:27:39
  Author: felixonmars
Revision: 242136

upgpkg: ghc 8.0.2-2

- provide profiling libraries again in ghc-static
- provide an alternative global package DB for static (boot) libraries

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-07-03 09:22:20 UTC (rev 242135)
+++ PKGBUILD2017-07-03 09:27:39 UTC (rev 242136)
@@ -14,7 +14,7 @@
 pkgbase=ghc
 pkgname=(ghc ghc-static)
 pkgver=8.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -37,10 +37,8 @@
 
   cd ghc-$pkgver
 
-  # Disable profiling libraries since 8.0.2
   cp mk/build.mk{.sample,}
   sed -i '1iBuildFlavour = perf' mk/build.mk
-  sed -i 's/BUILD_PROF_LIBS= YES/BUILD_PROF_LIBS= NO/' 
mk/flavours/perf.mk
 }
 
 build() {
@@ -62,8 +60,10 @@
 
   make DESTDIR="$pkgdir" -j1 install
 
-  find "$pkgdir"/usr/lib ! -name "*.a" -type f -delete
+  mv "$pkgdir"/usr/lib/ghc-$pkgver/package.conf.d 
"$srcdir"/static-package.conf.d
+  find "$pkgdir"/usr/lib ! \( -name "*.a" -o -name "*.p_hi" \) -type f -delete
   find "$pkgdir"/usr/lib -type d -empty -delete
+  mv "$srcdir"/static-package.conf.d "$pkgdir"/usr/lib/ghc-$pkgver/
   rm -r "$pkgdir"/usr/share "$pkgdir"/usr/bin
 }
 
@@ -136,7 +136,7 @@
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 
   # Remove static libs and the compiler itself, but keep ghc-pkg for library 
(un)register
-  find "$pkgdir"/usr/lib -name "*.a" -delete
+  find "$pkgdir"/usr/lib \( -name "*.a" -o -name "*.p_hi" \) -delete
 
   install -Dm644 utils/completion/ghc.bash \
 "$pkgdir/usr/share/bash-completion/completions/ghc"


[arch-commits] Commit in ghc/trunk (PKGBUILD)

2017-06-14 Thread Felix Yan
Date: Wednesday, June 14, 2017 @ 19:36:08
  Author: felixonmars
Revision: 236830

require ghc-static to build next version

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-14 19:36:02 UTC (rev 236829)
+++ PKGBUILD2017-06-14 19:36:08 UTC (rev 236830)
@@ -19,7 +19,7 @@
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
 license=('custom')
-makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl' 'python-sphinx' 
'haskell-hscolour'
+makedepends=('ghc-static' 'perl' 'libxslt' 'docbook-xsl' 'python-sphinx' 
'haskell-hscolour'
  'texlive-bin' 'texlive-latexextra' 'ttf-dejavu')
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgname-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)


[arch-commits] Commit in ghc/trunk (PKGBUILD ghc-register.hook ghc-unregister.hook)

2017-06-14 Thread Felix Yan
Date: Wednesday, June 14, 2017 @ 19:00:01
  Author: felixonmars
Revision: 236801

upgpkg: ghc 8.0.2-1

- Upstream new release
- Split static libraries, preparing for dynamic executables in all haskell 
packages

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/ghc-register.hook
  ghc/trunk/ghc-unregister.hook

-+
 PKGBUILD|  144 --
 ghc-register.hook   |2 
 ghc-unregister.hook |2 
 3 files changed, 85 insertions(+), 63 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-14 18:34:40 UTC (rev 236800)
+++ PKGBUILD2017-06-14 19:00:01 UTC (rev 236801)
@@ -11,71 +11,23 @@
 # use the following command to print out packages that need to get rebuilt
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
-pkgname=ghc
-pkgver=8.0.1
+pkgbase=ghc
+pkgname=(ghc ghc-static)
+pkgver=8.0.2
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
 license=('custom')
-depends=('perl' 'gmp' 'gcc' 'libffi')
-makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
-provides=('haskell-array=0.5.1.1'
-  'haskell-base=4.9.0.0'
-  'haskell-binary=0.8.3.0'
-  'haskell-bytestring=0.10.8.1'
-  'haskell-containers=0.5.7.1'
-  'haskell-deepseq=1.4.2.0'
-  'haskell-directory=1.2.6.2'
-  'haskell-filepath=1.4.1.0'
-  'haskell-ghc-boot=8.0.1'
-  'haskell-ghc-boot-th=8.0.1'
-  'haskell-ghc-prim=0.5.0.0'
-  'haskell-haskeline=0.7.2.3'
-  'haskell-hoopl=3.10.2.1'
-  'haskell-hpc=0.6.0.3'
-  'haskell-integer-gmp=1.0.0.1'
-  'haskell-pretty=1.1.3.3'
-  'haskell-process=1.4.2.0'
-  'haskell-template-haskell=2.11.0.0'
-  'haskell-terminfo=0.4.0.2'
-  'haskell-time=1.6.0.1'
-  'haskell-transformers=0.5.2.0'
-  'haskell-unix=2.7.2.0'
-  'haskell-xhtml=3000.2.1'
-  'haskell-cabal=1.24.0.0')
-replaces=('haskell-array'
-  'haskell-base'
-  'haskell-binary'
-  'haskell-bytestring'
-  'haskell-containers'
-  'haskell-deepseq'
-  'haskell-directory'
-  'haskell-filepath'
-  'haskell-ghc-boot'
-  'haskell-ghc-boot-th'
-  'haskell-ghc-prim'
-  'haskell-haskeline'
-  'haskell-hoopl'
-  'haskell-hpc'
-  'haskell-integer-gmp'
-  'haskell-pretty'
-  'haskell-process'
-  'haskell-template-haskell'
-  'haskell-terminfo'
-  'haskell-time'
-  'haskell-transformers'
-  'haskell-unix'
-  'haskell-xhtml'
-  'haskell-cabal')
-install='ghc.install'
+makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl' 'python-sphinx' 
'haskell-hscolour'
+ 'texlive-bin' 'texlive-latexextra' 'ttf-dejavu')
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgname-${pkgver}-src.tar.xz;
 ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
 noextract=("$pkgname-${pkgver}-src.tar.xz")
-md5sums=('c185b8a1f3e67e43533ec590b751c2ff'
+md5sums=('d0afb5ec441b14527a53d2445cc26ec3'
  'cc9aa11fddde15d8e5e15e99748874a1'
- '20cc84d8058f385fec3c0068e369f1ef'
- 'f69583eedff4ad6dedbb7180a9525332')
+ '3b1949e77038b0276ebd5590ab89e1af'
+ '587efb0cb73a6b336cd9333fc5697de4')
 
 prepare() {
   # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"
@@ -85,10 +37,10 @@
 
   cd ghc-$pkgver
 
-  # We select the following build profile:
-  #   Full build with max optimisation and everything enabled (very slow build)
+  # Disable profiling libraries since 8.0.2
   cp mk/build.mk{.sample,}
   sed -i '1iBuildFlavour = perf' mk/build.mk
+  sed -i 's/BUILD_PROF_LIBS= YES/BUILD_PROF_LIBS= NO/' 
mk/flavours/perf.mk
 }
 
 build() {
@@ -102,14 +54,78 @@
   make
 }
 
-package() {
+package_ghc-static() {
+  pkgdesc='The Glasgow Haskell Compiler - Static Libraries'
+  depends=('ghc')
+
   cd ghc-$pkgver
 
   make DESTDIR="$pkgdir" -j1 install
 
-  install -Dm644 utils/completion/ghc.bash \
-"$pkgdir/usr/share/bash-completion/completions/ghc"
+  find "$pkgdir"/usr/lib ! -name "*.a" -type f -delete
+  find "$pkgdir"/usr/lib -type d -empty -delete
+  rm -r "$pkgdir"/usr/share "$pkgdir"/usr/bin
+}
 
+package_ghc() {
+  pkgdesc='The Glasgow Haskell Compiler'
+  install='ghc.install'
+  depends=('gcc' 'gmp' 'libffi' 'perl')
+  provides=('haskell-array=0.5.1.1'
+'haskell-base=4.9.1.0'
+'haskell-binary=0.8.3.0'
+'haskell-bytestring=0.10.8.1'
+'haskell-containers=0.5.7.1'
+'haskell-deepseq=1.4.2.0'
+'haskell-directory=1.3.0.0'
+'haskell-filepath=1.4.1.1'
+'haskell-ghc-boot=8.0.2'
+'haskell-ghc-boot-th=8.0.2'
+

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2015-12-10 Thread Felix Yan
Date: Thursday, December 10, 2015 @ 09:32:36
  Author: fyan
Revision: 152149

upgpkg: ghc 7.10.3-1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-10 07:53:42 UTC (rev 152148)
+++ PKGBUILD2015-12-10 08:32:36 UTC (rev 152149)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Vesa Kaihlavirta 
+# Maintainer: Felix Yan 
+# Contributor: Vesa Kaihlavirta 
 # Contributor: Thomas Dziedzic 
 
 # Special note for devs looking to upgrade this package:
@@ -11,7 +12,7 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.10.2
+pkgver=7.10.3
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -20,10 +21,11 @@
 depends=('perl' 'gmp' 'gcc' 'libffi')
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
 provides=('haskell-array=0.5.1.0'
-  'haskell-base=4.8.1.0'
+  'haskell-base=4.8.2.0'
   'haskell-binary=0.7.5.0'
   'haskell-bin-package-db=0.0.0.0'
   'haskell-bytestring=0.10.6.0'
+  'haskell-cabal=1.22.5.0'
   'haskell-containers=0.5.6.2'
   'haskell-deepseq=1.4.1.1'
   'haskell-directory=1.2.2.0'
@@ -40,13 +42,13 @@
   'haskell-time=1.5.0.1'
   'haskell-transformers=0.4.2.0'
   'haskell-unix=2.7.1.0'
-  'haskell-xhtml=3000.2.1'
-  'haskell-cabal=1.22.4.0')
+  'haskell-xhtml=3000.2.1')
 replaces=('haskell-array'
   'haskell-base'
   'haskell-binary'
   'haskell-bin-package-db'
   'haskell-bytestring'
+  'haskell-cabal'
   'haskell-containers'
   'haskell-deepseq'
   'haskell-directory'
@@ -63,13 +65,12 @@
   'haskell-time'
   'haskell-transformers'
   'haskell-unix'
-  'haskell-xhtml'
-  'haskell-cabal')
+  'haskell-xhtml')
 install='ghc.install'
 options=('staticlibs')
 
source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgname-$pkgver-src.tar.xz;)
 noextract=("$pkgname-$pkgver-src.tar.xz")
-md5sums=('fc1269fbc52513fa6b2ae6051c365bc3')
+md5sums=('00104e629bfda9f956c23752b5f38613')
 
 prepare() {
   # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"


[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk ghc)

2015-10-06 Thread Evangelos Foutras
Date: Wednesday, October 7, 2015 @ 01:21:24
  Author: foutrelis
Revision: 248435

upgpkg: ghc 7.10.2-1

- New upstream release.
- Remove empty check().

Modified:
  ghc/trunk/PKGBUILD
Deleted:
  ghc/trunk/build.mk
  ghc/trunk/ghc

--+
 PKGBUILD |   95 ++
 build.mk |  314 -
 ghc  |   10 -
 3 files changed, 34 insertions(+), 385 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-10-06 21:05:35 UTC (rev 248434)
+++ PKGBUILD2015-10-06 23:21:24 UTC (rev 248435)
@@ -1,6 +1,7 @@
 # $Id$
-# Maintainer: Thomas Dziedzic 
 # Maintainer: Vesa Kaihlavirta 
+# Contributor: Thomas Dziedzic 
+
 # Special note for devs looking to upgrade this package:
 #   ghc places a unique hash for each library when it is built.
 #   Libraries depend on versions specified by those hashes.
@@ -10,8 +11,8 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.10.1
-pkgrel=2
+pkgver=7.10.2
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -18,15 +19,9 @@
 license=('custom')
 depends=('perl' 'gmp' 'gcc' 'libffi')
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
-# will hopefully be able to depend on python 3 in a future version
-# https://ghc.haskell.org/trac/ghc/ticket/9184
-# title: Allow the use of Python 3 when building GHC
-checkdepends=('python2')
-install='ghc.install'
-options=('staticlibs')
 provides=('haskell-array=0.5.1.0'
-  'haskell-base=4.8.0.0'
-  'haskell-binary=0.7.3.0'
+  'haskell-base=4.8.1.0'
+  'haskell-binary=0.7.5.0'
   'haskell-bin-package-db=0.0.0.0'
   'haskell-bytestring=0.10.6.0'
   'haskell-containers=0.5.6.2'
@@ -46,8 +41,7 @@
   'haskell-transformers=0.4.2.0'
   'haskell-unix=2.7.1.0'
   'haskell-xhtml=3000.2.1'
-  'haskell-cabal=1.22.2.0'
-  )
+  'haskell-cabal=1.22.4.0')
 replaces=('haskell-array'
   'haskell-base'
   'haskell-binary'
@@ -70,65 +64,44 @@
   'haskell-transformers'
   'haskell-unix'
   'haskell-xhtml'
-  'haskell-cabal'
-  )
-source=("http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
-
"http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
-'build.mk')
-md5sums=('f93ad0cdc9df4b0f2d4421debdecb54f'
- '41db579e247655236c2e35e66e645e71'
- 'd9c7c61db2b7c0c7eef547092716addb')
+  'haskell-cabal')
+install='ghc.install'
+options=('staticlibs')
+source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgname-$pkgver-src.tar.xz;)
+noextract=("$pkgname-$pkgver-src.tar.xz")
+md5sums=('fc1269fbc52513fa6b2ae6051c365bc3')
 
+prepare() {
+  # Need to extract this tarball with a UTF-8 locale instead of a chroot's "C"
+  # locale; otherwise we get:
+  #   bsdtar: Pathname can't be converted from UTF-8 to current locale.
+  LANG=en_US.UTF-8 bsdtar xf $pkgname-$pkgver-src.tar.xz
+
+  cd ghc-$pkgver
+
+  # We select the following build profile:
+  #   Full build with max optimisation and everything enabled (very slow build)
+  cp mk/build.mk{.sample,}
+  sed -i '1iBuildFlavour = perf' mk/build.mk
+}
+
 build() {
-  cd ghc-${pkgver}
+  cd ghc-$pkgver
 
-  cp ${srcdir}/build.mk mk/build.mk
-
   ./configure \
 --prefix=/usr \
 --with-system-libffi \
---with-ffi-includes=/usr/lib/libffi-3.2.1/include
-
+--with-ffi-includes=$(pkg-config --variable=includedir libffi)
   make
 }
 
-check() {
-  # keep this otherwise a lot of tests will show as unexpected failures... 
need to investigate why using -jn for n > 1 does this...
-  unset MAKEFLAGS
-
-  cd ghc-${pkgver}
-
-  # python2 rename
-  sed -e 's_#!/usr/bin/env python_&2_' -i testsuite/timeout/calibrate 
testsuite/timeout/timeout.py
-
-  # tests check out for 7.10.1 on x86_64 but are broken on i686
-  #make test
-
-  # enabling threads to speed up
-  # causes more failures than make test, need to investigate
-  # upstream known failures on both i686 and x86_64:
-  #perf/compiler parsing001 [stat not good enough] (normal)
-  #simplCore/should_compile  spec-inline [stderr mismatch] (optasm)
-  # upstream known failures on i686 only:
-  #numrun012 test fails on i686 works on x86_64 - 
http://hackage.haskell.org/trac/ghc/ticket/5856
-  #make THREADS=9 test
-
-  # will most likely cause lots of failures
-  # enable this when upstream has 0 test failures from a simple 'make test'
-  # zero unexpected failures on all tier 1 platforms - 
http://hackage.haskell.org/trac/ghc/ticket/5757
-  #make fulltest
-}
-
 package() {
-  cd ghc-${pkgver}
+  cd ghc-$pkgver
 
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="$pkgdir" install
 
-  install -d ${pkgdir}/usr/share/licenses/ghc
-  install 

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2015-09-08 Thread Evangelos Foutras
Date: Tuesday, September 8, 2015 @ 17:18:28
  Author: foutrelis
Revision: 245545

ncurses 6.0 rebuild.

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-09-08 15:18:18 UTC (rev 245544)
+++ PKGBUILD2015-09-08 15:18:28 UTC (rev 245545)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'


[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk print-provides-replaces.sh)

2015-03-30 Thread Thomas Dziedzic
Date: Monday, March 30, 2015 @ 09:30:38
  Author: td123
Revision: 235272

upgpkg: ghc 7.10.1-1

bump

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/build.mk
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |   78 +--
 build.mk   |  222 ---
 print-provides-replaces.sh |   13 +-
 3 files changed, 207 insertions(+), 106 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-30 01:46:12 UTC (rev 235271)
+++ PKGBUILD2015-03-30 07:30:38 UTC (rev 235272)
@@ -10,7 +10,7 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.8.4
+pkgver=7.10.1
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -24,33 +24,29 @@
 checkdepends=('python2')
 install='ghc.install'
 options=('staticlibs')
-provides=('haskell-array=0.5.0.0'
-  'haskell-base=4.7.0.2'
-  'haskell-binary=0.7.1.0'
+provides=('haskell-array=0.5.1.0'
+  'haskell-base=4.8.0.0'
+  'haskell-binary=0.7.3.0'
   'haskell-bin-package-db=0.0.0.0'
-  'haskell-bytestring=0.10.4.0'
-  'haskell-containers=0.5.5.1'
-  'haskell-deepseq=1.3.0.2'
-  'haskell-directory=1.2.1.0'
-  'haskell-filepath=1.3.0.2'
-  'haskell-ghc-prim=0.3.1.0'
-  'haskell-haskeline=0.7.1.2'
-  'haskell-haskell2010=1.1.2.0'
-  'haskell-haskell98=2.0.0.3'
-  'haskell-hoopl=3.10.0.1'
-  'haskell-hpc=0.6.0.1'
-  'haskell-integer-gmp=0.5.1.0'
-  'haskell-old-locale=1.0.0.6'
-  'haskell-old-time=1.1.0.2'
-  'haskell-pretty=1.1.1.1'
-  'haskell-process=1.2.0.0'
-  'haskell-template-haskell=2.9.0.0'
-  'haskell-terminfo=0.4.0.0'
-  'haskell-time=1.4.2'
-  'haskell-transformers=0.3.0.0'
-  'haskell-unix=2.7.0.1'
+  'haskell-bytestring=0.10.6.0'
+  'haskell-containers=0.5.6.2'
+  'haskell-deepseq=1.4.1.1'
+  'haskell-directory=1.2.2.0'
+  'haskell-filepath=1.4.0.0'
+  'haskell-ghc-prim=0.4.0.0'
+  'haskell-haskeline=0.7.2.1'
+  'haskell-hoopl=3.10.0.2'
+  'haskell-hpc=0.6.0.2'
+  'haskell-integer-gmp=1.0.0.0'
+  'haskell-pretty=1.1.2.0'
+  'haskell-process=1.2.3.0'
+  'haskell-template-haskell=2.10.0.0'
+  'haskell-terminfo=0.4.0.1'
+  'haskell-time=1.5.0.1'
+  'haskell-transformers=0.4.2.0'
+  'haskell-unix=2.7.1.0'
   'haskell-xhtml=3000.2.1'
-  'haskell-cabal=1.18.1.5'
+  'haskell-cabal=1.22.2.0'
   )
 replaces=('haskell-array'
   'haskell-base'
@@ -63,13 +59,9 @@
   'haskell-filepath'
   'haskell-ghc-prim'
   'haskell-haskeline'
-  'haskell-haskell2010'
-  'haskell-haskell98'
   'haskell-hoopl'
   'haskell-hpc'
   'haskell-integer-gmp'
-  'haskell-old-locale'
-  'haskell-old-time'
   'haskell-pretty'
   'haskell-process'
   'haskell-template-haskell'
@@ -82,12 +74,10 @@
   )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
-'build.mk'
-'ghc')
-md5sums=('91f74cf9d813603cc3145528db4bbead'
- '3cc3353d99518be7e7b2d78ebd5460b5'
- 'c367ef26300648ee9b8aca3dee5c9669'
- 'c1d46d86752c50dd85e7143b029fa07f')
+'build.mk')
+md5sums=('f93ad0cdc9df4b0f2d4421debdecb54f'
+ '41db579e247655236c2e35e66e645e71'
+ 'd9c7c61db2b7c0c7eef547092716addb')
 
 build() {
   cd ghc-${pkgver}
@@ -111,14 +101,8 @@
   # python2 rename
   sed -e 's_#!/usr/bin/env python_2_' -i testsuite/timeout/calibrate 
testsuite/timeout/timeout.py
 
-  # Unexpected failures:
-  #codeGen/should_run T8256 [exit code non-0] (normal)
-  #concurrent/should_run  T9379 [exit code non-0] (normal)
-  #perf/compiler  T3064 [stat not good enough] (normal)
-  #perf/compiler  T4801 [stat not good enough] (normal)
-  #perf/compiler  T6048 [stat not good enough] (optasm)
-  #roles/should_compile   T8958 [stderr mismatch] (normal)
-  make test
+  # tests check out for 7.10.1 on x86_64 but are broken on i686
+  #make test
 
   # enabling threads to speed up
   # causes more failures than make test, need to investigate
@@ -144,9 +128,7 @@
   install -m644 LICENSE \
 ${pkgdir}/usr/share/licenses/ghc
 
-  # provide non vanilla bash completion since ghc currently doesn't ship with 
any:
-  # https://ghc.haskell.org/trac/ghc/ticket/9005
   install -d ${pkgdir}/usr/share/bash-completion/completions
-  install -m644 ${srcdir}/ghc \
-${pkgdir}/usr/share/bash-completion/completions
+  install -m644 

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2014-12-25 Thread Thomas Dziedzic
Date: Thursday, December 25, 2014 @ 21:48:24
  Author: td123
Revision: 228048

upgpkg: ghc 7.8.4-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   45 -
 1 file changed, 24 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-25 18:55:02 UTC (rev 228047)
+++ PKGBUILD2014-12-25 20:48:24 UTC (rev 228048)
@@ -10,8 +10,8 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.8.3
-pkgrel=2
+pkgver=7.8.4
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -18,11 +18,14 @@
 license=('custom')
 depends=('perl' 'gmp' 'gcc' 'libffi')
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
+# will hopefully be able to depend on python 3 in a future version
+# https://ghc.haskell.org/trac/ghc/ticket/9184
+# title: Allow the use of Python 3 when building GHC
 checkdepends=('python2')
 install='ghc.install'
 options=('staticlibs')
 provides=('haskell-array=0.5.0.0'
-  'haskell-base=4.7.0.1'
+  'haskell-base=4.7.0.2'
   'haskell-binary=0.7.1.0'
   'haskell-bin-package-db=0.0.0.0'
   'haskell-bytestring=0.10.4.0'
@@ -31,6 +34,7 @@
   'haskell-directory=1.2.1.0'
   'haskell-filepath=1.3.0.2'
   'haskell-ghc-prim=0.3.1.0'
+  'haskell-haskeline=0.7.1.2'
   'haskell-haskell2010=1.1.2.0'
   'haskell-haskell98=2.0.0.3'
   'haskell-hoopl=3.10.0.1'
@@ -41,15 +45,13 @@
   'haskell-pretty=1.1.1.1'
   'haskell-process=1.2.0.0'
   'haskell-template-haskell=2.9.0.0'
+  'haskell-terminfo=0.4.0.0'
   'haskell-time=1.4.2'
   'haskell-transformers=0.3.0.0'
   'haskell-unix=2.7.0.1'
-  'haskell-cabal=1.18.1.3'
-  'ghc=7.8.3-1'
-  'haskell-haskeline=0.7.1.2'
-  'haskell-terminfo=0.4.0.0'
   'haskell-xhtml=3000.2.1'
- )
+  'haskell-cabal=1.18.1.5'
+  )
 replaces=('haskell-array'
   'haskell-base'
   'haskell-binary'
@@ -60,6 +62,7 @@
   'haskell-directory'
   'haskell-filepath'
   'haskell-ghc-prim'
+  'haskell-haskeline'
   'haskell-haskell2010'
   'haskell-haskell98'
   'haskell-hoopl'
@@ -70,20 +73,19 @@
   'haskell-pretty'
   'haskell-process'
   'haskell-template-haskell'
+  'haskell-terminfo'
   'haskell-time'
   'haskell-transformers'
   'haskell-unix'
+  'haskell-xhtml'
   'haskell-cabal'
-  'haskell-haskeline'
-  'haskell-terminfo'
-  'haskell-xhtml'
- )
+  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
 'build.mk'
 'ghc')
-md5sums=('5e34b2a29564596c9ed83fb8667b47d4'
- '7ca72a039d44ca2586c02863392b5dce'
+md5sums=('91f74cf9d813603cc3145528db4bbead'
+ '3cc3353d99518be7e7b2d78ebd5460b5'
  'c367ef26300648ee9b8aca3dee5c9669'
  'c1d46d86752c50dd85e7143b029fa07f')
 
@@ -95,7 +97,7 @@
   ./configure \
 --prefix=/usr \
 --with-system-libffi \
---with-ffi-includes=/usr/lib/libffi-3.1/include
+--with-ffi-includes=/usr/lib/libffi-3.2.1/include
 
   make
 }
@@ -109,12 +111,13 @@
   # python2 rename
   sed -e 's_#!/usr/bin/env python_2_' -i testsuite/timeout/calibrate 
testsuite/timeout/timeout.py
 
-  # upstream known failures on both i686 and x86_64:
-  #ghci.debugger/scripts break011 [bad stderr] (ghci)
-  #perf/compiler parsing001 [stat not good enough] (normal)
-  #simplCore/should_compile  spec-inline [stderr mismatch] (optasm)
-  # upstream known failures on i686 only:
-  #numrun012 test fails on i686 works on x86_64 - 
http://hackage.haskell.org/trac/ghc/ticket/5856
+  # Unexpected failures:
+  #codeGen/should_run T8256 [exit code non-0] (normal)
+  #concurrent/should_run  T9379 [exit code non-0] (normal)
+  #perf/compiler  T3064 [stat not good enough] (normal)
+  #perf/compiler  T4801 [stat not good enough] (normal)
+  #perf/compiler  T6048 [stat not good enough] (optasm)
+  #roles/should_compile   T8958 [stderr mismatch] (normal)
   make test
 
   # enabling threads to speed up


[arch-commits] Commit in ghc/trunk (PKGBUILD print-provides-replaces.sh)

2014-07-14 Thread Thomas Dziedzic
Date: Monday, July 14, 2014 @ 08:24:51
  Author: td123
Revision: 216874

upgpkg: ghc 7.8.3-2

add missing provides due to ticket https://ghc.haskell.org/trac/ghc/ticket/8919 
getting fixed

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |9 -
 print-provides-replaces.sh |5 -
 2 files changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-14 04:25:18 UTC (rev 216873)
+++ PKGBUILD2014-07-14 06:24:51 UTC (rev 216874)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -45,6 +45,10 @@
   'haskell-transformers=0.3.0.0'
   'haskell-unix=2.7.0.1'
   'haskell-cabal=1.18.1.3'
+  'ghc=7.8.3-1'
+  'haskell-haskeline=0.7.1.2'
+  'haskell-terminfo=0.4.0.0'
+  'haskell-xhtml=3000.2.1'
  )
 replaces=('haskell-array'
   'haskell-base'
@@ -70,6 +74,9 @@
   'haskell-transformers'
   'haskell-unix'
   'haskell-cabal'
+  'haskell-haskeline'
+  'haskell-terminfo'
+  'haskell-xhtml'
  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;

Modified: print-provides-replaces.sh
===
--- print-provides-replaces.sh  2014-07-14 04:25:18 UTC (rev 216873)
+++ print-provides-replaces.sh  2014-07-14 06:24:51 UTC (rev 216874)
@@ -12,11 +12,6 @@
 exclude['Win32']=1
 # no integer-simple because we use integer-gmp
 exclude['integer-simple']=1
-# the rest are installed as dependencies of ghc and some shouldn't even be 
installed!
-# https://ghc.haskell.org/trac/ghc/ticket/8919
-exclude['haskeline']=1
-exclude['terminfo']=1
-exclude['xhtml']=1
 # extract excluded libraries from ghc.mk
 for exclude_pkg in $(sed 's/PKGS_THAT_ARE_INTREE_ONLY := //p' -n 
src/ghc-${pkgver}/ghc.mk); do
   exclude[${exclude_pkg}]=1



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2014-07-10 Thread Thomas Dziedzic
Date: Friday, July 11, 2014 @ 01:46:30
  Author: td123
Revision: 216777

upgpkg: ghc 7.8.3-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   60 ++--
 1 file changed, 30 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-10 20:34:58 UTC (rev 216776)
+++ PKGBUILD2014-07-10 23:46:30 UTC (rev 216777)
@@ -10,8 +10,8 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.8.2
-pkgrel=4
+pkgver=7.8.3
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -22,7 +22,7 @@
 install='ghc.install'
 options=('staticlibs')
 provides=('haskell-array=0.5.0.0'
-  'haskell-base=4.7.0.0'
+  'haskell-base=4.7.0.1'
   'haskell-binary=0.7.1.0'
   'haskell-bin-package-db=0.0.0.0'
   'haskell-bytestring=0.10.4.0'
@@ -46,37 +46,37 @@
   'haskell-unix=2.7.0.1'
   'haskell-cabal=1.18.1.3'
  )
-replaces=('haskell-array0.5.0.0'
-  'haskell-base4.7.0.0'
-  'haskell-binary0.7.1.0'
-  'haskell-bin-package-db0.0.0.0'
-  'haskell-bytestring0.10.4.0'
-  'haskell-containers0.5.5.1'
-  'haskell-deepseq1.3.0.2'
-  'haskell-directory1.2.1.0'
-  'haskell-filepath1.3.0.2'
-  'haskell-ghc-prim0.3.1.0'
-  'haskell-haskell20101.1.2.0'
-  'haskell-haskell982.0.0.3'
-  'haskell-hoopl3.10.0.1'
-  'haskell-hpc0.6.0.1'
-  'haskell-integer-gmp0.5.1.0'
-  'haskell-old-locale1.0.0.6'
-  'haskell-old-time1.1.0.2'
-  'haskell-pretty1.1.1.1'
-  'haskell-process1.2.0.0'
-  'haskell-template-haskell2.9.0.0'
-  'haskell-time1.4.2'
+replaces=('haskell-array'
+  'haskell-base'
+  'haskell-binary'
+  'haskell-bin-package-db'
+  'haskell-bytestring'
+  'haskell-containers'
+  'haskell-deepseq'
+  'haskell-directory'
+  'haskell-filepath'
+  'haskell-ghc-prim'
+  'haskell-haskell2010'
+  'haskell-haskell98'
+  'haskell-hoopl'
+  'haskell-hpc'
+  'haskell-integer-gmp'
+  'haskell-old-locale'
+  'haskell-old-time'
+  'haskell-pretty'
+  'haskell-process'
+  'haskell-template-haskell'
+  'haskell-time'
   'haskell-transformers'
-  'haskell-unix2.7.0.1'
-  'haskell-cabal1.18.1.3'
+  'haskell-unix'
+  'haskell-cabal'
  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
 'build.mk'
 'ghc')
-md5sums=('97578e0c27574a99e0d5071a7f35d136'
- 'ac54f7fa453010149a573740705ecbfb'
+md5sums=('5e34b2a29564596c9ed83fb8667b47d4'
+ '7ca72a039d44ca2586c02863392b5dce'
  'c367ef26300648ee9b8aca3dee5c9669'
  'c1d46d86752c50dd85e7143b029fa07f')
 
@@ -88,7 +88,7 @@
   ./configure \
 --prefix=/usr \
 --with-system-libffi \
---with-ffi-includes=/usr/lib/libffi-3.0.13/include
+--with-ffi-includes=/usr/lib/libffi-3.1/include
 
   make
 }
@@ -135,7 +135,7 @@
 ${pkgdir}/usr/share/licenses/ghc
 
   # provide non vanilla bash completion since ghc currently doesn't ship with 
any:
-  # https://ghc.haskell.org/trac/ghc/ticket/9006
+  # https://ghc.haskell.org/trac/ghc/ticket/9005
   install -d ${pkgdir}/usr/share/bash-completion/completions
   install -m644 ${srcdir}/ghc \
 ${pkgdir}/usr/share/bash-completion/completions



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2014-05-14 Thread Thomas Dziedzic
Date: Thursday, May 15, 2014 @ 06:26:13
  Author: td123
Revision: 212770

upgpkg: ghc 7.8.2-4

fix fs #40252 - [ghc] /usr/lib/ghc-7.8.2 and files beneath are owned by 
1000.100 rather than root.root

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-15 03:25:47 UTC (rev 212769)
+++ PKGBUILD2014-05-15 04:26:13 UTC (rev 212770)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.8.2
-pkgrel=3
+pkgrel=4
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2014-05-01 Thread Thomas Dziedzic
Date: Friday, May 2, 2014 @ 06:41:08
  Author: td123
Revision: 211949

upgpkg: ghc 7.8.2-3

fix replaces

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-02 02:38:12 UTC (rev 211948)
+++ PKGBUILD2014-05-02 04:41:08 UTC (rev 211949)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.8.2
-pkgrel=2
+pkgrel=3
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -67,7 +67,7 @@
   'haskell-process1.2.0.0'
   'haskell-template-haskell2.9.0.0'
   'haskell-time1.4.2'
-  'haskell-transformers0.3.0.0'
+  'haskell-transformers'
   'haskell-unix2.7.0.1'
   'haskell-cabal1.18.1.3'
  )



[arch-commits] Commit in ghc/trunk (PKGBUILD ghc print-provides-replaces.sh)

2014-04-18 Thread Thomas Dziedzic
Date: Friday, April 18, 2014 @ 08:43:31
  Author: td123
Revision: 211182

upgpkg: ghc 7.8.2-2

rebuild to fix the provides and to add ghc auto completion script

Added:
  ghc/trunk/ghc
Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |   20 +++-
 ghc|   10 ++
 print-provides-replaces.sh |5 +
 3 files changed, 26 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-18 06:26:22 UTC (rev 211181)
+++ PKGBUILD2014-04-18 06:43:31 UTC (rev 211182)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.8.2
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -31,7 +31,6 @@
   'haskell-directory=1.2.1.0'
   'haskell-filepath=1.3.0.2'
   'haskell-ghc-prim=0.3.1.0'
-  'haskell-haskeline=0.7.1.2'
   'haskell-haskell2010=1.1.2.0'
   'haskell-haskell98=2.0.0.3'
   'haskell-hoopl=3.10.0.1'
@@ -42,11 +41,9 @@
   'haskell-pretty=1.1.1.1'
   'haskell-process=1.2.0.0'
   'haskell-template-haskell=2.9.0.0'
-  'haskell-terminfo=0.4.0.0'
   'haskell-time=1.4.2'
   'haskell-transformers=0.3.0.0'
   'haskell-unix=2.7.0.1'
-  'haskell-xhtml=3000.2.1'
   'haskell-cabal=1.18.1.3'
  )
 replaces=('haskell-array0.5.0.0'
@@ -59,7 +56,6 @@
   'haskell-directory1.2.1.0'
   'haskell-filepath1.3.0.2'
   'haskell-ghc-prim0.3.1.0'
-  'haskell-haskeline0.7.1.2'
   'haskell-haskell20101.1.2.0'
   'haskell-haskell982.0.0.3'
   'haskell-hoopl3.10.0.1'
@@ -70,19 +66,19 @@
   'haskell-pretty1.1.1.1'
   'haskell-process1.2.0.0'
   'haskell-template-haskell2.9.0.0'
-  'haskell-terminfo0.4.0.0'
   'haskell-time1.4.2'
   'haskell-transformers0.3.0.0'
   'haskell-unix2.7.0.1'
-  'haskell-xhtml3000.2.1'
   'haskell-cabal1.18.1.3'
  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
-'build.mk')
+'build.mk'
+'ghc')
 md5sums=('97578e0c27574a99e0d5071a7f35d136'
  'ac54f7fa453010149a573740705ecbfb'
- 'c367ef26300648ee9b8aca3dee5c9669')
+ 'c367ef26300648ee9b8aca3dee5c9669'
+ 'c1d46d86752c50dd85e7143b029fa07f')
 
 build() {
   cd ghc-${pkgver}
@@ -137,4 +133,10 @@
   install -d ${pkgdir}/usr/share/licenses/ghc
   install -m644 LICENSE \
 ${pkgdir}/usr/share/licenses/ghc
+
+  # provide non vanilla bash completion since ghc currently doesn't ship with 
any:
+  # https://ghc.haskell.org/trac/ghc/ticket/9006
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 ${srcdir}/ghc \
+${pkgdir}/usr/share/bash-completion/completions
 }

Added: ghc
===
--- ghc (rev 0)
+++ ghc 2014-04-18 06:43:31 UTC (rev 211182)
@@ -0,0 +1,10 @@
+_ghc()
+{
+local envs=`ghc --show-options`
+# get the word currently being completed
+   local cur=${COMP_WORDS[$COMP_CWORD]}
+
+# the resulting completions should be put into this array
+COMPREPLY=( $( compgen -W $envs -- $cur ) )
+}
+complete -F _ghc -o default ghc

Modified: print-provides-replaces.sh
===
--- print-provides-replaces.sh  2014-04-18 06:26:22 UTC (rev 211181)
+++ print-provides-replaces.sh  2014-04-18 06:43:31 UTC (rev 211182)
@@ -12,6 +12,11 @@
 exclude['Win32']=1
 # no integer-simple because we use integer-gmp
 exclude['integer-simple']=1
+# the rest are installed as dependencies of ghc and some shouldn't even be 
installed!
+# https://ghc.haskell.org/trac/ghc/ticket/8919
+exclude['haskeline']=1
+exclude['terminfo']=1
+exclude['xhtml']=1
 # extract excluded libraries from ghc.mk
 for exclude_pkg in $(sed 's/PKGS_THAT_ARE_INTREE_ONLY := //p' -n 
src/ghc-${pkgver}/ghc.mk); do
   exclude[${exclude_pkg}]=1



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2014-04-12 Thread Thomas Dziedzic
Date: Saturday, April 12, 2014 @ 14:35:34
  Author: td123
Revision: 210216

upgpkg: ghc 7.8.2-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-11 23:57:22 UTC (rev 210215)
+++ PKGBUILD2014-04-12 12:35:34 UTC (rev 210216)
@@ -10,7 +10,7 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.8.1
+pkgver=7.8.2
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -17,7 +17,7 @@
 url='http://www.haskell.org/ghc/'
 license=('custom')
 # libffi might be needed in the future: 
http://hackage.haskell.org/trac/ghc/ticket/4496
-depends=('perl' 'gmp' 'gcc') # 'libffi') TODO enable libffi the next time we 
build ghc
+depends=('perl' 'gmp' 'gcc' 'libffi') #TODO enable libffi the next time we 
build ghc
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
 checkdepends=('python2')
 install='ghc.install'
@@ -81,8 +81,8 @@
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
 'build.mk')
-md5sums=('17c632b8f32119058fc99e70c3161cf7'
- '8089a21ea9cb19cd19f9824523df074d'
+md5sums=('97578e0c27574a99e0d5071a7f35d136'
+ 'ac54f7fa453010149a573740705ecbfb'
  'c367ef26300648ee9b8aca3dee5c9669')
 
 build() {
@@ -92,7 +92,8 @@
 
   ./configure \
 --prefix=/usr \
---with-system-libffi
+--with-system-libffi \
+--with-ffi-includes=/usr/lib/libffi-3.0.13/include
 
   make
 }



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2014-04-12 Thread Thomas Dziedzic
Date: Saturday, April 12, 2014 @ 18:28:59
  Author: td123
Revision: 210222

remove old comments about having to use system libffi since we are now using 
them

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-12 15:47:33 UTC (rev 210221)
+++ PKGBUILD2014-04-12 16:28:59 UTC (rev 210222)
@@ -16,8 +16,7 @@
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
 license=('custom')
-# libffi might be needed in the future: 
http://hackage.haskell.org/trac/ghc/ticket/4496
-depends=('perl' 'gmp' 'gcc' 'libffi') #TODO enable libffi the next time we 
build ghc
+depends=('perl' 'gmp' 'gcc' 'libffi')
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
 checkdepends=('python2')
 install='ghc.install'



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2014-04-08 Thread Thomas Dziedzic
Date: Wednesday, April 9, 2014 @ 04:55:47
  Author: td123
Revision: 209923

upgpkg: ghc 7.8.1-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |  115 +++--
 1 file changed, 60 insertions(+), 55 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-04-08 17:36:56 UTC (rev 209922)
+++ PKGBUILD2014-04-09 02:55:47 UTC (rev 209923)
@@ -10,7 +10,7 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.6.3
+pkgver=7.8.1
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -17,67 +17,72 @@
 url='http://www.haskell.org/ghc/'
 license=('custom')
 # libffi might be needed in the future: 
http://hackage.haskell.org/trac/ghc/ticket/4496
-depends=('perl' 'gmp=5.0' 'gcc') # 'libffi')
+depends=('perl' 'gmp' 'gcc') # 'libffi') TODO enable libffi the next time we 
build ghc
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
 checkdepends=('python2')
 install='ghc.install'
-# keep this otherwise a lot of tests will show as unexpected failures... need 
to investigate why using -jn for n  1 does this...
-#options=('!makeflags')
-# missing rtl?
 options=('staticlibs')
-provides=('haskell-array=0.4.0.1'
-  'haskell-base=4.6.0.1'
-  'haskell-binary=0.5.1.1'
+provides=('haskell-array=0.5.0.0'
+  'haskell-base=4.7.0.0'
+  'haskell-binary=0.7.1.0'
   'haskell-bin-package-db=0.0.0.0'
-  'haskell-bytestring=0.10.0.2'
-  'haskell-containers=0.5.0.0'
-  'haskell-deepseq=1.3.0.1'
-  'haskell-directory=1.2.0.1'
-  'haskell-filepath=1.3.0.1'
-  'haskell-ghc-prim=0.3.0.0'
-  'haskell-haskell2010=1.1.1.0'
-  'haskell-haskell98=2.0.0.2'
-  'haskell-hoopl=3.9.0.0'
-  'haskell-hpc=0.6.0.0'
-  'haskell-integer-gmp=0.5.0.0'
-  'haskell-old-locale=1.0.0.5'
-  'haskell-old-time=1.1.0.1'
-  'haskell-pretty=1.1.1.0'
-  'haskell-process=1.1.0.2'
-  'haskell-template-haskell=2.8.0.0'
-  'haskell-time=1.4.0.1'
-  'haskell-unix=2.6.0.1'
-  'haskell-cabal=1.16.0'
+  'haskell-bytestring=0.10.4.0'
+  'haskell-containers=0.5.5.1'
+  'haskell-deepseq=1.3.0.2'
+  'haskell-directory=1.2.1.0'
+  'haskell-filepath=1.3.0.2'
+  'haskell-ghc-prim=0.3.1.0'
+  'haskell-haskeline=0.7.1.2'
+  'haskell-haskell2010=1.1.2.0'
+  'haskell-haskell98=2.0.0.3'
+  'haskell-hoopl=3.10.0.1'
+  'haskell-hpc=0.6.0.1'
+  'haskell-integer-gmp=0.5.1.0'
+  'haskell-old-locale=1.0.0.6'
+  'haskell-old-time=1.1.0.2'
+  'haskell-pretty=1.1.1.1'
+  'haskell-process=1.2.0.0'
+  'haskell-template-haskell=2.9.0.0'
+  'haskell-terminfo=0.4.0.0'
+  'haskell-time=1.4.2'
+  'haskell-transformers=0.3.0.0'
+  'haskell-unix=2.7.0.1'
+  'haskell-xhtml=3000.2.1'
+  'haskell-cabal=1.18.1.3'
  )
-replaces=('haskell-array0.4.0.1'
-  'haskell-base4.6.0.1'
-  'haskell-binary0.5.1.1'
+replaces=('haskell-array0.5.0.0'
+  'haskell-base4.7.0.0'
+  'haskell-binary0.7.1.0'
   'haskell-bin-package-db0.0.0.0'
-  'haskell-bytestring0.10.0.2'
-  'haskell-containers0.5.0.0'
-  'haskell-deepseq1.3.0.1'
-  'haskell-directory1.2.0.1'
-  'haskell-filepath1.3.0.1'
-  'haskell-ghc-prim0.3.0.0'
-  'haskell-haskell20101.1.1.0'
-  'haskell-haskell982.0.0.2'
-  'haskell-hoopl3.9.0.0'
-  'haskell-hpc0.6.0.0'
-  'haskell-integer-gmp0.5.0.0'
-  'haskell-old-locale1.0.0.5'
-  'haskell-old-time1.1.0.1'
-  'haskell-pretty1.1.1.0'
-  'haskell-process1.1.0.2'
-  'haskell-template-haskell2.8.0.0'
-  'haskell-time1.4.0.1'
-  'haskell-unix2.6.0.1'
-  'haskell-cabal1.16.0'
+  'haskell-bytestring0.10.4.0'
+  'haskell-containers0.5.5.1'
+  'haskell-deepseq1.3.0.2'
+  'haskell-directory1.2.1.0'
+  'haskell-filepath1.3.0.2'
+  'haskell-ghc-prim0.3.1.0'
+  'haskell-haskeline0.7.1.2'
+  'haskell-haskell20101.1.2.0'
+  'haskell-haskell982.0.0.3'
+  'haskell-hoopl3.10.0.1'
+  'haskell-hpc0.6.0.1'
+  'haskell-integer-gmp0.5.1.0'
+  'haskell-old-locale1.0.0.6'
+  'haskell-old-time1.1.0.2'
+  'haskell-pretty1.1.1.1'
+  'haskell-process1.2.0.0'
+  'haskell-template-haskell2.9.0.0'
+  'haskell-terminfo0.4.0.0'
+  'haskell-time1.4.2'
+  'haskell-transformers0.3.0.0'
+  'haskell-unix2.7.0.1'
+  'haskell-xhtml3000.2.1'
+  'haskell-cabal1.18.1.3'
  )

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2013-04-23 Thread Thomas Dziedzic
Date: Wednesday, April 24, 2013 @ 06:26:45
  Author: td123
Revision: 183589

add comment on how to find rebuild deps for ghc bumps

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-24 04:20:37 UTC (rev 183588)
+++ PKGBUILD2013-04-24 04:26:45 UTC (rev 183589)
@@ -6,6 +6,9 @@
 #   Libraries depend on versions specified by those hashes.
 #   This implies that all libraries need to be rebuilt when ghc is rebuilt.
 
+# use the following command to print out packages that need to get rebuilt
+# grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
+
 pkgname=ghc
 pkgver=7.6.3
 pkgrel=1



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2013-04-21 Thread Thomas Dziedzic
Date: Sunday, April 21, 2013 @ 21:08:18
  Author: td123
Revision: 183311

upgpkg: ghc 7.6.3-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-21 17:16:07 UTC (rev 183310)
+++ PKGBUILD2013-04-21 19:08:18 UTC (rev 183311)
@@ -7,7 +7,7 @@
 #   This implies that all libraries need to be rebuilt when ghc is rebuilt.
 
 pkgname=ghc
-pkgver=7.6.2
+pkgver=7.6.3
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -72,8 +72,8 @@
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2;
 'build.mk')
-md5sums=('2585d83e7d8daece2fe0949c6bc42a2c'
- '8454aaeb4e226ddb66c237c15874a47f'
+md5sums=('986d1f90ca30d60f7b2820d75c6b8ea7'
+ '66aa6177a31cc4b9d7eeb55cb1514918'
  'c367ef26300648ee9b8aca3dee5c9669')
 
 build() {



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2013-01-30 Thread Thomas Dziedzic
Date: Thursday, January 31, 2013 @ 07:53:44
  Author: td123
Revision: 176363

upgpkg: ghc 7.6.2-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   28 +++-
 1 file changed, 15 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-01-31 05:00:26 UTC (rev 176362)
+++ PKGBUILD2013-01-31 06:53:44 UTC (rev 176363)
@@ -7,7 +7,7 @@
 #   This implies that all libraries need to be rebuilt when ghc is rebuilt.
 
 pkgname=ghc
-pkgver=7.6.1
+pkgver=7.6.2
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -22,13 +22,13 @@
 #options=('!makeflags')
 # missing rtl?
 provides=('haskell-array=0.4.0.1'
-  'haskell-base=4.6.0.0'
+  'haskell-base=4.6.0.1'
   'haskell-binary=0.5.1.1'
   'haskell-bin-package-db=0.0.0.0'
-  'haskell-bytestring=0.10.0.0'
+  'haskell-bytestring=0.10.0.2'
   'haskell-containers=0.5.0.0'
   'haskell-deepseq=1.3.0.1'
-  'haskell-directory=1.2.0.0'
+  'haskell-directory=1.2.0.1'
   'haskell-filepath=1.3.0.1'
   'haskell-ghc-prim=0.3.0.0'
   'haskell-haskell2010=1.1.1.0'
@@ -42,16 +42,17 @@
   'haskell-process=1.1.0.2'
   'haskell-template-haskell=2.8.0.0'
   'haskell-time=1.4.0.1'
-  'haskell-unix=2.6.0.0'
-  'haskell-cabal=1.16.0')
+  'haskell-unix=2.6.0.1'
+  'haskell-cabal=1.16.0'
+ )
 replaces=('haskell-array0.4.0.1'
-  'haskell-base4.6.0.0'
+  'haskell-base4.6.0.1'
   'haskell-binary0.5.1.1'
   'haskell-bin-package-db0.0.0.0'
-  'haskell-bytestring0.10.0.0'
+  'haskell-bytestring0.10.0.2'
   'haskell-containers0.5.0.0'
   'haskell-deepseq1.3.0.1'
-  'haskell-directory1.2.0.0'
+  'haskell-directory1.2.0.1'
   'haskell-filepath1.3.0.1'
   'haskell-ghc-prim0.3.0.0'
   'haskell-haskell20101.1.1.0'
@@ -65,13 +66,14 @@
   'haskell-process1.1.0.2'
   'haskell-template-haskell2.8.0.0'
   'haskell-time1.4.0.1'
-  'haskell-unix2.6.0.0'
-  'haskell-cabal1.16.0')
+  'haskell-unix2.6.0.1'
+  'haskell-cabal1.16.0'
+ )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2;
 'build.mk')
-md5sums=('e9d892d2970550ec5e70130b3621f6b6'
- '0d93c458e3b445a7e524ef6ae459ce11'
+md5sums=('2585d83e7d8daece2fe0949c6bc42a2c'
+ '8454aaeb4e226ddb66c237c15874a47f'
  'c367ef26300648ee9b8aca3dee5c9669')
 
 build() {



[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk silence-gen_contents_index.diff)

2012-09-06 Thread Thomas Dziedzic
Date: Friday, September 7, 2012 @ 00:40:21
  Author: tdziedzic
Revision: 166370

bump

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/build.mk
Deleted:
  ghc/trunk/silence-gen_contents_index.diff

-+
 PKGBUILD|  107 +-
 build.mk|   27 +
 silence-gen_contents_index.diff |   10 ---
 3 files changed, 76 insertions(+), 68 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-07 01:16:18 UTC (rev 166369)
+++ PKGBUILD2012-09-07 04:40:21 UTC (rev 166370)
@@ -7,7 +7,7 @@
 #   This implies that all libraries need to be rebuilt when ghc is rebuilt.
 
 pkgname=ghc
-pkgver=7.4.2
+pkgver=7.6.1
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -21,72 +21,62 @@
 # keep this otherwise a lot of tests will show as unexpected failures... need 
to investigate why using -jn for n  1 does this...
 #options=('!makeflags')
 # missing rtl?
-provides=('haskell-array=0.4.0.0'
-  'haskell-base=4.5.1.0'
-  'haskell-binary=0.5.1.0'
+provides=('haskell-array=0.4.0.1'
+  'haskell-base=4.6.0.0'
+  'haskell-binary=0.5.1.1'
   'haskell-bin-package-db=0.0.0.0'
-  'haskell-bytestring=0.9.2.1'
-  'haskell-containers=0.4.2.1'
-  'haskell-deepseq=1.3.0.0'
-  'haskell-directory=1.1.0.2'
-  'haskell-extensible-exceptions=0.1.1.4'
-  'haskell-filepath=1.3.0.0'
-  'haskell-ghc-prim=0.2.0.0'
-  'haskell-haskell2010=1.1.0.1'
-  'haskell-haskell98=2.0.0.1'
-  'haskell-hoopl=3.8.7.3'
-  'haskell-hpc=0.5.1.1'
-  'haskell-integer-gmp=0.4.0.0'
-  'haskell-old-locale=1.0.0.4'
-  'haskell-old-time=1.1.0.0'
+  'haskell-bytestring=0.10.0.0'
+  'haskell-containers=0.5.0.0'
+  'haskell-deepseq=1.3.0.1'
+  'haskell-directory=1.2.0.0'
+  'haskell-filepath=1.3.0.1'
+  'haskell-ghc-prim=0.3.0.0'
+  'haskell-haskell2010=1.1.1.0'
+  'haskell-haskell98=2.0.0.2'
+  'haskell-hoopl=3.9.0.0'
+  'haskell-hpc=0.6.0.0'
+  'haskell-integer-gmp=0.5.0.0'
+  'haskell-old-locale=1.0.0.5'
+  'haskell-old-time=1.1.0.1'
   'haskell-pretty=1.1.1.0'
-  'haskell-process=1.1.0.1'
-  'haskell-template-haskell=2.7.0.0'
-  'haskell-time=1.4'
-  'haskell-unix=2.5.1.1'
-  'haskell-cabal=1.14.0'
- )
-replaces=('haskell-array0.4.0.0'
-  'haskell-base4.5.1.0'
-  'haskell-binary0.5.1.0'
+  'haskell-process=1.1.0.2'
+  'haskell-template-haskell=2.8.0.0'
+  'haskell-time=1.4.0.1'
+  'haskell-unix=2.6.0.0'
+  'haskell-cabal=1.16.0')
+replaces=('haskell-array0.4.0.1'
+  'haskell-base4.6.0.0'
+  'haskell-binary0.5.1.1'
   'haskell-bin-package-db0.0.0.0'
-  'haskell-bytestring0.9.2.1'
-  'haskell-containers0.4.2.1'
-  'haskell-deepseq1.3.0.0'
-  'haskell-directory1.1.0.2'
-  'haskell-extensible-exceptions0.1.1.4'
-  'haskell-filepath1.3.0.0'
-  'haskell-ghc-prim0.2.0.0'
-  'haskell-haskell20101.1.0.1'
-  'haskell-haskell982.0.0.1'
-  'haskell-hoopl3.8.7.3'
-  'haskell-hpc0.5.1.1'
-  'haskell-integer-gmp0.4.0.0'
-  'haskell-old-locale1.0.0.4'
-  'haskell-old-time1.1.0.0'
+  'haskell-bytestring0.10.0.0'
+  'haskell-containers0.5.0.0'
+  'haskell-deepseq1.3.0.1'
+  'haskell-directory1.2.0.0'
+  'haskell-filepath1.3.0.1'
+  'haskell-ghc-prim0.3.0.0'
+  'haskell-haskell20101.1.1.0'
+  'haskell-haskell982.0.0.2'
+  'haskell-hoopl3.9.0.0'
+  'haskell-hpc0.6.0.0'
+  'haskell-integer-gmp0.5.0.0'
+  'haskell-old-locale1.0.0.5'
+  'haskell-old-time1.1.0.1'
   'haskell-pretty1.1.1.0'
-  'haskell-process1.1.0.1'
-  'haskell-template-haskell2.7.0.0'
-  'haskell-time1.4'
-  'haskell-unix2.5.1.1'
-  'haskell-cabal1.14.0'
- )
+  'haskell-process1.1.0.2'
+  'haskell-template-haskell2.8.0.0'
+  'haskell-time1.4.0.1'
+  'haskell-unix2.6.0.0'
+  'haskell-cabal1.16.0')
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2;
-'build.mk'
-'silence-gen_contents_index.diff')
-md5sums=('267462db5c5a7c245fb26361b77007c4'
- '528005749c761fe6c12a0079bd84fb90'
- '88ad4108c26f56fc38466d82aaf9a295'
- '2ac480d025b706fc47acc58c54b246bb')
+'build.mk')
+md5sums=('e9d892d2970550ec5e70130b3621f6b6'
+ '0d93c458e3b445a7e524ef6ae459ce11'
+ 

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-06-11 Thread Thomas Dziedzic
Date: Monday, June 11, 2012 @ 17:22:56
  Author: tdziedzic
Revision: 161493

note all test failures and comments explaining tests

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-11 21:12:03 UTC (rev 161492)
+++ PKGBUILD2012-06-11 21:22:56 UTC (rev 161493)
@@ -102,10 +102,21 @@
   sed -e 's/PYTHON = python/2/' -i testsuite/mk/boilerplate.mk
   sed -e 's_#!/usr/bin/env python_2_' -i testsuite/timeout/calibrate 
testsuite/timeout/timeout.py
 
-  # note: there is one test failure on i686 only: 
http://hackage.haskell.org/trac/ghc/ticket/5856
+  # upstream known failures on both i686 and x86_64:
+  #ghci.debugger/scripts break011 [bad stderr] (ghci)
+  #perf/compiler parsing001 [stat not good enough] (normal)
+  #simplCore/should_compile  spec-inline [stderr mismatch] (optasm)
+  # upstream known failures on i686 only:
+  #numrun012 test fails on i686 works on x86_64 - 
http://hackage.haskell.org/trac/ghc/ticket/5856
+  make test
+
+  # enabling threads to speed up
+  # causes more failures than make test, need to investigate
   #make THREADS=9 test
-  make test
-  # might be some failures
+
+  # will most likely cause lots of failures
+  # enable this when upstream has 0 test failures from a simple 'make test'
+  # zero unexpected failures on all tier 1 platforms - 
http://hackage.haskell.org/trac/ghc/ticket/5757
   #make fulltest
 }
 



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-06-11 Thread Thomas Dziedzic
Date: Monday, June 11, 2012 @ 19:40:45
  Author: tdziedzic
Revision: 161494

update comments about testing

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-11 21:22:56 UTC (rev 161493)
+++ PKGBUILD2012-06-11 23:40:45 UTC (rev 161494)
@@ -19,7 +19,7 @@
 checkdepends=('python2')
 install='ghc.install'
 # keep this otherwise a lot of tests will show as unexpected failures... need 
to investigate why using -jn for n  1 does this...
-options=('!makeflags')
+#options=('!makeflags')
 # missing rtl?
 provides=('haskell-array=0.4.0.0'
   'haskell-base=4.5.1.0'
@@ -112,6 +112,11 @@
 
   # enabling threads to speed up
   # causes more failures than make test, need to investigate
+  # upstream known failures on both i686 and x86_64:
+  #perf/compiler parsing001 [stat not good enough] (normal)
+  #simplCore/should_compile  spec-inline [stderr mismatch] (optasm)
+  # upstream known failures on i686 only:
+  #numrun012 test fails on i686 works on x86_64 - 
http://hackage.haskell.org/trac/ghc/ticket/5856
   #make THREADS=9 test
 
   # will most likely cause lots of failures



[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk silence-gen_contents_index.diff)

2012-06-10 Thread Thomas Dziedzic
Date: Sunday, June 10, 2012 @ 20:02:41
  Author: tdziedzic
Revision: 161392

upgpkg: ghc 7.4.2-1

bump

Added:
  ghc/trunk/silence-gen_contents_index.diff
Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/build.mk

-+
 PKGBUILD|   26 --
 build.mk|4 ++--
 silence-gen_contents_index.diff |   10 ++
 3 files changed, 28 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-06-10 21:12:29 UTC (rev 161391)
+++ PKGBUILD2012-06-11 00:02:41 UTC (rev 161392)
@@ -7,8 +7,8 @@
 #   This implies that all libraries need to be rebuilt when ghc is rebuilt.
 
 pkgname=ghc
-pkgver=7.4.1
-pkgrel=2
+pkgver=7.4.2
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -22,7 +22,7 @@
 options=('!makeflags')
 # missing rtl?
 provides=('haskell-array=0.4.0.0'
-  'haskell-base=4.5.0.0'
+  'haskell-base=4.5.1.0'
   'haskell-binary=0.5.1.0'
   'haskell-bin-package-db=0.0.0.0'
   'haskell-bytestring=0.9.2.1'
@@ -43,11 +43,11 @@
   'haskell-process=1.1.0.1'
   'haskell-template-haskell=2.7.0.0'
   'haskell-time=1.4'
-  'haskell-unix=2.5.1.0'
+  'haskell-unix=2.5.1.1'
   'haskell-cabal=1.14.0'
  )
 replaces=('haskell-array0.4.0.0'
-  'haskell-base4.5.0.0'
+  'haskell-base4.5.1.0'
   'haskell-binary0.5.1.0'
   'haskell-bin-package-db0.0.0.0'
   'haskell-bytestring0.9.2.1'
@@ -68,19 +68,25 @@
   'haskell-process1.1.0.1'
   'haskell-template-haskell2.7.0.0'
   'haskell-time1.4'
-  'haskell-unix2.5.1.0'
+  'haskell-unix2.5.1.1'
   'haskell-cabal1.14.0'
  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.bz2;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.bz2;
-'build.mk')
-md5sums=('5d86c420978b49cc60edea9bd4c36703'
- '54bc9405c14c3226b6e3de3cd61e2777'
- '82b67cdd24a2e434a4399f30f14b21a3')
+'build.mk'
+'silence-gen_contents_index.diff')
+md5sums=('267462db5c5a7c245fb26361b77007c4'
+ '528005749c761fe6c12a0079bd84fb90'
+ '88ad4108c26f56fc38466d82aaf9a295'
+ '2ac480d025b706fc47acc58c54b246bb')
 
 build() {
   cd ghc-${pkgver}
 
+  # Silence gen_contents_index for the common case.
+  # http://hackage.haskell.org/trac/ghc/ticket/5992
+  patch -Np1 -i ${srcdir}/silence-gen_contents_index.diff
+
   cp ${srcdir}/build.mk mk/build.mk
 
   ./configure \

Modified: build.mk
===
--- build.mk2012-06-10 21:12:29 UTC (rev 161391)
+++ build.mk2012-06-11 00:02:41 UTC (rev 161392)
@@ -117,7 +117,7 @@
 BUILD_DOCBOOK_HTML = NO
 BUILD_DOCBOOK_PS   = NO
 BUILD_DOCBOOK_PDF  = NO
-LAX_DEPENDENCIES   = NO
+LAX_DEPENDENCIES   = YES
 
 endif
 
@@ -134,7 +134,7 @@
 BUILD_DOCBOOK_HTML = NO
 BUILD_DOCBOOK_PS   = NO
 BUILD_DOCBOOK_PDF  = NO
-LAX_DEPENDENCIES   = NO
+LAX_DEPENDENCIES   = YES
 
 # After stage 1 and the libraries have been built, you can uncomment this line:
 

Added: silence-gen_contents_index.diff
===
--- silence-gen_contents_index.diff (rev 0)
+++ silence-gen_contents_index.diff 2012-06-11 00:02:41 UTC (rev 161392)
@@ -0,0 +1,10 @@
+--- ghc-7.4.2/libraries/gen_contents_index.original2012-06-10 
22:23:28.810059378 +
 ghc-7.4.2/libraries/gen_contents_index 2012-06-10 22:24:00.289814576 
+
+@@ -47,7 +47,6 @@
+ esac
+ 
+ # Now create the combined contents and index pages
+-echo $HADDOCK_ARGS
+ $HADDOCK --gen-index --gen-contents -o . \
+  -t Haskell Hierarchical Libraries \
+  -p prologue.txt \



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-04-18 Thread Thomas Dziedzic
Date: Wednesday, April 18, 2012 @ 23:29:48
  Author: tdziedzic
Revision: 156473

remove groups=haskell because ghc is the only one in that group

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |1 -
 1 file changed, 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-04-18 20:20:52 UTC (rev 156472)
+++ PKGBUILD2012-04-19 03:29:48 UTC (rev 156473)
@@ -18,7 +18,6 @@
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
 checkdepends=('python2')
 install='ghc.install'
-groups=('haskell')
 # keep this otherwise a lot of tests will show as unexpected failures... need 
to investigate why using -jn for n  1 does this...
 options=('!makeflags')
 # missing rtl?



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-03-16 Thread Thomas Dziedzic
Date: Friday, March 16, 2012 @ 11:12:36
  Author: tdziedzic
Revision: 153602

happy is not needed for the src distribution build

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-16 15:10:42 UTC (rev 153601)
+++ PKGBUILD2012-03-16 15:12:36 UTC (rev 153602)
@@ -15,7 +15,7 @@
 license=('custom')
 # libffi might be needed in the future: 
http://hackage.haskell.org/trac/ghc/ticket/4496
 depends=('perl' 'gmp=5.0' 'gcc') # 'libffi')
-makedepends=('ghc' 'happy' 'perl' 'libxslt' 'docbook-xsl')
+makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
 checkdepends=('python2')
 install='ghc.install'
 groups=('haskell')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-03-16 Thread Thomas Dziedzic
Date: Friday, March 16, 2012 @ 14:35:54
  Author: tdziedzic
Revision: 153628

add !makeflags to fix lots of tests, todo: figure out wtf

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-16 18:24:30 UTC (rev 153627)
+++ PKGBUILD2012-03-16 18:35:54 UTC (rev 153628)
@@ -19,6 +19,8 @@
 checkdepends=('python2')
 install='ghc.install'
 groups=('haskell')
+# keep this otherwise a lot of tests will show as unexpected failures... need 
to investigate why using -jn for n  1 does this...
+options=('!makeflags')
 # missing rtl?
 provides=('haskell-array=0.4.0.0'
   'haskell-base=4.5.0.0'
@@ -96,7 +98,8 @@
   sed -e 's_#!/usr/bin/env python_2_' -i testsuite/timeout/calibrate 
testsuite/timeout/timeout.py
 
   # note: there is one test failure on i686 only: 
http://hackage.haskell.org/trac/ghc/ticket/5856
-  make THREADS=9 test
+  #make THREADS=9 test
+  make test
   # might be some failures
   #make fulltest
 }



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-03-11 Thread Thomas Dziedzic
Date: Sunday, March 11, 2012 @ 20:30:31
  Author: tdziedzic
Revision: 153047

remove libffi from deps and add note for future

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-12 00:28:07 UTC (rev 153046)
+++ PKGBUILD2012-03-12 00:30:31 UTC (rev 153047)
@@ -13,7 +13,8 @@
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
 license=('custom')
-depends=('perl' 'gmp=5.0' 'gcc' 'libffi')
+# libffi might be needed in the future: 
http://hackage.haskell.org/trac/ghc/ticket/4496
+depends=('perl' 'gmp=5.0' 'gcc') # 'libffi')
 makedepends=('ghc' 'happy' 'perl' 'libxslt' 'docbook-xsl')
 checkdepends=('python2')
 install='ghc.install'



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-03-01 Thread Thomas Dziedzic
Date: Thursday, March 1, 2012 @ 12:29:19
  Author: tdziedzic
Revision: 151726

update notes

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2012-03-01 17:03:38 UTC (rev 151725)
+++ PKGBUILD2012-03-01 17:29:19 UTC (rev 151726)
@@ -18,6 +18,7 @@
 checkdepends=('python2')
 install='ghc.install'
 groups=('haskell')
+# missing rtl?
 provides=('haskell-array=0.4.0.0'
   'haskell-base=4.5.0.0'
   'haskell-binary=0.5.1.0'



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-02-27 Thread Thomas Dziedzic
Date: Monday, February 27, 2012 @ 13:24:45
  Author: tdziedzic
Revision: 151577

update comments

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 --
 1 file changed, 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-27 18:21:15 UTC (rev 151576)
+++ PKGBUILD2012-02-27 18:24:45 UTC (rev 151577)
@@ -5,8 +5,6 @@
 #   ghc places a unique hash for each library when it is built.
 #   Libraries depend on versions specified by those hashes.
 #   This implies that all libraries need to be rebuilt when ghc is rebuilt.
-#   Also, due to dependency loop problems, haskell-ghc-paths and haddock
-#   do not carry version dependencies. You will have to remember to build them 
too.
 
 pkgname=ghc
 pkgver=7.4.1



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-02-24 Thread Thomas Dziedzic
Date: Friday, February 24, 2012 @ 13:58:50
  Author: tdziedzic
Revision: 151082

upgpkg: ghc 7.4.1-2

rebuild ghc against latest happy

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-24 18:27:05 UTC (rev 151081)
+++ PKGBUILD2012-02-24 18:58:50 UTC (rev 151082)
@@ -1,4 +1,5 @@
 # $Id$
+# Maintainer: Thomas Dziedzic gos...@gmail.com
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 # Special note for devs looking to upgrade this package:
 #   ghc places a unique hash for each library when it is built.
@@ -9,12 +10,12 @@
 
 pkgname=ghc
 pkgver=7.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
 license=('custom')
-depends=('perl' 'gmp=5.0' 'gcc')
+depends=('perl' 'gmp=5.0' 'gcc' 'libffi')
 makedepends=('ghc' 'happy' 'perl' 'libxslt' 'docbook-xsl')
 checkdepends=('python2')
 install='ghc.install'
@@ -84,7 +85,7 @@
   ./configure \
 --prefix=/usr
 
-  make -j9
+  make -j4 -l8
 }
 
 check() {



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-02-24 Thread Thomas Dziedzic
Date: Friday, February 24, 2012 @ 14:01:50
  Author: tdziedzic
Revision: 151084

make ioni happy

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-24 18:59:29 UTC (rev 151083)
+++ PKGBUILD2012-02-24 19:01:50 UTC (rev 151084)
@@ -85,7 +85,7 @@
   ./configure \
 --prefix=/usr
 
-  make -j4 -l8
+  make
 }
 
 check() {



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2012-02-23 Thread Thomas Dziedzic
Date: Thursday, February 23, 2012 @ 22:48:07
  Author: tdziedzic
Revision: 150937

replace ${pkgname} with ghc

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-02-24 02:53:37 UTC (rev 150936)
+++ PKGBUILD2012-02-24 03:48:07 UTC (rev 150937)
@@ -77,7 +77,7 @@
  '82b67cdd24a2e434a4399f30f14b21a3')
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd ghc-${pkgver}
 
   cp ${srcdir}/build.mk mk/build.mk
 
@@ -88,7 +88,7 @@
 }
 
 check() {
-  cd ${pkgname}-${pkgver}
+  cd ghc-${pkgver}
 
   # python2 rename
   sed -e 's/PYTHON = python/2/' -i testsuite/mk/boilerplate.mk
@@ -101,7 +101,7 @@
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ghc-${pkgver}
 
   make DESTDIR=${pkgdir} install
 



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-11-23 Thread Vesa Kaihlavirta
Date: Wednesday, November 23, 2011 @ 10:43:48
  Author: vesa
Revision: 143221

fix FS#18917 and pkgrel bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-23 14:06:08 UTC (rev 143220)
+++ PKGBUILD2011-11-23 15:43:48 UTC (rev 143221)
@@ -8,7 +8,7 @@
 #   do not carry version dependencies. You will have to remember to build them 
too.
 pkgname=ghc
 pkgver=7.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
@@ -16,7 +16,6 @@
 depends=('perl' 'gmp=5.0' gcc)
 makedepends=(ghc happy perl libxslt docbook-xsl)
 install=ghc.install
-options=(!strip)
 groups=(haskell)
 source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2;
 build.mk)



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-11-23 Thread Vesa Kaihlavirta
Date: Wednesday, November 23, 2011 @ 16:23:50
  Author: vesa
Revision: 143242

remove silly || return 1

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-23 21:23:45 UTC (rev 143241)
+++ PKGBUILD2011-11-23 21:23:50 UTC (rev 143242)
@@ -26,7 +26,7 @@
   cp $srcdir/build.mk mk/build.mk
 
   ./configure --prefix=/usr 
-  make -j1 || return 1
+  make -j1 
 }
 
 package() {



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-11-19 Thread Vesa Kaihlavirta
Date: Saturday, November 19, 2011 @ 07:13:49
  Author: vesa
Revision: 142977

upstream upgrade to 7.2.2
add package group

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   44 
 1 file changed, 4 insertions(+), 40 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-19 11:40:12 UTC (rev 142976)
+++ PKGBUILD2011-11-19 12:13:49 UTC (rev 142977)
@@ -7,53 +7,17 @@
 #   Also, due to dependency loop problems, haskell-ghc-paths and haddock
 #   do not carry version dependencies. You will have to remember to build them 
too.
 pkgname=ghc
-pkgver=7.0.3
-pkgrel=2
+pkgver=7.2.2
+pkgrel=1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
 depends=('perl' 'gmp=5.0' gcc)
 makedepends=(ghc happy perl libxslt docbook-xsl)
-provides=(haskell-array=0.3.0.2
-  haskell-bytestring=0.9.1.10
-  haskell-cabal=1.10.1.0
-  haskell-containers=0.4.0.0
-  haskell-directory=1.1.0.0   
-  haskell-extensible-exceptions=0.1.1.2
-  haskell-filepath=1.2.0.0
-  haskell-haskell98=1.1.0.1
-  haskell-hpc=0.5.0.6
-  haskell-old-locale=1.0.0.2
-  haskell-old-time=1.0.0.6
-  haskell-pretty=1.0.1.2
-  haskell-process=1.0.1.5
-  haskell-random=1.0.0.3
-  haskell-template-haskell=2.5.0.0
-  haskell-time=1.2.0.3
-  haskell-unix=2.4.2.0
- )
-replaces=(haskell-array0.3.0.2 
-  haskell-bytestring0.9.1.10
-  haskell-cabal1.10.1.0
-  haskell-containers0.4.0.0
-  haskell-directory1.1.0.0
-  haskell-extensible-exceptions0.1.1.2
-  haskell-filepath1.2.0.0
-  haskell-haskell981.1.0.1
-  haskell-hpc0.5.0.6
-  haskell-old-locale1.0.0.2
-  haskell-old-time1.0.0.6
-  haskell-pretty1.0.1.2
-  haskell-process1.0.1.5
-  haskell-random1.0.0.3
-  haskell-template-haskell2.5.0.0
-  haskell-time1.2.0.3
-  haskell-unix2.4.2.0
- )
-
 install=ghc.install
 options=(!strip)
+groups=(haskell)
 source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2;
 build.mk)
 
@@ -75,5 +39,5 @@
   install -d $pkgdir/usr/share/haskell
 }
 
-md5sums=('10bc5e9ae1b581404376efb85f260ff3'
+md5sums=('fa19d9fe5049b7a1352b0b7c9880c141'
  '5a3e0880c80b1dcecf779ff2e63a9c0d')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-06-22 Thread Vesa Kaihlavirta
Date: Wednesday, June 22, 2011 @ 06:54:11
  Author: vesa
Revision: 128106

new HP / ghc-7.0.3-2

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   15 ++-
 1 file changed, 2 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-21 19:34:05 UTC (rev 128105)
+++ PKGBUILD2011-06-22 10:54:11 UTC (rev 128106)
@@ -7,8 +7,8 @@
 #   Also, due to dependency loop problems, haskell-ghc-paths and haddock
 #   do not carry version dependencies. You will have to remember to build them 
too.
 pkgname=ghc
-pkgver=7.0.4
-pkgrel=1
+pkgver=7.0.3
+pkgrel=2
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
@@ -62,9 +62,6 @@
 
   cp $srcdir/build.mk mk/build.mk
 
-  # FS#17875
-  sed -i 's/INSTALL_SHELL_WRAPPER = YES/INSTALL_SHELL_WRAPPER = NO/' 
utils/haddock/ghc.mk 
-
   ./configure --prefix=/usr 
   make -j1 || return 1
 }
@@ -76,15 +73,7 @@
 
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
   install -d $pkgdir/usr/share/haskell
-
-  rm $pkgdir/usr/bin/haddock 
 }
 
-md5sums=('946a18a0dc30437db72c0d3fdf26ca42'
- '5a3e0880c80b1dcecf779ff2e63a9c0d')
 md5sums=('10bc5e9ae1b581404376efb85f260ff3'
  '5a3e0880c80b1dcecf779ff2e63a9c0d')
-md5sums=('10bc5e9ae1b581404376efb85f260ff3'
- '5a3e0880c80b1dcecf779ff2e63a9c0d')
-md5sums=('f167b0b4538d1a56788f43fcc662b568'
- '5a3e0880c80b1dcecf779ff2e63a9c0d')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-06-19 Thread Vesa Kaihlavirta
Date: Sunday, June 19, 2011 @ 05:30:02
  Author: vesa
Revision: 127887

upstream ghc-7.0.4

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-19 07:40:30 UTC (rev 127886)
+++ PKGBUILD2011-06-19 09:30:02 UTC (rev 127887)
@@ -7,7 +7,7 @@
 #   Also, due to dependency loop problems, haskell-ghc-paths and haddock
 #   do not carry version dependencies. You will have to remember to build them 
too.
 pkgname=ghc
-pkgver=7.0.3
+pkgver=7.0.4
 pkgrel=1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
@@ -84,3 +84,7 @@
  '5a3e0880c80b1dcecf779ff2e63a9c0d')
 md5sums=('10bc5e9ae1b581404376efb85f260ff3'
  '5a3e0880c80b1dcecf779ff2e63a9c0d')
+md5sums=('10bc5e9ae1b581404376efb85f260ff3'
+ '5a3e0880c80b1dcecf779ff2e63a9c0d')
+md5sums=('f167b0b4538d1a56788f43fcc662b568'
+ '5a3e0880c80b1dcecf779ff2e63a9c0d')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-04-18 Thread Vesa Kaihlavirta
Date: Monday, April 18, 2011 @ 05:44:35
  Author: vesa
Revision: 120001

upstream up

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-04-18 09:41:01 UTC (rev 12)
+++ PKGBUILD2011-04-18 09:44:35 UTC (rev 120001)
@@ -7,8 +7,8 @@
 #   Also, due to dependency loop problems, haskell-ghc-paths and haddock
 #   do not carry version dependencies. You will have to remember to build them 
too.
 pkgname=ghc
-pkgver=7.0.2
-pkgrel=2
+pkgver=7.0.3
+pkgrel=1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
@@ -82,3 +82,5 @@
 
 md5sums=('946a18a0dc30437db72c0d3fdf26ca42'
  '5a3e0880c80b1dcecf779ff2e63a9c0d')
+md5sums=('10bc5e9ae1b581404376efb85f260ff3'
+ '5a3e0880c80b1dcecf779ff2e63a9c0d')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-17 Thread Vesa Kaihlavirta
Date: Thursday, March 17, 2011 @ 05:04:29
  Author: vesa
Revision: 115136

add a note

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |6 ++
 1 file changed, 6 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-17 07:33:01 UTC (rev 115135)
+++ PKGBUILD2011-03-17 09:04:29 UTC (rev 115136)
@@ -1,5 +1,11 @@
 # $Id$
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Special note for devs looking to upgrade this package:
+#   ghc places a unique hash for each library when it is built.
+#   Libraries depend on versions specified by those hashes.
+#   This implies that all libraries need to be rebuilt when ghc is rebuilt.
+#   Also, due to dependency loop problems, haskell-ghc-paths and haddock
+#   do not carry version dependencies. You will have to remember to build them 
too.
 pkgname=ghc
 pkgver=7.0.2
 pkgrel=2



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-15 Thread Vesa Kaihlavirta
Date: Tuesday, March 15, 2011 @ 05:16:12
  Author: vesa
Revision: 114660

7.0.2-2 upload

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |7 +++
 1 file changed, 7 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-15 09:07:10 UTC (rev 114659)
+++ PKGBUILD2011-03-15 09:16:12 UTC (rev 114660)
@@ -61,10 +61,17 @@
 
   ./configure --prefix=/usr 
   make -j1 || return 1
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  
   make DESTDIR=$pkgdir install
 
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
   install -d $pkgdir/usr/share/haskell
+
+  rm $pkgdir/usr/bin/haddock 
 }
 
 md5sums=('946a18a0dc30437db72c0d3fdf26ca42'



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-14 Thread Vesa Kaihlavirta
Date: Monday, March 14, 2011 @ 04:24:52
  Author: vesa
Revision: 114483

Oh, really add !strip this time (fix #23247)

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-14 08:08:57 UTC (rev 114482)
+++ PKGBUILD2011-03-14 08:24:52 UTC (rev 114483)
@@ -49,7 +49,7 @@
  )
 
 install=ghc.install
-
+options=(!strip)
 source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2;
 build.mk)
 



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-14 Thread Vesa Kaihlavirta
Date: Monday, March 14, 2011 @ 05:58:54
  Author: vesa
Revision: 114559

Try Ginius's patch on FS#17875

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-14 09:54:26 UTC (rev 114558)
+++ PKGBUILD2011-03-14 09:58:54 UTC (rev 114559)
@@ -26,7 +26,6 @@
   haskell-template-haskell=2.5.0.0
   haskell-time=1.2.0.3
   haskell-unix=2.4.2.0
-  haddock=2.9.2
  )
 replaces=(haskell-array0.3.0.2 
   haskell-bytestring0.9.1.10
@@ -45,7 +44,6 @@
   haskell-template-haskell2.5.0.0
   haskell-time1.2.0.3
   haskell-unix2.4.2.0
-  haddock2.9.2
  )
 
 install=ghc.install
@@ -58,6 +56,9 @@
 
   cp $srcdir/build.mk mk/build.mk
 
+  # FS#17875
+  sed -i 's/INSTALL_SHELL_WRAPPER = YES/INSTALL_SHELL_WRAPPER = NO/' 
utils/haddock/ghc.mk 
+
   ./configure --prefix=/usr 
   make -j1 || return 1
   make DESTDIR=$pkgdir install



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-13 Thread Vesa Kaihlavirta
Date: Sunday, March 13, 2011 @ 07:23:34
  Author: vesa
Revision: 114407

fixes for FS#21365, #18917 and possibly 23247

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-13 10:38:54 UTC (rev 114406)
+++ PKGBUILD2011-03-13 11:23:34 UTC (rev 114407)
@@ -2,12 +2,12 @@
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
 pkgver=7.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
-depends=('perl' 'gmp=5.0' gcc)
+depends=('perl' 'gmp=5.0' gcc libxslt docbook-xsl)
 makedepends=(ghc happy perl)
 provides=(haskell-array=0.3.0.2
   haskell-bytestring=0.9.1.10
@@ -63,6 +63,7 @@
   make DESTDIR=$pkgdir install
 
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
+  install -d $pkgdir/usr/share/haskell
 }
 
 md5sums=('946a18a0dc30437db72c0d3fdf26ca42'



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-13 Thread Vesa Kaihlavirta
Date: Sunday, March 13, 2011 @ 09:51:57
  Author: vesa
Revision: 114424

xsl libs makedepends, not depends

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-13 13:07:20 UTC (rev 114423)
+++ PKGBUILD2011-03-13 13:51:57 UTC (rev 114424)
@@ -7,8 +7,8 @@
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
-depends=('perl' 'gmp=5.0' gcc libxslt docbook-xsl)
-makedepends=(ghc happy perl)
+depends=('perl' 'gmp=5.0' gcc)
+makedepends=(ghc happy perl libxslt docbook-xsl)
 provides=(haskell-array=0.3.0.2
   haskell-bytestring=0.9.1.10
   haskell-cabal=1.10.1.0



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-03 Thread Vesa Kaihlavirta
Date: Thursday, March 3, 2011 @ 16:52:33
  Author: vesa
Revision: 112099

7.0.2!

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   36 +---
 1 file changed, 17 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-03 20:59:36 UTC (rev 112098)
+++ PKGBUILD2011-03-03 21:52:33 UTC (rev 112099)
@@ -1,7 +1,7 @@
 # $Id$
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
-pkgver=7.0.1
+pkgver=7.0.2
 pkgrel=1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
@@ -10,50 +10,48 @@
 depends=('perl' 'gmp=5.0' gcc)
 makedepends=(ghc happy perl)
 provides=(haskell-array=0.3.0.2
-  haskell-bytestring=0.9.1.8
-  haskell-cabal=1.10.0.0
+  haskell-bytestring=0.9.1.10
+  haskell-cabal=1.10.1.0
   haskell-containers=0.4.0.0
   haskell-directory=1.1.0.0   
   haskell-extensible-exceptions=0.1.1.2
   haskell-filepath=1.2.0.0
-  haskell-haskell98=1.1.0.0
+  haskell-haskell98=1.1.0.1
   haskell-hpc=0.5.0.6
   haskell-old-locale=1.0.0.2
   haskell-old-time=1.0.0.6
   haskell-pretty=1.0.1.2
-  haskell-process=1.0.1.4
+  haskell-process=1.0.1.5
   haskell-random=1.0.0.3
-  #haskell-syb=0.1.0.2
   haskell-template-haskell=2.5.0.0
   haskell-time=1.2.0.3
-  haskell-unix=2.4.1.0
-  haddock=2.8.0
+  haskell-unix=2.4.2.0
+  haddock=2.9.2
  )
 replaces=(haskell-array0.3.0.2 
-  haskell-bytestring0.9.1.8
-  haskell-cabal1.10.0.0
+  haskell-bytestring0.9.1.10
+  haskell-cabal1.10.1.0
   haskell-containers0.4.0.0
   haskell-directory1.1.0.0
   haskell-extensible-exceptions0.1.1.2
   haskell-filepath1.2.0.0
-  haskell-haskell981.1.0.0
+  haskell-haskell981.1.0.1
   haskell-hpc0.5.0.6
   haskell-old-locale1.0.0.2
   haskell-old-time1.0.0.6
   haskell-pretty1.0.1.2
-  haskell-process1.0.1.4
+  haskell-process1.0.1.5
   haskell-random1.0.0.3
-#  haskell-syb0.1.0.2
   haskell-template-haskell2.5.0.0
-  haskell-time1.2.0.30
-  haskell-unix2.4.1.0
-  haddock2.8.0
+  haskell-time1.2.0.3
+  haskell-unix2.4.2.0
+  haddock2.9.2
  )
 
-backup=(usr/lib/ghc-7.0.1/package.conf)
+backup=(usr/lib/ghc-7.0.2/package.conf)
 install=ghc.install
 
-source=(http://new-www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2;
+source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2;
 build.mk)
 
 build() {
@@ -68,5 +66,5 @@
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
 }
 
-md5sums=('91814d1de48c661fd79ffa810026ed19'
+md5sums=('946a18a0dc30437db72c0d3fdf26ca42'
  '5a3e0880c80b1dcecf779ff2e63a9c0d')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2011-03-03 Thread Vesa Kaihlavirta
Date: Friday, March 4, 2011 @ 02:57:42
  Author: vesa
Revision: 112131

7.0.2 to staging

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |1 -
 1 file changed, 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-04 05:36:40 UTC (rev 112130)
+++ PKGBUILD2011-03-04 07:57:42 UTC (rev 112131)
@@ -48,7 +48,6 @@
   haddock2.9.2
  )
 
-backup=(usr/lib/ghc-7.0.2/package.conf)
 install=ghc.install
 
 source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2;



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-11-15 Thread Vesa Kaihlavirta
Date: Tuesday, November 16, 2010 @ 02:53:47
  Author: vesa
Revision: 99684

7.0.1 upstream to testing

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-11-16 00:28:49 UTC (rev 99683)
+++ PKGBUILD2010-11-16 07:53:47 UTC (rev 99684)
@@ -1,7 +1,7 @@
 # $Id$
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
-pkgver=6.12.3
+pkgver=7.0.1
 pkgrel=1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
@@ -9,51 +9,51 @@
 license=(custom)
 depends=('perl' 'gmp=5.0' gcc)
 makedepends=(ghc happy perl)
-provides=(haskell-array=0.3.0.1
-  haskell-bytestring=0.9.1.7
-  haskell-cabal=1.8.0.6
-  haskell-containers=0.3.0.0
-  haskell-directory=1.0.1.1   
-  haskell-extensible-exceptions=0.1.1.1
-  haskell-filepath=1.1.0.4
-  haskell-haskell98=1.0.1.1
-  haskell-hpc=0.5.0.5
+provides=(haskell-array=0.3.0.2
+  haskell-bytestring=0.9.1.8
+  haskell-cabal=1.10.0.0
+  haskell-containers=0.4.0.0
+  haskell-directory=1.1.0.0   
+  haskell-extensible-exceptions=0.1.1.2
+  haskell-filepath=1.2.0.0
+  haskell-haskell98=1.1.0.0
+  haskell-hpc=0.5.0.6
   haskell-old-locale=1.0.0.2
-  haskell-old-time=1.0.0.5
-  haskell-pretty=1.0.1.1
-  haskell-process=1.0.1.3
-  haskell-random=1.0.0.2
-  haskell-syb=0.1.0.2
-  haskell-template-haskell=2.4.0.1
-  haskell-time=1.1.4
-  haskell-unix=2.4.0.2
-  haddock=2.6.0
+  haskell-old-time=1.0.0.6
+  haskell-pretty=1.0.1.2
+  haskell-process=1.0.1.4
+  haskell-random=1.0.0.3
+  #haskell-syb=0.1.0.2
+  haskell-template-haskell=2.5.0.0
+  haskell-time=1.2.0.3
+  haskell-unix=2.4.1.0
+  haddock=2.8.0
  )
-replaces=(haskell-array0.3.0.1 
-  haskell-bytestring0.9.1.7
-  haskell-cabal1.8.0.6
-  haskell-containers0.3.0.0
-  haskell-directory1.0.1.1
-  haskell-extensible-exceptions0.1.1.1
-  haskell-filepath1.1.0.4
-  haskell-haskell981.0.1.1
-  haskell-hpc0.5.0.5
+replaces=(haskell-array0.3.0.2 
+  haskell-bytestring0.9.1.8
+  haskell-cabal1.10.0.0
+  haskell-containers0.4.0.0
+  haskell-directory1.1.0.0
+  haskell-extensible-exceptions0.1.1.2
+  haskell-filepath1.2.0.0
+  haskell-haskell981.1.0.0
+  haskell-hpc0.5.0.6
   haskell-old-locale1.0.0.2
-  haskell-old-time1.0.0.5
-  haskell-pretty1.0.1.1
-  haskell-process1.0.1.3
-  haskell-random1.0.0.2
-  haskell-syb0.1.0.2
-  haskell-template-haskell2.4.0.1
-  haskell-time1.1.4
-  haskell-unix2.4.0.2
-  haddock2.6.0
+  haskell-old-time1.0.0.6
+  haskell-pretty1.0.1.2
+  haskell-process1.0.1.4
+  haskell-random1.0.0.3
+#  haskell-syb0.1.0.2
+  haskell-template-haskell2.5.0.0
+  haskell-time1.2.0.30
+  haskell-unix2.4.1.0
+  haddock2.8.0
  )
 
-backup=(usr/lib/ghc-6.12.3/package.conf)
+backup=(usr/lib/ghc-7.0.1/package.conf)
 install=ghc.install
 
-source=(http://darcs.haskell.org/download/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2;
 \
+source=(http://new-www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2;
 build.mk)
 
 build() {
@@ -68,5 +68,5 @@
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
 }
 
-md5sums=('4c2663c2eff833d7b9f39ef770eefbd6'
+md5sums=('91814d1de48c661fd79ffa810026ed19'
  '5a3e0880c80b1dcecf779ff2e63a9c0d')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-08-12 Thread Vesa Kaihlavirta
Date: Thursday, August 12, 2010 @ 05:27:12
  Author: vesa
Revision: 87306

starting the long journey to upstream 6.12.3

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   54 +++---
 1 file changed, 27 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-08-12 08:40:59 UTC (rev 87305)
+++ PKGBUILD2010-08-12 09:27:12 UTC (rev 87306)
@@ -1,61 +1,61 @@
 # $Id$
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
-pkgver=6.12.1
-pkgrel=4
+pkgver=6.12.3
+pkgrel=1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
 depends=('perl' 'gmp=5.0' gcc)
 makedepends=(ghc happy perl)
-provides=(haskell-array=0.3.0.0
-  haskell-bytestring=0.9.1.5
-  haskell-cabal=1.8.0.2
+provides=(haskell-array=0.3.0.1
+  haskell-bytestring=0.9.1.7
+  haskell-cabal=1.8.0.6
   haskell-containers=0.3.0.0
-  haskell-directory=1.0.1.0   
+  haskell-directory=1.0.1.1   
   haskell-extensible-exceptions=0.1.1.1
-  haskell-filepath=1.1.0.3
+  haskell-filepath=1.1.0.4
   haskell-haskell98=1.0.1.1
-  haskell-hpc=0.5.0.4
+  haskell-hpc=0.5.0.5
   haskell-old-locale=1.0.0.2
-  haskell-old-time=1.0.0.3
+  haskell-old-time=1.0.0.5
   haskell-pretty=1.0.1.1
-  haskell-process=1.0.1.2
+  haskell-process=1.0.1.3
   haskell-random=1.0.0.2
   haskell-syb=0.1.0.2
-  haskell-template-haskell=2.4.0.0
+  haskell-template-haskell=2.4.0.1
   haskell-time=1.1.4
-  haskell-unix=2.4.0.0
+  haskell-unix=2.4.0.2
   haskell-utf8-string=0.3.4
   haddock=2.6.0
  )
-replaces=(haskell-array0.3.0.0 
-  haskell-bytestring0.9.1.5
-  haskell-cabal1.8.0.2
+replaces=(haskell-array0.3.0.1 
+  haskell-bytestring0.9.1.7
+  haskell-cabal1.8.0.6
   haskell-containers0.3.0.0
-  haskell-directory1.0.1.0
+  haskell-directory1.0.1.1
   haskell-extensible-exceptions0.1.1.1
-  haskell-filepath1.1.0.3
+  haskell-filepath1.1.0.4
   haskell-haskell981.0.1.1
-  haskell-hpc0.5.0.4
+  haskell-hpc0.5.0.5
   haskell-old-locale1.0.0.2
-  haskell-old-time1.0.0.3
+  haskell-old-time1.0.0.5
   haskell-pretty1.0.1.1
-  haskell-process1.0.1.2
+  haskell-process1.0.1.3
   haskell-random1.0.0.2
   haskell-syb0.1.0.2
-  haskell-template-haskell2.4.0.0
+  haskell-template-haskell2.4.0.1
   haskell-time1.1.4
-  haskell-unix2.4.0.0
+  haskell-unix2.4.0.2
   haskell-utf8-string0.3.4
   haddock2.6.0
  )
 
-backup=(usr/lib/ghc-6.12.1/package.conf)
+backup=(usr/lib/ghc-6.12.3/package.conf)
 install=ghc.install
 
-source=(http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2; 
\
+source=(http://darcs.haskell.org/download/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2;
 \
 build.mk)
 
 build() {
@@ -69,6 +69,6 @@
 
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
 }
-md5sums=('3a2b23f29013605f721ebdfc29de9c92'
- '5a3e0880c80b1dcecf779ff2e63a9c0d'
- 'd03bca6b591043c0fe996d72dd448919')
+
+md5sums=('4c2663c2eff833d7b9f39ef770eefbd6'
+ '5a3e0880c80b1dcecf779ff2e63a9c0d')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-08-12 Thread Vesa Kaihlavirta
Date: Thursday, August 12, 2010 @ 08:32:29
  Author: vesa
Revision: 87335

6.12.3 = testing6.12.3 = testing6.12.3 = testing6.12.3 = testing6.12.3 = 
testing6.12.3 = testing

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 --
 1 file changed, 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-08-12 12:30:03 UTC (rev 87334)
+++ PKGBUILD2010-08-12 12:32:29 UTC (rev 87335)
@@ -27,7 +27,6 @@
   haskell-template-haskell=2.4.0.1
   haskell-time=1.1.4
   haskell-unix=2.4.0.2
-  haskell-utf8-string=0.3.4
   haddock=2.6.0
  )
 replaces=(haskell-array0.3.0.1 
@@ -48,7 +47,6 @@
   haskell-template-haskell2.4.0.1
   haskell-time1.1.4
   haskell-unix2.4.0.2
-  haskell-utf8-string0.3.4
   haddock2.6.0
  )
 



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-05-17 Thread Vesa Kaihlavirta
Date: Monday, May 17, 2010 @ 03:51:20
  Author: vesa
Revision: 80409

FS#19270: missing gcc makedep

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-05-17 07:51:16 UTC (rev 80408)
+++ PKGBUILD2010-05-17 07:51:20 UTC (rev 80409)
@@ -8,7 +8,7 @@
 url=http://www.haskell.org/ghc/;
 license=(custom)
 depends=('perl' 'gmp=5.0')
-makedepends=(ghc happy perl)
+makedepends=(ghc gcc happy perl)
 provides=(haskell-array=0.3.0.0
   haskell-bytestring=0.9.1.5
   haskell-cabal=1.8.0.2



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-05-17 Thread Vesa Kaihlavirta
Date: Tuesday, May 18, 2010 @ 01:15:36
  Author: vesa
Revision: 80517

FS#19270 makedepends=depends

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-05-18 01:25:46 UTC (rev 80516)
+++ PKGBUILD2010-05-18 05:15:36 UTC (rev 80517)
@@ -7,8 +7,8 @@
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
-depends=('perl' 'gmp=5.0')
-makedepends=(ghc gcc happy perl)
+depends=('perl' 'gmp=5.0' gcc)
+makedepends=(ghc happy perl)
 provides=(haskell-array=0.3.0.0
   haskell-bytestring=0.9.1.5
   haskell-cabal=1.8.0.2



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-04-11 Thread Ionut Biru
Date: Sunday, April 11, 2010 @ 07:35:54
  Author: ibiru
Revision: 77176

fix source array

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-04-11 11:34:46 UTC (rev 77175)
+++ PKGBUILD2010-04-11 11:35:54 UTC (rev 77176)
@@ -56,7 +56,7 @@
 install=ghc.install
 
 source=(http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2; 
\
-build.mk ghc.install)
+build.mk)
 
 build() {
   cd $srcdir/$pkgname-$pkgver



[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk)

2010-03-23 Thread Vesa Kaihlavirta
Date: Tuesday, March 23, 2010 @ 02:35:15
  Author: vesa
Revision: 73149

back to gmp

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/build.mk

--+
 PKGBUILD |5 ++---
 build.mk |2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-03-23 04:54:23 UTC (rev 73148)
+++ PKGBUILD2010-03-23 06:35:15 UTC (rev 73149)
@@ -2,12 +2,12 @@
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
 pkgver=6.12.1
-pkgrel=3.1
+pkgrel=4
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
-depends=(perl)
+depends=(perl gmp=5.0)
 makedepends=(ghc happy perl)
 provides=(haskell-array=0.3.0.0
   haskell-bytestring=0.9.1.5
@@ -64,7 +64,6 @@
   cp ../../build.mk mk/build.mk
 
   ./configure --prefix=/usr 
-  sed -i 's/integer-gmp/integer-simple/' mk/config.mk || return 1
   make -j1 || return 1
   make DESTDIR=$pkgdir install
 

Modified: build.mk
===
--- build.mk2010-03-23 04:54:23 UTC (rev 73148)
+++ build.mk2010-03-23 06:35:15 UTC (rev 73149)
@@ -147,4 +147,4 @@
 NoFibWays =
 STRIP=:
 
-INTEGER_LIBRARY=integer-simple
+



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-03-23 Thread Ionut Biru
Date: Tuesday, March 23, 2010 @ 11:33:31
  Author: ibiru
Revision: 73167

upgpkg: ghc 6.12.1-4
rebuild against gmp 5.0

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-03-23 13:39:31 UTC (rev 73166)
+++ PKGBUILD2010-03-23 15:33:31 UTC (rev 73167)
@@ -7,7 +7,7 @@
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
-depends=(perl gmp=5.0)
+depends=('perl' 'gmp=5.0')
 makedepends=(ghc happy perl)
 provides=(haskell-array=0.3.0.0
   haskell-bytestring=0.9.1.5
@@ -61,7 +61,7 @@
 build() {
   cd $srcdir/$pkgname-$pkgver
 
-  cp ../../build.mk mk/build.mk
+  cp $srcdir/build.mk mk/build.mk
 
   ./configure --prefix=/usr 
   make -j1 || return 1
@@ -70,5 +70,5 @@
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
 }
 md5sums=('3a2b23f29013605f721ebdfc29de9c92'
- '864d94bb869dc0d43a37de8669cc976f'
+ '5a3e0880c80b1dcecf779ff2e63a9c0d'
  'd03bca6b591043c0fe996d72dd448919')



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-03-22 Thread Vesa Kaihlavirta
Date: Monday, March 22, 2010 @ 16:04:13
  Author: vesa
Revision: 73117

upg without gmp

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-03-22 19:52:09 UTC (rev 73116)
+++ PKGBUILD2010-03-22 20:04:13 UTC (rev 73117)
@@ -2,7 +2,7 @@
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
 pkgver=6.12.1
-pkgrel=3
+pkgrel=3.1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
@@ -64,6 +64,7 @@
   cp ../../build.mk mk/build.mk
 
   ./configure --prefix=/usr 
+  sed -i 's/integer-gmp/integer-simple/' mk/config.mk || return 1
   make -j1 || return 1
   make DESTDIR=$pkgdir install
 



[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk)

2010-03-20 Thread Vesa Kaihlavirta
Date: Saturday, March 20, 2010 @ 10:43:38
  Author: vesa
Revision: 72845

Use integer-simple instead of gmp 

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/build.mk

--+
 PKGBUILD |8 
 build.mk |2 ++
 2 files changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-03-20 13:37:43 UTC (rev 72844)
+++ PKGBUILD2010-03-20 14:43:38 UTC (rev 72845)
@@ -2,12 +2,12 @@
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
 pkgver=6.12.1
-pkgrel=2
+pkgrel=3
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
-depends=(gmp perl)
+depends=(perl)
 makedepends=(ghc happy perl)
 provides=(haskell-array=0.3.0.0
   haskell-bytestring=0.9.1.5
@@ -53,7 +53,7 @@
  )
 
 backup=(usr/lib/ghc-6.12.1/package.conf)
-install=(ghc.install)
+install=ghc.install
 
 source=(http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2; 
\
 build.mk ghc.install)
@@ -70,5 +70,5 @@
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
 }
 md5sums=('3a2b23f29013605f721ebdfc29de9c92'
- '31f83779da0e727dbe536ba671281e47'
+ '864d94bb869dc0d43a37de8669cc976f'
  'd03bca6b591043c0fe996d72dd448919')

Modified: build.mk
===
--- build.mk2010-03-20 13:37:43 UTC (rev 72844)
+++ build.mk2010-03-20 14:43:38 UTC (rev 72845)
@@ -146,3 +146,5 @@
 # NoFib settings
 NoFibWays =
 STRIP=:
+
+INTEGER_LIBRARY=integer-simple



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-01-31 Thread Vesa Kaihlavirta
Date: Monday, February 1, 2010 @ 01:46:58
  Author: vesa
Revision: 66646

added haddock provides

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |2 ++
 1 file changed, 2 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2010-02-01 06:45:59 UTC (rev 66645)
+++ PKGBUILD2010-02-01 06:46:58 UTC (rev 66646)
@@ -28,6 +28,7 @@
   haskell-time=1.1.4
   haskell-unix=2.4.0.0
   haskell-utf8-string=0.3.4
+  haddock=2.6.0
  )
 replaces=(haskell-array0.3.0.0 
   haskell-bytestring0.9.1.5
@@ -48,6 +49,7 @@
   haskell-time1.1.4
   haskell-unix2.4.0.0
   haskell-utf8-string0.3.4
+  haddock2.6.0
  )
 
 backup=(usr/lib/ghc-6.12.1/package.conf)



[arch-commits] Commit in ghc/trunk (PKGBUILD)

2010-01-11 Thread Vesa Kaihlavirta
Date: Tuesday, January 12, 2010 @ 02:17:07
  Author: vesa
Revision: 62784

Attempt at including ghc's libs as provides

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   48 +++-
 1 file changed, 43 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-01-12 07:09:37 UTC (rev 62783)
+++ PKGBUILD2010-01-12 07:17:07 UTC (rev 62784)
@@ -2,21 +2,59 @@
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
 pkgver=6.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
 depends=(gmp perl)
 makedepends=(ghc happy perl)
-provides=(haskell-cabal)
-replaces=(haskell-cabal1.6.0.3)
+provides=(haskell-array=0.3.0.0
+  haskell-bytestring=0.9.1.5
+  haskell-cabal=1.8.0.2
+  haskell-containers=0.3.0.0
+  haskell-directory=1.0.1.0   
+  haskell-extensible-exceptions=0.1.1.1
+  haskell-filepath=1.1.0.3
+  haskell-haskell98=1.0.1.1
+  haskell-hpc=0.5.0.4
+  haskell-old-locale=1.0.0.2
+  haskell-old-time=1.0.0.3
+  haskell-pretty=1.0.1.1
+  haskell-process=1.0.1.2
+  haskell-random=1.0.0.2
+  haskell-syb=0.1.0.2
+  haskell-template-haskell=2.4.0.0
+  haskell-time=1.1.4
+  haskell-unix=2.4.0.0
+  haskell-utf8-string=0.3.4
+ )
+replaces=(haskell-array0.3.0.0 
+  haskell-bytestring0.9.1.5
+  haskell-cabal1.8.0.2
+  haskell-containers0.3.0.0
+  haskell-directory1.0.1.0
+  haskell-extensible-exceptions0.1.1.1
+  haskell-filepath1.1.0.3
+  haskell-haskell981.0.1.1
+  haskell-hpc0.5.0.4
+  haskell-old-locale1.0.0.2
+  haskell-old-time1.0.0.3
+  haskell-pretty1.0.1.1
+  haskell-process1.0.1.2
+  haskell-random1.0.0.2
+  haskell-syb0.1.0.2
+  haskell-template-haskell2.4.0.0
+  haskell-time1.1.4
+  haskell-unix2.4.0.0
+  haskell-utf8-string0.3.4
+ )
+
 backup=(usr/lib/ghc-6.12.1/package.conf)
 install=(ghc.install)
 
 source=(http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2; 
\
-#
http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src-extralibs.tar.bz2;
- build.mk ghc.install)
+build.mk ghc.install)
 
 build() {
   cd $srcdir/$pkgname-$pkgver



[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk)

2009-12-12 Thread Vesa Kaihlavirta
Date: Sunday, December 13, 2009 @ 01:02:00
  Author: vesa
Revision: 61179

bump = 6.12.1

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/build.mk

--+
 PKGBUILD |   23 ++-
 build.mk |   93 +++--
 2 files changed, 76 insertions(+), 40 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-13 05:17:07 UTC (rev 61178)
+++ PKGBUILD2009-12-13 06:02:00 UTC (rev 61179)
@@ -1,37 +1,34 @@
 # $Id$
 # Maintainer: Vesa Kaihlavirta v...@archlinux.org
 pkgname=ghc
-pkgver=6.10.4
+pkgver=6.12.1
 pkgrel=1
 pkgdesc=The Glasgow Haskell Compiler
 arch=(i686 x86_64)
 url=http://www.haskell.org/ghc/;
 license=(custom)
-depends=(gmp)
+depends=(gmp perl)
 makedepends=(ghc happy perl)
 provides=(haskell-cabal)
 replaces=(haskell-cabal1.6.0.3)
-backup=(usr/lib/ghc-6.10.4/package.conf)
+backup=(usr/lib/ghc-6.12.1/package.conf)
 install=(ghc.install)
 
 source=(http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2; 
\
-
http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src-extralibs.tar.bz2;
+#
http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src-extralibs.tar.bz2;
  build.mk ghc.install)
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
 
-  cp $startdir/build.mk mk/build.mk
+  cp ../../build.mk mk/build.mk
 
   ./configure --prefix=/usr 
-  make -j2 || return 1
-  make DESTDIR=$startdir/pkg install
+  make -j1 || return 1
+  make DESTDIR=$pkgdir install
 
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
 }
-
-
-md5sums=('167687fa582ef6702aaac24e139ec982'
- '37ce285617d7cebabc3cf6805bdbca25'
- 'a05681b982aad44cc6770bd021e35b67'
+md5sums=('3a2b23f29013605f721ebdfc29de9c92'
+ '31f83779da0e727dbe536ba671281e47'
  'd03bca6b591043c0fe996d72dd448919')

Modified: build.mk
===
--- build.mk2009-12-13 05:17:07 UTC (rev 61178)
+++ build.mk2009-12-13 06:02:00 UTC (rev 61179)
@@ -16,14 +16,16 @@
 # Fast build with optimised libraries:
 #BuildFlavour = quick
 
+# Profile the stage2 compiler:
+#BuildFlavour = prof
+
 # A development build, working on the stage 1 compiler:
 #BuildFlavour = devel1
 
 # A development build, working on the stage 2 compiler:
 #BuildFlavour = devel2
 
-# Which warnings we like to use
-MyWarningOpts   = -W -fno-warn-unused-matches -fwarn-unused-imports
+GhcLibWays = v
 
 #  1. A Performance/Distribution build
 
@@ -36,20 +38,27 @@
 GhcStage2HcOpts = -O2 -fasm
 GhcHcOpts   = -Rghc-timing
 GhcLibHcOpts= -O2 -XGenerics
-GhcLibWays  = p
+GhcLibWays += p
 
+ifeq $(PlatformSupportsSharedLibs) YES
+GhcLibWays += dyn
 endif
 
+endif
+
 #  A Fast build --
 
 ifeq $(BuildFlavour) quickest
 
-SRC_HC_OPTS = -H64m -O0 -fasm
-GhcStage1HcOpts = -O -fasm
-GhcStage2HcOpts = -O0 -fasm
-GhcLibHcOpts= -O0 -fasm
-GhcLibWays  =
-SplitObjs   = NO
+SRC_HC_OPTS= -H64m -O0 -fasm
+GhcStage1HcOpts= -O -fasm
+GhcStage2HcOpts= -O0 -fasm
+GhcLibHcOpts   = -O0 -fasm
+SplitObjs  = NO
+HADDOCK_DOCS   = NO
+BUILD_DOCBOOK_HTML = NO
+BUILD_DOCBOOK_PS   = NO
+BUILD_DOCBOOK_PDF  = NO
 
 endif
 
@@ -57,25 +66,52 @@
 
 ifeq $(BuildFlavour) quick
 
-SRC_HC_OPTS = -H64m -O0 -fasm
-GhcStage1HcOpts = -O -fasm
-GhcStage2HcOpts = -O0 -fasm
-GhcLibHcOpts= -O -fasm
-GhcLibWays  =
-SplitObjs   = NO
+SRC_HC_OPTS= -H64m -O0 -fasm
+GhcStage1HcOpts= -O -fasm
+GhcStage2HcOpts= -O0 -fasm
+GhcLibHcOpts   = -O -fasm
+SplitObjs  = NO
+HADDOCK_DOCS   = NO
+BUILD_DOCBOOK_HTML = NO
+BUILD_DOCBOOK_PS   = NO
+BUILD_DOCBOOK_PDF  = NO
 
 endif
 
+#  Profile the stage2 compiler ---
+
+ifeq $(BuildFlavour) prof
+
+SRC_HC_OPTS= -H64m -O0 -fasm
+GhcStage1HcOpts= -O -fasm
+GhcStage2HcOpts= -O -fasm
+GhcLibHcOpts   = -O -fasm
+
+GhcLibWays += p
+GhcProfiled= YES
+
+SplitObjs  = NO
+HADDOCK_DOCS   = NO
+BUILD_DOCBOOK_HTML = NO
+BUILD_DOCBOOK_PS   = NO
+BUILD_DOCBOOK_PDF  = NO
+
+endif
+
+
 #  A Development build (stage 1) -
 
 ifeq $(BuildFlavour) devel1
 
-SRC_HC_OPTS = -H64m -O -fasm $(MyWarningOpts)
-GhcLibHcOpts= -O -dcore-lint $(MyWarningOpts)
-GhcLibWays  =
-GhcStage1HcOpts = -Rghc-timing -O0 -DDEBUG
-GhcStage2HcOpts = -Rghc-timing -O -fasm
-SplitObjs = NO
+SRC_HC_OPTS= -H64m -O -fasm
+GhcLibHcOpts   = -O -dcore-lint
+GhcStage1HcOpts= -Rghc-timing -O0 -DDEBUG
+GhcStage2HcOpts= -Rghc-timing -O -fasm
+SplitObjs  = NO
+HADDOCK_DOCS   = NO
+BUILD_DOCBOOK_HTML = NO
+BUILD_DOCBOOK_PS   = NO
+BUILD_DOCBOOK_PDF  = NO
 
 endif
 
@@ -83,12 +119,15 @@
 
 ifeq 

[arch-commits] Commit in ghc/trunk (PKGBUILD)

2009-12-06 Thread Allan McRae
Date: Sunday, December 6, 2009 @ 05:44:36
  Author: allan
Revision: 60709

fix source location (FS#17097)

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2009-12-06 10:23:22 UTC (rev 60708)
+++ PKGBUILD2009-12-06 10:44:36 UTC (rev 60709)
@@ -14,8 +14,8 @@
 backup=(usr/lib/ghc-6.10.4/package.conf)
 install=(ghc.install)
 
-source=(http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src.tar.bz2;
 \
-
http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src-extralibs.tar.bz2;
+source=(http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src.tar.bz2; 
\
+
http://www.haskell.org/ghc/dist/$pkgver/$pkgname-$pkgver-src-extralibs.tar.bz2;
  build.mk ghc.install)
 
 build() {