From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 25 15:50:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE93E16A41A for ; Thu, 25 Oct 2007 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D40F413C4A5 for ; Thu, 25 Oct 2007 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9PFo158044928 for ; Thu, 25 Oct 2007 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9PFo1sH044927; Thu, 25 Oct 2007 15:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 25 Oct 2007 15:50:01 GMT Resent-Message-Id: <200710251550.l9PFo1sH044927@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthieu GUEGAN Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C66B16A46B for ; Thu, 25 Oct 2007 15:44:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 93A0613C4AA for ; Thu, 25 Oct 2007 15:44:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9PFhYVg039612 for ; Thu, 25 Oct 2007 15:43:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l9PFhYYC039611; Thu, 25 Oct 2007 15:43:34 GMT (envelope-from nobody) Message-Id: <200710251543.l9PFhYYC039611@www.freebsd.org> Date: Thu, 25 Oct 2007 15:43:34 GMT From: Matthieu GUEGAN To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/117490: [NEW PORT] x11/hs-x11extras-ghc: Missing bindings to the X11 graphics library (Haskell) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 15:50:02 -0000 >Number: 117490 >Category: ports >Synopsis: [NEW PORT] x11/hs-x11extras-ghc: Missing bindings to the X11 graphics library (Haskell) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 25 15:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Matthieu GUEGAN >Release: FreeBSD 7.0-BETA1 i386 >Organization: >Environment: FreeBSD 7.0-BETA1 #0: Tue Oct 23 11:56:06 CEST 2007 >Description: Missing bindings to the X11 graphics library. The binding is a direct translation of C binding; for documentation of these calls, refer to /The Xlib Programming Manual/, available online at . WWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-extras >How-To-Repeat: >Fix: See the attached shar file Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hs-x11extras-ghc # hs-x11extras-ghc/Makefile # hs-x11extras-ghc/distinfo # hs-x11extras-ghc/pkg-descr # hs-x11extras-ghc/pkg-plist # echo c - hs-x11extras-ghc mkdir -p hs-x11extras-ghc > /dev/null 2>&1 echo x - hs-x11extras-ghc/Makefile sed 's/^X//' >hs-x11extras-ghc/Makefile << 'END-of-hs-x11extras-ghc/Makefile' X# New ports collection makefile for: hs-x11extras-ghc X# Date created: 2007-10-25 X# Whom: Matthieu Guegan X# X# $FreeBSD$ X XPORTNAME= x11extras XPORTVERSION= 0.4 XPORTREVISION= 1 XCATEGORIES= x11 haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/X11-extras/${PORTVERSION}/ XPKGNAMEPREFIX= hs- XPKGNAMESUFFIX= -ghc XDISTNAME= X11-extras-${PORTVERSION} X XMAINTAINER= matt.guegan@free.fr XCOMMENT= Missing bindings to the X11 graphics library (Haskell) X XUSE_XLIB= yes X X# include the version verbatim. This will require a revision bump X# on updates, but the correct quoting of `ghc --numeric-version` in the various X# places is a real nightmare. XGHC_VERSION= 6.6.1 XPLIST_SUB+= GHC_VERSION=${GHC_VERSION} \ X PORTVERSION=${PORTVERSION} \ X PORTNAME=${PORTNAME} \ X SUBDIR=lib/ghc-${GHC_VERSION}/cabal X X.include X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XLIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4 XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc X X# 'owned' by lang/ghc: XCABALDIR= ${PREFIX}/lib/ghc-${GHC_VERSION}/cabal XCABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs XSUBDIR= ${PORTNAME}${PKGNAMESUFFIX} X XBUILD_DEPENDS+= ${CABALDIR}/libHSX11-1.2.3.a:${PORTSDIR}/x11/hs-x11-ghc X Xdo-configure: X cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \ X --libsubdir='' --datasubdir='' X Xdo-build: X cd ${WRKSRC} && ${CABALCMD} build \ X && ${CABALCMD} --gen-script register X Xdo-install: X cd ${WRKSRC} && ${CABALCMD} install \ X && ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${CABALDIR}/${PORTNAME}-register.sh X X.include END-of-hs-x11extras-ghc/Makefile echo x - hs-x11extras-ghc/distinfo sed 's/^X//' >hs-x11extras-ghc/distinfo << 'END-of-hs-x11extras-ghc/distinfo' XMD5 (X11-extras-0.4.tar.gz) = e68ce25e94477b054744001bbef41a34 XSHA256 (X11-extras-0.4.tar.gz) = ea08c3f71e2f14374c56bbb9050df3eec81ff6b44a6d8e396892b5f612c8f2b2 XSIZE (X11-extras-0.4.tar.gz) = 48853 END-of-hs-x11extras-ghc/distinfo echo x - hs-x11extras-ghc/pkg-descr sed 's/^X//' >hs-x11extras-ghc/pkg-descr << 'END-of-hs-x11extras-ghc/pkg-descr' XMissing bindings to the X11 graphics library. X XThe binding is a direct translation of C binding; Xfor documentation of these calls, refer to /The Xlib Programming Manual/, Xavailable online at . X XWWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-extras END-of-hs-x11extras-ghc/pkg-descr echo x - hs-x11extras-ghc/pkg-plist sed 's/^X//' >hs-x11extras-ghc/pkg-plist << 'END-of-hs-x11extras-ghc/pkg-plist' Xlib/ghc-6.6.1/cabal/Graphics/X11/Xinerama.hi Xlib/ghc-6.6.1/cabal/Graphics/X11/Xlib/Extras.hi Xlib/ghc-6.6.1/cabal/HSX11-extras-0.4.o Xlib/ghc-6.6.1/cabal/include/XlibExtras.h Xlib/ghc-6.6.1/cabal/libHSX11-extras-0.4.a Xlib/ghc-6.6.1/cabal/x11extras-register.sh X@dirrmtry lib/ghc-6.6.1/cabal/include X@dirrmtry lib/ghc-6.6.1/cabal/Graphics/X11/Xlib X@dirrmtry lib/ghc-6.6.1/cabal/Graphics/X11 X@dirrmtry lib/ghc-6.6.1/cabal/Graphics X@dirrmtry lib/ghc-6.6.1/cabal X@dirrmtry lib/ghc-6.6.1 END-of-hs-x11extras-ghc/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: