Import patat_0.3.3.0-1.debian.tar.xz
authorFélix Sipma <felix+debian@gueux.org>
Mon, 31 Oct 2016 12:28:53 +0000 (12:28 +0000)
committerFélix Sipma <felix+debian@gueux.org>
Mon, 31 Oct 2016 12:28:53 +0000 (12:28 +0000)
[dgit import tarball patat 0.3.3.0-1 patat_0.3.3.0-1.debian.tar.xz]

15 files changed:
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
docs [new file with mode: 0644]
lintian-overrides [new file with mode: 0644]
patat.examples [new file with mode: 0644]
patat.install [new file with mode: 0644]
patat.manpages [new file with mode: 0644]
patat.md [new file with mode: 0644]
patches/0001-Debianize-README.md.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..1171984
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+patat (0.3.3.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #840738)
+
+ -- Félix Sipma <felix+debian@gueux.org>  Mon, 31 Oct 2016 13:28:53 +0100
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+10
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..794b208
--- /dev/null
+++ b/control
@@ -0,0 +1,40 @@
+Source: patat
+Maintainer: Félix Sipma <felix+debian@gueux.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ ghc,
+ libghc-aeson-dev (>= 0.9),
+ libghc-aeson-dev (<< 1.1),
+ libghc-ansi-terminal-dev (>= 0.6),
+ libghc-ansi-terminal-dev (<< 0.7),
+ libghc-ansi-wl-pprint-dev (>= 0.6),
+ libghc-ansi-wl-pprint-dev (<< 0.7),
+ libghc-highlighting-kate-dev (>= 0.6),
+ libghc-highlighting-kate-dev (<< 0.7),
+ libghc-mtl-dev (>= 2.2),
+ libghc-mtl-dev (<< 2.3),
+ libghc-optparse-applicative-dev (>= 0.12),
+ libghc-optparse-applicative-dev (<< 0.14),
+ libghc-pandoc-dev (>= 1.16),
+ libghc-pandoc-dev (<< 1.19),
+ libghc-terminal-size-dev (>= 0.3),
+ libghc-terminal-size-dev (<< 0.4),
+ libghc-text-dev (>= 1.2),
+ libghc-text-dev (<< 1.3),
+ libghc-yaml-dev (>= 0.7),
+ libghc-yaml-dev (<< 0.9),
+ pandoc
+Standards-Version: 3.9.8
+Homepage: http://github.com/jaspervdj/patat
+Vcs-Git: https://git.gueux.org/patat.git
+Vcs-Browser: https://git.gueux.org/?p=patat.git;a=summary
+
+Package: patat
+Architecture: any
+Section: misc
+Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends}
+Description: Terminal-based presentations using Pandoc
+ patat (*P*resentations *A*top *T*he *A*NSI *T*erminal) is a small tool that
+ allows you to show presentations using only an ANSI terminal.  It does not
+ require `ncurses`.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..f9fa260
--- /dev/null
+++ b/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: patat
+Upstream-Contact: Jasper Van der Jeugt <m@jaspervdj.be>
+Source: https://hackage.haskell.org/package/patat
+
+Files: *
+Copyright: 2016 Jasper Van der Jeugt <m@jaspervdj.be>
+License: GPL-2
+
+Files: debian/*
+Copyright: 2016 Félix Sipma <felix+debian@gueux.org>
+License: GPL-2
+
+License: GPL-2
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+ .
+ This package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General Public License version
+ 2 can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/docs b/docs
new file mode 100644 (file)
index 0000000..b43bf86
--- /dev/null
+++ b/docs
@@ -0,0 +1 @@
+README.md
diff --git a/lintian-overrides b/lintian-overrides
new file mode 100644 (file)
index 0000000..172c637
--- /dev/null
@@ -0,0 +1,2 @@
+# standard override for Haskell binary packages
+binary-or-shlib-defines-rpath
diff --git a/patat.examples b/patat.examples
new file mode 100644 (file)
index 0000000..56ab4af
--- /dev/null
@@ -0,0 +1 @@
+extra/screenshot.png
diff --git a/patat.install b/patat.install
new file mode 100644 (file)
index 0000000..3d405a1
--- /dev/null
@@ -0,0 +1 @@
+dist/build/patat/patat usr/bin
diff --git a/patat.manpages b/patat.manpages
new file mode 100644 (file)
index 0000000..fdcdd4e
--- /dev/null
@@ -0,0 +1 @@
+debian/patat.1
diff --git a/patat.md b/patat.md
new file mode 100644 (file)
index 0000000..34717ee
--- /dev/null
+++ b/patat.md
@@ -0,0 +1,48 @@
+% patat(1)
+% [Jasper Van der Jeugt](mailto:m@jaspervdj.be)
+% October 2016
+
+Name
+====
+
+patat - Terminal-based presentations using Pandoc
+
+Synopsis
+========
+
+`patat` [*OPTION* ...] [*FILENAME*]
+
+Description
+===========
+
+`patat` (**P**resentations **A**top **T**he **A**NSI **T**erminal) is a small
+tool that allows you to show presentations using only an ANSI terminal.  It
+does not require `ncurses`.
+
+Options
+=======
+
+`-h`,`--help`
+
+:   Show this help text
+
+`FILENAME`
+
+:   Input file
+
+`-f`,`--force`
+
+:   Force ANSI terminal
+
+`-d`,`--dump`
+
+:   Just dump all slides and exit
+
+`-w`,`--watch`
+
+:   Watch file for changes
+
+`--version`
+
+:   Display version info and exit
+
diff --git a/patches/0001-Debianize-README.md.patch b/patches/0001-Debianize-README.md.patch
new file mode 100644 (file)
index 0000000..9205b65
--- /dev/null
@@ -0,0 +1,80 @@
+From: =?utf-8?q?F=C3=A9lix_Sipma?= <felix.sipma@no-log.org>
+Date: Thu, 20 Oct 2016 15:09:42 +0200
+Subject: Debianize README.md
+
+- remove installation instructions and CI links
+- modify link to screenshot file
+
+Forwarded: not-needed
+---
+ README.md | 36 +-----------------------------------
+ 1 file changed, 1 insertion(+), 35 deletions(-)
+
+diff --git a/README.md b/README.md
+index 3cd2820..3dfcdf6 100644
+--- a/README.md
++++ b/README.md
+@@ -1,8 +1,6 @@
+ patat
+ =====
+-[![Build Status](https://img.shields.io/travis/jaspervdj/patat.svg)](https://travis-ci.org/jaspervdj/patat) [![Hackage](https://img.shields.io/hackage/v/patat.svg)](https://hackage.haskell.org/package/patat) [![GitHub tag](https://img.shields.io/github/tag/jaspervdj/patat.svg)]()
+-
+ `patat` (**P**resentations **A**top **T**he **A**NSI **T**erminal) is a small
+ tool that allows you to show presentations using only an ANSI terminal.  It does
+ not require `ncurses`.
+@@ -20,7 +18,7 @@ Features:
+   syntax files.
+ - Written in [Haskell].
+-![screenshot](extra/screenshot.png?raw=true)
++![screenshot](examples/screenshot.png?raw=true)
+ [Kate]: https://kate-editor.org/
+ [Haskell]: http://haskell.org/
+@@ -29,9 +27,6 @@ Features:
+ Table of Contents
+ -----------------
+--   [Installation](#installation)
+-    -   [Using stack](#using-stack)
+-    -   [Using cabal](#using-cabal)
+ -   [Running](#running)
+ -   [Input format](#input-format)
+ -   [Configuration](#configuration)
+@@ -39,35 +34,6 @@ Table of Contents
+     -   [Syntax Highlighting](#syntax-highlighting)
+ -   [Trivia](#trivia)
+-Installation
+-------------
+-
+-You can build from source using `stack install` or `cabal install`.  `patat` is
+-also available from [Hackage].
+-
+-[Hackage]: https://hackage.haskell.org/package/patat
+-
+-For people unfamiliar with the Haskell ecosystem, this means you can do either
+-of the following:
+-
+-### Using stack
+-
+-1. Install [stack] for your platform.
+-2. Clone this repository.
+-3. Run `stack setup` (if you're running stack for the first time) and
+-   `stack install`.
+-4. Make sure `$HOME/.local/bin` is in your `$PATH`.
+-
+-[stack]: https://docs.haskellstack.org/en/stable/README/
+-
+-### Using cabal
+-
+-1. Install [cabal] for your platform.
+-2. Run `cabal install patat`.
+-3. Make sure `$HOME/.cabal/bin` is in your `$PATH`.
+-
+-[cabal]: https://www.haskell.org/cabal/
+-
+ Running
+ -------
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..c2206ea
--- /dev/null
@@ -0,0 +1 @@
+0001-Debianize-README.md.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..a640af6
--- /dev/null
+++ b/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+# these rules originally written by Joey Hess for hothasktags package
+
+%:
+       dh $@
+
+override_dh_auto_configure:
+       ghc --make Setup
+       ./Setup configure
+
+override_dh_auto_build:
+       pandoc -sS debian/patat.md -o debian/patat.1
+       ./Setup build
+
+override_dh_auto_clean:
+       if [ -x Setup ]; then ./Setup clean; fi
+       rm -f Setup Setup.o Setup.hi debian/patat.1
+
+override_dh_auto_test:
+       PATH="$(PATH):dist/build/patat/" bash test.sh
+
+override_dh_strip:
+       # GHC cannot produce debugging symbols so the -dbgsym package
+       # ends up empty, so disable generating it
+       dh_strip --no-automatic-dbgsym
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..95dbdf1
--- /dev/null
+++ b/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/patat-$1\.tar\.gz/ \
+  https://github.com/jaspervdj/patat/tags .*/v?(\d\S*)\.tar\.gz