[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Monday, January 4, 2016 @ 15:58:18 Author: spupykin Revision: 155432 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-glib/repos/community-i686/PKGBUILD (from rev 155431, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-i686/gtk2hs-glib.install (from rev 155431, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-x86_64/PKGBUILD (from rev 155431, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-x86_64/gtk2hs-glib.install (from rev 155431, haskell-glib/trunk/gtk2hs-glib.install) Deleted: haskell-glib/repos/community-i686/PKGBUILD haskell-glib/repos/community-i686/gtk2hs-glib.install haskell-glib/repos/community-x86_64/PKGBUILD haskell-glib/repos/community-x86_64/gtk2hs-glib.install --+ /PKGBUILD| 104 + /gtk2hs-glib.install | 36 +++ community-i686/PKGBUILD | 52 community-i686/gtk2hs-glib.install | 18 - community-x86_64/PKGBUILD| 52 community-x86_64/gtk2hs-glib.install | 18 - 6 files changed, 140 insertions(+), 140 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2016-01-04 14:58:03 UTC (rev 155431) +++ community-i686/PKGBUILD 2016-01-04 14:58:18 UTC (rev 155432) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin - -pkgname=haskell-glib -pkgver=0.13.1.0 -pkgrel=6 -pkgdesc="Binding to the GLIB library for Gtk2Hs." -url="http://hackage.haskell.org/package/glib"; -license=('LGPL2.1') -arch=('i686' 'x86_64') -# deps adjusted to specific versions in package() -depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') -makedepends=("gtk2hs-buildtools") -options=('strip' 'staticlibs') -install=gtk2hs-glib.install -provides=('gtk2hs-glib') -replaces=('gtk2hs-glib') -conflicts=('gtk2hs-glib') -source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) -md5sums=('764d3643b07c33879619412394df8396') - -build() { -cd glib-$pkgver -runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ - --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup haddock -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -_update_deps() { -_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` -for i in `seq 0 $(expr ${#depends[@]} - 1)`; do -if [ ${depends[$i]} == $1 ]; then -depends[$i]="$1=${_ver}" -fi -done -} - -package() { -_update_deps ghc - -cd ${srcdir}/glib-${pkgver} -install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh -install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh -install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries -ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/html/libraries/glib -runhaskell Setup copy --destdir=${pkgdir} -} Copied: haskell-glib/repos/community-i686/PKGBUILD (from rev 155431, haskell-glib/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-01-04 14:58:18 UTC (rev 155432) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.13.2.2 +pkgrel=1 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +# deps adjusted to specific versions in package() +depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') +makedepends=("gtk2hs-buildtools") +options=('strip' 'staticlibs') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) +md5sums=('07d3933cab78d69020847af57f7baf70') + +build() { +cd glib-$pkgver +runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ + --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +_update_deps() { +_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` +for i in `seq 0 $(expr ${#depends[@]} - 1)`; do +if [ ${depends[$i]} == $1 ]; then +depends[$i]="$1=${_ver}" +fi +done +} + +package() { +_update_deps ghc + +
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Monday, August 3, 2015 @ 15:38:20 Author: spupykin Revision: 137822 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-glib/repos/community-i686/PKGBUILD (from rev 137821, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-i686/gtk2hs-glib.install (from rev 137821, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-x86_64/PKGBUILD (from rev 137821, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-x86_64/gtk2hs-glib.install (from rev 137821, haskell-glib/trunk/gtk2hs-glib.install) Deleted: haskell-glib/repos/community-i686/PKGBUILD haskell-glib/repos/community-i686/gtk2hs-glib.install haskell-glib/repos/community-x86_64/PKGBUILD haskell-glib/repos/community-x86_64/gtk2hs-glib.install --+ /PKGBUILD| 104 + /gtk2hs-glib.install | 36 +++ community-i686/PKGBUILD | 52 community-i686/gtk2hs-glib.install | 18 - community-x86_64/PKGBUILD| 52 community-x86_64/gtk2hs-glib.install | 18 - 6 files changed, 140 insertions(+), 140 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-08-03 13:38:08 UTC (rev 137821) +++ community-i686/PKGBUILD 2015-08-03 13:38:20 UTC (rev 137822) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin - -pkgname=haskell-glib -pkgver=0.13.1.0 -pkgrel=2 -pkgdesc="Binding to the GLIB library for Gtk2Hs." -url="http://hackage.haskell.org/package/glib"; -license=('LGPL2.1') -arch=('i686' 'x86_64') -# deps adjusted to specific versions in package() -depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') -makedepends=("gtk2hs-buildtools") -options=('strip' 'staticlibs') -install=gtk2hs-glib.install -provides=('gtk2hs-glib') -replaces=('gtk2hs-glib') -conflicts=('gtk2hs-glib') -source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) -md5sums=('764d3643b07c33879619412394df8396') - -build() { -cd glib-$pkgver -runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ - --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup haddock -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -_update_deps() { -_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` -for i in `seq 0 $(expr ${#depends[@]} - 1)`; do -if [ ${depends[$i]} == $1 ]; then -depends[$i]="$1=${_ver}" -fi -done -} - -package() { -_update_deps ghc - -cd ${srcdir}/glib-${pkgver} -install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh -install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh -install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries -ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/html/libraries/glib -runhaskell Setup copy --destdir=${pkgdir} -} Copied: haskell-glib/repos/community-i686/PKGBUILD (from rev 137821, haskell-glib/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-08-03 13:38:20 UTC (rev 137822) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.13.1.0 +pkgrel=3 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +# deps adjusted to specific versions in package() +depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') +makedepends=("gtk2hs-buildtools") +options=('strip' 'staticlibs') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) +md5sums=('764d3643b07c33879619412394df8396') + +build() { +cd glib-$pkgver +runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ + --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +_update_deps() { +_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` +for i in `seq 0 $(expr ${#depends[@]} - 1)`; do +if [ ${depends[$i]} == $1 ]; then +depends[$i]="$1=${_ver}" +fi +done +} + +package() { +_update_deps ghc + +
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Monday, January 12, 2015 @ 13:04:51 Author: spupykin Revision: 125815 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-glib/repos/community-i686/PKGBUILD (from rev 125814, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-i686/gtk2hs-glib.install (from rev 125814, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-x86_64/PKGBUILD (from rev 125814, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-x86_64/gtk2hs-glib.install (from rev 125814, haskell-glib/trunk/gtk2hs-glib.install) Deleted: haskell-glib/repos/community-i686/PKGBUILD haskell-glib/repos/community-i686/gtk2hs-glib.install haskell-glib/repos/community-x86_64/PKGBUILD haskell-glib/repos/community-x86_64/gtk2hs-glib.install --+ /PKGBUILD| 104 + /gtk2hs-glib.install | 36 +++ community-i686/PKGBUILD | 52 community-i686/gtk2hs-glib.install | 18 - community-x86_64/PKGBUILD| 52 community-x86_64/gtk2hs-glib.install | 18 - 6 files changed, 140 insertions(+), 140 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-01-12 12:04:38 UTC (rev 125814) +++ community-i686/PKGBUILD 2015-01-12 12:04:51 UTC (rev 125815) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin - -pkgname=haskell-glib -pkgver=0.13.0.7 -pkgrel=1 -pkgdesc="Binding to the GLIB library for Gtk2Hs." -url="http://hackage.haskell.org/package/glib"; -license=('LGPL2.1') -arch=('i686' 'x86_64') -# deps adjusted to specific versions in package() -depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') -makedepends=("gtk2hs-buildtools") -options=('strip' 'staticlibs') -install=gtk2hs-glib.install -provides=('gtk2hs-glib') -replaces=('gtk2hs-glib') -conflicts=('gtk2hs-glib') -source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) -md5sums=('f98b451ed5aa4ff50ef257590252b159') - -build() { -cd glib-$pkgver -runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ - --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup haddock -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -_update_deps() { -_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` -for i in `seq 0 $(expr ${#depends[@]} - 1)`; do -if [ ${depends[$i]} == $1 ]; then -depends[$i]="$1=${_ver}" -fi -done -} - -package() { -_update_deps ghc - -cd ${srcdir}/glib-${pkgver} -install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh -install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh -install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries -ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/html/libraries/glib -runhaskell Setup copy --destdir=${pkgdir} -} Copied: haskell-glib/repos/community-i686/PKGBUILD (from rev 125814, haskell-glib/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-01-12 12:04:51 UTC (rev 125815) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.13.0.7 +pkgrel=2 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +# deps adjusted to specific versions in package() +depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') +makedepends=("gtk2hs-buildtools") +options=('strip' 'staticlibs') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) +md5sums=('f98b451ed5aa4ff50ef257590252b159') + +build() { +cd glib-$pkgver +runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ + --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +_update_deps() { +_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` +for i in `seq 0 $(expr ${#depends[@]} - 1)`; do +if [ ${depends[$i]} == $1 ]; then +depends[$i]="$1=${_ver}" +fi +done +} + +package() { +_update_deps ghc +
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Sunday, January 11, 2015 @ 14:53:55 Author: spupykin Revision: 125753 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-glib/repos/community-i686/PKGBUILD (from rev 125752, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-i686/gtk2hs-glib.install (from rev 125752, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-x86_64/PKGBUILD (from rev 125752, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-x86_64/gtk2hs-glib.install (from rev 125752, haskell-glib/trunk/gtk2hs-glib.install) Deleted: haskell-glib/repos/community-i686/PKGBUILD haskell-glib/repos/community-i686/gtk2hs-glib.install haskell-glib/repos/community-x86_64/PKGBUILD haskell-glib/repos/community-x86_64/gtk2hs-glib.install --+ /PKGBUILD| 104 + /gtk2hs-glib.install | 36 +++ community-i686/PKGBUILD | 52 community-i686/gtk2hs-glib.install | 18 - community-x86_64/PKGBUILD| 52 community-x86_64/gtk2hs-glib.install | 18 - 6 files changed, 140 insertions(+), 140 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-01-11 13:53:42 UTC (rev 125752) +++ community-i686/PKGBUILD 2015-01-11 13:53:55 UTC (rev 125753) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin - -pkgname=haskell-glib -pkgver=0.13.0.6 -pkgrel=2 -pkgdesc="Binding to the GLIB library for Gtk2Hs." -url="http://hackage.haskell.org/package/glib"; -license=('LGPL2.1') -arch=('i686' 'x86_64') -# deps adjusted to specific versions in package() -depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') -makedepends=("gtk2hs-buildtools") -options=('strip' 'staticlibs') -install=gtk2hs-glib.install -provides=('gtk2hs-glib') -replaces=('gtk2hs-glib') -conflicts=('gtk2hs-glib') -source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) -md5sums=('43c832cf0a1e8bc82c4cc71a373d5f52') - -build() { -cd glib-$pkgver -runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ - --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup haddock -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -_update_deps() { -_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` -for i in `seq 0 $(expr ${#depends[@]} - 1)`; do -if [ ${depends[$i]} == $1 ]; then -depends[$i]="$1=${_ver}" -fi -done -} - -package() { -_update_deps ghc - -cd ${srcdir}/glib-${pkgver} -install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh -install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh -install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries -ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/html/libraries/glib -runhaskell Setup copy --destdir=${pkgdir} -} Copied: haskell-glib/repos/community-i686/PKGBUILD (from rev 125752, haskell-glib/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-01-11 13:53:55 UTC (rev 125753) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.13.0.7 +pkgrel=1 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +# deps adjusted to specific versions in package() +depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') +makedepends=("gtk2hs-buildtools") +options=('strip' 'staticlibs') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) +md5sums=('f98b451ed5aa4ff50ef257590252b159') + +build() { +cd glib-$pkgver +runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ + --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +_update_deps() { +_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` +for i in `seq 0 $(expr ${#depends[@]} - 1)`; do +if [ ${depends[$i]} == $1 ]; then +depends[$i]="$1=${_ver}" +fi +done +} + +package() { +_update_deps ghc +
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Tuesday, December 16, 2014 @ 15:53:33 Author: spupykin Revision: 123986 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-glib/repos/community-i686/PKGBUILD (from rev 123985, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-i686/gtk2hs-glib.install (from rev 123985, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-x86_64/PKGBUILD (from rev 123985, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-x86_64/gtk2hs-glib.install (from rev 123985, haskell-glib/trunk/gtk2hs-glib.install) Deleted: haskell-glib/repos/community-i686/PKGBUILD haskell-glib/repos/community-i686/gtk2hs-glib.install haskell-glib/repos/community-x86_64/PKGBUILD haskell-glib/repos/community-x86_64/gtk2hs-glib.install --+ /PKGBUILD| 104 + /gtk2hs-glib.install | 36 +++ community-i686/PKGBUILD | 52 community-i686/gtk2hs-glib.install | 18 - community-x86_64/PKGBUILD| 52 community-x86_64/gtk2hs-glib.install | 18 - 6 files changed, 140 insertions(+), 140 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2014-12-16 14:53:20 UTC (rev 123985) +++ community-i686/PKGBUILD 2014-12-16 14:53:33 UTC (rev 123986) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin - -pkgname=haskell-glib -pkgver=0.12.5.4 -pkgrel=2 -pkgdesc="Binding to the GLIB library for Gtk2Hs." -url="http://hackage.haskell.org/package/glib"; -license=('LGPL2.1') -arch=('i686' 'x86_64') -# deps adjusted to specific versions in package() -depends=('ghc' 'glib2' 'haskell-utf8-string') -makedepends=("gtk2hs-buildtools") -options=('strip' 'staticlibs') -install=gtk2hs-glib.install -provides=('gtk2hs-glib') -replaces=('gtk2hs-glib') -conflicts=('gtk2hs-glib') -source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) -md5sums=('3923fd267072e99e4aad247e5147d319') - -build() { -cd glib-$pkgver -runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ - --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup haddock -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -_update_deps() { -_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` -for i in `seq 0 $(expr ${#depends[@]} - 1)`; do -if [ ${depends[$i]} == $1 ]; then -depends[$i]="$1=${_ver}" -fi -done -} - -package() { -_update_deps ghc - -cd ${srcdir}/glib-${pkgver} -install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh -install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh -install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries -ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/html/libraries/glib -runhaskell Setup copy --destdir=${pkgdir} -} Copied: haskell-glib/repos/community-i686/PKGBUILD (from rev 123985, haskell-glib/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-12-16 14:53:33 UTC (rev 123986) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.13.0.6 +pkgrel=1 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +# deps adjusted to specific versions in package() +depends=('ghc' 'glib2' 'haskell-utf8-string' 'haskell-text') +makedepends=("gtk2hs-buildtools") +options=('strip' 'staticlibs') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) +md5sums=('43c832cf0a1e8bc82c4cc71a373d5f52') + +build() { +cd glib-$pkgver +runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ + --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +_update_deps() { +_ver=`pacman -Q $1 | cut -f2 -d\ | cut -f1 -d-` +for i in `seq 0 $(expr ${#depends[@]} - 1)`; do +if [ ${depends[$i]} == $1 ]; then +depends[$i]="$1=${_ver}" +fi +done +} + +package() { +_update_deps ghc + +cd ${src
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Monday, March 24, 2014 @ 09:20:18 Author: spupykin Revision: 108165 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-glib/repos/community-i686/PKGBUILD (from rev 108164, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-i686/gtk2hs-glib.install (from rev 108164, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-x86_64/PKGBUILD (from rev 108164, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-x86_64/gtk2hs-glib.install (from rev 108164, haskell-glib/trunk/gtk2hs-glib.install) Deleted: haskell-glib/repos/community-i686/PKGBUILD haskell-glib/repos/community-i686/gtk2hs-glib.install haskell-glib/repos/community-x86_64/PKGBUILD haskell-glib/repos/community-x86_64/gtk2hs-glib.install --+ /PKGBUILD| 88 + /gtk2hs-glib.install | 36 + community-i686/PKGBUILD | 44 community-i686/gtk2hs-glib.install | 18 -- community-x86_64/PKGBUILD| 44 community-x86_64/gtk2hs-glib.install | 18 -- 6 files changed, 124 insertions(+), 124 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2014-03-24 08:20:05 UTC (rev 108164) +++ community-i686/PKGBUILD 2014-03-24 08:20:18 UTC (rev 108165) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin - -pkgname=haskell-glib -pkgver=0.12.5.0 -pkgrel=1 -pkgdesc="Binding to the GLIB library for Gtk2Hs." -url="http://hackage.haskell.org/package/glib"; -license=('LGPL2.1') -arch=('i686' 'x86_64') -# deps adjusted to specific versions in package() -depends=('ghc' 'glib2' 'haskell-utf8-string') -makedepends=("gtk2hs-buildtools") -options=('strip' 'staticlibs') -install=gtk2hs-glib.install -provides=('gtk2hs-glib') -replaces=('gtk2hs-glib') -conflicts=('gtk2hs-glib') -source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) -md5sums=('fa94e2f40641dd2fa0d01a0da3fd7b50') - -build() { -cd glib-$pkgver -runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ - --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup haddock -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -_ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-` -depends=("ghc=${_ghcver}" "glib2" 'haskell-utf8-string') - -cd ${srcdir}/glib-${pkgver} -install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh -install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh -install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries -ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/html/libraries/glib -runhaskell Setup copy --destdir=${pkgdir} -} Copied: haskell-glib/repos/community-i686/PKGBUILD (from rev 108164, haskell-glib/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-03-24 08:20:18 UTC (rev 108165) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.12.5.3 +pkgrel=1 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +# deps adjusted to specific versions in package() +depends=('ghc' 'glib2' 'haskell-utf8-string') +makedepends=("gtk2hs-buildtools") +options=('strip' 'staticlibs') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) +md5sums=('fa062e23f75072dbc52abbb862c4ca8f') + +build() { +cd glib-$pkgver +runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ + --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +_ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-` +depends=("ghc=${_ghcver}" "glib2" 'haskell-utf8-string') + +cd ${srcdir}/glib-${pkgver} +install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh +install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh +install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries +ln -s /usr/shar
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Wednesday, December 4, 2013 @ 15:19:25 Author: spupykin Revision: 102057 archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-glib/repos/community-i686/PKGBUILD (from rev 102056, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-i686/gtk2hs-glib.install (from rev 102056, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-x86_64/PKGBUILD (from rev 102056, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-x86_64/gtk2hs-glib.install (from rev 102056, haskell-glib/trunk/gtk2hs-glib.install) Deleted: haskell-glib/repos/community-i686/PKGBUILD haskell-glib/repos/community-i686/gtk2hs-glib.install haskell-glib/repos/community-x86_64/PKGBUILD haskell-glib/repos/community-x86_64/gtk2hs-glib.install --+ /PKGBUILD| 88 + /gtk2hs-glib.install | 36 + community-i686/PKGBUILD | 44 community-i686/gtk2hs-glib.install | 18 -- community-x86_64/PKGBUILD| 44 community-x86_64/gtk2hs-glib.install | 18 -- 6 files changed, 124 insertions(+), 124 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2013-12-04 14:19:11 UTC (rev 102056) +++ community-i686/PKGBUILD 2013-12-04 14:19:25 UTC (rev 102057) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin - -pkgname=haskell-glib -pkgver=0.12.4 -pkgrel=4 -pkgdesc="Binding to the GLIB library for Gtk2Hs." -url="http://hackage.haskell.org/package/glib"; -license=('LGPL2.1') -arch=('i686' 'x86_64') -# deps adjusted to specific versions in package() -depends=('ghc' 'glib2') -makedepends=("gtk2hs-buildtools") -options=('strip') -install=gtk2hs-glib.install -provides=('gtk2hs-glib') -replaces=('gtk2hs-glib') -conflicts=('gtk2hs-glib') -source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) -md5sums=('3172907258183466f1e604a435285c51') - -build() { -cd glib-$pkgver -runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ - --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build -runhaskell Setup haddock -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -package() { -_ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-` -depends=("ghc=${_ghcver}" "glib2") - -cd ${srcdir}/glib-${pkgver} -install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh -install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh -install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries -ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/html/libraries/glib -runhaskell Setup copy --destdir=${pkgdir} -} Copied: haskell-glib/repos/community-i686/PKGBUILD (from rev 102056, haskell-glib/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-12-04 14:19:25 UTC (rev 102057) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.12.5.0 +pkgrel=1 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +# deps adjusted to specific versions in package() +depends=('ghc' 'glib2' 'haskell-utf8-string') +makedepends=("gtk2hs-buildtools") +options=('strip' 'staticlibs') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz) +md5sums=('fa94e2f40641dd2fa0d01a0da3fd7b50') + +build() { +cd glib-$pkgver +runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/haskell-glib \ + --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build +runhaskell Setup haddock +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +_ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-` +depends=("ghc=${_ghcver}" "glib2" 'haskell-utf8-string') + +cd ${srcdir}/glib-${pkgver} +install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh +install-m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh +install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries +ln -s /usr/share/doc/haskell-glib/html ${pkgdir}/usr/share/doc/ghc/h
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Thursday, April 25, 2013 @ 10:27:45 Author: jelle Revision: 88951 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-glib/repos/community-staging-i686/ haskell-glib/repos/community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch (from rev 88950, haskell-glib/trunk/0001-compatibility-with-ghc-7.6.1.patch) haskell-glib/repos/community-staging-i686/PKGBUILD (from rev 88950, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-staging-i686/gtk2hs-glib.install (from rev 88950, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-staging-x86_64/ haskell-glib/repos/community-staging-x86_64/0001-compatibility-with-ghc-7.6.1.patch (from rev 88950, haskell-glib/trunk/0001-compatibility-with-ghc-7.6.1.patch) haskell-glib/repos/community-staging-x86_64/PKGBUILD (from rev 88950, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-staging-x86_64/gtk2hs-glib.install (from rev 88950, haskell-glib/trunk/gtk2hs-glib.install) --+ community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch | 55 ++ community-staging-i686/PKGBUILD | 48 community-staging-i686/gtk2hs-glib.install | 18 +++ community-staging-x86_64/0001-compatibility-with-ghc-7.6.1.patch | 55 ++ community-staging-x86_64/PKGBUILD| 48 community-staging-x86_64/gtk2hs-glib.install | 18 +++ 6 files changed, 242 insertions(+) Copied: haskell-glib/repos/community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch (from rev 88950, haskell-glib/trunk/0001-compatibility-with-ghc-7.6.1.patch) === --- community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch (rev 0) +++ community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch 2013-04-25 08:27:45 UTC (rev 88951) @@ -0,0 +1,55 @@ +From 7e677b1c633d2b426fc956fcfa084a82ef6df861 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Thu, 27 Sep 2012 04:48:10 -0700 +Subject: [PATCH] compatibility with ghc 7.6.1 + +--- + System/Glib/GObject.chs | 4 +--- + System/Glib/MainLoop.chs | 4 ++-- + 2 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/System/Glib/GObject.chs b/System/Glib/GObject.chs +index 5f0fe5c..9925d2c 100644 +--- a/System/Glib/GObject.chs b/System/Glib/GObject.chs +@@ -127,8 +127,6 @@ makeNewGObject (constr, objectUnref) generator = do + + {#pointer GDestroyNotify as DestroyNotify#} + +-foreign import ccall "wrapper" mkDestroyNotifyPtr :: IO () -> IO DestroyNotify +- + -- | This function wraps any newly created objects that derives from + -- GInitiallyUnowned also known as objects with + -- \"floating-references\". The object will be refSink (for glib +@@ -225,4 +223,4 @@ isA obj gType = + -- at this point we would normally implement the notify signal handler; + -- I've moved this definition into the Object class of the gtk package + -- since there's a quite a bit of machinery missing here (generated signal +--- register functions and the problem of recursive modules) +\ No newline at end of file ++-- register functions and the problem of recursive modules) +diff --git a/System/Glib/MainLoop.chs b/System/Glib/MainLoop.chs +index 72fecb6..feb4c77 100644 +--- a/System/Glib/MainLoop.chs b/System/Glib/MainLoop.chs +@@ -71,7 +71,7 @@ import System.Glib.GObject (DestroyNotify, destroyFunPtr) + + {#pointer SourceFunc#} + +-foreign import ccall "wrapper" mkSourceFunc :: IO {#type gint#} -> IO SourceFunc ++foreign import ccall "wrapper" mkSourceFunc :: (Ptr () -> IO {#type gint#}) -> IO SourceFunc + + type HandlerId = {#type guint#} + +@@ -79,7 +79,7 @@ type HandlerId = {#type guint#} + -- + makeCallback :: IO {#type gint#} -> IO (SourceFunc, DestroyNotify) + makeCallback fun = do +- funPtr <- mkSourceFunc fun ++ funPtr <- mkSourceFunc (const fun) + return (funPtr, destroyFunPtr) + + -- | Sets a function to be called at regular intervals, with the default +-- +1.7.12.1 + Copied: haskell-glib/repos/community-staging-i686/PKGBUILD (from rev 88950, haskell-glib/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-04-25 08:27:45 UTC (rev 88951) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.12.4 +pkgrel=3 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +depends=('ghc=7.6.3' 'glib2') +makedepends=("gtk2hs-buildtools") +options=('strip') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib')
[arch-commits] Commit in haskell-glib/repos (8 files)
Date: Friday, February 1, 2013 @ 14:25:12 Author: spupykin Revision: 83460 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: haskell-glib/repos/community-staging-i686/ haskell-glib/repos/community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch (from rev 83459, haskell-glib/trunk/0001-compatibility-with-ghc-7.6.1.patch) haskell-glib/repos/community-staging-i686/PKGBUILD (from rev 83459, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-staging-i686/gtk2hs-glib.install (from rev 83459, haskell-glib/trunk/gtk2hs-glib.install) haskell-glib/repos/community-staging-x86_64/ haskell-glib/repos/community-staging-x86_64/0001-compatibility-with-ghc-7.6.1.patch (from rev 83459, haskell-glib/trunk/0001-compatibility-with-ghc-7.6.1.patch) haskell-glib/repos/community-staging-x86_64/PKGBUILD (from rev 83459, haskell-glib/trunk/PKGBUILD) haskell-glib/repos/community-staging-x86_64/gtk2hs-glib.install (from rev 83459, haskell-glib/trunk/gtk2hs-glib.install) --+ community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch | 55 ++ community-staging-i686/PKGBUILD | 48 community-staging-i686/gtk2hs-glib.install | 18 +++ community-staging-x86_64/0001-compatibility-with-ghc-7.6.1.patch | 55 ++ community-staging-x86_64/PKGBUILD| 48 community-staging-x86_64/gtk2hs-glib.install | 18 +++ 6 files changed, 242 insertions(+) Copied: haskell-glib/repos/community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch (from rev 83459, haskell-glib/trunk/0001-compatibility-with-ghc-7.6.1.patch) === --- community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch (rev 0) +++ community-staging-i686/0001-compatibility-with-ghc-7.6.1.patch 2013-02-01 13:25:12 UTC (rev 83460) @@ -0,0 +1,55 @@ +From 7e677b1c633d2b426fc956fcfa084a82ef6df861 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Thu, 27 Sep 2012 04:48:10 -0700 +Subject: [PATCH] compatibility with ghc 7.6.1 + +--- + System/Glib/GObject.chs | 4 +--- + System/Glib/MainLoop.chs | 4 ++-- + 2 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/System/Glib/GObject.chs b/System/Glib/GObject.chs +index 5f0fe5c..9925d2c 100644 +--- a/System/Glib/GObject.chs b/System/Glib/GObject.chs +@@ -127,8 +127,6 @@ makeNewGObject (constr, objectUnref) generator = do + + {#pointer GDestroyNotify as DestroyNotify#} + +-foreign import ccall "wrapper" mkDestroyNotifyPtr :: IO () -> IO DestroyNotify +- + -- | This function wraps any newly created objects that derives from + -- GInitiallyUnowned also known as objects with + -- \"floating-references\". The object will be refSink (for glib +@@ -225,4 +223,4 @@ isA obj gType = + -- at this point we would normally implement the notify signal handler; + -- I've moved this definition into the Object class of the gtk package + -- since there's a quite a bit of machinery missing here (generated signal +--- register functions and the problem of recursive modules) +\ No newline at end of file ++-- register functions and the problem of recursive modules) +diff --git a/System/Glib/MainLoop.chs b/System/Glib/MainLoop.chs +index 72fecb6..feb4c77 100644 +--- a/System/Glib/MainLoop.chs b/System/Glib/MainLoop.chs +@@ -71,7 +71,7 @@ import System.Glib.GObject (DestroyNotify, destroyFunPtr) + + {#pointer SourceFunc#} + +-foreign import ccall "wrapper" mkSourceFunc :: IO {#type gint#} -> IO SourceFunc ++foreign import ccall "wrapper" mkSourceFunc :: (Ptr () -> IO {#type gint#}) -> IO SourceFunc + + type HandlerId = {#type guint#} + +@@ -79,7 +79,7 @@ type HandlerId = {#type guint#} + -- + makeCallback :: IO {#type gint#} -> IO (SourceFunc, DestroyNotify) + makeCallback fun = do +- funPtr <- mkSourceFunc fun ++ funPtr <- mkSourceFunc (const fun) + return (funPtr, destroyFunPtr) + + -- | Sets a function to be called at regular intervals, with the default +-- +1.7.12.1 + Copied: haskell-glib/repos/community-staging-i686/PKGBUILD (from rev 83459, haskell-glib/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-02-01 13:25:12 UTC (rev 83460) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=haskell-glib +pkgver=0.12.4 +pkgrel=2 +pkgdesc="Binding to the GLIB library for Gtk2Hs." +url="http://hackage.haskell.org/package/glib"; +license=('LGPL2.1') +arch=('i686' 'x86_64') +depends=('ghc' 'glib2') +makedepends=("gtk2hs-buildtools") +options=('strip') +install=gtk2hs-glib.install +provides=('gtk2hs-glib') +replaces=('gtk2hs-glib') +conflicts=('gtk2hs-glib') +s