diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 19 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 42 | ||||
-rw-r--r-- | debian/copyright | 62 | ||||
-rw-r--r-- | debian/pandoc-doc.doc-base | 11 | ||||
-rw-r--r-- | debian/pandoc-doc.docs | 1 | ||||
-rw-r--r-- | debian/pandoc.dirs | 1 | ||||
-rw-r--r-- | debian/rules | 113 |
8 files changed, 250 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..7a71dfd06 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,19 @@ +pandoc (0.21) unstable; urgency=low + + * Revamp and split Debian package. Closes: #391666. + * Revamped build system. + * Various fixes in wrapper scripts. + + -- Recai Oktaş <roktas@debian.org> Sun, 3 Sep 2006 13:25:18 +0300 + +pandoc (0.2) unstable; urgency=low + + * Fixed unicode/utf-8 translation + + -- John MacFarlane <clemens@kclee.de> Mon, 14 Aug 2006 00:00:00 -0400 + +pandoc (0.1) unstable; urgency=low + + * Initial creation of debian package + + -- John MacFarlane <clemens@kclee.de> Mon, 14 Aug 2006 00:00:00 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..b8626c4cf --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..99f70c269 --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: pandoc +Section: text +Priority: optional +Maintainer: Recai Oktaş <roktas@debian.org> +Build-Depends: debhelper (>= 4.0.0), haskell-devscripts (>=0.5.11), ghc6 (>=6.4), perl +Build-Depends-Indep: haddock +Standards-Version: 3.7.2.0 + +Package: pandoc +Section: text +Architecture: any +Depends: ${shlibs:Depends} +Suggests: tetex-bin, tidy, wget | w3m +Description: General markup converter + Pandoc is an implementation of Markdown (and much more) in Haskell. It + can convert Markdown formatted text to HTML, LaTeX, rich text format, + reStructuredText, or an S5 HTML slide show. It can also convert HTML, + LaTeX, and reStructuredText to Markdown. + +Package: libghc6-pandoc-dev +Section: libdevel +Architecture: any +Depends: ${haskell:Depends} +Suggests: pandoc-doc +Description: General markup converter + Pandoc is an implementation of Markdown (and much more) in Haskell. It + can convert Markdown formatted text to HTML, LaTeX, rich text format, + reStructuredText, or an S5 HTML slide show. It can also convert HTML, + LaTeX, and reStructuredText to Markdown. + . + This package contains the libraries compiled for GHC 6. + +Package: pandoc-doc +Section: doc +Architecture: all +Description: General markup converter + Pandoc is an implementation of Markdown (and much more) in Haskell. It + can convert Markdown formatted text to HTML, LaTeX, rich text format, + reStructuredText, or an S5 HTML slide show. It can also convert HTML, + LaTeX, and reStructuredText to Markdown. + . + This package contains the library documentation for Pandoc. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..6ed3ec2ca --- /dev/null +++ b/debian/copyright @@ -0,0 +1,62 @@ +Pandoc is copyright 2006 by John MacFarlane <jgm@berkeley.edu>. It is licensed +under the terms of the GPL version 2 or later. On Debian systems, the complete +text of the GPL can be found in /usr/share/common-licenses/GPL. + +This package was debianized by Recai Oktaş <roktas@debian.org>. It was +downloaded from http://sophos.berkeley.edu/macfarlane/ + +---------------------------------------------------------------------- + +UTF8.hs + +Copyright (c) 2003, OGI School of Science & Engineering, Oregon Health & +Science University, 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 OGI or OHSU 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. + +modified by Martin Norbäck +modified to pass illegal utf-8 sequences through unchanged + +---------------------------------------------------------------------- + +ASCIIMathML.js + +Copyright 2005, Peter Jipsen, Chapman University +<http://www1.chapman.edu/~jipsen/mathml/asciimath.html> + +Released under the GPL. + +---------------------------------------------------------------------- + +S5 slides.js and css files + +by Eric A. Meyer +<http://meyerweb.com/eric/tools/s5 + +Released under an explicit Public Domain License diff --git a/debian/pandoc-doc.doc-base b/debian/pandoc-doc.doc-base new file mode 100644 index 000000000..3fd80e7d9 --- /dev/null +++ b/debian/pandoc-doc.doc-base @@ -0,0 +1,11 @@ +Document: pandoc-doc +Title: Pandoc documentation +Author: John MacFarlane +Abstract: This is the documentation of Pandoc, which includes the API + documentation of the Pandoc library and documentation for the Pandoc + tools. +Section: Apps/Programming + +Format: html +Index: /usr/share/doc/pandoc-doc/index.html +Files: /usr/share/doc/pandoc-doc/*.html /usr/share/doc/pandoc-doc/pandoc/*.html diff --git a/debian/pandoc-doc.docs b/debian/pandoc-doc.docs new file mode 100644 index 000000000..cf7cb60ed --- /dev/null +++ b/debian/pandoc-doc.docs @@ -0,0 +1 @@ +html/* diff --git a/debian/pandoc.dirs b/debian/pandoc.dirs new file mode 100644 index 000000000..e77248175 --- /dev/null +++ b/debian/pandoc.dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/rules b/debian/rules new file mode 100644 index 000000000..45a999435 --- /dev/null +++ b/debian/rules @@ -0,0 +1,113 @@ +#!/usr/bin/make -f +# +# debian/rules for pandoc. +# Copyright © 2006 Recai Oktaş <roktasATdebian.org> +# +# This file is based on John Goerzen's Cabal Debian template. +# See http://www.n-heptane.com/nhlab/repos/cabalDebianTemplate/ +# +# Licensed under the GNU General Public License, version 2. +# See the file 'http://www.gnu.org/copyleft/gpl.txt'. + +THIS := pandoc + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Handle noopt in DEB_BUILD_OPTIONS. Emulate CFLAGS (as HCFLAGS). +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +MAKE_ENVVARS := HCFLAGS=-O0 +else +MAKE_ENVVARS := HCFLAGS=-O2 +endif +MAKE_ENVVARS += PREFIX=/usr + +configure: configure-stamp +configure-stamp: + dh_testdir + $(MAKE_ENVVARS) $(MAKE) configure + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + touch build-stamp + +clean: + dh_testdir + dh_testroot + $(MAKE) clean + rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist html + rm -f build-stamp configure-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -a + + dh_haskell -a + + # Hack! Cabal builds executables while building libraries. Move these + # files to top dir where the Makefile install target expects to find. + # See "BUGS" section at the following document: + # http://www.n-heptane.com/nhlab/repos/cabalDebianTemplate/INSTRUCTIONS.txt + find debian/libghc6-$(THIS)-dev -type d -name 'bin' -true | \ + while read bin; do mv $$bin/* .; rm -rf $$bin; done + DESTDIR=debian/$(THIS) $(MAKE_ENVVARS) $(MAKE) install + +build-indep: build-indep-stamp +build-indep-stamp: + dh_testdir + $(MAKE) build-lib-doc + +install-indep: build-indep + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -i + + dh_haskell -i + +# Build architecture-independent files here. +binary-indep: build-indep install-indep + dh_testdir + dh_testroot + dh_installchangelogs -i + dh_installdocs -i + dh_installexamples -i + dh_installman -i + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -a + dh_installdocs -a + dh_installexamples -a + dh_installman -a + dh_link -a + dh_strip -a -Xhtml2 -Xmarkdown2 -Xlatex2 + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install build-indep install-indep |