[Reproducible-commits] [discount] 02/121: Initial Debianization

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Sep 23 20:56:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository discount.

commit 1ab167486e03c06abcf5f880fd18ee6af57932d8
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Fri Jan 14 18:27:17 2011 +0100

    Initial Debianization
---
 debian/changelog                                |   5 +
 debian/clean                                    |   2 +
 debian/compat                                   |   1 +
 debian/control                                  |  42 ++++
 debian/copyright                                |  74 +++++++
 debian/discount.install                         |   4 +
 debian/discount.manpages                        |   1 +
 debian/libmarkdown-dev.install                  |   2 +
 debian/libmarkdown-dev.manpages                 |   2 +
 debian/libmarkdown2.install                     |   1 +
 debian/libmarkdown2.symbols                     |  57 ++++++
 debian/patches/0001-fix-manpages-warnings.patch | 250 ++++++++++++++++++++++++
 debian/patches/series                           |   1 +
 debian/rules                                    |  11 ++
 debian/source/format                            |   1 +
 debian/watch                                    |   3 +
 16 files changed, 457 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ba79dc3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+discount (2.0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #608709)
+
+ -- Alessandro Ghedini <al3xbio at gmail.com>  Fri, 14 Jan 2011 17:21:25 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..e27c025
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+cols
+echo
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ea0b36c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: discount
+Section: web
+Priority: optional
+Maintainer: Alessandro Ghedini <al3xbio at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Homepage: http://www.pell.portland.or.us/~orc/Code/discount/
+#Vcs-Git: git://git.debian.org/collab-maint/discount.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/discount.git;a=summary
+
+Package: discount
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libmarkdown2
+Conflicts: markdown, libtext-markdown-perl
+Description: Implementation of Markdown markup language in C
+ Discount is an implementation of John Gruber's Markdown markup
+ language. It implements all of the language described in the Markdown
+ syntax document and passes the Markdown 1.0 test suite.
+ .
+ This package provides the discount excutables.
+
+Package: libmarkdown2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Implementation of Markdown markup language in C (library)
+ Discount is an implementation of John Gruber's Markdown markup
+ language. It implements all of the language described in the Markdown
+ syntax document and passes the Markdown 1.0 test suite.
+ .
+ This package provides the libmarkdown generated from discount.
+
+Package: libmarkdown-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libmarkdown2 (= ${binary:Version})
+Description: Implementation of Markdown markup language in C (development files)
+ Discount is an implementation of John Gruber's Markdown markup
+ language. It implements all of the language described in the Markdown
+ syntax document and passes the Markdown 1.0 test suite.
+ .
+ This package provides the development file for libmarkdown.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..916dc1a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,74 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: Discount
+Upstream-Contact: David Parsons <orc at pell.chi.il.us>
+Source: http://www.pell.portland.or.us/~orc/Code/discount/
+
+Files: *
+Copyright: 2007, David Loren Parsons
+License: BSD-4-clause
+
+Files: ./configure.inc:
+Copyright: 1999-2007, David Loren Parsons
+License: BSD-4-clause
+
+Files: ./css.c
+Copyright: 2009, David Loren Parsons
+License: BSD-4-clause
+
+Files: ./emmatch.c
+Copyright: 2010, David Loren Parsons
+License: BSD-4-clause
+
+Files: ./toc.c
+Copyright: 2008 Jjgod Jiang, David L Parsons
+License: BSD-4-clause
+
+Files: ./debian/*
+Copyright: 2011, Alessandro Ghedini <al3xbio at gmail.com>
+License: BSD-4-clause
+
+License: BSD-4-clause
+ 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, sublicence, 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:
+ .
+ 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, and in the same place and form as other
+    copyright, license and disclaimer information.
+ .
+ 3. The end-user documentation included with the redistribution, if
+    any, must include the following acknowledgment:
+ .
+      This product includes software developed by
+      David Loren Parsons <http://www.pell.portland.or.us/~orc>
+ .
+    in the same place and form as other third-party acknowledgments.
+    Alternately, this acknowledgment may appear in the software
+    itself, in the same form and location as other such third-party
+    acknowledgments.
+ .
+ 4. Except as contained in this notice, the name of David Loren
+    Parsons shall not be used in advertising or otherwise to promote
+    the sale, use or other dealings in this Software without prior
+    written authorization from David Loren Parsons.
+ .
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 DAVID LOREN PARSONS 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 --git a/debian/discount.install b/debian/discount.install
new file mode 100644
index 0000000..1a87eb8
--- /dev/null
+++ b/debian/discount.install
@@ -0,0 +1,4 @@
+markdown 		usr/bin
+makepage 		usr/bin
+mkd2html 		usr/bin
+theme			usr/bin
diff --git a/debian/discount.manpages b/debian/discount.manpages
new file mode 100644
index 0000000..f7e585b
--- /dev/null
+++ b/debian/discount.manpages
@@ -0,0 +1 @@
+*.1
diff --git a/debian/libmarkdown-dev.install b/debian/libmarkdown-dev.install
new file mode 100644
index 0000000..2b16efd
--- /dev/null
+++ b/debian/libmarkdown-dev.install
@@ -0,0 +1,2 @@
+markdown.h		usr/include
+libmarkdown.so		usr/lib
diff --git a/debian/libmarkdown-dev.manpages b/debian/libmarkdown-dev.manpages
new file mode 100644
index 0000000..469f2f2
--- /dev/null
+++ b/debian/libmarkdown-dev.manpages
@@ -0,0 +1,2 @@
+*.3
+*.7
diff --git a/debian/libmarkdown2.install b/debian/libmarkdown2.install
new file mode 100644
index 0000000..57479a5
--- /dev/null
+++ b/debian/libmarkdown2.install
@@ -0,0 +1 @@
+libmarkdown.so.*		usr/lib
diff --git a/debian/libmarkdown2.symbols b/debian/libmarkdown2.symbols
new file mode 100644
index 0000000..6563906
--- /dev/null
+++ b/debian/libmarkdown2.symbols
@@ -0,0 +1,57 @@
+libmarkdown.so.2 libmarkdown2 #MINVER#
+ Csprintf at Base 2.0.4
+ Csputc at Base 2.0.4
+ Csreparse at Base 2.0.4
+ Cswrite at Base 2.0.4
+ ___mkd_emblock at Base 2.0.4
+ ___mkd_freeLine at Base 2.0.4
+ ___mkd_freeLineRange at Base 2.0.4
+ ___mkd_freeLines at Base 2.0.4
+ ___mkd_freeParagraph at Base 2.0.4
+ ___mkd_freefootnote at Base 2.0.4
+ ___mkd_freefootnotes at Base 2.0.4
+ ___mkd_freemmiot at Base 2.0.4
+ ___mkd_initmmiot at Base 2.0.4
+ ___mkd_reparse at Base 2.0.4
+ ___mkd_tidy at Base 2.0.4
+ __mkd_footsort at Base 2.0.4
+ blocktags at Base 2.0.4
+ markdown at Base 2.0.4
+ markdown_version at Base 2.0.4
+ mkd_basename at Base 2.0.4
+ mkd_cleanup at Base 2.0.4
+ mkd_compile at Base 2.0.4
+ mkd_css at Base 2.0.4
+ mkd_deallocate_tags at Base 2.0.4
+ mkd_define_tag at Base 2.0.4
+ mkd_doc_author at Base 2.0.4
+ mkd_doc_date at Base 2.0.4
+ mkd_doc_title at Base 2.0.4
+ mkd_document at Base 2.0.4
+ mkd_dump at Base 2.0.4
+ mkd_e_data at Base 2.0.4
+ mkd_e_flags at Base 2.0.4
+ mkd_e_free at Base 2.0.4
+ mkd_e_url at Base 2.0.4
+ mkd_firstnonblank at Base 2.0.4
+ mkd_flags_are at Base 2.0.4
+ mkd_generatecss at Base 2.0.4
+ mkd_generatehtml at Base 2.0.4
+ mkd_generateline at Base 2.0.4
+ mkd_generatetoc at Base 2.0.4
+ mkd_generatexml at Base 2.0.4
+ mkd_in at Base 2.0.4
+ mkd_initialize at Base 2.0.4
+ mkd_line at Base 2.0.4
+ mkd_mmiot_flags at Base 2.0.4
+ mkd_prepare_tags at Base 2.0.4
+ mkd_search_tags at Base 2.0.4
+ mkd_shlib_destructor at Base 2.0.4
+ mkd_sort_tags at Base 2.0.4
+ mkd_string at Base 2.0.4
+ mkd_string_to_anchor at Base 2.0.4
+ mkd_toc at Base 2.0.4
+ mkd_with_html5_tags at Base 2.0.4
+ mkd_xhtmlpage at Base 2.0.4
+ mkd_xml at Base 2.0.4
+ populate at Base 2.0.4
diff --git a/debian/patches/0001-fix-manpages-warnings.patch b/debian/patches/0001-fix-manpages-warnings.patch
new file mode 100644
index 0000000..c1b3ece
--- /dev/null
+++ b/debian/patches/0001-fix-manpages-warnings.patch
@@ -0,0 +1,250 @@
+From: Alessandro Ghedini <al3xbio at gmail.com>
+Date: Fri, 14 Jan 2011 18:19:23 +0100
+Subject: [PATCH] fix manpages warnings
+
+This patch fixes some errors in the manpages found by lintian
+---
+ markdown.1      |   14 +++++++-------
+ markdown.3      |   29 ++++++++++++++---------------
+ mkd-functions.3 |   18 +++++++++---------
+ 3 files changed, 30 insertions(+), 31 deletions(-)
+
+diff --git a/markdown.1 b/markdown.1
+index f5e3949..98f9dcb 100644
+--- a/markdown.1
++++ b/markdown.1
+@@ -31,7 +31,7 @@ to stdout.
+ The options are as follows:
+ .Bl -tag -width "-o file"
+ .It Fl b Ar url-base
+-Links in source begining with / will be prefixed with
++Links in source beginning with / will be prefixed with
+ .Ar url-base
+ in the output.
+ .It Fl d
+@@ -62,12 +62,12 @@ Disable superscript, strikethrough & relaxed emphasis.
+ .It Ar ext
+ Enable pseudo-protocols.
+ .It Ar cdata
+-Generate code for xml 
++Generate code for xml
+ .Em ![CDATA[...]] .
+ .It Ar superscript
+ Enable superscript processing.
+ .It Ar emphasis
+-Emphasis happens 
++Emphasis happens
+ .Em everywhere .
+ .It Ar tables
+ Don't process PHP Markdown Extra tables.
+@@ -75,7 +75,7 @@ Don't process PHP Markdown Extra tables.
+ Enable
+ .Em ~~strikethrough~~ .
+ .It Ar strikethrough
+-Enable 
++Enable
+ .Em ~~strikethrough~~ .
+ .It Ar toc
+ Enable table-of-contents processing.
+@@ -113,7 +113,7 @@ Set translation flags.
+ .Ar Bitmap
+ is a bit map of the various configuration options
+ described in
+-.Xr markdown 3 
++.Xr markdown 3
+ (the flag values are defined in
+ .Pa mkdio.h )
+ .It Fl V
+@@ -132,12 +132,12 @@ was configured to use the specified tabstop.
+ Show the version#, the compile-time configuration, and the
+ run-time configuration.
+ .It Fl o Pa file
+-Write the generated html to 
++Write the generated html to
+ .Pa file .
+ .It Fl t Ar text
+ Use
+ .Xr mkd_text 3
+-to format 
++to format
+ .Ar text
+ instead of processing stdin with the
+ .Xr markdown 3
+diff --git a/markdown.3 b/markdown.3
+index 4a23ac8..ba37fb0 100644
+--- a/markdown.3
++++ b/markdown.3
+@@ -6,7 +6,7 @@
+ .Nm markdown
+ .Nd process Markdown documents
+ .Sh LIBRARY
+-Markdown 
++Markdown
+ .Pq libmarkdown , -lmarkdown
+ .Sh SYNOPSIS
+ .Fd #include <mkdio.h>
+@@ -28,15 +28,15 @@ processes a single string.
+ .Pp
+ To process a file, you pass a FILE* to
+ .Fn mkd_in ,
+-and if it returns a nonzero value you pass that in to 
++and if it returns a nonzero value you pass that in to
+ .Fn markdown ,
+ which then writes the converted document to the specified
+ .Em FILE* .
+ If your input has already been written into a string (generated
+-input or a file opened 
+-with 
++input or a file opened
++with
+ .Xr mmap 2 )
+-you can feed that string to 
++you can feed that string to
+ .Fn mkd_string
+ and pass its return value to
+ .Fn markdown.
+@@ -46,24 +46,24 @@ accepts the following flag values (or-ed together if needed)
+ to restrict how it processes input:
+ .Bl -tag -width MKD_NOSTRIKETHROUGH -compact
+ .It Ar MKD_NOLINKS
+-Don't do link processing, block 
++Don't do link processing, block
+ .Em <a>
+ tags.
+ .It Ar MKD_NOIMAGE
+ Don't do image processing, block
+ .Em <img> .
+ .It Ar MKD_NOPANTS
+-Don't run 
++Don't run
+ .Em smartypants() .
+ .It Ar MKD_NOHTML
+ Don't allow raw html through AT ALL
+ .It Ar MKD_STRICT
+-Disable 
++Disable
+ superscript and relaxed emphasis.
+ .It Ar MKD_TAGTEXT
+-Process text inside an html tag; no 
++Process text inside an html tag; no
+ .Em <em> ,
+-no 
++no
+ .Em <bold> ,
+ no html or
+ .Em []
+@@ -71,7 +71,7 @@ expansion.
+ .It Ar MKD_NO_EXT
+ Don't allow pseudo-protocols.
+ .It Ar MKD_CDATA
+-Generate code for xml 
++Generate code for xml
+ .Em ![CDATA[...]] .
+ .It Ar MKD_NOSUPERSCRIPT
+ Don't generate superscripts.
+@@ -79,14 +79,14 @@ Emphasis happens _everywhere_
+ .It Ar MKD_NOTABLES
+ Disallow tables.
+ .It Ar MKD_NOSTRIKETHROUGH
+-Forbid 
++Forbid
+ .Em ~~strikethrough~~ .
+ .It Ar MKD_TOC
+ Do table-of-contents processing.
+ .It Ar MKD_1_COMPAT
+ Compatibility with MarkdownTest_1.0
+ .It Ar MKD_AUTOLINK
+-Make 
++Make
+ .Em http://foo.com
+ into a link even without
+ .Em <> s.
+@@ -97,7 +97,7 @@ Don't process header blocks.
+ .It Ar MKD_TABSTOP
+ Expand tabs to 4 spaces.
+ .It Ar MKD_NODIVQUOTE
+-Forbid 
++Forbid
+ .Em >%class%
+ blocks.
+ .It Ar MKD_NOALPHALIST
+@@ -133,4 +133,3 @@ created by
+ is deleted by the
+ .Nm
+ function.
+-
+diff --git a/mkd-functions.3 b/mkd-functions.3
+index 19dee7c..b071cca 100644
+--- a/mkd-functions.3
++++ b/mkd-functions.3
+@@ -3,10 +3,10 @@
+ .Dt MKD_FUNCTIONS 3
+ .Os Mastodon
+ .Sh NAME
+-.Nm mkd_functions 
++.Nm mkd_functions
+ .Nd access and process Markdown documents.
+ .Sh LIBRARY
+-Markdown 
++Markdown
+ .Pq libmarkdown , -lmarkdown
+ .Sh SYNOPSIS
+ .Fd #include <mkdio.h>
+@@ -39,7 +39,7 @@ Markdown
+ The
+ .Nm markdown
+ format supported in this implementation includes
+-Pandoc-style header and inline 
++Pandoc-style header and inline
+ .Ar \<style\>
+ blocks, and the standard
+ .Xr markdown 3
+@@ -47,7 +47,7 @@ functions do not provide access to
+ the data provided by either of those extensions.
+ These functions give you access to that data, plus
+ they provide a finer-grained way of converting
+-.Em Markdown 
++.Em Markdown
+ documents into HTML.
+ .Pp
+ Given a
+@@ -91,7 +91,7 @@ to the text of the document and returns the
+ size of the document,
+ .Fn mkd_generatehtml
+ writes the rest of the document to the output,
+-and 
++and
+ .Fn mkd_doc_title ,
+ .Fn mkd_doc_author ,
+ .Fn mkd_doc_date
+@@ -126,7 +126,7 @@ accepts the same flags that
+ .Fn markdown
+ and
+ .Fn mkd_string
+-do; 
++do;
+ .Bl -tag -width MKD_NOSTRIKETHROUGH -compact
+ .It Ar MKD_NOIMAGE
+ Do not process `![]' and
+@@ -141,9 +141,9 @@ tags from the output.
+ Do not do Smartypants-style mangling of quotes, dashes, or ellipses.
+ .It Ar MKD_TAGTEXT
+ Process the input as if you were inside a html tag.  This means that
+-no html tags will be generated, and 
++no html tags will be generated, and
+ .Fn mkd_compile
+-will attempt to escape anything that might terribly confuse a 
++will attempt to escape anything that might terribly confuse a
+ web browser.
+ .It Ar MKD_NO_EXT
+ Do not process any markdown pseudo-protocols when
+@@ -168,7 +168,7 @@ The functions
+ .Fn mkd_style ,
+ and
+ .Fn mkd_generatehtml
+-return 0 on success, -1 on failure.
++return 0 on success, \-1 on failure.
+ .Sh SEE ALSO
+ .Xr markdown 1 ,
+ .Xr markdown 3 ,
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5e8e5b1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-fix-manpages-warnings.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2fbdf8d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_configure:
+	./configure.sh --shared
+
+override_dh_auto_install:
+	dh_install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..25ebf84
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://www.pell.portland.or.us/~orc/Code/discount/discount-(.*)\.tar\.bz2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/discount.git



More information about the Reproducible-commits mailing list