[arch-commits] Commit in ghc/trunk (PKGBUILD ghc-register.hook ghc-unregister.hook)
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)
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 ghc-register.hook ghc-unregister.hook)
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 ghc-register.hook ghc-unregister.hook)
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' +