[Pkg-haskell-commits] darcs: ghc-mod: Initial Check-In

kiwamu at debian.or.jp kiwamu at debian.or.jp
Thu Nov 24 12:54:53 UTC 2011


Thu Nov 24 07:11:12 UTC 2011  kiwamu at debian.or.jp
  * Initial Check-In
  Ignore-this: 615ac4b3f9ccf6ced8eeb70f3e5bdd96

    A ./changelog
    A ./compat
    A ./control
    A ./copyright
    A ./emacsen-install
    A ./emacsen-remove
    A ./emacsen-startup
    A ./rules
    A ./watch

Thu Nov 24 07:11:12 UTC 2011  kiwamu at debian.or.jp
  * Initial Check-In
  Ignore-this: 615ac4b3f9ccf6ced8eeb70f3e5bdd96
diff -rN -u old-ghc-mod//changelog new-ghc-mod//changelog
--- old-ghc-mod//changelog	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//changelog	2011-11-24 12:54:53.766195094 +0000
@@ -0,0 +1,29 @@
+ghc-mod (0.6.1-1) unstable; urgency=low
+
+  * Imported Upstream version 0.6.1
+
+ -- Kiwamu Okabe <kiwamu at debian.or.jp>  Wed, 31 Aug 2011 20:16:25 +0900
+
+ghc-mod (0.6.0-3) unstable; urgency=low
+
+  * depend on haskell-mode.
+  * not support xemacs*. (Closes: #639649)
+
+ -- Kiwamu Okabe <kiwamu at debian.or.jp>  Mon, 29 Aug 2011 12:03:10 +0900
+
+ghc-mod (0.6.0-2) unstable; urgency=low
+
+  * NMU.
+  * Minor cleanup before sponsoring (version bump required because 0.6.0-1 was
+    already tagged in git repository).
+  * Add watch file
+
+ -- Joachim Breitner <nomeata at debian.org>  Sun, 28 Aug 2011 10:47:17 +0200
+
+ghc-mod (0.6.0-1) UNRELEASED; urgency=low
+
+  * ITP (Closes: #639553)
+  * Debianization generated by cabal-debian
+
+ -- Kiwamu Okabe <kiwamu at debian.or.jp>  Fri, 26 Aug 2011 23:00:21 +0900
+
diff -rN -u old-ghc-mod//compat new-ghc-mod//compat
--- old-ghc-mod//compat	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//compat	2011-11-24 12:54:53.766195094 +0000
@@ -0,0 +1 @@
+7
\ No newline at end of file
diff -rN -u old-ghc-mod//control new-ghc-mod//control
--- old-ghc-mod//control	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//control	2011-11-24 12:54:53.766195094 +0000
@@ -0,0 +1,31 @@
+Source: ghc-mod
+Priority: extra
+Section: haskell
+Maintainer: Kiwamu Okabe <kiwamu at debian.or.jp>
+Build-Depends: debhelper (>= 7.0),
+               haskell-devscripts (>= 0.8),
+               cdbs,
+               ghc,
+               libghc-attoparsec-dev,
+               libghc-attoparsec-enumerator-dev,
+               libghc-enumerator-dev,
+               libghc-ghc-paths-dev,
+               libghc-hlint-dev (>= 1.7.1),
+               libghc-transformers-dev,
+Standards-Version: 3.9.2
+Homepage: http://www.mew.org/~kazu/proj/ghc-mod/
+Vcs-Git: git://anonscm.debian.org/collab-maint/ghc-mod.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/ghc-mod.git
+DM-Upload-Allowed: yes
+
+Package: ghc-mod
+Architecture: any
+Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends}, haskell-mode
+Recommends: ghc
+Description: Happy Haskell programming on Emacs
+ This package includes Elisp files and a Haskell command, "ghc-mod".
+ "ghc*.el" enable completion of Haskell symbols on Emacs.
+ Flymake is also integrated. "ghc-mod" is a backend of "ghc*.el".
+ It lists up all installed modules or extracts names of functions, classes,
+ and data declarations.
+ Note: This package DO NOT support xemacs*. Only for emacs*.
diff -rN -u old-ghc-mod//copyright new-ghc-mod//copyright
--- old-ghc-mod//copyright	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//copyright	2011-11-24 12:54:53.766195094 +0000
@@ -0,0 +1,29 @@
+Copyright (c) 2009, IIJ Innovation Institute Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+  * Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.
+  * Neither the name of the copyright holders nor the names of its
+    contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff -rN -u old-ghc-mod//emacsen-install new-ghc-mod//emacsen-install
--- old-ghc-mod//emacsen-install	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//emacsen-install	2011-11-24 12:54:53.766195094 +0000
@@ -0,0 +1,38 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/ghc-mod
+
+FLAVOR=$1
+PACKAGE=ghc-mod
+
+case $FLAVOR in
+    emacs|*xemacs*|mule2) # not support xemacs
+	exit 0
+	;;
+esac
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+FLAVORTEST=`echo $FLAVOR | cut -c-6`
+if [ ${FLAVORTEST} = xemacs ] ; then
+    SITEFLAG="-no-site-file"
+else
+    SITEFLAG="--no-site-file"
+fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
diff -rN -u old-ghc-mod//emacsen-remove new-ghc-mod//emacsen-remove
--- old-ghc-mod//emacsen-remove	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//emacsen-remove	2011-11-24 12:54:53.770179139 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/ghc-mod
+
+FLAVOR=$1
+PACKAGE=ghc-mod
+
+if [ ${FLAVOR} != emacs ]; then
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
diff -rN -u old-ghc-mod//emacsen-startup new-ghc-mod//emacsen-startup
--- old-ghc-mod//emacsen-startup	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//emacsen-startup	2011-11-24 12:54:53.770179139 +0000
@@ -0,0 +1,7 @@
+;; -*-emacs-lisp-*-
+(setq load-path (cons (concat "/usr/share/"
+                              (symbol-name debian-emacs-flavor)
+			      "/site-lisp/ghc-mod") load-path))
+
+(autoload 'ghc-init "ghc" nil t)
+(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))
diff -rN -u old-ghc-mod//rules new-ghc-mod//rules
--- old-ghc-mod//rules	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//rules	2011-11-24 12:54:53.770179139 +0000
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
+
+# How to install an extra file into the documentation package
+#binary-fixup/libghc-ghc-mod-doc::
+#	echo "Some informative text" > debian/libghc-ghc-mod-doc/usr/share/doc/libghc-ghc-mod-doc/AnExtraDocFile
+
+build/ghc-mod :: build-ghc-stamp
+
+install/ghc-mod :: debian/tmp-inst-ghc
+	mkdir -p debian/ghc-mod/usr/bin
+	cp debian/tmp-inst-ghc/usr/bin/ghc-mod debian/ghc-mod/usr/bin/
+	mkdir -p debian/ghc-mod/usr/share/emacs/site-lisp/ghc-mod
+	cp debian/tmp-inst-ghc/usr/share/ghc-mod-*/*.el debian/ghc-mod/usr/share/emacs/site-lisp/ghc-mod/
diff -rN -u old-ghc-mod//watch new-ghc-mod//watch
--- old-ghc-mod//watch	1970-01-01 00:00:00.000000000 +0000
+++ new-ghc-mod//watch	2011-11-24 12:54:53.770179139 +0000
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|ghc-mod-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/ghc-mod \
+    ([\d\.]*\d)/





More information about the Pkg-haskell-commits mailing list