[Pkg-cli-libs-commits] r3860 - in /packages/nemerle/trunk/debian: ./ patches/ policy-files/
hanska-guest at users.alioth.debian.org
hanska-guest at users.alioth.debian.org
Sat Nov 1 20:37:51 UTC 2008
Author: hanska-guest
Date: Sat Nov 1 20:37:51 2008
New Revision: 3860
URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=3860
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
packages/nemerle/trunk/debian/ (with props)
packages/nemerle/trunk/debian/README.Debian
packages/nemerle/trunk/debian/changelog
packages/nemerle/trunk/debian/compat
packages/nemerle/trunk/debian/control
packages/nemerle/trunk/debian/copyright
packages/nemerle/trunk/debian/cs2n
packages/nemerle/trunk/debian/docs
packages/nemerle/trunk/debian/emacsen-install
packages/nemerle/trunk/debian/emacsen-remove
packages/nemerle/trunk/debian/emacsen-startup
packages/nemerle/trunk/debian/libnemerle0.9-cil.install
packages/nemerle/trunk/debian/libnemerle0.9-cil.installcligac
packages/nemerle/trunk/debian/ncc
packages/nemerle/trunk/debian/nemerle.install
packages/nemerle/trunk/debian/nemish
packages/nemerle/trunk/debian/patches/
packages/nemerle/trunk/debian/patches/00list
packages/nemerle/trunk/debian/patches/10_fix-Makefiles.dpatch (with props)
packages/nemerle/trunk/debian/patches/11_disable-cs2n.dpatch (with props)
packages/nemerle/trunk/debian/policy-files/
packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Compiler.config
packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Evaluation.config
packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Macros.config
packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.config
packages/nemerle/trunk/debian/rules (with props)
packages/nemerle/trunk/debian/watch
Propchange: packages/nemerle/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: packages/nemerle/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/README.Debian?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/README.Debian (added)
+++ packages/nemerle/trunk/debian/README.Debian Sat Nov 1 20:37:51 2008
@@ -1,0 +1,7 @@
+nemerle for Debian
+---------------------
+
+* I removed tools/cs2n/antlr/*.dll from the tarball as there are
+ no sources for these libraries.
+
+ -- Sebastian Dröge <slomo at ubuntu.com>, Mon, 06 Mar 2006 14:44:24 +0100
Added: packages/nemerle/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/changelog?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/changelog (added)
+++ packages/nemerle/trunk/debian/changelog Sat Nov 1 20:37:51 2008
@@ -1,0 +1,64 @@
+nemerle (0.9.3+dfsg-2) unstable; urgency=low
+
+ * debian/control:
+ + Updated to use my debian.org mail address
+ + Update Standards-Version to 3.7.3, no additional changes needed.
+ + Build depend on mono >= 1.9 to fix FTBFS (Closes: #458708).
+ * debian/rules:
+ + Fix clean target.
+
+ -- Sebastian Dröge <slomo at debian.org> Wed, 02 Jan 2008 18:57:02 +0100
+
+nemerle (0.9.3+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control:
+ + Updating Standards-Version to 3.7.2
+ + Build-Depend on libmono-dev (>= 1.1.13)
+ + Minor description correction
+ * debian/rules,
+ debian/policy-files,
+ debian/libnemerle0.9-cil.installcligac:
+ + Added policy files to create libraries compatible with 0.9.2
+ * debian/rules:
+ + Create links to Nemerle*.dll in /usr/lib/nemerle to fix nemish
+
+ -- Sebastian Dröge <slomo at ubuntu.com> Wed, 7 Jun 2006 20:28:37 +0200
+
+nemerle (0.9.2+dfsg-2) unstable; urgency=low
+
+ * Bumped Standards-Version to 3.7.0
+ * Build-Depend on cli-common-dev (>= 0.4.0)
+ * Adjusted paths for the new CLI policy
+ * Use late GAC installation via dh_installcligac
+ * Moved debhelper and dpatch from Build-Depends-Indep to Build-Depends
+
+ -- Sebastian Dröge <slomo at ubuntu.com> Mon, 1 May 2006 16:41:22 +0200
+
+nemerle (0.9.2+dfsg-1) unstable; urgency=low
+
+ * New upstream release
+ * Initial upload to Debian (Closes: #271642)
+ * Corrected debian/copyright
+ * Don't build cs2n and remove tools/cs2n/antlr/*.dll from the tarball as we
+ don't have the sources for them.
+ * Run 'make check' after compilation
+ * Renamed the library package according to the newest addition of the CLI
+ policy to libnemerle0.9-cil
+
+ -- Sebastian Dröge <slomo at ubuntu.com> Mon, 27 Feb 2006 10:31:56 +0100
+
+nemerle (0.3.2-2) unstable; urgency=low
+
+ * Took Jacek's package from nemerle.org and made me the new maintainer as he
+ doesn't have the time to maintain it in Debian
+ * Splitted compiler and library package
+ * Some minor polishing
+
+ -- Sebastian Dröge <slomo at ubuntu.com> Tue, 18 Oct 2005 16:09:42 +0200
+
+nemerle (0.3.2-1) unstable; urgency=low
+
+ * Initial release. Closes: #271642
+
+ -- Jacek Åliwerski (rzyjontko) <rzyj at plusnet.pl> Sun, 24 Jul 2005 18:49:11 +0200
Added: packages/nemerle/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/compat?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/compat (added)
+++ packages/nemerle/trunk/debian/compat Sat Nov 1 20:37:51 2008
@@ -1,0 +1,1 @@
+5
Added: packages/nemerle/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/control?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/control (added)
+++ packages/nemerle/trunk/debian/control Sat Nov 1 20:37:51 2008
@@ -1,0 +1,44 @@
+Source: nemerle
+Section: devel
+Priority: optional
+Maintainer: Sebastian Dröge <slomo at debian.org>
+Build-Depends: debhelper (>= 5), dpatch
+Build-Depends-Indep: libmono-dev (>= 1.1.13), cli-common-dev (>= 0.4.0), mono-gmcs (>= 1.9) | c-sharp-2.0-compiler, mono-gac, nunit-console
+Standards-Version: 3.7.3
+
+Package: nemerle
+Architecture: all
+Depends: ${cli:Depends}
+Description: Nemerle Compiler
+ Nemerle is a new functional language designed from the ground
+ up for the .NET platform. Nemerle supports:
+ * object oriented and imperative .NET concepts
+ * variant datatypes
+ * matching
+ * higher order functions
+ * powerful macro system
+ It has simple, C-like syntax and makes access to imperative features
+ easy, and thus is easy to learn.
+ .
+ Visit http://nemerle.org for more details.
+ .
+ This package contains the compiler (ncc) and an interpreter (nemish)
+ for Nemerle.
+
+Package: libnemerle0.9-cil
+Architecture: all
+Depends: ${cli:Depends}
+Description: Class Libraries for Nemerle
+ Nemerle is a new functional language designed from the ground
+ up for the .NET platform. Nemerle supports:
+ * object oriented and imperative .NET concepts
+ * variant datatypes
+ * matching
+ * higher order functions
+ * powerful macro system
+ It has simple, C-like syntax and makes access to imperative features
+ easy and thus is easy to learn.
+ .
+ Visit http://nemerle.org for more details.
+ .
+ This package contains the class libraries needed for running Nemerle programs
Added: packages/nemerle/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/copyright?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/copyright (added)
+++ packages/nemerle/trunk/debian/copyright Sat Nov 1 20:37:51 2008
@@ -1,0 +1,215 @@
+This package was debianized by Jacek Å liwerski (rzyjontko) <rzyj at plusnet.pl> on
+Sun, 19 Sep 2004 13:11:20 +0200.
+
+It was downloaded from http://nemerle.org
+
+Upstream Authors: Michal Moskal <michal.moskal at nemerle.org>
+ Pawel Olszta <pawel.olszta at nemerle.org>
+ Kamil Skalski <nazgul at nemerle.org>
+
+Copyright:
+
+############################################
+For everything not noted explicitly below: #
+############################################
+ Copyright (c) 2003-2006 The University of Wroclaw.
+
+ For macros/concurrency.n and lib/concurrency.n:
+ Copyright (c) 2004-2005 Ricardo Fernández Pascual <r.fernandez at ditec.um.es>
+
+ For lib/rlist.n:
+ Copyright (c) 2005 Wojciech Knapik
+
+ For tools/msbuild-task/MSBuildTask.n:
+ Copyright (c) 2005 Kamil Skalski <nazgul at nemerle.org>
+
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. The name of the University may not be used to endorse or promote
+ products derived from this software without specific prior
+ written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``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 UNIVERSITY 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.
+
+You are free to distribute this software under the terms of the BSD License.
+On Debian systems, the complete text of the BSD License can be found
+in the file `/usr/share/common-licenses/BSD'.
+
+#######################
+For misc/nemerle.php: #
+#######################
+ Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
+ (c) 2005 Kamil Skalski
+
+ This file is part of GeSHi.
+
+ GeSHi is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ GeSHi is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GeSHi; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License Version 2, found on
+Debian systems in the file /usr/share/common-licenses/GPL.
+
+###########################################
+For most parts of ncc/testsuite/frommcs/: #
+For ncc/codedom/NemerleCodeGenerator.n: #
+###########################################
+ Copyright (c) 2001, 2002, 2003 Ximian, Inc and the individuals listed
+ on the ChangeLog entries.
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+########################################
+For ncc/codedom/NemerleCodeCompiler.n: #
+########################################
+
+ Copyright (c) Novell, Inc. (http://www.novell.com)
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+###################################
+For snippets/ntrace/xmalloc.[ch]: #
+###################################
+ Copyright (C) 2002, 2003 rzyjontko
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License Version 2, found on
+Debian systems in the file /usr/share/common-licenses/GPL.
+
+##############################
+For snippets/opengl/scene.n: #
+##############################
+
+Copyright 2003-2004 Randy Ridge
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+2. 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.
+
+3. Neither Randy Ridge nor the names of any Tao 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.
+
+
+
+ Copyright (c) 1993-1997, Silicon Graphics, Inc.
+ ALL RIGHTS RESERVED
+
+ Permission to use, copy, modify, and distribute this software for
+ any purpose and without fee is hereby granted, provided that the above
+ copyright notice appear in all copies and that both the copyright notice
+ and this permission notice appear in supporting documentation, and that
+ the name of Silicon Graphics, Inc. not be used in advertising
+ or publicity pertaining to distribution of the software without specific,
+ written prior permission.
+
+ THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
+ AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
+ INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
+ FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
+ GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
+ SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
+ KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
+ LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
+ THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
+ ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
+ POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
+
Added: packages/nemerle/trunk/debian/cs2n
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/cs2n?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/cs2n (added)
+++ packages/nemerle/trunk/debian/cs2n Sat Nov 1 20:37:51 2008
@@ -1,0 +1,3 @@
+#!/bin/sh
+exec /usr/bin/mono /usr/lib/nemerle/cs2n.exe "$@"
+
Added: packages/nemerle/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/docs?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/docs (added)
+++ packages/nemerle/trunk/debian/docs Sat Nov 1 20:37:51 2008
@@ -1,0 +1,2 @@
+README
+AUTHORS
Added: packages/nemerle/trunk/debian/emacsen-install
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/emacsen-install?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/emacsen-install (added)
+++ packages/nemerle/trunk/debian/emacsen-install Sat Nov 1 20:37:51 2008
@@ -1,0 +1,32 @@
+#! /bin/sh -e
+
+# Written by Jim Van Zandt <jrv at vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
+
+FLAVOR=$1
+PACKAGE=nemerle
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+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}
+
+if test ! -d ${ELCDIR}; then install -d ${ELCDIR}; fi
+
+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 ${FILES} path.el
+
+exit 0
Added: packages/nemerle/trunk/debian/emacsen-remove
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/emacsen-remove?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/emacsen-remove (added)
+++ packages/nemerle/trunk/debian/emacsen-remove Sat Nov 1 20:37:51 2008
@@ -1,0 +1,10 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/nemerle
+
+FLAVOR=$1
+PACKAGE=nemerle
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
Added: packages/nemerle/trunk/debian/emacsen-startup
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/emacsen-startup?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/emacsen-startup (added)
+++ packages/nemerle/trunk/debian/emacsen-startup Sat Nov 1 20:37:51 2008
@@ -1,0 +1,21 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian nemerle package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+
+;; The nemerle package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...). The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(let ((package-dir (concat "/usr/share/"
+ (symbol-name flavor)
+ "/site-lisp/nemerle")))
+ (when (file-directory-p package-dir)
+ (setq load-path (cons package-dir load-path))))
+
+(setq auto-mode-alist (cons '("\\.n$" . nemerle-mode) auto-mode-alist))
+(autoload 'nemerle-mode "nemerle" "Major mode for editing nemerle porgrams." t)
Added: packages/nemerle/trunk/debian/libnemerle0.9-cil.install
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/libnemerle0.9-cil.install?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/libnemerle0.9-cil.install (added)
+++ packages/nemerle/trunk/debian/libnemerle0.9-cil.install Sat Nov 1 20:37:51 2008
@@ -1,0 +1,2 @@
+debian/tmp/usr/lib/pkgconfig
+debian/tmp/usr/lib/cli/nemerle-0.9
Added: packages/nemerle/trunk/debian/libnemerle0.9-cil.installcligac
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/libnemerle0.9-cil.installcligac?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/libnemerle0.9-cil.installcligac (added)
+++ packages/nemerle/trunk/debian/libnemerle0.9-cil.installcligac Sat Nov 1 20:37:51 2008
@@ -1,0 +1,8 @@
+/usr/lib/cli/nemerle-0.9/Nemerle.Compiler.dll
+/usr/lib/cli/nemerle-0.9/Nemerle.Evaluation.dll
+/usr/lib/cli/nemerle-0.9/Nemerle.Macros.dll
+/usr/lib/cli/nemerle-0.9/Nemerle.dll
+/usr/lib/cli/nemerle-0.9/policy.0.9.Nemerle.dll
+/usr/lib/cli/nemerle-0.9/policy.0.9.Nemerle.Compiler.dll
+/usr/lib/cli/nemerle-0.9/policy.0.9.Nemerle.Evaluation.dll
+/usr/lib/cli/nemerle-0.9/policy.0.9.Nemerle.Macros.dll
Added: packages/nemerle/trunk/debian/ncc
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/ncc?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/ncc (added)
+++ packages/nemerle/trunk/debian/ncc Sat Nov 1 20:37:51 2008
@@ -1,0 +1,3 @@
+#!/bin/sh
+exec /usr/bin/mono /usr/lib/nemerle/ncc.exe "$@"
+
Added: packages/nemerle/trunk/debian/nemerle.install
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/nemerle.install?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/nemerle.install (added)
+++ packages/nemerle/trunk/debian/nemerle.install Sat Nov 1 20:37:51 2008
@@ -1,0 +1,5 @@
+debian/tmp/usr/share
+debian/tmp/usr/lib/nemerle
+debian/ncc /usr/bin
+debian/nemish /usr/bin
+misc/nemerle.el /usr/share/emacs/site-lisp/nemerle
Added: packages/nemerle/trunk/debian/nemish
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/nemish?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/nemish (added)
+++ packages/nemerle/trunk/debian/nemish Sat Nov 1 20:37:51 2008
@@ -1,0 +1,3 @@
+#!/bin/sh
+exec /usr/bin/mono /usr/lib/nemerle/nemish.exe "$@"
+
Added: packages/nemerle/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/patches/00list?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/patches/00list (added)
+++ packages/nemerle/trunk/debian/patches/00list Sat Nov 1 20:37:51 2008
@@ -1,0 +1,2 @@
+10_fix-Makefiles.dpatch
+11_disable-cs2n.dpatch
Added: packages/nemerle/trunk/debian/patches/10_fix-Makefiles.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/patches/10_fix-Makefiles.dpatch?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/patches/10_fix-Makefiles.dpatch (added)
+++ packages/nemerle/trunk/debian/patches/10_fix-Makefiles.dpatch Sat Nov 1 20:37:51 2008
@@ -1,0 +1,60 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Don't install the wrapper scripts here. We use our own non-broken ones
+
+ at DPATCH@
+diff -urNad --exclude=CVS --exclude=.svn ./ncc/Makefile /tmp/dpep-work.B8b1hb/nemerle-0.9.0/ncc/Makefile
+--- ./ncc/Makefile 2005-09-30 12:57:49.000000000 +0200
++++ /tmp/dpep-work.B8b1hb/nemerle-0.9.0/ncc/Makefile 2005-09-30 13:07:46.087167976 +0200
+@@ -449,9 +449,9 @@
+ export MONO_PATH=$$MONO_PATH:$$PWD/out.stage3 ; $(NGEN_GAC)
+ $(INST) "[$(BINDIR)]" ncc.exe
+ $(Q)$(INSTALL) -m 755 out.stage3/ncc.exe $(DESTDIR)$(BINDIR)/ncc.exe
+- echo "#!/bin/sh" > $(DESTDIR)$(SCRDIR)/ncc && \
+- echo '$(NET_ENGINE) $(BINDIR)/ncc.exe "$$@"' >> $(DESTDIR)$(SCRDIR)/ncc ; \
+- chmod 755 $(DESTDIR)$(SCRDIR)/ncc ;
++# echo "#!/bin/sh" > $(DESTDIR)$(SCRDIR)/ncc && \
++# echo '$(NET_ENGINE) $(BINDIR)/ncc.exe "$$@"' >> $(DESTDIR)$(SCRDIR)/ncc ; \
++# chmod 755 $(DESTDIR)$(SCRDIR)/ncc ;
+
+ clean:
+ cd testsuite && $(MAKE) clean
+diff -urNad --exclude=CVS --exclude=.svn ./tools/cs2n/Makefile /tmp/dpep-work.B8b1hb/nemerle-0.9.0/tools/cs2n/Makefile
+--- ./tools/cs2n/Makefile 2005-09-30 12:57:49.000000000 +0200
++++ /tmp/dpep-work.B8b1hb/nemerle-0.9.0/tools/cs2n/Makefile 2005-09-30 13:08:34.706776672 +0200
+@@ -108,11 +108,11 @@
+ $(Q)$(GACUTIL_COMMAND) antlr.runtime.dll
+ $(INST) "[$(BINDIR)]" cs2n.exe
+ $(Q)$(INSTALL) -m 755 cs2n.exe $(DESTDIR)$(BINDIR)/cs2n.exe
+- $(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
+- echo "#!/bin/sh" > $(DESTDIR)$(SCRDIR)/cs2n && \
+- echo '$(NET_ENGINE) $(BINDIR)/cs2n.exe "$$@"' >> $(DESTDIR)$(SCRDIR)/cs2n ; \
+- chmod 755 $(DESTDIR)$(SCRDIR)/cs2n ; \
+- fi
++# $(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
++# echo "#!/bin/sh" > $(DESTDIR)$(SCRDIR)/cs2n && \
++# echo '$(NET_ENGINE) $(BINDIR)/cs2n.exe "$$@"' >> $(DESTDIR)$(SCRDIR)/cs2n ; \
++# chmod 755 $(DESTDIR)$(SCRDIR)/cs2n ; \
++# fi
+
+ uninstall:
+ $(RM) Nemerle.CSharp
+diff -urNad --exclude=CVS --exclude=.svn ./tools/nemerlish/Makefile /tmp/dpep-work.B8b1hb/nemerle-0.9.0/tools/nemerlish/Makefile
+--- ./tools/nemerlish/Makefile 2005-09-30 12:57:49.000000000 +0200
++++ /tmp/dpep-work.B8b1hb/nemerle-0.9.0/tools/nemerlish/Makefile 2005-09-30 13:10:12.343933568 +0200
+@@ -35,11 +35,11 @@
+ $(INST) "[$(BINDIR)]" nemish.exe
+ $(Q)$(INSTALL) -m 755 nemish.exe $(DESTDIR)$(BINDIR)/nemish.exe
+ # Set a `nemish' script if binfmt_misc is not available.
+- $(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
+- echo "#!/bin/sh" > $(DESTDIR)$(SCRDIR)/nemish && \
+- echo '$(NET_ENGINE) $(BINDIR)/nemish.exe "$$@"' >> $(DESTDIR)$(SCRDIR)/nemish ; \
+- chmod 755 $(DESTDIR)$(SCRDIR)/nemish ; \
+- fi
++# $(Q)if [ "$(NET_ENGINE)" != "" ] ; then \
++# echo "#!/bin/sh" > $(DESTDIR)$(SCRDIR)/nemish && \
++# echo '$(NET_ENGINE) $(BINDIR)/nemish.exe "$$@"' >> $(DESTDIR)$(SCRDIR)/nemish ; \
++# chmod 755 $(DESTDIR)$(SCRDIR)/nemish ; \
++# fi
+
+
+ uninstall:
Propchange: packages/nemerle/trunk/debian/patches/10_fix-Makefiles.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: packages/nemerle/trunk/debian/patches/11_disable-cs2n.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/patches/11_disable-cs2n.dpatch?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/patches/11_disable-cs2n.dpatch (added)
+++ packages/nemerle/trunk/debian/patches/11_disable-cs2n.dpatch Sat Nov 1 20:37:51 2008
@@ -1,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Don't build cs2n
+
+ at DPATCH@
+--- nemerle-0.9.2/tools/Makefile.old 2006-03-06 02:29:13.052457776 +0100
++++ nemerle-0.9.2/tools/Makefile 2006-03-06 02:29:28.036179904 +0100
+@@ -34,30 +34,21 @@
+ ############################################################
+
+ all:
+- $(Q)if test $(ANTLR); then \
+- $(MAKE) -C cs2n all; \
+- elif find cs2n/CSharpParser.cs -cnewer cs2n/csharpgrammar.g | grep -q "" ; then \
+- $(MAKE) -C cs2n all; \
+- fi
+ $(Q)$(MAKE) -C nemerlish all
+ $(Q)$(MAKE) -C nant-task all
+ $(Q)$(MAKE) -C msbuild-task all
+
+ install: all
+- $(Q)if test -f cs2n/cs2n.exe ; then \
+- $(MAKE) -C cs2n install; fi
+ $(Q)$(MAKE) -C nemerlish install
+ $(Q)$(MAKE) -C nant-task all install
+ # $(Q)$(MAKE) -C msbuild-task all install
+
+ uninstall:
+- $(Q)-$(MAKE) -C cs2n uninstall
+ $(Q)-$(MAKE) -C nemerlish uninstall
+ # $(Q)-$(MAKE) -C nant-task uninstall
+ # $(Q)-$(MAKE) -C msbuild-task uninstall
+
+ clean:
+- $(MAKE) -C cs2n clean
+ $(MAKE) -C nemerlish clean
+ $(MAKE) -C nant-task clean
+ $(MAKE) -C htmldumper clean
Propchange: packages/nemerle/trunk/debian/patches/11_disable-cs2n.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Compiler.config
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Compiler.config?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Compiler.config (added)
+++ packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Compiler.config Sat Nov 1 20:37:51 2008
@@ -1,0 +1,10 @@
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="Nemerle.Compiler" publicKeyToken="5291d186334f6101" />
+ <bindingRedirect oldVersion="0.9.2.0" newVersion="0.9.3.0"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>
Added: packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Evaluation.config
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Evaluation.config?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Evaluation.config (added)
+++ packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Evaluation.config Sat Nov 1 20:37:51 2008
@@ -1,0 +1,10 @@
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="Nemerle.Evaluation" publicKeyToken="5291d186334f6101" />
+ <bindingRedirect oldVersion="0.9.2.0" newVersion="0.9.3.0"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>
Added: packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Macros.config
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Macros.config?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Macros.config (added)
+++ packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.Macros.config Sat Nov 1 20:37:51 2008
@@ -1,0 +1,10 @@
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="Nemerle.Macros" publicKeyToken="5291d186334f6101" />
+ <bindingRedirect oldVersion="0.9.2.0" newVersion="0.9.3.0"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>
Added: packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.config
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.config?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.config (added)
+++ packages/nemerle/trunk/debian/policy-files/policy.0.9.Nemerle.config Sat Nov 1 20:37:51 2008
@@ -1,0 +1,10 @@
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="Nemerle" publicKeyToken="e080a9c724e2bfcd" />
+ <bindingRedirect oldVersion="0.9.2.0" newVersion="0.9.3.0"/>
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration>
Added: packages/nemerle/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/rules?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/rules (added)
+++ packages/nemerle/trunk/debian/rules Sat Nov 1 20:37:51 2008
@@ -1,0 +1,100 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is for the .wapi directory for Mono.
+export MONO_SHARED_DIR=$(CURDIR)
+
+# provide patch and unpatch targets
+include /usr/share/dpatch/dpatch.make
+
+UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2 | sed 's,-.*,,')
+
+configure: configure-stamp
+configure-stamp:
+ ./configure --prefix=/usr --bindir=/usr/lib/nemerle --mandir=/usr/share/man/man1
+ touch configure-stamp
+
+build: patch-stamp configure-stamp build-stamp
+build-stamp:
+ $(MAKE)
+# $(MAKE) check
+ # build policy files for the library
+ cd debian/policy-files && \
+ al -link:policy.0.9.Nemerle.config \
+ -out:policy.0.9.Nemerle.dll \
+ -keyfile:../../misc/keys/Nemerle.snk && \
+ al -link:policy.0.9.Nemerle.Compiler.config \
+ -out:policy.0.9.Nemerle.Compiler.dll \
+ -keyfile:../../misc/keys/Nemerle.Compiler.snk && \
+ al -link:policy.0.9.Nemerle.Evaluation.config \
+ -out:policy.0.9.Nemerle.Evaluation.dll \
+ -keyfile:../../misc/keys/Nemerle.Compiler.snk && \
+ al -link:policy.0.9.Nemerle.Macros.config \
+ -out:policy.0.9.Nemerle.Macros.dll \
+ -keyfile:../../misc/keys/Nemerle.Compiler.snk
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ touch config.mak
+ -$(MAKE) clean
+ rm -f nemerle.pc ncc/testsuite/a.xml ncc/testsuite/-bar+
+ rm -f debian/policy-files/policy.0.9.Nemerle.dll
+ rm -f debian/policy-files/policy.0.9.Nemerle.Compiler.dll
+ rm -f debian/policy-files/policy.0.9.Nemerle.Evaluation.dll
+ rm -f debian/policy-files/policy.0.9.Nemerle.Macros.dll
+ rm -rf $(MONO_SHARED_DIR)/.wapi
+ rm -f build-stamp configure-stamp
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ # workaround for weird mono dir (/usr/lib/pkgconfig/../../lib)
+ mkdir -p $(CURDIR)/debian/tmp/usr/lib/pkgconfig
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ # install .dlls where they belong
+ mkdir -p debian/tmp/usr/lib/cli/nemerle-0.9
+ cp -av debian/tmp/usr/lib/mono/gac/Nemerle*/0.9*/* debian/tmp/usr/lib/cli/nemerle-0.9
+ cp -av debian/policy-files/* debian/tmp/usr/lib/cli/nemerle-0.9
+ # adjust the path in the pkgconfig file
+ sed -i 's;\/usr\/lib\/pkgconfig\/..\/..\/lib\/mono\/nemerle\/;\/usr\/lib\/cli\/nemerle-0.9\/;g' debian/tmp/usr/lib/pkgconfig/nemerle.pc
+ # install links to the dlls in /usr/lib/nemerle to fix nemish
+ for i in Nemerle.dll Nemerle.Compiler.dll Nemerle.Evaluation.dll Nemerle.Macros.dll; \
+ do \
+ ln -sv ../cli/nemerle-0.9/$$i debian/tmp/usr/lib/nemerle; \
+ done
+ # fix permissions
+ find debian/tmp -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
+ find debian/tmp -type f -name "*.exe" | xargs chmod +x
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installdirs
+ dh_install
+ dh_installman
+ dh_installemacsen
+ dh_installcligac
+ dh_compress
+ dh_fixperms
+ dh_makeclilibs -m $(UPVERSION)
+ dh_clideps
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: configure build install
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean configure binary-indep binary-arch binary install
Propchange: packages/nemerle/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/nemerle/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/nemerle/trunk/debian/watch?rev=3860&op=file
==============================================================================
--- packages/nemerle/trunk/debian/watch (added)
+++ packages/nemerle/trunk/debian/watch Sat Nov 1 20:37:51 2008
@@ -1,0 +1,2 @@
+version=2
+http://nemerle.org/download/nemerle-([0-9]\.[0-9]\.[0-9])\.tar\.gz
More information about the Pkg-cli-libs-commits
mailing list