[arch-commits] Commit in ghc/repos (8 files)

2015-12-10 Thread Felix Yan
Date: Thursday, December 10, 2015 @ 09:33:17
  Author: fyan
Revision: 152150

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ghc/repos/community-staging-i686/
  ghc/repos/community-staging-i686/PKGBUILD
(from rev 152149, ghc/trunk/PKGBUILD)
  ghc/repos/community-staging-i686/ghc.install
(from rev 152149, ghc/trunk/ghc.install)
  ghc/repos/community-staging-i686/print-provides-replaces.sh
(from rev 152149, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/community-staging-x86_64/
  ghc/repos/community-staging-x86_64/PKGBUILD
(from rev 152149, ghc/trunk/PKGBUILD)
  ghc/repos/community-staging-x86_64/ghc.install
(from rev 152149, ghc/trunk/ghc.install)
  ghc/repos/community-staging-x86_64/print-provides-replaces.sh
(from rev 152149, ghc/trunk/print-provides-replaces.sh)

-+
 community-staging-i686/PKGBUILD |  108 ++
 community-staging-i686/ghc.install  |   10 +
 community-staging-i686/print-provides-replaces.sh   |   47 +++
 community-staging-x86_64/PKGBUILD   |  108 ++
 community-staging-x86_64/ghc.install|   10 +
 community-staging-x86_64/print-provides-replaces.sh |   47 +++
 6 files changed, 330 insertions(+)

Copied: ghc/repos/community-staging-i686/PKGBUILD (from rev 152149, 
ghc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-10 08:33:17 UTC (rev 152150)
@@ -0,0 +1,108 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: 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.
+#   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.10.3
+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.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'
+  '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')
+replaces=('haskell-array'
+  'haskell-base'
+  'haskell-binary'
+  'haskell-bin-package-db'
+  'haskell-bytestring'
+  'haskell-cabal'
+  'haskell-containers'
+  'haskell-deepseq'
+  'haskell-directory'
+  'haskell-filepath'
+  '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')
+install='ghc.install'
+options=('staticlibs')
+source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgname-$pkgver-src.tar.xz";)
+noextract=("$pkgname-$pkgver-src.tar.xz")
+md5sums=('00104e629bfda9f956c23752b5f38613')
+
+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
+
+  ./configure \
+--prefix=/usr \
+--with-system-libffi \
+--with-ffi-includes=$(pkg-config --variable=includedir libffi)
+  make
+}
+
+package() {
+  cd ghc-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 utils/completion/ghc.bash \
+"$pkgd

[arch-commits] Commit in ghc/repos (8 files)

2015-12-01 Thread Felix Yan
Date: Tuesday, December 1, 2015 @ 09:52:45
  Author: fyan
Revision: 148067

archrelease: copy trunk to community-i686, community-x86_64

Added:
  ghc/repos/community-i686/
  ghc/repos/community-i686/PKGBUILD
(from rev 148066, ghc/trunk/PKGBUILD)
  ghc/repos/community-i686/ghc.install
(from rev 148066, ghc/trunk/ghc.install)
  ghc/repos/community-i686/print-provides-replaces.sh
(from rev 148066, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/community-x86_64/
  ghc/repos/community-x86_64/PKGBUILD
(from rev 148066, ghc/trunk/PKGBUILD)
  ghc/repos/community-x86_64/ghc.install
(from rev 148066, ghc/trunk/ghc.install)
  ghc/repos/community-x86_64/print-provides-replaces.sh
(from rev 148066, ghc/trunk/print-provides-replaces.sh)

-+
 community-i686/PKGBUILD |  107 ++
 community-i686/ghc.install  |   10 ++
 community-i686/print-provides-replaces.sh   |   47 +++
 community-x86_64/PKGBUILD   |  107 ++
 community-x86_64/ghc.install|   10 ++
 community-x86_64/print-provides-replaces.sh |   47 +++
 6 files changed, 328 insertions(+)

Copied: ghc/repos/community-i686/PKGBUILD (from rev 148066, ghc/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-01 08:52:45 UTC (rev 148067)
@@ -0,0 +1,107 @@
+# $Id$
+# 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.
+#   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.10.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.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'
+  '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.22.4.0')
+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-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'
+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
+
+  ./configure \
+--prefix=/usr \
+--with-system-libffi \
+--with-ffi-includes=$(pkg-config --variable=includedir libffi)
+  make
+}
+
+package() {
+  cd ghc-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 utils/completion/ghc.bash \
+"$pkgdir/usr/share/bash-completion/completions/ghc"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: ghc/repos/community-i686/ghc.ins

[arch-commits] Commit in ghc/repos (8 files)

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

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ghc/repos/staging-i686/
  ghc/repos/staging-i686/PKGBUILD
(from rev 248435, ghc/trunk/PKGBUILD)
  ghc/repos/staging-i686/ghc.install
(from rev 248435, ghc/trunk/ghc.install)
  ghc/repos/staging-i686/print-provides-replaces.sh
(from rev 248435, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/staging-x86_64/
  ghc/repos/staging-x86_64/PKGBUILD
(from rev 248435, ghc/trunk/PKGBUILD)
  ghc/repos/staging-x86_64/ghc.install
(from rev 248435, ghc/trunk/ghc.install)
  ghc/repos/staging-x86_64/print-provides-replaces.sh
(from rev 248435, ghc/trunk/print-provides-replaces.sh)

---+
 staging-i686/PKGBUILD |  107 
 staging-i686/ghc.install  |   10 ++
 staging-i686/print-provides-replaces.sh   |   47 
 staging-x86_64/PKGBUILD   |  107 
 staging-x86_64/ghc.install|   10 ++
 staging-x86_64/print-provides-replaces.sh |   47 
 6 files changed, 328 insertions(+)

Copied: ghc/repos/staging-i686/PKGBUILD (from rev 248435, ghc/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-10-06 23:21:38 UTC (rev 248436)
@@ -0,0 +1,107 @@
+# $Id$
+# 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.
+#   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.10.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.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'
+  '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.22.4.0')
+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-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'
+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
+
+  ./configure \
+--prefix=/usr \
+--with-system-libffi \
+--with-ffi-includes=$(pkg-config --variable=includedir libffi)
+  make
+}
+
+package() {
+  cd ghc-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 utils/completion/ghc.bash \
+"$pkgdir/usr/share/bash-completion/completions/ghc"
+
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: ghc/repos/staging-i686/ghc.install (from rev 248435, 
gh

[arch-commits] Commit in ghc/repos (8 files)

2012-03-03 Thread Thomas Dziedzic
Date: Saturday, March 3, 2012 @ 11:05:55
  Author: tdziedzic
Revision: 151872

db-move: moved ghc from [testing] to [extra] (x86_64)

Added:
  ghc/repos/extra-x86_64/PKGBUILD
(from rev 151868, ghc/repos/testing-x86_64/PKGBUILD)
  ghc/repos/extra-x86_64/build.mk
(from rev 151868, ghc/repos/testing-x86_64/build.mk)
  ghc/repos/extra-x86_64/ghc.install
(from rev 151868, ghc/repos/testing-x86_64/ghc.install)
  ghc/repos/extra-x86_64/print-provides-replaces.sh
(from rev 151868, ghc/repos/testing-x86_64/print-provides-replaces.sh)
Deleted:
  ghc/repos/extra-x86_64/PKGBUILD
  ghc/repos/extra-x86_64/build.mk
  ghc/repos/extra-x86_64/ghc.install
  ghc/repos/testing-x86_64/

+
 PKGBUILD   |  191 ++---
 build.mk   |  325 +++
 ghc.install|   29 +--
 print-provides-replaces.sh |   38 +
 4 files changed, 335 insertions(+), 248 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2012-03-03 16:05:54 UTC (rev 151871)
+++ extra-x86_64/PKGBUILD   2012-03-03 16:05:55 UTC (rev 151872)
@@ -1,79 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# 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.3
-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)
-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-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"
- )
-
-install=ghc.install
-options=(!strip)
-source=("http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2";
-build.mk)
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  cp $srcdir/build.mk mk/build.mk
-
-  ./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
-}
-
-md5sums=('10bc5e9ae1b581404376efb85f260ff3'
- '5a3e0880c80b1dcecf779ff2e63a9c0d')

Copied: ghc/repos/extra-x86_64/PKGBUILD (from rev 151868, 
ghc/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2012-03-03 16:05:55 UTC (rev 151872)
@@ -0,0 +1,112 @@
+# $Id$
+# Maintainer: Thomas Dziedzic 
+# Maintainer: Vesa Kaihlavirta 
+# 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.4.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' 'libffi')
+makedepends=('ghc' 'happy' 'perl' 'libxslt' 'docbook-xsl')
+checkdepends=('python2')
+install='ghc.install'
+groups=('haskell')
+provide

[arch-commits] Commit in ghc/repos (8 files)

2012-03-03 Thread Thomas Dziedzic
Date: Saturday, March 3, 2012 @ 11:05:54
  Author: tdziedzic
Revision: 151871

db-move: moved ghc from [testing] to [extra] (i686)

Added:
  ghc/repos/extra-i686/PKGBUILD
(from rev 151868, ghc/repos/testing-i686/PKGBUILD)
  ghc/repos/extra-i686/build.mk
(from rev 151868, ghc/repos/testing-i686/build.mk)
  ghc/repos/extra-i686/ghc.install
(from rev 151868, ghc/repos/testing-i686/ghc.install)
  ghc/repos/extra-i686/print-provides-replaces.sh
(from rev 151868, ghc/repos/testing-i686/print-provides-replaces.sh)
Deleted:
  ghc/repos/extra-i686/PKGBUILD
  ghc/repos/extra-i686/build.mk
  ghc/repos/extra-i686/ghc.install
  ghc/repos/testing-i686/

+
 PKGBUILD   |  191 ++---
 build.mk   |  325 +++
 ghc.install|   29 +--
 print-provides-replaces.sh |   38 +
 4 files changed, 335 insertions(+), 248 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-03-03 16:05:52 UTC (rev 151870)
+++ extra-i686/PKGBUILD 2012-03-03 16:05:54 UTC (rev 151871)
@@ -1,79 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta 
-# 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.3
-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)
-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-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"
- )
-
-install=ghc.install
-options=(!strip)
-source=("http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2";
-build.mk)
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  cp $srcdir/build.mk mk/build.mk
-
-  ./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
-}
-
-md5sums=('10bc5e9ae1b581404376efb85f260ff3'
- '5a3e0880c80b1dcecf779ff2e63a9c0d')

Copied: ghc/repos/extra-i686/PKGBUILD (from rev 151868, 
ghc/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-03-03 16:05:54 UTC (rev 151871)
@@ -0,0 +1,112 @@
+# $Id$
+# Maintainer: Thomas Dziedzic 
+# Maintainer: Vesa Kaihlavirta 
+# 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.4.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' 'libffi')
+makedepends=('ghc' 'happy' 'perl' 'libxslt' 'docbook-xsl')
+checkdepends=('python2')
+install='ghc.install'
+groups=('haskell')
+provides=('haskell-array=0.4.0.0'
+  'haskell-base=4.5.0.0'
+  

[arch-commits] Commit in ghc/repos (8 files)

2011-11-19 Thread Vesa Kaihlavirta
Date: Saturday, November 19, 2011 @ 13:36:55
  Author: vesa
Revision: 142983

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  ghc/repos/testing-i686/
  ghc/repos/testing-i686/PKGBUILD
(from rev 142982, ghc/trunk/PKGBUILD)
  ghc/repos/testing-i686/build.mk
(from rev 142982, ghc/trunk/build.mk)
  ghc/repos/testing-i686/ghc.install
(from rev 142982, ghc/trunk/ghc.install)
  ghc/repos/testing-x86_64/
  ghc/repos/testing-x86_64/PKGBUILD
(from rev 142982, ghc/trunk/PKGBUILD)
  ghc/repos/testing-x86_64/build.mk
(from rev 142982, ghc/trunk/build.mk)
  ghc/repos/testing-x86_64/ghc.install
(from rev 142982, ghc/trunk/ghc.install)

+
 testing-i686/PKGBUILD  |   43 
 testing-i686/build.mk  |  150 +++
 testing-i686/ghc.install   |   19 +
 testing-x86_64/PKGBUILD|   43 
 testing-x86_64/build.mk|  150 +++
 testing-x86_64/ghc.install |   19 +
 6 files changed, 424 insertions(+)

Copied: ghc/repos/testing-i686/PKGBUILD (from rev 142982, ghc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-11-19 18:36:55 UTC (rev 142983)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta 
+# 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.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)
+install=ghc.install
+options=(!strip)
+groups=(haskell)
+source=("http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.bz2";
+build.mk)
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  cp $srcdir/build.mk mk/build.mk
+
+  ./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
+}
+
+md5sums=('fa19d9fe5049b7a1352b0b7c9880c141'
+ '5a3e0880c80b1dcecf779ff2e63a9c0d')

Copied: ghc/repos/testing-i686/build.mk (from rev 142982, ghc/trunk/build.mk)
===
--- testing-i686/build.mk   (rev 0)
+++ testing-i686/build.mk   2011-11-19 18:36:55 UTC (rev 142983)
@@ -0,0 +1,150 @@
+# -
+# A Sample build.mk
+#
+# Uncomment one of the following BuildFlavour settings to get the desired
+# overall build type, and then tweak the options in the relevant section
+# below.
+
+# Uncomment one of these to select a build profile below:
+
+# Full build with max optimisation (slow build)
+BuildFlavour = perf
+
+# Fastest build (libs unoptimised):
+#BuildFlavour = quickest
+
+# 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
+
+GhcLibWays = v
+
+#  1. A Performance/Distribution build
+
+ifeq "$(BuildFlavour)" "perf"
+
+# perf matches the default settings, repeated here for comparison:
+
+SRC_HC_OPTS = -O -H64m
+GhcStage1HcOpts = -O -fasm
+GhcStage2HcOpts = -O2 -fasm
+GhcHcOpts   = -Rghc-timing
+GhcLibHcOpts= -O2 -XGenerics
+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
+SplitObjs  = NO
+HADDOCK_DOCS   = NO
+BUILD_DOCBOOK_HTML = NO
+BUILD_DOCBOOK_PS   = NO
+BUILD_DOCBOOK_PDF  = NO
+
+endif
+
+#  A Fast build with optimised libs --
+
+ifeq "$(BuildFlavour)" "quick"
+
+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 -